:root {
  --bg: #faf9f6;
  --surface: #ffffff;
  --tint: #f2f0fb;
  --ink: #15141a;
  --ink-2: #4a4855;
  --ink-3: #7a7786;
  --line: #e6e3ee;
  --accent: #5b3df5;
  --accent-ink: #3d22c9;
  --accent-soft: #ece8ff;
  --ok: #127a4a;
  --ok-soft: #e2f5ea;
  --part: #8a5a00;
  --part-soft: #fdf1d6;
  --soon: #5b3df5;
  --soon-soft: #ece8ff;
  --dark: #17151f;
  --dark-2: #221f2e;
  --dark-line: #34304a;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(21, 20, 26, .04), 0 8px 24px -12px rgba(21, 20, 26, .12);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5.4vw, 3.9rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; max-width: 22ch; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0; }
a { color: inherit; }
strong, b { font-weight: 700; }
code {
  font: 500 .86em var(--mono);
  background: var(--accent-soft);
  color: var(--accent-ink);
  padding: .08em .35em;
  border-radius: 6px;
}

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.wrap--narrow { max-width: 820px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1.5px solid var(--accent);
  background: var(--accent); color: #fff;
  font-weight: 600; font-size: 1rem; text-decoration: none;
  max-width: 100%; text-align: center;
}
.btn--small { min-height: 40px; padding: 0 16px; font-size: .92rem; }
.btn--ghost { background: transparent; color: var(--accent-ink); border-color: var(--line); background: var(--surface); }
.btn--light { background: #fff; color: var(--accent-ink); border-color: #fff; overflow-wrap: anywhere; }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(250, 249, 246, .86);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: -0.01em; min-width: 0; }
.brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand__mark { width: 30px; height: 30px; flex: none; }
.nav__links { display: none; gap: 22px; margin-left: auto; font-size: .94rem; color: var(--ink-2); }
.nav__links a { text-decoration: none; }
.nav__links a:hover { color: var(--ink); }
.nav .btn { margin-left: auto; flex: none; }
@media (min-width: 960px) {
  .nav__links { display: flex; }
  .nav .btn { margin-left: 8px; }
}
@media (max-width: 400px) {
  .brand span { font-size: .92rem; }
  .nav .btn--small { padding: 0 12px; }
}

/* Hero */
.hero { padding: 56px 0 40px; }
.hero__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero { padding: 88px 0 56px; } .hero__grid { grid-template-columns: 1.35fr 1fr; gap: 56px; } }
.eyebrow {
  display: inline-block; margin-bottom: 20px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-ink);
  font-size: .86rem; font-weight: 600;
}
.lead { margin-top: 22px; font-size: 1.16rem; color: var(--ink-2); max-width: 36em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero__card {
  background: var(--dark); color: #f4f2fb;
  border-radius: 24px; padding: 32px 28px;
  box-shadow: 0 30px 60px -30px rgba(61, 34, 201, .55);
  position: relative; overflow: hidden;
}
.hero__card::before {
  content: ""; position: absolute; inset: -40% -30% auto auto; width: 320px; height: 320px;
  background: radial-gradient(closest-side, rgba(91, 61, 245, .55), transparent);
  pointer-events: none;
}
.hero__num { position: relative; font: 700 clamp(3.2rem, 9vw, 4.6rem)/1 var(--mono); letter-spacing: -0.04em; }
.hero__num span { font-size: .32em; letter-spacing: 0; color: #b8b1d6; margin-left: 6px; }
.hero__cap { position: relative; margin-top: 14px; color: #cfc9e6; }
.hero__cap strong { color: #fff; }
.hero__facts { position: relative; list-style: none; margin: 26px 0 0; padding: 20px 0 0; border-top: 1px solid var(--dark-line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.hero__facts li { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hero__facts b { font: 700 1rem var(--mono); color: #fff; }
.hero__facts span { font-size: .8rem; color: #a7a0c6; line-height: 1.35; }

.trust {
  list-style: none; margin: 48px 0 0; padding: 18px 0;
  display: grid; gap: 10px 28px; grid-template-columns: 1fr;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  color: var(--ink-2); font-size: .94rem; font-weight: 500;
}
.trust li { display: flex; gap: 10px; align-items: baseline; }
.trust li::before { content: "◆"; color: var(--accent); font-size: .7em; }
@media (min-width: 640px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .trust { grid-template-columns: repeat(4, auto); justify-content: space-between; } }

/* Sections */
.section { padding: 72px 0; }
@media (min-width: 900px) { .section { padding: 104px 0; } }
.section--tint { background: var(--tint); }
.kicker { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin-bottom: 14px; }
.sub { margin-top: 18px; color: var(--ink-2); font-size: 1.08rem; max-width: 46em; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.card h3 + p { margin-top: 8px; color: var(--ink-2); }

/* Problem */
.pains { display: grid; gap: 16px; margin-top: 40px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .pains { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .pains { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pain { border-top: 3px solid var(--accent); }
.pain a { color: var(--accent); }

/* Who */
.who { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 820px) { .who { grid-template-columns: 1fr 1fr; } }
.who__col h3 { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; }
.who__col ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; color: var(--ink-2); }
.who__col li { padding-left: 16px; border-left: 2px solid var(--line); }
.who__col--yes li { border-left-color: #b9e6cd; }
.mark { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: .95rem; }
.mark--yes { background: var(--ok-soft); color: var(--ok); }
.mark--no { background: #f3eef0; color: #9a3b4c; }
.quote {
  margin: 40px 0 0; padding: 0 0 0 20px; border-left: 4px solid var(--accent);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem); font-weight: 600; line-height: 1.4; letter-spacing: -0.01em;
  max-width: 34em;
}

/* Steps */
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.step__n { display: block; font: 700 .9rem var(--mono); color: var(--accent); margin-bottom: 14px; }

/* Features */
.features { display: grid; gap: 16px; margin-top: 40px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.feat__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.ico {
  width: 44px; height: 44px; padding: 10px; border-radius: 12px; flex: none;
  background: var(--accent-soft); stroke: var(--accent-ink); fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.feat--soon { background: linear-gradient(180deg, #fff, #faf8ff); border-style: dashed; border-color: #cfc5fb; }
.badge {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: .76rem; font-weight: 700; white-space: nowrap;
}
.badge--ok { background: var(--ok-soft); color: var(--ok); }
.badge--part { background: var(--part-soft); color: var(--part); }
.badge--soon { background: var(--soon-soft); color: var(--soon); }

/* Compare */
.compare {
  margin-top: 40px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.compare__row {
  display: grid; grid-template-columns: minmax(0, 1fr) 64px 64px;
  align-items: center; gap: 8px;
  padding: 14px 16px; border-top: 1px solid var(--line);
}
@media (min-width: 720px) { .compare__row { grid-template-columns: minmax(0, 1fr) 130px 130px; padding: 16px 24px; } }
.compare__row > span:not(:first-child) { text-align: center; }
.compare__head { border-top: 0; background: #faf9fd; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.compare__head .compare__us { color: var(--accent); }
.compare .yes { color: var(--accent); font-weight: 800; font-size: 1.15rem; }
.compare .no { color: #b6b2c2; font-weight: 700; }
.compare__row > .yes { background: var(--accent-soft); border-radius: 10px; padding: 4px 0; }
.slogan { margin-top: 40px; font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; }
.slogan em { font-style: normal; color: var(--accent); }

/* Numbers */
.section--dark { background: var(--dark); color: #f4f2fb; }
.section--dark .kicker { color: #a594ff; }
.section--dark .sub { color: #bdb7d6; }
.section--dark code { background: rgba(165, 148, 255, .16); color: #d8cfff; }
.law { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 820px) { .law { grid-template-columns: 1fr 1fr; } }
.law__card { background: var(--dark-2); border-color: var(--dark-line); color: #d5d0e8; box-shadow: none; }
.law__card--accent { background: linear-gradient(160deg, #3a25b8, #5b3df5); border-color: transparent; color: #ece8ff; }
.law__card strong { color: #fff; }
.law__label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: #a594ff; }
.law__card--accent .law__label { color: #d8cfff; }
.formula { margin: 14px 0 16px; font: 700 clamp(1.3rem, 3.4vw, 1.9rem)/1.2 var(--mono); color: #fff; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.tiles { display: grid; gap: 12px; margin-top: 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tile { padding: 24px; border-radius: var(--radius); border: 1px solid var(--dark-line); background: rgba(255, 255, 255, .02); color: #bdb7d6; font-size: .96rem; }
.tile__n { font: 700 2.4rem/1 var(--mono); color: #fff; letter-spacing: -0.03em; margin-bottom: 12px; }
.outside { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--dark-line); display: grid; gap: 12px; color: #bdb7d6; max-width: 54em; }
.outside strong { color: #fff; }

/* Business */
.biz { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 720px) { .biz { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.biz__item--key { background: var(--accent-soft); border-color: #d6cdff; }

/* FAQ */
.faq { margin-top: 32px; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; position: relative;
  font-weight: 600; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font: 500 1.5rem/1 var(--mono); color: var(--accent);
}
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 22px 22px; color: var(--ink-2); }

/* CTA */
.cta {
  text-align: center; padding: 56px 20px; border-radius: 28px;
  background: linear-gradient(150deg, #2a1a8f, #5b3df5 60%, #8a6bff);
  color: #fff; box-shadow: 0 40px 80px -40px rgba(61, 34, 201, .6);
}
.cta h2 { margin: 0 auto; max-width: 20ch; }
.cta p { margin: 16px auto 28px; color: #e2dcff; max-width: 32em; font-size: 1.08rem; }

/* Motion: hero intro, hovers, reveal on scroll (main.js) */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes glow { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-24px, 18px) scale(1.12); } }
.js .hero__text > *, .js .hero__card, .js .trust { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.js .hero__text > :nth-child(2) { animation-delay: .08s; }
.js .hero__text > :nth-child(3) { animation-delay: .16s; }
.js .hero__text > :nth-child(4) { animation-delay: .24s; }
.js .hero__card { animation-delay: .2s; }
.js .trust { animation-delay: .36s; }
.hero__card::before { animation: glow 9s ease-in-out infinite; }

.btn, .card, .tile, .compare__row, .faq summary, .nav__links a { transition: .2s ease; transition-property: transform, box-shadow, background-color, border-color, color; }
@media (hover: hover) {
  .btn:hover { transform: translateY(-1px); background: var(--accent-ink); border-color: var(--accent-ink); box-shadow: 0 10px 22px -12px rgba(61, 34, 201, .7); }
  .btn--ghost:hover { background: var(--surface); color: var(--accent-ink); border-color: var(--accent); }
  .btn--light:hover { background: #fff; color: var(--accent-ink); border-color: #fff; }
  .card:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(21, 20, 26, .04), 0 18px 36px -18px rgba(61, 34, 201, .3); }
  .law__card:hover { box-shadow: none; }
  .tile:hover { transform: translateY(-3px); border-color: #5b4f8f; background: rgba(255, 255, 255, .05); }
  .compare__row:not(.compare__head):hover { background: #faf9fd; }
  .faq summary:hover { color: var(--accent-ink); }
}

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Notes */
.notes { padding: 0 0 40px; color: var(--ink-3); font-size: .9rem; }
.notes p { margin: 0; }
.notes strong { color: var(--ink-2); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 28px 0 36px; color: var(--ink-3); font-size: .9rem; }
.footer__in { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* Beta request dialog (main.js) */
.modal {
  width: min(520px, calc(100% - 32px)); max-height: calc(100% - 32px);
  margin: auto; padding: 0; border: 0; border-radius: 24px;
  background: var(--surface); color: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(21, 20, 26, .45);
}
.modal::backdrop { background: rgba(23, 21, 31, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.modal[open] { animation: rise .35s cubic-bezier(.2, .7, .2, 1) both; }
.modal__box { position: relative; display: grid; gap: 14px; padding: 32px 24px 24px; }
@media (min-width: 560px) { .modal__box { padding: 36px 32px 28px; } }
.modal__box > .badge { justify-self: start; }
.modal__title { font-size: 1.6rem; max-width: none; padding-right: 32px; }
.modal__lead { color: var(--ink-2); margin-bottom: 4px; }
.modal__close {
  position: absolute; top: 14px; right: 14px; width: 40px; height: 40px;
  border: 0; border-radius: 50%; background: transparent; color: var(--ink-3);
  font: 400 1.6rem/1 var(--font); cursor: pointer;
}
.modal__close:hover { background: var(--tint); color: var(--ink); }
.field { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.field i { font-style: normal; font-weight: 400; color: var(--ink-3); }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--bg); color: var(--ink); font: 400 1rem/1.4 var(--font); resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 4px var(--accent-soft); }
.field [aria-invalid="true"] { border-color: #c2405a; }
.modal__error { color: #b0354d; font-size: .9rem; }
.modal__submit { margin-top: 4px; cursor: pointer; font-family: inherit; }
.modal__done { padding: 10px 14px; border-radius: 12px; background: var(--ok-soft); color: var(--ok); font-size: .92rem; font-weight: 600; }
.modal__alt { font-size: .86rem; color: var(--ink-3); text-align: center; }
.modal__alt a { color: var(--accent-ink); }
.link { border: 0; padding: 0; background: none; color: var(--accent-ink); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.modal__close:focus-visible, .link:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
