/* DentKey site. Built with the ai-design-skills landing page system: one typeface (Manrope), Tailwind type scale, 4px spacing tokens, flat backgrounds. */
@font-face { font-family: "Manrope"; src: url("/fonts/manrope.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
:root {
  --bg-dark: #131209; --surface-dark: #1F1F1F; --line-dark: #313131;
  --on-dark: #EDE6DA; --on-dark-dim: #A69D8F;
  --champagne: #E6D5B8; --champagne-deep: #D9C29C; --espresso: #2F2822;
  --ivory: #FAF6EF; --ivory-2: #F3EDE2; --ivory-line: #E6DDCF; --ink: #2B2520; --ink-dim: #6E645A;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { background: var(--ivory); color: var(--ink); font: 400 16px/24px var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; font-weight: 600; letter-spacing: -0.02em; }
p, li { text-wrap: pretty; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 20px; height: 20px; flex: 0 0 auto; }
:focus-visible { outline: 2px solid var(--champagne-deep); outline-offset: 2px; border-radius: 4px; }
.skip { position: fixed; left: 16px; top: -64px; z-index: 100; background: var(--champagne); color: var(--espresso); padding: 8px 12px; border-radius: 8px; font-weight: 600; text-decoration: none; transition: transform 300ms var(--ease); }
.skip:focus { transform: translateY(80px); }
.wrap { max-width: 1152px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 768px; }
.center { text-align: center; }
.dark { background: var(--bg-dark); color: var(--on-dark); }
.light { background: var(--ivory); color: var(--ink); }

/* buttons: text-base semibold, 8px by 12px padding */
.btn { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; font: 600 16px/24px var(--font); padding: 8px 12px; border-radius: 9999px; border: 0; background: var(--champagne); color: var(--espresso); text-decoration: none; cursor: pointer; transition: background-color 300ms var(--ease), transform 500ms var(--ease); }
.btn:hover { background: var(--champagne-deep); transform: translateY(-2px); }
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }
.btn-sm { font-size: 14px; line-height: 20px; }
.btn .ic { width: 16px; height: 16px; }

/* floating nav */
.nav-wrap { position: fixed; top: 16px; left: 0; right: 0; z-index: 50; display: flex; justify-content: center; padding: 0 16px; pointer-events: none; }
.nav { pointer-events: auto; display: flex; align-items: center; gap: 24px; padding: 8px 8px 8px 16px; border-radius: 9999px; background: rgba(19,18,9,.72); border: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); color: var(--on-dark); }
.wordmark { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; line-height: 28px; text-decoration: none; letter-spacing: -0.01em; }
.wordmark .ic { color: var(--champagne); }
.nav-links { display: flex; gap: 24px; font-size: 14px; line-height: 20px; }
.nav-links a { color: #D6CDBE; display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; text-decoration: none; transition: color 300ms var(--ease); }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--on-dark); }
.nav-links a[aria-current] { text-decoration: underline; text-underline-offset: 8px; text-decoration-color: var(--champagne); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 9999px; background: transparent; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--on-dark); transition: transform 500ms var(--ease); }
.menu-toggle span:first-child { transform: translateY(-4px); }
.menu-toggle span:last-child { transform: translateY(4px); }
.menu-open .menu-toggle span:first-child { transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 40; background: rgba(19,18,9,.94); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); padding: 96px 24px 24px; }
.mobile-links { display: flex; flex-direction: column; gap: 16px; }
.mobile-links a { color: var(--on-dark); font-size: 30px; line-height: 36px; font-weight: 600; text-decoration: none; opacity: 0; transform: translateY(24px); }
.menu-open .mobile-links a { opacity: 1; transform: none; transition: opacity 500ms var(--ease), transform 500ms var(--ease); transition-delay: calc(var(--i) * 60ms); }
.mobile-links a[aria-current] { color: var(--champagne); }

/* hero */
.hero { overflow: hidden; }
.hero-inner { max-width: 1152px; margin: 0 auto; padding: 128px 24px 0; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 48px; min-height: min(860px, 100vh); }
.hero-copy { padding-bottom: 96px; }
.eyebrow { font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: .02em; color: var(--champagne); margin-bottom: 16px; }
.light .eyebrow, .doc .eyebrow { color: #7A6849; }
.grad { background: linear-gradient(90deg, #FFFFFF, #9B9B9B); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-l { background: linear-gradient(90deg, #000000, #666666); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 { font-size: 60px; line-height: 60px; max-width: 680px; }
.sub { font-size: 18px; line-height: 28px; color: var(--on-dark-dim); max-width: 680px; margin: 24px 0 32px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.proof { display: flex; align-items: center; gap: 8px; margin-top: 24px; font-size: 14px; line-height: 20px; color: var(--on-dark-dim); }
.proof .ic { width: 16px; height: 16px; color: var(--champagne); }
.hero-phone { align-self: end; display: flex; justify-content: center; }
.hero-phone .phone { --w: 340px; margin-bottom: -96px; }

/* phone frame, unchanged geometry from the previous site */
/* ---------- phone frame: iPhone 15/16 Pro silhouette ----------
   Geometry from Apple's numbers: body 70.6 x 146.6 mm, screen 1179 x 2556 px,
   display corner 55 pt of 393 pt (14% of screen width), island 126 x 37 pt, 11 pt from the top. */
.phone {
  --w: 290px;
  --bez: calc(var(--w) * .034);            /* titanium band plus black glass border */
  --r-out: calc(var(--w) * .158);
  --r-in: calc(var(--r-out) - var(--bez));
  position: relative; width: var(--w); flex: 0 0 auto;
  padding: calc(var(--w) * .012); border-radius: var(--r-out);
  background:
    linear-gradient(135deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,0) 18%, rgba(255,255,255,0) 82%, rgba(255,255,255,.16) 100%),
    linear-gradient(90deg, #4A4640 0%, #2A2723 6%, #1E1C19 50%, #2A2723 94%, #4A4640 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.14),
    inset 0 1px 1.5px rgba(255,255,255,.28),
    inset 0 -1px 1.5px rgba(0,0,0,.6),
    0 0 0 .5px rgba(0,0,0,.55),
    0 2px 4px rgba(20,18,15,.18),
    0 20px 40px -16px rgba(20,18,15,.36),
    0 44px 70px -30px rgba(20,18,15,.42);
}
.phone .screen {
  position: relative; aspect-ratio: 1179 / 2556; border-radius: var(--r-in); overflow: hidden;
  background: #000;
  box-shadow: 0 0 0 calc(var(--w) * .022) #050505, 0 0 0 calc(var(--w) * .022 + 1px) rgba(255,255,255,.04);   /* black border between glass edge and pixels */
  margin: calc(var(--w) * .022);
  isolation: isolate;
}
.phone .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; border-radius: inherit; }
.phone .island { position: absolute; z-index: 2; top: 1.29%; left: 50%; width: 32%; height: 4.34%; transform: translateX(-50%); border-radius: 999px; background: #000; box-shadow: inset 0 0 0 .5px rgba(255,255,255,.05); }
.phone .hw { position: absolute; width: calc(var(--w) * .012); border-radius: 2px; background: linear-gradient(90deg, #1A1815, #4A463F 45%, #2A2723); box-shadow: 0 0 0 .5px rgba(0,0,0,.45); }
.phone .hw-action, .phone .hw-vup, .phone .hw-vdn { left: calc(var(--w) * -.009); border-radius: 2px 0 0 2px; }
.phone .hw-pwr { right: calc(var(--w) * -.009); border-radius: 0 2px 2px 0; background: linear-gradient(90deg, #2A2723, #4A463F 55%, #1A1815); }
.phone .hw-action { top: 19.5%; height: 4.6%; }
.phone .hw-vup { top: 28%; height: 8.6%; }
.phone .hw-vdn { top: 38.5%; height: 8.6%; }
.phone .hw-pwr { top: 31%; height: 13%; }

/* sections */
.benefits, .how, .faq { padding: 96px 0; }
.h2 { font-size: 36px; line-height: 40px; max-width: 680px; margin-bottom: 48px; }
.center .h2, .final .h2 { margin-left: auto; margin-right: auto; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #FFFFFF; border: 1px solid var(--ivory-line); border-radius: 16px; padding: 32px; }
.card .ic { width: 32px; height: 32px; color: #8A7656; margin-bottom: 24px; }
.card h3 { font-size: 20px; line-height: 28px; margin-bottom: 8px; }
.card p { color: var(--ink-dim); }

.tagline { padding: 128px 24px; text-align: center; }
.tag-text { font-size: 60px; line-height: 60px; font-weight: 600; letter-spacing: -0.02em; max-width: 960px; margin: 0 auto; }
.tag-text .w { color: rgba(237,230,218,.62); transition: color 700ms var(--ease); }
.tag-text .w.on { color: var(--on-dark); }
.tag-facts { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 48px; }
.tag-facts li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 9999px; border: 1px solid var(--line-dark); background: var(--surface-dark); font-size: 14px; line-height: 20px; color: var(--on-dark-dim); }
.tag-facts .ic { width: 16px; height: 16px; color: var(--champagne); }

.step { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; padding: 48px 0; }
.step.flip .phone-wrap { order: -1; }
.step .phone-wrap { display: flex; justify-content: center; }
.step .phone { --w: 270px; }
.step .num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 9999px; background: var(--espresso); color: var(--champagne); font-weight: 600; margin-bottom: 24px; }
.step h3 { font-size: 30px; line-height: 36px; margin-bottom: 16px; }
.step p { font-size: 18px; line-height: 28px; color: var(--ink-dim); max-width: 448px; }

.faq details { border: 1px solid var(--ivory-line); border-radius: 16px; background: #FFFFFF; margin-bottom: 12px; }
.faq summary { list-style: none; cursor: pointer; padding: 16px 24px; font-weight: 600; font-size: 18px; line-height: 28px; display: flex; justify-content: space-between; gap: 16px; border-radius: 16px; transition: background-color 300ms var(--ease); }
.faq summary:hover { background: var(--ivory-2); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: #8A7656; font-weight: 400; transition: transform 500ms var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 24px; color: var(--ink-dim); }

.final { padding: 128px 0; }
.final .sub { margin: 24px auto 32px; }
form.join { display: flex; gap: 8px; max-width: 480px; margin: 0 auto; padding: 4px; border-radius: 9999px; background: var(--surface-dark); border: 1px solid var(--line-dark); }
form.join input[type=email] { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--on-dark); font: 400 16px/24px var(--font); padding: 8px 16px; border-radius: 9999px; }
form.join input[type=email]::placeholder { color: #7C7468; }
form.join input[type=email]:focus { outline: none; }
form.join:focus-within { border-color: var(--champagne-deep); }
form.join.invalid { border-color: #E08C7A; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.join-status { min-height: 24px; margin-top: 16px; font-size: 14px; line-height: 20px; color: var(--on-dark-dim); }
.join-status.err { color: #F0A897; }

/* footer */
.site-foot { background: var(--bg-dark); color: var(--on-dark-dim); border-top: 1px solid var(--line-dark); }
.foot-inner { max-width: 1152px; margin: 0 auto; padding: 48px 24px; display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: start; }
.foot-brand .wordmark { color: var(--on-dark); }
.foot-brand p { font-size: 14px; line-height: 20px; margin-top: 8px; }
.foot-links { display: grid; grid-template-columns: repeat(3, auto); gap: 8px 32px; font-size: 14px; line-height: 20px; }
.foot-links a, .foot-small a { text-decoration: none; transition: color 300ms var(--ease); }
.foot-links a:hover, .foot-small a:hover { color: var(--on-dark); }
.foot-small { grid-column: 1 / -1; font-size: 12px; line-height: 16px; padding-top: 24px; border-top: 1px solid var(--line-dark); }

/* document pages */
body.doc { background: var(--ivory); }
.doc-body { max-width: 768px; margin: 0 auto; padding: 128px 24px 96px; }
.doc-body h1 { font-size: 48px; line-height: 48px; margin-bottom: 24px; }
.legal-doc h1 { font-size: 36px; line-height: 40px; }
.doc-body h2 { font-size: 24px; line-height: 32px; margin: 48px 0 12px; }
.doc-body h3 { font-size: 18px; line-height: 28px; margin: 32px 0 8px; }
.doc-body p, .doc-body li { font-size: 16px; line-height: 28px; color: #3D352E; margin-bottom: 16px; }
.doc-body ul, .doc-body ol { padding-left: 24px; margin-bottom: 16px; }
.doc-body a { color: #6B5536; text-underline-offset: 2px; }
.doc-body .lede { font-size: 18px; line-height: 28px; color: var(--ink-dim); }
.doc-body .meta { color: var(--ink-dim); font-size: 14px; margin-bottom: 4px; }
.doc-body table { width: 100%; border-collapse: collapse; margin: 32px 0 16px; }
.doc-body th, .doc-body td { text-align: left; padding: 12px 16px; border: 1px solid var(--ivory-line); font-size: 14px; line-height: 20px; vertical-align: top; }
.doc-body th { background: var(--ivory-2); font-weight: 600; letter-spacing: .02em; }
.doc-body .back { margin-top: 48px; }
.doc-body .cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 32px 0; }
.doc-body .card { display: block; text-decoration: none; padding: 24px; transition: border-color 300ms var(--ease), transform 500ms var(--ease); }
.doc-body .card:hover { border-color: var(--champagne-deep); transform: translateY(-2px); }
.doc-body .card .t { display: block; font-weight: 600; font-size: 18px; line-height: 28px; color: var(--ink); margin-bottom: 4px; }
.doc-body .card .d { display: block; font-size: 14px; line-height: 20px; color: var(--ink-dim); }
.doc-body .quick-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.contact-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: #FFFFFF; border: 1px solid var(--ivory-line); border-radius: 16px; padding: 24px; margin: 32px 0; }
.contact-card h2 { margin: 0 0 8px; font-size: 20px; line-height: 28px; }
.contact-card p { margin: 0; color: var(--ink-dim); }
.contact-card .btn { white-space: nowrap; color: var(--espresso); }
.nf { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.nf .btn { color: var(--espresso); }
body.doc .nav-wrap .nav { background: rgba(19,18,9,.82); }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .nav { gap: 16px; width: 100%; justify-content: space-between; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 112px; min-height: 0; gap: 48px; }
  .hero-copy { padding-bottom: 0; }
  .hero h1 { font-size: 48px; line-height: 48px; }
  .br-d { display: none; }
  .hero-phone .phone { --w: 270px; margin-bottom: -64px; }
  .grid3 { grid-template-columns: 1fr; }
  .tag-text { font-size: 36px; line-height: 40px; }
  .tagline { padding: 96px 24px; }
  .step { grid-template-columns: 1fr; gap: 32px; padding: 32px 0; }
  .step.flip .phone-wrap { order: 0; }
  .step .phone { --w: 240px; }
  .h2 { font-size: 30px; line-height: 36px; }
  .foot-inner { grid-template-columns: 1fr; }
  .foot-links { grid-template-columns: repeat(2, auto); justify-content: start; }
  .doc-body { padding-top: 112px; }
  .doc-body h1 { font-size: 36px; line-height: 40px; }
  .legal-doc h1 { font-size: 30px; line-height: 36px; }
  .doc-body .cards { grid-template-columns: 1fr; }
  .contact-card { flex-direction: column; align-items: flex-start; }
  .doc-body table { display: block; overflow-x: auto; }
}
@media (max-width: 420px) {
  .hero h1 { font-size: 36px; line-height: 40px; }
  form.join { flex-direction: column; border-radius: 24px; padding: 8px; }
  form.join .btn { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { transform: none; transition: opacity 300ms linear; }
  .mobile-links a, .menu-open .mobile-links a { transform: none; }
  .btn:hover { transform: none; }
}

/* design review fixes */
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; }
.how .h2 + .step { padding-top: 16px; }
.mobile-links a { min-height: 44px; }

/* motion round */
:root { --expo: cubic-bezier(0.16, 1, 0.3, 1); }
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; background: #000; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.55) 38%, rgba(0,0,0,0) 62%), linear-gradient(0deg, rgba(19,18,9,1) 0%, rgba(19,18,9,0) 22%); }
.hero-inner { position: relative; z-index: 1; display: block; width: 100%; min-height: 0; padding: 160px 24px 128px; }
.hero-copy { max-width: 560px; padding-bottom: 0; }
.hero h1 { color: var(--on-dark); font-size: 64px; line-height: 1.02; }
.hero .sub { max-width: 440px; }
.benefits, .how, .faq { padding: 144px 0; }
.final { padding: 160px 0; }
.step { padding: 72px 0; }
.rule { display: block; height: 1px; width: 96px; background: var(--champagne-deep); margin-bottom: 24px; transform-origin: left center; }
.light .rule { background: #A68A5B; }
.rule.center { margin-left: auto; margin-right: auto; transform-origin: center; }
.js .rule { transform: scaleX(0); transition: transform 900ms var(--expo); }
.js .rule.in { transform: scaleX(1); }
.split .ln { display: block; overflow: hidden; padding-bottom: .2em; margin-bottom: -.2em; }
.split .wd { display: inline-block; white-space: nowrap; }
.split .ch { display: inline-block; transform: translateY(1.2em); transition: transform 800ms var(--expo); white-space: pre; }
.split.in .ch { transform: none; }
.js .reveal { opacity: 0; transform: translateY(1.8rem); transition: opacity 1200ms var(--expo), transform 1200ms var(--expo); }
.js .reveal.in { opacity: 1; transform: none; }
.tagline { position: relative; overflow: hidden; padding: 176px 24px; }
.giant { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 28vw; line-height: 1; font-weight: 700; letter-spacing: -0.05em; color: rgba(237,230,218,.035); white-space: nowrap; pointer-events: none; user-select: none; z-index: 0; }
.tagline > *:not(.giant):not(.scanmark) { position: relative; z-index: 1; }
.tag-text .w { color: rgba(237,230,218,.62); }
.nav-wrap { transition: transform 400ms var(--expo); }
.nav-wrap.nav-hidden { transform: translateY(calc(-100% - 24px)); }
@media (max-width: 900px) {
  .hero { align-items: flex-end; }
  .hero-scrim { background: linear-gradient(0deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.75) 45%, rgba(0,0,0,.15) 75%, rgba(0,0,0,0) 100%); }
  .hero-inner { padding: 96px 24px 64px; }
  .hero h1 { font-size: 44px; }
  .benefits, .how, .faq { padding: 96px 0; }
  .tagline { padding: 128px 24px; }
  .giant { font-size: 40vw; }
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .rule, .split .ch { transform: none !important; opacity: 1 !important; transition: none !important; }
  .nav-wrap { transition: none; }
}
@media (max-width: 420px) { .hero h1 { font-size: 40px; } }

/* hero stage: image and overlays share one 16:9 box that covers the hero */
.hero-media { overflow: hidden; }
.hero-stage { --sw: max(100vw, 177.78svh); position: absolute; width: var(--sw); height: calc(var(--sw) * .5625); left: calc((100vw - var(--sw)) * .7); top: 50%; margin-top: calc(var(--sw) * -.28125); transform-origin: 67% 55%; }
.hero-stage img, .hero-fx, .hero-specks, .hero-light { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-light { background: radial-gradient(ellipse 30% 40% at 68% 30%, rgba(255,214,150,.22), rgba(255,214,150,0) 70%); mix-blend-mode: screen; opacity: 0; pointer-events: none; }
.hero-fx .scan, .hero-fx .arc { opacity: 0; }
.js .hero-stage { filter: brightness(.18); animation: dk-warm 1.2s cubic-bezier(.4,0,.2,1) .15s forwards, dk-push 20s ease-in-out 1.4s infinite alternate; }
.js .hero-light { animation: dk-glow 1.4s ease-out .2s forwards; }
.js .hero-fx .scan { opacity: 1; animation: dk-scan 2.6s cubic-bezier(.45,0,.25,1) 3.4s 1 both; transform: translateX(690px); }
.js .hero-fx .arc { opacity: 1; stroke-dasharray: 1; stroke-dashoffset: 1; animation: dk-draw 2s var(--expo) 6s forwards, dk-breathe 14s ease-in-out 8s infinite; }
.js .hero h1 .ch { transition-delay: calc(var(--d, 0s) + 1.1s); }
.js .hero .reveal { transition: none; animation: dk-up 1.2s var(--expo) 2.2s both; }
.js .hero .cta-row.reveal { animation-delay: 2.4s; }
.js .hero .eyebrow.reveal { animation-delay: .9s; }
@keyframes dk-up { from { opacity: 0; transform: translateY(1.8rem); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .js .hero .reveal { animation: none; } }
.hero.paused .hero-stage, .hero.paused .hero-fx * { animation-play-state: paused; }
@keyframes dk-warm { to { filter: brightness(1); } }
@keyframes dk-push { from { transform: scale(1); } to { transform: scale(1.04); } }
@keyframes dk-glow { 0% { opacity: 0; } 60% { opacity: 1; } 100% { opacity: .55; } }
@keyframes dk-scan { 0% { transform: translateX(690px); opacity: 0; } 12% { opacity: 1; } 88% { transform: translateX(1110px); opacity: 1; } 100% { transform: translateX(1110px); opacity: 0; } }
@keyframes dk-draw { to { stroke-dashoffset: 0; } }
@keyframes dk-breathe { 0%, 100% { stroke-opacity: 1; } 50% { stroke-opacity: .82; } }
/* shade guide fan for the three cards */
.js .fan-set .fan { opacity: 0; transition: transform 1.4s var(--expo), opacity .9s var(--expo); }
.js .fan-set .fan:nth-child(1) { transform-origin: calc(150% + 24px) 260%; transform: rotate(-7deg); }
.js .fan-set .fan:nth-child(2) { transform-origin: 50% 260%; transform: translateY(1.2rem); transition-delay: .08s; }
.js .fan-set .fan:nth-child(3) { transform-origin: calc(-50% - 24px) 260%; transform: rotate(7deg); transition-delay: .16s; }
.js .fan-set.in .fan { opacity: 1; transform: none; }
@media (max-width: 900px) {
  .hero-stage { --sw: 235vw; left: calc((100vw - var(--sw)) * .66); top: 40px; margin-top: 0; }
  .js .fan-set .fan:nth-child(n) { transform: translateY(1.8rem) rotate(0); }
}
@media (prefers-reduced-motion: reduce) {
  .js .hero-stage, .js .hero-light, .js .hero-fx .scan, .js .hero-fx .arc { animation: none !important; filter: none; }
  .js .hero-fx .scan, .hero-specks, .hero-light { display: none; }
  .js .hero-fx .arc { stroke-dashoffset: 0; }
  .js .fan-set .fan { opacity: 1 !important; transform: none !important; transition: none !important; }
}
@keyframes dk-cure { 0% { stroke-width: 2.5; } 35% { stroke-width: 6; stroke: #9CF2C4; } 100% { stroke-width: 2.5; } }
.join-status.cure { animation: dk-cure-txt 1.1s ease-out 1; border-radius: 12px; }
@keyframes dk-cure-txt { 0% { box-shadow: 0 0 0 0 rgba(95,211,154,0); } 30% { box-shadow: 0 0 28px 6px rgba(95,211,154,.35); } 100% { box-shadow: 0 0 0 0 rgba(95,211,154,0); } }
.scan3d { display: none; width: 200px; height: 200px; margin: 0 auto 40px; }
.js .scan3d { display: block; }
@media (max-width: 900px) { .scan3d { width: 150px; height: 150px; margin-bottom: 24px; } }
@media (prefers-reduced-motion: reduce) { .js .scan3d { display: none; } .join-status.cure { animation: none; } }

/* round 2 fixes */
.nav-wrap .nav { background: rgba(19,18,9,.94); }
.wordmark { min-height: 44px; }
.foot-small a { display: inline-flex; align-items: center; min-height: 44px; }
.tag-facts li { color: var(--on-dark); background: #26251F; }
@media (max-width: 900px) {
  .nav-wrap .nav { background: #131209; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .split .ch { transform: none !important; transition: none !important; }
  .js .split .ln { opacity: 0; transform: translateY(.5em); transition: opacity .8s var(--expo), transform .8s var(--expo); }
  .js .split.in .ln { opacity: 1; transform: none; }
  .js .split.in .ln + .ln { transition-delay: .12s; }
  .js .hero h1.split .ln { transition-delay: 1.1s; }
  .js .hero h1.split .ln + .ln { transition-delay: 1.25s; }
  .tag-facts { padding: 0 20px; margin-left: -4px; margin-right: -4px; }
  .tag-facts li { max-width: 100%; }
  .step .phone { --w: min(80vw, 340px); }
  .giant { display: none; }
  form.join input[type=email] { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) { .js .split .ln { opacity: 1 !important; transform: none !important; transition: none !important; } }

/* descender room for gradient text */
.grad, .grad-l { padding-bottom: .18em; margin-bottom: -.18em; }

/* ---------- features ---------- */
.features { padding: 144px 0 64px; overflow: hidden; }
.fgroup { position: relative; padding: 24px 0; }
.fgiant { position: absolute; left: 50%; top: 50%; transform: translate(calc(-50% + var(--dx, 0px)), -50%); font-size: 22vw; line-height: 1; font-weight: 700; letter-spacing: -0.05em; color: rgba(43,37,32,.035); white-space: nowrap; pointer-events: none; user-select: none; z-index: 0; will-change: transform; }
.feat { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; padding: 56px 0; }
.feat.flip .phone-wrap { order: -1; }
.feat .phone-wrap { display: flex; justify-content: center; }
.feat .phone { --w: 270px; }
.feat .pair { gap: 20px; align-items: flex-start; }
.feat .pair .phone { --w: 230px; }
.feat .pair .phone + .phone { margin-top: 64px; }
.feat h3 { font-size: 30px; line-height: 38px; margin-bottom: 16px; max-width: 448px; }
.feat p { font-size: 18px; line-height: 28px; color: var(--ink-dim); max-width: 448px; }
.feat .fnote { margin-top: 16px; font-size: 14px; line-height: 20px; color: #7A6F64; }
.draw { display: block; width: 48px; height: 48px; color: #8A7656; margin-bottom: 20px; }
.draw path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .draw path { stroke-dashoffset: 1; transition: stroke-dashoffset 1800ms var(--expo); }
.js .draw path:nth-child(2) { transition-delay: .35s; } .js .draw path:nth-child(3) { transition-delay: .6s; } .js .draw path:nth-child(n+4) { transition-delay: .8s; }
.js .feat.in .draw path, .shot .draw path { stroke-dashoffset: 0; }
@media (max-width: 900px) {
  .features { padding: 96px 0 32px; }
  .feat { grid-template-columns: 1fr; gap: 40px; padding: 40px 0; }
  .feat.flip .phone-wrap { order: 0; }
  .feat .phone { --w: min(70vw, 270px); }
  .feat .pair .phone { --w: min(42vw, 200px); }
  .feat .pair .phone + .phone { margin-top: 40px; }
  .feat h3 { font-size: 26px; line-height: 32px; }
  .fgiant { font-size: 34vw; top: 30%; }
}
/* privacy section: pinned, longer scroll on desktop only */
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  .js:not(.shot) .tag-pin { height: 230vh; position: relative; }
  .js:not(.shot) .tag-pin .tagline { position: sticky; top: 0; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 96px 24px; }
  .js:not(.shot) .tag-pin .giant { transform: translate(calc(-50% + var(--gx, 0px)), -50%); }
  .js:not(.shot) .tag-facts li { opacity: var(--o, 0); transform: translateY(calc((1 - var(--o, 0)) * 16px)); }
}
@media (prefers-reduced-motion: reduce) { .js .draw path { stroke-dashoffset: 0; transition: none; } .fgiant { transform: translate(-50%, -50%) !important; } }

/* round 5: hero h1 on two lines at desktop, balanced wrap on mobile */
@media (min-width: 901px) { .hero-copy { max-width: 700px; } .hero h1 { max-width: 680px; } }
.hero h1, .final .h2 { text-wrap: balance; }


/* small corner scans (molar point cloud) */
main > section, .tag-pin > section { position: relative; }
.scanmark { position: absolute; top: 28px; width: 80px; height: 80px; opacity: .55; pointer-events: none; z-index: 0; transition: opacity 1200ms ease; }
.scanmark.rest { opacity: .4; }
.scanmark.sm-light { opacity: .8; } .scanmark.sm-light.rest { opacity: .65; }
.scanmark.sm-right { right: 28px; } .scanmark.sm-left { left: 28px; }
.scanmark canvas { width: 100%; height: 100%; display: block; }
@media (max-width: 900px) { .scanmark { width: 56px; height: 56px; top: 20px; } .scanmark.sm-right { right: 16px; } .scanmark.sm-left { left: 16px; } }
@media (prefers-reduced-motion: reduce) { .scanmark { transition: none; } }
