:root {
  --ink: #1c3410;
  --paper: #fff;
  --line: #e5eedc;
  --teal: #2d661b;
  --teal-deep: #1c3410;
  --amber: #2d661b;
  --sage: #f4f8ef;
  --gold: #aed234;
  --charcoal: #1c3410;
  --muted: #555;
  --muted-2: #888;
  --brick: #1c3410;
  --stage: #f8f9fa;
  --white: #fff;
  --lime: #aed234;
  --font: "Poppins", "Inter", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  background: var(--stage);
  color: var(--ink);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

body.td-has-site-chrome {
  min-height: 100vh;
}

body.td-has-site-chrome .wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.td-has-site-chrome header.ts-header {
  position: relative;
  z-index: 40;
  flex-shrink: 0;
  overflow: visible;
}

body.td-has-site-chrome header.ts-header img {
  max-width: none;
}

body.td-has-site-chrome .ts-footer {
  flex-shrink: 0;
}

.td-stage {
  min-height: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.td-banner {
  font-family: var(--font);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: #4b5563;
  text-align: center;
  padding: 10px 16px;
  background: #e2e2e2;
}

.td-banner a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: none;
}

.td-banner a:hover {
  color: var(--teal-deep);
}

.td-shell {
  width: 100%;
  background: var(--paper);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.td-shell.is-wide {
  max-width: none;
}

.td-top {
  background: #fff;
  color: var(--ink);
  border-bottom: 1px solid #c5ddb8;
}

.td-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 18px;
  width: 100%;
}

.td-top a,
.td-top button {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: #4b5563;
  background: none;
  border: 0;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.td-top a:hover,
.td-top button:hover {
  color: var(--teal);
}

.td-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.td-logo img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}

.td-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px 22px 28px;
}

.td-body.is-flush {
  padding: 0;
}

h1,
h2,
.td-serif {
  font-family: var(--font);
}

.td-h1 {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  color: var(--ink);
}

.td-h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 10px 0 0;
  color: var(--ink);
}

.td-lead {
  margin: 8px 0 22px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.td-badge {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  display: inline-block;
}

.td-badge-A {
  color: var(--teal);
  background: #f0f5e8;
}

.td-badge-B {
  color: var(--teal-deep);
  background: #eef6e6;
}

.td-badge-C {
  color: var(--teal-deep);
  background: var(--lime);
}

.td-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.td-quad {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.td-quad:hover {
  border-color: #c5ddb8;
  box-shadow: 0 8px 24px rgba(28, 52, 16, 0.06);
}

.td-quad.is-teal { border-left: 4px solid var(--teal); }
.td-quad.is-amber { border-left: 4px solid #69c91c; }
.td-quad.is-brick { border-left: 4px solid var(--teal-deep); }
.td-quad.is-gold { border-left: 4px solid var(--lime); }

.td-quad svg {
  flex-shrink: 0;
}

.td-quad .t {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.td-quad .s {
  font-size: 12px;
  color: #666;
  margin-top: 2px;
  line-height: 1.45;
}

.td-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  font-size: 13px;
  transition: border-color 0.2s ease;
}

.td-row-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.td-thumb {
  width: 56px;
  height: 42px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  background: var(--sage);
  display: block;
}

.td-row:hover {
  border-color: var(--teal);
}

.td-hint {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.td-chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.td-chip {
  padding: 12px 10px;
  background: var(--white);
  border: 1px solid var(--line);
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.td-chip:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.td-note {
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--sage);
  border: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.55;
  color: var(--teal-deep);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.td-foot-note {
  margin-top: auto;
  padding-top: 22px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted-2);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.td-foot-note a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: none;
}

.td-foot-note a:hover {
  color: var(--teal-deep);
}

.td-hero {
  position: relative;
  overflow: hidden;
  padding: 28px 22px 22px;
  background: linear-gradient(105deg, #1c3410 0%, #2d661b 70%);
  color: #fff;
}

.td-hero.has-image {
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  background: #1c3410;
}

.td-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.td-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28, 52, 16, 0.28) 0%, rgba(28, 52, 16, 0.86) 100%);
}

.td-hero .td-badge-A,
.td-hero .td-badge-B,
.td-hero .td-badge-C {
  color: var(--teal-deep);
  background: var(--lime);
}

.td-hero h1 {
  font-family: var(--font);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  margin: 10px 0 0;
  color: #fff;
}

.td-code {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #888;
  margin-top: 6px;
}

.td-hero .td-code {
  color: rgba(255, 255, 255, 0.78);
}

.td-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 16px;
}

.td-price {
  font-family: var(--font);
  font-size: 28px;
  font-weight: 800;
  color: var(--lime);
}

.td-price-note {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.td-panel {
  padding: 22px;
}

.td-question {
  background: var(--sage);
  border-left: 4px solid var(--teal);
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--teal-deep);
  margin-bottom: 16px;
}

.td-label {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 18px 0 8px;
}

.td-include {
  list-style: none;
  margin: 0;
  padding: 0;
}

.td-include li {
  display: flex;
  gap: 8px;
  padding: 8px 0;
  font-size: 14px;
  color: #333;
  border-bottom: 1px solid var(--line);
}

.td-include li:last-child {
  border-bottom: 0;
}

.td-include .tick {
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 2px;
}

.td-include b {
  font-weight: 600;
}

.td-safety {
  margin-top: 8px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--white);
}

.td-safety h3 {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 6px;
  color: var(--teal);
}

.td-safety p,
.td-safety ul {
  margin: 0;
  font-size: 14px;
  color: #444;
  line-height: 1.6;
}

.td-safety ul {
  padding-left: 18px;
}

.td-elig {
  margin-bottom: 16px;
  padding: 14px 16px;
  background: var(--teal-deep);
  color: #eef6e6;
  font-size: 13px;
  line-height: 1.55;
  display: flex;
  gap: 8px;
}

.td-elig b {
  color: var(--lime);
}

.td-warn {
  margin-bottom: 16px;
  padding: 14px 16px;
  background: #fff8e6;
  border: 1px solid #f0d78c;
  font-size: 13px;
  line-height: 1.55;
  color: #5c4a12;
  display: flex;
  gap: 8px;
}

.td-pathway {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.td-path {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 12px;
}

.td-path .k {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 4px;
}

.td-path .v {
  font-size: 13px;
  color: #444;
  line-height: 1.5;
}

.td-quad-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.td-browse-grid {
  display: flex;
  flex-direction: column;
}

.td-hero-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 1;
  width: 100%;
}

.td-pkg-layout {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.td-cta {
  display: flex;
  gap: 8px;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  background: var(--white);
  position: sticky;
  bottom: 0;
  z-index: 2;
}

.td-cta-copy,
.td-cta-note {
  display: none;
}

.td-field-full {
  grid-column: 1 / -1;
}

.td-form button.td-field-full {
  margin-top: 16px;
  width: 100%;
}

.td-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--teal);
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.td-btn-ghost {
  background: var(--white);
  color: var(--teal);
}

.td-btn-ghost:hover {
  background: var(--sage);
}

.td-btn-solid {
  background: var(--lime);
  color: var(--teal-deep);
  border-color: var(--lime);
}

.td-btn-solid:hover {
  background: #000;
  border-color: #000;
  color: #fff;
}

.td-actions {
  display: flex;
  gap: 8px;
  margin: 16px 0 4px;
}

.td-actions .td-btn {
  font-size: 12px;
  padding: 12px;
}

.td-sib {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  margin-bottom: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  font-size: 13px;
}

.td-sib:hover {
  border-color: var(--teal);
}

.td-sib .p {
  font-family: var(--font);
  color: var(--teal);
  font-weight: 700;
}

.td-compare {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.td-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--white);
}

.td-card-img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  display: block;
  background: var(--sage);
}

.td-card-h {
  padding: 16px;
  background: var(--sage);
}

.td-card-h .c {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}

.td-card-h .n {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 4px;
}

.td-card-h .p {
  font-family: var(--font);
  font-size: 16px;
  color: var(--teal);
  font-weight: 800;
  margin-top: 6px;
}

.td-card-b {
  padding: 12px 16px;
  flex: 1;
}

.td-card-b div {
  font-size: 13px;
  color: #444;
  padding: 4px 0;
}

.td-card .go {
  display: block;
  text-align: center;
  padding: 12px;
  background: var(--teal);
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.td-card .go:hover {
  background: var(--teal-deep);
}

.td-browse-group {
  margin-bottom: 22px;
}

.td-browse-group h3 {
  font-family: var(--font);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: 8px 0;
}

.td-form label {
  display: block;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 12px 0 4px;
}

.td-form input,
.td-form select,
.td-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  font-size: 14px;
  font-family: inherit;
  background: var(--white);
  color: var(--ink);
}

.td-form input:focus,
.td-form select:focus,
.td-form textarea:focus {
  outline: 0;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(45, 102, 27, 0.15);
}

.td-form textarea {
  min-height: 70px;
  resize: vertical;
}

.td-pkg-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--sage);
  border: 1px solid var(--line);
  margin: 12px 0 8px;
  font-size: 14px;
  font-weight: 600;
}

.td-pkg-chip span:not(.p) {
  flex: 1;
}

.td-pkg-chip .p {
  font-family: var(--font);
  color: var(--teal);
  font-weight: 800;
}

.td-shell.is-confirm {
  background: var(--sage);
}

.td-confirm {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 28px 24px 32px;
}

.td-confirm-inner {
  width: 100%;
  margin: auto 0;
  text-align: center;
}

.td-mark {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  background: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
}

.td-kicker {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 8px;
}

.td-confirm-title {
  font-family: var(--font);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 10px;
}

.td-confirm-copy {
  margin: 0 auto;
  max-width: 320px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.td-confirm-copy span {
  color: var(--ink);
  font-weight: 600;
}

.td-gold-rule {
  border: 0;
  height: 3px;
  margin: 26px auto 18px;
  max-width: 64px;
  background: var(--teal);
}

.td-ref-label {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 4px;
}

.td-ref-num {
  font-family: var(--font);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--teal-deep);
  margin: 0 0 22px;
}

.td-sheet {
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 18px 18px 8px;
  margin-bottom: 22px;
}

.td-sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--line);
}

.td-sheet-kicker {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 4px;
}

.td-sheet-head h2 {
  font-family: var(--font);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  color: var(--ink);
}

.td-sheet-price {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 800;
  color: var(--teal);
  white-space: nowrap;
  padding-top: 14px;
}

.td-spec {
  margin: 0;
}

.td-spec > div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.td-spec > div:last-child {
  border-bottom: 0;
}

.td-spec dt {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
  padding-top: 2px;
}

.td-spec dd {
  margin: 0;
  font-size: 14px;
  color: var(--ink);
}

.td-confirm-done {
  width: 100%;
}

.td-quiet-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
}

.td-quiet-link:hover {
  color: var(--teal-deep);
}

.td-glance {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.td-glance span {
  font-size: 12px;
  font-weight: 600;
  background: var(--sage);
  color: var(--teal);
  padding: 5px 10px;
}

.td-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
}

@media (min-width: 760px) {
  .td-banner {
    text-align: left;
    padding: 10px 48px;
    font-size: 14px;
  }

  .td-top-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 12px 40px;
  }

  .td-logo img {
    height: 64px;
  }

  .td-top a {
    font-size: 14px;
  }

  .td-body {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 48px 40px 72px;
  }

  .td-h1 {
    font-size: 40px;
    max-width: 16ch;
    line-height: 1.2;
  }

  .td-h2 {
    font-size: 28px;
  }

  .td-lead {
    font-size: 17px;
    line-height: 1.7;
    max-width: 46ch;
    margin-bottom: 32px;
  }

  .td-quad-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .td-quad {
    padding: 24px 22px;
    min-height: 120px;
  }

  .td-quad .t {
    font-size: 20px;
  }

  .td-quad .s {
    font-size: 14px;
  }

  .td-chips {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .td-chip {
    padding: 16px 14px;
    font-size: 14px;
  }

  .td-row {
    padding: 14px 16px;
    font-size: 15px;
  }

  .td-browse-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 32px;
  }

  .td-hero {
    padding: 48px 40px 40px;
  }

  .td-hero.has-image {
    min-height: 320px;
  }

  .td-card-img {
    height: 140px;
  }

  .td-hero-inner {
    max-width: 1120px;
    margin: 0 auto;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
  }

  .td-hero h1 {
    font-size: 40px;
    max-width: 16ch;
  }

  .td-price {
    font-size: 40px;
  }

  .td-pkg-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 40px;
    max-width: 1120px;
    width: 100%;
    margin: 0 auto;
    padding: 36px 40px 72px;
    align-items: start;
  }

  .td-panel {
    padding: 0;
  }

  .td-question,
  .td-safety,
  .td-include li,
  .td-note {
    font-size: 15px;
  }

  .td-pathway {
    grid-template-columns: repeat(4, 1fr);
  }

  .td-cta {
    position: sticky;
    top: 24px;
    bottom: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 22px;
    border: 1px solid var(--line);
    background: #fff;
  }

  .td-cta-copy,
  .td-cta-note {
    display: block;
  }

  .td-cta-name {
    font-family: var(--font);
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
  }

  .td-cta-price {
    font-family: var(--font);
    font-size: 18px;
    color: var(--teal);
    font-weight: 800;
    margin-top: 4px;
  }

  .td-cta-note {
    margin: 0;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
  }

  .td-compare {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
  }

  .td-card-h .n {
    font-size: 20px;
  }

  .td-card-b div {
    font-size: 13px;
  }

  .td-book {
    max-width: 720px;
  }

  .td-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 20px;
  }

  .td-confirm {
    padding: 56px 40px 72px;
  }

  .td-confirm-inner {
    max-width: 560px;
    margin: 0 auto;
  }

  .td-confirm-title {
    font-size: 36px;
  }

  .td-confirm-copy {
    max-width: 420px;
    font-size: 16px;
  }

  .td-shell.is-wide .td-pathway {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 520px) {
  .td-banner {
    padding: 8px 12px;
  }

  .td-logo img {
    height: 40px;
  }
}
