/* Shemtov (שם טוב). Quiet luxury: warm black, porcelain, a restrained champagne accent.
   Display: Noto Serif Hebrew (200-400). Text: Noto Sans Hebrew (300-600). Marker note: Amatic SC. */
:root {
  --ink: #1b1a17;
  --muted: #6b675f;
  --paper: #f4f2ee;
  --sheet: #fffefb;
  --line: #e4e0d8;
  --night: #15161b;
  --night-2: #1d1f26;
  --gold: #b0915e;
  --gold-soft: #efe6d6;
  --accent: #1b1a17;
  --you: #f3d98a;
  --comp: #e6e3dc;
  --good: #2f6b4a;
  --mid: #9a6a1c;
  --low: #a8432f;
  --hit: #eef0e6;
  --miss: #f6ebe6;
  --display: 'Noto Serif Hebrew', 'Times New Roman', serif;
  --text: 'Noto Sans Hebrew', Arial, sans-serif;
  --hand: 'Amatic SC', var(--text);
  --r: 4px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f1eee7;
    --muted: #aaa59b;
    --paper: #121317;
    --sheet: #1a1b21;
    --line: #2d2e36;
    --gold: #cdb084;
    --gold-soft: #2b261d;
    --accent: #f1eee7;
    --you: #6b5a26;
    --comp: #34353d;
    --good: #82c8a0;
    --mid: #e0b56a;
    --low: #f0937e;
    --hit: #23281f;
    --miss: #33221f;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 300 17px/1.75 var(--text); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
h1, h2, h3 { font-family: var(--display); font-weight: 300; line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); font-weight: 200; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.2rem; font-weight: 400; }
p { margin: 0 0 .9em; }
b, strong { font-weight: 500; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 600px; margin: 56px auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small, .fine { font-size: .86rem; }
.fine { color: var(--muted); }
.lead { font-size: 1.16rem; max-width: 58ch; }
.kicker { font-size: .9rem; letter-spacing: .02em; color: var(--gold); margin-bottom: 14px; font-weight: 400; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; top: -200px; right: 8px; background: var(--sheet); padding: 8px 12px; z-index: 20; }
.skip:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 84px; }

/* ---------- header / footer ---------- */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
body.home .top { background: color-mix(in srgb, var(--night) 82%, transparent); border-color: rgba(255, 255, 255, .08); color: #f4f1ea; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.logo { text-decoration: none; color: inherit; }
.wordmark { font: 300 1.75rem/1 var(--display); letter-spacing: .01em; display: inline-flex; align-items: flex-end; gap: 3px; }
.wordmark i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); display: inline-block; margin-bottom: 5px; }
.stamp-mark { color: var(--gold); flex: none; }
nav { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
nav a { text-decoration: none; font-weight: 400; font-size: .97rem; opacity: .86; }
nav a:hover { opacity: 1; }
nav a.btn { opacity: 1; }
.inline { display: inline; margin: 0; }
button.link { background: none; border: 0; padding: 0; font: inherit; font-size: .97rem; color: inherit; opacity: .86; cursor: pointer; }
.foot { margin-top: 110px; border-top: 1px solid var(--line); padding: 44px 0 32px; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px 32px; align-items: start; }
.foot-brand p { margin: 0; color: var(--muted); }
.foot-brand .wordmark { color: var(--ink); font-size: 1.5rem; margin-bottom: 8px; }
.foot nav { gap: 20px; justify-content: flex-end; }
.foot nav a { color: var(--muted); }
.foot .fine { grid-column: 1 / -1; margin: 14px 0 0; }

/* ---------- buttons, notices, forms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--ink); background: transparent; color: var(--ink); padding: 11px 22px; border-radius: 999px; font: 400 .98rem/1.3 var(--text); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--ink); color: var(--paper); }
.btn.primary { background: var(--ink); color: var(--paper); }
.btn.primary:hover { background: transparent; color: var(--ink); }
.btn.light { background: #f6f3ec; color: #15161b; border-color: #f6f3ec; }
.btn.light:hover { background: transparent; color: #f6f3ec; }
.btn.ghost { border-color: transparent; text-decoration: underline; text-underline-offset: 5px; }
.btn.ghost:hover { background: transparent; color: var(--gold); }
.btn.on-dark { color: #f4f1ea; }
.btn.big { padding: 14px 30px; font-size: 1.04rem; }
.btn.small { padding: 7px 16px; font-size: .9rem; }
.btn:disabled { opacity: .5; cursor: progress; }
.btn.link-btn { border: 0; background: none; padding: 6px 0; text-decoration: underline; border-radius: 0; }
.btn.link-btn:hover { color: var(--gold); background: none; }
.btn.danger-btn { background: var(--low); border-color: var(--low); color: #fff; }
.btn.google { background: var(--sheet); border-color: var(--line); width: 100%; font-weight: 500; }
.btn.google:hover { background: var(--paper); color: var(--ink); border-color: var(--ink); }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .85rem; margin: 0; }
.or::before, .or::after { content: ''; flex: 1; border-top: 1px solid var(--line); }
.notice { background: var(--gold-soft); color: var(--ink); padding: 12px 16px; border-radius: var(--r); border-inline-start: 2px solid var(--gold); }
.notice.err { background: var(--miss); border-color: var(--low); }
.banner { background: var(--gold-soft); padding: 10px 16px; border-radius: var(--r); margin: 0; }
.dev { background: var(--gold-soft); padding: 10px 14px; border-radius: var(--r); font-size: .9rem; }

.sheet { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r); }
.pad { padding: 30px; }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field > span { font-weight: 400; font-size: .93rem; }
input, select, textarea { width: 100%; font: 400 1rem var(--text); padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--sheet); color: var(--ink); }
input:focus, select:focus, textarea:focus { border-color: var(--ink); outline: none; }
textarea { resize: vertical; }
.has-error input, .has-error select { border-color: var(--low); }
.err { color: var(--low); }
.hint { color: var(--muted); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check { display: flex; gap: 10px; align-items: center; cursor: pointer; }
.check input { width: 17px; height: 17px; accent-color: var(--ink); }
.more-fields { border-top: 1px solid var(--line); padding-top: 12px; }
.more-fields summary { cursor: pointer; font-size: .93rem; }
.more-fields[open] { display: grid; gap: 14px; }
.plain { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.plain li { padding-inline-start: 24px; position: relative; }
.plain li::before { content: ''; position: absolute; right: 0; top: .78em; width: 12px; height: 1px; background: var(--gold); }

/* ---------- hero (dark) ---------- */
.hero { background: var(--night); color: #f4f1ea; margin-top: -69px; padding: 150px 0 110px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; position: relative; z-index: 1; }
/* Slow champagne and ink-blue glows drifting behind the hero */
.hero .aurora { position: absolute; inset: -20% -10%; pointer-events: none; filter: blur(70px); opacity: .55; }
.hero .aurora i { position: absolute; border-radius: 50%; }
.hero .aurora i:nth-child(1) { width: 46vw; height: 46vw; left: 2%; top: 18%; background: radial-gradient(circle, rgba(176, 145, 94, .55), transparent 65%); }
.hero .aurora i:nth-child(2) { width: 40vw; height: 40vw; right: 8%; top: -6%; background: radial-gradient(circle, rgba(74, 92, 140, .45), transparent 65%); }
.hero .aurora i:nth-child(3) { width: 30vw; height: 30vw; left: 34%; bottom: -8%; background: radial-gradient(circle, rgba(201, 170, 120, .3), transparent 65%); }
.hero .horizon { position: absolute; inset: auto 0 0 0; height: 220px; pointer-events: none; opacity: .18;
  background-image: linear-gradient(rgba(244, 241, 234, .5) 1px, transparent 1px), linear-gradient(90deg, rgba(244, 241, 234, .5) 1px, transparent 1px);
  background-size: 56px 56px; transform: perspective(500px) rotateX(62deg); transform-origin: bottom; -webkit-mask-image: linear-gradient(to top, #000, transparent); mask-image: linear-gradient(to top, #000, transparent); }
.answer-stage, .deck { position: relative; }
.deck::before, .deck::after { content: ''; position: absolute; inset: 0; border-radius: 6px; background: #f8f6f1; pointer-events: none; }
.deck::before { transform: translate(-22px, 22px) scale(.96); opacity: .10; }
.deck::after { transform: translate(-11px, 11px) scale(.98); opacity: .22; }
.deck .answer { z-index: 1; }
.ans-body { transition: opacity .35s ease, transform .35s ease; min-height: 17.5em; }
.ans-body.out { opacity: 0; transform: translateY(-6px); }
.ans-tabs span { transition: background .35s, color .35s; }
.ans-tabs .live { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 6px; font: normal .74rem var(--sans); color: #8f8a80; }
.ans-tabs .live i { width: 6px; height: 6px; border-radius: 50%; background: #3d8b5f; box-shadow: 0 0 0 0 rgba(61, 139, 95, .5); }
.scene-bars { display: flex; gap: 8px; margin-top: 26px; position: relative; z-index: 1; justify-content: center; }
.scene-bars button { all: unset; cursor: pointer; width: 44px; padding: 8px 0; }
.scene-bars i { display: block; height: 2px; background: rgba(244, 241, 234, .2); border-radius: 2px; position: relative; overflow: hidden; }
.scene-bars i::after { content: ''; position: absolute; inset: 0; background: #e9dcc2; transform: scaleX(0); transform-origin: right; }
.scene-bars .on i::after { transform: scaleX(1); }
.scene-bars button:focus-visible i { outline: 2px solid #e9dcc2; outline-offset: 4px; }
.hero h1 { max-width: 13ch; }
.hero .lead { color: #c9c4b9; }
.hero .fine { color: #8f8a80; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 34px 0 12px; }

.answer { margin: 0; position: relative; background: #f8f6f1; color: #1b1a17; border-radius: 6px; padding: 22px 26px 22px; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .7); }
.ans-tabs { display: flex; gap: 6px; margin-bottom: 18px; border-bottom: 1px solid #e4e0d8; padding-bottom: 12px; }
.ans-tabs span { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; padding: 4px 10px; border-radius: 999px; color: #6b675f; }
.ans-tabs span.on { background: #1b1a17; color: #f8f6f1; }
.answer .q { margin-bottom: 16px; }
.answer .q span { font: 300 1.3rem/1.3 var(--display); }
.answer .a { font-size: .98rem; }
.a-list { margin: 8px 0 14px; padding-inline-start: 22px; display: grid; gap: 8px; }
.a-list sup { color: var(--gold); font-size: .7em; }
.a-missing { position: relative; list-style-type: none; margin-inline-start: -22px; padding: 6px 0 0; }
.slot { display: inline-block; border: 1px dashed #a49e93; color: #6b675f; padding: 3px 18px; border-radius: 3px; }
.ring-draw { position: absolute; top: -6px; right: -18px; width: 200px; height: 62px; overflow: visible; pointer-events: none; }
.ring-draw path { fill: none; stroke: var(--gold); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 640; stroke-dashoffset: 0; }
.note { position: absolute; top: 2px; left: 0; font: 700 1.7rem/1 var(--hand); color: #9a6a1c; transform: rotate(-5deg); }
.a-src { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: #6b675f; font-size: .84rem; margin: 0; }
.chip { border: 1px solid #e4e0d8; border-radius: 999px; padding: 0 10px; }
.typed { display: inline-block; }

@media (prefers-reduced-motion: no-preference) {
  .answer .typed { clip-path: inset(0 0 0 100%); animation: type 1.2s steps(30, end) .4s forwards; }
  .answer .a-line { opacity: 0; transform: translateY(6px); animation: rise .6s ease forwards; }
  .answer .l1 { animation-delay: 1.8s; }
  .answer .l2 { animation-delay: 2.3s; }
  .answer .l3 { animation-delay: 2.8s; }
  .answer .l4 { animation-delay: 3.3s; }
  .answer .l5 { animation-delay: 3.8s; }
  .answer .slot { opacity: 0; animation: fade .5s 4s forwards; }
  .ring-draw path { stroke-dashoffset: 640; animation: draw 1.2s 4.5s cubic-bezier(.65, 0, .35, 1) forwards; }
  .note { opacity: 0; animation: note .5s 5.5s forwards; }
  .stamp-in { animation: press .5s .1s ease-out both; }
  .hero .aurora i:nth-child(1) { animation: drift1 26s ease-in-out infinite alternate; }
  .hero .aurora i:nth-child(2) { animation: drift2 32s ease-in-out infinite alternate; }
  .hero .aurora i:nth-child(3) { animation: drift1 38s ease-in-out infinite alternate-reverse; }
  .hero .horizon { animation: grid-run 6s linear infinite; }
  .ans-tabs .live i { animation: pulse 2s ease-out infinite; }
  .scene-bars .on i::after { transform: scaleX(0); animation: fill var(--scene, 9s) linear forwards; }
  .answer-stage:hover .scene-bars .on i::after { animation-play-state: paused; }
}
@keyframes drift1 { to { transform: translate(8vw, -6vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-10vw, 8vh) scale(.9); } }
@keyframes grid-run { to { background-position: 0 56px, 0 0; } }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(61, 139, 95, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 139, 95, 0); } }
@keyframes fill { to { transform: scaleX(1); } }
@keyframes type { to { clip-path: inset(0 0 0 0); } }
@keyframes rise { to { opacity: 1; transform: none; } }
.answer.settled .typed, .answer.settled .a-line, .answer.settled .slot, .answer.settled .note, .answer.settled .ring-draw path { animation: none; clip-path: none; opacity: 1; transform: none; stroke-dashoffset: 0; }
.answer.settled .note { transform: rotate(-5deg); }
@keyframes fade { to { opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes note { from { opacity: 0; transform: rotate(-5deg) translateY(6px); } to { opacity: 1; transform: rotate(-5deg); } }
@keyframes press { from { transform: scale(1.06); } to { transform: none; } }

/* ---------- landing sections ---------- */
.engines-band { background: var(--night-2); color: #d9d4c9; padding: 34px 0; }
@media (prefers-color-scheme: light) { .engines-band { background: #1d1f26; } }
.engines-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.engines-band p { margin: 0; color: #a8a398; }
.engines-row { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 44px; }
.engines-row li { display: inline-flex; align-items: center; gap: 12px; }
.engines-row li span { display: grid; line-height: 1.25; }
.engines-row b { font-weight: 500; color: #f4f1ea; }
.engines-row small { color: #8f8a80; font-size: .78rem; }
.elogo { flex: none; }
.elogo-claude { color: #d97757; }
.elogo-chatgpt { color: currentColor; }
.elogo-gemini { color: #6f8ff6; }
.engines-band .elogo-chatgpt { color: #f4f1ea; }

.statement { padding: 120px 24px 40px; max-width: 980px; }
.big-quote { font: 200 clamp(1.9rem, 4vw, 3.3rem)/1.25 var(--display); margin-bottom: 26px; }
.statement .muted { font-size: 1.12rem; max-width: 62ch; }

.showcase { padding: 60px 24px 20px; display: grid; gap: 90px; }
.show-row { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.show-row.flip .show-copy { order: 2; }
.kicker.dark { color: var(--gold); }
.show-copy p { color: var(--muted); max-width: 46ch; }
.show-visual { padding: 34px; display: flex; gap: 28px; align-items: center; min-height: 230px; }
.mini-engines { flex: 1; display: grid; gap: 14px; }
.mini-engines div { display: grid; grid-template-columns: 8em 1fr 3em; gap: 12px; align-items: center; font-size: .93rem; }
.mini-engines span { display: inline-flex; align-items: center; gap: 8px; }
.mini-engines i { height: 4px; background: var(--ink); border-radius: 2px; }
.mini-engines b { text-align: left; font-weight: 400; }
.answer-mini { display: block; }
.answer-mini .q-mini { font: 300 1.15rem var(--display); }
.answer-mini mark { padding: 1px 4px; border-radius: 2px; color: inherit; }
.m-you { background: var(--you); }
.m-comp { background: var(--comp); }
.src-mini { color: var(--muted); font-size: .86rem; margin: 0; }
.tasks-mini { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; gap: 14px; }
.tasks-mini li { display: flex; gap: 14px; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.tasks-mini li.done { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--gold); }
.pri { font-size: .75rem; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line); min-width: 4.6em; text-align: center; }
.pri.high { border-color: var(--ink); }
.pri.mid { color: var(--mid); border-color: var(--mid); }
.pri.low { color: var(--good); border-color: var(--good); }

.check-band { background: var(--sheet); border-block: 1px solid var(--line); padding: 96px 0; margin-top: 110px; }
.check-in { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.check-copy p { color: var(--muted); max-width: 46ch; }
.check-band form.sheet { padding: 30px; background: var(--paper); }

.timeline-sec { padding: 110px 24px 24px; }
.timeline { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.timeline li { padding: 22px 0 0; padding-inline-end: 32px; position: relative; }
.timeline li::before { content: ''; position: absolute; top: -5px; right: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); border: 1px solid var(--ink); }
.timeline li:first-child::before { background: var(--gold); border-color: var(--gold); }
.timeline .when { display: block; color: var(--gold); font-size: .9rem; margin-bottom: 4px; }
.timeline b { font: 300 1.45rem var(--display); display: block; margin-bottom: 6px; }
.timeline p { color: var(--muted); }

.agency-band { margin-top: 110px; background: var(--night); color: #f4f1ea; padding: 72px 0; }
.agency-in { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.agency-band p { max-width: 58ch; color: #c9c4b9; margin: 0; }
.faq { padding: 110px 24px 0; max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font: 300 1.25rem var(--display); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 200 1.6rem/1 var(--display); color: var(--gold); }
.faq details[open] summary::after { content: '−'; }
.faq p { margin: 12px 0 4px; color: var(--muted); max-width: 66ch; }

/* ---------- report ---------- */
.report { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; padding-top: 34px; }
.report > *, .grid2 > *, .engine-cards > * { min-width: 0; }
.report-head { display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center; padding: 34px; }
.rh-score { display: grid; justify-items: center; gap: 6px; }
.tone { font-size: .88rem; margin: 0; }
.tone.good { color: var(--good); }
.tone.mid { color: var(--mid); }
.tone.low { color: var(--low); }
.meta { color: var(--gold); font-size: .9rem; margin-bottom: 4px; }
.score-stamp { overflow: visible; }
.score-stamp .outer { fill: none; stroke: var(--line); stroke-width: 1; }
.score-stamp .track { fill: none; stroke: var(--line); stroke-width: 3; }
.score-stamp .val { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; }
.score-stamp .num { font: 200 40px var(--display); fill: var(--ink); }
.score-stamp .of { font: 300 10px var(--text); fill: var(--muted); }
.engine-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.eng { border-radius: var(--r); padding: 18px 20px; background: var(--sheet); border: 1px solid var(--line); }
.eng.soon { background: transparent; border-style: dashed; color: var(--muted); }
.eng h3 { font: 500 1rem var(--text); margin-bottom: 6px; display: flex; gap: 8px; align-items: center; }
.eng .big { font: 200 2.3rem/1.1 var(--display); margin: 0 0 4px; }
.eng .muted { font-size: .86rem; margin: 0; }
.soon-tag { margin: 0; font-size: .86rem; }
.fixes-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.progress-note { color: var(--gold); margin: 0; }
.fix-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; }
.fix-list li { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.fix-list li:first-child { border-top: 0; }
.fix-list p { margin: 3px 0 0; }
.fix-list .how { color: var(--muted); }
.fix-list b { font-weight: 500; }
.box { width: 22px; height: 22px; border: 1px solid var(--ink); border-radius: 50%; background: transparent; display: inline-grid; place-items: center; padding: 0; cursor: pointer; flex: none; margin-top: 3px; }
span.box { cursor: default; }
li.done > .fix-toggle .box, li.done > .box { background: var(--ink); }
li.done > .fix-toggle .box::after, li.done > .box::after { content: ''; width: 9px; height: 5px; border-left: 1.5px solid var(--paper); border-bottom: 1.5px solid var(--paper); transform: translateY(-1px) rotate(-45deg); }
.fix-list li.done b { text-decoration: line-through; text-decoration-color: var(--gold); }
.fix-toggle { margin: 0; }
.after-fix { margin: 14px 0 0; padding: 12px 16px; background: var(--gold-soft); border-radius: var(--r); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.bars { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.bars li { display: grid; grid-template-columns: minmax(0, 1.4fr) 1fr 44px; gap: 12px; align-items: center; }
.bars .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar { height: 4px; background: var(--line); border-radius: 2px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--ink); }
.bars .val { text-align: left; font-variant-numeric: tabular-nums; }
.table-wrap { overflow-x: auto; position: relative; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { padding: 12px; border-bottom: 1px solid var(--line); text-align: right; vertical-align: top; }
th { font-weight: 500; }
.qtable td.hit, .qtable td.miss { text-align: center; white-space: nowrap; font-variant-numeric: tabular-nums; }
.qtable td.hit { background: var(--hit); }
.qtable td.miss { background: var(--miss); }
.winners { display: block; color: var(--muted); font-size: .85rem; margin-top: 3px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.trend { margin: 0; }
.trend svg { width: 100%; height: auto; direction: ltr; }
.trend .grid { stroke: var(--line); }
.trend .axis { font: 11px var(--text); fill: var(--muted); }
.trend .line { fill: none; stroke: var(--ink); stroke-width: 1.6; }
.trend .pt { fill: var(--ink); }
.trend .last { font: 300 16px var(--display); fill: var(--ink); }
.trend .series-comp { fill: none; stroke: var(--muted); stroke-width: 1; stroke-dasharray: 4 4; }
.trend figcaption { color: var(--muted); font-size: .88rem; text-align: center; }
.progress { height: 3px; background: var(--line); overflow: hidden; margin: 26px 0 10px; }
.progress span { display: block; height: 100%; background: var(--ink); transition: width .4s; }
.center .stamp-mark { margin-bottom: 10px; }

/* ---------- workspace tabs (business page) ---------- */
.ws-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.ws-head h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 0; }
.tabs { display: flex; flex-wrap: nowrap; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.tabs::-webkit-scrollbar { display: none; }
.cool { margin: 0; max-width: 34ch; }
.tabs a { padding: 12px 16px; text-decoration: none; color: var(--muted); border-bottom: 1px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a[aria-current="page"] { color: var(--ink); border-color: var(--ink); }
.answers-list { display: grid; gap: 14px; }
.answer-card { padding: 22px 24px; }
.answer-card header { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 10px; flex-wrap: wrap; }
.answer-card .eng-tag { display: inline-flex; gap: 8px; align-items: center; font-weight: 500; }
.answer-card .hitflag { font-size: .8rem; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line); }
.answer-card .hitflag.yes { border-color: var(--good); color: var(--good); }
.answer-text { white-space: pre-wrap; font-size: .96rem; max-height: 22em; overflow: auto; }
.answer-text mark { padding: 0 3px; border-radius: 2px; color: inherit; }
.answer-card .srcs { margin: 10px 0 0; font-size: .85rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 14px; }
.answer-card .srcs a { color: var(--muted); }
.q-group { display: grid; gap: 10px; }
.q-group > h3 { font: 300 1.3rem var(--display); margin: 20px 0 4px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters a { padding: 5px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: .9rem; display: inline-flex; gap: 6px; align-items: center; }
.filters a[aria-current="true"] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.sov td.you, .sov tr.you td { background: var(--gold-soft); }
.narrative blockquote { margin: 0 0 12px; padding: 12px 16px; border-inline-start: 2px solid var(--gold); background: var(--paper); }
.narrative cite { display: block; font-style: normal; font-size: .84rem; color: var(--muted); margin-top: 6px; }
.content-out { white-space: pre-wrap; direction: ltr; text-align: left; background: var(--paper); border: 1px solid var(--line); padding: 16px; border-radius: var(--r); font: 13px/1.6 ui-monospace, Menlo, monospace; max-height: 28em; overflow: auto; }
.content-out.rtl { direction: rtl; text-align: right; font: 300 .98rem/1.7 var(--text); }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.stat-row .sheet { padding: 18px 20px; }
.stat-row .big { font: 200 2.2rem/1.1 var(--display); margin: 0; }
.stat-row .muted { margin: 0; font-size: .88rem; }

/* ---------- app ---------- */
.app-page { padding-top: 34px; }
.dash-head { margin: 8px 0 18px; }
.crumbs { margin: 0; color: var(--muted); font-size: .92rem; }
.crumbs a { color: var(--muted); }
.trial-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--sheet); border: 1px solid var(--gold); border-radius: var(--r); padding: 12px 18px; margin-bottom: 16px; }
.trial-bar p { margin: 0; }
.run-form { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin: 0; }
.onboarding { margin-bottom: 18px; }
.onboarding ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.onboarding li { display: flex; gap: 12px; align-items: center; }
.onboarding li.done { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--gold); }
.biz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.biz { display: flex; gap: 18px; align-items: center; padding: 20px; text-decoration: none; transition: border-color .2s; }
.biz:hover { border-color: var(--ink); }
.biz h3 { margin: 0; }
.biz p { margin: 0; }
.biz.add { justify-content: center; min-height: 124px; border-style: dashed; background: transparent; }
.ring-empty { width: 84px; height: 84px; border-radius: 50%; border: 1px dashed var(--line); display: grid; place-items: center; color: var(--muted); }
.delta { margin: 4px 0 0; font-size: .88rem; }
.delta.up { color: var(--good); }
.delta.down { color: var(--low); }
.upsell { border: 1px solid var(--gold); }
.upsell-ctas { display: flex; gap: 10px; flex-wrap: wrap; margin: 0; }
.history { padding-inline-start: 18px; }
.settings { display: grid; gap: 18px; }
.danger { border-color: color-mix(in srgb, var(--low) 30%, var(--line)); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 20px 0 28px; }
.stat { padding: 16px; }
.stat .big { font: 200 2rem/1.1 var(--display); margin: 0; }
.gift { margin-bottom: 20px; }
.gift summary { cursor: pointer; }
.gift form { margin-top: 14px; }
.funnel { list-style: none; padding: 0; display: grid; gap: 6px; margin-bottom: 28px; }
.funnel li { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r); padding: 9px 14px; }
.funnel .fn { font: 200 1.5rem var(--display); }
iframe.mail { width: 100%; height: 520px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
pre { white-space: pre-wrap; direction: ltr; text-align: left; }

/* ---------- pricing & checkout ---------- */
.pricing { padding-top: 56px; }
.interval { border: 1px solid var(--line); padding: 4px; margin: 26px 0; display: inline-flex; gap: 4px; background: var(--sheet); border-radius: 999px; position: relative; }
.interval input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; margin: 0; padding: 0; inset: 0 auto auto 0; }
.interval label { padding: 7px 18px; border-radius: 999px; cursor: pointer; }
.interval input:checked + label { background: var(--ink); color: var(--paper); }
.interval input:focus-visible + label { outline: 2px solid var(--gold); }
.plans-table { min-width: 660px; background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r); border-collapse: separate; border-spacing: 0; }
.plans-table thead th { vertical-align: bottom; padding: 26px 18px; border-bottom: 1px solid var(--ink); }
.plans-table th.featured, .plans-table td.featured { background: var(--gold-soft); }
.pname { display: block; font: 300 1.5rem var(--display); }
.pprice { display: block; font: 200 2.4rem/1.15 var(--display); margin: 8px 0 16px; }
.pprice small { display: block; font: 300 .84rem var(--text); color: var(--muted); }
.plans-table .btn { width: 100%; }
.plans-table tbody th { font-weight: 400; }
.plans-table td { text-align: center; }
.yes { color: var(--good); }
.no { color: var(--muted); }
.py { display: none !important; }
.pricing:has(#i-year:checked) a.py { display: inline-flex !important; }
.pricing:has(#i-year:checked) span.py { display: block !important; }
.pricing:has(#i-year:checked) .pm { display: none !important; }
.checkout .price-line { font-size: 1.1rem; }
.checkout .price-line b { font: 200 2.4rem var(--display); }
.pay-state { display: grid; gap: 10px; margin: 20px 0; }
.state-msg { margin: 0; }
.legal { max-width: 780px; padding-top: 44px; }
.legal h2 { margin-top: 1.5em; font-size: 1.5rem; }
.auth-box .btn.google { margin-bottom: 4px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-in, .check-in, .show-row { grid-template-columns: 1fr; gap: 40px; }
  .show-row.flip .show-copy { order: 0; }
  .hero { padding: 120px 0 72px; }
  .grid2 { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; border-top: 0; border-inline-start: 1px solid var(--ink); }
  .timeline li { padding: 0 0 26px; padding-inline-start: 26px; }
  .timeline li::before { top: 9px; right: -5px; }
  .agency-in { flex-direction: column; align-items: flex-start; }
  .foot-in { grid-template-columns: 1fr; }
  .foot nav { justify-content: flex-start; }
  .engines-row { gap: 26px; }
  .statement { padding-top: 80px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .top-in nav > :not(.keep) { display: none; }
  .report-head { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 24px; }
  .row2 { grid-template-columns: 1fr; }
  .pad { padding: 20px; }
  .answer { padding: 18px 16px; }
  .ans-body { min-height: 19em; }
  .ans-tabs .live { display: none; }
  .deck::before, .deck::after { display: none; }
  .ring-draw { width: 170px; }
  .show-visual { padding: 22px; flex-direction: column; align-items: stretch; }
  .mini-engines div { grid-template-columns: 6.5em 1fr 2.6em; }
  .check-band { padding: 64px 0; }
  .eng .big { font-size: 1.8rem; }
}

/* ---------- print ---------- */
@media print {
  body { background: #fff; color: #000; font-size: 11pt; }
  .top, .foot, .noprint, .actions, .skip, .trial-bar, .tabs { display: none !important; }
  .sheet { border-color: #ccc; break-inside: avoid; }
  .report { padding: 0; }
  a { color: #000; text-decoration: none; }
}

/* Header on the dark home hero: light primary button */
body.home .top .btn.primary { background: #f4f1ea; color: #15161b; border-color: #f4f1ea; }
body.home .top .btn.primary:hover { background: transparent; color: #f4f1ea; }
