:root {
  --ink: #0b1220;
  --surface: #f6f8fa;
  --surface-green: #e9f8f2;
  --paper: #fff;
  --line: #e3e7ec;
  --line-strong: #c6ced7;
  --text: #293241;
  --muted: #6a7380;
  --accent: #22af79;
  --accent-dark: #087452;
  --accent-soft: #dff7ed;
  --readiness: #087452;
  --readiness-soft: #edf8f3;
  --violet: #6f4bd8;
  --shadow-soft: 0 18px 44px rgba(11, 18, 32, 0.1);
  --shadow-tight: 0 8px 20px rgba(11, 18, 32, 0.06);
  --radius: 8px;
  --header-height: 72px;
  --font-sans: "Helvetica Neue", Helvetica, Arial, ui-sans-serif, system-ui, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 20px); }
body { margin: 0; color: var(--text); background: var(--paper); font-family: var(--font-sans); font-size: 16px; font-weight: 400; line-height: 1.58; letter-spacing: 0; overflow-x: hidden; text-rendering: geometricPrecision; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
html[data-theme="dark"] { color-scheme: dark; }
body::selection { color: var(--ink); background: var(--accent-soft); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; letter-spacing: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1000; transform: translateY(-140%); padding: 10px 14px; border-radius: var(--radius); color: var(--ink); background: var(--paper); box-shadow: var(--shadow-tight); transition: transform 160ms ease; }
.skip-link:focus { transform: translateY(0); }
.container, .site-header__inner, .site-footer { width: min(100% - 48px, 1220px); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 100; min-height: var(--header-height); border-bottom: 1px solid rgba(217, 224, 231, 0.72); background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(14px); }
.site-header__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-height); }
.brand-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); font-size: 0.95rem; font-weight: 600; text-decoration: none; }
.brand-link img { width: 34px; height: 34px; object-fit: contain; }
.primary-nav { display: flex; align-items: center; justify-content: flex-end; gap: 20px; font-size: 0.84rem; font-weight: 500; color: #2d394a; }
.primary-nav a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: none; }
.primary-nav a:hover { color: var(--accent-dark); }
.theme-toggle, .nav-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line-strong); border-radius: var(--radius); color: var(--ink); background: transparent; cursor: pointer; text-decoration: none; }
.theme-toggle:hover, .nav-icon:hover { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.theme-toggle svg, .nav-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.nav-icon--github svg { fill: currentColor; stroke: none; width: 19px; height: 19px; }
.theme-icon--sun { display: none; }
html[data-theme="dark"] .theme-icon--moon { display: none; }
html[data-theme="dark"] .theme-icon--sun { display: block; }
.menu-button { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); background: var(--paper); }
.menu-button__bar { position: absolute; width: 18px; height: 2px; border-radius: 99px; background: currentColor; }
.menu-button__bar:nth-child(1) { transform: translateY(-6px); }
.menu-button__bar:nth-child(3) { transform: translateY(6px); }

.hero { position: relative; min-height: 720px; color: var(--paper); overflow: hidden; background: var(--ink); }
.hero__background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; opacity: 0.34; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 18, 32, 0.95), rgba(11, 18, 32, 0.82) 44%, rgba(11, 18, 32, 0.5)), linear-gradient(180deg, rgba(11, 18, 32, 0.34), rgba(11, 18, 32, 0.92)); }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.34fr) minmax(380px, 0.62fr); align-items: center; gap: 58px; min-height: 720px; padding: 90px 0 78px; }
.hero__copy { max-width: 1010px; }
.section-label { margin: 0 0 18px; color: var(--accent-dark); font-size: 0.68rem; font-weight: 600; line-height: 1.25; text-transform: uppercase; }
.hero .section-label, .section--ink .section-label { color: #31d996; }
.hero h1, .final-cta h2 { margin: 0; color: var(--paper); font-size: 4.35rem; line-height: 1.02; font-weight: 600; max-width: 980px; }
.hero h1 { max-width: none; }
.hero h1 span { display: block; white-space: nowrap; }
.hero__copy > p:not(.section-label) { max-width: 680px; margin: 26px 0 0; color: rgba(255, 255, 255, 0.78); font-size: 1.08rem; line-height: 1.68; font-weight: 400; }
.hero__actions, .section-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 17px; border: 1px solid transparent; border-radius: var(--radius); font-size: 0.88rem; font-weight: 600; text-decoration: none; transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease; }
.button:hover { transform: translateY(-1px); }
.button--icon { width: 44px; min-width: 44px; padding: 0; }
.button--icon svg { width: 19px; height: 19px; fill: currentColor; }
.button--primary { color: var(--paper); background: var(--accent-dark); border-color: var(--accent-dark); }
.button--primary:hover { background: #065f45; border-color: #065f45; }
.button--secondary { color: var(--ink); background: var(--paper); border-color: var(--line-strong); }
.button--secondary:hover { border-color: var(--ink); }
.button--light { color: var(--paper); border-color: rgba(255, 255, 255, 0.42); background: rgba(255, 255, 255, 0.08); }
.button--light:hover { border-color: var(--paper); background: rgba(255, 255, 255, 0.14); }
.hero__text-link, .text-link-light { display: inline-flex; margin-top: 22px; color: rgba(255, 255, 255, 0.86); font-size: 0.9rem; font-weight: 500; }

.hero-terminal, .code-tabs { border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius); background: rgba(5, 10, 18, 0.86); box-shadow: var(--shadow-soft); overflow: hidden; }
.hero-terminal { justify-self: stretch; }
.hero-terminal__chrome { display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.hero-terminal__chrome > span:not(.copy-status) { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.28); }
.hero-terminal .copy-button { margin-left: auto; }
.hero-terminal pre, .code-block { margin: 0; padding: 22px; color: #f8fbff; font-family: var(--font-mono); font-size: 0.92rem; line-height: 1.75; white-space: pre-wrap; word-break: break-word; }
.copy-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 36px; padding: 0 11px; border: 1px solid rgba(255, 255, 255, 0.26); border-radius: var(--radius); color: var(--paper); background: rgba(255, 255, 255, 0.08); cursor: pointer; }
.copy-button:hover { border-color: rgba(255, 255, 255, 0.56); }
.copy-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.copy-status { color: var(--accent); font-size: 0.82rem; font-weight: 500; }

.proof-strip { border-bottom: 1px solid var(--line); background: var(--paper); }
.proof-strip__inner { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; }
.proof-strip span { display: flex; align-items: center; justify-content: center; min-height: 82px; padding: 18px; color: var(--ink); font-size: 0.84rem; font-weight: 600; text-align: center; border-left: 1px solid var(--line); }
.proof-strip span:last-child { border-right: 1px solid var(--line); }

.section { padding: 108px 0; background: var(--paper); }
.section--light { background: var(--surface); }
.section--ink { color: rgba(255, 255, 255, 0.82); background: var(--ink); }
.section-heading { max-width: 820px; margin-bottom: 48px; }
.section-heading h2, .final-cta h2 { margin: 0; color: var(--ink); font-size: 3rem; line-height: 1.08; font-weight: 600; }
.section-heading p:not(.section-label) { margin: 22px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.72; font-weight: 400; }
.section--ink .section-heading h2 { color: var(--paper); }
.section--ink .section-heading p:not(.section-label) { color: rgba(255, 255, 255, 0.68); }
.feature-grid, .deploy-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.feature-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 28px; }
.feature-card, .deploy-group { min-height: 100%; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: none; }
.feature-card h3, .deploy-group h3, .use-case-row h3, .production-callout h3 { margin: 0 0 12px; color: var(--ink); font-size: 1.02rem; line-height: 1.34; font-weight: 600; }
.feature-card p, .deploy-group p { margin: 0; color: var(--muted); }
.pull-quote { max-width: 820px; margin: 46px 0 0; padding: 0 0 0 22px; color: var(--ink); border-left: 4px solid var(--accent); font-size: 1.9rem; line-height: 1.22; font-weight: 500; }
.use-case-list { border-top: 1px solid var(--line); }
.use-case-row { display: grid; grid-template-columns: minmax(240px, 0.55fr) minmax(0, 1fr) minmax(220px, 0.45fr); gap: 34px; align-items: start; padding: 34px 0; border-bottom: 1px solid var(--line); }
.use-case-row p { margin: 0; color: var(--muted); }
.use-case-row strong { color: var(--accent-dark); font-weight: 600; }

.client-list { display: flex; flex-wrap: wrap; gap: 10px; }
.client-list span { display: inline-flex; align-items: center; min-height: 38px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--radius); color: rgba(255, 255, 255, 0.9); background: rgba(255, 255, 255, 0.05); font-size: 0.84rem; font-weight: 500; }
.trust-statement { margin: 22px 0; padding: 22px 24px; border-left: 5px solid var(--accent); color: rgba(255, 255, 255, 0.84); background: rgba(255, 255, 255, 0.06); }
.compatibility-groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.operation-group { border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius); background: rgba(255, 255, 255, 0.05); overflow: hidden; }
.operation-group summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 60px; padding: 0 18px; color: var(--paper); cursor: pointer; }
.operation-group summary span:first-child { font-weight: 600; }
.operation-group summary span:last-child { color: rgba(255, 255, 255, 0.56); font-size: 0.86rem; white-space: nowrap; }
.operation-list, .deploy-group ul, .production-callout ol { margin: 0; padding: 0; list-style: none; }
.operation-list { display: grid; gap: 1px; padding: 0 18px 18px; }
.operation-list li { min-width: 0; padding: 7px 0; color: rgba(255, 255, 255, 0.74); border-top: 1px solid rgba(255, 255, 255, 0.08); font-family: var(--font-mono); font-size: 0.84rem; overflow-wrap: anywhere; }
.section--ink .button--secondary { color: var(--paper); border-color: rgba(255, 255, 255, 0.32); background: rgba(255, 255, 255, 0.07); }

.dashboard-showcase { display: grid; gap: 22px; }
.dashboard-showcase__image, .detail-shot { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow-tight); overflow: hidden; }
.dashboard-showcase__image img, .detail-shot img { width: 100%; height: auto; }
.detail-shot { aspect-ratio: 16 / 9; }
.detail-shot img { height: 100%; object-fit: cover; object-position: center; transform: scale(1.08); transform-origin: center; }
.detail-shot:nth-child(2) img { object-position: top center; transform: scale(1.03); }
.dashboard-showcase__details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.feature-grid--dashboard { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.deploy-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 44px; }
.deploy-group ul { display: grid; gap: 10px; margin-top: 18px; }
.deploy-group li { position: relative; padding-left: 20px; color: var(--text); }
.deploy-group li::before { content: ""; position: absolute; top: 0.78em; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.architecture-diagram { margin: 0; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-green); }
.architecture-diagram svg { width: 100%; height: auto; }
.diagram-node rect { fill: var(--paper); stroke: #b7d9c9; stroke-width: 2; }
.diagram-node text { fill: var(--ink); font-family: var(--font-sans); font-size: 20px; font-weight: 600; }
.diagram-node text + text { fill: var(--muted); font-size: 14px; font-weight: 400; }
.diagram-node--endpoint rect { fill: var(--ink); stroke: var(--accent); }
.diagram-node--endpoint text { fill: var(--paper); }
.diagram-node--endpoint text + text { fill: rgba(255, 255, 255, 0.72); }
.diagram-node--dashboard rect { fill: #f4f0ff; stroke: #c9b8ff; }
.diagram-line { fill: none; stroke: var(--accent-dark); stroke-width: 4; }
.diagram-line--dash { stroke: var(--violet); stroke-dasharray: 9 9; }
#arrow path { fill: var(--accent-dark); }
.architecture-diagram figcaption { margin-top: 18px; color: #52606d; text-align: center; }
.production-callout { margin-top: 26px; padding: 28px; border: 1px solid #b7d9c9; border-radius: var(--radius); color: #244139; background: var(--readiness-soft); }
.production-callout h3 { color: #0b3024; }
.production-callout p { max-width: 920px; margin: 0 0 18px; }
.production-callout ol { counter-reset: readiness; display: grid; gap: 10px; }
.production-callout li { counter-increment: readiness; position: relative; padding-left: 42px; }
.production-callout li::before { content: counter(readiness); position: absolute; left: 0; top: -2px; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; color: var(--paper); background: var(--readiness); font-size: 0.82rem; font-weight: 600; }

.quick-start-layout { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(440px, 1fr); gap: 54px; align-items: start; }
.doc-link-row { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.doc-link-row a { color: var(--accent-dark); font-weight: 500; }
.code-tabs { background: var(--ink); }
.code-tabs__header { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 58px; padding: 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.code-tabs__tablist { display: inline-flex; gap: 6px; }
.code-tabs__tab { min-height: 38px; padding: 0 13px; border: 1px solid transparent; border-radius: var(--radius); color: rgba(255, 255, 255, 0.7); background: transparent; cursor: pointer; }
.code-tabs__tab[aria-selected="true"] { color: var(--paper); border-color: rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.1); }

.final-cta { padding: 96px 0; color: var(--paper); background: var(--ink); }
.final-cta__inner { text-align: center; }
.final-cta h2 { margin-inline: auto; color: var(--paper); font-size: 3.35rem; line-height: 1.06; }
.final-cta p { max-width: 620px; margin: 22px auto 0; color: rgba(255, 255, 255, 0.72); font-size: 1.08rem; }
.section-actions--center { justify-content: center; }

.site-footer { display: grid; grid-template-columns: 1fr 1.4fr; gap: 46px; padding: 58px 0; color: var(--muted); }
.site-footer__brand { display: flex; gap: 14px; align-items: flex-start; }
.site-footer__brand img { flex: 0 0 auto; width: 40px; height: 40px; object-fit: contain; }
.footer-name { margin: 0 0 4px; color: var(--ink); font-size: 1rem; font-weight: 600; }
.site-footer__brand p:last-child { max-width: 430px; margin: 0; }
.footer-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 24px; }
.footer-links a { color: var(--text); font-weight: 500; text-decoration: none; }
.footer-links a:hover { color: var(--accent-dark); }
.footer-github-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--line-strong); border-radius: var(--radius); }
.footer-links .footer-github-icon:hover { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.footer-github-icon svg { width: 19px; height: 19px; fill: currentColor; }
.footer-note { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 24px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 0.88rem; }
.footer-note p { margin: 0; }

html[data-theme="dark"] body { color: #d8dee7; background: #0b1220; }
html[data-theme="dark"] body::selection { color: #f8fafc; background: #0c6d50; }
html[data-theme="dark"] .site-header { border-bottom-color: rgba(63, 76, 94, 0.72); background: rgba(11, 18, 32, 0.9); }
html[data-theme="dark"] .brand-link,
html[data-theme="dark"] .primary-nav,
html[data-theme="dark"] .theme-toggle,
html[data-theme="dark"] .nav-icon,
html[data-theme="dark"] .menu-button { color: #f8fafc; }
html[data-theme="dark"] .theme-toggle,
html[data-theme="dark"] .nav-icon,
html[data-theme="dark"] .menu-button { border-color: #344155; background: rgba(255, 255, 255, 0.03); }
html[data-theme="dark"] .theme-toggle:hover,
html[data-theme="dark"] .nav-icon:hover { color: #0b1220; background: #f8fafc; border-color: #f8fafc; }
html[data-theme="dark"] .section,
html[data-theme="dark"] .section--light,
html[data-theme="dark"] .proof-strip { background: #0f1722; }
html[data-theme="dark"] .proof-strip,
html[data-theme="dark"] .proof-strip span,
html[data-theme="dark"] .use-case-list,
html[data-theme="dark"] .use-case-row,
html[data-theme="dark"] .footer-note { border-color: #263241; }
html[data-theme="dark"] .proof-strip span,
html[data-theme="dark"] .section-heading h2,
html[data-theme="dark"] .feature-card h3,
html[data-theme="dark"] .deploy-group h3,
html[data-theme="dark"] .use-case-row h3,
html[data-theme="dark"] .pull-quote,
html[data-theme="dark"] .footer-name { color: #f8fafc; }
html[data-theme="dark"] .section-heading p:not(.section-label),
html[data-theme="dark"] .feature-card p,
html[data-theme="dark"] .deploy-group p,
html[data-theme="dark"] .deploy-group li,
html[data-theme="dark"] .use-case-row p,
html[data-theme="dark"] .site-footer,
html[data-theme="dark"] .footer-note,
html[data-theme="dark"] .architecture-diagram figcaption { color: #aab4c2; }
html[data-theme="dark"] .feature-card,
html[data-theme="dark"] .deploy-group,
html[data-theme="dark"] .dashboard-showcase__image,
html[data-theme="dark"] .detail-shot { background: #121c2a; border-color: #263241; }
html[data-theme="dark"] .button--secondary { color: #f8fafc; background: #121c2a; border-color: #344155; }
html[data-theme="dark"] .button--secondary:hover { border-color: #f8fafc; }
html[data-theme="dark"] .doc-link-row a,
html[data-theme="dark"] .use-case-row strong,
html[data-theme="dark"] .footer-links a,
html[data-theme="dark"] .primary-nav a:hover { color: #4ee2a8; }
html[data-theme="dark"] .section-label { color: #4ee2a8; }
html[data-theme="dark"] .architecture-diagram { background: #10251d; border-color: #254739; }
html[data-theme="dark"] .diagram-node rect { fill: #121c2a; stroke: #315945; }
html[data-theme="dark"] .diagram-node text { fill: #f8fafc; }
html[data-theme="dark"] .diagram-node text + text { fill: #aab4c2; }
html[data-theme="dark"] .diagram-node--endpoint rect { fill: #06100c; stroke: #31d996; }
html[data-theme="dark"] .diagram-node--dashboard rect { fill: #18182f; stroke: #6f68bf; }
html[data-theme="dark"] .production-callout { color: #d6eee5; background: #0f241d; border-color: #2f5a47; }
html[data-theme="dark"] .production-callout h3 { color: #f8fafc; }
html[data-theme="dark"] .production-callout li::before { color: #06100c; background: #4ee2a8; }
html[data-theme="dark"] .footer-links a:hover { color: #7df0bd; }
html[data-theme="dark"] .footer-github-icon { border-color: #344155; background: rgba(255, 255, 255, 0.03); }
html[data-theme="dark"] .footer-links .footer-github-icon:hover { color: #0b1220; background: #f8fafc; border-color: #f8fafc; }

@media (max-width: 1120px) {
  .primary-nav { gap: 13px; font-size: 0.84rem; }
  .hero__inner, .quick-start-layout { grid-template-columns: 1fr; }
  .hero-terminal { max-width: 720px; }
  .feature-grid, .feature-grid--dashboard, .compatibility-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 920px) {
  :root { --header-height: 66px; }
  .menu-button { display: inline-flex; position: relative; }
  .primary-nav { position: absolute; top: calc(100% + 1px); left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 18px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.98); box-shadow: var(--shadow-tight); }
  .primary-nav--open { display: flex; }
  .primary-nav a { min-height: 48px; }
  .theme-toggle, .nav-icon { margin-top: 8px; width: 100%; }
  html[data-theme="dark"] .primary-nav { border-bottom-color: #263241; background: rgba(11, 18, 32, 0.98); }
  .hero, .hero__inner { min-height: auto; }
  .hero__inner { padding: 92px 0 54px; gap: 34px; }
  .hero h1 { font-size: 3.25rem; }
  .section-heading h2, .final-cta h2 { font-size: 2.45rem; }
  .proof-strip__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-strip span { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .section { padding: 82px 0; }
  .use-case-row { grid-template-columns: 1fr; gap: 12px; }
  .deploy-grid, .dashboard-showcase__details, .site-footer { grid-template-columns: 1fr; }
  .footer-note { flex-direction: column; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .site-header__inner, .container, .site-footer { width: min(100% - 32px, 1220px); }
  .hero__inner { padding-top: 72px; }
  .hero h1 { font-size: 2.35rem; line-height: 1.04; }
  .hero__copy > p:not(.section-label) { font-size: 1rem; }
  .hero__actions, .section-actions, .code-tabs__header { align-items: stretch; flex-direction: column; }
  .button, .hero__actions .button { width: 100%; }
  .hero__actions .button--icon, .section-actions .button--icon { width: 44px; min-width: 44px; align-self: center; }
  .hero-terminal pre, .code-block { padding: 18px; font-size: 0.82rem; }
  .proof-strip__inner, .feature-grid, .feature-grid--three, .feature-grid--dashboard, .compatibility-groups { grid-template-columns: 1fr; }
  .proof-strip span { min-height: 62px; }
  .section-heading { margin-bottom: 34px; }
  .section-heading h2, .final-cta h2 { font-size: 2rem; }
  .feature-card, .deploy-group, .production-callout, .architecture-diagram { padding: 20px; }
  .pull-quote { font-size: 1.45rem; }
  .client-list span, .doc-link-row a { width: 100%; }
  .operation-group summary { align-items: flex-start; flex-direction: column; justify-content: center; gap: 2px; padding: 14px 18px; }
  .quick-start-layout { gap: 34px; }
  .code-tabs__tablist { width: 100%; }
  .code-tabs__tab { flex: 1; }
  .footer-links { grid-template-columns: 1fr; }
}

@media (max-width: 390px) {
  .hero h1 { font-size: 2.18rem; }
}

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