:root {
  --paper: #f6f2e9;
  --surface: #fffcf6;
  --raised: #fff;
  --ink: #172033;
  --muted: #586176;
  --soft: #7d8597;
  --line: #dcd4c6;
  --line-strong: #c5bcad;
  --purple: #5b4bdb;
  --purple-deep: #3f35ae;
  --purple-soft: #e8e4ff;
  --coral: #e85d3f;
  --coral-soft: #fce3db;
  --green: #247a5a;
  --green-soft: #dcefe7;
  --warning: #a45b16;
  --warning-soft: #f7e5ce;
  --shadow: 0 20px 55px rgba(23, 32, 51, .11);
  --shadow-small: 0 5px 18px rgba(23, 32, 51, .07);
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
::selection { background: var(--purple); color: white; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(820px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; left: 16px; top: -80px; padding: 10px 14px; border-radius: 8px; background: var(--ink); color: white; font-weight: 800; text-decoration: none; }
.skip-link:focus { top: 12px; }
.eyebrow { margin: 0 0 9px; color: var(--purple-deep); font-size: 12px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-variant-numeric: tabular-nums; }

.site-header { position: relative; z-index: 20; border-bottom: 1px solid var(--line); background: rgba(255, 252, 246, .96); }
.site-header__inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; }
.brand img { width: 42px; height: 42px; border-radius: 12px; box-shadow: var(--shadow-small); }
.brand strong, .brand span span { display: block; }
.brand strong { font-size: 17px; letter-spacing: -.025em; }
.brand span span { margin-top: 1px; color: var(--muted); font-size: 10px; font-weight: 760; letter-spacing: .1em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav > a:not(.button) { min-height: 44px; display: inline-flex; align-items: center; color: var(--muted); font-size: 13px; font-weight: 720; text-decoration: none; }
.site-nav > a:not(.button):hover { color: var(--purple-deep); }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 17px; border: 1px solid var(--purple); border-radius: 9px; background: var(--purple); color: white; font-size: 13px; font-weight: 790; text-decoration: none; box-shadow: 0 5px 15px rgba(91, 75, 219, .18); transition: .15s ease; }
.button:hover { border-color: var(--purple-deep); background: var(--purple-deep); transform: translateY(-1px); }
.button--secondary { border-color: var(--line-strong); background: var(--raised); color: var(--ink); box-shadow: none; }
.button--secondary:hover { border-color: var(--purple); background: var(--raised); color: var(--purple-deep); }
.button--coral { border-color: var(--coral); background: var(--coral); }
.button--coral:hover { border-color: #c8462c; background: #c8462c; }
.button--light { border-color: white; background: white; color: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--purple-deep); font-weight: 780; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.hero { position: relative; overflow: hidden; padding: clamp(74px, 10vw, 126px) 0 94px; border-bottom: 1px solid var(--line); background: var(--paper); }
.hero::before { position: absolute; inset: 0; background-image: linear-gradient(to right, rgba(197,188,173,.4) 1px, transparent 1px), linear-gradient(to bottom, rgba(197,188,173,.4) 1px, transparent 1px); background-size: 32px 32px; mask-image: linear-gradient(to right, black, transparent 62%); content: ""; opacity: .45; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(420px, .97fr); align-items: center; gap: 72px; }
.hero h1 { max-width: 700px; margin: 0; font-size: clamp(48px, 6.5vw, 82px); line-height: .98; letter-spacing: -.062em; }
.hero h1 em { color: var(--coral); font-style: normal; }
.hero-lead { max-width: 660px; margin: 25px 0 0; color: var(--muted); font-size: clamp(18px, 2vw, 21px); line-height: 1.62; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 30px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 30px 0 0; padding: 19px 0 0; border-top: 1px solid var(--line-strong); list-style: none; color: var(--muted); font-size: 12px; }
.hero-facts li { position: relative; padding-left: 15px; }
.hero-facts li::before { position: absolute; left: 0; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--green); content: ""; }
.launch-card { position: relative; padding: 25px; border: 1px solid var(--line-strong); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); transform: rotate(1.2deg); }
.launch-card::before { position: absolute; top: 19px; right: 20px; width: 12px; height: 12px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 6px var(--coral-soft); content: ""; }
.launch-card__top { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.launch-card__top span { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.launch-card__top strong { display: block; margin-top: 5px; font-size: 20px; }
.launch-timeline { position: relative; margin: 24px 0 0; padding: 0; list-style: none; }
.launch-timeline::before { position: absolute; top: 12px; bottom: 12px; left: 88px; width: 2px; background: var(--line); content: ""; }
.launch-timeline li { position: relative; min-height: 73px; display: grid; grid-template-columns: 70px 20px minmax(0, 1fr); align-items: center; gap: 9px; }
.launch-timeline time { font: 740 11px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; text-align: right; }
.launch-timeline i { position: relative; z-index: 1; width: 12px; height: 12px; justify-self: center; border: 3px solid var(--surface); border-radius: 50%; background: var(--purple); box-shadow: 0 0 0 1px var(--purple); }
.launch-timeline li.is-release i { width: 17px; height: 17px; background: var(--coral); box-shadow: 0 0 0 4px var(--coral-soft); }
.launch-timeline span { padding: 11px 13px; border: 1px solid var(--line); border-radius: 9px; background: white; }
.launch-timeline strong, .launch-timeline small { display: block; }
.launch-timeline strong { font-size: 12px; }
.launch-timeline small { margin-top: 2px; color: var(--muted); font-size: 9px; }
.launch-boundary { margin-top: 18px; padding: 14px; border-radius: 9px; background: var(--ink); color: white; font-size: 10px; }

.boundary-band { border-bottom: 1px solid var(--line); background: var(--surface); }
.boundary-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.boundary-item { min-height: 160px; padding: 30px 25px; border-right: 1px solid var(--line); }
.boundary-item:last-child { border-right: 0; }
.boundary-item strong { display: block; font: 820 15px/1.25 ui-monospace, SFMono-Regular, Menlo, monospace; }
.boundary-item span { display: block; margin-top: 10px; color: var(--muted); font-size: 12px; line-height: 1.55; }

.section { padding: clamp(78px, 10vw, 120px) 0; border-bottom: 1px solid var(--line); }
.section--paper { background: var(--paper); }
.section--ink { border-color: #30384a; background: var(--ink); color: white; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr); align-items: end; gap: 60px; margin-bottom: 55px; }
.section-head h2 { max-width: 680px; margin: 0; font-size: clamp(35px, 5vw, 58px); line-height: 1.03; letter-spacing: -.052em; }
.section-head > p { margin: 0; color: var(--muted); font-size: 17px; }
.section--ink .section-head > p { color: #b9c0d0; }
.section--ink .eyebrow { color: #bcb5ff; }

.process-rail { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.process-rail::before { position: absolute; top: 47px; right: 0; left: 0; height: 2px; background: var(--line); content: ""; }
.process-step { position: relative; padding: 28px 26px 34px 0; }
.process-step + .process-step { padding-left: 26px; border-left: 1px solid var(--line); }
.process-step b { position: relative; z-index: 1; width: 40px; height: 40px; display: grid; place-items: center; border: 7px solid var(--paper); border-radius: 50%; background: var(--purple); color: white; font: 760 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; box-shadow: 0 0 0 1px var(--purple); }
.process-step:last-child b { background: var(--coral); box-shadow: 0 0 0 1px var(--coral); }
.process-step h3 { margin: 27px 0 7px; font-size: 18px; }
.process-step p { margin: 0; color: var(--muted); font-size: 13px; }

.screens { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(330px, .82fr); align-items: start; gap: 28px; }
.screen-card { overflow: hidden; border: 1px solid var(--line-strong); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
.screen-card img { width: 100%; }
.screen-card figcaption { padding: 15px 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.screen-stack { display: grid; gap: 28px; }
.screen-stack .screen-card { box-shadow: var(--shadow-small); }
.screen-mobile { max-height: 470px; object-fit: cover; object-position: top; }

.feature-ledger { border-top: 1px solid #3c4558; }
.feature-row { display: grid; grid-template-columns: 52px minmax(220px, .7fr) minmax(0, 1.3fr); gap: 24px; padding: 31px 0; border-bottom: 1px solid #3c4558; }
.feature-row > span { color: #9f97ff; font: 760 11px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }
.feature-row h3 { margin: 0; font-size: 19px; }
.feature-row p { max-width: 720px; margin: 0; color: #b9c0d0; font-size: 14px; }

.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line-strong); border-radius: 18px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow-small); }
.price-card { position: relative; padding: clamp(28px, 5vw, 48px); }
.price-card + .price-card { border-left: 1px solid var(--line-strong); }
.price-card--featured { background: var(--purple-soft); }
.price-card__head { display: flex; align-items: start; justify-content: space-between; gap: 15px; }
.price-card h3 { margin: 0; font-size: 27px; }
.price-card__head span { padding: 5px 8px; border-radius: 999px; background: var(--coral); color: white; font-size: 10px; font-weight: 820; text-transform: uppercase; }
.price { margin: 28px 0 0; font: 850 clamp(39px, 5vw, 57px)/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: -.05em; }
.price small { margin-left: 6px; color: var(--muted); font: 650 12px/1.4 ui-sans-serif, system-ui; letter-spacing: 0; }
.annual { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.clean-list { display: grid; gap: 1px; margin: 26px 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.clean-list li { position: relative; padding: 12px 0 12px 24px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.clean-list li::before { position: absolute; left: 2px; top: 19px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); content: ""; }
.trial-note { margin: 20px 0 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--muted); font-size: 12px; text-align: center; }

.english-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; }
.english-grid h2 { margin: 0; font-size: clamp(34px, 4vw, 50px); line-height: 1.05; letter-spacing: -.045em; }
.english-copy { display: grid; gap: 20px; }
.english-copy p { margin: 0; color: var(--muted); font-size: 16px; }
.english-boundaries { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.english-boundaries span { padding: 13px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--muted); font-size: 12px; }

.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { position: relative; min-height: 64px; display: flex; align-items: center; padding: 15px 50px 15px 0; font-size: 17px; font-weight: 760; cursor: pointer; }
.faq summary::after { position: absolute; right: 8px; content: "+"; color: var(--purple); font-size: 28px; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { max-width: 820px; margin: -2px 0 24px; color: var(--muted); }

.cross-promo { padding: 47px 0; background: var(--purple-deep); color: white; }
.cross-promo__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.cross-promo p { margin: 6px 0 0; color: #d5d1ff; font-size: 13px; }
.cross-promo strong { font-size: 22px; }
.site-footer { padding: 32px 0; border-top: 1px solid var(--line); background: var(--surface); }
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a:hover { color: var(--purple-deep); }

.page-hero { padding: 68px 0 58px; border-bottom: 1px solid var(--line); background: var(--paper); }
.page-hero h1 { max-width: 820px; margin: 0; font-size: clamp(42px, 6vw, 68px); line-height: 1; letter-spacing: -.055em; }
.page-hero p { max-width: 760px; margin: 20px 0 0; color: var(--muted); font-size: 18px; }
.docs-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 58px; padding-block: 70px 100px; }
.docs-nav { position: sticky; top: 30px; align-self: start; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.docs-nav strong { display: block; margin-bottom: 9px; font-size: 11px; letter-spacing: .09em; text-transform: uppercase; }
.docs-nav a { min-height: 38px; display: flex; align-items: center; color: var(--muted); font-size: 12px; text-decoration: none; }
.docs-nav a:hover { color: var(--purple-deep); }
.docs-content { min-width: 0; }
.docs-content section { min-width: 0; padding-bottom: 52px; margin-bottom: 52px; border-bottom: 1px solid var(--line); scroll-margin-top: 30px; }
.docs-content h2 { margin: 0 0 18px; font-size: clamp(27px, 4vw, 38px); line-height: 1.1; letter-spacing: -.04em; }
.docs-content h3 { margin: 28px 0 9px; font-size: 18px; }
.docs-content p { margin: 0 0 15px; color: var(--muted); }
.docs-content li { margin: 7px 0; color: var(--muted); }
.docs-content code, .legal code { padding: 2px 5px; border-radius: 4px; background: var(--paper); color: var(--ink); font-size: .9em; }
.callout { margin: 24px 0; padding: 18px 20px; border: 1px solid #b8b0f4; border-left: 4px solid var(--purple); border-radius: 10px; background: var(--purple-soft); color: #32298d; }
.callout--warning { border-color: #dfb785; border-left-color: var(--warning); background: var(--warning-soft); color: #71400f; }
.callout strong { display: block; margin-bottom: 4px; }
.step-list { margin: 20px 0; padding: 0; list-style: none; counter-reset: docs-step; }
.step-list li { position: relative; min-height: 54px; padding: 12px 0 12px 50px; border-top: 1px solid var(--line); counter-increment: docs-step; }
.step-list li::before { position: absolute; left: 0; top: 12px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--purple); color: white; content: counter(docs-step, decimal-leading-zero); font: 720 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.table-wrap { width: 100%; max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.status-table { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 13px; }
.status-table th, .status-table td { padding: 13px 15px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.status-table th { background: var(--paper); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.status-table td { color: var(--muted); }

.legal { padding-block: 70px 100px; }
.legal h1 { margin: 0; font-size: clamp(38px, 6vw, 58px); line-height: 1.02; letter-spacing: -.05em; }
.legal h2 { margin: 48px 0 13px; font-size: 25px; letter-spacing: -.03em; }
.legal p, .legal li { color: var(--muted); }
.legal .updated { margin: 10px 0 30px; color: var(--soft); font-size: 13px; }
.legal-box { margin-bottom: 38px; padding: 19px 21px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--paper); color: var(--muted); }

@media (max-width: 900px) {
  .site-nav > a:not(.button) { display: none; }
  .hero-grid, .section-head, .english-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 50px; }
  .launch-card { max-width: 570px; transform: none; }
  .boundary-grid { grid-template-columns: repeat(2, 1fr); }
  .boundary-item:nth-child(2) { border-right: 0; }
  .boundary-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .process-rail { grid-template-columns: repeat(2, 1fr); }
  .process-rail::before { display: none; }
  .process-step:nth-child(3) { border-left: 0; }
  .screens { grid-template-columns: 1fr; }
  .screen-stack { grid-template-columns: repeat(2, 1fr); }
  .docs-layout { grid-template-columns: 1fr; }
  .docs-nav { position: static; display: flex; flex-wrap: wrap; gap: 0 18px; }
  .docs-nav strong { width: 100%; }
}

@media (max-width: 620px) {
  .container, .narrow { width: min(100% - 28px, 1180px); }
  .site-header__inner { min-height: 68px; }
  .brand img { width: 37px; height: 37px; }
  .brand span span { display: none; }
  .site-nav { gap: 8px; }
  .site-nav .button { min-height: 42px; padding-inline: 11px; }
  .hero { padding: 62px 0 70px; }
  .hero h1 { font-size: 49px; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .launch-card { padding: 18px; }
  .boundary-grid, .process-rail, .screen-stack, .price-grid, .english-boundaries { grid-template-columns: 1fr; }
  .boundary-item { min-height: 0; padding: 24px 0; border-right: 0; border-top: 1px solid var(--line); }
  .boundary-item:first-child { border-top: 0; }
  .process-step, .process-step + .process-step { padding: 23px 0; border-left: 0; border-top: 1px solid var(--line); }
  .process-step:first-child { border-top: 0; }
  .process-step h3 { margin-top: 17px; }
  .feature-row { grid-template-columns: 35px minmax(0, 1fr); gap: 13px; }
  .feature-row p { grid-column: 2; }
  .price-card + .price-card { border-top: 1px solid var(--line-strong); border-left: 0; }
  .cross-promo__inner { align-items: start; flex-direction: column; }
  .cross-promo .button { width: 100%; }
  .site-footer__inner { align-items: start; flex-direction: column; }
  .page-hero { padding: 53px 0 45px; }
  .docs-layout, .legal { padding-block: 48px 75px; }
  .docs-nav { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
