:root {
  color-scheme: dark;
  --bg: #050a11;
  --bg-soft: #08111c;
  --surface: rgba(12, 23, 36, 0.82);
  --surface-solid: #0b1623;
  --surface-2: #0e1d2c;
  --line: rgba(148, 170, 194, 0.17);
  --line-strong: rgba(148, 170, 194, 0.3);
  --text: #f5f8fb;
  --muted: #9caec1;
  --muted-2: #6f8398;
  --gold: #ffbd19;
  --gold-soft: rgba(255, 189, 25, 0.12);
  --teal: #2dd4bf;
  --teal-soft: rgba(45, 212, 191, 0.12);
  --danger: #ff6b6b;
  --max: 1200px;
  --radius: 20px;
  --shadow: 0 32px 90px rgba(0, 0, 0, 0.36);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; overflow-x: hidden; background: var(--bg); color: var(--text); line-height: 1.7; }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% -5%, rgba(255, 189, 25, 0.16), transparent 25rem),
    radial-gradient(circle at 95% 18%, rgba(45, 212, 191, 0.13), transparent 30rem),
    linear-gradient(180deg, #07101a 0%, #050a11 48%, #060c14 100%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.28;
  background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
code, pre, .mono { font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace; }
::selection { color: #071019; background: var(--teal); }

.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .7rem 1rem; border-radius: .6rem; background: var(--gold); color: #111; font-weight: 800; }
.skip-link:focus { top: 1rem; }
.section-shell { width: min(calc(100% - 3rem), var(--max)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: min(calc(100% - 2rem), 1320px);
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 10, 17, 0.74);
  backdrop-filter: blur(20px) saturate(140%);
}
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; font-weight: 850; letter-spacing: -.025em; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 39px; aspect-ratio: 1; border: 1px solid rgba(255, 189, 25, .72); border-radius: 12px; color: var(--gold); background: var(--gold-soft); font-size: .76rem; letter-spacing: .06em; box-shadow: inset 0 0 24px rgba(255, 189, 25, .08); }
.brand-copy { display: grid; line-height: 1.08; }
.brand-copy small { margin-top: .3rem; color: var(--muted-2); font-size: .63rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.site-header nav { margin-left: auto; display: flex; align-items: center; gap: 1.45rem; }
.site-header nav a, .site-footer a { color: var(--muted); text-decoration: none; font-size: .9rem; }
.site-header nav a:hover, .site-footer a:hover, .text-link:hover { color: var(--teal); }
.header-actions { display: flex; align-items: center; gap: .7rem; }
.language-switch { display: inline-flex; align-items: center; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: rgba(9, 18, 29, .85); }
.language-switch a { min-width: 42px; padding: .28rem .6rem; border-radius: 999px; color: var(--muted); text-align: center; text-decoration: none; font-size: .78rem; font-weight: 750; }
.language-switch a[aria-current="page"] { color: var(--text); background: var(--surface-2); box-shadow: 0 2px 10px rgba(0,0,0,.25); }

.button { display: inline-flex; min-height: 48px; padding: 0 1.25rem; align-items: center; justify-content: center; gap: .55rem; border: 1px solid var(--gold); border-radius: 11px; background: var(--gold); color: #111820; text-decoration: none; font-weight: 850; box-shadow: 0 14px 42px rgba(255, 189, 25, .14); transition: transform .2s ease, filter .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); filter: brightness(1.05); }
.button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.button-small { min-height: 38px; padding-inline: .9rem; font-size: .86rem; }
.button-ghost { border-color: var(--line-strong); background: rgba(9, 18, 29, .66); color: var(--text); box-shadow: none; }
.button-ghost:hover { border-color: rgba(45, 212, 191, .55); }

.hero { min-height: 760px; padding-block: clamp(5rem, 9vw, 8rem) 6rem; display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.release-pill { width: fit-content; margin: 0 0 1.5rem; padding: .42rem .72rem; display: inline-flex; align-items: center; gap: .55rem; border: 1px solid rgba(45, 212, 191, .3); border-radius: 999px; background: var(--teal-soft); color: #a5f3e8; font-size: .78rem; font-weight: 750; letter-spacing: .025em; }
.release-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px rgba(45, 212, 191, .09); }
.release-pill a { color: inherit; text-decoration: none; }
.hero h1, .section-heading h2, .split-copy h2, .final-cta h2, .policy-page h1 { margin-top: 0; letter-spacing: -.05em; line-height: 1.05; }
.hero h1 { max-width: 720px; margin-bottom: 1.65rem; font-size: clamp(3.15rem, 5.7vw, 6.2rem); }
.hero h1 span { display: block; color: var(--teal); }
.hero-lead { max-width: 660px; margin: 0; color: #b6c5d5; font-size: clamp(1.05rem, 1.5vw, 1.22rem); }
.hero-lead strong { color: var(--text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2.2rem 0 1.6rem; }
.trust-list { display: flex; flex-wrap: wrap; gap: .55rem 1.25rem; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: .86rem; }
.trust-list li { display: inline-flex; align-items: center; gap: .5rem; }
.trust-list li::before { content: ""; width: 5px; height: 5px; transform: rotate(45deg); background: var(--teal); }

.hero-visual { position: relative; isolation: isolate; padding: 1.7rem 0 2rem 1.5rem; }
.hero-visual::before { content: ""; position: absolute; inset: 8% -8% -5% 14%; z-index: -2; border-radius: 42%; background: radial-gradient(circle, rgba(45, 212, 191, .2), transparent 65%); filter: blur(18px); }
.product-window { overflow: hidden; border: 1px solid rgba(45, 212, 191, .27); border-radius: 20px; background: #07101a; box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.025) inset; transform: perspective(1200px) rotateY(-2deg) rotateX(1deg); transform-origin: center; }
.window-bar { min-height: 40px; padding: 0 .9rem; display: flex; align-items: center; gap: .4rem; border-bottom: 1px solid var(--line); background: #0a1420; color: var(--muted-2); font-size: .68rem; }
.window-dot { width: 7px; height: 7px; border-radius: 50%; background: #33465a; }
.window-dot:nth-child(1) { background: var(--danger); }
.window-dot:nth-child(2) { background: var(--gold); }
.window-dot:nth-child(3) { background: var(--teal); }
.window-title { margin-left: .4rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.window-badge { margin-left: auto; padding: .12rem .5rem; border: 1px solid rgba(45,212,191,.26); border-radius: 999px; color: var(--teal); }
.product-window img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; }
.floating-proof { position: absolute; z-index: 3; min-width: 175px; padding: .9rem 1rem; border: 1px solid var(--line-strong); border-radius: 14px; background: rgba(9, 18, 29, .92); box-shadow: 0 18px 50px rgba(0,0,0,.36); backdrop-filter: blur(14px); }
.floating-proof strong { display: block; font-size: .94rem; }
.floating-proof span { display: block; margin-top: .15rem; color: var(--muted); font-size: .72rem; }
.floating-proof.top { top: 0; right: -1.5rem; border-color: rgba(255, 189, 25, .34); }
.floating-proof.bottom { left: 0; bottom: 0; border-color: rgba(45, 212, 191, .34); }
.proof-icon { float: left; width: 32px; height: 32px; margin-right: .7rem; display: grid; place-items: center; border-radius: 9px; background: var(--teal-soft); color: var(--teal); font-weight: 900; }
.floating-proof.top .proof-icon { color: var(--gold); background: var(--gold-soft); }

.proof-strip { border-block: 1px solid var(--line); background: rgba(8,17,28,.45); }
.proof-grid { min-height: 116px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; }
.proof-item { min-height: 62px; padding: .3rem 1.6rem; display: flex; flex-direction: column; justify-content: center; border-left: 1px solid var(--line); }
.proof-item:last-child { border-right: 1px solid var(--line); }
.proof-item strong { color: var(--text); font-size: 1.55rem; letter-spacing: -.04em; }
.proof-item span { color: var(--muted); font-size: .8rem; }

.section-block { padding-block: clamp(5.5rem, 9vw, 8.5rem); border-top: 1px solid rgba(148,170,194,.1); }
.section-heading { max-width: 820px; margin-bottom: 3.2rem; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.eyebrow { margin: 0 0 1rem; color: var(--gold); font-size: .75rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.section-heading h2, .split-copy h2 { margin-bottom: 1.2rem; font-size: clamp(2.35rem, 4.2vw, 4.4rem); }
.section-heading > p:last-child, .split-copy > p, .final-cta p { color: var(--muted); font-size: 1.06rem; }

.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.principle-card { position: relative; min-height: 330px; padding: 2rem; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(14,29,44,.9), rgba(7,15,24,.86)); }
.principle-card::after { content: attr(data-index); position: absolute; right: 1.2rem; bottom: -.9rem; color: rgba(255,255,255,.035); font-size: 7rem; font-weight: 950; line-height: 1; }
.card-icon { width: 48px; height: 48px; margin-bottom: 3rem; display: grid; place-items: center; border: 1px solid rgba(45,212,191,.3); border-radius: 14px; background: var(--teal-soft); color: var(--teal); font-family: monospace; font-weight: 900; }
.principle-card:nth-child(2) .card-icon { border-color: rgba(255,189,25,.3); background: var(--gold-soft); color: var(--gold); }
.principle-card h3 { margin: 0 0 .8rem; font-size: 1.4rem; letter-spacing: -.025em; }
.principle-card p { margin: 0; color: var(--muted); }
.card-note { margin-top: 1.5rem !important; padding-top: 1rem; border-top: 1px solid var(--line); color: #c8d4df !important; font-size: .82rem; }

.architecture-panel { padding: clamp(1.4rem, 3vw, 2.7rem); border: 1px solid var(--line); border-radius: 26px; background: linear-gradient(160deg, rgba(13,26,40,.88), rgba(6,14,23,.92)); box-shadow: var(--shadow); }
.architecture-flow { display: grid; grid-template-columns: repeat(4, 1fr); align-items: stretch; gap: 2rem; }
.architecture-node { position: relative; min-height: 195px; padding: 1.4rem; border: 1px solid var(--line); border-radius: 16px; background: rgba(5,12,20,.74); }
.architecture-node:not(:last-child)::after { content: "\2192"; position: absolute; right: -1.5rem; top: 50%; transform: translateY(-50%); color: var(--teal); font-family: monospace; font-size: 1.25rem; }
.node-label { color: var(--muted-2); font-family: monospace; font-size: .7rem; text-transform: uppercase; }
.architecture-node h3 { margin: .85rem 0 .5rem; font-size: 1.15rem; }
.architecture-node p { margin: 0; color: var(--muted); font-size: .85rem; }
.architecture-node.accent { border-color: rgba(45,212,191,.36); box-shadow: inset 0 0 35px rgba(45,212,191,.035); }
.architecture-node.gold { border-color: rgba(255,189,25,.36); box-shadow: inset 0 0 35px rgba(255,189,25,.035); }
.architecture-caption { margin: 2rem 0 0; padding-top: 1.4rem; display: flex; justify-content: space-between; gap: 2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.architecture-caption strong { color: var(--text); }

.showcase { display: grid; grid-template-columns: 1.42fr .58fr; gap: 1rem; }
.showcase-main, .showcase-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-solid); }
.showcase-main { grid-row: span 2; }
.showcase-media { position: relative; overflow: hidden; background: #050a10; }
.showcase-media img { width: 100%; transition: transform .45s ease; }
.showcase-main:hover img, .showcase-card:hover img { transform: scale(1.012); }
.showcase-copy { padding: 1.4rem 1.5rem 1.6rem; }
.showcase-copy small { color: var(--teal); font-family: monospace; font-size: .72rem; }
.showcase-copy h3 { margin: .5rem 0 .45rem; font-size: 1.18rem; }
.showcase-copy p { margin: 0; color: var(--muted); font-size: .86rem; }
.showcase-card .showcase-media img { aspect-ratio: 16 / 8.5; object-fit: cover; object-position: left top; }

.split-section { display: grid; grid-template-columns: .84fr 1.16fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.split-section > * { min-width: 0; }
.code-card { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #050b12; box-shadow: var(--shadow); }
.code-card-header { min-height: 48px; padding: 0 1rem; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); color: var(--muted); font-family: monospace; font-size: .75rem; }
.code-card-header span:last-child { color: var(--teal); }
pre { margin: 0; padding: 1.7rem; overflow-x: auto; color: #cce9e5; font-size: .86rem; line-height: 1.9; }
.prompt-card { margin-top: 1rem; padding: 1.1rem 1.2rem; border: 1px solid rgba(255,189,25,.25); border-radius: 14px; background: var(--gold-soft); }
.prompt-card small { color: var(--gold); font-family: monospace; }
.prompt-card p { margin: .45rem 0 0; color: #d8e0e7; font-size: .86rem; }
.check-list { margin: 2rem 0; padding: 0; display: grid; gap: .75rem; list-style: none; }
.check-list li { position: relative; padding-left: 1.8rem; color: var(--muted); }
.check-list li::before { content: "\2713"; position: absolute; left: 0; top: .05rem; color: var(--teal); font-weight: 900; }
.text-link { color: var(--teal); font-weight: 800; text-decoration: none; }

.boundary-band { padding: clamp(2rem, 5vw, 4rem); display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; border: 1px solid rgba(255,189,25,.25); border-radius: 24px; background: linear-gradient(120deg, rgba(255,189,25,.08), rgba(45,212,191,.055)); }
.boundary-band h2 { margin: 0 0 .8rem; font-size: clamp(1.9rem, 3vw, 3rem); letter-spacing: -.04em; line-height: 1.1; }
.boundary-band p { margin: 0; color: var(--muted); }
.boundary-list { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; align-content: center; }
.boundary-list span { padding: .7rem .8rem; border: 1px solid var(--line); border-radius: 10px; background: rgba(5,12,20,.54); color: #c3d0dc; font-size: .82rem; }
.boundary-list span::before { content: "\00d7"; margin-right: .55rem; color: var(--danger); font-weight: 900; }

.faq-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
details { padding: 1.25rem 1.4rem; border: 1px solid var(--line); border-radius: 14px; background: rgba(11,22,35,.72); }
summary { cursor: pointer; font-weight: 800; }
details p { margin-bottom: 0; color: var(--muted); }

.final-cta { margin-block: 3rem 7rem; padding: clamp(2.2rem, 5vw, 4.5rem); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 2rem; border: 1px solid rgba(45,212,191,.36); border-radius: 26px; background: linear-gradient(120deg, rgba(45,212,191,.1), rgba(255,189,25,.08)); }
.final-cta::after { content: "OA"; position: absolute; right: 18%; bottom: -3.2rem; color: rgba(255,255,255,.035); font-size: 12rem; font-weight: 950; line-height: 1; }
.final-cta > * { position: relative; z-index: 1; }
.final-cta h2 { margin-bottom: .7rem; font-size: clamp(2.1rem, 4vw, 4rem); }
.final-cta p { max-width: 680px; margin-bottom: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .7rem; flex-shrink: 0; }

.site-footer { min-height: 135px; padding-block: 2rem; display: flex; justify-content: space-between; align-items: center; gap: 2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.site-footer p { margin: 0; }
.site-footer div { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 1.1rem; }

.policy-page { max-width: 900px; padding-block: 6rem; }
.policy-page h1 { max-width: 800px; margin-bottom: 2rem; font-size: clamp(2.8rem, 6vw, 5.5rem); }
.policy-page h2 { margin-top: 3rem; font-size: clamp(1.45rem, 2.4vw, 2rem); letter-spacing: -.03em; }
.policy-page p, .policy-page li { color: var(--muted); }
.policy-page a { color: var(--teal); }
.policy-lead { max-width: 800px; color: var(--text) !important; font-size: 1.2rem; }
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-block: 3rem; }
.support-grid .card { min-height: 320px; padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.support-grid .card h2 { margin-top: 0; color: var(--text); }
.card-index { display: block; margin-bottom: 2rem; color: var(--gold); font-family: monospace; }

@media (max-width: 1080px) {
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { max-width: 820px; }
  .hero-visual { max-width: 900px; margin-inline: auto; padding-left: 0; }
  .principle-grid { grid-template-columns: 1fr 1fr; }
  .principle-card:last-child { grid-column: 1 / -1; min-height: 260px; }
  .architecture-flow { grid-template-columns: 1fr 1fr; }
  .architecture-node:nth-child(2)::after { display: none; }
  .showcase { grid-template-columns: 1fr 1fr; }
  .showcase-main { grid-column: 1 / -1; grid-row: auto; }
  .split-section { grid-template-columns: 1fr; }
  .split-copy { max-width: 760px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 76px; }
  .section-shell { width: min(calc(100% - 1.35rem), var(--max)); }
  .site-header { width: calc(100% - 1rem); min-height: 66px; gap: .8rem; }
  .brand-copy small { display: none; }
  .header-actions { margin-left: auto; }
  .site-header .button-small { display: none; }
  .language-switch a { min-width: 38px; padding-inline: .45rem; }
  .hero { padding-block: 4.5rem 4rem; }
  .hero h1 { font-size: clamp(2.75rem, 13vw, 4.25rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions .button { width: 100%; }
  .hero-visual { padding-block: 1rem 3.5rem; }
  .product-window { transform: none; border-radius: 14px; }
  .window-badge { display: none; }
  .floating-proof { min-width: 155px; padding: .75rem .8rem; }
  .floating-proof.top { right: -.2rem; }
  .floating-proof.bottom { left: -.2rem; }
  .proof-grid { grid-template-columns: 1fr 1fr; padding-block: .6rem; }
  .proof-item, .proof-item:last-child { border: 0; min-height: 76px; padding-inline: 1rem; }
  .proof-item:nth-child(odd) { border-right: 1px solid var(--line); }
  .section-block { padding-block: 5rem; }
  .section-heading h2, .split-copy h2 { font-size: clamp(2.15rem, 10vw, 3.2rem); }
  .principle-grid, .showcase, .boundary-band, .faq-list, .support-grid { grid-template-columns: 1fr; }
  .principle-card:last-child { grid-column: auto; }
  .principle-card { min-height: 285px; }
  .architecture-flow { grid-template-columns: 1fr; gap: 1rem; }
  .architecture-node { min-height: 0; }
  .architecture-node:not(:last-child)::after { content: "\2193"; display: block; right: 50%; top: auto; bottom: -1.35rem; transform: translateX(50%); }
  .architecture-caption { display: grid; gap: .8rem; }
  .showcase-main { grid-column: auto; }
  .boundary-band { gap: 2rem; }
  .boundary-list { grid-template-columns: 1fr; }
  .final-cta, .site-footer { align-items: stretch; flex-direction: column; }
  .final-cta::after { right: -1rem; }
  .cta-actions { width: 100%; }
  .cta-actions .button { flex: 1 1 100%; }
  .site-footer div { justify-content: flex-start; }
  .policy-page { padding-block: 4rem; }
}

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