@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --bg: #0d0c0a; --surface: #16140f; --surface-2: #1c1a14; --line: #2a271f; --line-2: #37332a;
  --text: #f5f2ea; --text-2: #bcb4a4; --text-3: #8a8271; --text-4: #5f584a;
  --accent: #cba876; --accent-2: #e6cfa4; --accent-ink: #1c1405; --accent-tint: rgba(203,168,118,.13);
  --good: #4ec98a;
  --font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  --wrap: 1080px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-ui); color: var(--text); line-height: 1.65;
  background:
    radial-gradient(1100px 720px at 82% 6%, rgba(203,168,118,.20), transparent 58%),
    radial-gradient(1000px 700px at 6% 0%, rgba(203,168,118,.08), transparent 55%),
    linear-gradient(180deg, #191309 0%, #141009 50%, #100d09 100%);
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em; line-height: 1.08; }

/* nav */
nav {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  /* full-bleed bar, but content stays aligned to the page --wrap column */
  padding: 13px max(24px, calc((100% - var(--wrap)) / 2));
  background: rgba(16, 13, 9, 0.55);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(230, 207, 164, 0.1);
  /* top sheen + soft drop = the "glass" read */
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 12px 34px -20px rgba(0, 0, 0, 0.75);
}
/* when the browser can't frost, fall back to a near-solid bar so text stays legible */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  nav { background: rgba(16, 13, 9, 0.94); }
}
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.brand .logo-mark { width: 25px; height: 25px; display: block; }
.brand b { font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: -.01em; color: var(--text); }
.brand span { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-4); }
.nav-right { display: flex; align-items: center; gap: 22px; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--text-2); text-decoration: none; font-size: 14px; }
.nav-links a:hover { color: var(--text); }

.btn {
  font-size: 14px; font-weight: 600; text-decoration: none; border-radius: 11px; border: 1px solid transparent;
  padding: 11px 18px; display: inline-flex; align-items: center; gap: 9px; transition: all .16s ease; cursor: pointer;
}
.btn.solid { background: var(--text); color: var(--bg); }
.btn.solid:hover { background: #fff; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent-2); }
.btn.sm { padding: 6px 15px; font-size: 13px; }
.btn svg { width: 16px; height: 16px; }

/* split download button */
.dl-group { position: relative; display: inline-flex; }
.dl-main { border-top-right-radius: 0; border-bottom-right-radius: 0; padding: 14px 22px; }
.dl-caret { border-top-left-radius: 0; border-bottom-left-radius: 0; padding: 14px 13px; margin-left: 1.5px; box-shadow: inset 1px 0 0 rgba(0,0,0,.14); }
.dl-caret svg { width: 15px; height: 15px; transition: transform .18s ease; }
.dl-caret[aria-expanded="true"] svg { transform: rotate(180deg); }
.dl-menu { position: absolute; top: calc(100% + 9px); left: 0; min-width: 230px; z-index: 30; background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; padding: 6px; box-shadow: 0 24px 60px rgba(0,0,0,.55); }
.dl-menu[hidden] { display: none; }
.dl-menu a { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 8px; color: var(--text); text-decoration: none; font-size: 14px; font-weight: 500; }
.dl-menu a:hover { background: var(--surface-2); }
.dl-menu a .ext { margin-left: auto; color: var(--text-4); font-size: 12px; font-family: var(--font-mono); }
.cta.center-cta { justify-content: center; }
.cta.center-cta .dl-menu { left: 50%; transform: translateX(-50%); }

/* hero */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 56px 0 40px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 62px); margin: 16px 0 20px; max-width: 12ch; }
.hero h1 em { font-style: italic; color: var(--accent-2); }
.hero p.lead { color: var(--text-2); font-size: clamp(16px, 2vw, 19px); max-width: 46ch; margin-bottom: 30px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.cta .btn { padding: 14px 22px; font-size: 15px; }
.trust { margin-top: 18px; font-size: 13px; color: var(--text-3); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.trust .dot { color: var(--text-4); }

/* morphing hero word (blur-threshold "goo" morph, MagicUI-style) */
.morph { position: relative; display: inline-block; font-style: italic; color: var(--accent-2); white-space: nowrap; vertical-align: baseline; filter: url(#morph-threshold); }
.morph .mt { white-space: nowrap; }
.morph .mt1 { position: relative; display: inline-block; }
.morph .mt2 { position: absolute; left: 0; top: 0; }

/* subtle warm light rays behind the hero */
.page-rays {
  position: absolute; top: 0; left: 0; right: 0; height: 860px; z-index: -1; pointer-events: none;
  background: conic-gradient(from 202deg at 74% -6%,
    transparent 0deg, rgba(203,168,118,.085) 6deg, transparent 13deg,
    transparent 21deg, rgba(203,168,118,.055) 27deg, transparent 34deg,
    transparent 46deg, rgba(203,168,118,.075) 52deg, transparent 59deg,
    transparent 72deg, rgba(203,168,118,.05) 78deg, transparent 85deg);
  filter: blur(30px);
  -webkit-mask-image: radial-gradient(130% 90% at 74% 0%, #000 0%, transparent 62%);
  mask-image: radial-gradient(130% 90% at 74% 0%, #000 0%, transparent 62%);
  opacity: .7;
}
@media (prefers-reduced-motion: no-preference) {
  .page-rays { animation: rays-drift 22s ease-in-out infinite alternate; }
  @keyframes rays-drift {
    from { transform: translateX(-1.4%) rotate(-1deg); opacity: .5; }
    to { transform: translateX(1.4%) rotate(1deg); opacity: .8; }
  }
}

.shot { width: 100%; height: auto; display: block; filter: drop-shadow(0 34px 70px rgba(0,0,0,.62)); }
.hero-shot { position: relative; }
.hero-shot::before { content: ""; position: absolute; inset: -14% -12% 2%; z-index: -1; border-radius: 40%; background: radial-gradient(closest-side, rgba(203,168,118,.26), transparent 72%); filter: blur(16px); }
.split .shot-wrap { position: relative; }
.split .shot-wrap::before { content: ""; position: absolute; inset: -10%; z-index: -1; border-radius: 40%; background: radial-gradient(closest-side, rgba(203,168,118,.14), transparent 72%); filter: blur(14px); }

/* section scaffolding */
section.band { padding: 64px 0; border-top: 1px solid var(--line); }
.center { text-align: center; }
.section-head { max-width: 40ch; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); margin: 12px 0 12px; }
.section-head p { color: var(--text-2); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.step { background: var(--bg); padding: 30px 26px; }
.step .n { font-family: var(--font-display); font-size: 15px; color: var(--accent); margin-bottom: 12px; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--text-3); font-size: 14px; }

/* split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.rev { direction: rtl; } .split.rev > * { direction: ltr; }
.split h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 16px; }
.split p { color: var(--text-2); margin-bottom: 14px; }
.pill-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.pill { font-size: 12.5px; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); }
.pill.good { border-color: rgba(78,201,138,.4); color: var(--good); }
.split .shot { max-width: 420px; margin: 0 auto; }

/* feature grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.feature h3 { font-size: 16px; margin-bottom: 6px; }
.feature p { color: var(--text-3); font-size: 13.5px; }
.feature .ic { width: 34px; height: 34px; border-radius: 9px; background: var(--accent-tint); display: grid; place-items: center; margin-bottom: 14px; color: var(--accent-2); }

/* demo video ("en action") */
.demo-frame { max-width: 920px; margin: 6px auto 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 80px -34px rgba(0, 0, 0, 0.8), 0 8px 26px rgba(0, 0, 0, 0.4); background: #0b0a07; }
.demo-video { display: block; width: 100%; height: auto; }
.demo-note { text-align: center; margin-top: 22px; font-size: 14px; color: var(--text-4); }
.demo-note a { color: var(--text-2); text-decoration: underline; text-underline-offset: 2px; }
.demo-note a:hover { color: var(--accent-2); }

/* honest "statement" band */
.statement-band { text-align: center; }
.statement-band h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(28px, 4vw, 44px); line-height: 1.12; letter-spacing: -0.01em; color: var(--text); max-width: 18ch; margin: 0 auto 20px; }
.statement-band p { color: var(--text-2); font-size: 17px; line-height: 1.6; max-width: 56ch; margin: 0 auto; }

/* guarantee band */
.guarantee-band { text-align: center; }
.shield { width: 62px; height: 62px; margin: 0 auto 18px; border-radius: 16px; display: grid; place-items: center; font-size: 28px; background: rgba(78,201,138,.12); border: 1px solid rgba(78,201,138,.35); }
.guarantee-band h2 { font-size: clamp(26px,3.4vw,38px); margin-bottom: 12px; }
.guarantee-band p { color: var(--text-2); max-width: 52ch; margin: 0 auto; }

/* testimonials */
.testis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.testi { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; margin: 0; }
.testi .stars { color: var(--accent); font-size: 12px; letter-spacing: 3px; margin-bottom: 12px; }
.testi blockquote { font-family: var(--font-display); font-size: 15px; color: var(--text); line-height: 1.5; margin: 0 0 14px; }
.testi figcaption { font-family: var(--font-mono); font-size: 12px; color: var(--text-3); letter-spacing: .04em; }
.illus-note { text-align: center; color: var(--text-4); font-size: 11.5px; margin-top: 20px; }

/* final cta */
.final-band { padding: 84px 0 100px; }
.final { text-align: center; }
.final h2 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 14px; }
.final p { color: var(--text-2); margin-bottom: 32px; }
@media (max-width: 820px) { .testis { grid-template-columns: 1fr; } }

/* pricing */
.price-card { max-width: 470px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line-2); border-radius: 20px; padding: 36px 32px; text-align: center; box-shadow: 0 34px 80px rgba(0,0,0,.45); }
.price { display: flex; align-items: baseline; justify-content: center; gap: 12px; margin-bottom: 8px; }
.price .old { font-size: 22px; color: var(--text-4); text-decoration: line-through; }
.price .now { font-family: var(--font-display); font-weight: 600; font-size: 58px; color: var(--text); letter-spacing: -.02em; }
.price-sub { font-size: 13px; color: var(--text-3); margin-bottom: 24px; }
.incl { list-style: none; text-align: left; max-width: 300px; margin: 0 auto 26px; display: grid; gap: 11px; }
.incl li { font-size: 14px; color: var(--text-2); display: flex; gap: 9px; }
.incl li::before { content: "✓"; color: var(--good); font-weight: 700; }
.price-card .cta { justify-content: center; margin-bottom: 14px; }
.buy-line { font-size: 13px; color: var(--text-3); }
.buy-line a { color: var(--accent-2); }
.guarantee-line { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--good); font-weight: 500; }

/* faq */
.faq { max-width: 720px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 2px 18px; }
.faq summary { cursor: pointer; padding: 16px 0; font-size: 15px; font-weight: 500; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 20px; font-family: var(--font-mono); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--text-3); font-size: 14px; padding: 0 0 16px; line-height: 1.7; }
.faq details p a { color: var(--accent-2); }

/* content pages (about / science) */
.page-hero { padding: 46px 0 6px; }
.prose { max-width: 720px; margin: 0 auto; }
.prose h1 { font-size: clamp(34px,5vw,52px); margin-bottom: 20px; }
.prose h2 { font-size: clamp(22px,3vw,30px); margin: 42px 0 14px; }
.prose p { color: var(--text-2); margin-bottom: 16px; font-size: 16px; }
.prose p.lead { font-size: 19px; color: var(--text); margin-bottom: 28px; }
.prose ul { color: var(--text-2); margin: 0 0 16px 22px; display: grid; gap: 9px; font-size: 16px; }
.prose .note { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 10px; padding: 16px 18px; color: var(--text-2); font-size: 14.5px; margin: 22px 0; }
.prose .todo { border-left-color: var(--good); color: var(--text-3); font-style: italic; }
.prose .cta { margin-top: 34px; }

/* contact form */
.contact-form { display: grid; gap: 12px; margin-top: 28px; max-width: 520px; }
.contact-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form input, .contact-form textarea {
  width: 100%; font-family: var(--font-ui); font-size: 15px; color: var(--text);
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 10px;
  padding: 12px 14px; outline: none; transition: border-color .15s, box-shadow .15s;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--text-4); }
.contact-form input:focus, .contact-form textarea:focus { border-color: rgba(203,168,118,.5); box-shadow: 0 0 0 3px var(--accent-tint); }
.contact-form textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-form button { justify-self: start; margin-top: 4px; }
.contact-msg { font-size: 13.5px; min-height: 18px; color: var(--text-3); }
.contact-msg.ok { color: var(--good); }
.contact-msg.err { color: #e5675f; }
.contact-alt { font-size: 13px; color: var(--text-3); margin-top: 16px; }
.contact-alt a { color: var(--accent-2); }
@media (max-width: 560px) { .contact-form .field-row { grid-template-columns: 1fr; } }

footer { border-top: 1px solid var(--line); padding: 40px 24px; }
footer .wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; text-align: left; }
footer .foot-links { display: flex; gap: 18px; font-size: 13px; }
footer .foot-links a { color: var(--text-3); text-decoration: none; }
footer .foot-links a:hover { color: var(--text); }
footer .disc { color: var(--text-3); font-size: 12.5px; max-width: 58ch; line-height: 1.7; }
footer a { color: var(--text-3); }

/* scroll + load reveal */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
  .reveal.in { opacity: 1; transform: none; }
  .reveal.d1 { transition-delay: .06s; } .reveal.d2 { transition-delay: .14s; }
  .reveal.d3 { transition-delay: .22s; } .reveal.d4 { transition-delay: .30s; }
  .hero-shot { opacity: 0; transform: translateY(28px) scale(.985); transition: opacity 1s ease .18s, transform 1s cubic-bezier(.22,1,.36,1) .18s; }
  .hero-shot.in { opacity: 1; transform: none; }
}

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 30px; padding-top: 32px; }
  .hero-shot { order: -1; max-width: 380px; margin: 0 auto; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split.rev { direction: ltr; }
  .steps, .features { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .nav-links { display: none; }
}
