:root {
  color-scheme: dark;
  --ink: #f7f3f4;
  --muted: #bbb7d0;
  --dim: #8d89a8;
  --line: #393951;
  --panel: #19192d;
  --page: #0d0d1d;
  --lavender: #a69af3;
  --lavender-soft: #cbc5ff;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 400; line-height: 1.02; letter-spacing: -.025em; }
h1 { max-width: 820px; font-size: clamp(4rem, 9vw, 8rem); }
h2 { font-size: clamp(2.8rem, 5vw, 5.3rem); }
h3 { font-size: 2.35rem; }
p { margin: 0; }

.site-header { position: sticky; top: 0; z-index: 50; width: 100%; background: rgba(13,13,29,.9); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.site-header-inner { width: min(calc(100% - 48px), var(--max)); min-height: 88px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; flex: 0 0 auto; }
nav { display: flex; align-items: center; gap: 28px; }
nav a { color: var(--muted); font-size: .92rem; text-decoration: none; }
nav a:hover { color: var(--ink); }
nav .nav-cta { padding: 10px 16px; border: 1px solid var(--lavender); border-radius: 999px; color: var(--ink); }

.hero, .section, footer { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.hero { min-height: calc(100svh - 88px); padding: 100px 0; display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(340px, .78fr); align-items: center; gap: clamp(48px, 7vw, 100px); }
.eyebrow { margin-bottom: 24px; color: var(--lavender-soft); font-size: .76rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.hero-lede { max-width: 720px; margin-top: 36px; color: var(--muted); font-size: clamp(1.1rem, 1.7vw, 1.35rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.button { display: inline-flex; min-height: 52px; padding: 0 24px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 6px; font-weight: 800; text-decoration: none; }
.button-primary { background: var(--lavender); color: #111126; }
.button-primary:hover { background: var(--lavender-soft); }
.button-secondary { border-color: var(--line); background: var(--panel); }
.disclosure { margin-top: 18px; color: var(--dim); font-size: .82rem; }
.conversation-preview { position: relative; padding: clamp(24px, 3.5vw, 42px); border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(145deg, #22213b, #121225 72%); box-shadow: 0 30px 90px rgba(0,0,0,.32); }
.conversation-preview::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: linear-gradient(135deg, rgba(166,154,243,.7), transparent 38%, rgba(223,156,181,.35)); filter: blur(12px); opacity: .45; }
.preview-label { margin-bottom: 25px; color: var(--lavender-soft); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.message { padding: 17px 19px; border-radius: 14px; font-size: .94rem; }
.user-message { margin-left: 14%; background: var(--lavender); color: #111126; }
.companion-message { margin-top: 16px; border: 1px solid #43435f; background: #24243c; }
.companion-message p + p { margin-top: 12px; }
.message-person { display: flex; align-items: center; gap: 10px; margin-bottom: 13px; font-weight: 800; }
.message-person img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.preview-note { margin-top: 16px; color: var(--dim); font-size: .72rem; }

.section { padding: 120px 0; border-top: 1px solid var(--line); scroll-margin-top: 112px; }
.section-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 70px; margin-bottom: 64px; align-items: end; }
.section-intro .eyebrow { grid-column: 1 / -1; margin-bottom: -12px; }
.section-intro > p:last-child { color: var(--muted); font-size: 1.15rem; }
.section-intro.narrow { display: block; max-width: 830px; }
.section-intro.narrow .eyebrow { margin-bottom: 24px; }
.section-intro.narrow h2 + p { margin-top: 26px; }
.companion-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.companion-card { min-height: 660px; display: grid; grid-template-rows: 1.08fr .92fr; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.companion-card > img { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: center 30%; }
.companion-card-copy { padding: clamp(26px, 4vw, 44px); }
.card-kicker { color: var(--lavender-soft); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.companion-card h3 { margin-top: 8px; }
.companion-card h3 + p { margin-top: 17px; color: var(--muted); }
.tags { margin: 24px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.tags li { padding: 5px 10px; border: 1px solid #4b4969; border-radius: 999px; color: var(--muted); font-size: .77rem; }
.companion-card a { color: var(--lavender-soft); font-weight: 800; text-decoration: none; }
.companion-horizon { position: relative; margin-top: 26px; padding: clamp(28px, 4vw, 42px); overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(120deg, rgba(166,154,243,.13), rgba(25,25,45,.58) 58%, rgba(223,156,181,.08)); }
.companion-horizon::after { content: ""; position: absolute; top: -70px; right: -45px; width: 190px; height: 190px; border: 1px solid rgba(203,197,255,.22); border-radius: 50%; box-shadow: 0 0 0 24px rgba(166,154,243,.035), 0 0 0 52px rgba(166,154,243,.025); pointer-events: none; }
.companion-horizon .eyebrow { margin-bottom: 15px; }
.companion-horizon h3 { position: relative; z-index: 1; font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
.companion-horizon > p:last-child { position: relative; z-index: 1; max-width: 820px; margin-top: 17px; color: var(--muted); font-size: 1rem; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature-grid article { min-height: 290px; padding: 38px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(25,25,45,.45); }
.feature-grid span { color: var(--lavender); font-size: .78rem; font-weight: 800; }
.feature-grid h3 { margin-top: 45px; font-size: 2rem; }
.feature-grid p { max-width: 460px; margin-top: 16px; color: var(--muted); }
.steps ol { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; counter-reset: steps; }
.steps li { counter-increment: steps; display: grid; grid-template-columns: 64px 1fr 1fr; gap: 24px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: "0" counter(steps); color: var(--lavender); font-size: .78rem; font-weight: 800; }
.steps strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.5rem; font-weight: 400; }
.steps span { color: var(--muted); }
.access { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.access > div { max-width: 800px; }
.access h2 + p { margin-top: 24px; color: var(--muted); font-size: 1.1rem; }
.access .button { flex: 0 0 auto; }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
details { padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
summary { cursor: pointer; font-weight: 800; }
details p { margin-top: 16px; color: var(--muted); }
.final-cta { padding: 140px 24px; text-align: center; background: radial-gradient(circle at center, #29264d 0, #15152b 45%, var(--page) 72%); }
.final-cta h2 { max-width: 780px; margin: 0 auto 42px; }
footer { padding: 56px 0 34px; display: grid; grid-template-columns: 1fr auto; gap: 38px; border-top: 1px solid var(--line); color: var(--muted); }
.footer-brand { color: var(--ink); }
footer > div > p { margin-top: 16px; }
.footer-links { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 26px; }
.copyright { grid-column: 1 / -1; padding-top: 28px; border-top: 1px solid var(--line); color: var(--dim); font-size: .78rem; }
.legal-page { width: min(calc(100% - 40px), 860px); margin: 0 auto; padding: 88px 0 120px; }
.legal-page h1 { margin-bottom: 34px; font-size: clamp(3.5rem, 9vw, 6.5rem); }
.legal-page a:not(.brand) { color: var(--lavender-soft); text-underline-offset: 3px; }
.legal-meta { color: var(--muted); font-size: .96rem; }
.legal-meta strong { color: var(--ink); }
.legal-callout { margin: 40px 0; padding: 26px 28px; border: 1px solid #56527e; border-radius: 12px; background: linear-gradient(135deg, rgba(166,154,243,.16), rgba(25,25,45,.72)); color: var(--ink); font-size: 1.08rem; }
.legal-contents { display: block; margin: 0 0 68px; padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.legal-label { margin-bottom: 14px; color: var(--lavender-soft); font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.legal-contents ol { margin: 0; padding-left: 22px; columns: 2; column-gap: 44px; }
.legal-contents li { margin: 7px 0; break-inside: avoid; color: var(--muted); }
.legal-section { padding: 52px 0; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.legal-section h2 { margin-bottom: 24px; font-size: clamp(2rem, 5vw, 3rem); }
.legal-section h3 { margin: 34px 0 15px; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 1.06rem; font-weight: 800; letter-spacing: 0; }
.legal-section p, .legal-section li { color: var(--muted); font-size: 1.03rem; }
.legal-section p + p { margin-top: 18px; }
.legal-section ul { margin: 20px 0 0; padding-left: 25px; }
.legal-section li + li { margin-top: 11px; }
.legal-section strong { color: var(--ink); }
.legal-note { margin-top: 50px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--dim); font-size: .86rem; }

@media (max-width: 850px) {
  .site-header-inner { width: min(calc(100% - 32px), var(--max)); min-height: 72px; padding: 16px 0 13px; flex-wrap: wrap; gap: 14px; }
  nav { width: 100%; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding-top: 12px; }
  nav a { font-size: .78rem; white-space: nowrap; }
  nav .nav-cta { padding: 6px 10px; }
  .hero, .section, footer { width: min(calc(100% - 32px), var(--max)); }
  .hero { min-height: auto; padding: 72px 0 90px; grid-template-columns: 1fr; gap: 58px; }
  h1 { font-size: clamp(3.5rem, 18vw, 6rem); }
  .section { padding: 86px 0; }
  .section-intro { display: block; }
  .section-intro .eyebrow { display: block; margin-bottom: 24px; }
  .section-intro h2 { margin-bottom: 24px; }
  .companion-grid, .feature-grid, .faq-grid { grid-template-columns: 1fr; }
  .companion-card { min-height: 600px; }
  .steps li { grid-template-columns: 46px 1fr; }
  .steps span { grid-column: 2; }
  .access { align-items: flex-start; flex-direction: column; }
  footer { grid-template-columns: 1fr; }
  .copyright { grid-column: auto; }
  .legal-page { padding-top: 56px; }
  .legal-contents ol { columns: 1; }
}

@media (max-width: 480px) {
  .hero, .section, footer { width: min(calc(100% - 28px), var(--max)); }
  .brand { font-size: 1.25rem; }
  .brand-mark { width: 36px; }
  nav { gap: 7px; }
  nav a { font-size: clamp(.67rem, 3vw, .76rem); }
  nav .nav-cta { padding: 5px 8px; }
  h1 { font-size: clamp(3.25rem, 17vw, 5rem); }
  h2 { font-size: 3rem; }
  .hero-lede { margin-top: 25px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .conversation-preview { padding: 20px; }
  .message { font-size: .88rem; }
  .companion-card { min-height: 560px; grid-template-rows: .92fr 1.08fr; }
  .companion-horizon { margin-top: 18px; padding: 25px 22px; }
  .companion-horizon::after { right: -95px; }
  .feature-grid article { min-height: 250px; padding: 28px 24px; }
  .steps li { grid-template-columns: 34px 1fr; gap: 16px; }
  .footer-links { gap: 18px; }
  .legal-page { width: min(calc(100% - 28px), 860px); }
  .legal-page h1 { font-size: clamp(3rem, 15vw, 4.7rem); }
  .legal-callout, .legal-contents { padding: 22px; }
  .legal-section { padding: 42px 0; }
  .legal-section p, .legal-section li { font-size: .98rem; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
