/* ============================================================
   Plawave X3 — static site
   Hand-authored CSS (no framework, no build step)
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --bg:        #FFFFFF;
  --cream:     #FAF8F5;
  --sand:      #F2EFEB;

  --teal:      #2e9888;
  --teal-d:    #246f69;
  --teal-soft: rgba(46, 152, 136, 0.08);
  --teal-line: rgba(46, 152, 136, 0.22);

  --rose:      #d2b6a4;
  --rose-soft: rgba(210, 182, 164, 0.16);
  --rose-line: rgba(210, 182, 164, 0.38);
  --rose-deep: #8B6355;

  --ink:       #101215;
  --dim:       rgba(16, 18, 21, 0.56);
  --faint:     rgba(16, 18, 21, 0.32);
  --line:      rgba(16, 18, 21, 0.08);
  --line-hard: rgba(16, 18, 21, 0.16);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Instrument Sans', system-ui, sans-serif;
  --font-mono:    'DM Mono', ui-monospace, monospace;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100%;
}
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, select, textarea { font-family: inherit; }
ul { list-style: none; }

::selection { background: var(--teal); color: #fff; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 2px; }

/* ---------- Layout ---------- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  width: 100%;
}

/* ---------- Type helpers ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--teal);
  opacity: 0.6;
}

.display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.04;
  color: var(--ink);
}
.display em {
  font-style: italic;
  font-weight: 400;
  color: var(--teal);
}

.mono { font-family: var(--font-mono); }

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  background: var(--teal);
  border: 1px solid var(--teal);
  border-radius: 999px;
  padding: 15px 32px;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 8px 24px rgba(46, 152, 136, 0.25);
}
.btn-primary:hover {
  background: var(--teal-d);
  border-color: var(--teal-d);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(46, 152, 136, 0.32);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line-hard);
  border-radius: 999px;
  padding: 15px 30px;
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}
.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal-d);
  background: var(--teal-soft);
}

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.card:hover {
  border-color: var(--teal-line);
  box-shadow: 0 20px 48px rgba(16, 18, 21, 0.07);
  transform: translateY(-3px);
}

/* ---------- Animations ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulseDot {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.25); }
}

.anim-fade-up { animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards; opacity: 0; }
.anim-fade-in { animation: fadeIn 0.9s ease forwards; opacity: 0; }
.delay-1 { animation-delay: 0.08s; }
.delay-2 { animation-delay: 0.18s; }
.delay-3 { animation-delay: 0.30s; }
.delay-4 { animation-delay: 0.44s; }
.delay-5 { animation-delay: 0.58s; }

/* scroll reveal (replaces framer-motion whileInView) */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .anim-fade-up, .anim-fade-in { animation: none; opacity: 1; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img { height: 34px; width: auto; object-fit: contain; }
.nav-links { display: none; align-items: center; gap: 36px; }
.nav-links button {
  font-size: 14px;
  font-weight: 500;
  color: var(--dim);
  transition: color 0.2s;
}
.nav-links button:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-cta {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: var(--teal);
  border-radius: 999px;
  padding: 12px 24px;
  transition: background 0.25s;
  box-shadow: 0 6px 18px rgba(46, 152, 136, 0.25);
}
.nav-cta:hover { background: var(--teal-d); }
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
}
.nav-toggle svg { width: 18px; height: 18px; }
.nav-toggle .icon-close { display: none; }
.nav.menu-open .nav-toggle .icon-open { display: none; }
.nav.menu-open .nav-toggle .icon-close { display: block; }

.nav-mobile {
  display: none;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 16px 24px;
  flex-direction: column;
  gap: 4px;
}
.nav.menu-open .nav-mobile { display: flex; }
.nav.menu-open { background: rgba(255,255,255,0.9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.nav-mobile button:not(.btn-primary) {
  text-align: left;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.nav-mobile button:not(.btn-primary):last-of-type { border-bottom: none; }
.nav-mobile .btn-primary { margin-top: 12px; width: 100%; }

/* ============================================================
   HERO
   ============================================================ */
.hero { background: #fff; padding-top: 72px; }
.hero-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; width: 100%; }

.hero-masthead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 24px;
  padding: 28px 0 20px;
  border-bottom: 1px solid var(--line-hard);
}
.hero-masthead .m-left {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink);
}
.hero-masthead .m-left .dash { color: var(--teal); }
.hero-masthead .m-right {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--dim);
}

.hero-main { display: grid; grid-template-columns: 1fr; }

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 0;
}
.hero-h1 { font-size: clamp(40px, 4.6vw, 70px); line-height: 1.03; }
.hero-lead {
  margin-top: 32px;
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--dim);
  max-width: 460px;
}
.hero-lead strong { color: var(--ink); font-weight: 600; }
.hero-cta { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

.hero-device {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.hero-device img { width: auto; max-height: min(70vh, 620px); }
.hero-caption {
  display: none;
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--faint);
  writing-mode: vertical-rl;
  user-select: none;
}

.hero-index {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line-hard);
}
.hero-index .cell { padding: 20px 16px 20px 0; }
.hero-index .cell:nth-child(even) { border-left: 1px solid var(--line); padding-left: 20px; }
.hero-index .cell:nth-child(n+3) { border-top: 1px solid var(--line); }
.hero-index .n { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; color: var(--teal); }
.hero-index .t { margin-top: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.hero-index .s { margin-top: 2px; font-size: 12.5px; color: var(--dim); }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats { background: var(--ink); }
.stats-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 40px;
}
.stats-cell { text-align: center; padding: 0 16px; }
.stats-cell:not(:nth-child(2n+1)) { border-left: 1px solid rgba(255, 255, 255, 0.10); }
.stats-value {
  font-family: var(--font-display);
  color: #fff;
  line-height: 1;
  font-size: clamp(34px, 3.6vw, 52px);
  font-weight: 500;
}
.stats-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.45);
}

/* ============================================================
   MANIFESTO
   ============================================================ */
.manifesto { background: #fff; padding: 96px 0; overflow: hidden; }
.manifesto-grid {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1fr; gap: 56px;
  align-items: center;
}
.manifesto-h2 { margin-bottom: 28px; font-size: clamp(32px, 3.6vw, 52px); }
.manifesto-copy { margin-top: 24px; }
.manifesto-body { display: flex; flex-direction: column; gap: 20px; font-size: 16px; line-height: 1.75; color: var(--dim); max-width: 480px; }
.manifesto-body strong { color: var(--ink); font-weight: 600; }
.manifesto-tags { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px; }
.manifesto-tags span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  border-radius: 999px;
  padding: 8px 16px;
  background: var(--teal-soft);
  border: 1px solid var(--teal-line);
}

.manifesto-gallery { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.manifesto-gallery .g-main { grid-column: span 8; border-radius: 28px; overflow: hidden; }
.manifesto-gallery .g-main img { width: 100%; height: 420px; object-fit: cover; }
.manifesto-gallery .g-side { grid-column: span 4; align-self: end; border-radius: 22px; overflow: hidden; }
.manifesto-gallery .g-side img { width: 100%; height: 240px; object-fit: cover; }
.manifesto-chip {
  position: absolute;
  bottom: -16px; left: 24px;
  background: #fff;
  border-radius: 16px;
  padding: 14px 20px;
  border: 1px solid var(--line);
  box-shadow: 0 14px 36px rgba(16, 18, 21, 0.10);
}
.manifesto-chip span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
}
.manifesto-chip .teal { color: var(--teal); }

/* ============================================================
   TECHNOLOGY
   ============================================================ */
.technology { background: var(--cream); padding: 96px 0; }
.tech-head { max-width: 640px; margin-bottom: 64px; }
.tech-head h2 { margin-bottom: 24px; font-size: clamp(32px, 3.8vw, 54px); }
.tech-head p { font-size: 16px; line-height: 1.75; color: var(--dim); }
.tech-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.tech-card { overflow: hidden; display: flex; flex-direction: column; }
.tech-media { position: relative; height: 240px; background: var(--sand); overflow: hidden; }
.tech-media img { width: 100%; height: 100%; object-fit: cover; }
.tech-meta {
  position: absolute; top: 16px; left: 16px;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  border-radius: 999px;
  padding: 6px 14px;
  color: var(--ink);
  border: 1px solid var(--line);
}
.tech-body { padding: 28px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.tech-title-row { display: flex; align-items: center; gap: 12px; }
.tech-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
  background: var(--teal-soft);
  border: 1px solid var(--teal-line);
  flex-shrink: 0;
}
.tech-icon svg { width: 18px; height: 18px; }
.tech-body h3 { font-family: var(--font-display); font-size: 22px; color: var(--ink); font-weight: 500; }
.tech-body p { font-size: 14.5px; line-height: 1.7; color: var(--dim); flex: 1; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; }
.tech-tags span {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal);
  border-radius: 999px;
  padding: 6px 12px;
  background: var(--teal-soft);
}

/* ============================================================
   TREATMENTS
   ============================================================ */
.treatments { background: #fff; padding: 96px 0; }
.treatments-head {
  display: flex; flex-direction: column; gap: 32px;
  margin-bottom: 48px;
}
.treatments-head .th-copy { max-width: 560px; }
.treatments-head h2 { font-size: clamp(32px, 3.8vw, 54px); }
.treatments-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 13px; font-weight: 500;
  background: transparent;
  color: var(--dim);
  border: 1px solid var(--line-hard);
  transition: all 0.2s;
}
.filter-btn svg { width: 13px; height: 13px; }
.filter-btn .fcount {
  font-family: var(--font-mono);
  font-size: 10px;
  border-radius: 999px;
  padding: 2px 8px;
  background: var(--teal-soft);
  color: var(--teal);
}
.filter-btn.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.filter-btn.active .fcount { background: rgba(255, 255, 255, 0.15); color: #fff; }

.treatments-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.treat-card {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 20px 24px;
  transition: border-color 0.2s, opacity 0.25s, transform 0.25s;
}
.treat-card:hover { border-color: var(--teal); }
.treat-card.hide { display: none; }
.treat-card .t-name { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.treat-card .t-desc { font-size: 13px; color: var(--dim); line-height: 1.5; }
.treat-tag {
  font-family: var(--font-mono);
  font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase;
  border-radius: 999px;
  padding: 4px 10px;
  margin-top: 2px;
  flex-shrink: 0;
}
.treat-tag[data-cat="FACE"] { color: var(--teal); background: var(--teal-soft); }
.treat-tag[data-cat="BODY"] { color: var(--teal-d); background: var(--teal-soft); }
.treat-tag[data-cat="SCALP"] { color: var(--rose-deep); background: var(--rose-soft); }
.treatments-note { margin-top: 40px; text-align: center; font-size: 14px; color: var(--faint); }

/* ============================================================
   COMPARISON
   ============================================================ */
.comparison { background: var(--cream); padding: 96px 0; }
.comp-head { max-width: 620px; margin-bottom: 56px; }
.comp-head h2 { margin-bottom: 24px; font-size: clamp(32px, 3.8vw, 54px); }
.comp-head p { font-size: 16px; line-height: 1.75; color: var(--dim); }
.comp-table-wrap {
  overflow-x: auto;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 24px 60px rgba(16, 18, 21, 0.06);
}
.comp-table { width: 100%; min-width: 760px; border-collapse: collapse; }
.comp-table th { text-align: left; padding: 24px 28px; vertical-align: top; }
.comp-table th.c-crit {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--faint); font-weight: 500; width: 22%;
}
.comp-table th.c-plawave { width: 28%; background: var(--teal-soft); border-bottom: 2px solid var(--teal); }
.comp-table th.c-plawave .tt { font-family: var(--font-display); font-size: 19px; color: var(--teal-d); font-weight: 500; }
.comp-table th.c-plawave .ts { display: block; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal); margin-top: 4px; }
.comp-table th.c-other { width: 25%; border-bottom: 1px solid var(--line); }
.comp-table th.c-other .tt { font-family: var(--font-display); font-size: 17px; color: var(--dim); font-weight: 500; }
.comp-table th.c-other .ts { display: block; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); margin-top: 4px; }
.comp-table td { padding: 20px 28px; }
.comp-table tbody tr:nth-child(even) { background: rgba(250, 248, 245, 0.6); }
.comp-table td.td-crit { font-size: 13px; font-weight: 600; color: var(--ink); border-top: 1px solid var(--line); }
.comp-table td.td-plawave { background: var(--teal-soft); border-top: 1px solid var(--teal-line); }
.comp-table td.td-other { border-top: 1px solid var(--line); }
.comp-cell { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; line-height: 1.3; color: var(--dim); }
.comp-cell.hl { font-weight: 600; color: var(--ink); }
.comp-cell svg { width: 15px; height: 15px; flex-shrink: 0; }
.comp-cell .ic-good { color: var(--teal); }
.comp-cell .ic-bad { color: var(--rose-deep); opacity: 0.7; }
.comp-cell .ic-mid { color: var(--faint); }
.comp-note { margin-top: 24px; text-align: center; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.02em; color: var(--faint); }

/* ============================================================
   ROI
   ============================================================ */
.roi { background: #fff; padding: 96px 0; }
.roi-head { max-width: 620px; margin-bottom: 56px; }
.roi-head h2 { margin-bottom: 24px; font-size: clamp(32px, 3.8vw, 54px); }
.roi-head p { font-size: 16px; line-height: 1.75; color: var(--dim); }
.roi-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-bottom: 24px; }
.roi-math { border-radius: 24px; background: var(--cream); border: 1px solid var(--line); padding: 40px; display: flex; flex-direction: column; }
.roi-math .r-scenario { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--faint); margin-bottom: 32px; }
.roi-math .r-line { font-size: 18px; color: var(--dim); }
.roi-math .r-line + .r-line { margin-top: 8px; }
.roi-total { border-top: 1px solid var(--line-hard); margin-top: 24px; padding-top: 24px; }
.roi-total .r-big { font-family: var(--font-display); color: var(--teal); line-height: 1; font-size: clamp(40px, 4vw, 56px); font-weight: 500; }
.roi-total .r-sub { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--faint); margin-top: 8px; }
.roi-payback { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.roi-payback .p-box { border-radius: 16px; background: #fff; border: 1px solid var(--line); padding: 20px; }
.roi-payback .p-box .p-num { font-family: var(--font-display); font-size: 28px; line-height: 1; font-weight: 500; }
.roi-payback .p-box .p-num.teal { color: var(--teal); }
.roi-payback .p-box .p-num.faint { color: var(--faint); }
.roi-payback .p-box .p-lbl { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); margin-top: 8px; }

.roi-streams { display: flex; flex-direction: column; gap: 12px; }
.roi-streams .s-head { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--faint); margin-bottom: 12px; }
.stream-row {
  display: flex; align-items: center; justify-content: space-between;
  border-radius: 16px; border: 1px solid var(--line); background: #fff;
  padding: 20px 28px; transition: border-color 0.2s;
}
.stream-row:hover { border-color: var(--teal); }
.stream-row .s-name { font-size: 15.5px; font-weight: 600; color: var(--ink); }
.stream-row .s-right { display: flex; align-items: center; gap: 12px; }
.stream-row .s-price { font-family: var(--font-mono); font-size: 13.5px; color: var(--teal); }
.stream-row .s-arrow { color: var(--faint); transition: color 0.2s; }
.stream-row:hover .s-arrow { color: var(--teal); }
.stream-row .s-arrow svg { width: 13px; height: 13px; }
.stream-row .s-dur { font-family: var(--font-mono); font-size: 11px; color: var(--faint); }
.roi-invest {
  margin-top: 8px;
  display: flex; align-items: center; justify-content: space-between;
  border-radius: 16px; padding: 24px 28px;
  background: var(--teal-soft); border: 1px solid var(--teal-line);
}
.roi-invest .i-lbl { font-size: 14.5px; color: var(--dim); }
.roi-invest .i-val { font-family: var(--font-display); font-size: 22px; color: var(--teal-d); font-weight: 500; }
.roi-fin { font-size: 12.5px; color: var(--faint); padding: 0 8px; }

.roi-guarantee {
  border-radius: 24px; padding: 32px;
  display: flex; flex-direction: column; gap: 24px;
  background: var(--rose-soft); border: 1px solid var(--rose-line);
}
.roi-guarantee .g-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  background: #fff; border: 1px solid var(--rose-line); color: var(--rose-deep);
}
.roi-guarantee .g-icon svg { width: 24px; height: 24px; }
.roi-guarantee h3 { font-family: var(--font-display); font-size: 22px; color: var(--ink); margin-bottom: 8px; font-weight: 500; }
.roi-guarantee p { font-size: 14.5px; line-height: 1.7; color: var(--dim); max-width: 720px; }

/* ============================================================
   SEGMENTS
   ============================================================ */
.segments { background: var(--cream); padding: 96px 0; }
.seg-head { max-width: 560px; margin-bottom: 56px; }
.seg-head h2 { font-size: clamp(32px, 3.8vw, 54px); }
.seg-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.seg-card { padding: 36px; position: relative; }
.seg-tag {
  position: absolute; top: 28px; right: 28px;
  font-family: var(--font-mono);
  font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase;
  border-radius: 999px; padding: 6px 12px;
  background: var(--rose-soft); color: var(--rose-deep); border: 1px solid var(--rose-line);
}
.seg-icon {
  width: 48px; height: 48px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal); margin-bottom: 24px;
  background: var(--teal-soft); border: 1px solid var(--teal-line);
}
.seg-icon svg { width: 20px; height: 20px; }
.seg-card h3 { font-family: var(--font-display); font-size: 24px; color: var(--ink); margin-bottom: 14px; line-height: 1.15; font-weight: 500; }
.seg-card p { font-size: 14.5px; line-height: 1.75; color: var(--dim); }
.seg-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 24px; font-size: 13px; font-weight: 600; color: var(--teal);
  opacity: 0; transition: opacity 0.2s;
}
.seg-link svg { width: 14px; height: 14px; }
.seg-card:hover .seg-link { opacity: 1; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { background: #fff; padding: 96px 0; }
.test-head { max-width: 560px; margin-bottom: 56px; }
.test-head h2 { font-size: clamp(32px, 3.8vw, 54px); }
.test-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.test-card { padding: 36px; display: flex; flex-direction: column; gap: 24px; }
.test-card .t-quote-icon { color: var(--teal); opacity: 0.5; }
.test-card .t-quote-icon svg { width: 22px; height: 22px; }
.test-card blockquote { font-family: var(--font-display); font-size: 19px; line-height: 1.45; color: var(--ink); font-weight: 400; font-style: italic; flex: 1; }
.test-card figcaption { padding-top: 20px; border-top: 1px solid var(--line); }
.test-card .t-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.test-card .t-role { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); margin-top: 6px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--cream); padding: 96px 0; }
.faq-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
.faq-intro h2 { margin-bottom: 24px; font-size: clamp(32px, 3.6vw, 50px); }
.faq-intro p { font-size: 15.5px; line-height: 1.75; color: var(--dim); max-width: 380px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border-radius: 16px; border: 1px solid var(--line);
  background: #fff; overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item.open { border-color: var(--teal-line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 28px; text-align: left;
}
.faq-q span.q-text { font-size: 15.5px; font-weight: 600; color: var(--ink); padding: 4px 0; }
.faq-q .q-icon {
  width: 32px; height: 32px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  background: var(--teal-soft); color: var(--teal);
  transition: background 0.3s, color 0.3s, transform 0.3s;
}
.faq-q .q-icon svg { width: 15px; height: 15px; }
.faq-item.open .faq-q .q-icon { background: var(--teal); color: #fff; transform: rotate(45deg); }
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-answer-inner { overflow: hidden; }
.faq-answer p { padding: 0 28px 24px; font-size: 14.5px; line-height: 1.75; color: var(--dim); max-width: 640px; }

/* ============================================================
   DEMO FORM
   ============================================================ */
.demo { background: #fff; padding: 96px 0; }
.demo-grid { display: grid; grid-template-columns: 1fr; gap: 56px; align-items: start; }
.demo-badge {
  display: inline-flex; align-items: center; gap: 10px;
  border-radius: 999px; padding: 10px 20px; margin-bottom: 32px;
  background: var(--teal-soft); border: 1px solid var(--teal-line);
}
.demo-badge .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--teal); animation: pulseDot 2s ease-in-out infinite; }
.demo-badge span.b-text { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--teal); }
.demo-h2 { margin-bottom: 24px; font-size: clamp(34px, 4vw, 56px); }
.demo-lead { font-size: 16px; line-height: 1.75; color: var(--dim); margin-bottom: 40px; max-width: 440px; }
.demo-checklist { display: flex; flex-direction: column; gap: 16px; }
.demo-checklist li { display: flex; align-items: flex-start; gap: 14px; }
.demo-checklist svg { width: 18px; height: 18px; color: var(--teal); flex-shrink: 0; margin-top: 2px; }
.demo-checklist span { font-size: 14.5px; line-height: 1.6; color: var(--dim); }
.demo-guarantee {
  margin-top: 40px; display: inline-flex; align-items: center; gap: 12px;
  border-radius: 16px; padding: 16px 24px;
  background: var(--rose-soft); border: 1px solid var(--rose-line);
}
.demo-guarantee svg { width: 18px; height: 18px; color: var(--rose-deep); flex-shrink: 0; }
.demo-guarantee span { font-size: 13.5px; font-weight: 500; color: var(--ink); }

.demo-card {
  border-radius: 28px; background: var(--cream); border: 1px solid var(--line);
  padding: 32px;
  box-shadow: 0 30px 80px rgba(16, 18, 21, 0.08);
}
.demo-form { display: flex; flex-direction: column; gap: 20px; }
.demo-row { display: grid; grid-template-columns: 1fr; gap: 16px; }
.demo-field label {
  display: block; font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--faint);
  margin-bottom: 10px;
}
.demo-input {
  width: 100%; padding: 14px 18px; border-radius: 12px;
  background: #fff; border: 1px solid var(--line);
  font-size: 14.5px; color: var(--ink); outline: none;
  transition: border-color 0.2s;
}
.demo-input:focus { border-color: var(--teal); }
.demo-input::placeholder { color: var(--faint); }
select.demo-input:invalid { color: var(--faint); }
.demo-submit { margin-top: 8px; width: 100%; padding: 16px 32px; font-size: 16px; }
.demo-fineprint {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--faint); text-align: center;
}
.demo-success { text-align: center; padding: 64px 0; display: none; }
.demo-success.show { display: block; }
.demo-form.hide { display: none; }
.demo-success .s-icon {
  display: inline-flex; width: 64px; height: 64px; border-radius: 999px;
  align-items: center; justify-content: center; margin-bottom: 28px;
  background: var(--teal); color: #fff;
  box-shadow: 0 12px 32px rgba(46, 152, 136, 0.35);
}
.demo-success .s-icon svg { width: 28px; height: 28px; }
.demo-success h3 { font-family: var(--font-display); font-size: 30px; color: var(--ink); margin-bottom: 12px; font-weight: 500; }
.demo-success p { font-size: 15px; color: var(--dim); max-width: 320px; margin: 0 auto; line-height: 1.7; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--sand); border-top: 1px solid var(--line); }
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 64px 24px 40px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 48px; padding-bottom: 56px; }
.footer-brand img { height: 32px; width: auto; object-fit: contain; }
.footer-brand p { font-size: 14px; line-height: 1.75; color: var(--dim); margin-top: 20px; max-width: 340px; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.footer-badges span {
  font-family: var(--font-mono);
  font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--dim); border-radius: 999px; padding: 6px 12px;
  background: #fff; border: 1px solid var(--line);
}
.footer-col h3 { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--faint); margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-col li { font-size: 14px; color: var(--dim); transition: color 0.2s; }
.footer-col a:hover { color: var(--teal); }
.footer-bottom {
  border-top: 1px solid var(--line); padding-top: 32px;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.footer-bottom p { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; color: var(--faint); text-align: center; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 640px) {
  .treatments-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-cta { display: inline-flex; }
  .demo-row { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
  .seg-grid { grid-template-columns: repeat(2, 1fr); }
  .test-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
  .footer-bottom p:first-child { text-align: left; }
  .footer-bottom p:last-child { text-align: right; }
}

@media (min-width: 1024px) {
  .container { padding-left: 24px; padding-right: 24px; }

  .nav-links { display: flex; }
  .nav-toggle { display: none; }

  /* Hero */
  .hero { min-height: 100vh; display: flex; flex-direction: column; }
  .hero-inner { flex: 1; display: flex; flex-direction: column; }
  .hero-masthead { padding-top: 28px; }
  .hero-masthead .m-left, .hero-masthead .m-right { font-size: 11px; }
  .hero-main { flex: 1; grid-template-columns: repeat(12, 1fr); }
  .hero-copy { grid-column: span 7; padding: 56px 64px 56px 0; }
  .hero-device { grid-column: span 5; border-left: 1px solid var(--line); }
  .hero-caption { display: block; }
  .hero-index { grid-template-columns: repeat(4, 1fr); }
  .hero-index .cell { padding: 24px 16px 24px 0; }
  .hero-index .cell:nth-child(even) { border-left: none; padding-left: 0; }
  .hero-index .cell:nth-child(n+2) { border-left: 1px solid var(--line); padding-left: 32px; }
  .hero-index .cell:nth-child(n+3) { border-top: none; }

  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stats-cell:not(:nth-child(2n+1)) { border-left: 1px solid rgba(255,255,255,0.10); }
  .stats-cell:nth-child(1) { border-left: none; }

  .manifesto { padding: 128px 0; }
  .manifesto-grid { grid-template-columns: repeat(2, 1fr); gap: 80px; }
  .manifesto-gallery .g-main img { height: 520px; }
  .manifesto-gallery .g-side img { height: 300px; }

  .technology { padding: 128px 0; }
  .treatments { padding: 128px 0; }
  .treatments-head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .treatments-grid { grid-template-columns: repeat(3, 1fr); }

  .comparison { padding: 128px 0; }
  .roi { padding: 128px 0; }
  .roi-grid { grid-template-columns: repeat(2, 1fr); }
  .roi-math { padding: 48px; }

  .segments { padding: 128px 0; }
  .testimonials { padding: 128px 0; }

  .faq { padding: 128px 0; }
  .faq-grid { grid-template-columns: 0.9fr 1.4fr; gap: 80px; }

  .demo { padding: 128px 0; }
  .demo-grid { grid-template-columns: repeat(2, 1fr); gap: 80px; }
  .demo-card { padding: 48px; }
}
