:root {
  --ink: #f5f7fa;
  --muted: #9aa8b6;
  --quiet: #9aa8b6;
  --page: #0b1016;
  --panel: #111923;
  --panel-2: #16212d;
  --line: rgba(178, 211, 233, 0.14);
  --line-strong: rgba(178, 211, 233, 0.24);
  --cyan: #59c3ff;
  --red: #b03020;
  --shell: min(1180px, calc(100% - 40px));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--page);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 150px; }
body { overflow-wrap: anywhere; margin: 0; background: var(--page); color: var(--ink); }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    linear-gradient(rgba(89, 195, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(89, 195, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; inset-inline-start: 16px; top: -200px; z-index: 100; padding: 10px 14px; background: var(--cyan); color: #05101a; }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 16, 22, 0.86);
  backdrop-filter: blur(18px);
}
.nav-shell { min-height: 74px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding-block: 12px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 630; letter-spacing: -0.02em; white-space: nowrap; }
.brand img { border-radius: 8px; box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.brand strong { color: var(--cyan); }
.nav-shell .primary-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-inline-start: auto; color: var(--muted); font-size: .875rem; }
.nav-shell nav a, .site-footer nav a { transition: color .2s ease; }
.nav-shell nav a:hover, .site-footer nav a:hover { color: var(--ink); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid var(--cyan);
  border-radius: 6px;
  background: var(--cyan);
  color: #06121c;
  font-size: .875rem;
  font-weight: 750;
  letter-spacing: .01em;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); background: #84d3ff; border-color: #84d3ff; }
.button-small { min-height: 40px; padding-inline: 15px; font-size: .875rem; }
.button-quiet { border-color: var(--line-strong); background: rgba(255,255,255,.025); color: var(--ink); }
.button-quiet:hover { background: var(--panel-2); border-color: rgba(89,195,255,.5); }

.hero { display: grid; grid-template-columns: 1fr; gap: 60px; padding-block: 92px 78px; }
.hero-copy { position: relative; z-index: 2; width: 100%; max-width: 1040px; margin-inline: auto; text-align: center; }
.hero-copy .eyebrow, .hero-actions, .hero-notes { justify-content: center; }
.hero-copy h1 { text-wrap: balance; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 22px; color: var(--cyan); font-size: .875rem; font-weight: 760; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow span { width: 28px; height: 1px; background: var(--cyan); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 26px; font-size: clamp(48px, 5.15vw, 76px); line-height: .99; letter-spacing: -.055em; font-weight: 720; }
h1 em { color: var(--cyan); font-style: normal; }
.hero-lead { max-width: 780px; margin-inline: auto; margin-bottom: 32px; color: var(--muted); font-size: 18px; line-height: 1.72; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 14px 26px; margin: 0; padding: 0; list-style: none; color: var(--quiet); font-size: .875rem; }
.hero-notes li { position: relative; }
.hero-notes li:not(:first-child)::before { content: ""; position: absolute; inset-inline-start: -14px; top: 6px; width: 3px; height: 3px; border-radius: 50%; background: var(--cyan); }

.hero-visual { position: relative; width: 100%; min-width: 0; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 10px; background: #101820; box-shadow: 0 36px 90px rgba(0,0,0,.42); }
.hero-visual img { width: 100%; height: auto; border-radius: 0 0 9px 9px; }
.visual-toolbar { display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 14px; color: var(--quiet); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .75rem; }
.visual-toolbar b { margin-left: auto; color: var(--cyan); font-weight: 700; }
.window-mark { display: flex; gap: 5px; }
.window-mark i { width: 6px; height: 6px; border-radius: 50%; background: #314150; }
.window-mark i:first-child { background: var(--red); }
.visual-badge { position: absolute; right: 18px; bottom: 18px; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border: 1px solid rgba(89,195,255,.34); border-radius: 7px; background: rgba(11,16,22,.96); box-shadow: 0 18px 42px rgba(0,0,0,.35); }
.visual-badge strong { display: grid; place-items: center; width: 40px; height: 32px; border-radius: 4px; background: var(--cyan); color: #07121b; font-size: .75rem; }
.visual-badge span { color: var(--muted); font-size: .875rem; }

.signal-strip { border-block: 1px solid var(--line); background: rgba(17,25,35,.74); }
.signal-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.signal-grid div { display: flex; flex-direction: column; gap: 4px; padding: 23px 28px; border-left: 1px solid var(--line); }
.signal-grid div:last-child { border-right: 1px solid var(--line); }
.signal-grid strong { font: 700 13px/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink); letter-spacing: .06em; }
.signal-grid span { color: var(--quiet); font-size: .875rem; }

.section { padding-block: 88px; }
.section-heading { max-width: 940px; margin: 0 auto 44px; text-align: center; }
.section-heading .eyebrow, .model-copy .eyebrow { justify-content: center; }
.section-heading > p:last-child { margin-inline: auto; }
.section-heading.compact { max-width: 940px; }
h2 { margin-bottom: 20px; font-size: clamp(32px, 3.2vw, 48px); line-height: 1.12; text-wrap: balance; letter-spacing: -.045em; font-weight: 680; }
.section-heading > p:last-child, .formats-grid > div > p:last-child, .model-copy > p { max-width: 640px; color: var(--muted); font-size: 17px; line-height: 1.7; }

.capability-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.capability-card { position: relative; min-height: 280px; padding: 34px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(145deg, rgba(22,33,45,.9), rgba(14,21,29,.9)); }
.capability-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr .8fr; align-items: center; min-height: 340px; }
.capability-card h3, .edition-card h3 { max-width: 560px; margin-bottom: 18px; font-size: clamp(28px, 3vw, 42px); line-height: 1.08; letter-spacing: -.035em; }
.capability-card p:not(.card-kicker) { max-width: 570px; color: var(--muted); font-size: 1rem; line-height: 1.72; }
.card-index { position: absolute; top: 25px; inset-inline-end: 28px; color: rgba(89,195,255,.42); font: 600 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.card-kicker, .edition-label { margin-bottom: 20px; color: var(--cyan); font: 700 .875rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .13em; text-transform: uppercase; }
.card-accent { background: linear-gradient(145deg, rgba(19,46,62,.92), rgba(11,22,30,.92)); }
.drafting-mark { position: relative; width: min(310px, 80%); aspect-ratio: 1; justify-self: center; border: 1px solid rgba(89,195,255,.18); border-radius: 50%; }
.drafting-mark .axis { position: absolute; background: rgba(89,195,255,.25); }
.drafting-mark .axis-x { left: -15%; right: -15%; top: 50%; height: 1px; }
.drafting-mark .axis-y { top: -15%; bottom: -15%; left: 50%; width: 1px; }
.drafting-mark .arc { position: absolute; inset: 20%; border: 2px solid var(--cyan); border-left-color: transparent; border-radius: 50%; transform: rotate(-28deg); }
.drafting-mark i, .drafting-mark b { position: absolute; width: 9px; height: 9px; border: 2px solid var(--ink); border-radius: 50%; background: var(--panel); }
.drafting-mark i { left: 25%; bottom: 18%; }.drafting-mark b { right: 16%; top: 30%; }

.model-section { border-block: 1px solid var(--line); background: #0e151d; }
.model-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
.model-copy { width: 100%; max-width: 940px; margin-inline: auto; text-align: center; }
.model-copy > p { margin-inline: auto; }
.model-copy h2 { max-width: 860px; margin-inline: auto; }
.check-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 28px; margin: 30px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .875rem; }
.check-list li::before { content: "+"; display: inline-block; width: 24px; color: var(--cyan); font-family: ui-monospace, monospace; }
.model-frame { width: 100%; min-width: 0; margin: 0; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 8px; background: #13191f; }
.model-frame img { width: 100%; height: auto; }
.model-frame figcaption { display: flex; justify-content: space-between; gap: 20px; padding: 14px 17px; border-top: 1px solid var(--line); color: var(--quiet); font: .875rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; }
.model-frame figcaption strong { color: var(--cyan); font-weight: 550; }

.edition-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.edition-card { padding: 38px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.edition-primary { border-color: rgba(89,195,255,.36); background: linear-gradient(145deg, rgba(19,52,69,.85), rgba(13,24,33,.94)); }
.edition-card p { max-width: 520px; color: var(--muted); line-height: 1.7; }
.text-link { display: inline-flex; gap: 8px; margin-top: 36px; color: var(--cyan); font-size: .875rem; font-weight: 720; }
.text-link:hover { color: #91daff; }

.formats-section { border-block: 1px solid var(--line); background: linear-gradient(180deg, rgba(17,25,35,.75), rgba(11,16,22,.6)); }
.formats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; }
.format-list { border-top: 1px solid var(--line-strong); }
.format-list div { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.format-list strong { color: var(--ink); font: 700 13px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .05em; }
.format-list span { color: var(--muted); font-size: .875rem; }

.growth-section { border-bottom: 1px solid var(--line); background: #0e151d; }
.growth-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.growth-card { width: 100%; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.growth-card > a { display: block; }
.growth-card img { width: 100%; height: auto; }
.growth-card figcaption { display: flex; justify-content: space-between; gap: 20px; padding: 15px 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }
.growth-card figcaption span { color: var(--ink); font-weight: 680; }
.growth-card figcaption a { color: var(--cyan); font-weight: 680; }
.growth-card figcaption a:hover { color: #91daff; }

.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.faq-grid details { border: 1px solid var(--line); border-radius: 7px; background: rgba(17,25,35,.72); }
.faq-grid summary { padding: 21px 24px; cursor: pointer; font-size: .875rem; font-weight: 680; }
.faq-grid details p { margin: 0; padding: 0 24px 22px; color: var(--muted); font-size: 1rem; line-height: 1.65; }
.community-cta { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: center; margin-bottom: 88px; padding: 58px; border: 1px solid rgba(89,195,255,.28); border-radius: 10px; background: linear-gradient(130deg, #142635, #0f1821 70%); }
.community-cta h2 { max-width: 680px; }
.community-cta p:last-child { max-width: 700px; color: var(--muted); line-height: 1.7; }
.cta-links { display: flex; flex-direction: column; gap: 12px; }

.site-footer { border-top: 1px solid var(--line); background: #080c11; }
.footer-grid { min-height: 150px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 34px; align-items: center; }
.footer-grid p { margin: 0; color: var(--quiet); font-size: .875rem; }
.footer-grid nav { display: flex; gap: 22px; color: var(--muted); font-size: .875rem; }

@media (max-width: 980px) {
  .nav-shell .primary-nav { display: none; }
  .nav-shell .language-picker { margin-inline-start: auto; }
  .hero { padding-top: 80px; }
  .formats-grid { grid-template-columns: 1fr; gap: 48px; }
  .community-cta { grid-template-columns: 1fr; }
  .cta-links { flex-direction: row; flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr; gap: 18px; padding-block: 34px; }
}

@media (max-width: 700px) {
  :root { --shell: min(100% - 28px, 1180px); }
  .nav-shell { min-height: 64px; }
  .brand { font-size: .875rem; }.brand img { width: 34px; height: 34px; }
  .nav-shell > .button-small { width: 100%; min-height: 44px; }
  .hero { padding-block: 48px; gap: 40px; }
  h1 { font-size: clamp(36px, 10vw, 52px); line-height: 1.08; }
  .hero-lead { font-size: 16px; }
  .hero-actions .button { width: 100%; }
  .hero-notes { display: grid; gap: 8px; }.hero-notes li::before { display: none; }
  .visual-badge { position: static; justify-content: center; padding: 10px; border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; }
  .signal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .signal-grid div { padding: 19px 16px; border-bottom: 1px solid var(--line); }
  .section { padding-block: 64px; }
  .capability-grid, .edition-grid, .faq-grid { grid-template-columns: 1fr; }
  .growth-grid { grid-template-columns: 1fr; }
  .capability-wide { grid-column: auto; display: block; min-height: 0; }
  .drafting-mark { display: none; }
  .capability-card, .edition-card { padding: 28px; }
  .format-list div { grid-template-columns: 110px 1fr; gap: 14px; }
  .model-frame figcaption { flex-direction: column; gap: 6px; }
  .growth-card figcaption { flex-direction: column; gap: 6px; }
  .community-cta { width: var(--shell); margin-bottom: 64px; padding: 34px 24px; }
  .cta-links .button { width: 100%; }
  .footer-grid nav { flex-wrap: wrap; }
}

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

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 5px; }
.language-picker { position: relative; font-size: .875rem; }
.language-picker summary { padding: 10px 12px; min-height: 44px; border: 1px solid var(--line-strong); border-radius: 6px; cursor: pointer; }
.language-picker nav { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; width: min(350px, calc(100vw - 28px)); max-height: 65vh; overflow-y: auto; padding: 8px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--panel); box-shadow: 0 16px 48px #0008; }
.language-picker nav a { display: flex; align-items: center; min-height: 44px; padding: 8px; border-radius: 4px; }
.language-picker nav a:hover, .language-picker nav a[aria-current] { background: var(--panel-2); color: var(--cyan); }
.launch-note { color: var(--cyan); font-size: .875rem; line-height: 1.5; }
.command-examples { display: flex; flex-wrap: wrap; gap: 8px; }
.command-examples code { padding: 5px 8px; border: 1px solid var(--line-strong); border-radius: 4px; color: var(--cyan); font-size: .875rem; }
.release-link { display: block; width: fit-content; margin-top: 18px; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; font-size: .875rem; }
:lang(ar), :lang(hi) { letter-spacing: normal; line-height: 1.5; }
:lang(ar) .eyebrow, :lang(hi) .eyebrow { letter-spacing: normal; }
[dir="rtl"] .brand { flex-direction: row-reverse; }
@media (max-width: 700px) {
  .language-picker { position: static; }
  .language-picker nav { inset-inline: 14px; top: calc(100% - 4px); width: auto; }
  .nav-shell { position: relative; gap: 10px; }
  .language-picker summary { padding-inline: 8px; }
  .brand { font-size: .875rem; gap: 8px; }
}
