:root {
  color-scheme: dark;
  --bg: #0a0a10;
  --panel: #11111b;
  --line: #252537;
  --text: #f5f3fc;
  --muted: #b0acc3;
  --accent: #b59dff;
  --primary: #a788ff;
  font-family: Inter, 'Segoe UI', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible, select:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
p, h1, h2, h3, dl, dd, ol { margin: 0; }
.wrap { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
.header { border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 79px; }
.brand { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 1.31rem; font-weight: 800; letter-spacing: -.055em; }
.brand small { color: #bdb4d6; font-size: .83rem; font-weight: 700; letter-spacing: .05em; }
.brand-mark { display: inline-flex; align-items: end; gap: 3px; margin-right: 3px; height: 21px; transform: skewY(-18deg); }
.brand-mark i { width: 5px; height: 46%; background: #9872ff; border-radius: 1px; }
.brand-mark i:nth-child(2) { height: 73%; background: #aa8aff; }
.brand-mark i:nth-child(3) { height: 100%; background: #c9b6ff; }
.nav, .header-actions { display: flex; align-items: center; gap: clamp(15px, 2.5vw, 34px); }
.nav a, .footer a:last-child { color: var(--muted); font-size: .94rem; font-weight: 550; }
.nav a:hover, .footer a:last-child:hover { color: var(--text); }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 51px; padding: 11px 21px; border: 1px solid transparent; border-radius: 8px; font-size: .95rem; font-weight: 720; text-align: center; transition: background .18s, border-color .18s; }
.button-primary { color: #141025; background: var(--primary); }
.button-primary:hover { background: #c1aaff; }
.button-outline { background: #11111a; border-color: #323043; }
.button-outline:hover { border-color: var(--accent); background: #191527; }
.header-docs { min-height: 40px; padding-inline: 15px; }
.language { position: relative; display: flex; align-items: center; color: #d9cde9; }
.language .globe { position: absolute; left: 8px; pointer-events: none; font-size: 1.18rem; }
.language::after { content: ''; position: absolute; right: 9px; top: 43%; width: 6px; height: 6px; border-right: 1px solid; border-bottom: 1px solid; transform: rotate(45deg); pointer-events: none; }
.language select { appearance: none; background: transparent; border: 1px solid #2d293a; border-radius: 7px; color: inherit; padding: 9px 24px 9px 27px; font: inherit; font-size: .9rem; cursor: pointer; }
.language option { background: #15131e; }
.hero { display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; gap: clamp(30px, 4.7vw, 76px); padding-block: 69px 39px; }
.hero-copy { min-width: 0; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: .86rem; font-weight: 750; text-transform: uppercase; letter-spacing: .105em; color: var(--accent); }
.dash { display: inline-block; width: 22px; height: 2px; background: #a98bff; flex: none; }
h1 { margin-top: 21px; font-size: clamp(2.5rem, 4.55vw, 4.6rem); line-height: 1.03; letter-spacing: -.065em; font-weight: 740; overflow-wrap: anywhere; }
h1 em { color: #b49aff; font-style: normal; }
.hero-description { max-width: 45ch; margin-top: 24px; }
.hero-description, .section p:not(.eyebrow) { color: var(--muted); font-size: 1.02rem; line-height: 1.65; }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 11px; }
.hero-art { position: relative; align-self: stretch; min-height: 405px; overflow: hidden; isolation: isolate; border: 1px solid #333049; border-radius: 18px; background: #151020; }
.hero-art img { position: absolute; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 55% center; }
.hero-art::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(145deg, #0b0a10a8, transparent 53%), linear-gradient(0deg, #0b0a10b8, transparent 32%); }
.art-heading { position: absolute; top: 27px; left: 28px; display: grid; gap: 3px; }
.art-heading strong { font-size: 1.45rem; letter-spacing: .06em; }
.art-heading span, .art-note { color: #d8cff2; font-size: .83rem; }
.art-note { position: absolute; bottom: 21px; left: 28px; }
.specs { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 13px; background: #101019; }
.specs div { min-width: 0; padding: 17px clamp(13px, 2.5vw, 33px); }
.specs div + div { border-left: 1px solid var(--line); }
.specs dt { color: var(--muted); font-size: .86rem; margin-bottom: 6px; }
.specs dd { font-size: 1.08rem; font-weight: 680; overflow-wrap: anywhere; }
.section { margin-top: 92px; scroll-margin-top: 26px; }
.section-intro { max-width: 660px; margin-bottom: 31px; }
h2 { font-size: clamp(2rem, 3.8vw, 3.25rem); line-height: 1.1; letter-spacing: -.05em; margin-block: 10px 14px; }
h3 { font-size: 1.16rem; line-height: 1.27; margin-bottom: 8px; }
.cards, .roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cards article, .roadmap li { border: 1px solid var(--line); border-radius: 13px; padding: 24px; background: var(--panel); }
.token-panel, .doc-panel { display: grid; grid-template-columns: 1.15fr .85fr; gap: 52px; padding: clamp(25px, 4.6vw, 60px); border: 1px solid #38304e; border-radius: 18px; background: radial-gradient(ellipse at 100% 0, #241841, #13121e 64%); align-items: center; }
.token-panel .button { margin-top: 23px; }
.flow, .roadmap { list-style: none; padding: 0; }
.flow li { display: grid; grid-template-columns: 12px 1fr; gap: 15px; position: relative; }
.flow li:not(:last-child) { padding-bottom: 20px; }
.flow li:not(:last-child)::before { content: ''; position: absolute; left: 5px; top: 17px; bottom: -6px; width: 1px; background: #5c4c83; }
.roadmap li { background: transparent; border-top-color: #74609c; }
.doc-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.faq { display: grid; grid-template-columns: .7fr 1.3fr; gap: 36px; padding-bottom: 88px; }
.questions { border-top: 1px solid var(--line); }
.questions details { border-bottom: 1px solid var(--line); }
.questions summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 18px; font-weight: 670; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: '+'; color: var(--accent); font-size: 1.27rem; }
.questions details[open] summary::after { content: '−'; }
.questions p { padding-bottom: 18px; }
.footer { border-top: 1px solid var(--line); background: #0e0e16; }
.footer-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 25px; padding-block: 24px; }
.footer p { color: var(--muted); font-size: .87rem; }
#locale-error { position: fixed; z-index: 2; right: 16px; bottom: 16px; max-width: min(420px, calc(100% - 32px)); background: #251a39; padding: 15px; border: 1px solid #8e6cbc; border-radius: 8px; }
@media (max-width: 1050px) {
  .wrap { width: calc(100% - 64px); }
  .header-docs { display: none; }
  .hero { gap: 28px; }
}
@media (max-width: 750px) {
  .wrap { width: calc(100% - 36px); }
  .header-row { display: grid; grid-template-columns: 1fr auto; gap: 0 10px; padding-top: 13px; }
  .header-actions { grid-column: 2; grid-row: 1; }
  .nav { grid-column: 1 / -1; flex-wrap: wrap; gap: 8px 20px; padding-block: 13px; }
  .hero { grid-template-columns: 1fr; padding-block: 41px 23px; }
  h1 { font-size: clamp(2.65rem, 8vw, 4rem); }
  .hero-art { min-height: 0; aspect-ratio: 1.38; }
  .art-heading { top: 17px; left: 17px; }
  .art-note { bottom: 14px; left: 17px; }
  .specs { grid-template-columns: repeat(2, 1fr); }
  .specs div:nth-child(3) { border-left: 0; }
  .specs div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .section { margin-top: 64px; }
  .cards, .roadmap, .token-panel, .doc-panel, .faq { grid-template-columns: 1fr; }
  .token-panel, .doc-panel, .faq { gap: 25px; }
  .doc-links { justify-content: flex-start; }
  .faq { padding-bottom: 55px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}

.header-actions { gap: 9px; }
.header-login, .header-signup { min-height: 40px; padding-inline: 12px; }
.nav { gap: clamp(10px, 1.6vw, 26px); }
.nav a[aria-current="page"] { color: var(--accent); }
.footer-row > a:last-child { color: var(--muted); }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 23px; border-top: 1px solid var(--line); padding-block: 27px 39px; }
.footer-links a { color: var(--muted); display: block; width: fit-content; padding-block: 4px; }
.footer-links a:hover, .text-link:hover { color: var(--text); }
.subpage { padding-block: 47px 86px; min-height: 70vh; }
.breadcrumb, .text-link { color: var(--accent); font-weight: 620; }
.breadcrumb { display: inline-flex; font-size: .92rem; margin-bottom: 24px; }
.text-link { display: inline-flex; margin-top: 18px; text-decoration: underline; text-underline-offset: 3px; }
.page-hero { border: 1px solid #38304e; border-radius: 18px; padding: clamp(24px, 5vw, 66px); background: radial-gradient(ellipse at 100% 0, #321e57, #13121e 68%); }
.page-hero h1 { font-size: clamp(2.5rem, 6vw, 4.45rem); margin-top: 8px; }
.page-hero > p { color: var(--muted); max-width: 65ch; line-height: 1.6; margin-top: 20px; font-size: 1.08rem; }
.subpage .section { margin-top: 42px; }
.subpage .cards h3 { margin-top: 2px; }
.card-list { list-style: none; padding: 0; }
.card-list li { border: 1px solid var(--line); border-radius: 13px; padding: 23px; background: var(--panel); }
.step-number { display: inline-block; margin-bottom: 15px; color: var(--accent); font-weight: 750; }
.doc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.doc-grid > a { display: flex; flex-direction: column; justify-content: center; min-height: 110px; padding: 20px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.doc-grid > a:hover { border-color: var(--accent); }
.doc-grid > a span { color: var(--muted); font-size: .9rem; margin-top: 7px; }
.faq-page, .readable { max-width: 850px; }
.account-page { max-width: 700px; }
.account-page .page-hero h1 { font-size: clamp(2rem, 5vw, 3rem); }
.account-form { display: grid; gap: 16px; padding: clamp(18px, 4vw, 32px); background: var(--panel); border: 1px solid var(--line); border-radius: 13px; }
.account-form label:not(.check-label), .form-step { display: grid; gap: 9px; }
.account-form input:not([type="checkbox"]) { width: 100%; min-height: 47px; border: 1px solid #47405c; border-radius: 7px; padding: 9px 12px; background: #0c0b14; color: var(--text); font: inherit; }
.account-form .button { cursor: pointer; align-self: start; }
.account-form .check-label { display: flex; align-items: baseline; gap: 10px; }
.account-form a:not(.button) { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.account-form output, .account-form .demo-notice { color: var(--accent); }
.account-form [hidden] { display: none; }
.form-step .hero-actions { margin-top: 4px; }
.imprint-card address { font-style: normal; color: var(--muted); line-height: 1.6; margin-block: 9px; }
@media (max-width: 1220px) { .header-signup { display: none; } }
@media (max-width: 900px) { .header-row { display: grid; grid-template-columns: 1fr auto; gap: 0 10px; padding-top: 13px; }.header-actions { grid-column: 2; grid-row: 1; }.nav { grid-column: 1 / -1; flex-wrap: wrap; padding-block: 13px; } }
@media (max-width: 750px) { .doc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .doc-grid, .footer-links { grid-template-columns: 1fr; }.header-login { display: none; } }
