/* ============================================================
   NANOGEN V2 — design system
   Type: Gotham (Book / Medium / Bold Italic), self-hosted
   Palette: KV blush rose + coral signature
   Scale: modular 1.25 ratio, 8px spacing grid
   ============================================================ */

@font-face {
  font-family: 'Gotham';
  src: url('fonts/GothamBook.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Gotham';
  src: url('fonts/GothamMedium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Gotham';
  src: url('fonts/GothamBoldItalic.woff2') format('woff2');
  font-weight: 700; font-style: italic; font-display: swap;
}

:root {
  /* ---- type scale (modular 1.25, fluid) ---- */
  --t-xs:    12px;
  --t-sm:    13px;
  --t-base:  16px;
  --t-md:    clamp(16px, 1.05vw, 18px);
  --t-lg:    clamp(18px, 1.25vw, 22px);
  --t-xl:    clamp(22px, 1.7vw, 28px);
  --t-2xl:   clamp(26px, 2.4vw, 36px);
  --t-3xl:   clamp(26px, 2.8vw, 36px);
  --t-4xl:   clamp(28px, 3.2vw, 44px);
  --t-5xl:   clamp(36px, 4.6vw, 60px);

  --tracking-tight:  -0.022em;
  --tracking-normal: -0.005em;
  --tracking-label:   0.18em;

  /* ---- spacing (8pt grid) ---- */
  --s-1:  4px;
  --s-2:  8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  /* ---- palette (from KV) ---- */
  --rose-50:  #FFF6F8;
  --rose-100: #FCE7EC;
  --rose-150: #F8D9E0;
  --rose-200: #F2C7D2;
  --rose-300: #E9AEBE;
  --rose-400: #DA8FA1;
  --rose-500: #C77187;
  --rose-600: #A85571;
  --rose-700: #82405A;
  --coral:    #F9677D;
  --coral-deep: #E14A63;
  --rose-deep: #9C3858;        /* AA-safe link/text on light rose */

  --ink:        #1B1517;
  --ink-soft:   #423236;
  --ink-mute:   #75646A;
  --paper:      #FFFFFF;
  --nude-50:    #FBF7F5;
  --wash:       #FFEEF1;

  /* ---- layout ---- */
  --maxw: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --col-text-max: 60ch;

  /* ---- elevation ---- */
  --shadow-sm: 0 1px 2px rgba(27,21,23,0.04);
  --shadow-md: 0 8px 24px -8px rgba(168,85,113,0.18);
  --shadow-lg: 0 30px 60px -20px rgba(168,85,113,0.24);
}

/* ============================================================
   reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Gotham', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: var(--t-base);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { list-style: none; }

/* Focus rings */
:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ============================================================
   type primitives
   ============================================================ */
.display, h1, h2 {
  font-weight: 500; font-style: normal;
  line-height: 1.06;
  letter-spacing: var(--tracking-tight);
  color: var(--ink);
}
h1 { font-size: var(--t-5xl); }
h2 { font-size: var(--t-4xl); }
h1 .em, h2 .em { font-weight: 700; font-style: italic; color: var(--rose-deep); }
h1 .em-on-dark, h2 .em-on-dark { font-weight: 700; font-style: italic; color: var(--rose-200); }
h3 {
  font-weight: 700; font-style: italic;
  font-size: var(--t-xl);
  line-height: 1.15;
  letter-spacing: -0.012em;
  color: var(--ink);
}

p { font-size: var(--t-md); line-height: 1.6; color: var(--ink-soft); }
p.lede { font-size: var(--t-lg); line-height: 1.5; max-width: var(--col-text-max); color: var(--ink-soft); }
p.fineprint { font-size: var(--t-xs); line-height: 1.55; color: var(--ink-mute); }

.eyebrow {
  font-style: normal; font-weight: 500;
  font-size: var(--t-xs);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--rose-deep);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow.on-dark { color: var(--rose-200); }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

sup { font-size: 0.6em; vertical-align: super; line-height: 0; padding-left: 1px; }
strong { font-weight: 500; }

.em { color: var(--rose-deep); }
.em-on-dark { color: var(--rose-200); }

/* ============================================================
   layout primitives
   ============================================================ */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  width: 100%;
}
.section {
  padding: clamp(var(--s-6), 4.5vw, var(--s-8)) 0;
  position: relative;
}
.section.tight { padding: clamp(var(--s-7), 6vw, var(--s-9)) 0; }

.bg-paper { background: var(--paper); color: var(--ink); }
.bg-nude  { background: var(--nude-50); color: var(--ink); }
.bg-wash  { background: var(--wash); color: var(--ink); }
.bg-rose  { background: var(--rose-100); color: var(--ink); }
.bg-rose-deep {
  background: linear-gradient(140deg, var(--rose-400) 0%, var(--rose-500) 60%, var(--rose-600) 100%);
  color: #fff;
}
.bg-ink   { background: var(--ink); color: var(--rose-100); }

/* ============================================================
   buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 500; font-style: normal;
  font-size: var(--t-sm);
  letter-spacing: 0.015em;
  line-height: 1;
  min-height: 44px;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
  white-space: nowrap;
}
.btn-sm { padding: 10px 16px; font-size: var(--t-xs); min-height: 36px; }
.btn-block { width: 100%; }

.btn-solid     { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: var(--rose-deep); transform: translateY(-1px); }

.btn-coral     { background: var(--coral); color: #fff; box-shadow: var(--shadow-md); }
.btn-coral:hover { background: var(--coral-deep); transform: translateY(-1px); }

.btn-paper     { background: var(--paper); color: var(--ink); }
.btn-paper:hover { background: var(--ink); color: var(--paper); }

.btn-ghost     { background: transparent; color: var(--ink); border: 1px solid currentColor; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

.btn-ghost-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.45); }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }

.btn .arrow { font-size: 1.05em; line-height: 0.8; }

/* ============================================================
   logo SVGs (currentColor)
   ============================================================ */
.logo-svg { color: currentColor; }
.logo-nanogen-mark { height: 1em; }

/* ============================================================
   reveal (gated by body.is-loaded — no FOUC, JS-optional)
   ============================================================ */
body:not(.is-loaded) .reveal { opacity: 1; transform: none; }
body.is-loaded .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
}
body.is-loaded .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  body.is-loaded .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  color: #fff;
  transition: background .3s ease, backdrop-filter .3s ease, color .3s ease, box-shadow .3s ease;
}
.nav-inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: var(--s-5);
  padding: var(--s-4) var(--gutter);
  transition: padding .3s ease;
}
.nav-inner > .nav-brand { justify-self: start; }
.nav-inner > .nav-links { justify-self: center; }
.nav.is-scrolled {
  background: rgba(255,246,248,0.92);
  backdrop-filter: saturate(160%) blur(14px);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(27,21,23,0.06);
}
.nav.is-scrolled .nav-inner { padding: 10px var(--gutter); }
.nav-brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: var(--t-sm);
  color: inherit;
}
/* SVGs loaded as <img> não herdam currentColor — usamos filter pra branquear/escurecer */
.nav-brand .logo-svg { height: 26px; filter: brightness(0) invert(1); transition: filter .3s ease, height .3s ease; }
.nav.is-scrolled .nav-brand .logo-svg { height: 22px; filter: brightness(0); }
.hero-corner .logo-svg { filter: brightness(0) invert(1); }
.footer-brand .logo-svg { filter: brightness(0) invert(1); }
.footer-bot .logos .logo-svg { filter: brightness(0) invert(1); opacity: 0.68; }
.nav-brand .nav-by {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10px; letter-spacing: 0.20em; text-transform: uppercase;
  font-weight: 500; opacity: 0.85;
}
.nav-brand .nav-rule { width: 18px; height: 1px; background: currentColor; opacity: 0.4; }
.nav-links {
  display: flex; gap: var(--s-6);
  font-size: var(--t-sm); font-weight: 500;
}
.nav-links a { opacity: 0.78; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
@media (max-width: 880px) { .nav-links { display: none; } }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 70% center;
  z-index: 1;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(135deg, var(--rose-300) 0%, var(--rose-500) 60%, var(--rose-600) 100%);
}
.hero-veil {
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(27,21,23,0.18) 0%, rgba(27,21,23,0.0) 60%),
    linear-gradient(180deg, rgba(27,21,23,0.28) 0%, rgba(27,21,23,0.0) 18%, rgba(27,21,23,0.0) 75%, rgba(27,21,23,0.20) 100%);
}
@media (max-width: 880px) {
  .hero-veil {
    background:
      linear-gradient(180deg, rgba(27,21,23,0.55) 0%, rgba(27,21,23,0.30) 35%, rgba(27,21,23,0.45) 75%, rgba(27,21,23,0.65) 100%);
  }
  .hero-video { object-position: 50% center; }
}

.hero-grid {
  position: relative; z-index: 3;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 720px);
  gap: var(--s-7);
  align-items: center;
  padding-top: var(--s-7);
  padding-bottom: var(--s-7);
}
.hero-copy { display: flex; flex-direction: column; gap: var(--s-5); }

.hero-title {
  font-size: var(--t-5xl);
  font-weight: 500; font-style: normal;
  line-height: 1.04;
  letter-spacing: -0.022em;
  color: #fff;
  text-shadow: 0 2px 28px rgba(27,21,23,0.22);
  max-width: 13ch;
}
.hero-title .line { display: block; }
.hero-title .line-1 { font-weight: 500; opacity: 0.92; }
.hero-title .line-2 { font-weight: 500; }
.hero-title .line-3 { font-weight: 700; font-style: italic; margin-top: 0.06em; }
.hero-title .hl-light { font-weight: 400; opacity: 0.85; }
.hero-title .hl-bold  { font-weight: 700; font-style: italic; }
.hero-title .hl-em    { font-weight: 700; font-style: italic; }

.hero-lede {
  font-size: var(--t-md);
  line-height: 1.55;
  max-width: 480px;
  color: rgba(255,255,255,0.94);
}

.hero-cta {
  display: inline-flex;
  gap: var(--s-4);
  align-items: center;
  flex-wrap: wrap;
  margin-top: var(--s-2);
}

.hero-eyebrow {
  color: rgba(255,255,255,0.92);
  margin-bottom: var(--s-2);
}

/* corner lock-ups */
.hero-corner {
  position: absolute; z-index: 4; color: #fff;
  font-size: var(--t-xs);
  pointer-events: none;
}
.hero-corner > * { pointer-events: auto; }
.hero-corner-tr { top: clamp(20px, 3vh, 28px); right: var(--gutter); text-align: right; }
.hero-corner-tr .logo-svg { height: 16px; color: #fff; }
.hero-corner-br { bottom: clamp(20px, 3vh, 32px); right: var(--gutter); text-align: right; }
.hero-corner-br .logo-svg { height: 26px; color: #fff; }
.hero-corner-bl { bottom: clamp(72px, 9vh, 96px); right: var(--gutter); left: auto; display: flex; align-items: center; gap: 10px; opacity: 0.85; flex-direction: row-reverse; }
.hero-corner-bl .rule { width: 28px; height: 1px; background: #fff; }
.hero-corner-bl .stack { font-size: 11px; letter-spacing: 0.20em; text-transform: uppercase; }

@media (max-width: 880px) {
  .hero-grid { gap: var(--s-3); }
  .hero-corner-tr .logo-svg { height: 12px; }
  .hero-corner-br .logo-svg { height: 22px; }
  .hero-corner-bl { display: none; }
  .hero-title { font-size: clamp(36px, 9vw, 56px); }
  .hero-lede { max-width: 100%; }
}

/* ============================================================
   PRODUCT
   ============================================================ */
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(var(--s-6), 5vw, var(--s-9));
  align-items: center;
}
@media (max-width: 880px) { .two-col { grid-template-columns: 1fr; gap: var(--s-7); } }

.product .copy h2 { margin-top: var(--s-4); }
.product .copy p  { margin-top: var(--s-5); max-width: 520px; }

.product-copy h2 { margin-top: var(--s-3); }
.product-copy p  { margin-top: var(--s-5); max-width: 520px; }
@media (max-width: 880px) {
  .product-grid > .product-fig { order: -1; }
  .product-grid > .product-fig .img-main { max-width: 320px; margin: 0 auto; }
}

.callout {
  display: inline-block;
  margin-top: var(--s-5);
  padding: var(--s-4) var(--s-5);
  border: 1px solid var(--rose-200);
  background: var(--wash);
  color: var(--rose-deep);
  font-style: italic; font-weight: 700;
  font-size: var(--t-xl);
  line-height: 1.2;
  max-width: 360px;
}

.stats {
  margin-top: var(--s-7);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-4);
  max-width: 540px;
}
@media (max-width: 560px) {
  .stats { gap: var(--s-3); }
  .stats > div { min-height: 0; padding-top: var(--s-2); }
  .stats dt { font-size: clamp(26px, 8vw, 32px); flex-direction: column; align-items: flex-start; gap: 2px; }
  .stats dt .unit { font-size: 9px; letter-spacing: 0.12em; }
  .stats dd { font-size: 11px; line-height: 1.35; }
}
.stats > div {
  padding-top: var(--s-3);
  border-top: 1px solid rgba(27,21,23,0.16);
  min-height: 96px;
}
.stats dt {
  display: flex; align-items: baseline; gap: 6px;
  font-style: italic; font-weight: 700;
  font-size: clamp(36px, 3.4vw, 48px);
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stats dt .unit {
  font-style: normal; font-weight: 500;
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-mute);
  letter-spacing: 0.14em;
}
.stats dd {
  margin-top: var(--s-2);
  font-size: var(--t-xs);
  line-height: 1.45;
  color: var(--ink-mute);
}

.product-fig {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 50%, var(--wash) 0%, transparent 65%);
}
.product-fig .img-main {
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
  filter: drop-shadow(0 24px 50px rgba(168,85,113,0.22));
}

/* ============================================================
   APLICAÇÃO (face map)
   ============================================================ */
.facemap { color: #fff; }
.facemap .copy p { color: rgba(255,255,255,0.86); max-width: 460px; }
.facemap h2 { color: #fff; }

.facemap-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas:
    "img copy"
    "img list";
  gap: clamp(var(--s-5), 4vw, var(--s-7)) clamp(var(--s-6), 5vw, var(--s-9));
  align-items: start;
}
.facemap-grid > .copy   { grid-area: copy; }
.facemap-grid > .face-stage { grid-area: img; }
.facemap-grid > .region-list { grid-area: list; margin-top: 0; }
@media (max-width: 880px) {
  .facemap-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "img" "list";
    gap: var(--s-5);
  }
  .facemap-grid > .region-list { display: none; }
}

.face-tip {
  position: absolute;
  background: rgba(27,21,23,0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 4px;
  padding: 10px 12px;
  color: #fff;
  z-index: 4;
  display: none;
  pointer-events: none;
  max-width: 56%;
  box-shadow: 0 8px 24px rgba(0,0,0,0.28);
}
.face-tip .num { display: block; font-size: 10px; letter-spacing: 0.22em; color: var(--rose-200); margin-bottom: 4px; }
.face-tip .label { display: block; font-size: var(--t-sm); font-weight: 500; line-height: 1.2; }
.face-tip .desc { display: block; margin-top: 6px; font-size: 11px; line-height: 1.4; color: rgba(255,255,255,0.82); }
.face-line { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; display: none; }
@media (max-width: 880px) {
  .face-tip, .face-line { display: block; }
}

.face-stage {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 720px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.0) 100%);
  border: 1px solid rgba(255,255,255,0.18);
  overflow: hidden;
  border-radius: 2px;
}
.face-stage .face-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
}
.hot {
  position: absolute; transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  display: grid; place-items: center;
  cursor: pointer;
  border: 0; background: transparent;
  z-index: 2;
}
.hot::before {
  content: '';
  width: 14px; height: 14px; border-radius: 50%;
  background: rgba(255,255,255,0.95);
  border: 1.5px solid rgba(255,255,255,1);
  box-shadow: 0 0 12px rgba(255,255,255,0.7);
  transition: all .25s ease;
}
.hot.is-active::before {
  background: var(--coral);
  border-color: #fff;
  animation: hotPulse 1.6s ease-in-out infinite;
}
@keyframes hotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(249,103,125,0.55), 0 0 14px rgba(249,103,125,0.6); }
  50%      { box-shadow: 0 0 0 14px rgba(249,103,125,0),    0 0 14px rgba(249,103,125,0.6); }
}
@media (prefers-reduced-motion: reduce) {
  .hot.is-active::before { animation: none; }
}

.face-cap {
  position: absolute; bottom: 16px; left: 16px;
  font-size: 10px; letter-spacing: 0.20em; text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  background: rgba(0,0,0,0.18); padding: 4px 8px; border-radius: 2px;
  backdrop-filter: blur(4px);
}

.region-list { margin-top: var(--s-6); }
.region-list li button {
  width: 100%;
  padding: var(--s-5) 0;
  border-top: 1px solid rgba(255,255,255,0.22);
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: var(--s-4);
  align-items: center;
  text-align: left;
  color: rgba(255,255,255,0.62);
  font-size: var(--t-md);
  transition: color .25s ease;
}
.region-list li:last-child button { border-bottom: 1px solid rgba(255,255,255,0.22); }
.region-list button.is-active { color: #fff; }
.region-list .num { font-size: var(--t-xs); opacity: 0.8; font-variant-numeric: tabular-nums; }
.region-list .label { font-size: var(--t-lg); font-weight: 500; line-height: 1.2; }
.region-list .desc { font-size: var(--t-sm); max-width: 320px; line-height: 1.4; opacity: 0.85; text-align: right; }
@media (max-width: 880px) {
  .region-list li button { grid-template-columns: 24px 1fr; gap: var(--s-3); }
  .region-list .desc { display: none; }
}

/* ============================================================
   TECNOLOGIA
   ============================================================ */
.tech {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--paper) 0%, var(--wash) 50%, var(--paper) 100%);
  padding: clamp(var(--s-6), 5vw, var(--s-8)) 0;
}
.tech-mol {
  position: absolute; left: 50%; top: 50%;
  width: clamp(280px, 60vmin, 560px); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  z-index: 0; pointer-events: none;
  opacity: 0.55;
  filter: drop-shadow(0 24px 60px rgba(168,85,113,0.30));
}
.tech-mol img { width: 100%; }
.tech::before {
  /* center scrim so headline reads cleanly over molecule */
  content: '';
  position: absolute; inset: 30% 0 30% 0;
  background: radial-gradient(ellipse at center, rgba(255,238,241,0.85) 0%, rgba(255,238,241,0.0) 70%);
  z-index: 1; pointer-events: none;
}
.tech-grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--s-5);
}
.tech-grid .label-l { grid-column: 1 / span 4; }
.tech-grid .label-r { grid-column: 9 / span 4; text-align: right; }
.tech-grid .head    { grid-column: 2 / span 10; text-align: center; margin-top: clamp(var(--s-6), 5vw, var(--s-8)); }
.tech-grid .lede    { grid-column: 4 / span 6; text-align: center; margin-top: var(--s-4); margin-bottom: clamp(var(--s-6), 5vw, var(--s-7)); }
.tech-grid .card-1  { grid-column: 1 / span 4; }
.tech-grid .card-2  { grid-column: 5 / span 4; }
.tech-grid .card-3  { grid-column: 9 / span 4; }
@media (max-width: 880px) {
  .tech-grid .label-l, .tech-grid .label-r,
  .tech-grid .head, .tech-grid .lede,
  .tech-grid .card-1, .tech-grid .card-2, .tech-grid .card-3 {
    grid-column: 1 / -1;
    text-align: left;
    margin-top: 0;
  }
  .tech-grid .head { margin-top: var(--s-7); }
  .tech-grid .lede { margin-bottom: var(--s-7); }
}

.tech .label-l .small {
  display: block; margin-top: var(--s-2);
  font-style: italic; font-weight: 700;
  font-size: var(--t-md); color: var(--ink-soft); line-height: 1.3;
}
.tech .label-r .hash {
  font-style: italic; font-weight: 700;
  font-size: var(--t-lg); color: var(--rose-700); line-height: 1.15;
}
.tech .head { font-size: var(--t-4xl); }
.hashinline { display: inline-block; margin-left: var(--s-2); font-style: italic; font-weight: 700; color: var(--rose-deep); letter-spacing: 0.01em; white-space: nowrap; }
@media (max-width: 720px) { .hashinline { display: block; margin-left: 0; margin-top: var(--s-2); } }

.tech-card { padding: var(--s-6) 0; border-top: 1px solid rgba(27,21,23,0.16); }
.tech-card .num {
  font-style: normal; font-weight: 500;
  font-size: 11px; letter-spacing: 0.22em;
  color: var(--coral-deep);
  margin-bottom: var(--s-3);
}
.tech-card h3 { margin-bottom: var(--s-3); }
.tech-card p  { font-size: var(--t-sm); }

/* ============================================================
   BEFORE / AFTER
   ============================================================ */
.ba { align-items: center; }
.ba-copy h2 { margin-top: var(--s-3); }
.ba-copy p  { margin-top: var(--s-5); max-width: 460px; }
.ba-legend {
  margin-top: var(--s-5);
  display: flex; gap: var(--s-5);
  font-size: var(--t-sm); color: var(--ink-mute);
}
.ba-legend .sw { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.ba-legend .sw-ink { background: var(--ink-mute); }
.ba-legend .sw-mag { background: var(--coral); }
.ba-fineprint { margin-top: var(--s-6); font-size: var(--t-xs); color: var(--ink-mute); max-width: 380px; line-height: 1.5; font-style: italic; }

.ba-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  max-height: 560px;
  margin-left: auto;
  width: 100%;
  max-width: 560px;
  overflow: hidden;
  background: var(--ink);
  user-select: none; cursor: ew-resize;
  box-shadow: var(--shadow-lg);
  border-radius: 2px;
}
.ba-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-clip {
  position: absolute; inset: 0;
  width: var(--p, 50%); overflow: hidden;
}
.ba-clip img {
  width: calc(100% / (var(--p-frac, 0.5)));
  min-width: 100%; max-width: none;
  left: 0;
}
.ba-line {
  position: absolute; top: 0; bottom: 0; left: var(--p, 50%);
  width: 2px; background: #fff;
  box-shadow: 0 0 24px rgba(0,0,0,0.4);
  pointer-events: none;
}
.ba-handle {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: #fff; color: var(--ink);
  display: grid; place-items: center;
  font-size: 18px; font-weight: 700;
  box-shadow: 0 6px 20px rgba(0,0,0,0.28);
}
.ba-tag {
  position: absolute; top: 18px;
  padding: 6px 12px;
  font-size: 10px; letter-spacing: 0.20em;
  border-radius: 999px;
  transition: opacity .25s;
}
.ba-tag-l { left: 18px; background: rgba(27,21,23,0.65); color: #fff; backdrop-filter: blur(8px); }
.ba-tag-r { right: 18px; background: var(--coral); color: #fff; }

@media (max-width: 880px) { .ba-stage { margin: 0 auto; } }

/* ============================================================
   DEPOIMENTO
   ============================================================ */
.doctor { position: relative; overflow: hidden; }
.doctor .deco {
  position: absolute; right: -6%; top: -10%;
  width: 36%; opacity: 0.22;
  transform: rotate(-22deg);
  pointer-events: none;
}
.doctor .container { position: relative; z-index: 1; }

.doctor-grid { align-items: center; }
.doctor-copy h2 { color: #fff; margin-top: var(--s-3); }
.doctor-copy p { color: rgba(255,255,255,0.82); margin-top: var(--s-5); max-width: 420px; }

.chat-thread { max-width: 560px; margin-left: auto; width: 100%; }
.chat-row { display: grid; grid-template-columns: 1fr 96px; gap: var(--s-4); align-items: end; }

.chat-avatar { position: relative; width: 96px; height: 96px; }
.chat-avatar img {
  width: 100%; height: 100%;
  border-radius: 50%; object-fit: cover; object-position: 50% 18%;
  border: 3px solid rgba(255,255,255,0.92);
  box-shadow: 0 12px 32px rgba(0,0,0,0.38);
}
.chat-avatar .status {
  position: absolute; right: 4px; bottom: 4px;
  width: 18px; height: 18px; border-radius: 50%;
  background: #2dd16e;
  border: 3px solid var(--rose-deep);
}

.chat-stack { display: flex; flex-direction: column; gap: var(--s-2); align-items: flex-end; }
.chat-bubble {
  position: relative;
  max-width: 460px;
  padding: 14px 20px;
  background: #fff;
  color: var(--ink);
  font-size: var(--t-md);
  line-height: 1.5;
  border-radius: 18px 18px 4px 18px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
  font-style: normal; font-weight: 400;
}
.chat-bubble:first-child {
  border-radius: 18px 18px 18px 18px;
}
.chat-bubble + .chat-bubble {
  border-radius: 18px 18px 4px 18px;
}
.chat-bubble:last-of-type::before {
  content: '';
  position: absolute;
  right: -8px; bottom: 0;
  width: 14px; height: 14px;
  background: #fff;
  border-bottom-left-radius: 14px;
  clip-path: polygon(0 0, 0 100%, 100% 100%);
}
.chat-meta { text-align: right; }

.chat-time {
  display: block; margin-top: 6px;
  font-size: 10px; letter-spacing: 0.08em;
  color: var(--ink-mute); text-align: right;
  text-transform: lowercase;
}

.chat-meta {
  margin-top: var(--s-3);
  padding-left: 4px;
}
.chat-meta strong {
  display: block;
  font-style: normal; font-weight: 500;
  font-size: var(--t-md); color: #fff;
}
.chat-meta span {
  display: block; margin-top: 2px;
  font-size: var(--t-xs); letter-spacing: 0.04em;
  color: rgba(255,255,255,0.78);
}

@media (max-width: 880px) {
  .chat-thread { max-width: none; margin-left: 0; }
  .chat-row {
    grid-template-columns: 1fr;
    gap: var(--s-4);
  }
  .chat-row > .chat-avatar { order: 2; justify-self: end; width: 64px; height: 64px; }
  .chat-row > .chat-stack { order: 1; align-items: stretch; }
  .chat-bubble { max-width: 100%; font-size: var(--t-sm); padding: 12px 16px; }
  .chat-meta { text-align: left; }
}

/* ============================================================
   BENEFITS — woman + particles
   ============================================================ */
.benefits-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(var(--s-6), 5vw, var(--s-9));
  align-items: center;
}

.benefits-stage {
  position: relative;
  width: 100%;
  display: flex; justify-content: center;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(245,201,212,0.65) 0%, rgba(245,201,212,0.20) 45%, transparent 75%),
    linear-gradient(180deg, var(--wash) 0%, var(--paper) 100%);
  border-radius: 4px;
}
@media (max-width: 880px) {
  .benefits-grid { grid-template-columns: 1fr; }
  .benefits-stage { display: none; }
}
.benefits-img {
  display: block;
  width: auto; max-width: 100%;
  height: auto; max-height: 720px;
}
.benefits-video {
  display: block;
  width: 100%; max-width: 720px;
  height: auto; max-height: 720px;
  object-fit: contain;
}
.particles { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.particles .p {
  position: absolute;
  left: var(--x); top: var(--y);
  width: var(--s, 8px); height: var(--s, 8px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,200,210,0.95) 0%, rgba(249,103,125,0.7) 60%, rgba(249,103,125,0) 100%);
  box-shadow: 0 0 14px rgba(249,103,125,0.55);
  opacity: 0;
  animation: particleFloat 6.5s ease-in-out infinite;
  animation-delay: var(--d, 0s);
  will-change: transform, opacity;
}
@keyframes particleFloat {
  0%   { transform: translate(0, 0) scale(0.6); opacity: 0; }
  20%  { opacity: 0.95; }
  50%  { transform: translate(8px, -22px) scale(1.05); opacity: 0.7; }
  80%  { opacity: 0.4; }
  100% { transform: translate(-4px, -44px) scale(0.5); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .particles .p { animation: none; opacity: 0.65; }
}

.benefits-text { display: flex; flex-direction: column; gap: var(--s-5); }
.benefits-text h2 { margin-top: var(--s-2); }
.benefits-list { list-style: none; margin: var(--s-5) 0 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.benefits-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--s-4);
  padding: var(--s-5) 0;
  border-top: 1px solid rgba(27,21,23,0.14);
  align-items: start;
}
.benefits-list li:last-child { border-bottom: 1px solid rgba(27,21,23,0.14); }
.benefits-list .num {
  font-size: 11px; letter-spacing: 0.22em;
  color: var(--coral-deep); font-weight: 500;
  padding-top: 6px;
}
.benefits-list h3 { margin-bottom: var(--s-2); font-size: var(--t-xl); }
.benefits-list p  { font-size: var(--t-sm); line-height: 1.55; color: var(--ink-mute); }

/* ============================================================
   CTA card (inline dark)
   ============================================================ */
.cta-card {
  margin-top: var(--s-7);
  padding: clamp(var(--s-7), 5vw, 80px);
  background: var(--ink);
  color: var(--rose-100);
  position: relative; overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: var(--s-6);
  align-items: center;
  border-radius: 2px;
}
.cta-card .deco {
  position: absolute; right: -120px; top: -120px;
  width: 460px;
  opacity: 0.22;
  pointer-events: none;
}
.cta-card .text { position: relative; z-index: 2; }
.cta-card .text .eyebrow { color: var(--rose-200); margin-bottom: var(--s-4); }
.cta-card h3 {
  font-size: var(--t-3xl);
  color: #fff;
}
.cta-card p {
  margin-top: var(--s-4);
  max-width: 520px;
  color: rgba(252,231,236,0.80);
  font-size: var(--t-md);
}
.cta-card .stack {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; gap: var(--s-3);
}
.cta-card .stack .btn { justify-content: space-between; padding: 18px 22px; font-size: var(--t-sm); }
@media (max-width: 880px) { .cta-card { grid-template-columns: 1fr; } }

/* ============================================================
   RASPADINHA
   ============================================================ */
.scratch-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  grid-template-areas:
    "head img"
    "body img";
  gap: clamp(var(--s-5), 4vw, var(--s-7)) clamp(var(--s-6), 4vw, var(--s-8));
  align-items: start;
}
.scratch-head { grid-area: head; }
.scratch-body { grid-area: body; }
.scratch-grid > .scratch-stage { grid-area: img; align-self: center; }

.scratch-head h2 { margin-top: var(--s-3); }
.scratch-body p  { max-width: 480px; }
.scratch-body { display: flex; flex-direction: column; gap: var(--s-4); }

@media (max-width: 880px) {
  .scratch-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "head" "img" "body";
    gap: var(--s-5);
  }
  .scratch-grid > .scratch-stage { max-width: 100%; }
  .scratch-img { transform: scale(1.05); transform-origin: center; }
}

.scratch-rule {
  margin-top: var(--s-5);
  border-top: 1px solid rgba(27,21,23,0.14);
  border-bottom: 1px solid rgba(27,21,23,0.14);
  max-width: 480px;
}
.scratch-rule summary {
  list-style: none;
  padding: var(--s-4) 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-3);
  cursor: pointer;
}
.scratch-rule summary::-webkit-details-marker { display: none; }
.scratch-rule .qhead { display: flex; align-items: baseline; gap: var(--s-3); flex: 1; min-width: 0; }
.scratch-rule .qn { font-size: var(--t-sm); color: var(--coral-deep); font-weight: 500; flex: 0 0 16px; }
.scratch-rule .qt { font-size: var(--t-md); font-weight: 500; color: var(--ink); }
.scratch-rule .qi {
  width: 28px; height: 28px; border-radius: 50%;
  flex: 0 0 28px;
  border: 1px solid rgba(27,21,23,0.22);
  position: relative;
  transition: background .25s ease, border-color .25s ease, color .25s ease;
  color: var(--ink);
}
.scratch-rule .qi::before, .scratch-rule .qi::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  background: currentColor; transition: transform .3s ease;
}
.scratch-rule .qi::before { width: 10px; height: 1.5px; transform: translate(-50%, -50%); }
.scratch-rule .qi::after  { width: 1.5px; height: 10px; transform: translate(-50%, -50%); }
.scratch-rule[open] summary .qi { background: var(--coral); border-color: var(--coral); color: #fff; }
.scratch-rule[open] summary .qi::after { transform: translate(-50%, -50%) scaleY(0); }
.scratch-rule p {
  padding: 0 0 var(--s-4) calc(16px + var(--s-3));
  font-size: var(--t-sm);
  line-height: 1.65;
  color: var(--ink-mute);
}
.scratch-rule p + p { padding-top: var(--s-3); }

.scratch-stage { width: 100%; max-width: 760px; margin: 0 auto; }
.scratch-img {
  display: block;
  width: 100%; height: auto;
  filter: drop-shadow(0 30px 50px rgba(168,85,113,0.30));
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: clamp(var(--s-6), 5vw, 96px);
}
.faq-aside { position: sticky; top: 96px; align-self: start; }
.faq-aside h2 { margin-top: var(--s-3); }
.faq-aside p { margin-top: var(--s-4); max-width: 320px; }

@media (max-width: 880px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-aside { position: static; }
}

.faq-item { border-top: 1px solid rgba(27,21,23,0.14); }
.faq-item:last-child { border-bottom: 1px solid rgba(27,21,23,0.14); }
.faq-item summary {
  list-style: none;
  padding: var(--s-5) 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-4);
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .qhead { display: flex; align-items: baseline; gap: var(--s-4); flex: 1; min-width: 0; }
.faq-item .qn {
  font-size: var(--t-xs); color: var(--coral-deep);
  font-variant-numeric: tabular-nums; font-weight: 500;
  flex: 0 0 24px;
}
.faq-item .qt {
  font-size: var(--t-md); font-weight: 500;
  font-style: normal; letter-spacing: -0.005em;
  color: var(--ink); line-height: 1.35;
}
.faq-item .qi {
  width: 32px; height: 32px; border-radius: 50%;
  flex: 0 0 32px;
  border: 1px solid rgba(27,21,23,0.22);
  background: transparent;
  position: relative;
  transition: background .25s ease, border-color .25s ease, color .25s ease;
  color: var(--ink);
}
.faq-item .qi::before, .faq-item .qi::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  background: currentColor; transition: transform .3s ease;
}
.faq-item .qi::before { width: 11px; height: 1.5px; transform: translate(-50%, -50%); }
.faq-item .qi::after  { width: 1.5px; height: 11px; transform: translate(-50%, -50%); }
.faq-item[open] summary .qi { background: var(--coral); border-color: var(--coral); color: #fff; }
.faq-item[open] summary .qi::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-item p {
  padding: 0 0 var(--s-5) calc(24px + var(--s-4));
  font-size: var(--t-sm);
  line-height: 1.65;
  max-width: 720px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: rgba(252,231,236,0.84);
  padding: clamp(var(--s-8), 8vw, 120px) 0 var(--s-6);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: var(--s-7);
  margin-bottom: var(--s-8);
}
.footer-brand .logo-svg { color: #fff; height: 32px; margin-bottom: var(--s-3); }
.footer-brand .by { font-size: 11px; letter-spacing: 0.22em; color: var(--rose-200); margin-bottom: var(--s-4); }
.footer-brand p { font-size: var(--t-sm); max-width: 320px; color: rgba(252,231,236,0.55); }

.footer-cols h4 {
  font-size: 11px; letter-spacing: 0.20em;
  color: var(--rose-200);
  font-weight: 500; font-style: normal;
  margin-bottom: var(--s-3);
}
.footer-cols ul { display: flex; flex-direction: column; gap: var(--s-2); }
.footer-cols a { font-size: var(--t-sm); color: rgba(252,231,236,0.84); }
.footer-cols a:hover { color: #fff; }

@media (max-width: 880px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: var(--s-6); }
  .footer-brand { grid-column: 1 / -1; }
}

.refs {
  border-top: 1px solid rgba(252,231,236,0.18);
  padding-top: var(--s-5);
}
.refs h4 {
  font-size: 11px; letter-spacing: 0.20em;
  color: var(--rose-200);
  font-weight: 500; font-style: normal;
  margin-bottom: var(--s-4);
}
.refs ol {
  list-style: none; counter-reset: ref;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 36px;
  font-size: 11px;
  color: rgba(252,231,236,0.55);
  line-height: 1.55;
}
.refs ol li {
  counter-increment: ref;
  padding-left: 22px; position: relative;
}
.refs ol li::before {
  content: counter(ref) '.';
  position: absolute; left: 0; top: 0;
  font-variant-numeric: tabular-nums;
  color: var(--rose-300);
}
@media (max-width: 880px) { .refs ol { grid-template-columns: 1fr; } }

.footer-bot {
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid rgba(252,231,236,0.10);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--s-4);
  font-size: 11px; letter-spacing: 0.04em;
  color: rgba(252,231,236,0.50);
}
.footer-bot .right { text-align: right; }
.footer-bot .logos { display: inline-flex; align-items: center; gap: var(--s-5); }
.footer-bot .logos .logo-svg { height: 16px; color: rgba(252,231,236,0.68); }
@media (max-width: 720px) {
  .footer-bot { grid-template-columns: 1fr; text-align: center; }
  .footer-bot .right { text-align: center; }
}

/* ============================================================
   CTA card — rallying line + hashtag (do briefing)
   ============================================================ */
.cta-card .cta-rallying {
  margin-top: var(--s-4) !important;
  font-style: italic; font-weight: 700;
  font-size: var(--t-xl);
  line-height: 1.25;
  color: #fff !important;
  letter-spacing: -0.005em;
}
.cta-card .cta-rallying .cta-tag {
  display: inline-block;
  margin-left: var(--s-2);
  font-size: 11px; letter-spacing: 0.22em;
  font-weight: 500; font-style: normal;
  color: var(--rose-200);
  vertical-align: middle;
}

/* ============================================================
   Raspadinha — placeholder TBD
   ============================================================ */
.scratch-tbd {
  font-size: var(--t-md);
  color: var(--ink-mute);
  font-style: italic;
}

/* ============================================================
   Footer brand row (simplificado)
   ============================================================ */
.footer-brand-row {
  display: flex; flex-direction: column;
  gap: var(--s-3);
  margin-bottom: var(--s-7);
}
.footer-brand-row .footer-logo { color: #fff; height: 32px; filter: brightness(0) invert(1); }
.footer-brand-row .by { font-size: 11px; letter-spacing: 0.22em; color: var(--rose-200); }
.footer-brand-row p { font-size: var(--t-sm); max-width: 540px; color: rgba(252,231,236,0.55); }

/* ============================================================
   FORMULÁRIO (lead — profissionais)
   ============================================================ */
.section-form { background: var(--nude-50); color: var(--ink); }

.form-shell {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(var(--s-6), 5vw, var(--s-9));
  align-items: start;
}
@media (max-width: 880px) {
  .form-shell { grid-template-columns: 1fr; gap: var(--s-7); }
}

.form-aside { position: sticky; top: 110px; }
@media (max-width: 880px) { .form-aside { position: static; } }
.form-aside h2 {
  margin-top: var(--s-3);
  font-size: var(--t-4xl);
  letter-spacing: var(--tracking-tight);
  line-height: 1.05;
}
.form-aside h2 .em { font-style: italic; color: var(--rose-deep); }
.form-aside .lede {
  margin-top: var(--s-5);
  max-width: 46ch;
  color: var(--ink-soft);
  font-size: var(--t-md);
  line-height: 1.55;
}

.form-container {
  background: var(--paper);
  border: 1px solid var(--rose-150);
  border-radius: 2px;
  padding: clamp(var(--s-6), 4vw, var(--s-8));
  box-shadow: var(--shadow-sm);
}
.form-container h3 {
  margin-top: var(--s-3);
  font-size: var(--t-2xl);
  letter-spacing: var(--tracking-tight);
}
.form-intro {
  margin-top: var(--s-2);
  font-size: var(--t-sm);
  color: var(--ink-mute);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5) var(--s-5);
  margin-top: var(--s-6);
}
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

.form-field { display: flex; flex-direction: column; }
.form-field.full { grid-column: 1 / -1; }

.form-field label {
  font-size: 11px;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: var(--s-2);
  font-weight: 500;
}

.form-field input,
.form-field select {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(27,21,23,0.18);
  padding: 10px 0;
  color: var(--ink);
  font-family: inherit;
  font-size: var(--t-base);
  font-weight: 400;
  border-radius: 0;
  transition: border-color .25s ease;
}
.form-field input::placeholder { color: var(--ink-mute); opacity: 0.55; }
.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-bottom-color: var(--ink);
}
.form-field select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' stroke='%2375646A' fill='none' stroke-width='1.2'/></svg>");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 22px;
}
.form-field select option { background: var(--paper); color: var(--ink); }

.form-consent { margin-top: var(--s-3); }
.form-consent .checkbox-row {
  display: flex; align-items: flex-start; gap: 10px;
}
.form-consent .checkbox-row input[type="checkbox"] {
  appearance: none;
  width: 16px; height: 16px;
  border: 1px solid rgba(27,21,23,0.35);
  border-radius: 2px;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
  background: var(--paper);
  position: relative;
  transition: background .2s ease, border-color .2s ease;
}
.form-consent .checkbox-row input[type="checkbox"]:checked {
  background: var(--ink); border-color: var(--ink);
}
.form-consent .checkbox-row input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 4px; top: 1px;
  width: 5px; height: 9px;
  border: solid #fff;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.form-consent .checkbox-row label {
  font-size: var(--t-sm);
  color: var(--ink-soft);
  line-height: 1.5;
  cursor: pointer;
}

.form-submit {
  margin-top: var(--s-4);
  border: none;
  justify-content: space-between;
  padding: 16px 22px;
}
.form-submit[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }

.form-error {
  grid-column: 1 / -1;
  margin-top: var(--s-3);
  font-size: var(--t-sm);
  color: #ff8a8a;
  min-height: 1.2em;
  text-align: center;
  opacity: 0;
  transition: opacity .3s ease;
}
.form-error.visible { opacity: 1; }

.form-success {
  text-align: center;
  padding: clamp(var(--s-6), 5vw, var(--s-8)) var(--s-4);
  opacity: 0;
  transform: translateY(12px);
  animation: formSuccessIn .7s ease forwards;
}
.form-success .eyebrow { justify-content: center; }
.form-success h3 {
  margin-top: var(--s-3);
  font-size: var(--t-3xl);
  letter-spacing: var(--tracking-tight);
}
.form-success p {
  margin-top: var(--s-3);
  color: var(--ink-soft);
  font-size: var(--t-md);
  line-height: 1.6;
  max-width: 420px;
  margin-left: auto; margin-right: auto;
}
.form-success-mark {
  width: 64px; height: 64px;
  margin: 0 auto var(--s-5);
}
.form-success-mark svg {
  width: 100%; height: 100%;
  fill: none;
  stroke: var(--coral);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.form-success-mark circle {
  stroke-dasharray: 138;
  stroke-dashoffset: 138;
  animation: formCheckCircle .8s ease .1s forwards;
}
.form-success-mark path {
  stroke-dasharray: 36;
  stroke-dashoffset: 36;
  animation: formCheckTick .45s ease .7s forwards;
  stroke: var(--ink);
  stroke-width: 2;
}
@keyframes formCheckCircle { to { stroke-dashoffset: 0; } }
@keyframes formCheckTick   { to { stroke-dashoffset: 0; } }
@keyframes formSuccessIn   { to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   utilities
   ============================================================ */
.center { text-align: center; }
.muted  { color: var(--ink-mute); }
.flex   { display: flex; }
.grid   { display: grid; }
