/* RungLeap look v4 (2026-11-13). Warm paper and ink, a serif voice, hairline rules, and a "verdict slip" as the one signature.
   System fonts only. v4 took out the template habits: all-caps labels, 01/02/03 numbering, a styled word in the headline,
   hard offset shadows on every box, and the black-and-gold dark theme. The only capitals left are on the verdict stamp. */
:root {
  --paper: #f5f0e6; --paper-2: #ece5d4; --surface: #fffdf7; --ink: #1c2230; --ink-2: #474d5e; --ink-3: #666b7a;
  --rule: #cdc4ae; --accent: #1f3a5f; --accent-ink: #fffdf7; --focus: #1f3a5f;
  --strong: #2c6a3d; --worth: #8f5500; --pass: #9c3524; --band-a: #fffdf7; --band-b: #e6ecf5;
  --strong-wash: rgba(44, 106, 61, 0.1); --worth-wash: rgba(143, 85, 0, 0.1); --pass-wash: rgba(156, 53, 36, 0.09);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, monospace;
  --side: #1f3a5f; --side-2: #2b4b78; --side-ink: #fffdf7; --side-ink-2: #cfdaea; --side-rule: #3a567e; --side-mark: #ffa894;
  --pop: #f2b441; --pop-ink: #1c2230; --hello: #8f5500;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1c222b; --paper-2: #232a35; --surface: #252d39; --ink: #ece7dc; --ink-2: #c3c0b6; --ink-3: #a19f97;
    --rule: #3a4352; --accent: #a9c7ee; --accent-ink: #152030; --focus: #a9c7ee;
    --strong: #8fd3a0; --worth: #e8b765; --pass: #f09a88; --band-a: #252d39; --band-b: #2d3746;
    --strong-wash: rgba(134, 207, 151, 0.1); --worth-wash: rgba(230, 173, 79, 0.1); --pass-wash: rgba(236, 145, 127, 0.1);
    --side: #1d4175; --side-2: #28528e; --side-ink: #f6f2e9; --side-ink-2: #c9d7ec; --side-rule: #34588c;
    --pop: #f5bd4f; --pop-ink: #1a2030; --hello: #f5bd4f;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--paper); }
a { color: var(--accent); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 760px; }
.hidden { display: none !important; }
.sr { position: absolute; left: -9999px; }
h1, h2, h3 { font-family: var(--serif); letter-spacing: -0.01em; }
.mono { font-family: var(--mono); }

/* ---- masthead ---- */
.masthead { background: var(--side); border-bottom: 1px solid var(--side-rule); }
.masthead :focus-visible { outline-color: var(--side-ink); }
.masthead .wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 28px; padding-top: 16px; padding-bottom: 16px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 700 21px/1 var(--serif); }
.masthead .wordmark { color: var(--side-ink); }
.masthead .wordmark .mark { border-color: var(--side-mark); color: var(--side-mark); }
.wordmark .mark { display: inline-grid; place-items: center; width: 30px; height: 26px; border: 2px solid var(--pass); color: var(--pass); border-radius: 3px; font: 800 12px/1 var(--sans); transform: rotate(-4deg); }
.masthead nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; }
.masthead nav a { color: var(--side-ink-2); text-decoration: none; font-size: 15px; padding: 6px 0; border-bottom: 1px solid transparent; }
.masthead nav a:hover, .masthead nav a[aria-current="page"] { color: var(--side-ink); border-bottom-color: var(--side-ink); }
.masthead nav a.go { color: var(--side-ink); border-bottom-color: var(--side-ink); font-weight: 700; }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 4px; font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer; border: 2px solid var(--accent); background: var(--accent); color: var(--accent-ink); }
.btn:hover { filter: brightness(1.12); }
.btn.secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.danger { background: transparent; color: var(--pass); border-color: var(--pass); }
.btn.small { min-height: 34px; padding: 0 12px; font-size: 14px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.pop { background: var(--pop); border-color: var(--pop); color: var(--pop-ink); min-height: 54px; padding: 0 30px; font-size: 17px; font-weight: 700; }

/* ---- landing ---- */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; padding: 56px 0 32px; }
.kicker { font: 400 15px/1.4 var(--sans); color: var(--ink-3); margin: 0 0 14px; }
.hello { font: 400 clamp(20px, 2vw, 26px)/1 var(--serif); color: var(--ink-2); margin: 0 0 14px; }
.hero h1 { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.08; margin: 0; font-weight: 700; }
.hero h1 em { font-style: normal; }
.hero-lede { margin: 22px 0 0; font-size: 19px; color: var(--ink-2); max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 28px; }
.hero-small { margin: 16px 0 0; font-size: 14px; color: var(--ink-3); }

.slip { position: relative; background: var(--surface); border: 1px solid var(--ink-3); box-shadow: 6px 6px 0 var(--rule); padding: 26px 26px 22px; transform: rotate(.6deg); }
.slip-head { display: flex; justify-content: space-between; gap: 12px; font: 600 13px/1 var(--sans); color: var(--ink-3); padding-bottom: 12px; border-bottom: 1px dashed var(--rule); }
.slip-job { font: 700 19px/1.25 var(--serif); margin: 16px 0 4px; }
.slip-sub { color: var(--ink-3); font-size: 13px; margin: 0; }
.slip dl { margin: 16px 0 0; }
.slip .leader { display: flex; gap: 8px; align-items: baseline; margin: 7px 0; font-size: 14.5px; }
.slip .leader dt { color: var(--ink-2); flex: none; }
.slip .leader::before { content: ""; order: 1; flex: 1; border-bottom: 1px dotted var(--ink-3); transform: translateY(-4px); }
.slip .leader dd { order: 2; margin: 0; text-align: right; font-weight: 600; flex: none; max-width: 55%; }
.slip-foot { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--rule); }
.slip-foot .ghost { font-size: 13px; color: var(--ink-2); border: 1px solid var(--ink-3); padding: 6px 12px; border-radius: 3px; }
.slip-note { margin: 18px 4px 0; font-size: 12px; color: var(--ink-3); text-align: center; transform: rotate(.6deg); }

/* the verdict stamp, used on the slip and in the tool */
.tier, .stamp { display: inline-block; font: 700 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 8px 12px; border: 2px solid currentColor; border-radius: 3px; transform: rotate(-2deg); }
.tier.strong, .stamp.strong { color: var(--strong); background: var(--strong-wash); }
.tier.worth, .stamp.worth { color: var(--worth); background: var(--worth-wash); }
.tier.pass, .stamp.pass { color: var(--pass); background: var(--pass-wash); }
.tier.unrated { color: var(--ink-2); background: transparent; border-style: dashed; transform: none; }

.band { border-top: 1px solid var(--rule); margin-top: 64px; }
.band-head { padding-top: 36px; max-width: 46em; }
.band-head h2 { font: 700 clamp(26px, 3vw, 34px)/1.15 var(--serif); margin: 0 0 8px; color: var(--ink); }
.band-head p.big { font: 400 18px/1.55 var(--sans); color: var(--ink-2); margin: 0; max-width: 38em; }
.rows { list-style: none; margin: 28px 0 0; padding: 0; }
.rows li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 0 32px; padding: 18px 0; border-top: 1px solid var(--rule); align-items: baseline; }
.rows .num { display: none; }
.rows h3 { grid-column: 1; margin: 0; font-size: 19px; }
.rows p { grid-column: 2; margin: 0; color: var(--ink-2); }
.timeline { list-style: none; margin: 28px 0 0; padding: 0; counter-reset: s; }
.timeline li { display: grid; grid-template-columns: 2em minmax(0, 1fr); gap: 0 8px; padding: 18px 0; border-top: 1px solid var(--rule); }
.timeline li::before { counter-increment: s; content: counter(s) "."; grid-column: 1; grid-row: 1 / span 2; font: 700 21px/1.3 var(--serif); color: var(--ink-3); }
.timeline h3 { grid-column: 2; margin: 0 0 6px; font-size: 21px; }
.timeline p { grid-column: 2; margin: 0; color: var(--ink-2); max-width: 44em; }
.faq { margin-top: 24px; }
.faq details { border-top: 1px solid var(--rule); padding: 16px 0; max-width: 46em; }
.faq summary { cursor: pointer; font: 600 18px/1.35 var(--serif); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "\25B8\00a0"; color: var(--ink-3); }
.faq details[open] summary::before { content: "\25BE\00a0"; }
.faq p { margin: 10px 0 0 22px; color: var(--ink-2); max-width: 40em; }
.closing { margin-top: 72px; background: var(--side); color: var(--side-ink); border-radius: 6px; padding: 40px 44px; display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.closing h2 { font: 700 clamp(24px, 2.8vw, 32px)/1.15 var(--serif); margin: 0; max-width: 20em; }
.closing .btn { background: var(--side-ink); border-color: var(--side-ink); color: var(--side); min-height: 52px; padding: 0 28px; font-size: 17px; font-weight: 700; }
footer.site { padding: 28px 0 52px; color: var(--ink-3); font-size: 13px; border-top: 1px solid var(--rule); margin-top: 56px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer.site a { color: var(--ink-2); }

/* ---- the tool ---- */
main.tool { padding-top: 32px; padding-bottom: 56px; }
main.tool h1 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.1; margin: 0 0 8px; }
.lede { font-size: 18px; color: var(--ink-2); margin: 0 0 8px; max-width: 40em; }
.banner { border: 1px solid var(--rule); border-left: 4px solid var(--worth); background: var(--surface); padding: 12px 16px; margin: 16px 0; border-radius: 4px; }
.tabs { display: flex; flex-wrap: wrap; gap: 4px 26px; margin: 22px 0 18px; border-bottom: 1px solid var(--rule); }
.tab { font: 600 15px/1 var(--sans); background: transparent; color: var(--ink-3); border: 0; border-bottom: 3px solid transparent; padding: 12px 0 10px; margin-bottom: -1px; cursor: pointer; min-height: 44px; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.card { background: var(--surface); border: 1px solid var(--rule); border-radius: 4px; padding: 22px; margin: 22px 0; }
.card h2 { font-size: 24px; margin: 0 0 8px; }
.card h3 { font: 700 15px/1.3 var(--sans); color: var(--ink); margin: 22px 0 6px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 14px 0 4px; }
label { display: block; font-weight: 600; margin: 14px 0 6px; font-size: 15px; }
label input[type=checkbox] { margin-right: 8px; accent-color: var(--accent); width: 17px; height: 17px; vertical-align: -3px; }
.hint { color: var(--ink-3); font-size: 13px; font-weight: 400; }
input[type=text], input[type=url], input[type=number], input[type=password], input[type=email], input[type=search], input[type=file], select, textarea { width: 100%; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--ink-3); border-radius: 2px; padding: 10px 12px; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: 3px solid var(--focus); outline-offset: 0; }
textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
textarea.big { min-height: 260px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.verdict-line { font: 700 24px/1.2 var(--serif); margin: 14px 0; }
.odds { font-size: 17px; }
.odds b { font-family: var(--mono); }
.estimate { color: var(--ink-3); font-size: 14px; }
ul.tight, ol.tight { margin: 6px 0; padding-left: 20px; }
ul.tight li, ol.tight li { margin: 5px 0; }
.flag { color: var(--worth); }
.block { color: var(--pass); }
.notice { color: var(--ink-3); font-size: 14px; }
.ok { color: var(--strong); }
.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th { text-align: left; font: 600 13px/1.3 var(--sans); color: var(--ink-2); padding: 10px 10px; border-bottom: 1px solid var(--ink-3); }
td { padding: 12px 10px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.stat { display: inline-block; min-width: 120px; margin: 0 22px 8px 0; color: var(--ink-2); font-size: 14px; }
.stat b { display: block; font: 700 32px/1.2 var(--serif); color: var(--ink); }
pre.prompt { white-space: pre-wrap; background: var(--paper); border: 1px solid var(--rule); padding: 12px; max-height: 260px; overflow: auto; font: 13px/1.5 var(--mono); }
details summary { cursor: pointer; color: var(--ink-2); margin-top: 10px; }

/* ---- legal and plain text pages ---- */
.legal { padding-top: 40px; padding-bottom: 56px; }
main.account .legal { padding-top: 0; padding-bottom: 0; }
.legal h1 { font-size: 36px; margin: 0 0 12px; }
.legal h2 { font-size: 24px; margin: 34px 0 8px; }
.legal h3 { font-size: 18px; margin: 22px 0 6px; }
.legal p, .legal li { color: var(--ink-2); max-width: 68ch; }
.legal blockquote { margin: 14px 0; padding: 4px 16px; border-left: 4px solid var(--rule); color: var(--ink-2); }
.legal code { font-family: var(--mono); font-size: .9em; background: var(--paper-2); padding: 1px 6px; }
.legal hr { border: 0; border-top: 1px solid var(--rule); margin: 28px 0; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 40px; }
  .rows li { grid-template-columns: 1fr; gap: 6px; }
  .rows h3, .rows p { grid-column: 1; }

  .slip, .slip-note { transform: none; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .grid2 { grid-template-columns: 1fr; }
  .masthead nav { margin-left: 0; }
  .card { padding: 16px; }
}

/* guided start and dashboard */
.steps { margin: 8px 0 14px; padding-left: 22px; }
.steps li { margin: 6px 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
table.board { width: 100%; table-layout: fixed; font-size: 14px; }
table.board th, table.board td { vertical-align: top; overflow-wrap: anywhere; }
table.board th:nth-child(1) { width: 17%; }
table.board th:nth-child(2) { width: 12%; }
table.board th:nth-child(3) { width: 8%; }
table.board th:nth-child(4) { width: 10%; }
table.board th:nth-child(5) { width: 11%; }
table.board th:nth-child(6) { width: 11%; }
table.board th:nth-child(7) { width: 12%; }
table.board th:nth-child(8) { width: 7%; }
table.board th:nth-child(9) { width: 12%; }
table.board select, table.board input[type="text"] { width: 100%; min-width: 0; }
table.board .tier { overflow-wrap: normal; word-break: normal; white-space: normal; font-size: 11px; padding: 4px 6px; }
table.board td.actions .btn { white-space: nowrap; padding: 6px 12px; min-height: 0; }
table.board tbody.job { border-bottom: 1px solid var(--ink-3); }
table.board tr.job-row td { border-bottom: 0; padding-bottom: 6px; }
table.board tr.why-row td { padding: 6px 10px 14px; border-bottom: 1px solid var(--rule); }
table.board .why-line { margin: 0 0 6px; }
table.board .facts { margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 4px 24px; color: var(--ink-2); }
table.board .notes-label { display: flex; align-items: center; gap: 8px; }
table.board .notes-label input { flex: 1; }
table.board td.actions { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
@media (max-width: 900px) {
  table.board, table.board tbody, table.board tr, table.board td { display: block; width: 100%; }
  table.board thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.board tbody.job { margin: 0 0 18px; border: 1px solid var(--ink-3); }
  table.board tr.job-row td, table.board tr.why-row td { border: 0; padding: 6px 12px; }
  table.board tr.job-row td[data-label]::before { content: attr(data-label); display: block; font: 600 12px/1.4 var(--sans); color: var(--ink-3); }
  table.board tr.why-row td { padding-bottom: 12px; }
  table.board td.actions { flex-direction: row; flex-wrap: wrap; align-items: center; }
}
details.card > summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
/* alternating job blocks: one dark/plain, the next light blue-grey */
table.board tbody.job:nth-of-type(odd) { background: var(--band-a); }
table.board tbody.job:nth-of-type(even) { background: var(--band-b); }
table.board tr.why-row td { background: transparent; }
table.board .notice { color: var(--ink-2); }

/* pricing and free plan */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 28px 0 0; max-width: 980px; }
.plan { background: var(--surface); border: 1px solid var(--rule); border-radius: 4px; padding: 22px; }
.plan h3 { font: 700 20px/1.2 var(--serif); color: var(--ink); margin: 0 0 6px; }
.plan .price { font: 700 28px/1.2 var(--serif); margin: 0 0 12px; }
.plan ul { margin: 0 0 18px; padding-left: 20px; color: var(--ink-2); }
.plan li { margin: 6px 0; }
.plans-note { margin: 18px 0 0; color: var(--ink-3); font-size: 14px; max-width: 52em; }
.btn.disabled { cursor: not-allowed; opacity: .75; }
.paywall { border-left: 4px solid var(--worth); }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

/* ---- "See it work" demo (landing page). 18 second loop, 6 scenes of 3 seconds. CSS only. ---- */
.demo-stage { margin: 28px 0 0; max-width: 760px; }
.demo-screen { position: relative; height: 340px; background: var(--surface); border: 1px solid var(--rule); border-radius: 4px; overflow: hidden; font-size: 14px; }
.demo-scene { position: absolute; inset: 0; padding: 22px 24px 40px; opacity: 0; animation: demo-scene 18s infinite; }
.demo-scene.s2 { animation-delay: 3s; } .demo-scene.s3 { animation-delay: 6s; } .demo-scene.s4 { animation-delay: 9s; }
.demo-scene.s5 { animation-delay: 12s; } .demo-scene.s6 { animation-delay: 15s; }
@keyframes demo-scene { 0% { opacity: 0; transform: translateY(8px); } 2.5% { opacity: 1; transform: none; } 15% { opacity: 1; transform: none; } 16.6%, 100% { opacity: 0; transform: translateY(-6px); } }
.demo-screen p { margin: 0; }
.d-site { display: flex; align-items: center; gap: 6px; padding-bottom: 10px; border-bottom: 1px solid var(--rule); margin-bottom: 14px; }
.d-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--rule); }
.d-url { margin-left: 10px; font: 12px var(--mono); color: var(--ink-3); background: var(--paper-2); padding: 2px 10px; border-radius: 10px; }
.d-post { position: relative; padding: 4px 2px; }
.d-title { font: 700 20px/1.25 var(--serif); }
.d-meta { color: var(--ink-3); font-size: 13px; margin: 4px 0 12px !important; }
.d-line { color: var(--ink-2); margin: 6px 0 !important; }
.d-select { position: absolute; left: -4px; top: 0; height: 100%; width: 0; background: var(--accent); opacity: .18; animation: d-select 18s infinite; }
@keyframes d-select { 0%, 4% { width: 0; } 10%, 100% { width: calc(100% + 8px); } }
.d-chip { position: absolute; font: 600 13px var(--sans); padding: 6px 10px; background: var(--ink); color: var(--paper); opacity: 0; }
.d-copied { right: 24px; top: 70px; animation: d-pop-11 18s infinite; }
@keyframes d-pop-11 { 0%, 11% { opacity: 0; transform: scale(.8); } 12.5%, 100% { opacity: 1; transform: none; } }
.d-cursor { position: absolute; width: 14px; height: 20px; background: var(--ink); clip-path: polygon(0 0, 100% 62%, 52% 64%, 72% 100%, 56% 100%, 38% 68%, 0 90%); left: 60px; top: 100px; animation: d-cursor1 18s infinite; }
@keyframes d-cursor1 { 0%, 3% { transform: translate(0, 0); } 10% { transform: translate(380px, 70px); } 12%, 100% { transform: translate(430px, -30px); } }
.d-app { font: 700 14px/1 var(--sans); color: var(--ink-3); margin-bottom: 12px !important; }
.d-paste { border: 1px solid var(--ink-3); background: var(--paper); height: 150px; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.d-type { display: block; height: 9px; background: var(--ink-3); opacity: .55; width: 0; }
.t1 { animation: d-t1 18s infinite; } .t2 { animation: d-t2 18s infinite; } .t3 { animation: d-t3 18s infinite; } .t4 { animation: d-t4 18s infinite; }
@keyframes d-t1 { 0%, 18% { width: 0; } 20%, 100% { width: 70%; } }
@keyframes d-t2 { 0%, 19% { width: 0; } 21%, 100% { width: 92%; } }
@keyframes d-t3 { 0%, 20% { width: 0; } 22%, 100% { width: 60%; } }
@keyframes d-t4 { 0%, 21% { width: 0; } 23%, 100% { width: 80%; } }
.d-btn { display: inline-block; margin-top: 14px; padding: 10px 16px; background: var(--accent); color: var(--accent-ink); font-weight: 700; animation: d-press 18s infinite; }
@keyframes d-press { 0%, 28% { transform: none; } 29% { transform: scale(.94); } 30%, 100% { transform: none; } }
.d-cursor.c2 { left: 40px; top: 60px; animation: d-cursor2 18s infinite; }
@keyframes d-cursor2 { 0%, 23% { transform: translate(300px, 60px); } 28%, 100% { transform: translate(60px, 182px); } }
.d-slip { border: 1px solid var(--ink); background: var(--paper); padding: 14px 16px; position: relative; max-width: 460px; }
.d-slip-head { display: flex; justify-content: space-between; font: 600 12px var(--sans); color: var(--ink-3); border-bottom: 1px dashed var(--rule); padding-bottom: 8px; margin-bottom: 8px; }
.d-stamp { position: absolute; right: 16px; top: 44px; border: 3px double var(--worth); color: var(--worth); font: 800 14px var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; transform: rotate(-6deg); opacity: 0; animation: d-stamp 18s infinite; }
@keyframes d-stamp { 0%, 35% { opacity: 0; transform: rotate(-6deg) scale(1.8); } 36.5%, 100% { opacity: 1; transform: rotate(-6deg) scale(1); } }
.d-row { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dotted var(--rule); padding: 6px 0; opacity: 0; }
.d-row b { font-weight: 600; } .d-row span { color: var(--ink-2); text-align: right; }
.r1 { animation: d-in-37 18s infinite; } .r2 { animation: d-in-39 18s infinite; } .r3 { animation: d-in-41 18s infinite; } .r4 { animation: d-in-43 18s infinite; } .r5 { animation: d-in-45 18s infinite; }
@keyframes d-in-37 { 0%, 37% { opacity: 0; } 38.5%, 100% { opacity: 1; } }
@keyframes d-in-39 { 0%, 39% { opacity: 0; } 40.5%, 100% { opacity: 1; } }
@keyframes d-in-41 { 0%, 41% { opacity: 0; } 42.5%, 100% { opacity: 1; } }
@keyframes d-in-43 { 0%, 43% { opacity: 0; } 44.5%, 100% { opacity: 1; } }
@keyframes d-in-45 { 0%, 45% { opacity: 0; } 46.5%, 100% { opacity: 1; } }
.d-soon { position: absolute; right: 18px; top: 18px; font: 600 12px var(--sans); color: var(--ink-3); border: 1px solid var(--ink-3); padding: 3px 8px; }
.d-doc { border: 1px solid var(--rule); background: var(--paper); padding: 14px; display: flex; flex-direction: column; gap: 9px; max-width: 520px; }
.d-bar { display: block; height: 8px; width: 88%; background: var(--rule); } .d-bar.short { width: 55%; }
.d-hl { display: block; font-size: 13px; padding: 4px 6px; background: transparent; color: var(--ink-2); }
.h1 { animation: d-hl-53 18s infinite; } .h2 { animation: d-hl-57 18s infinite; }
@keyframes d-hl-53 { 0%, 53% { background: transparent; } 55%, 100% { background: var(--strong-wash); color: var(--ink); } }
@keyframes d-hl-57 { 0%, 57% { background: transparent; } 59%, 100% { background: var(--strong-wash); color: var(--ink); } }
.d-note { margin-top: 12px !important; font-size: 13px; color: var(--ink-3); }
.d-bubble { max-width: 78%; padding: 9px 12px; margin: 8px 0 !important; border: 1px solid var(--rule); opacity: 0; }
.d-bubble.q { background: var(--paper-2); animation: d-in-68 18s infinite; }
.d-bubble.a { margin-left: auto !important; background: var(--paper); animation: d-in-72 18s infinite; }
.d-bubble.f { border-color: var(--strong); background: var(--strong-wash); animation: d-in-76 18s infinite; }
@keyframes d-in-68 { 0%, 68% { opacity: 0; } 69.5%, 100% { opacity: 1; } }
@keyframes d-in-72 { 0%, 72% { opacity: 0; } 73.5%, 100% { opacity: 1; } }
@keyframes d-in-76 { 0%, 76% { opacity: 0; } 77.5%, 100% { opacity: 1; } }
.d-track { border: 1px solid var(--rule); }
.d-trow { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--rule); position: relative; }
.d-trow.dim { color: var(--ink-3); }
.d-status { font: 600 12px var(--sans); padding: 3px 8px; border: 1px solid var(--ink-3); }
.d-status.st1 { position: absolute; right: 12px; animation: d-out-88 18s infinite; }
.d-status.st2 { border-color: var(--strong); color: var(--strong); background: var(--strong-wash); opacity: 0; animation: d-in-88 18s infinite; }
@keyframes d-out-88 { 0%, 88% { opacity: 1; } 89.5%, 100% { opacity: 0; } }
@keyframes d-in-88 { 0%, 88% { opacity: 0; } 89.5%, 100% { opacity: 1; } }
.d-win { left: 24px; bottom: 44px; background: var(--strong); color: var(--paper); animation: d-pop-91 18s infinite; }
@keyframes d-pop-91 { 0%, 91% { opacity: 0; transform: scale(.8); } 92.5%, 100% { opacity: 1; transform: none; } }
.demo-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; }
.demo-dots span { width: 22px; height: 4px; background: var(--rule); animation: d-dot 18s infinite; }
.demo-dots .dd2 { animation-delay: 3s; } .demo-dots .dd3 { animation-delay: 6s; } .demo-dots .dd4 { animation-delay: 9s; } .demo-dots .dd5 { animation-delay: 12s; } .demo-dots .dd6 { animation-delay: 15s; }
@keyframes d-dot { 0%, 16% { background: var(--ink); } 16.7%, 100% { background: var(--rule); } }
.demo-steps { margin: 18px 0 0; padding-left: 22px; color: var(--ink-2); }
.demo-steps li { margin: 6px 0; }
.demo-steps b { color: var(--ink); }
.soon-tag { font: 600 12px var(--sans); color: var(--ink-3); border: 1px solid var(--rule); padding: 1px 6px; margin-left: 4px; white-space: nowrap; }
.demo-note { margin: 10px 0 0; font-size: 13px; color: var(--ink-3); max-width: 52em; }

@media (max-width: 640px) {
  .demo-screen { height: 360px; font-size: 13px; }
  .demo-scene { padding: 16px 14px 36px; }
  .d-title { font-size: 17px; }
  .d-cursor { display: none; }
  .d-copied { right: 14px; top: auto; bottom: 46px; }
  .d-stamp { position: static; display: inline-block; margin: 2px 0 6px; }
  .d-soon { position: static; display: inline-block; margin-bottom: 8px; }
  .d-row span { font-size: 12px; }
}
/* Reduced motion: no movement. Show the verdict frame, fully drawn, plus the written steps below it. */
@media (prefers-reduced-motion: reduce) {
  .demo-screen *, .demo-scene { animation: none !important; }
  .demo-scene { opacity: 0; }
  .demo-scene.s3, .demo-scene.s3 .d-stamp, .demo-scene.s3 .d-row { opacity: 1; }
  .demo-dots { display: none; }
}

/* practice interview: STAR lesson and examples */
.star-lesson > summary { font-size: 20px; }
.star-steps { margin: 12px 0; display: grid; gap: 10px; }
.star-steps > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 4px 16px; align-items: baseline; }
.star-steps dt { font-weight: 700; display: flex; align-items: center; gap: 10px; }
.star-steps dd { margin: 0; color: var(--ink-2); }
.star-letter { display: inline-grid; place-items: center; width: 28px; height: 28px; border: 2px solid var(--ink); font: 700 15px var(--serif); }
.star-example li { margin: 6px 0; }
.star-mini { margin: 6px 0 12px; }
.star-mini > summary { cursor: pointer; font-weight: 600; min-height: 32px; }
.iv-example { border-left: 4px solid var(--strong); padding: 4px 0 4px 16px; margin: 16px 0; }
.iv-feedback { border-left: 4px solid var(--rule); padding: 4px 0 4px 16px; margin: 16px 0; }
.iv-jobs { list-style: none; padding: 0; display: grid; gap: 8px; }
@media (max-width: 640px) { .star-steps > div { grid-template-columns: 1fr; } }


/* ---- account pages (sign up, log in, account, admin) and the account bar in the tool ---- */
main.account { padding-top: 36px; padding-bottom: 56px; }
main.account:has(.admin-wide) { max-width: 1080px; }
main.account h1 { font-size: clamp(30px, 3.6vw, 40px); line-height: 1.1; margin: 0 0 8px; }
.form .field { margin: 0 0 4px; }
.with-button { display: flex; gap: 8px; align-items: stretch; }
.with-button input { flex: 1; min-width: 0; }
.with-button .btn { min-height: 0; }
label.check { display: flex; gap: 4px; align-items: flex-start; font-weight: 400; margin: 14px 0 0; }
label.check input { flex: none; margin-top: 3px; }
.form.inline { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin: 8px 0 14px; }
.form.inline .field { width: 110px; }
.form.inline .field.grow { flex: 1; min-width: 200px; width: auto; }
.form.inline label { margin-top: 0; }
.facts { display: flex; flex-wrap: wrap; gap: 14px 36px; margin: 8px 0 0; }
.facts dt { color: var(--ink-2); font-size: 14px; }
.facts dd { margin: 0; font: 700 28px/1.2 var(--serif); }
table.table td.actions { display: flex; flex-wrap: wrap; gap: 6px; }
table.table td, table.table th { white-space: nowrap; }
pre.codes { font: 16px/1.7 var(--mono); background: var(--paper); border: 1px dashed var(--ink-3); padding: 12px 16px; margin: 12px 0 0; user-select: all; overflow-x: auto; }
.account-bar { margin: 12px 0 0; padding: 10px 14px; border: 1px solid var(--rule); border-radius: 4px; background: var(--surface); color: var(--ink-2); font-size: 14px; }

/* ---- wide screens (2026-11-14): the menu sits in a left side bar, and each section fills the space beside it.
   Under 1100px none of this applies: the menu stays along the top, as before. ---- */
@media (min-width: 1100px) {
  body { padding-left: 236px; }
  .wrap { max-width: clamp(1320px, 80%, 1560px); padding: 0 40px; }
  .masthead { position: fixed; top: 0; bottom: 0; left: 0; width: 236px; border-bottom: 0; overflow-y: auto; }
  .masthead .wrap { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 34px; padding: 30px 24px; }
  .masthead nav { margin-left: 0; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 2px; }
  .masthead nav a { font-size: 16px; padding: 10px 12px; margin: 0 -12px; border-bottom: 0; border-left: 3px solid transparent; border-radius: 0 3px 3px 0; }
  .masthead nav a:hover, .masthead nav a[aria-current="page"] { border-left-color: var(--side-ink); background: var(--side-2); }
  .masthead nav a.go { margin: 0 0 16px; padding: 0 16px; min-height: 48px; display: flex; align-items: center; justify-content: center; border: 2px solid var(--side-ink); border-radius: 4px; background: var(--side-ink); color: var(--side); font-weight: 700; }
  .masthead nav a.go:hover { background: var(--side-ink); border-left-color: var(--side-ink); color: var(--side); filter: brightness(.94); }

  .demo-stage { max-width: none; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: center; }
  .demo-steps { margin-top: 0; font-size: 17px; }
  .demo-steps li { margin: 10px 0; }
  .timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
  .plans { max-width: none; }
  .faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; align-items: start; }
  .faq details { max-width: none; }
}

/* Drag-and-drop box for importing a tracker */
.dropzone { border: 2px dashed var(--rule); border-radius: 6px; padding: 18px; background: var(--paper-2); }
.dropzone.over { border-color: var(--ink); background: var(--surface); }
.dropzone p { margin: 0 0 8px; }
