@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  --screen: #0d120b;
  --screen-2: #0a0e08;
  --panel: #10170e;
  --line: #1a2414;
  --phosphor: #7dff9a;
  --ph-dim: #4d6a52;
  --ph-dark: #24351f;
  --amber: #ffb454;
  --red: #ff6b57;
  --cyan: #7de6f4;
  --white: #efffe9;
  --font: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--screen); }
body { margin: 0; color: var(--phosphor); background: var(--screen); font-family: var(--font); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body::before { position: fixed; z-index: 50; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0,0,0,.16) 0 1px, transparent 1px 3px); content: ''; mix-blend-mode: multiply; }
::selection { color: var(--screen); background: var(--phosphor); }
a { color: inherit; }
button, input { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--phosphor); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.chrome { border-bottom: 1px solid var(--line); background: var(--screen-2); }
.title-bar { display: flex; align-items: center; gap: 12px; width: min(1120px, calc(100% - 56px)); min-height: 40px; margin: 0 auto; }
.traffic { display: flex; gap: 6px; }
.traffic i { width: 10px; height: 10px; border: 1px solid var(--line); border-radius: 50%; background: var(--panel); }
.traffic i:first-child { border-color: var(--red); }
.title-id { flex: 1; color: var(--ph-dim); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; }
.title-status { color: var(--phosphor); font-size: .68rem; letter-spacing: .08em; }
.menu-bar { display: flex; align-items: center; gap: 22px; width: min(1120px, calc(100% - 56px)); margin: 0 auto; border-top: 1px solid var(--line); }
.menu-item { padding: 11px 2px; color: var(--ph-dim); font-size: .68rem; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; transition: color 140ms ease; }
.menu-item:hover { color: var(--phosphor); }
.menu-spacer { flex: 1; }
.menu-cta { padding: 8px 14px; color: var(--screen); background: var(--phosphor); font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.menu-cta:hover { color: var(--screen); background: var(--white); }

.hero { padding: clamp(4rem, 7vw, 5.75rem) 28px clamp(4.5rem, 8vw, 6.25rem);
  background: radial-gradient(ellipse at 82% 12%, rgba(125, 255, 154, .08), transparent 42%),
  linear-gradient(var(--screen), var(--screen)); }
.hero-grid { display: grid; grid-template-columns: 1fr minmax(400px, .98fr); align-items: center; gap: clamp(44px, 7vw, 96px); width: min(1120px, 100%); margin: 0 auto; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 20px; color: var(--ph-dim); font-size: .7rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow-dot { width: 7px; height: 7px; background: var(--phosphor); box-shadow: 0 0 10px rgba(125, 255, 154, .7); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
h1 { max-width: 620px; margin-bottom: 24px; font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 700; letter-spacing: -.01em; line-height: 1.04; text-transform: uppercase; }
h1 em { color: var(--white); font-style: normal; text-shadow: 0 0 18px rgba(125, 255, 154, .45); }
.caret { display: inline-block; width: .55em; margin-left: 4px; animation: caret-blink 1s steps(1) infinite; }
@keyframes caret-blink { 50% { opacity: 0; } }
.hero-lede { max-width: 500px; margin-bottom: 30px; color: var(--ph-dim); font-size: .92rem; line-height: 1.8; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 0; padding: 12px 16px; color: var(--ph-dim); border: 1px dashed var(--line); font-size: .72rem; list-style: none; }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof strong { color: var(--phosphor); font-weight: 700; }

.console { position: relative; }
.rack { border: 1px solid var(--line); border-radius: 7px; background: var(--screen-2); box-shadow: 0 0 0 1px rgba(125, 255, 154, .05), 0 18px 50px rgba(0,0,0,.5); overflow: hidden; }
.console-body { padding: 26px; }
.prompt-status { margin: 0 0 14px; color: var(--ph-dim); font-size: .72rem; }
.target-demo { color: var(--amber); }
.card-topline, .progress-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.live-indicator { display: inline-flex; align-items: center; gap: 8px; color: var(--ph-dim); font-size: .66rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.live-indicator > span { width: 7px; height: 7px; background: var(--phosphor); box-shadow: 0 0 8px rgba(125, 255, 154, .8); }
.card-kicker, .feature-label { color: var(--ph-dim); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; }
.capture-intent { display: flex; align-items: center; gap: 10px; margin: 20px 0 0; padding: 10px 0; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); }
.intent-icon { display: grid; width: 28px; height: 28px; flex: 0 0 28px; place-items: center; color: var(--phosphor); border: 1px solid var(--line); background: var(--panel); font-size: .9rem; }
.capture-intent strong, .capture-intent small { display: block; }
.capture-intent strong { margin-bottom: 2px; color: var(--phosphor); font-size: .68rem; letter-spacing: .05em; }
.capture-intent small { color: var(--ph-dim); font-size: .6rem; text-transform: lowercase; }
.intent-badge { margin-left: auto; padding: 4px 8px; color: var(--phosphor); border: 1px solid var(--line); background: var(--panel); font-size: .62rem; letter-spacing: .04em; }
.intent-badge.adaptive { margin-left: 0; color: var(--cyan); }
.card-heading { margin: 26px 0 20px; }
.card-heading h2 { margin-bottom: 8px; font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em; text-transform: uppercase; }
.card-heading p { margin-bottom: 0; color: var(--ph-dim); font-size: .82rem; line-height: 1.7; }
.download-form { display: flex; flex-direction: column; gap: 10px; }
.input-wrap { position: relative; }
.input-icon { position: absolute; top: 50%; left: 15px; color: var(--phosphor); transform: translateY(-50%); font-weight: 700; }
.website-input { width: 100%; min-height: 54px; padding: 0 16px 0 34px; color: var(--phosphor); border: 1px solid var(--line); border-radius: 0; outline: none; background: transparent; font-size: .9rem; transition: border-color 140ms ease, box-shadow 140ms ease; }
.website-input::placeholder { color: var(--ph-dim); }
.website-input:focus { border-color: var(--phosphor); box-shadow: 0 0 0 1px rgba(125, 255, 154, .3); }
.download-button, .result-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; border: 0; border-radius: 7px; color: var(--screen); background: var(--phosphor); cursor: pointer; font-size: .88rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; transition: background 140ms ease, transform 140ms ease, box-shadow 140ms ease; }
.download-button:hover, .result-button:hover { background: var(--white); box-shadow: 0 0 18px rgba(125, 255, 154, .4); transform: translateY(-1px); }
.download-button:active, .result-button:active { transform: translateY(1px); }
.download-button:disabled { cursor: wait; opacity: .6; }
.button-arrow { display: inline-flex; font-size: 1rem; }
.capture-meta { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-top: 18px; color: var(--ph-dim); font-size: .66rem; }
.checkmark { color: var(--phosphor); font-weight: 700; }
.permission-note { margin: 20px 0 0; padding-top: 15px; border-top: 1px dashed var(--line); color: var(--ph-dim); font-size: .62rem; line-height: 1.55; }
.permission-note span { margin-right: 4px; color: var(--amber); }

.progress-panel { margin-top: 22px; padding: 16px; border: 1px solid var(--line); border-radius: 7px; background: var(--screen); text-align: left; }
.progress-summary { color: var(--ph-dim); font-size: .72rem; }
.progress-summary strong { color: var(--phosphor); font-size: .68rem; letter-spacing: .08em; }
.progress-summary div > strong { display: block; }
.progress-summary p { overflow: hidden; margin: 6px 0 0; color: var(--ph-dim); font-size: .68rem; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.download-count { color: var(--ph-dim); font-size: .62rem; white-space: nowrap; }
.download-count span { color: var(--phosphor); font-weight: 700; }
.capture-progress-grid { display: grid; grid-template-columns: 118px 1fr; align-items: center; gap: 20px; margin: 20px 0 16px; }
.progress-orbit { position: relative; display: grid; width: 112px; height: 112px; place-items: center; border-radius: 50%; background: conic-gradient(var(--phosphor) 0deg, var(--line) 0deg); transition: background 400ms ease; }
.progress-orbit::before { position: absolute; inset: 9px; border-radius: 50%; background: var(--screen); content: ''; }
.progress-orbit::after { position: absolute; inset: -3px; border: 1px dashed var(--ph-dark); border-radius: 50%; content: ''; }
.progress-orbit[data-state="discover"] { background: conic-gradient(var(--phosphor) 88deg, var(--line) 88deg); }
.progress-orbit[data-state="collect"] { background: conic-gradient(var(--phosphor) 180deg, var(--line) 180deg); }
.progress-orbit[data-state="package"] { background: conic-gradient(var(--phosphor) 275deg, var(--line) 275deg); }
.progress-orbit[data-state="completed"] { background: conic-gradient(var(--phosphor) 360deg, var(--phosphor) 360deg); }
.progress-orbit[data-state="failed"] { background: conic-gradient(var(--red) 360deg, var(--red) 360deg); }
.orbit-core { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.orbit-core span { color: var(--ph-dim); font-size: .56rem; letter-spacing: .12em; text-transform: uppercase; }
.orbit-core strong { color: var(--phosphor); font-size: 1.3rem; font-weight: 700; letter-spacing: -.04em; }
.progress-steps { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.progress-step { display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 10px; opacity: .45; transition: opacity 140ms ease; }
.progress-step[data-state="active"], .progress-step[data-state="complete"], .progress-step[data-state="failed"] { opacity: 1; }
.step-dot { display: grid; width: 28px; height: 28px; place-items: center; color: var(--ph-dim); border: 1px solid var(--line); font-size: .62rem; transition: all 140ms ease; }
.progress-step[data-state="active"] .step-dot { color: var(--screen); border-color: var(--phosphor); background: var(--phosphor); box-shadow: 0 0 10px rgba(125, 255, 154, .5); }
.progress-step[data-state="complete"] .step-dot { color: var(--screen); border-color: var(--phosphor); background: var(--phosphor); font-size: 0; }
.progress-step[data-state="complete"] .step-dot::before { content: '✓'; font-size: .9rem; }
.progress-step[data-state="failed"] .step-dot { color: var(--screen); border-color: var(--red); background: var(--red); font-size: 0; }
.progress-step[data-state="failed"] .step-dot::before { content: '!'; font-size: .9rem; }
.progress-step strong, .progress-step small { display: block; }
.progress-step strong { color: var(--phosphor); font-size: .7rem; letter-spacing: .03em; text-transform: uppercase; }
.progress-step small { margin-top: 2px; color: var(--ph-dim); font-size: .6rem; }
.progress-track { height: 3px; margin-top: 16px; background: var(--line); }
.progress-track span { display: block; width: 38%; height: 100%; background: var(--amber); animation: progress-pulse 1.8s ease-in-out infinite; }
@keyframes progress-pulse { 0%, 100% { transform: translateX(-105%); } 50% { transform: translateX(245%); } }
.progress-status { margin: 12px 0 0; color: var(--ph-dim); font-size: .66rem; font-weight: 500; }
.log { max-width: 100%; height: 7rem; margin: 10px 0 0; padding: 10px; overflow: auto; overflow-wrap: anywhere; border: 1px solid var(--line); border-radius: 7px; color: var(--ph-dim); background: var(--screen-2); font: .62rem/1.55 var(--font); white-space: pre-wrap; }
.result-button { display: none; width: 100%; margin-top: 13px; text-decoration: none; }
.raw-log { margin-top: 12px; border-top: 1px dashed var(--line); }
.raw-log summary { padding-top: 11px; color: var(--ph-dim); cursor: pointer; font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; list-style: none; }
.raw-log summary::-webkit-details-marker { display: none; }
.raw-log summary::before { display: inline-block; margin-right: 7px; color: var(--phosphor); content: '+'; font-size: .85rem; }
.raw-log[open] summary::before { content: '−'; }
.raw-log .log { margin-bottom: 0; }

.stats-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--screen-2); }
.stats-inner { display: grid; grid-template-columns: repeat(3, 1fr); width: min(1120px, calc(100% - 56px)); margin: 0 auto; }
.stat { display: flex; align-items: center; gap: 14px; min-height: 92px; padding: 18px 26px; border-right: 1px solid var(--line); }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat-prefix { color: var(--phosphor); font-size: .7rem; font-weight: 700; }
.stat strong, .stat small { display: block; }
.stat strong { margin-bottom: 4px; font-size: .72rem; text-transform: uppercase; }
.stat small { color: var(--ph-dim); font-size: .6rem; }

.content-section, .plates, .safety-card { width: min(1120px, calc(100% - 56px)); margin: 0 auto; }
.content-section { padding: clamp(5.5rem, 9vw, 7rem) 0 clamp(5rem, 8vw, 6.5rem); }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(3rem, 6vw, 5rem); align-items: end; margin-bottom: clamp(2.5rem, 4vw, 3.25rem); }
.section-heading .eyebrow { grid-column: 1 / -1; }
.section-heading h2 { max-width: 500px; margin-bottom: 0; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -.01em; line-height: 1.1; text-transform: uppercase; }
.section-heading > p:last-child { max-width: 400px; margin-bottom: 4px; color: var(--ph-dim); font-size: .82rem; line-height: 1.75; }
.feature-ledger { display: flex; flex-direction: column; }
.feature-row { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; padding: 22px 0; border-top: 1px dashed var(--line); }
.feature-row:last-child { border-bottom: 1px dashed var(--line); }
.feature-tag { color: var(--ph-dim); font-size: .66rem; font-weight: 700; letter-spacing: .04em; }
.feature-tag.coral { color: var(--red); }
.feature-tag.cyan { color: var(--cyan); }
.feature-tag.amber { color: var(--amber); }
.feature-row h3 { margin-bottom: 8px; font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em; text-transform: uppercase; }
.feature-row p:not(.feature-label) { max-width: 560px; margin-bottom: 0; color: var(--ph-dim); font-size: .78rem; line-height: 1.7; }
.text-link, .footer-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--phosphor); font-size: .7rem; font-weight: 700; text-decoration: none; text-transform: uppercase; }
.text-link:hover, .footer-link:hover { color: var(--white); }

.plates { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 6rem); padding: 0 0 clamp(5rem, 8vw, 6.5rem); }
.workflow-copy h2 { max-width: 480px; margin-bottom: 18px; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; letter-spacing: -.01em; line-height: 1.1; text-transform: uppercase; }
.workflow-copy > p:last-child { max-width: 420px; color: var(--ph-dim); font-size: .82rem; line-height: 1.8; }
.steps-list { display: flex; flex-direction: column; gap: 0; margin: 0; padding: 0; list-style: none; }
.steps-list li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 20px 0; border-top: 1px dashed var(--line); }
.steps-list li:last-child { border-bottom: 1px dashed var(--line); }
.step-number { color: var(--phosphor); font-size: .7rem; font-weight: 700; }
.steps-list strong { margin-bottom: 6px; font-size: .82rem; text-transform: uppercase; }
.steps-list small { color: var(--ph-dim); font-size: .72rem; line-height: 1.7; }

.safety-card { display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start; margin-bottom: 96px; padding: 28px 32px; border: 1px dashed var(--phosphor); background: var(--screen-2); }
.safety-symbol { display: grid; width: 52px; height: 52px; place-items: center; color: var(--screen); background: var(--phosphor); font-size: .72rem; font-weight: 700; }
.safety-card .eyebrow { margin-bottom: 10px; color: var(--phosphor); }
.safety-card h2 { margin-bottom: 10px; font-size: 1.2rem; font-weight: 700; text-transform: uppercase; }
.safety-card p:last-child { max-width: 720px; margin-bottom: 0; color: var(--ph-dim); font-size: .78rem; line-height: 1.75; }
.safety-card .eyebrow { color: var(--ph-dim); }

.statusbar { background: var(--screen-2); border-top: 1px solid var(--line); }
.status-inner { display: flex; align-items: center; gap: 22px; width: min(1120px, calc(100% - 56px)); min-height: 46px; margin: 0 auto; color: var(--ph-dim); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; }
.status-grp { color: var(--phosphor); }
.status-inner .footer-link { margin: 0; }

.download-dock { position: relative; margin-top: 18px; padding: 16px 0 0; border-top: 1px dashed var(--line); }
.download-dock-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.download-dock-head strong { display: block; color: var(--phosphor); font-size: .78rem; font-weight: 700; text-transform: uppercase; }
.dock-eyebrow { display: block; margin-bottom: 5px; color: var(--ph-dim); font-size: .58rem; letter-spacing: .1em; }
.dock-state { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border: 1px solid var(--line); background: var(--panel); font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; }
.dock-state::before { width: 5px; height: 5px; border-radius: 50%; background: currentColor; content: ''; }
.dock-state.waiting { color: var(--amber); }
.dock-state.ready { color: var(--phosphor); }
.dock-state.failed { color: var(--red); }
.download-dock .result-button { display: flex; width: 100%; min-height: 50px; margin: 12px 0 0; border-radius: 7px; }
.download-dock .result-button.download-waiting { color: var(--screen); background: var(--amber); }
.download-dock .result-button.download-waiting:hover { background: #ffc26b; }
.download-dock .result-button.download-ready { background: var(--phosphor); }
.download-dock .result-button.download-ready:hover { background: var(--white); }
.download-dock .result-button[aria-disabled="true"] { color: var(--screen); }
.download-help-toggle { display: none; width: 100%; margin: 10px 0 0; padding: 0; color: var(--ph-dim); border: 0; background: transparent; cursor: pointer; font-size: .64rem; text-align: left; }
.download-help-toggle span { color: var(--phosphor); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.download-help-toggle:hover { color: var(--white); }
.help-button-icon { display: inline-grid; width: 22px; height: 22px; margin-right: 8px; place-items: center; color: var(--amber); border: 1px solid var(--line); font-weight: 700; }
.download-help-toggle .help-button-copy, .download-help-toggle .help-button-arrow { display: none; }
.download-dock-hint { display: flex; align-items: flex-start; gap: 6px; margin: 11px 2px 0; color: var(--ph-dim); font-size: .6rem; }
.download-dock-hint::before { width: 5px; height: 5px; flex: 0 0 5px; margin-top: 5px; background: var(--phosphor); content: ''; }

.download-modal[hidden] { display: none; }
.download-modal { position: fixed; z-index: 30; inset: 0; display: grid; place-items: center; padding: 20px; }
.download-modal-backdrop { position: absolute; inset: 0; background: rgba(5, 8, 4, .78); animation: modal-fade 140ms ease-out; }
.download-modal-card { position: relative; z-index: 1; width: min(100%, 420px); padding: 30px; border: 1px solid var(--phosphor); border-radius: 7px; background: var(--screen-2); box-shadow: 0 0 0 1px rgba(125,255,154,.2), 0 24px 70px rgba(0,0,0,.6); animation: modal-rise 180ms ease-out; }
.modal-close { position: absolute; top: 14px; right: 15px; display: grid; width: 28px; height: 28px; place-items: center; color: var(--ph-dim); border: 1px solid var(--line); background: var(--panel); cursor: pointer; font-size: 1.05rem; line-height: 1; }
.modal-close:hover { color: var(--phosphor); }
.modal-icon { display: grid; width: 42px; height: 42px; margin-bottom: 20px; place-items: center; color: var(--amber); border: 1px solid var(--line); background: var(--panel); font-size: 1.15rem; font-weight: 700; }
.download-modal-card .eyebrow { margin-bottom: 10px; color: var(--phosphor); }
.download-modal-card h3 { max-width: 310px; margin-bottom: 12px; font-size: 1.15rem; font-weight: 700; text-transform: uppercase; }
.download-modal-card > p:not(.eyebrow) { margin-bottom: 22px; color: var(--ph-dim); font-size: .76rem; line-height: 1.7; }
.modal-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.modal-secondary, .modal-direct { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 0 16px; border-radius: 7px; font-size: .72rem; font-weight: 700; text-decoration: none; text-transform: uppercase; }
.modal-secondary { color: var(--phosphor); border: 1px solid var(--line); background: var(--panel); cursor: pointer; }
.modal-secondary:hover { color: var(--white); background: var(--ph-dark); }
.modal-direct { color: var(--screen); background: var(--phosphor); }
.modal-direct:hover { background: var(--white); }
body.modal-open { overflow: hidden; }
@keyframes modal-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.site-preview-panel { margin-top: 18px; padding: 11px; border: 1px solid var(--line); border-radius: 7px; background: var(--screen); }
.site-preview-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 2px 2px 10px; color: var(--ph-dim); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; }
.site-preview-head > span:first-child { display: inline-flex; align-items: center; gap: 7px; color: var(--phosphor); }
.preview-live-dot { display: inline-block; width: 6px; height: 6px; background: var(--phosphor); box-shadow: 0 0 8px rgba(125, 255, 154, .9); animation: preview-blink 1.8s ease-in-out infinite; }
@keyframes preview-blink { 0%, 100% { opacity: .4; } 50% { opacity: 1; } }
.site-preview-frame { position: relative; display: grid; min-height: 150px; overflow: hidden; place-items: center; border: 1px solid var(--line); border-radius: 7px; background:
  linear-gradient(rgba(125, 255, 154, .08) 1px, transparent 1px),
  linear-gradient(90deg, rgba(125, 255, 154, .08) 1px, transparent 1px);
  background-size: 22px 22px; background-color: var(--screen-2); }
.site-preview-image { display: block; width: 100%; min-height: 150px; object-fit: cover; object-position: top center; animation: preview-in 260ms ease-out; }
@keyframes preview-in { from { opacity: 0; } to { opacity: 1; } }
.site-preview-skeleton { display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px; width: 82%; padding: 14px; }
.site-preview-skeleton span { width: 72%; height: 7px; background: var(--ph-dark); }
.site-preview-skeleton div { grid-row: span 3; min-height: 70px; background: rgba(125, 255, 154, .18); }
.site-preview-fallback { display: flex; z-index: 1; flex-direction: column; align-items: center; gap: 5px; padding: 22px; text-align: center; }
.site-preview-fallback > span { display: grid; width: 42px; height: 42px; margin-bottom: 3px; place-items: center; color: var(--screen); background: var(--phosphor); font-size: 1.2rem; font-weight: 700; }
.site-preview-fallback strong { max-width: 260px; overflow: hidden; color: var(--phosphor); font-size: .74rem; text-overflow: ellipsis; white-space: nowrap; }
.site-preview-fallback small { max-width: 280px; color: var(--ph-dim); font-size: .6rem; line-height: 1.5; }
.site-preview-caption { margin: 9px 2px 1px; overflow: hidden; color: var(--ph-dim); font-size: .58rem; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; max-width: 620px; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow, .hero-proof { justify-content: center; }
  .hero-lede { margin-right: auto; margin-left: auto; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; }
  .plates { display: block; }
  .steps-list { margin-top: 40px; }
  .title-id, .title-status { display: none; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { display: none; }
}

@media (max-width: 650px) {
  .title-bar, .menu-bar, .stats-inner, .content-section, .plates, .safety-card, .status-inner { width: min(100% - 32px, 540px); }
  .menu-bar { gap: 14px; }
  .menu-item { letter-spacing: .04em; }
  .menu-spacer { display: none; }
  .hero { padding: 48px 16px 56px; }
  h1 { font-size: clamp(1.7rem, 6.5vw, 2.6rem); }
  .console-body { padding: 20px; }
  .capture-meta { gap: 8px 13px; }
  .stats-inner { display: block; }
  .stat, .stat:first-child { min-height: 68px; padding: 14px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .feature-row { grid-template-columns: 1fr; gap: 4px; }
  .safety-card { grid-template-columns: 1fr; margin-bottom: 70px; padding: 22px; }
  .status-inner { flex-wrap: wrap; gap: 10px; padding: 12px 0; }
  .capture-progress-grid { grid-template-columns: 1fr; justify-items: center; }
  .progress-steps { width: 100%; }
  .progress-summary { align-items: flex-start; }
  .download-count { text-align: right; white-space: normal; }
}

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