:root {
  color-scheme: light;
  --bg: #f7f8fb;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-solid: #ffffff;
  --surface-muted: #edf0f6;
  --surface-elevated: #ffffff;
  --text: #101522;
  --text-soft: #4d586b;
  --text-faint: #687386;
  --border: rgba(16, 21, 34, 0.11);
  --border-strong: rgba(16, 21, 34, 0.20);
  --primary: #4f5de6;
  --primary-strong: #3f4dcc;
  --violet: #7147e8;
  --cyan: #087f8a;
  --amber: #9b5a08;
  --success: #087d55;
  --shadow-sm: 0 12px 34px rgba(23, 32, 55, 0.08);
  --shadow-lg: 0 32px 90px rgba(28, 38, 68, 0.15);
  --container: 1180px;
  --reading: 780px;
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #080b12;
  --surface: rgba(17, 22, 34, 0.94);
  --surface-solid: #111622;
  --surface-muted: #171d2b;
  --surface-elevated: #151b28;
  --text: #f6f7fb;
  --text-soft: #c2c9d7;
  --text-faint: #9ca6b8;
  --border: rgba(226, 231, 247, 0.12);
  --border-strong: rgba(226, 231, 247, 0.23);
  --primary: #8992ff;
  --primary-strong: #a0a7ff;
  --violet: #aa89ff;
  --cyan: #54cbd4;
  --amber: #f0ae56;
  --success: #57d5a7;
  --shadow-sm: 0 12px 36px rgba(0, 0, 0, 0.28);
  --shadow-lg: 0 38px 100px rgba(0, 0, 0, 0.44);
}

:root[data-theme="light"] { color-scheme: light; }



* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 82% -8%, color-mix(in srgb, var(--primary) 15%, transparent), transparent 33rem),
    radial-gradient(circle at 3% 26%, color-mix(in srgb, var(--cyan) 8%, transparent), transparent 25rem),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[lang="am"] body {
  font-family: "Noto Sans Ethiopic", "Nyala", "Abyssinica SIL", var(--font);
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { display: block; max-width: 100%; }
.container { width: min(calc(100% - 44px), var(--container)); margin-inline: auto; }
.site-shell { min-height: 100vh; overflow: clip; }
.site-main { min-height: 70vh; }

.site-header { position: sticky; top: 0; z-index: 100; width: 100%; padding: 0; border-bottom: 1px solid var(--border); background: color-mix(in srgb, var(--surface-solid) 94%, transparent); backdrop-filter: blur(18px); box-shadow: 0 1px 0 color-mix(in srgb, var(--text) 3%, transparent); }
.nav-shell { position: relative; width: 100%; min-height: 68px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; margin: 0; padding: 10px clamp(18px, 3vw, 44px); border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none; }
.brand img { flex: 0 0 auto; }
.brand-copy { display: grid; gap: 1px; }
.brand-copy strong { color: var(--text); font-size: 15px; letter-spacing: -.02em; }
.brand-copy span { color: var(--text-faint); font-size: 9px; font-weight: 700; letter-spacing: .04em; }
.primary-nav { display: flex; justify-content: center; align-items: center; gap: 2px; }
.nav-link { padding: 10px 12px; border-radius: 11px; color: var(--text-soft); font-size: 12px; font-weight: 700; text-decoration: none; transition: background .18s ease, color .18s ease; }
.nav-link:hover { background: var(--surface-muted); color: var(--text); }
.nav-link.is-active { background: color-mix(in srgb, var(--primary) 12%, var(--surface)); color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 7px; }
.nav-cta { display: inline-flex; align-items: center; gap: 7px; padding: 10px 13px; border-radius: 12px; background: var(--text); color: var(--bg); font-size: 11px; font-weight: 800; text-decoration: none; }
.nav-cta .arrow { opacity: .75; }
.locale-control, .theme-control { display: inline-flex; align-items: center; padding: 3px; border: 1px solid var(--border); border-radius: 11px; background: var(--surface-muted); }
.locale-option, .theme-option { min-width: 31px; height: 29px; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: var(--text-faint); font-size: 9px; font-weight: 800; text-decoration: none; cursor: pointer; }
.locale-option:hover, .theme-option:hover { color: var(--text); }
.locale-option.is-active, .theme-option.is-active { background: var(--surface-solid); color: var(--text); box-shadow: 0 2px 8px rgba(20,28,46,.08); }
.theme-option { font-size: 12px; }
.mobile-nav-controls { display: none; }
.menu-button { display: none; width: 40px; height: 40px; padding: 10px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-muted); cursor: pointer; }
.menu-line { display: block; width: 100%; height: 2px; margin: 3px 0; border-radius: 2px; background: var(--text); transition: transform .18s ease, opacity .18s ease; }

.hero { padding: 82px 0 62px; }
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(48px, 7vw, 92px); align-items: center; }
.hero-copy { min-width: 0; }
.hero-kicker { display: inline-flex; align-items: center; gap: 9px; padding: 8px 11px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text-soft); font-size: 10px; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px color-mix(in srgb, var(--success) 16%, transparent); }
.hero h1 { max-width: 760px; margin: 24px 0 0; color: var(--text); font-size: clamp(3.5rem, 7vw, 6.8rem); line-height: .93; letter-spacing: -.065em; }
html[lang="am"] .hero h1 { line-height: 1.06; letter-spacing: -.03em; }
.gradient-text { background: linear-gradient(110deg, var(--primary), var(--violet) 58%, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lede { max-width: 690px; margin: 28px 0 0; color: var(--text-soft); font-size: clamp(1.02rem, 1.45vw, 1.18rem); line-height: 1.78; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 31px; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 18px; border: 1px solid transparent; border-radius: 13px; font-size: 12px; font-weight: 800; text-decoration: none; transition: transform .16s ease, box-shadow .16s ease, background .16s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--primary); color: #fff; box-shadow: 0 12px 30px color-mix(in srgb, var(--primary) 24%, transparent); }
.button-primary:hover { background: var(--primary-strong); }
.button-secondary { border-color: var(--border-strong); background: var(--surface); color: var(--text); }

/* In dark mode these primary CTAs use a light resting surface. Keep the label dark
   until hover, where the button becomes the primary accent and the label turns white. */
:root[data-theme="dark"] .hero-actions .button-primary,
:root[data-theme="dark"] .docs-cta .button-primary { color: #101522; }
:root[data-theme="dark"] .hero-actions .button-primary:hover,
:root[data-theme="dark"] .docs-cta .button-primary:hover { color: #fff; }
.hero-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 27px; color: var(--text-faint); font-size: 10px; font-weight: 750; }
.hero-proof i { width: 3px; height: 3px; border-radius: 50%; background: var(--border-strong); }
.hero-visual { position: relative; min-height: 515px; display: grid; place-items: center; }
.visual-glow { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: color-mix(in srgb, var(--primary) 18%, transparent); filter: blur(80px); }
.system-board { position: relative; width: min(100%, 515px); padding: 20px; border: 1px solid var(--border); border-radius: 30px; background: color-mix(in srgb, var(--surface-solid) 94%, transparent); box-shadow: var(--shadow-lg); transform: rotate(1.25deg); }
.system-board-top, .system-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.system-brand { display: flex; align-items: center; gap: 10px; }
.system-brand > div { display: grid; gap: 2px; }
.system-brand strong { font-size: 12px; }
.system-brand span { color: var(--text-faint); font-size: 9px; }
.system-live { padding: 6px 8px; border-radius: 999px; background: color-mix(in srgb, var(--success) 13%, var(--surface-muted)); color: var(--success); font-size: 8px; font-weight: 850; letter-spacing: .08em; }
.system-track { height: 1px; margin: 18px 0; background: linear-gradient(90deg, var(--primary), var(--violet), transparent); opacity: .65; }
.system-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.system-tile { min-height: 172px; display: flex; flex-direction: column; padding: 17px; border: 1px solid var(--border); border-radius: 19px; background: var(--surface-muted); }
.system-number { color: var(--text-faint); font-size: 8px; font-weight: 850; letter-spacing: .1em; }
.system-icon { width: 38px; height: 38px; margin: 23px 0 auto; border-radius: 12px; background: var(--primary); box-shadow: inset 0 0 0 8px color-mix(in srgb, white 84%, transparent); }
.system-tile.is-violet .system-icon { background: var(--violet); }
.system-tile.is-cyan .system-icon { background: var(--cyan); }
.system-tile.is-amber .system-icon { background: var(--amber); }
.system-tile strong { margin-top: 18px; font-size: 13px; }
.system-tile > span:last-child { margin-top: 3px; color: var(--text-soft); font-size: 9px; line-height: 1.4; }
.system-footer { margin-top: 16px; color: var(--text-faint); font-size: 9px; }
.system-footer strong { color: var(--text); font-size: 9px; }

.focus-strip { border-block: 1px solid var(--border); background: color-mix(in srgb, var(--surface-muted) 42%, transparent); }
.focus-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.focus-item { position: relative; padding: 30px 26px; }
.focus-item + .focus-item { border-left: 1px solid var(--border); }
.focus-line { width: 30px; height: 2px; display: block; margin-bottom: 18px; background: var(--primary); }
.focus-item h3 { margin: 0; font-size: 13px; letter-spacing: -.015em; }
.focus-item p { margin: 8px 0 0; color: var(--text-soft); font-size: 11px; line-height: 1.65; }

.section { padding: 100px 0; }
.section-heading { display: grid; grid-template-columns: minmax(0, 760px) auto; gap: 34px; align-items: end; margin-bottom: 42px; }
.section-heading-copy h2, .principles-intro h2, .docs-cta h2 { margin: 15px 0 0; color: var(--text); font-size: clamp(2.25rem, 4.5vw, 4.4rem); line-height: 1.02; letter-spacing: -.052em; }
html[lang="am"] .section-heading-copy h2, html[lang="am"] .principles-intro h2, html[lang="am"] .docs-cta h2 { line-height: 1.16; letter-spacing: -.025em; }
.section-heading-copy > p, .principles-intro > p, .docs-cta p { max-width: 680px; margin: 18px 0 0; color: var(--text-soft); font-size: 14px; line-height: 1.78; }
.eyebrow { display: inline-flex; color: var(--primary); font-size: 10px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.text-link { color: var(--primary); font-size: 11px; font-weight: 800; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.section-action { padding-bottom: 4px; white-space: nowrap; }
.catalog-block { width: 100%; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.product-card { position: relative; min-height: 345px; display: flex; flex-direction: column; padding: 28px; overflow: hidden; border: 1px solid var(--border); border-radius: 28px; background: var(--surface); box-shadow: var(--shadow-sm); }
.product-card::before { content: ""; position: absolute; width: 180px; height: 180px; right: -70px; top: -70px; border-radius: 50%; background: color-mix(in srgb, var(--primary) 13%, transparent); filter: blur(12px); }
.product-card.accent-violet::before { background: color-mix(in srgb, var(--violet) 14%, transparent); }
.product-card.accent-cyan::before { background: color-mix(in srgb, #06b6d4 14%, transparent); }
.product-card.accent-green::before { background: color-mix(in srgb, #22c55e 14%, transparent); }
.product-card.accent-rose::before { background: color-mix(in srgb, #f43f5e 14%, transparent); }
.product-card.accent-fuchsia::before { background: color-mix(in srgb, #c026d3 14%, transparent); }
.product-card.accent-amber::before { background: color-mix(in srgb, #f59e0b 15%, transparent); }
.product-card.accent-indigo::before { background: color-mix(in srgb, #6366f1 14%, transparent); }
.product-card-top { position: relative; display: flex; justify-content: space-between; align-items: center; }
.product-label, .oss-type { color: var(--text-faint); font-size: 9px; font-weight: 850; text-transform: uppercase; letter-spacing: .12em; }
.product-status { position: relative; z-index: 1; display: inline-flex; align-items: center; padding: 6px 9px; border: 1px solid var(--border); border-radius: 999px; font-size: 8px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.product-status.is-available { border-color: color-mix(in srgb, #22c55e 36%, var(--border)); background: color-mix(in srgb, #22c55e 11%, var(--surface)); color: color-mix(in srgb, #16a34a 82%, var(--text)); }
.product-status.is-coming-soon { border-color: color-mix(in srgb, var(--primary) 38%, var(--border)); background: color-mix(in srgb, var(--primary) 10%, var(--surface)); color: var(--primary); }
.product-status.is-concept { background: var(--surface-muted); color: var(--text-soft); }
.product-identity { position: relative; display: grid; grid-template-columns: 58px 1fr; gap: 18px; margin-top: 48px; align-items: start; }
.product-symbol { width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 18px; background: var(--surface-muted); color: var(--primary); font-size: 20px; font-weight: 900; }
.accent-violet .product-symbol { color: var(--violet); }
.accent-cyan .product-symbol { color: #0891b2; }
.accent-green .product-symbol { color: #16a34a; }
.accent-rose .product-symbol { color: #e11d48; }
.accent-fuchsia .product-symbol { color: #c026d3; }
.accent-amber .product-symbol { color: #d97706; }
.accent-indigo .product-symbol { color: #4f46e5; }
.product-card h3, .oss-card h3, .capability-card h3 { margin: 0; color: var(--text); font-size: 22px; letter-spacing: -.03em; }
.product-card p, .oss-card p, .capability-card p { margin: 8px 0 0; color: var(--text-soft); font-size: 13px; line-height: 1.72; }
.chip-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 25px; }
.chip { padding: 6px 8px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface-muted); color: var(--text-soft); font-size: 9px; font-weight: 750; }
.card-link { position: relative; margin-top: auto; padding-top: 28px; color: var(--primary); font-size: 11px; font-weight: 850; text-decoration: none; }
.card-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.section-capabilities { background: color-mix(in srgb, var(--surface-muted) 42%, transparent); border-block: 1px solid var(--border); }
.capability-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.capability-card { min-height: 235px; padding: 24px; border: 1px solid var(--border); border-radius: 22px; background: var(--surface); }
.capability-number { display: inline-flex; margin-bottom: 52px; color: var(--primary); font-size: 9px; font-weight: 850; letter-spacing: .12em; }
.capability-card h3 { font-size: 17px; }
.capability-card p { font-size: 11px; }

.oss-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.oss-card { min-height: 280px; display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--border); border-radius: 22px; background: var(--surface); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.oss-card:hover { transform: translateY(-2px); border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.oss-card.is-featured { background: linear-gradient(145deg, color-mix(in srgb, var(--primary) 10%, var(--surface)), var(--surface)); }
.oss-card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.oss-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: var(--surface-muted); color: var(--primary); font-size: 11px; font-weight: 900; }
.oss-card h3 { margin-top: 28px; font-size: 20px; }
.oss-card .card-link { margin-top: auto; }

.home-story { padding-top: 26px; }
.home-prose { max-width: 940px; text-align: center; }
.home-prose .content > h2 { max-width: 850px; margin-inline: auto; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.12; letter-spacing: -.04em; }
.home-prose .content > p { max-width: 760px; margin: 22px auto 0; color: var(--text-soft); font-size: 16px; line-height: 1.82; }

.section-principles { padding-top: 70px; }
.principles-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 80px; align-items: start; }
.principles-intro { position: sticky; top: 118px; }
.principles-list { border-top: 1px solid var(--border-strong); }
.principle { display: grid; grid-template-columns: 55px 1fr; gap: 18px; padding: 30px 4px; border-bottom: 1px solid var(--border); }
.principle-number { color: var(--primary); font-size: 10px; font-weight: 850; letter-spacing: .1em; }
.principle h3 { margin: 0; color: var(--text); font-size: 20px; letter-spacing: -.025em; }
.principle p { max-width: 580px; margin: 8px 0 0; color: var(--text-soft); font-size: 14px; line-height: 1.72; }

.section-docs-cta { padding-top: 30px; }
.docs-cta { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: end; padding: 44px 0; border-block: 1px solid var(--border); }
.docs-cta h2 { font-size: clamp(2rem, 3.4vw, 3.25rem); }

.page-main { padding-bottom: 30px; }
.page-hero { padding: 92px 0 64px; }
.page-hero h1 { max-width: 940px; margin: 18px 0 0; color: var(--text); font-size: clamp(3rem, 6vw, 5.8rem); line-height: .98; letter-spacing: -.058em; }
html[lang="am"] .page-hero h1 { line-height: 1.12; letter-spacing: -.025em; }
.page-lede { max-width: 800px; margin: 26px 0 0; color: var(--text-soft); font-size: clamp(1.05rem, 1.7vw, 1.25rem); line-height: 1.78; }
.catalog-page-section { padding: 8px 0 54px; }
.page-content { padding: 18px 0 100px; }
.page-content-after-catalog { padding-top: 54px; border-top: 1px solid var(--border); }
.page-content-grid { display: grid; grid-template-columns: minmax(0, 760px) 280px; justify-content: space-between; gap: 80px; align-items: start; }
.page-aside { position: sticky; top: 118px; padding: 22px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); }
.aside-label { color: var(--primary); font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: .13em; }
.page-aside p { margin: 12px 0 18px; color: var(--text-soft); font-size: 12px; line-height: 1.72; }

.prose .content { color: var(--text-soft); font-size: 16px; line-height: 1.84; }
.prose .content > *:first-child { margin-top: 0; }
.prose .content h1, .prose .content h2, .prose .content h3, .prose .content h4 { color: var(--text); line-height: 1.2; letter-spacing: -.028em; }
.prose .content h2 { margin: 52px 0 18px; font-size: 30px; }
.prose .content h3 { margin: 34px 0 12px; font-size: 21px; }
.prose .content p { margin: 0 0 20px; }
.prose .content ul, .prose .content ol { padding-left: 22px; margin: 0 0 24px; }
.prose .content li { margin: 8px 0; padding-left: 4px; }
.prose .content strong { color: var(--text); }
.prose .content a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose .content code { padding: 2px 6px; border: 1px solid var(--border); border-radius: 7px; background: var(--surface-muted); color: var(--text); font-size: .88em; }
.prose .content blockquote { margin: 28px 0; padding: 6px 0 6px 22px; border-left: 3px solid var(--primary); color: var(--text); }

.site-footer { margin-top: 56px; padding: 72px 0 26px; border-top: 1px solid var(--border); background: color-mix(in srgb, var(--surface-muted) 38%, transparent); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.35fr; gap: 50px; }
.footer-brand > p { max-width: 430px; margin: 20px 0 0; color: var(--text-soft); font-size: 13px; line-height: 1.78; }
.footer-brand .brand strong { font-size: 17px; }
.footer-column h3 { margin: 0 0 16px; color: var(--text); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.footer-column ul { list-style: none; margin: 0; padding: 0; }
.footer-column li + li { margin-top: 10px; }
.footer-column li a { color: var(--text-soft); font-size: 13px; text-decoration: none; }
.footer-column li a:hover { color: var(--text); }
.footer-column > p { margin: 0 0 14px; color: var(--text-soft); font-size: 12px; line-height: 1.72; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 58px; padding-top: 22px; border-top: 1px solid var(--border); color: var(--text-faint); font-size: 10px; }

@media (max-width: 1040px) {
  .nav-shell { grid-template-columns: auto 1fr auto; }
  .nav-cta { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero h1, .hero-lede { margin-inline: auto; }
  .hero-actions, .hero-proof { justify-content: center; }
  .hero-visual { min-height: auto; }
  .system-board { transform: none; }
  .capability-grid { grid-template-columns: 1fr 1fr; }
  .principles-grid { grid-template-columns: 1fr; gap: 44px; }
  .principles-intro { position: static; }
  .page-content-grid { grid-template-columns: 1fr; gap: 42px; }
  .page-aside { position: static; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-build { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .container { width: min(calc(100% - 30px), var(--container)); }
  .site-header { padding: 0; }
  .nav-shell { min-height: 60px; grid-template-columns: 1fr auto; gap: 10px; padding: 9px 15px; border-radius: 0; }
  .brand-copy span { display: none; }
  .nav-actions { gap: 5px; }
  .nav-actions > .theme-control, .nav-actions > .locale-control { display: none; }
  .menu-button { display: block; }
  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 120;
    width: 100%;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    padding: 12px 15px 16px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--surface-solid);
    box-shadow: 0 20px 45px rgba(10, 16, 30, .18);
  }
  .site-header[data-nav-open="true"] .primary-nav { display: grid; grid-template-columns: 1fr; }
  .site-header[data-nav-open="true"] .nav-link { padding: 13px 12px; }
  .mobile-nav-controls { display: none; }
  .site-header[data-nav-open="true"] .mobile-nav-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; padding: 13px 8px 2px; border-top: 1px solid var(--border); }
  .mobile-docs-link { display: inline-flex; align-items: center; gap: 7px; min-height: 37px; padding: 0 12px; border-radius: 10px; background: var(--text); color: var(--bg); font-size: 10px; font-weight: 800; text-decoration: none; }
  .site-header[data-nav-open="true"] .menu-line:nth-child(1) { transform: translateY(5px) rotate(45deg); }
  .site-header[data-nav-open="true"] .menu-line:nth-child(2) { opacity: 0; }
  .site-header[data-nav-open="true"] .menu-line:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
  .hero { padding: 54px 0 42px; }
  .hero h1 { font-size: clamp(3rem, 14vw, 5rem); }
  .hero-lede { font-size: 1rem; }
  .focus-grid { grid-template-columns: 1fr 1fr; }
  .focus-item:nth-child(3) { border-left: 0; border-top: 1px solid var(--border); }
  .focus-item:nth-child(4) { border-top: 1px solid var(--border); }
  .section { padding: 80px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 14px; }
  .section-action { justify-self: start; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .oss-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer-brand, .footer-build { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 24px), var(--container)); }
  .brand-copy strong { font-size: 14px; }
  .hero-kicker { font-size: 8px; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .system-board { padding: 15px; border-radius: 24px; }
  .system-grid { gap: 9px; }
  .system-tile { min-height: 145px; padding: 14px; border-radius: 16px; }
  .focus-grid { grid-template-columns: 1fr; }
  .focus-item, .focus-item + .focus-item { padding: 22px 0; border-left: 0; border-top: 1px solid var(--border); }
  .focus-item:first-child { border-top: 0; }
  .product-grid, .oss-grid, .capability-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 0; padding: 22px; border-radius: 24px; }
  .product-identity { grid-template-columns: 48px 1fr; margin-top: 35px; }
  .product-symbol { width: 48px; height: 48px; border-radius: 15px; }
  .capability-card { min-height: 0; }
  .capability-number { margin-bottom: 32px; }
  .principle { grid-template-columns: 40px 1fr; }
  .docs-cta { grid-template-columns: 1fr; gap: 28px; align-items: start; }
  .page-hero { padding: 64px 0 46px; }
  .page-content { padding-bottom: 70px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand, .footer-build { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
