:root {
  --ink: #14231f;
  --ink-soft: #3a4f48;
  --muted: #5f736b;
  --paper: #f3f6f4;
  --surface: #ffffff;
  --sage: #2f6b5a;
  --sage-deep: #1d463b;
  --mist: #d7e4de;
  --glow: #9bc4b4;
  --line: rgba(20, 35, 31, 0.12);
  --shadow: 0 18px 50px rgba(20, 35, 31, 0.08);
  --radius: 18px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Figtree", sans-serif;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(155, 196, 180, 0.35), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(47, 107, 90, 0.12), transparent 55%),
    linear-gradient(180deg, #eef4f1 0%, var(--paper) 40%, #e8efeb 100%);
  line-height: 1.6;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: var(--sage-deep); }
a:hover { color: var(--sage); }
.container { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 650;
  color: var(--ink);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); margin: 0 0 0.85rem; }
h3 { font-size: 1.25rem; margin: 0 0 0.6rem; }
p { margin: 0 0 1rem; }
.lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 42rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(243, 246, 244, 0.82);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}
.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--ink);
}
.brand span { color: var(--sage); }
.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1rem;
  flex-wrap: wrap;
}
.site-nav > a,
.nav-dropdown-btn {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.95rem;
  background: none;
  border: 0;
  padding: 0.35rem 0;
  cursor: pointer;
  font-family: inherit;
}
.site-nav > a.is-active,
.site-nav > a:hover,
.nav-dropdown-btn:hover { color: var(--sage-deep); }
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.6rem);
  right: 0;
  min-width: 260px;
  margin: 0;
  padding: 0.6rem;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block;
  padding: 0.55rem 0.7rem;
  text-decoration: none;
  color: var(--ink-soft);
  border-radius: 8px;
}
.nav-dropdown-menu a:hover { background: var(--mist); color: var(--ink); }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--sage-deep);
  color: #fff;
}
.btn-primary:hover { background: var(--sage); color: #fff; }
.btn-secondary {
  background: rgba(255,255,255,0.72);
  color: var(--ink);
  border-color: var(--line);
}
.btn-secondary:hover { background: #fff; color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 2.4rem 0;
}
.hero-visual {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 80% at 92% 40%, rgba(155,196,180,0.35), transparent 50%),
    radial-gradient(ellipse 45% 55% at 8% 85%, rgba(20,35,31,0.28), transparent 48%),
    linear-gradient(145deg, #16362e 0%, #1d463b 40%, #2f6b5a 78%, #3f7262 100%);
}
.hero-visual::before,
.hero-visual::after { display: none; }
.hero-inner {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.75rem;
  align-items: center;
}
.hero-content {
  width: auto;
  margin: 0;
  padding: 0.25rem 0;
  color: #f7faf8;
  max-width: none;
  animation: rise 0.7s ease both;
}
.hero-content .brand-hero {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 1.9rem);
  font-weight: 700;
  margin: 0 0 0.4rem;
}
.hero-content .brand-hero span { color: var(--glow); }
.hero-content h1 {
  color: #fff;
  font-size: clamp(1.9rem, 3.8vw, 2.75rem);
  max-width: 12ch;
  margin-bottom: 0.65rem;
}
.hero-content .lead {
  color: rgba(247,250,248,0.9);
  font-size: 1.02rem;
  margin-bottom: 0;
  max-width: 34rem;
}
.hero .btn-primary {
  background: #fff;
  color: var(--sage-deep);
}
.hero .btn-primary:hover {
  background: var(--mist);
  color: var(--sage-deep);
}
.hero .btn-secondary {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(255,255,255,0.28);
}
.hero .btn-secondary:hover {
  background: rgba(255,255,255,0.22);
  color: #fff;
}

.hero-criteria {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  padding: 1.25rem 1.2rem;
  color: #f7faf8;
  animation: rise 0.8s ease 0.08s both;
  box-shadow: none;
}
.hero-criteria .criteria-intro { margin-bottom: 1rem; }
.hero-criteria .criteria-intro .eyebrow {
  color: var(--glow);
  margin-bottom: 0.35rem;
}
.hero-criteria .criteria-intro h2 {
  color: #fff;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  margin-bottom: 0.3rem;
}
.hero-criteria .criteria-intro p {
  margin: 0;
  color: rgba(247,250,248,0.82);
  font-size: 0.92rem;
}
.hero-criteria .criteria {
  grid-template-columns: 1fr;
  gap: 0.85rem;
}
.hero-criteria .criterion {
  border-left-color: var(--glow);
  padding-left: 0.85rem;
}
.hero-criteria .criterion .num { color: var(--glow); font-size: 1.1rem; }
.hero-criteria .criterion h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}
.hero-criteria .criterion p {
  color: rgba(247,250,248,0.78);
  font-size: 0.9rem;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.section { padding: 2.35rem 0; }
.section-tight { padding-top: 1.75rem; }
.section-head { max-width: 40rem; margin-bottom: 1.35rem; }
.section-head h2 { margin-bottom: 0.45rem; }
.section-alt {
  background: rgba(255,255,255,0.5);
  border-block: 1px solid var(--line);
}

.criteria {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem 1.5rem;
}
.criterion {
  padding: 0 0 0 0.9rem;
  border-left: 3px solid var(--sage);
}
.criterion p { margin-bottom: 0; font-size: 0.95rem; color: var(--ink-soft); }
.criterion .num {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--sage);
  margin-bottom: 0.15rem;
  line-height: 1;
}
.criterion h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.massage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.massage-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 0.85rem;
  row-gap: 0.2rem;
  align-items: start;
  text-decoration: none;
  color: inherit;
  padding: 1.05rem 1rem 1.05rem 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease, padding-left 0.2s ease;
}
.massage-link:nth-child(odd) {
  padding-right: 1.25rem;
  border-right: 1px solid var(--line);
}
.massage-link:nth-child(even) {
  padding-left: 1.25rem;
}
.massage-link:hover {
  background: rgba(215, 228, 222, 0.35);
  color: inherit;
}
.massage-link .tag {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: center;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sage-deep);
  font-weight: 700;
  background: var(--mist);
  padding: 0.45rem 0.5rem;
  border-radius: 8px;
  min-width: 4.4rem;
  text-align: center;
  line-height: 1.2;
}
.massage-link h3 {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  font-size: 1.08rem;
}
.massage-link p {
  grid-column: 2;
  grid-row: 2;
  color: var(--muted);
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
}
.massage-link .more {
  grid-column: 3;
  grid-row: 1 / span 2;
  align-self: center;
  font-weight: 600;
  color: var(--sage-deep);
  font-size: 0.9rem;
  white-space: nowrap;
}
.massage-link:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  border-right: 0;
  padding-right: 0;
}

.compare-list {
  display: grid;
  gap: 1rem;
}
.compare-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.compare-item strong { font-family: var(--font-display); font-size: 1.15rem; }

.two-col {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  align-items: start;
}
.panel {
  background: rgba(255,255,255,0.75);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.25rem;
}
.checklist { padding-left: 1.1rem; }
.checklist li { margin-bottom: 0.45rem; }

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.95rem 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  float: right;
  color: var(--sage);
  font-weight: 700;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 0.7rem; color: var(--ink-soft); }

.cta-band {
  margin: 1.5rem 0 0;
  padding: 1.6rem 1.75rem;
  border-radius: calc(var(--radius) + 4px);
  background:
    linear-gradient(135deg, rgba(29,70,59,0.95), rgba(47,107,90,0.92)),
    var(--sage-deep);
  color: #fff;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.cta-band h2, .cta-band p { color: #fff; }
.cta-band p { opacity: 0.9; margin-bottom: 0; max-width: 36rem; }
.cta-band .btn-primary { background: #fff; color: var(--sage-deep); }
.cta-band .btn-primary:hover { background: var(--mist); color: var(--sage-deep); }

.page-hero {
  padding: 2.25rem 0 1.25rem;
}
.page-hero h1 {
  max-width: 20ch;
  font-size: clamp(1.85rem, 3.8vw, 2.6rem);
}
.page-hero .lead { margin-bottom: 0; }
.page-hero--inline {
  padding: 0 0 1.25rem;
  margin-bottom: 0.35rem;
  border-bottom: 1px solid var(--line);
}
.page-hero--inline h1 { max-width: none; }
.article-main { min-width: 0; }
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 0.85rem;
}
.meta-row span strong { color: var(--sage-deep); font-weight: 600; }

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 1.5rem;
  align-items: start;
  padding-bottom: 2.75rem;
}
.article-body > section {
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}
.article-body > section:first-child { border-top: 0; padding-top: 0; }
.en-bref {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  background: rgba(215, 228, 222, 0.55);
  border-left: 3px solid var(--sage);
}
.steps { list-style: none; padding: 0; margin: 0; }
.steps li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0.8rem;
  padding: 0.7rem 0;
  border-bottom: 1px dashed var(--line);
}
.steps strong { color: var(--sage-deep); }
.compare-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-top: 0.8rem;
}
.compare-pair div {
  padding: 0.9rem;
  background: rgba(255,255,255,0.65);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.side-sticky { position: sticky; top: 92px; display: grid; gap: 1rem; }
.side-box h3 { margin-bottom: 0.5rem; }
.related a {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--ink);
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}
.related a:hover { color: var(--sage-deep); }
.disclaimer {
  margin-top: 1.5rem;
  font-size: 0.92rem;
  color: var(--muted);
  padding: 1rem;
  border: 1px dashed var(--line);
  border-radius: 12px;
}

/* Quiz */
.quiz-shell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  padding: 1.25rem;
  margin: 0.75rem 0 2rem;
}
.quiz-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.8rem;
}
.progress {
  height: 6px;
  background: var(--mist);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 1.2rem;
}
.progress > span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--sage), var(--glow));
  transition: width 0.35s ease;
}
.quiz-options { display: grid; gap: 0.7rem; }
.quiz-option {
  display: block;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.95rem 1rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.quiz-option:hover,
.quiz-option:has(input:checked) {
  border-color: var(--sage);
  background: rgba(215, 228, 222, 0.45);
}
.quiz-option input { margin-right: 0.55rem; }
.quiz-option strong { display: inline; }
.quiz-option small { display: block; color: var(--muted); margin-top: 0.25rem; margin-left: 1.35rem; }
.quiz-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
  align-items: center;
}
.quiz-actions .linkish {
  background: none;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  margin-left: auto;
}
.quiz-step[hidden] { display: none !important; }
.quiz-result {
  display: none;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.quiz-result.is-visible { display: block; animation: rise 0.45s ease both; }
.quiz-result .result-kicker {
  color: var(--sage);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}
.quiz-result ul { padding-left: 1.1rem; }

.form-grid { display: grid; gap: 0.9rem; max-width: 520px; }
.form-grid label { display: grid; gap: 0.35rem; font-weight: 600; }
.form-grid input,
.form-grid textarea,
.form-grid select {
  font: inherit;
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
}
.form-grid textarea { min-height: 140px; resize: vertical; }

.site-footer {
  margin-top: 0;
  padding: 2.2rem 0 1.25rem;
  background: #102019;
  color: rgba(247,250,248,0.82);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 0.4rem;
}
.footer-title {
  color: #fff;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.footer-links a { color: rgba(247,250,248,0.78); text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  font-size: 0.9rem;
}
.disclaimer-mini { opacity: 0.75; }

.legal h2 { margin-top: 2rem; font-size: 1.35rem; }
.legal ul { padding-left: 1.2rem; }

@media (max-width: 900px) {
  .criteria, .two-col, .article-layout, .footer-grid, .compare-pair, .compare-item, .steps li,
  .massage-grid {
    grid-template-columns: 1fr;
  }
  .massage-link:nth-child(odd),
  .massage-link:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
    border-right: 0;
  }
  .hero { padding: 2rem 0; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .hero-content {
    margin: 0;
    max-width: none;
    padding: 0;
  }
  .hero-criteria { padding: 1.1rem 1rem; }
  .side-sticky { position: static; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 72px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0.8rem;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    border: 0;
    padding: 0.2rem 0 0.2rem 0.6rem;
  }
}
