:root {
  --ink: #0f1524;
  --surface: #1b2742;
  --surface-2: #223052;
  --text: #f4efe6;
  --muted: #9aa9c9;
  --gold: #e8b455;
  --gold-light: #f0cd8c;
  --orange: #e58a4f;
  --blue: #4a6fd8;
  --line: rgba(240, 205, 140, 0.18);
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
  --radius: 1.25rem;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: radial-gradient(circle at 8% 8%, rgba(74, 111, 216, .12), transparent 24rem), var(--ink);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.65;
}
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 4px; }
img { max-width: 100%; height: auto; }
.shell { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(15, 21, 36, 0.88); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; flex-shrink: 0; text-decoration: none; font-family: var(--serif); font-size: 1.15rem; letter-spacing: .01em; }
.brand img { width: 2.8rem; height: 2.8rem; object-fit: contain; }
.nav-links { display: none; align-items: center; gap: 1.1rem; font-size: .9rem; color: var(--muted); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--gold-light); }
.header-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 2.6rem; padding: .55rem .85rem; border: 1px solid rgba(240, 205, 140, .38); border-radius: 999px; color: var(--gold-light); font-size: .82rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.header-cta:hover { background: rgba(232, 180, 85, .1); }
.hero { padding: 4.5rem 0 5.5rem; position: relative; overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; filter: blur(8px); }
.hero::before { width: 22rem; height: 22rem; left: -15rem; bottom: -10rem; background: rgba(229, 138, 79, .12); }
.hero::after { width: 28rem; height: 28rem; right: -16rem; top: -7rem; background: rgba(74, 111, 216, .17); }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 3.5rem; align-items: center; }
.hero-content { min-width: 0; }
.eyebrow { color: var(--gold-light); text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; font-weight: 700; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 1rem; }
h1, h2 { font-family: var(--serif); font-weight: 500; }
h1 { font-size: clamp(2.8rem, 11vw, 6.4rem); max-width: 10ch; letter-spacing: -.04em; }
h2 { font-size: clamp(2.1rem, 6vw, 3.6rem); letter-spacing: -.025em; }
h3 { font-size: 1.15rem; }
.hero-copy { max-width: 42rem; color: var(--muted); font-size: clamp(1.05rem, 2.5vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.prototype-note { margin: .85rem 0 0; color: var(--muted); font-size: .82rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .7rem 1.15rem; border-radius: 999px; font-weight: 700; text-decoration: none; border: 1px solid transparent; transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--gold); color: #1a1c24; }
.button.primary:hover { background: var(--gold-light); }
.button.secondary { border-color: rgba(240, 205, 140, .45); color: var(--gold-light); }
.button.secondary:hover { background: rgba(232, 180, 85, .1); }
.concept-preview { position: relative; width: min(100%, 29rem); margin: 0 auto; padding: .85rem; border: 1px solid rgba(240, 205, 140, .25); border-radius: 1.65rem; background: linear-gradient(145deg, rgba(34, 48, 82, .97), rgba(20, 29, 50, .97)); box-shadow: 0 34px 90px rgba(0, 0, 0, .38), 0 0 70px rgba(74, 111, 216, .12); }
.concept-preview::before { content: ""; position: absolute; inset: 1.2rem -1rem -1rem 1rem; z-index: -1; border: 1px solid rgba(74, 111, 216, .2); border-radius: inherit; }
.preview-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .35rem .4rem .8rem; color: var(--muted); font-size: .75rem; }
.preview-kicker { color: var(--gold-light); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.preview-count { white-space: nowrap; }
.preview-photo { position: relative; height: 11.5rem; overflow: hidden; border-radius: 1rem; background: linear-gradient(135deg, rgba(74, 111, 216, .92), rgba(145, 114, 177, .88) 52%, rgba(229, 138, 79, .9)); }
.preview-photo::after { content: ""; position: absolute; inset: 0; background: rgba(15, 21, 36, .08); backdrop-filter: blur(13px); }
.preview-person { position: absolute; left: 50%; bottom: -4rem; width: 12rem; height: 15rem; transform: translateX(-50%); border-radius: 50% 50% 42% 42%; background: rgba(244, 239, 230, .32); filter: blur(14px); }
.preview-person::before { content: ""; position: absolute; top: -2.5rem; left: 50%; width: 6.2rem; height: 6.2rem; transform: translateX(-50%); border-radius: 50%; background: rgba(244, 239, 230, .42); }
.preview-lock { position: absolute; z-index: 1; left: 50%; bottom: .8rem; transform: translateX(-50%); width: max-content; max-width: calc(100% - 1.6rem); padding: .4rem .75rem; border: 1px solid rgba(240, 205, 140, .34); border-radius: 999px; background: rgba(15, 21, 36, .78); color: var(--gold-light); font-size: .74rem; font-weight: 700; }
.preview-lock::before { content: "◈"; margin-right: .35rem; color: var(--gold); }
.preview-content { padding: 1.25rem .45rem .45rem; }
.preview-label { margin: 0 0 .35rem; color: var(--gold-light); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; }
.preview-question { margin: 0; font-family: var(--serif); font-size: 1.28rem; line-height: 1.35; }
.preview-worlds { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1rem 0 1.2rem; }
.preview-worlds span { padding: .28rem .6rem; border: 1px solid rgba(154, 169, 201, .27); border-radius: 999px; color: var(--muted); font-size: .72rem; }
.preview-progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem; }
.preview-progress span { height: .24rem; border-radius: 999px; background: rgba(154, 169, 201, .2); }
.preview-progress span:nth-child(-n+2) { background: linear-gradient(90deg, var(--gold), var(--orange)); }
.preview-hint { margin: .6rem 0 0; color: var(--muted); font-size: .74rem; }
.section { padding: 4.5rem 0; }
.section-heading { max-width: 42rem; margin-bottom: 2.2rem; }
.section-heading p { color: var(--muted); margin: 0; }
.steps, .feature-grid, .legal-grid { display: grid; gap: 1rem; }
.step, .feature, .legal-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); }
.step-number { display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; margin-bottom: 1.4rem; border-radius: 50%; background: rgba(232, 180, 85, .15); color: var(--gold-light); font-family: var(--serif); font-size: 1.3rem; }
.step p, .feature p, .legal-card p { color: var(--muted); margin: 0; }
.feature-icon { color: var(--gold); font-size: 1.5rem; margin-bottom: .7rem; }
.topics { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.2rem; }
.topic { border: 1px solid rgba(154, 169, 201, .32); border-radius: 999px; padding: .35rem .7rem; color: var(--muted); font-size: .88rem; }
.kodex { background: linear-gradient(135deg, var(--surface-2), var(--surface)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kodex-list { display: grid; gap: .8rem; padding: 0; margin: 1.8rem 0 0; list-style: none; }
.kodex-list li { display: flex; gap: .8rem; align-items: flex-start; color: var(--muted); }
.kodex-list li::before { content: "✦"; color: var(--gold); font-size: 1.1rem; }
.quote-panel { text-align: center; padding: 3rem 1.2rem; }
.quote-panel blockquote { margin: 0 auto 1rem; max-width: 52rem; min-height: 3.2em; display: grid; place-items: center; font-family: var(--serif); font-size: clamp(1.7rem, 5vw, 3rem); line-height: 1.22; color: var(--gold-light); transition: opacity 180ms ease, transform 180ms ease; }
.quote-panel blockquote.is-changing { opacity: 0; transform: translateY(.35rem); }
.quote-author { color: var(--muted); font-size: .95rem; }
.quote-toggle { padding: .45rem .75rem; border: 1px solid rgba(154, 169, 201, .28); border-radius: 999px; background: transparent; color: var(--muted); font: inherit; font-size: .75rem; cursor: pointer; }
.quote-toggle:hover { border-color: rgba(240, 205, 140, .45); color: var(--gold-light); }
.faq { display: grid; gap: .8rem; }
details { border-bottom: 1px solid var(--line); padding: .6rem 0; }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; font-weight: 700; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--gold); font-size: 1.2rem; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); max-width: 50rem; margin: .7rem 0 .3rem; }
.cta-band { text-align: center; background: linear-gradient(135deg, rgba(232,180,85,.15), rgba(74,111,216,.18)); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.5rem 1.2rem; }
.site-footer { border-top: 1px solid var(--line); padding: 2rem 0 3rem; color: var(--muted); font-size: .9rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; justify-content: space-between; }
.footer-links { display: flex; gap: 1rem; }
.footer-links a:hover { color: var(--gold-light); }
.legal-main { padding: 4rem 0 5rem; }
.legal-main h1 { max-width: none; font-size: clamp(2.4rem, 7vw, 4.6rem); }
.legal-main h2 { font-family: var(--sans); font-size: 1.3rem; margin-top: 2.2rem; }
.legal-main p, .legal-main li { color: var(--muted); }
.legal-main ul { padding-left: 1.3rem; }
.legal-main a { color: var(--gold-light); text-underline-offset: .2em; }
.placeholder { display: inline-block; padding: .1rem .35rem; border: 1px dashed var(--gold); border-radius: .25rem; color: var(--gold-light); background: rgba(232,180,85,.08); font-weight: 700; }
.notice { border-left: 3px solid var(--orange); padding: .8rem 1rem; background: rgba(229,138,79,.1); color: var(--text); }
.back-link { display: inline-flex; color: var(--gold-light); text-decoration: none; margin-bottom: 2.2rem; }
.site-header .back-link { margin-bottom: 0; }
@media (min-width: 700px) {
  .shell { width: min(1120px, calc(100% - 4rem)); }
  .nav-links { display: flex; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 7rem 0; }
  .hero-copy { max-width: 38rem; }
  .legal-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .header-cta { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(22rem, .88fr); gap: 5rem; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 380px) {
  .brand { font-size: 1rem; gap: .5rem; }
  .brand img { width: 2.35rem; height: 2.35rem; }
  .header-cta { padding-inline: .7rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
