@font-face { font-family: "Inter"; src: url("/fonts/inter-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
/* Only downloaded if a Hebrew sentence is on screen. */
@font-face { font-family: "Heebo"; src: url("/fonts/heebo-hebrew.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0590-05FF, U+FB1D-FB4F; }

:root {
  color-scheme: dark;
  --bg: #000000;
  --surface: rgb(255 255 255 / 0.04);
  --well: rgb(0 0 0 / 0.6);
  --line: rgb(255 255 255 / 0.1);
  --line-strong: rgb(255 255 255 / 0.22);
  --ink: #f5f5f7;
  --muted: #86868b;
  --soft: #a1a1a6;
  /* Sampled from the logo, used only as small accents. */
  --accent: #6fd3f5;
  --caution: #e3c58a;
  --danger: #ee9a90;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --radius-l: 24px;
  --radius-m: 16px;
  --gutter: clamp(16px, 4vw, 48px);
  --page: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Heebo", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Code", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.55 var(--font); -webkit-font-smoothing: antialiased; overflow-wrap: anywhere; }
h1, h2, h3, p, ol, dl, dd { margin: 0; padding: 0; }
ol { list-style: none; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.skip-link { position: fixed; top: 12px; left: 12px; z-index: 20; padding: 8px 16px; background: var(--ink); color: #000; border-radius: 12px; transform: translateY(-200%); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 10; background: rgb(0 0 0 / 0.6); backdrop-filter: saturate(180%) blur(24px); -webkit-backdrop-filter: saturate(180%) blur(24px); border-bottom: 1px solid var(--line); }
.site-nav { max-width: var(--page); margin-inline: auto; padding: 10px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: -0.02em; }
.brand img { border-radius: 8px; }
.nav-links { display: flex; gap: clamp(14px, 3vw, 32px); font-size: 0.875rem; color: var(--soft); }
.nav-links a { text-decoration: none; padding-block: 6px; transition: color 0.5s var(--ease); }
.nav-links a:hover { color: var(--ink); }

.hero { max-width: var(--page); margin-inline: auto; padding: clamp(56px, 9vw, 128px) var(--gutter) clamp(40px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.eyebrow { color: var(--soft); font-size: 0.9375rem; font-weight: 500; margin-bottom: 20px; }
h1 { font-size: clamp(2.75rem, 5vw, 4.5rem); line-height: 1.04; font-weight: 700; letter-spacing: -0.04em; }
.dim { color: var(--muted); }
.lede { margin-top: 28px; max-width: 32em; color: var(--soft); font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-symbol { inline-size: 100%; max-inline-size: 440px; margin-inline: auto; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 22px; border-radius: 16px; border: 1px solid var(--line-strong); background: transparent; font-weight: 600; font-size: 0.9375rem; text-decoration: none; transition: transform 0.5s var(--ease), background 0.5s var(--ease), border-color 0.5s var(--ease), opacity 0.3s; }
.button:hover { background: rgb(255 255 255 / 0.08); transform: scale(1.01); }
.button:active { transform: scale(0.98); }
.button.primary { background: var(--ink); color: #000; border-color: var(--ink); }
.button.primary:hover { background: #fff; }
.button[disabled] { opacity: 0.5; cursor: progress; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); }
.console { padding: clamp(20px, 3vw, 40px); min-height: 400px; backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); transition: border-color 0.5s var(--ease); }
.console:focus-within { border-color: var(--line-strong); }
.panel-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 24px; }
.panel-bar h2 { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; }
.engine-status { display: inline-flex; align-items: center; gap: 8px; font-size: 0.875rem; color: var(--soft); }
.engine-status::before { content: ""; inline-size: 7px; block-size: 7px; border-radius: 50%; background: var(--muted); }
.engine-status[data-state="ready"]::before { background: var(--accent); }
.engine-status[data-state="warning"]::before { background: var(--caution); }

label { display: block; font-weight: 500; margin-bottom: 8px; }
textarea { display: block; inline-size: 100%; padding: 14px 16px; background: var(--well); border: 1px solid var(--line); border-radius: var(--radius-m); font-size: 1.0625rem; resize: vertical; transition: border-color 0.5s var(--ease); }
textarea:hover { border-color: var(--line-strong); }
textarea::placeholder { color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 12px 24px; }
.chip { padding: 6px 14px; min-height: 36px; background: transparent; border: 1px solid var(--line); border-radius: 999px; font-size: 0.875rem; color: var(--soft); text-align: start; transition: color 0.5s var(--ease), border-color 0.5s var(--ease); }
.chip:hover { color: var(--ink); border-color: var(--line-strong); }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.hint { font-size: 0.875rem; color: var(--muted); }

.output:not(:empty) { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); animation: rise 0.6s var(--ease) both; }
.output h3 { font-size: 1.1875rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.015em; }
.output a { color: var(--accent); }
.output-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 8px 16px; margin-bottom: 16px; }
.muted { color: var(--soft); font-size: 0.9375rem; }
.spaced { margin-bottom: 16px; }
.label { display: block; margin-bottom: 8px; color: var(--muted); font-size: 0.8125rem; font-weight: 500; }
.risk { flex: none; padding: 2px 12px; border: 1px solid currentColor; border-radius: 999px; font-size: 0.8125rem; font-weight: 500; }
.risk-low { color: var(--accent); }
.risk-medium { color: var(--caution); }
.risk-high { color: var(--danger); }
.warning { margin-bottom: 16px; color: var(--caution); font-size: 0.9375rem; }
.warning.high { color: var(--danger); }

.steps { display: grid; gap: 8px; margin-bottom: 20px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 2px 8px; padding: 10px 14px; background: var(--well); border: 1px solid var(--line); border-radius: var(--radius-m); font-size: 0.9375rem; }
.steps li::before { content: counter(step); color: var(--muted); font-size: 0.875rem; font-weight: 500; line-height: 1.6; }
.steps li.ok::before { content: "✓"; color: var(--accent); }
.steps li.failed::before { content: "✕"; color: var(--danger); }
code, pre { font-family: var(--font-mono); font-size: 0.875rem; }
.step-target, code.inline { color: var(--ink); }
pre { margin: 8px 0 0; padding: 12px; max-height: 280px; overflow: auto; background: var(--well); border-radius: 12px; white-space: pre-wrap; }
pre.error { color: var(--danger); }
.plan-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
details summary { cursor: pointer; color: var(--soft); font-size: 0.875rem; }

.skeleton { display: grid; gap: 10px; margin-top: 12px; }
.skeleton span { display: block; block-size: 40px; border-radius: var(--radius-m); background: rgb(255 255 255 / 0.06); animation: pulse 1.6s ease-in-out infinite; }

.band { max-width: var(--page); margin-inline: auto; padding: clamp(48px, 8vw, 112px) var(--gutter); }
.band > h2 { max-width: 18em; font-size: clamp(2rem, 4.2vw, 3.5rem); line-height: 1.08; font-weight: 700; letter-spacing: -0.035em; margin-bottom: clamp(32px, 5vw, 64px); }

.stations { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: station; }
.station { counter-increment: station; padding: clamp(24px, 3vw, 36px); transition: border-color 0.5s var(--ease), transform 0.5s var(--ease); }
.station:hover { border-color: var(--line-strong); transform: scale(1.01); }
.station::before { content: "0" counter(station); display: block; margin-bottom: 40px; color: var(--muted); font-size: 0.875rem; font-weight: 500; }
.station h3 { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 10px; }
.station p, .facts dd { color: var(--soft); }

.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 5vw, 72px); }
.facts > div { padding-block: 24px; border-top: 1px solid var(--line); }
.facts dt { font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 6px; }

.commands { display: grid; gap: 24px; max-width: 720px; }
.commands li p { margin-bottom: 10px; color: var(--soft); }
.commands a { color: var(--ink); }
.command { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); }
.command code { flex: 1; font-size: 0.9375rem; }
.copy { flex: none; min-height: 36px; padding: 4px 14px; background: transparent; border: 1px solid var(--line); border-radius: 12px; font-size: 0.875rem; color: var(--soft); transition: color 0.5s var(--ease), border-color 0.5s var(--ease); }
.copy:hover { color: var(--ink); border-color: var(--line-strong); }

.site-footer { max-width: var(--page); margin-inline: auto; padding: 32px var(--gutter) 48px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.875rem; }

.not-found { min-height: 100dvh; padding: var(--gutter); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; }
.not-found h1 { font-size: clamp(2rem, 5vw, 3rem); }
.not-found .lede { margin: 0 0 16px; }

.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.visible { opacity: 1; transform: none; }

@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
@keyframes pulse { 50% { opacity: 0.45; } }

@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-symbol { order: -1; max-inline-size: 240px; margin-inline: 0; }
  .stations, .facts { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .nav-links a[href="#how"], .nav-links a[href="#trust"] { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
