:root {
  color-scheme: light;
  --ink: #0a1220;
  --muted: #667085;
  --line: #dce3e8;
  --canvas: #edf2f4;
  --paper: #ffffff;
  --blue: #2d5bff;
  --blue-dark: #183bcc;
  --lime: #b8f449;
  --cyan: #7ee8fa;
  --danger: #bd2f3f;
  --shadow: 0 20px 60px rgba(21, 42, 66, 0.08);
}

* { box-sizing: border-box; }

html { min-width: 320px; background: var(--canvas); scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% -15%, rgba(45, 91, 255, 0.14), transparent 34rem),
    var(--canvas);
  font-family: "Avenir Next", "SF Pro Display", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Segoe UI", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button, input, textarea { font: inherit; }
button { color: inherit; }

.topbar {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  border-bottom: 1px solid rgba(10, 18, 32, 0.09);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: white;
  font-weight: 800;
  font-size: 20px;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}

.brand-mark::after {
  content: "";
  position: absolute;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--lime);
  right: -5px;
  top: -5px;
}

.brand-mark::before {
  content: "";
  position: absolute;
  width: 14px;
  height: 5px;
  right: 4px;
  top: 22px;
  background: var(--cyan);
  z-index: 2;
}

.brand-mark span { position: relative; z-index: 1; }
.brand strong { display: block; font-size: 17px; letter-spacing: -0.02em; }
.brand small { display: block; color: var(--muted); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }

.account-area { display: flex; align-items: center; gap: 10px; }
.quota-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  color: #465467;
  font-size: 14px;
}
.quota-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(184, 244, 73, 0.18); }
.quota-text-mobile { display: none; }

.button {
  min-height: 42px;
  border-radius: 12px;
  padding: 0 17px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}
.button:hover { transform: translateY(-1px); }
.button:focus-visible, button:focus-visible, textarea:focus-visible, input:focus-visible {
  outline: 3px solid rgba(45, 91, 255, 0.25);
  outline-offset: 2px;
}
.button.ghost { background: var(--paper); border-color: var(--line); }
.button.primary { color: white; background: var(--blue); box-shadow: 0 10px 24px rgba(45, 91, 255, 0.25); }
.button.primary:hover { background: var(--blue-dark); }
.button.primary:disabled { opacity: 0.55; cursor: wait; transform: none; }
.button.full { width: 100%; }

.hero {
  max-width: 1580px;
  min-height: min(760px, calc(100vh - 78px));
  margin: 0 auto;
  padding: 70px 38px 76px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(420px, 0.85fr);
  gap: clamp(48px, 8vw, 130px);
  align-items: center;
}
.hero-kicker { display: inline-flex; align-items: center; gap: 9px; color: #526174; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.hero-kicker i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px rgba(184, 244, 73, 0.22); }
.hero h1 { margin: 24px 0 26px; max-width: 880px; font-size: clamp(54px, 6.6vw, 106px); line-height: 0.94; letter-spacing: -0.07em; }
.hero h1 em { color: var(--blue); font-style: normal; }
.hero-copy > p { max-width: 720px; margin: 0; color: #536174; font-size: clamp(18px, 1.55vw, 23px); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.hero-button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 26px; padding: 0 22px; border-radius: 14px; text-decoration: none; font-weight: 800; }
.hero-button-primary { color: white; background: var(--ink); box-shadow: 0 14px 30px rgba(10, 18, 32, 0.18); }
.hero-button-primary:hover { background: var(--blue); }
.hero-button-secondary { color: var(--ink); border: 1px solid #cfd8df; background: rgba(255,255,255,0.65); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 34px; color: #778496; font-size: 12px; }
.hero-facts span { display: grid; gap: 2px; }
.hero-facts strong { color: var(--ink); font-size: 15px; }
.hero-demo { position: relative; padding: 30px; border-radius: 28px; color: white; background: var(--ink); box-shadow: 0 36px 90px rgba(15, 30, 50, 0.22); overflow: hidden; }
.hero-demo::before { content: ""; position: absolute; width: 230px; height: 230px; border-radius: 50%; top: -130px; right: -80px; background: rgba(45, 91, 255, 0.45); filter: blur(6px); }
.demo-topline { position: relative; display: flex; justify-content: space-between; color: #a9b6c7; font-size: 12px; }
.demo-topline span::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--lime); }
.demo-topline code { color: #8290a3; }
.demo-message { position: relative; margin: 48px 0 26px; font-size: clamp(21px, 2vw, 30px); line-height: 1.45; letter-spacing: -0.03em; }
.demo-question { padding-top: 22px; border-top: 1px solid #2d3949; color: #93a1b4; font-size: 14px; }
.demo-answer { display: flex; justify-content: space-between; align-items: flex-end; margin: 24px 0 14px; }
.demo-answer div { display: grid; gap: 5px; }
.demo-answer span { color: #8694a7; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; }
.demo-answer strong { color: var(--lime); font-size: 60px; line-height: 1; letter-spacing: -0.06em; }
.demo-probability { text-align: right; }
.demo-probability strong { color: white; font-size: 34px; }
.demo-track { height: 7px; margin: 22px 0; border-radius: 99px; background: #273446; overflow: hidden; }
.demo-track i { display: block; width: 96%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--lime)); }
.hero-demo small { color: #8492a5; line-height: 1.6; }

.case-strip { max-width: 1580px; margin: 0 auto 76px; padding: 0 30px; }
.case-strip-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 22px; }
.case-strip-head h2 { margin: 0; font-size: clamp(28px, 3vw, 46px); line-height: 1.08; letter-spacing: -0.045em; }
.case-strip-head a { color: var(--ink); font-size: 13px; font-weight: 800; text-underline-offset: 4px; white-space: nowrap; }
.case-scroller { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.case-card { min-height: 330px; display: flex; flex-direction: column; padding: 24px; border: 1px solid rgba(10,18,32,0.08); border-radius: 21px; color: var(--ink); background: white; text-decoration: none; box-shadow: var(--shadow); transition: transform 180ms ease, box-shadow 180ms ease; }
.case-card:hover { transform: translateY(-4px); box-shadow: 0 26px 70px rgba(21,42,66,0.14); }
.case-number { color: #8a97a7; font: 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.case-card strong { margin: auto 0 16px; font-size: clamp(24px, 2.3vw, 35px); line-height: 1.05; letter-spacing: -0.045em; }
.case-card p { min-height: 66px; margin: 0 0 20px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.case-card i { font-size: 13px; font-style: normal; font-weight: 800; }
.case-card-dark { color: white; background: var(--ink); }
.case-card-dark p { color: #a7b3c3; }
.case-card-lime { background: var(--lime); }
.case-card-lime p { color: #44502d; }
.playground-intro { max-width: 1580px; margin: 0 auto; padding: 30px 30px 0; }
.playground-intro h2 { margin: 0; font-size: clamp(27px, 3vw, 44px); line-height: 1.1; letter-spacing: -0.045em; }

.workspace {
  max-width: 1580px;
  margin: 0 auto;
  padding: 24px 26px 16px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.08fr) minmax(0, 0.97fr);
  gap: 14px;
  align-items: stretch;
}

.panel {
  min-width: 0;
  min-height: calc(100vh - 136px);
  padding: 24px;
  background: var(--paper);
  border: 1px solid rgba(10, 18, 32, 0.08);
  box-shadow: var(--shadow);
  border-radius: 22px;
}

.panel-heading {
  min-height: 48px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.panel-heading > div { display: flex; align-items: center; gap: 10px; }
.panel-heading h1, .panel-heading h2 { margin: 0; font-size: 18px; line-height: 1.25; letter-spacing: -0.02em; }
.step { font: 700 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--blue); }
.counter { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }

.state-panel { display: flex; flex-direction: column; }
.state-panel textarea {
  flex: 1;
  min-height: 360px;
  width: 100%;
  resize: none;
  border: 0;
  padding: 16px 2px;
  color: var(--ink);
  background: transparent;
  font-size: clamp(17px, 1.25vw, 20px);
  line-height: 1.65;
  outline: none;
}
.state-panel textarea::placeholder { color: #a7b0bd; }
.field-help { margin: 10px 0 18px; color: var(--muted); font-size: 13px; }
.examples { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; border-top: 1px solid var(--line); padding-top: 18px; }
.examples > span { color: var(--muted); font-size: 13px; margin-right: 2px; }
.examples button {
  border: 1px solid var(--line);
  background: #f8fafb;
  border-radius: 999px;
  min-height: 36px;
  padding: 0 12px;
  cursor: pointer;
  font-size: 14px;
}
.examples button:hover { background: #eef3ff; border-color: #bdcaff; }

.question-panel { background: var(--ink); color: white; box-shadow: 0 24px 70px rgba(7, 17, 31, 0.2); }
.question-panel .step { color: var(--lime); }
.primitive-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 24px; }
.primitive-tab {
  min-width: 0;
  min-height: 72px;
  border: 1px solid #2b3748;
  border-radius: 14px;
  padding: 11px;
  background: #111d2d;
  color: #99a7b8;
  text-align: left;
  cursor: pointer;
}
.primitive-tab strong, .primitive-tab span { display: block; }
.primitive-tab strong { color: white; font-size: 15px; margin-bottom: 4px; }
.primitive-tab span { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.primitive-tab.active { background: var(--lime); border-color: var(--lime); color: #3a4a20; }
.primitive-tab.active strong { color: var(--ink); }

.field-label { display: block; margin: 0 0 8px; color: #bac5d2; font-size: 14px; }
.question-input, .dark-input {
  width: 100%;
  border: 1px solid #344154;
  border-radius: 13px;
  color: white;
  background: #101b2a;
  padding: 13px 14px;
  outline: none;
}
.question-input { min-height: 92px; resize: vertical; margin-bottom: 20px; }
.question-input::placeholder, .dark-input::placeholder { color: #6f7d90; }
.question-input:focus, .dark-input:focus { border-color: #708cff; box-shadow: 0 0 0 3px rgba(45, 91, 255, 0.18); }

.dynamic-fields { display: grid; gap: 10px; }
.dynamic-title { display: flex; justify-content: space-between; align-items: center; color: #bac5d2; font-size: 14px; }
.dynamic-title button { border: 0; color: var(--lime); background: none; padding: 6px; cursor: pointer; }
.option-row { display: grid; grid-template-columns: 28px minmax(0, 0.75fr) minmax(0, 1.15fr) 34px; gap: 7px; align-items: center; }
.option-index { color: #64748a; font: 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.dark-input { min-height: 44px; font-size: 14px; }
.remove-option { width: 34px; height: 34px; border: 0; border-radius: 9px; background: transparent; color: #7f8da0; cursor: pointer; font-size: 20px; }
.remove-option:hover { background: #1c2838; color: white; }

.action-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 26px; padding-top: 20px; border-top: 1px solid #263346; }
.run-note { display: flex; align-items: center; gap: 8px; color: #95a3b5; font-size: 13px; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }
.arrow { margin-left: 8px; }
.form-error, .auth-error { min-height: 22px; margin: 10px 0 0; color: #ff909b; font-size: 13px; }

.result-panel { overflow: hidden; position: relative; }
.result-panel::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: rgba(126, 232, 250, 0.16); right: -120px; top: -120px; pointer-events: none; }
.result-heading { position: relative; z-index: 1; }
.model-badge { border: 1px solid var(--line); background: #f6f8fa; border-radius: 999px; padding: 5px 9px; color: var(--muted); font: 12px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; }
.result-empty { min-height: 430px; display: grid; align-content: center; justify-items: center; text-align: center; padding: 30px; }
.result-empty strong { font-size: 19px; margin-top: 22px; }
.result-empty p { color: var(--muted); max-width: 300px; margin: 8px 0 0; font-size: 14px; }
.empty-orbit { width: 110px; height: 110px; border: 1px solid #cfd8e0; border-radius: 50%; position: relative; }
.empty-orbit::before { content: ""; position: absolute; inset: 18px; border: 1px dashed #aeb9c4; border-radius: 50%; }
.empty-orbit span { width: 16px; height: 16px; border-radius: 50%; background: var(--blue); position: absolute; left: 18px; top: 12px; box-shadow: 0 0 0 8px rgba(45, 91, 255, 0.1); }
.empty-orbit i { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); position: absolute; right: 16px; bottom: 21px; }

.result-loading { min-height: 430px; display: grid; align-content: center; gap: 18px; color: var(--muted); text-align: center; }
.loading-line { height: 4px; overflow: hidden; border-radius: 999px; background: #e8edf1; }
.loading-line span { display: block; height: 100%; width: 38%; border-radius: inherit; background: var(--blue); animation: loading 1.1s ease-in-out infinite alternate; }
@keyframes loading { from { transform: translateX(-10%); } to { transform: translateX(190%); } }

.result-content { padding-top: 12px; }
.answer-kicker { color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.answer-main { margin: 0 0 6px; font-size: clamp(34px, 4vw, 58px); line-height: 1; letter-spacing: -0.055em; }
.answer-caption { margin: 0 0 28px; color: var(--muted); }
.metric-row { display: flex; gap: 9px; margin-bottom: 24px; }
.metric { flex: 1; padding: 12px; border-radius: 13px; background: #f4f7f8; }
.metric span, .metric strong { display: block; }
.metric span { color: var(--muted); font-size: 12px; }
.metric strong { margin-top: 4px; font-size: 17px; font-variant-numeric: tabular-nums; }
.probability-list { display: grid; gap: 13px; }
.probability-row { display: grid; grid-template-columns: minmax(0, 1fr) 46px; gap: 10px; align-items: center; }
.probability-label { min-width: 0; display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.probability-label span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.probability-track { grid-column: 1 / -1; height: 7px; background: #e8edf0; border-radius: 999px; overflow: hidden; }
.probability-track i { display: block; height: 100%; min-width: 2px; border-radius: inherit; background: linear-gradient(90deg, var(--blue), #6280ff); }
.probability-value { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; font-size: 13px; }
.result-error { margin-top: 28px; padding: 18px; border: 1px solid #ffd0d5; border-radius: 14px; background: #fff5f6; color: #8f2330; }

.site-footer { max-width: 1580px; margin: 0 auto; padding: 0 30px 24px; display: flex; justify-content: space-between; gap: 18px; color: #758294; font-size: 12px; }
.site-footer a { color: var(--ink); font-weight: 750; text-underline-offset: 3px; }

.jev-story {
  max-width: 1580px;
  margin: 42px auto 20px;
  padding: 70px 30px 30px;
  border-top: 1px solid rgba(10, 18, 32, 0.12);
}
.story-intro { display: grid; grid-template-columns: minmax(260px, 0.75fr) minmax(300px, 1fr); gap: 60px; align-items: end; margin-bottom: 44px; }
.story-kicker { display: block; margin-bottom: 12px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.story-intro h2 { margin: 0; font-size: clamp(40px, 5vw, 76px); line-height: 0.98; letter-spacing: -0.06em; }
.story-intro p { max-width: 680px; margin: 0 0 6px; color: #4c5a6b; font-size: clamp(17px, 1.6vw, 22px); line-height: 1.7; }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.proof-card { min-height: 330px; display: flex; flex-direction: column; padding: 28px; border: 1px solid rgba(10, 18, 32, 0.08); border-radius: 22px; background: white; box-shadow: var(--shadow); }
.proof-card-blue { color: white; background: var(--blue); }
.proof-label { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.proof-card-blue .proof-label { color: #cdd7ff; }
.proof-card strong { display: block; margin: auto 0 14px; font-size: clamp(38px, 4vw, 62px); line-height: 1; letter-spacing: -0.055em; }
.proof-card p { min-height: 76px; margin: 0 0 24px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.proof-card-blue p { color: #e7ebff; }
.proof-card a { width: fit-content; color: inherit; font-size: 13px; font-weight: 800; text-underline-offset: 4px; }
.comparison-card { margin-top: 14px; padding: 38px; border-radius: 24px; color: white; background: var(--ink); box-shadow: 0 26px 80px rgba(7, 17, 31, 0.18); }
.comparison-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.comparison-head .story-kicker { color: var(--lime); margin: 0; }
.comparison-head h3 { max-width: 650px; margin: 0; font-size: clamp(27px, 3vw, 44px); line-height: 1.1; letter-spacing: -0.04em; }
.comparison-table { border-top: 1px solid #2c394a; }
.comparison-row { display: grid; grid-template-columns: 0.7fr 1.2fr 1.2fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid #2c394a; }
.comparison-row > span:first-child { color: #8e9bad; }
.comparison-row strong { color: var(--lime); }
.comparison-labels { padding: 12px 0; color: #8e9bad; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; }
.comparison-labels strong { color: #8e9bad; }
.comparison-note { max-width: 900px; margin: 22px 0 0; color: #96a4b7; font-size: 13px; line-height: 1.7; }

.auth-dialog { border: 0; border-radius: 22px; padding: 0; width: min(460px, calc(100vw - 28px)); box-shadow: 0 40px 100px rgba(0, 0, 0, 0.28); }
.auth-dialog::backdrop { background: rgba(5, 12, 23, 0.62); backdrop-filter: blur(6px); }
.auth-shell { padding: 30px; position: relative; }
.dialog-close { position: absolute; right: 16px; top: 14px; width: 38px; height: 38px; border: 0; background: #f0f3f5; border-radius: 50%; cursor: pointer; font-size: 22px; }
.eyebrow { color: var(--blue); text-transform: uppercase; letter-spacing: 0.1em; font-size: 12px; font-weight: 800; }
.auth-intro h2 { margin: 8px 0; font-size: 25px; letter-spacing: -0.03em; }
.auth-intro p { margin: 0; color: var(--muted); font-size: 14px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; background: #eef2f4; border-radius: 12px; margin: 24px 0 18px; }
.auth-tabs button { border: 0; min-height: 40px; border-radius: 9px; background: transparent; cursor: pointer; font-weight: 700; }
.auth-tabs button.active { background: white; box-shadow: 0 3px 9px rgba(10, 18, 32, 0.08); }
.auth-dialog label { display: block; margin: 13px 0 6px; font-size: 14px; font-weight: 700; }
.auth-dialog input { width: 100%; min-height: 46px; border: 1px solid var(--line); border-radius: 11px; padding: 0 12px; }

.hidden { display: none !important; }

@media (max-width: 1120px) {
  .hero { grid-template-columns: 1fr 0.8fr; gap: 40px; }
  .case-scroller { grid-template-columns: repeat(2, 1fr); }
  .workspace { grid-template-columns: 1fr 1fr; }
  .result-panel { grid-column: 1 / -1; min-height: auto; }
  .panel { min-height: 620px; }
  .result-panel, .result-empty, .result-loading { min-height: 430px; }
}

@media (max-width: 740px) {
  .topbar { height: auto; min-height: 72px; padding: 12px 16px; gap: 10px; }
  .brand small { display: none; }
  .quota-pill { padding: 0 10px; font-size: 12px; }
  .account-area { gap: 6px; }
  .button.ghost { padding: 0 12px; }
  .brand-mark { width: 38px; height: 38px; border-radius: 12px; }
  .brand strong { font-size: 15px; }
  .brand strong { white-space: nowrap; }
  .quota-dot { display: none; }
  #quota-text { display: none; }
  .quota-text-mobile { display: inline; white-space: nowrap; }
  .button.ghost { flex-shrink: 0; white-space: nowrap; }
  .workspace { display: block; padding: 12px; }
  .hero { min-height: auto; display: block; padding: 52px 18px 42px; }
  .hero h1 { margin: 19px 0 20px; font-size: 44px; line-height: 0.98; }
  .hero-copy > p { font-size: 17px; line-height: 1.65; }
  .hero-actions { margin-top: 26px; }
  .hero-button { width: 100%; }
  .hero-button-secondary { display: none; }
  .hero-facts { gap: 18px; margin-top: 24px; }
  .hero-facts span { flex: 1; min-width: 76px; }
  .hero-demo { margin-top: 34px; padding: 22px; border-radius: 22px; }
  .demo-message { margin: 34px 0 22px; font-size: 21px; }
  .demo-answer strong { font-size: 49px; }
  .demo-probability strong { font-size: 29px; }
  .case-strip { margin-bottom: 36px; padding: 0 0 0 16px; overflow: hidden; }
  .case-strip-head { padding-right: 16px; align-items: start; }
  .case-strip-head a { display: none; }
  .case-strip-head h2 { font-size: 30px; }
  .case-scroller { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 16px 16px 0; scrollbar-width: none; }
  .case-scroller::-webkit-scrollbar { display: none; }
  .case-card { min-width: 78vw; min-height: 300px; scroll-snap-align: start; }
  .case-card strong { font-size: 31px; }
  .playground-intro { padding: 28px 16px 4px; scroll-margin-top: 76px; }
  .playground-intro h2 { font-size: 30px; }
  .panel { min-height: auto; padding: 20px; border-radius: 18px; margin-bottom: 12px; }
  .state-panel textarea { min-height: 190px; }
  .primitive-tabs { grid-template-columns: 1fr; }
  .primitive-tab { min-height: 58px; }
  .primitive-tab span { white-space: normal; }
  .option-row { grid-template-columns: 24px 1fr 34px; }
  .option-row .option-description { grid-column: 2 / 3; }
  .action-row { align-items: stretch; flex-direction: column; }
  .button.primary { min-height: 50px; }
  .result-empty, .result-loading { min-height: 340px; }
  .site-footer { padding: 0 16px 22px; display: grid; gap: 4px; }
  .jev-story { margin-top: 24px; padding: 42px 16px 20px; }
  .story-intro { display: block; margin-bottom: 26px; }
  .story-intro h2 { font-size: 44px; margin-bottom: 24px; }
  .story-intro p { font-size: 17px; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-card { min-height: 285px; padding: 24px; }
  .proof-card p { min-height: auto; }
  .comparison-card { padding: 26px 22px; border-radius: 20px; }
  .comparison-head { display: block; }
  .comparison-head .story-kicker { margin-bottom: 12px; }
  .comparison-row { grid-template-columns: 0.65fr 1fr 1fr; gap: 10px; font-size: 13px; }
}

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