/* works-in-staging.dev — no framework, no external fonts, no guarantees. */

:root {
  color-scheme: dark;
  --bg: #07111c;
  --bg-deep: #050c15;
  --surface: #111e2c;
  --surface-high: #172433;
  --line: #2a3a4e;
  --line-soft: #1b2a3a;
  --text: #f1f4fc;
  --text-secondary: #d2dceb;
  --muted: #a8b7cb;
  --faint: #879bb3;
  --mint: #68edbc;
  --cyan: #63d9fb;
  --link: #80bdff;
  --violet: #8d83ff;
  --warning: #ffcd85;
  --danger: #ff9595;
  --radius: 13px;
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --mono: "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --shadow: 0 16px 45px #00000020;
}

/* Foundations */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: absolute; z-index: -1; top: 0; left: 0; right: 0; height: 860px; pointer-events: none; background: radial-gradient(ellipse at 80% 0%, #18305238, transparent 63%); }
a { color: inherit; text-decoration: none; }
button, input, summary { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
button, summary, a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .66; }
button, a, summary { -webkit-tap-highlight-color: #8171ff35; }
img { display: block; max-width: 100%; height: auto; }
svg { flex-shrink: 0; }
figure, blockquote, p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h2 { font-size: clamp(25px, 2.3vw, 34px); line-height: 1.22; font-weight: 730; letter-spacing: -.036em; }
h3 { font-weight: 650; }
button, summary { color: inherit; }
[hidden] { display: none !important; }
::selection { background: #8f80ff55; color: #fff; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 5px; border-radius: 4px; }
.shell { width: min(1520px, calc(100% - 112px)); margin-inline: auto; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: inline-block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.muted { color: var(--muted); }
.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; z-index: 100; top: 12px; left: 16px; padding: 12px 18px; border-radius: 8px; background: var(--mint); color: var(--bg-deep); font-weight: 700; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.anchor-target { scroll-margin-top: 16px; }
.eyebrow { display: flex; align-items: center; gap: 9px; font-family: var(--mono); color: var(--muted); font-size: 10px; font-weight: 500; line-height: 1.6; letter-spacing: .11em; }
.status-dot { display: inline-block; width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px #68edbc0d, 0 0 12px #68edbc2b; }
.gradient-text { color: var(--cyan); background: linear-gradient(105deg, #d373e8 3%, #aa7eff 31%, #5dbbf9 61%, #4cddde 96%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.button-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 51px; padding: 12px 21px; border: 1px solid transparent; border-radius: 9px; font-size: 14px; line-height: 1.4; font-weight: 650; text-align: center; transition: background-color .18s, border-color .18s, box-shadow .18s, transform .18s; }
.button:hover:not(:disabled) { transform: translateY(-2px); }
.button:active:not(:disabled) { transform: translateY(0); }
.button-primary { color: #fff; background: linear-gradient(115deg, #5942ec, #3f67ed); border-color: #9385ff6e; box-shadow: inset 0 1px 0 #ffffff1f, 0 5px 22px #4033bc24; }
.button-primary:hover:not(:disabled) { background: linear-gradient(115deg, #6b4ff9, #4675fa); box-shadow: 0 6px 28px #6250f445; }
.button-secondary { color: #e0e8fa; border-color: #3c5070; background: linear-gradient(115deg, #111e2d, #0e1826); box-shadow: inset 0 1px 0 #ffffff07; }
.button-secondary:hover { border-color: #7185bd; background: #19263a; }
.button-arrow { margin-left: 4px; }
.button-small { min-height: 40px; padding: 9px 14px; font-size: 12px; border-radius: 7px; gap: 8px; }
.button-small .icon { width: 16px; height: 16px; }
.button-quiet { background: transparent; border-color: transparent; color: var(--muted); }
.button-quiet:hover { color: #fff; background: #ffffff08; }
.text-button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 0; border: 0; background: none; color: var(--link); font-size: 13px; font-weight: 600; text-align: left; }
.text-button:hover { color: #c6e1ff; }
.text-button .icon { width: 17px; height: 17px; }

/* Navigation */
.site-header { position: sticky; top: 0; z-index: 20; background: #07111cf2; border-bottom: 1px solid var(--line-soft); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.header-inner { display: flex; min-height: 78px; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; white-space: nowrap; font-weight: 720; font-size: 18px; letter-spacing: -.5px; }
.brand-mark { display: inline-flex; width: 29px; height: 29px; align-items: center; justify-content: center; flex: 0 0 29px; border-radius: 7px; background: linear-gradient(135deg, #fff, #d7e6ff); box-shadow: 0 0 20px #a8ccff0a; }
.brand-mark .icon { color: #3d64a4; width: 22px; height: 22px; stroke-width: 1.85; }
.brand-tld { color: #c3d2eb; }
.desktop-nav { display: flex; gap: 27px; margin-left: auto; align-items: center; }
.desktop-nav a { font-size: 12px; color: var(--text-secondary); padding-block: 12px; }
.desktop-nav a:hover { color: var(--cyan); }
.header-actions { display: flex; align-items: center; gap: 21px; }
.environment-label { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); color: var(--mint); font-size: 9px; letter-spacing: .08em; white-space: nowrap; }
.mobile-menu { display: none; position: relative; }
.mobile-menu > summary { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 7px; cursor: pointer; list-style: none; }
.mobile-menu > summary::-webkit-details-marker { display: none; }
.mobile-menu[open] > summary { border-color: var(--violet); background: var(--surface-high); }
.mobile-menu nav { position: absolute; right: 0; top: 54px; width: 250px; padding: 8px; background: #111c2b; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 20px 60px #0008; }
.mobile-menu nav a { display: flex; justify-content: space-between; padding: 12px 14px; border-radius: 5px; font-size: 14px; }
.mobile-menu nav a:hover { background: #8a8fff13; }

/* Hero — real editable HTML layered alongside the extracted illustration. */
.hero { position: relative; isolation: isolate; min-height: 452px; }
.hero-copy { position: relative; z-index: 2; padding: 43px 0 39px; width: 69%; }
.hero-copy > .eyebrow { margin-bottom: 17px; }
.hero h1 { font-size: clamp(40px, 3.72vw, 62px); line-height: 1.075; font-weight: 780; letter-spacing: -.054em; margin-left: -2px; }
.hero h1 > span { display: block; }
.hero-description { max-width: 555px; margin-top: 21px; font-size: 17px; line-height: 1.6; color: #dfe6f3; text-wrap: pretty; }
.hero .button-row { margin-top: 25px; }
.hero-promises { display: flex; flex-wrap: wrap; align-items: center; gap: 23px; padding: 0; margin: 20px 0 0; list-style: none; color: #c4d0e2; font-size: 11px; }
.hero-promises li { display: inline-flex; align-items: center; gap: 8px; }
.check-badge { display: inline-flex; width: 17px; height: 17px; border-radius: 50%; align-items: center; justify-content: center; background: var(--mint); color: #0d4b39; }
.check-badge .icon { width: 14px; height: 14px; stroke-width: 2.5; }
.fine-note { margin-top: 11px; font-size: 10px; color: var(--muted); }
.hero-visual { position: absolute; z-index: 1; right: -30px; bottom: 0; width: 57.5%; pointer-events: none; }
/* A stable frame prevents layout shifts when illustrations have different ratios. */
.hero-art { position: relative; width: 100%; height: auto; aspect-ratio: 861 / 426; object-fit: cover; object-position: var(--hero-position, 50% 50%); }
/* The original has its own transparent edges; blend only the new full-frame artwork. */
.hero-visual.has-alternate-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, var(--bg), transparent 15%, transparent 98%, var(--bg)), linear-gradient(180deg, var(--bg), transparent 8%, transparent 95%, var(--bg)); }
.scene-glow { position: absolute; inset: 0 8% 7% 15%; background: radial-gradient(ellipse at 22% 30%, #2557c522, transparent 58%), radial-gradient(ellipse at 85% 45%, #d2523414, transparent 55%); filter: blur(30px); }
.hero-visual figcaption { position: absolute; z-index: 2; bottom: 0; right: 24px; padding: 3px 7px; color: var(--faint); background: #07111caa; font-family: var(--mono); font-size: 8px; letter-spacing: .08em; }

/* Feature cards */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; position: relative; z-index: 3; }
.feature-card { display: grid; grid-template-columns: 87px minmax(0, 1fr); align-items: center; gap: 15px; padding: 20px 19px 20px 13px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(115deg, #14212e, #111b29 80%); box-shadow: inset 0 1px 0 #ffffff06, var(--shadow); }
.feature-card > img { width: 100%; max-height: 98px; object-fit: contain; }
.feature-card h3 { margin-bottom: 7px; font-size: 16px; line-height: 1.25; letter-spacing: -.015em; }
.feature-card p { color: var(--text-secondary); font-size: 13px; line-height: 1.6; }

/* Testimonials */
.testimonials { margin-top: 28px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 23px; }
.compact-heading { align-items: center; margin-bottom: 13px; }
.compact-heading h2 { font-size: 16px; letter-spacing: -.014em; font-weight: 650; line-height: 1.4; }
.compact-heading h2 .muted { color: var(--text-secondary); }
.section-aside { color: var(--faint); font-size: 11px; text-align: right; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.testimonial-card { display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: center; gap: 17px; padding: 18px; background: linear-gradient(110deg, #14212e, #101b28); border: 1px solid #263849; border-radius: var(--radius); }
.testimonial-card > img { width: 72px; border-radius: 50%; }
.testimonial-card blockquote { margin-bottom: 8px; font-size: 13px; line-height: 1.55; color: #e5ebf5; }
.testimonial-card figcaption strong { display: block; font-size: 12px; font-weight: 600; }
.testimonial-card figcaption span { display: block; font-size: 10px; color: var(--muted); line-height: 1.5; }

/* Completely unscientific metrics */
.stats-strip { display: grid; grid-template-columns: 1.08fr 1fr 1.12fr .9fr; align-items: stretch; margin-top: 16px; border: 1px solid #344457; border-radius: var(--radius); background: linear-gradient(100deg, #0c1723, #0b1521); overflow: hidden; }
.stat { display: flex; align-items: center; gap: 17px; padding: 21px 26px; position: relative; }
.stat::after { content: ""; position: absolute; top: 14px; bottom: 14px; width: 1px; right: 0; background: linear-gradient(transparent, #30435a, transparent); }
.stat-icon { width: 35px; height: 35px; color: var(--mint); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.stat p { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 13px; row-gap: 0; line-height: 1.25; }
.stat strong { color: var(--cyan); font-size: 29px; font-weight: 740; letter-spacing: -.04em; white-space: nowrap; }
.stat .white-number { color: #f0f4ff; }
.stat p > span { font-size: 12px; white-space: nowrap; }
.stat small { display: block; font-size: 10px; color: var(--muted); margin-top: 6px; }
.analyst-quote { padding: 17px 21px; align-self: center; }
.analyst-quote blockquote { font-size: 12px; font-style: italic; line-height: 1.5; }
.analyst-quote figcaption { font-size: 9px; color: var(--faint); margin-top: 4px; }

/* The interactive sandbox is an optional enhancement to the static page. */
.section-block { margin-top: 64px; }
.playground { border-top: 1px solid var(--line-soft); padding-top: 43px; }
.section-heading .eyebrow { margin-bottom: 11px; font-size: 9px; color: var(--violet); }
.section-description { color: var(--muted); font-size: 13px; margin-top: 11px; }
.outline-label { display: inline-flex; align-items: center; gap: 9px; padding: 7px 11px; border: 1px solid #29453f; border-radius: 5px; background: #63dfb406; color: #a6d9c9; font-family: var(--mono); font-size: 8px; letter-spacing: .04em; white-space: nowrap; margin-bottom: 2px; }
.mobile-break { display: none; }
.playground-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 20px; }
.terminal-panel { min-width: 0; border: 1px solid #334258; border-radius: var(--radius); background: #070e18; overflow: hidden; box-shadow: var(--shadow); }
.terminal-chrome { display: flex; align-items: center; gap: 13px; min-height: 42px; padding: 0 19px; border-bottom: 1px solid #263447; background: linear-gradient(110deg, #1c2837, #131d2b); }
.window-dots { display: inline-flex; gap: 5px; }
.window-dots i { width: 7px; height: 7px; border-radius: 50%; background: #fa7776; }
.window-dots i:nth-child(2) { background: #e8bc65; }
.window-dots i:nth-child(3) { background: #65c991; }
.terminal-chrome h3 { font-family: var(--mono); font-size: 10px; font-weight: 400; color: #bbc9dc; }
.terminal-environment { margin-left: auto; font-family: var(--mono); font-size: 9px; color: var(--mint); }
.terminal-environment.is-production { color: var(--danger); }
.terminal-command { padding: 20px 22px 11px; font-family: var(--mono); color: #e9e5ff; font-size: 12px; overflow-wrap: anywhere; }
.terminal-command > span { color: var(--violet); padding-right: 8px; }
.terminal-log { height: 176px; overflow-y: auto; overscroll-behavior-y: contain; scrollbar-width: thin; scrollbar-color: #354963 transparent; padding: 3px 22px 16px; font-family: var(--mono); font-size: 11px; line-height: 1.85; }
.log-line { display: grid; grid-template-columns: 43px minmax(0, 1fr); gap: 10px; padding-block: 2px; }
.log-line time { color: #7d91a8; user-select: none; }
.log-line span { overflow-wrap: anywhere; }
.log-success { color: #8bdbb8; }
.log-warning { color: var(--warning); }
.log-error { color: var(--danger); }
.log-muted { color: #98abc3; }
.terminal-controls { padding: 15px 21px 17px; border-top: 1px solid #1b293a; background: #0d1723; }
.terminal-controls .button-row { gap: 7px; }
.simulation-status { margin-top: 10px; min-height: 15px; font-size: 10px; color: var(--muted); }
.excuse-panel { position: relative; padding: 22px 27px 20px; background: radial-gradient(ellipse at 100% 0%, #63508a22, transparent 70%), linear-gradient(140deg, #142033, #0f1c2a); border: 1px solid #3b3755; border-radius: var(--radius); }
.excuse-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.excuse-top .eyebrow { font-size: 8px; color: #b0a5dd; }
.excuse-top > .icon { color: #9f9aec; }
.excuse-panel h3 { font-size: 29px; line-height: 1.15; letter-spacing: -.035em; margin: 17px 0 10px; }
.excuse-panel > p:not(.excuse-disclaimer) { font-size: 12px; color: var(--muted); max-width: 265px; }
.excuse-panel blockquote { min-height: 65px; font-size: 15px; line-height: 1.5; padding-left: 13px; border-left: 2px solid #8578d2; margin: 20px 0 4px; color: #ede7ff; }
.excuse-panel > .text-button { font-size: 11px; }
.excuse-disclaimer { font-family: var(--mono); font-size: 7px; letter-spacing: .03em; color: var(--muted); margin-top: 14px; }

/* Useful documents for entirely fictional outages. Native details work without JS. */
.field-manual { margin-top: 47px; }
.document-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 19px; }
.document-card { padding: 23px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(135deg, #121e2c, #0d1825); }
.document-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-family: var(--mono); font-size: 8px; letter-spacing: .05em; color: var(--muted); }
.document-label > span:first-child { display: inline-flex; align-items: center; gap: 7px; }
.document-label .icon { width: 14px; height: 14px; color: var(--violet); }
.severity-label { color: #ffb1a3; background: #ed736515; border: 1px solid #ed736529; border-radius: 3px; padding: 3px 5px; white-space: nowrap; }
.document-revision { color: #93a7bf; font-size: 7px; letter-spacing: 0; text-align: right; }
.document-card h3 { font-size: 21px; line-height: 1.35; letter-spacing: -.025em; margin: 19px 0 12px; text-wrap: pretty; }
.document-card > p { color: var(--muted); font-size: 12px; min-height: 57px; }
.document-card details { border-top: 1px solid var(--line); margin-top: 20px; }
.document-card summary { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 47px; padding-top: 8px; cursor: pointer; font-size: 11px; color: var(--link); list-style: none; }
.document-card summary::-webkit-details-marker { display: none; }
.document-card summary .icon { width: 15px; height: 15px; transition: transform .2s; }
details[open] > summary .icon { transform: rotate(180deg); }
.document-card details[open] summary { padding-bottom: 13px; }
.timeline { list-style: none; padding: 4px 0 0; margin: 0; }
.timeline li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 8px 0; border-bottom: 1px solid #243244; font-size: 11px; color: var(--text-secondary); }
.timeline li:last-child { border-bottom: 0; }
.timeline time { font-family: var(--mono); color: var(--violet); font-size: 10px; }
.runbook-list { padding: 0 0 0 20px; margin: 0; color: var(--text-secondary); font-size: 11px; }
.runbook-list li { padding: 5px 0 5px 4px; }
.runbook-list li::marker { color: var(--violet); font-family: var(--mono); }
.runbook-note { margin-top: 15px; font-size: 10px; font-style: italic; color: var(--muted); }
.incident-report { padding-top: 4px; color: var(--text-secondary); font-size: 11px; }
.incident-report p + p { margin-top: 10px; }
.incident-report strong { color: #e8edf8; font-weight: 600; }
.document-card .text-button { margin-top: 9px; font-size: 10px; }
.copy-status { font-size: 10px; color: var(--mint); }

/* Pricing: a joke, not a checkout. */
.pricing-panel { display: flex; align-items: center; justify-content: space-between; gap: 35px; margin-top: 42px; padding: 31px 38px; border: 1px solid #433d65; border-radius: var(--radius); background: radial-gradient(ellipse at 100% 70%, #3f2d7925, transparent 70%), linear-gradient(105deg, #131f31, #111828); }
.pricing-panel .eyebrow { color: #b1a3ef; font-size: 9px; margin-bottom: 11px; }
.pricing-panel h2 { font-size: 28px; }
.pricing-panel > div > p:not(.eyebrow):not(.price) { margin-top: 11px; font-size: 12px; color: var(--muted); }
.pricing-cta { flex-shrink: 0; text-align: center; }
.price { font-size: 37px; font-weight: 720; letter-spacing: -.06em; line-height: 1.1; margin-bottom: 14px; }
.price > span { font-family: var(--mono); font-size: 11px; color: var(--muted); font-weight: 400; letter-spacing: 0; margin-left: 9px; }
.pricing-cta .button { min-height: 42px; font-size: 12px; }
.pricing-cta > span { display: block; margin-top: 9px; font-size: 9px; color: var(--muted); }
.fine-print { margin: 24px 0 31px; color: var(--muted); }
.fine-print > summary { display: flex; justify-content: center; gap: 9px; align-items: center; padding: 10px; font-size: 10px; cursor: pointer; list-style: none; text-align: center; }
.fine-print > summary::-webkit-details-marker { display: none; }
.fine-print > summary .icon { width: 13px; height: 13px; }
.fine-print > div { max-width: 850px; margin: 12px auto 0; padding: 24px; border: 1px solid var(--line-soft); border-radius: 9px; background: #111e2a; font-size: 12px; }
.fine-print p + p { margin-top: 10px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: #060f19; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-top: 26px; padding-bottom: 23px; }
.footer-brand .brand { font-size: 13px; gap: 10px; letter-spacing: -.025em; }
.footer-brand .brand-mark { width: 26px; height: 26px; flex-basis: 26px; }
.footer-brand .brand-mark .icon { width: 18px; height: 18px; }
.footer-brand > p { padding-left: 36px; margin-top: -1px; font-size: 10px; color: var(--muted); }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 25px; }
.footer-inner nav a { font-size: 10px; color: var(--muted); }
.footer-inner nav a:hover { color: var(--link); }
.footer-signoff { text-align: right; font-size: 11px; color: var(--muted); line-height: 1.65; }
.footer-signoff strong { color: #d3ddef; font-weight: 400; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 14px 18px; border-top: 1px solid #1a2737; color: #91a3ba; font-size: 8px; }
.footer-build { font-family: var(--mono); }
.toast { position: fixed; z-index: 50; bottom: 24px; left: 50%; width: max-content; max-width: min(520px, calc(100% - 36px)); padding: 13px 19px; border: 1px solid #63618b; border-radius: 9px; background: #192137fa; box-shadow: 0 12px 50px #0008; color: #ececff; font-size: 12px; text-align: center; opacity: 0; transform: translate(-50%, 15px); pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Responsive layout: image stays a major focal point, including on small screens. */
@media (min-width: 1600px) {
  .hero { min-height: 500px; }
  .hero-copy { padding-top: 58px; }
  .hero-description { max-width: 590px; font-size: 18px; }
  .hero .button-row { margin-top: 28px; }
  .hero-promises { font-size: 12px; }
  .fine-note { font-size: 11px; }
  .feature-card { padding-block: 23px; grid-template-columns: 100px minmax(0, 1fr); }
  .feature-card h3 { font-size: 18px; }
  .feature-card p, .testimonial-card blockquote { font-size: 14px; }
  .compact-heading h2 { font-size: 18px; }
  .testimonial-card { grid-template-columns: 80px minmax(0, 1fr); padding: 20px; }
  .testimonial-card > img { width: 80px; }
  .stat strong { font-size: 33px; }
}
@media (max-width: 1250px) {
  .shell { width: calc(100% - 72px); }
  .header-inner { gap: 23px; }
  .desktop-nav { gap: 20px; }
  .environment-label { display: none; }
  .hero { min-height: 437px; }
  .hero-description { max-width: 480px; font-size: 16px; }
  .hero-copy { width: 70%; }
  .hero-promises { gap: 17px; }
  .feature-card { grid-template-columns: 70px minmax(0, 1fr); gap: 10px; padding: 18px 14px 18px 9px; }
  .feature-card h3 { font-size: 15px; }
  .feature-card p { font-size: 12px; }
  .testimonial-card { grid-template-columns: 58px minmax(0, 1fr); padding: 15px; gap: 13px; }
  .testimonial-card > img { width: 58px; }
  .testimonial-card blockquote { font-size: 12px; }
  .stat { padding-inline: 18px; gap: 12px; }
  .stat-icon { width: 30px; height: 30px; }
  .stat p { flex-direction: column; }
  .stat p > span { font-size: 11px; }
  .stat strong { font-size: 28px; }
  .document-card { padding: 20px; }
  .document-revision { display: none; }
  .document-card h3 { font-size: 19px; }
}
@media (max-width: 1050px) {
  .header-inner { min-height: 73px; }
  .desktop-nav { display: none; }
  .header-actions { margin-left: auto; gap: 14px; }
  .mobile-menu { display: block; }
  .environment-label { display: inline-flex; }
  .hero { display: flex; flex-direction: column; min-height: 0; }
  .hero-copy { width: 100%; padding: 43px 0 15px; }
  .hero h1 { font-size: clamp(43px, 5.8vw, 58px); max-width: 920px; }
  .hero-description { max-width: 610px; font-size: 17px; }
  .hero-visual { position: relative; inset: auto; align-self: center; width: min(100%, 860px); margin-top: -2px; margin-bottom: 19px; }
  .hero-visual figcaption { right: 20px; }
  .feature-card { display: flex; align-items: flex-start; flex-direction: column; gap: 13px; padding: 21px; }
  .feature-card > img { width: 80px; height: 75px; object-fit: contain; }
  .feature-card h3 { font-size: 16px; min-height: 40px; }
  .feature-card p { font-size: 13px; }
  .compact-heading { align-items: start; }
  .compact-heading .section-aside { max-width: 145px; flex-shrink: 0; }
  .testimonial-card { display: block; padding: 21px; }
  .testimonial-card > img { width: 58px; margin-bottom: 13px; }
  .testimonial-card blockquote { font-size: 13px; min-height: 100px; }
  .stats-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats-strip .stat:nth-child(3)::after { display: none; }
  .analyst-quote { grid-column: 1 / -1; border-top: 1px solid var(--line-soft); padding: 13px 22px; text-align: center; }
  .analyst-quote blockquote, .analyst-quote figcaption { display: inline; }
  .analyst-quote blockquote br { display: none; }
  .analyst-quote figcaption { margin-left: 12px; }
  .playground-heading { align-items: start; }
  .outline-label { margin-top: 3px; }
  .playground-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; }
  .excuse-panel { padding: 23px 21px; }
  .excuse-panel h3 { font-size: 28px; }
  .excuse-top .eyebrow { font-size: 7px; }
  .excuse-top > .icon { width: 16px; height: 16px; }
  .excuse-disclaimer { font-size: 6px; }
  .terminal-log { font-size: 10px; height: 188px; }
  .terminal-command { font-size: 11px; }
  .terminal-controls .button { padding-inline: 10px; font-size: 10px; }
  .field-manual .section-heading { align-items: start; }
  .field-manual .section-aside { max-width: 180px; }
  .document-grid { gap: 14px; }
  .document-card { padding: 19px; }
  .document-card h3 { font-size: 18px; }
  .document-card h3 br { display: none; }
  .document-label { font-size: 7px; }
  .severity-label { font-size: 6px; }
  .document-card > p { font-size: 11px; min-height: 70px; }
  .document-card summary { font-size: 10px; }
  .pricing-panel { padding: 30px; }
  .pricing-panel h2 { font-size: 25px; }
  .footer-inner nav { gap: 17px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 87px; }
  .shell { width: calc(100% - 42px); }
  .anchor-target { scroll-margin-top: 14px; }
  .header-inner { min-height: 69px; }
  .brand { font-size: 16px; }
  .environment-label { display: none; }
  .hero-copy { padding-top: 35px; }
  .hero h1 { font-size: clamp(39px, 7vw, 50px); letter-spacing: -.05em; }
  .hero-copy .eyebrow { font-size: 9px; }
  .hero-description { max-width: 550px; font-size: 16px; }
  .hero-visual { margin-top: 3px; }
  .feature-grid { grid-template-columns: 1fr; gap: 12px; }
  .feature-card { display: grid; grid-template-columns: 90px minmax(0, 1fr); align-items: center; padding: 20px; gap: 19px; }
  .feature-card > img { width: 90px; height: 88px; }
  .feature-card h3 { min-height: 0; font-size: 17px; }
  .feature-card p { font-size: 14px; }
  .compact-heading { display: block; margin-bottom: 17px; }
  .compact-heading h2 { font-size: 18px; }
  .compact-heading .section-aside { display: block; text-align: left; max-width: none; margin-top: 8px; }
  .testimonial-grid { grid-template-columns: 1fr; gap: 12px; }
  .testimonial-card { display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: center; gap: 19px; }
  .testimonial-card > img { width: 72px; margin-bottom: 0; }
  .testimonial-card blockquote { min-height: 0; font-size: 14px; }
  .testimonial-card figcaption strong { font-size: 12px; }
  .testimonial-card figcaption span { font-size: 11px; }
  .stats-strip { margin-top: 17px; }
  .stat { display: block; padding: 18px 15px; text-align: center; }
  .stat-icon { width: 30px; height: 30px; margin-bottom: 7px; }
  .stat p { align-items: center; }
  .stat strong { font-size: 26px; }
  .stat p > span { font-size: 10px; }
  .stat small { font-size: 9px; line-height: 1.6; }
  .analyst-quote { padding: 13px 15px; }
  .analyst-quote blockquote { font-size: 11px; }
  .analyst-quote figcaption { font-size: 8px; }
  .section-block { margin-top: 43px; }
  .playground { padding-top: 31px; }
  .section-heading { display: block; margin-bottom: 21px; }
  .section-heading .eyebrow { font-size: 8px; }
  .outline-label { margin-top: 16px; }
  .section-description { font-size: 13px; }
  .playground-grid { grid-template-columns: 1fr; gap: 16px; }
  .terminal-log { height: 195px; font-size: 11px; }
  .terminal-command { font-size: 12px; }
  .terminal-controls .button { font-size: 12px; padding-inline: 13px; }
  .excuse-panel { padding: 25px; }
  .excuse-top .eyebrow { font-size: 9px; }
  .excuse-top > .icon { width: 20px; height: 20px; }
  .excuse-panel h3 { font-size: 30px; }
  .excuse-panel > p:not(.excuse-disclaimer) { max-width: none; font-size: 13px; }
  .excuse-panel blockquote { min-height: 0; margin-block: 21px 10px; font-size: 17px; }
  .excuse-panel > .text-button { font-size: 13px; }
  .excuse-disclaimer { font-size: 8px; margin-top: 16px; }
  .field-manual .section-aside { display: block; max-width: none; text-align: left; margin-top: 12px; font-size: 12px; }
  .document-grid { grid-template-columns: 1fr; gap: 14px; }
  .document-card { padding: 24px; }
  .document-label { font-size: 9px; }
  .severity-label { font-size: 8px; }
  .document-revision { display: block; font-size: 8px; }
  .document-card h3 { font-size: 23px; margin-top: 20px; }
  .document-card > p { min-height: 0; font-size: 13px; }
  .document-card summary { font-size: 12px; padding-top: 13px; }
  .timeline li, .runbook-list, .incident-report { font-size: 13px; }
  .timeline time { font-size: 11px; }
  .runbook-note { font-size: 12px; }
  .document-card .text-button { font-size: 12px; }
  .pricing-panel { display: block; padding: 28px 25px; }
  .pricing-panel h2 { font-size: 27px; }
  .pricing-panel > div > p:not(.eyebrow):not(.price) { font-size: 13px; }
  .pricing-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 26px; text-align: left; }
  .price { margin: 0; }
  .pricing-cta > span { width: 100%; margin-top: 3px; }
  .fine-print { margin-block: 20px 23px; }
  .fine-print > summary { font-size: 10px; padding-inline: 0; justify-content: space-between; text-align: left; }
  .fine-print > div { padding: 19px; }
  .footer-inner { flex-wrap: wrap; align-items: start; gap: 24px; padding-block: 25px; }
  .footer-inner nav { gap: 23px; width: 100%; order: 3; }
  .footer-inner nav a { font-size: 12px; }
  .footer-signoff { margin-left: auto; }
  .footer-bottom { flex-wrap: wrap; gap: 7px 15px; font-size: 9px; }
  .footer-bottom > span:nth-child(2) { width: 100%; order: 3; }
  .footer-build { margin-left: auto; }
}
@media (max-width: 480px) {
  .shell { width: calc(100% - 36px); }
  .header-inner { min-height: 65px; gap: 14px; }
  .brand { font-size: 15px; gap: 8px; letter-spacing: -.5px; }
  .brand-mark { width: 27px; height: 27px; flex-basis: 27px; }
  .header-cta { display: none; }
  .hero-copy { padding-top: 31px; }
  .hero-copy > .eyebrow { font-size: 7px; letter-spacing: .08em; margin-bottom: 16px; }
  .hero h1 { font-size: clamp(34px, 9.3vw, 43px); line-height: 1.085; }
  .hero-description { font-size: 15px; line-height: 1.65; margin-top: 18px; }
  .hero .button-row { gap: 9px; margin-top: 23px; }
  .hero .button { flex: 1; padding: 12px 9px; font-size: 12px; gap: 7px; min-height: 48px; }
  .hero .button .icon { width: 16px; height: 16px; }
  .hero .button-arrow { display: none; }
  .hero-promises { font-size: 9px; gap: 12px 15px; margin-top: 18px; }
  .hero-promises li { gap: 5px; }
  .check-badge { width: 14px; height: 14px; }
  .check-badge .icon { width: 11px; height: 11px; }
  .fine-note { font-size: 9px; margin-top: 12px; }
  .hero-visual { width: calc(100% + 24px); max-width: none; margin-top: 8px; margin-bottom: 15px; }
  .hero-visual figcaption { display: none; }
  .feature-card { padding: 18px 16px 18px 12px; grid-template-columns: 68px minmax(0, 1fr); gap: 13px; }
  .feature-card > img { width: 68px; height: 72px; }
  .feature-card h3 { font-size: 15px; }
  .feature-card p { font-size: 12px; }
  .testimonial-card { padding: 18px 16px; grid-template-columns: 59px minmax(0, 1fr); gap: 14px; }
  .testimonial-card > img { width: 59px; }
  .testimonial-card blockquote { font-size: 12px; }
  .testimonial-card figcaption strong { font-size: 11px; }
  .testimonial-card figcaption span { font-size: 10px; }
  .stat { padding: 17px 8px; }
  .stat strong { font-size: 23px; }
  .stat p > span { font-size: 9px; }
  .stat small { font-size: 8px; }
  .stat-icon { width: 26px; height: 26px; }
  .analyst-quote blockquote { font-size: 10px; }
  .analyst-quote figcaption { display: block; margin: 4px 0 0; font-size: 8px; }
  .mobile-break { display: block; }
  h2 { font-size: 25px; }
  .terminal-chrome { padding-inline: 16px; }
  .terminal-command { padding-inline: 16px; font-size: 10px; }
  .terminal-log { padding-inline: 16px; font-size: 10px; height: 206px; }
  .log-line { grid-template-columns: 33px minmax(0, 1fr); gap: 9px; }
  .terminal-controls { padding: 13px 14px 16px; }
  .terminal-controls .button-row { gap: 5px; }
  .terminal-controls .button { font-size: 10px; padding: 9px 8px; }
  .terminal-controls .button-small .icon { width: 13px; height: 13px; }
  .simulation-status { font-size: 9px; }
  .excuse-panel { padding: 22px; }
  .excuse-top .eyebrow { font-size: 8px; }
  .excuse-disclaimer { font-size: 6.5px; }
  .document-card { padding: 22px; }
  .document-revision { font-size: 7px; }
  .document-card h3 { font-size: 22px; }
  .pricing-panel { padding: 25px 22px; }
  .pricing-panel h2 { font-size: 24px; }
  .pricing-cta { display: block; }
  .price { margin-bottom: 17px; }
  .pricing-cta .button { width: 100%; }
  .pricing-cta > span { margin-top: 12px; text-align: center; }
  .footer-brand .brand { font-size: 12px; }
  .footer-brand > p { font-size: 9px; }
  .footer-signoff { font-size: 9px; }
  .footer-inner { gap: 20px 12px; }
  .footer-inner nav { gap: 20px; }
  .footer-inner nav a { font-size: 11px; }
  .footer-bottom { font-size: 8px; }
  .toast { bottom: 16px; padding: 12px 15px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .button:hover:not(:disabled), .button:active:not(:disabled) { transform: none; }
}
@media (forced-colors: active) {
  .gradient-text { -webkit-text-fill-color: currentColor; background: none; }
  .button, .brand-mark, .check-badge { border: 1px solid ButtonText; }
  .status-dot { background: Highlight; }
}
@media print {
  :root { color-scheme: light; }
  html { scroll-padding-top: 0; }
  body { background: white; color: black; }
  .site-header { position: static; background: white; }
  .shell { width: 100%; }
  .hero-visual { opacity: .8; }
  .hero, .feature-card, .testimonial-card, .document-card, .stats-strip { break-inside: avoid; }
  .site-header nav, .header-actions, .hero .button-row, .playground, .toast, .skip-link { display: none; }
  .gradient-text { color: #473568; -webkit-text-fill-color: #473568; }
  .hero-description, .feature-card p, .testimonial-card blockquote, .muted, .document-card > p { color: #333; }
  .feature-card, .testimonial-card, .document-card, .stats-strip, .pricing-panel, .site-footer { color: #111; background: white; box-shadow: none; border-color: #aaa; }
  .section-block { margin-top: 28px; }
  .footer-inner nav { display: none; }
}
