/* First Applicant design system: "Proof" (warm paper, ink navy, proofreader vermilion, marker yellow).
   Fonts are self-hosted under /fonts and licensed under the SIL Open Font License (see /fonts/OFL-*.txt). */
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/fraunces-latin.woff2) format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 400 600; font-display: swap; src: url(/fonts/fraunces-italic-latin.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/instrument-sans-latin.woff2) format('woff2'); }
:root {
  --ink: #18233a;        /* oxford navy: dark surfaces, primary text accents */
  --ink-2: #22304c;
  --ink-3: #2e3f60;
  --accent: #c2410c;     /* proof vermilion: primary actions (5.2:1 with white) */
  --accent-2: #9a3412;
  --accent-soft: #fbe9df;
  --marker: #ffe27a;     /* highlighter yellow: edits, emphasis */
  --marker-soft: #fff4c7;
  /* legacy aliases so existing markup keeps working */
  --lime: var(--accent);
  --lime-2: var(--accent-soft);
  --lime-ink: #ffffff;
  --bg: #faf6ef;         /* warm paper */
  --paper-2: #f2ebdf;
  --card: #ffffff;
  --line: #e5dccd;
  --line-2: #efe8dc;
  --text: #1b2333;
  --muted: #555b68;
  --faint: #5f6470;
  --green: #2f6f57;
  --amber: #a15c07;
  --red: #b42318;
  --blue: #2b4c86;
  --radius: 12px;
  --shadow: 0 1px 0 rgba(24, 35, 58, .04), 0 6px 18px -8px rgba(24, 35, 58, .14);
  --shadow-lift: 0 2px 0 rgba(24, 35, 58, .05), 0 22px 48px -20px rgba(24, 35, 58, .30);
  --font: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --focus: 0 0 0 3px #fff, 0 0 0 5px var(--accent);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 2px; }
img, svg { display: block; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.012em; font-variation-settings: 'opsz' 96; }
h3, h4 { font-variation-settings: 'opsz' 36; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid transparent; border-radius: 999px; padding: 10px 20px; font-weight: 600; font-size: 15px; cursor: pointer; text-decoration: none; transition: transform .08s, background .15s, border-color .15s, box-shadow .15s, color .15s; white-space: nowrap; letter-spacing: .005em; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn:focus-visible { outline: none; box-shadow: var(--focus); }
.btn-lime, .btn-accent { background: var(--accent); color: #fff; }
.btn-lime:hover, .btn-accent:hover { background: var(--accent-2); box-shadow: 0 6px 18px -6px rgba(194, 65, 12, .55); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-3); }
.btn-ghost { background: transparent; border-color: #cdc2b0; color: var(--text); }
.btn-ghost:hover { border-color: var(--ink); background: #fff; }
.btn-ghost-dark { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost-dark:hover { border-color: #fff; }
.btn-sm { padding: 7px 14px; font-size: 13.5px; }
.btn-lg { padding: 14px 26px; font-size: 16.5px; }
.btn-danger { background: #fff; border-color: #f0c1bb; color: var(--red); }
.btn-success { background: #e6f2ec; border-color: #a9d3bf; color: #1f5e46; }

/* ── Logo ── */
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: 22px; text-decoration: none; letter-spacing: -.015em; font-variation-settings: 'opsz' 48; color: var(--ink); }
.logo svg, .logo img { width: 30px; height: 30px; }

/* ── Forms ── */
label.field { display: block; margin-bottom: 16px; }
label.field > span { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
label.field > small, .hint { display: block; color: var(--muted); font-size: 13px; margin-top: 5px; }
.input, select.input, textarea.input { width: 100%; border: 1.5px solid #d8cdbb; background: #fff; border-radius: 10px; padding: 10px 12px; font-size: 15px; outline: none; transition: border-color .15s, box-shadow .15s; }
.input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(194, 65, 12, .18); }
textarea.input { min-height: 110px; resize: vertical; }
.row { display: flex; gap: 12px; flex-wrap: wrap; }
.row > * { flex: 1 1 200px; }
.error-box { background: #fdf0ee; border: 1px solid #f3c6bf; color: #a1281b; padding: 10px 12px; border-radius: 10px; font-size: 14px; margin-bottom: 14px; }
.notice { background: #eef2f8; border: 1px solid #c9d5e8; color: #22406b; padding: 10px 14px; border-radius: 10px; font-size: 14px; }
.notice.warn { background: #fff6dc; border-color: #f0d48a; color: #7a4205; }

/* ── Cards / misc ── */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: #efe9de; color: #3d4352; white-space: nowrap; }
.badge.lime { background: var(--accent); color: #fff; }
.badge.green { background: #e3f1ea; color: #1f5e46; }
.badge.amber { background: #fbebd0; color: #7a4205; }
.badge.red { background: #fbe4e1; color: #a1281b; }
.badge.ink { background: var(--ink); color: #fff; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: 13px; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: #f4efe6; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; font-size: 13px; margin: 0 6px 6px 0; }
.chip button { border: 0; background: none; cursor: pointer; color: var(--faint); padding: 0; font-size: 15px; line-height: 1; }
.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 14.5px; box-shadow: 0 10px 30px rgba(0,0,0,.25); opacity: 0; transition: all .25s; z-index: 100; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.err { background: #a1281b; }
.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(0,0,0,.15); border-top-color: currentColor; border-radius: 50%; animation: spin .7s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.score { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 12px; font-weight: 700; font-family: var(--display); font-size: 18px; flex: none; position: relative; font-variant-numeric: tabular-nums; }
.score small { font-size: 10px; font-weight: 700; font-family: var(--font); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

/* ═════════ LANDING ═════════ */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(250, 246, 239, .92); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line); }
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; color: var(--text); }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 500; }
.nav-links a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.nav-links a.btn, .nav-links a.btn:hover { color: #fff; text-decoration: none; }
.dark { background: var(--ink); color: #e9ecf3; }
.overline { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
.overline::before { content: ''; width: 28px; height: 2px; background: var(--accent); }
.kicker { display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: .08em; font-size: 12.5px; font-weight: 600; color: var(--accent-2); margin-bottom: 12px; }
.kicker::before { content: ''; width: 22px; height: 2px; background: currentColor; }
.mk { background: linear-gradient(transparent 58%, var(--marker) 58%, var(--marker) 92%, transparent 92%); padding: 0 .08em; }
.textlink { font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.textlink:hover { color: var(--accent-2); }

.hero { position: relative; padding: 72px 0 84px; background: radial-gradient(900px 420px at 100% 0%, #f3e7d6 0%, transparent 65%), var(--bg); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; position: relative; }
.hero h1 { font-size: clamp(42px, 6.2vw, 74px); color: var(--ink); margin-bottom: 22px; letter-spacing: -.02em; font-weight: 600; font-variation-settings: 'opsz' 144; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--accent); }
.hero .lede { font-size: 19px; color: var(--muted); max-width: 540px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px 16px; flex-wrap: wrap; align-items: center; }
.hero-sub { margin: 14px 0 0; }
.alerts-cta { margin-top: 22px; }
.hero-facts { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--muted); }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts li::before { content: ''; width: 7px; height: 7px; border-radius: 2px; background: var(--ink); transform: rotate(45deg); }

/* Hero illustration: a resume page with proofreading marks */
.proof { margin: 0; position: relative; }
.proof::before { content: ''; position: absolute; inset: 18px -14px -14px 18px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 6px; transform: rotate(2deg); }
.sheet { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow-lift); padding: 34px 36px 30px; font-family: Georgia, 'Times New Roman', serif; color: #23262d; font-size: 14px; line-height: 1.45; }
.sh-name { font-size: 22px; font-weight: 700; letter-spacing: .01em; }
.sh-contact { font-size: 12px; color: #6a6f7b; font-family: var(--font); margin-bottom: 14px; }
.sh-h { font-family: var(--font); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid #ddd5c6; padding-bottom: 3px; margin: 14px 0 8px; color: #3a3f4a; }
.sh-role { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; margin-bottom: 4px; }
.sh-role span { color: #6a6f7b; font-size: 12.5px; }
.sh-line { margin: 0 0 6px; padding-left: 14px; position: relative; }
.sh-line::before { content: ''; position: absolute; left: 2px; top: .62em; width: 4px; height: 4px; border-radius: 50%; background: #23262d; }
.sh-line s { color: #9b2c1a; text-decoration-color: rgba(194, 65, 12, .8); text-decoration-thickness: 1.5px; display: block; }
.sh-line ins { text-decoration: none; display: block; background: var(--marker-soft); box-shadow: inset 3px 0 0 var(--accent); padding: 1px 6px; margin: 2px 0 0 -6px; border-radius: 2px; }
.sh-line mark { background: var(--marker); color: inherit; padding: 0 2px; border-radius: 2px; }
.note { display: inline-block; margin-top: 4px; font-family: var(--font); font-size: 11.5px; font-weight: 600; color: var(--accent-2); background: var(--accent-soft); border-radius: 999px; padding: 1px 9px; }
.sh-bar { display: block; height: 7px; border-radius: 3px; background: #ece6da; margin: 8px 0 0 14px; }
.sh-bar.w80 { width: 80%; } .sh-bar.w60 { width: 60%; } .sh-bar.w70 { width: 70%; margin-left: 0; }
.stamps { position: relative; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.stamps span { font-size: 12.5px; font-weight: 600; color: var(--ink); background: #fff; border: 1.5px solid var(--ink); border-radius: 999px; padding: 4px 12px; }

section.block { padding: 96px 0; }
.band { background: var(--paper-2); border-block: 1px solid var(--line); }
.section-head { max-width: 700px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); color: var(--ink); }
.section-head p { font-size: 18px; color: var(--muted); }

/* What changes / what stays */
.ledger { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.ledger > div { padding: 30px 32px; }
.ledger > div + div { border-left: 1px solid var(--line); background: #fdfbf7; }
.ledger h3 { font-size: 22px; display: flex; align-items: center; gap: 10px; }
.ledger h3 .lg-ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.ledger .may .lg-ic { background: var(--marker); color: var(--ink); }
.ledger .never .lg-ic { background: var(--ink); color: #fff; }
.ledger ul { list-style: none; padding: 0; margin: 14px 0 0; }
.ledger li { padding: 11px 0 11px 28px; border-top: 1px solid var(--line-2); position: relative; font-size: 15.5px; }
.ledger .may li::before { content: ''; position: absolute; left: 2px; top: 19px; width: 12px; height: 6px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.ledger .never li::before { content: ''; position: absolute; left: 3px; top: 21px; width: 13px; height: 2px; background: var(--accent); }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 40px; border-top: 2px solid var(--ink); }
.feature { padding: 22px 22px 6px 0; }
.feature + .feature { padding-left: 22px; border-left: 1px solid var(--line); }
.feature .f-ic { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-2); display: grid; place-items: center; margin-bottom: 14px; }
.feature h3 { font-size: 19px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* Alerts */
.alerts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.alerts-copy h2 { font-size: clamp(30px, 4vw, 44px); color: var(--ink); }
.alerts-copy > p { font-size: 17.5px; color: var(--muted); }
.flow-list { list-style: none; padding: 0; margin: 26px 0 0; counter-reset: f; }
.flow-list li { counter-increment: f; display: grid; grid-template-columns: 44px 1fr; gap: 4px 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.flow-list li::before { content: counter(f, decimal-leading-zero); grid-row: span 2; font-family: var(--display); font-size: 22px; font-weight: 500; color: var(--accent); font-variant-numeric: tabular-nums; line-height: 1.2; }
.flow-list strong { font-size: 16px; }
.flow-list span { color: var(--muted); font-size: 14.5px; }
.mail { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lift); overflow: hidden; }
.mail-head { padding: 14px 18px; border-bottom: 1px solid var(--line-2); background: #fdfbf7; font-size: 13.5px; display: grid; gap: 2px; }
.mail-head .from { font-weight: 700; color: var(--ink); }
.mail-head .subj { color: var(--muted); }
.mail-body { padding: 18px; }
.mail-job { display: flex; gap: 14px; align-items: center; }
.mail-job strong { font-size: 16.5px; }
.mail-why { list-style: none; padding: 0; margin: 14px 0 16px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; }
.mail-why .pos::before { content: '✓ '; color: var(--green); font-weight: 800; }
.mail-why .neg::before { content: '! '; color: var(--amber); font-weight: 800; }
.slider-demo { margin-top: 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow); }
.slider-demo input[type=range] { width: 100%; accent-color: var(--accent); }
.sd-job { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; font-size: 14px; border-top: 1px dashed var(--line); transition: opacity .2s; }
.sd-job.off { opacity: .35; }

.scope-preview { margin-top: 10px; }
.scope-note { font-size: 12.5px; color: var(--muted); margin: 0 0 10px; }
.scope-cols { display: grid; grid-template-columns: 1fr; gap: 14px; }
.scope-cols h4 { font-size: 14px; margin: 0 0 8px; }
.scope-job { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin: 0 0 8px; background: #fff; }
.scope-job.in { border-color: #a9d3bf; background: #f3faf6; }
.scope-job.out { background: #faf7f1; }
.scope-job .top { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.scope-job strong { font-size: 14px; line-height: 1.3; }
.scope-job .meta, .scope-job .why { font-size: 12.5px; color: var(--muted); margin-top: 3px; overflow-wrap: anywhere; }
.scope-job .why { color: var(--text); }
.scope-empty { font-size: 13px; color: var(--muted); margin: 0; }
@media (min-width: 900px) {
  .scope-preview.wide .scope-cols { grid-template-columns: 1fr 1fr; }
}

.diff-demo { margin-top: 22px; font-size: 14px; display: grid; gap: 10px; }
.diff-demo .del { background: #fdf0ee; color: #a1281b; text-decoration: line-through; padding: 8px 10px; border-radius: 8px; }
.diff-demo .add { background: var(--marker-soft); color: var(--text); padding: 8px 10px; border-radius: 8px; box-shadow: inset 3px 0 0 var(--accent); }

.sources { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.sources h2 { color: #fff; font-size: clamp(28px, 4vw, 40px); }
.sources p { color: #c3cad8; font-size: 17px; }
.sources .kicker { color: var(--marker); }
.source-list { display: flex; flex-wrap: wrap; gap: 10px; }
.source-pill { background: transparent; border: 1px solid rgba(255,255,255,.28); color: #fff; border-radius: 999px; padding: 10px 18px; font-weight: 600; font-size: 15px; }
.source-pill.add { border-style: dashed; color: var(--marker); border-color: rgba(255, 226, 122, .6); }

/* Research */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.stat { padding: 26px 22px 24px 0; }
.stat + .stat { padding-left: 22px; border-left: 1px solid var(--line); }
.stat .n { font-family: var(--display); font-size: 52px; font-weight: 500; color: var(--ink); line-height: 1; margin-bottom: 12px; font-variation-settings: 'opsz' 144; }
.stat p { color: var(--text); font-size: 15px; margin-bottom: 12px; }
.stat a { font-size: 12.5px; color: var(--muted); }
.stat a:hover { color: var(--accent-2); }
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.news a { display: block; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.news a:hover { border-color: var(--ink); box-shadow: var(--shadow); }
.news .pub { font-size: 12px; font-weight: 700; color: var(--accent-2); text-transform: uppercase; letter-spacing: .08em; }
.news h4 { font-size: 18.5px; margin: 10px 0; }
.news p { color: var(--muted); font-size: 14.5px; margin: 0; }

.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); max-width: 1160px; margin-inline: auto; gap: 20px; align-items: stretch; }
.plan.pop .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); background: transparent; }
.plan.pop .btn-ghost:hover { border-color: #fff; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; position: relative; box-shadow: var(--shadow); }
.plan.pop { background: var(--ink); color: #e9ecf3; border-color: var(--ink); box-shadow: var(--shadow-lift); }
.plan.pop .muted { color: #b6bfcf; }
.plan .tag { position: absolute; top: -12px; right: 22px; }
.plan h3 { font-size: 24px; margin-bottom: 4px; }
.plan .price { font-family: var(--display); font-size: 50px; font-weight: 500; margin: 14px 0 4px; font-variation-settings: 'opsz' 144; }
.plan .price span { font-family: var(--font); font-size: 16px; font-weight: 500; color: var(--faint); }
.plan.pop .price span { color: #b6bfcf; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 24px; flex: 1; }
.plan li { padding: 7px 0 7px 26px; position: relative; font-size: 14.5px; border-top: 1px solid var(--line-2); }
.plan.pop li { border-top-color: rgba(255,255,255,.1); }
.plan li::before { content: '✓'; position: absolute; left: 2px; color: var(--green); font-weight: 800; }
.plan.pop li::before { color: var(--marker); }

.faq { max-width: 820px; }
.faq details { background: transparent; border-top: 1px solid var(--line); padding: 18px 4px; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { font-family: var(--display); font-weight: 600; cursor: pointer; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 12px; color: var(--ink); font-variation-settings: 'opsz' 36; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--font); font-size: 22px; line-height: 1; color: var(--accent); flex: none; }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

.cta-band { text-align: center; padding: 96px 0; }
.cta-band h2 { font-size: clamp(32px, 4.6vw, 52px); color: #fff; }
.cta-band h2 em { font-style: italic; font-weight: 500; color: var(--marker); }
.cta-band p { color: #c3cad8; font-size: 18px; margin-bottom: 28px; }
.cta-band .hero-cta { justify-content: center; }
footer.site { background: var(--paper-2); color: var(--muted); padding: 40px 0; font-size: 13px; border-top: 1px solid var(--line); }
footer.site .container { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer.site a { color: var(--ink); }

/* ═════════ AUTH ═════════ */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { background: var(--paper-2); color: var(--text); padding: 48px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; border-right: 1px solid var(--line); }
.auth-side::before { content: ''; position: absolute; right: -60px; bottom: -40px; width: 300px; height: 380px; background: #fff; border: 1px solid var(--line); border-radius: 6px; transform: rotate(-6deg); box-shadow: var(--shadow); background-image: repeating-linear-gradient(transparent 0 22px, #ece4d6 22px 24px); background-clip: content-box; padding: 40px 32px; }
.auth-side > * { position: relative; }
.auth-side .logo { color: var(--ink); }
.auth-side blockquote { font-family: var(--display); font-size: 30px; color: var(--ink); margin: 0; line-height: 1.22; font-variation-settings: 'opsz' 96; max-width: 460px; }
.auth-side .auth-note { margin-top: 14px; color: var(--muted); font-size: 14px; max-width: 420px; }
.auth-side .auth-foot { font-size: 13px; color: var(--muted); }
.auth-main { display: grid; place-items: center; padding: 40px 16px; }
.auth-card { width: min(420px, 100%); }
.auth-card h1 { font-size: 34px; color: var(--ink); }
.auth-card a { color: var(--ink); }

/* ═════════ APP ═════════ */
.app { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.sidebar { background: var(--paper-2); color: var(--text); border-right: 1px solid var(--line); padding: 20px 14px; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 4px; }
.sidebar .logo { color: var(--ink); padding: 6px 10px 22px; }
.side-link { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: #3d4352; font-weight: 550; font-size: 14.5px; }
.side-link svg { width: 18px; height: 18px; flex: none; opacity: .85; }
.side-link:hover { background: rgba(255,255,255,.6); color: var(--ink); }
.side-link.active { background: #fff; color: var(--ink); font-weight: 650; box-shadow: inset 3px 0 0 var(--accent), var(--shadow); }
.side-link .count { margin-left: auto; background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 800; border-radius: 999px; padding: 1px 8px; }
.side-foot { margin-top: auto; padding: 12px; border-top: 1px solid var(--line); font-size: 13px; }
.main { padding: 28px 36px 120px; min-width: 0; }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.topbar h1 { font-size: 32px; margin: 0; color: var(--ink); }
.modes { display: flex; gap: 6px; flex-wrap: wrap; }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.tile .n { font-family: var(--display); font-size: 32px; font-weight: 500; color: var(--ink); }
.tile .l { color: var(--muted); font-size: 13.5px; }
.status-card { background: var(--ink); color: #e7ebf3; border-radius: 18px; padding: 24px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.status-card h3 { color: #fff; font-size: 21px; margin-bottom: 6px; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(123, 211, 168, 0); } 100% { box-shadow: 0 0 0 0 rgba(123, 211, 168, 0); } }
.live-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #7bd3a8; box-shadow: 0 0 0 0 rgba(123, 211, 168, .7); margin-right: 8px; animation: pulse 1.8s infinite; }
.off-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #667085; margin-right: 8px; }
.checklist { display: grid; gap: 10px; }
.check-item { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-decoration: none; }
.check-item .box { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #d8cdbb; display: grid; place-items: center; flex: none; font-weight: 800; font-size: 14px; }
.check-item.done .box { background: var(--green); border-color: var(--green); color: #fff; }
.check-item.done .ttl { text-decoration: line-through; color: var(--faint); }
.check-item .ttl { font-weight: 650; }
.check-item .go { margin-left: auto; }

.match { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: flex; gap: 16px; margin-bottom: 12px; }
.match.is-applied { background: #f6faf7; border-color: #cfe3d8; }
.match h4 { font-size: 17px; margin: 0 0 3px; font-family: var(--font); letter-spacing: -.01em; }
.match .meta { color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.match .why { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 10px 0 12px; font-size: 13.5px; }
.match .why span.pos::before { content: '✓ '; color: var(--green); font-weight: 800; }
.match .why span.neg::before { content: '! '; color: var(--amber); font-weight: 800; }
.match .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.match .body { flex: 1; min-width: 0; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.seg { display: inline-flex; background: #efe8dc; border-radius: 10px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.seg button { border: 0; background: transparent; padding: 7px 13px; border-radius: 8px; font-weight: 600; font-size: 13.5px; cursor: pointer; color: var(--muted); }
.seg button.on { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.08); }

.dropzone { display: block; border: 2px dashed #d0c4b0; border-radius: 14px; padding: 26px; text-align: center; background: #fdfbf7; cursor: pointer; transition: border-color .15s, background .15s; }
.dropzone:hover, .dropzone.drag { border-color: var(--accent); background: #f6f0e6; }
.dropzone input { display: none; }
.file-pill { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.file-pill .ext { background: var(--ink); color: #fff; font-weight: 800; font-size: 11px; border-radius: 6px; padding: 4px 6px; text-transform: uppercase; }
.version-list { display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.version-list .file-pill { flex-wrap: wrap; }
.base-choice, .keep-choice { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.base-choice label, .keep-choice label { display: flex; gap: 8px; align-items: flex-start; font-size: 14.5px; }
.apply-done { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; max-width: 100%; }
.apply-done > .btn { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.apply-done .base-choice { flex-basis: 100%; margin: 4px 0 0; padding-top: 8px; border-top: 1px solid var(--line); }
.tags-input { display: flex; flex-wrap: wrap; align-items: center; gap: 0; border: 1px solid #d8cdbb; border-radius: 10px; padding: 6px 8px 0; background: #fff; min-height: 46px; }
.tags-input:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(194, 65, 12, .18); }
.tags-input input { border: 0; outline: none; flex: 1; min-width: 160px; padding: 4px 4px 10px; font-size: 15px; }
.range-row { display: flex; align-items: center; gap: 14px; }
.range-row input[type=range] { flex: 1; accent-color: var(--accent); }
.range-val { font-family: var(--display); font-weight: 500; color: var(--ink); font-size: 22px; min-width: 64px; text-align: right; }
.switch { position: relative; display: inline-block; width: 46px; height: 26px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: #d8cdbb; border-radius: 999px; transition: .2s; cursor: pointer; }
.switch span::before { content: ''; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch input:checked + span { background: var(--green); }
.switch input:checked + span::before { transform: translateX(20px); }

.edit { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 16px; margin-bottom: 12px; transition: border-color .15s, background .15s; }
.edit.accepted { border-color: #a9d3bf; background: #f3faf6; }
.edit.rejected { opacity: .55; }
.edit .sec { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); }
.edit .orig { background: #fef3f2; color: #912018; padding: 9px 11px; border-radius: 8px; margin: 8px 0; font-size: 14.5px; text-decoration: line-through; text-decoration-color: rgba(180,35,24,.45); }
.edit textarea { width: 100%; border: 1px solid #f0d48a; background: var(--marker-soft); color: var(--text); border-radius: 8px; padding: 9px 11px; font-size: 14.5px; min-height: 0; resize: vertical; outline: none; }
.edit textarea:focus { border-color: var(--green); }
.edit .reason { color: var(--muted); font-size: 13.5px; margin: 8px 0 12px; }
.edit .acts { display: flex; gap: 8px; flex-wrap: wrap; }

/* Tailor result: the real document, with edits on it */
.result-top { display: flex; justify-content: space-between; gap: 18px; align-items: center; flex-wrap: wrap; }
.result-top .gauge { flex: none; }
.scanner { margin-bottom: 16px; }
.scan-head { margin-bottom: 12px; }
.scan-grid { display: grid; grid-template-columns: 1.2fr 1.2fr .8fr; gap: 16px; align-items: start; }
.scan-grid h4 { font-family: var(--font); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--faint); margin: 0 0 8px; }
.scan-item { border-left: 3px solid var(--line); padding: 6px 0 8px 10px; margin-bottom: 6px; }
.scan-item strong { display: block; font-size: 14px; }
.scan-item p { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; }
.scan-item.high { border-color: var(--red); }
.scan-item.medium { border-color: var(--amber); }
.scan-item.low, .scan-item.ok { border-color: var(--green); }
.scan-item.miss { border-color: #a39a8a; }
.scan-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-block; background: #f4efe6; border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px; font-size: 12.5px; margin: 0 6px 6px 0; }
.chip.ok { background: #e3f1ea; border-color: #a9d3bf; margin: 0; }
.scan-note { margin: 10px 0 0; }
.tailor-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 4px 0 12px; }
.tailor-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.paper-wrap { overflow-x: clip; background: #ebe4d6; border-radius: 16px; padding: 18px 12px 28px; min-height: 240px; }
.paper-wrap[data-mode="tailored"] { background: #e6e7de; }
.paper-loading { display: flex; gap: 10px; align-items: center; justify-content: center; color: var(--muted); padding: 40px 10px; }
.paper-sheet { background: #fff; margin: 0 auto; box-shadow: 0 10px 30px rgba(24, 35, 58, .12); color: #1a1a1a; }
.paper-sheet.flow { font-family: Calibri, Carlito, 'Segoe UI', sans-serif; font-size: 11pt; line-height: 1.28; }
.paper-sheet.flow p { margin: 0 0 .35em; }
.paper-sheet.flow p.bullet { padding-left: 1.15em; text-indent: -1.05em; }
.paper-sheet.flow p.bullet::before { content: '•\00a0 '; }
.paper-sheet.flow .rhs { white-space: nowrap; margin-left: auto; }
.paper-sheet.flow .doc-header { border-bottom: 1px solid #eee; margin-bottom: 8px; }
.paper-sheet.flow .docx-tbl { width: 100%; border-collapse: collapse; }
.paper-sheet.flow .docx-tbl td { vertical-align: top; padding: 0 8px 0 0; }
.paper-sheet.flow pre.txt { margin: 0; white-space: pre-wrap; font-family: Calibri, Carlito, 'Segoe UI', sans-serif; font-size: 11pt; }
.pdf-page { position: relative; margin: 0 auto 16px; background: #fff; box-shadow: 0 10px 30px rgba(24, 35, 58, .12); }
.pdf-page canvas { display: block; }
.ov-layer { position: absolute; inset: 0; pointer-events: none; }
.ov-hl { position: absolute; border-radius: 2px; pointer-events: auto; }
.ov-badge { position: absolute; left: -18px; top: -2px; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center; font-family: var(--font); }
.ov-flag { position: absolute; left: 0; top: -18px; max-width: min(280px, 55vw); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; background: #fff6db; color: #7a4e00; border: 1px solid #f5d48a; border-radius: 999px; padding: 1px 8px; font: 700 11px/1.4 var(--font); }
.ov-ins { outline: none; }
.paper-sheet.flow .ov-ins { border-radius: 2px; }
.pdf-ins { position: absolute; pointer-events: auto; z-index: 2; box-decoration-break: clone; border-radius: 2px; padding: 0 2px; white-space: pre-wrap; }
.paper-wrap[data-mode="markup"] .ov-del[data-status="pending"],
.paper-wrap[data-mode="markup"] .ov-del[data-status="accepted"] { background: #fde8e8; color: #912018; text-decoration: line-through; text-decoration-color: rgba(180, 35, 24, .55); }
.paper-wrap[data-mode="markup"] .ov-ins[data-status="pending"],
.paper-wrap[data-mode="markup"] .ov-ins[data-status="accepted"] { background: #fff0b0; color: #1b2333; box-shadow: inset 0 -1.5px 0 var(--accent); }
/* On a PDF the green line sits on the highlighted line in Tailored view.
   In Edits view it would cover the next line, so the new wording lives in the side list. */
.paper-wrap[data-mode="markup"] .pdf-ins { display: none; }
.paper-wrap[data-mode="markup"] .ov-hl[data-status="pending"],
.paper-wrap[data-mode="markup"] .ov-hl[data-status="accepted"] { background: rgba(220, 38, 38, .16); box-shadow: inset 0 -1.5px 0 rgba(180, 35, 24, .7); }
.paper-wrap[data-mode="tailored"] .ov-del,
.paper-wrap[data-mode="original"] .ov-ins,
.paper-wrap .ov-ins[data-status="rejected"],
.paper-wrap[data-mode="original"] .ov-hl,
.paper-wrap .ov-hl[data-status="rejected"] { display: none; }
.paper-wrap[data-mode="tailored"] .ov-ins[data-status="rejected"] { display: none; }
.paper-wrap[data-mode="tailored"] .ov-ins[data-status="pending"],
.paper-wrap[data-mode="tailored"] .ov-ins[data-status="accepted"] { background: transparent; color: inherit; }
.paper-wrap[data-mode="tailored"] .pdf-ins[data-status="pending"],
.paper-wrap[data-mode="tailored"] .pdf-ins[data-status="accepted"] { background: #fff; color: #1a1a1a; padding: 0; }
.paper-wrap[data-mode="tailored"] .ov-hl[data-status="pending"],
.paper-wrap[data-mode="tailored"] .ov-hl[data-status="accepted"] { background: #fff; box-shadow: none; }
.paper-wrap[data-mode="original"] .ov-del { background: none; color: inherit; text-decoration: none; }
.rail { position: sticky; top: 12px; max-height: calc(100vh - 24px); overflow: auto; display: flex; flex-direction: column; gap: 8px; }
.rail-h { margin: 14px 0 8px; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--faint); }
.rail-edit { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 10px 12px; cursor: pointer; margin-bottom: 8px; }
.rail-edit.polish { border-color: #c9d5e8; background: #f6f8fc; }
.rail-edit.on { border-color: var(--ink); }
.rail-edit.accepted { border-color: #a9d3bf; background: #f3faf6; box-shadow: inset 3px 0 0 var(--green); }
.rail-edit.rejected { opacity: .55; }
.rail-edit .sec { font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--faint); display: flex; gap: 6px; align-items: center; }
.rail-edit .ov-num { width: 16px; height: 16px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 10px; display: inline-grid; place-items: center; letter-spacing: 0; }
.rail-edit .suggest { background: var(--marker-soft); color: var(--text); box-shadow: inset 2px 0 0 var(--accent); border-radius: 6px; padding: 6px 8px; font-size: 13px; margin: 6px 0 0; }
.rail-edit .reason { color: var(--muted); font-size: 13px; margin: 6px 0 8px; }
.claim-flag { margin: 8px 0 0; padding: 6px 8px; border-radius: 6px; background: #fff6db; color: #7a4e00; border: 1px solid #f5d48a; font-size: 12.5px; font-weight: 700; }
.metric-ask { margin: 8px 0 0; padding: 6px 8px; border-radius: 6px; background: #eef4ff; color: #1e3a8a; border: 1px solid #c7d7fe; font-size: 12.5px; font-weight: 700; }
.order-flag { margin: 8px 0 0; padding: 6px 8px; border-radius: 6px; background: #f4f4f5; color: #3f3f46; border: 1px solid #e4e4e7; font-size: 12.5px; font-weight: 700; }
.rail-edit.caution { border-color: #e8c36a; }
.paper-sheet.flow .ov-ins[data-caution="1"] { box-shadow: inset 3px 0 0 #e8c36a; }
.rail-edit .acts { display: flex; gap: 6px; }
.gated-paper { width: min(100%, 720px); min-height: 640px; margin: 0 auto; padding: 54px 64px; }
.gated-paper i { display: block; height: 9px; background: #e6e9ee; border-radius: 4px; margin: 0 0 11px; }
.buildbar { position: sticky; bottom: 12px; margin-top: 18px; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 10px 30px rgba(24,35,58,.12); padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; z-index: 30; flex-wrap: wrap; }

/* Legal pages */
.legal { max-width: 780px; padding: 48px 16px 80px; }
.legal h1 { font-size: clamp(30px, 4vw, 40px); }
.legal h2 { font-size: 21px; margin-top: 34px; }
.legal li { margin: 6px 0; }
.legal-callout { background: var(--marker-soft); border: 1px solid #f0d48a; border-radius: 14px; padding: 16px 18px; margin: 18px 0 8px; }

/* Consent checkbox (signup, homepage tailor, in-app gate) */
/* The hidden attribute must win over component display rules (e.g. the consent row for signed-in members). */
[hidden] { display: none !important; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; color: var(--muted); margin: 4px 0 16px; cursor: pointer; text-align: left; }
.consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--ink); cursor: pointer; }
.consent a { color: var(--text); }
.consent.wide, .consent.dark { color: var(--muted); max-width: 720px; margin: 22px auto 0; }
.consent.wide a, .consent.dark a { color: var(--ink); }
.consent.wide input, .consent.dark input { accent-color: var(--accent); }
.consent.flash { animation: consentFlash .9s; }
@keyframes consentFlash { 0%, 100% { background: transparent; } 30% { background: rgba(250, 204, 21, .25); } }

/* Signup: what you're signing up for */
.plan-summary { margin-top: 20px; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; background: #fdfbf7; font-size: 14px; }
.plan-summary h4 { font-size: 15px; margin: 0 0 8px; font-family: var(--font); }
.plan-summary ul { margin: 0; padding-left: 18px; }
.plan-summary li { margin: 3px 0; }
.plan-summary .ps-foot { color: var(--muted); font-size: 12.5px; margin-top: 10px; }

/* Plan limits table (pricing, signup, billing) */
.limits-wrap { max-width: 860px; margin: 28px auto 0; }
table.limits { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-size: 14.5px; }
table.limits th, table.limits td { padding: 11px 14px; border-bottom: 1px solid var(--line-2); text-align: center; }
table.limits th:first-child, table.limits td:first-child { text-align: left; color: var(--muted); font-weight: 500; }
table.limits thead th { background: #faf7f1; font-weight: 700; color: var(--text); }
table.limits thead th small { display: block; font-weight: 500; color: var(--faint); font-size: 12.5px; }
table.limits td.hl, table.limits th.hl { background: var(--marker-soft); }
table.limits tr:last-child td { border-bottom: 0; }
.limits-note { font-size: 12.5px; color: var(--faint); margin-top: 8px; text-align: center; }
.meter { height: 8px; background: #efe8dc; border-radius: 999px; overflow: hidden; margin-top: 6px; }
.meter > i { display: block; height: 100%; background: var(--ink); border-radius: 999px; }
.meter.warn > i { background: var(--amber); }

/* Locked (free tailor already used) */
.gated-wrap { position: relative; min-height: 460px; }
.gated-content { filter: blur(6px); pointer-events: none; user-select: none; opacity: .85; }
.gated-overlay { position: absolute; top: 40px; left: 50%; transform: translateX(-50%); width: min(460px, calc(100% - 24px)); background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lift); padding: 28px; text-align: center; z-index: 2; }
.gated-overlay .lock { width: 52px; height: 52px; border-radius: 14px; background: var(--ink); color: #fff; display: grid; place-items: center; margin: 0 auto 12px; font-size: 22px; }
.gated-overlay h3 { font-size: 22px; }
.gated-overlay p { color: var(--muted); }

/* Homepage "try it free" */
.try-card { background: #fff; color: var(--text); border-radius: 20px; padding: 24px; box-shadow: 0 30px 70px rgba(0,0,0,.35); }
.try-card h3 { font-size: 21px; margin-bottom: 4px; }
.try-card .dropzone { padding: 16px; }
.try-card .step-label { font-weight: 700; font-size: 13.5px; margin: 14px 0 6px; display: flex; gap: 8px; align-items: center; }
.try-card .step-label span { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 12px; }
.linkish { background: none; border: 0; padding: 0; color: var(--blue); cursor: pointer; font-size: 13px; text-decoration: underline; }
#try-results { scroll-margin-top: 80px; }
.gauge { display: flex; align-items: center; gap: 16px; }
.gauge .g { text-align: center; }
.gauge .g .v { font-family: var(--display); font-size: 42px; font-weight: 500; line-height: 1; }
.gauge .arrow { font-size: 26px; color: var(--faint); }
.progress-steps { display: grid; gap: 10px; margin-top: 10px; }
.progress-steps div { display: flex; gap: 10px; align-items: center; color: var(--faint); }
.progress-steps div.on { color: var(--text); font-weight: 600; }
.progress-steps div.done { color: var(--text); }
.progress-steps .ps-ico { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #cfc6b6; box-sizing: border-box; display: grid; place-items: center; transition: background .25s, border-color .25s; }
.progress-steps div.on .ps-ico { border-color: var(--line); border-top-color: var(--accent); animation: spin .8s linear infinite; }
.progress-steps div.done .ps-ico { background: var(--green); border-color: var(--green); animation: none; }
.progress-steps div.done .ps-ico::after { content: ''; width: 5px; height: 10px; margin-top: -2px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); animation: psCheck .25s ease-out; }
@keyframes psCheck { from { opacity: 0; transform: rotate(45deg) scale(.4); } to { opacity: 1; transform: rotate(45deg) scale(1); } }
table.list { width: 100%; border-collapse: collapse; font-size: 14px; }
table.list th { text-align: left; color: var(--muted); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; padding: 10px 12px; border-bottom: 1px solid var(--line); }
table.list td { padding: 11px 12px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
table.list tr:hover td { background: #fdfbf7; }
.table-wrap { overflow-x: auto; }
iframe.email { width: 100%; height: 640px; border: 1px solid var(--line); border-radius: 12px; background: #f4f5f8; }
pre.log { background: var(--ink); color: #c7cede; border-radius: 12px; padding: 14px; font-size: 12.5px; white-space: pre-wrap; max-height: 260px; overflow: auto; margin: 0; }
.empty { text-align: center; padding: 48px 20px; color: var(--muted); }
.empty h3 { color: var(--text); }
.mobile-top { display: none; }

/* ── Responsive ── */
@media (max-width: 980px) {
  .hero-grid, .sources, .grid-2, .tailor-layout, .scan-grid, .alerts-grid, .ledger { grid-template-columns: minmax(0, 1fr) !important; }
  .ledger > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .hero-grid { gap: 48px; }
  .rail { position: static; max-height: none; }
  .stat-grid, .features, .grid-4 { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3), .feature:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3), .feature:nth-child(n+3) { border-top: 1px solid var(--line); }
  .news, .pricing, .grid-3 { grid-template-columns: 1fr; }
  .nav-links .hide-sm { display: none; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .app { grid-template-columns: minmax(0, 1fr); }
  body { overflow-x: hidden; }
  .sidebar { display: none; }
  .mobile-top { display: flex; position: sticky; top: 0; z-index: 25; background: var(--paper-2); border-bottom: 1px solid var(--line); padding: 10px 16px; gap: 6px; overflow-x: auto; align-items: center; }
  .mobile-top .logo { color: var(--ink); margin-right: 8px; }
  .mobile-top .side-link { padding: 7px 12px; font-size: 13.5px; white-space: nowrap; border-radius: 999px; }
  .mobile-top .side-link.active { box-shadow: inset 0 0 0 1.5px var(--ink); }
  .mobile-top .side-link svg { display: none; }
  .main { padding: 20px 16px 120px; }
}
@media (max-width: 560px) {
  .btn { white-space: normal; text-align: center; }
  .stat-grid, .grid-4 { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr; }
  .feature, .feature + .feature { padding-left: 0; border-left: 0; }
  .feature + .feature { border-top: 1px solid var(--line); }
  .stat { padding: 20px 12px 18px 0; }
  .stat + .stat { padding-left: 12px; }
  .stat .n { font-size: 40px; }
  .hero { padding: 44px 0 56px; }
  .sheet { padding: 24px 20px 22px; font-size: 13px; }
  .proof::before { inset: 12px -6px -8px 10px; }
  .ledger > div { padding: 22px 20px; }
  section.block { padding: 64px 0; }
  .match { flex-direction: column; }
  .match .actions { flex-direction: column; align-items: stretch; }
  .match .actions .btn, .apply-done > .btn { width: 100%; min-height: 44px; }
  .apply-done { position: sticky; bottom: 8px; z-index: 6; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; box-shadow: 0 8px 24px rgba(24, 35, 58, .12); }
}

/* ── Job-alert questionnaire (/alerts) ── */
.wiz-main { padding: 40px 0 72px; }
.wiz-wrap { width: min(780px, 100% - 32px); margin-inline: auto; }
.wiz-head h1 { font-size: clamp(32px, 4.4vw, 46px); color: var(--ink); margin: 0 0 8px; }
.wiz-head p { margin: 0 0 22px; }
.wiz-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 0; margin: 0 0 12px; font-size: 13.5px; color: var(--muted); }
.wiz-steps li { display: flex; align-items: center; }
.wiz-steps button { display: inline-flex; align-items: center; gap: 0; background: none; border: 0; padding: 0; font: inherit; color: var(--ink); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #cdbfa9; border-radius: 6px; }
.wiz-steps button:focus-visible { outline: none; box-shadow: var(--focus); }
.wiz-steps .n { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #cdbfa9; font-size: 12px; font-weight: 700; margin-right: 6px; background: #fff; color: var(--muted); }
.wiz-steps li.done .n { background: var(--ink); border-color: var(--ink); color: #fff; }
.wiz-steps li.now { color: var(--ink); font-weight: 650; }
.wiz-steps li.now .n { border-color: var(--accent); color: var(--accent-2); background: var(--accent-soft); }
.wiz-progress { height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; margin-bottom: 18px; }
.wiz-progress span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .3s; }
.wiz-card { padding: 28px; }
.wiz-count { margin: 0 0 4px; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; font-size: 12px; }
.wiz-q { font-size: clamp(24px, 3.2vw, 30px); color: var(--ink); margin: 0 0 8px; }
.wiz-q:focus { outline: none; }
.wiz-card .field { display: block; border: 0; padding: 0; margin: 18px 0 0; min-width: 0; }
.wiz-card .lbl { display: block; font-weight: 650; font-size: 14.5px; margin-bottom: 8px; color: var(--text); padding: 0; }
.wiz-nav { display: flex; align-items: center; gap: 12px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line-2); }
.wiz-nav #wiz-next { margin-left: auto; }
.wiz-saved { min-width: 0; }
.opt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt > span { display: block; height: 100%; border: 1.5px solid #d8cdbb; border-radius: 12px; padding: 12px 14px; background: #fff; transition: border-color .15s, box-shadow .15s, background .15s; }
.opt > span small { display: block; color: var(--muted); font-size: 13px; margin-top: 3px; line-height: 1.45; }
.opt:hover > span { border-color: var(--ink); }
.opt input:checked + span { border-color: var(--accent); background: #fff7f2; box-shadow: 0 0 0 3px rgba(194, 65, 12, .14); }
.opt input:checked + span strong::after { content: ' ✓'; color: var(--accent-2); }
.opt input:focus-visible + span { box-shadow: var(--focus); }
.sum { margin: 18px 0 0; border-top: 1px solid var(--line-2); }
.sum-row { display: grid; grid-template-columns: 200px 1fr auto; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-2); align-items: baseline; }
.sum dt { font-weight: 650; color: var(--ink); }
.sum dd { margin: 0; overflow-wrap: anywhere; }
.linkish { background: none; border: 0; padding: 2px 4px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; font-size: 14px; border-radius: 6px; }
.linkish:focus-visible { outline: none; box-shadow: var(--focus); }
.match-peek { margin-top: 22px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.peek-h { font-size: 18px; color: var(--ink); margin: 0 0 4px; }
.peek-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.peek-list li { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.peek-list li > div { min-width: 0; }
.peek-list strong { display: block; overflow-wrap: anywhere; }
.wiz-paywall { margin-top: 26px; padding: 28px; border-radius: 16px; background: #fff; border: 2px solid var(--accent); box-shadow: var(--shadow-lift); }
.wiz-paywall:focus { outline: none; }
.wiz-paywall, .wiz-head { scroll-margin-top: 84px; }
.pw-head h2 { font-size: clamp(24px, 3.2vw, 32px); color: var(--ink); margin: 10px 0 6px; }
.pw-head p { margin: 0; color: var(--muted); }
.pw-plans { margin-top: 22px; }
.pw-plans .plan { padding: 22px; }
.pw-plans .btn { width: 100%; }
.pw-foot { margin: 16px 0 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.alerts-cta-note { display: block; font-size: 13px; color: var(--muted); margin-top: 8px; }
@media (max-width: 640px) {
  .wiz-main { padding: 24px 0 56px; }
  .wiz-card, .wiz-paywall { padding: 20px 16px; }
  .wiz-steps .t { display: none; }
  .wiz-steps li.now .t { display: inline; }
  .sum-row { grid-template-columns: 1fr auto; }
  .sum-row dt { grid-column: 1 / -1; }
  .wiz-nav { flex-wrap: wrap; }
  .wiz-nav #wiz-next { flex: 1; }
  .wiz-saved { order: 3; width: 100%; text-align: center; }
}

/* Two-word wordmark ("First Applicant") stays on one line on phones. */
.logo, .nav-links a { white-space: nowrap; }
@media (max-width: 480px) {
  .nav .container { gap: 10px; }
  .nav .logo { font-size: 19px; gap: 8px; }
  .nav .logo img { width: 26px; height: 26px; }
  .nav-links { gap: 12px; font-size: 14.5px; }
  .nav-links .btn-sm { padding: 7px 12px; }
}
/* Very small phones: the mark alone; the wordmark text stays for screen readers. */
@media (max-width: 360px) { .nav .logo { font-size: 0; gap: 0; } .nav-links .btn-sm { padding: 6px 10px; font-size: 13px; } }

/* Profile: level checkboxes */
.level-checks { display: flex; flex-wrap: wrap; gap: 6px 14px; padding-top: 6px; }
.level-check { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; cursor: pointer; }
.level-check input { accent-color: var(--accent); width: 16px; height: 16px; }

/* Dashboard tailor: one workspace, resume + job joined, one button */
.workbench { padding: 0; overflow: hidden; }
.wb-grid { display: grid; grid-template-columns: minmax(0, 1fr) 0 minmax(0, 1.25fr); }
.wb-pane { padding: 26px 28px; min-width: 0; }
.wb-resume { background: var(--paper-2); }
.wb-lbl { font-family: var(--display); font-weight: 600; font-size: 18px; color: var(--ink); margin-bottom: 14px; }
.wb-join { position: relative; z-index: 1; }
.wb-join span { position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%); width: 34px; height: 34px; border-radius: 50%; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; place-items: center; font-weight: 700; color: var(--accent); font-size: 18px; }
.wb-foot { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px 24px 24px; border-top: 1px solid var(--line); text-align: center; }
.wb-foot .btn { min-width: 280px; }
@media (max-width: 760px) {
  .wb-grid { grid-template-columns: minmax(0, 1fr); }
  .wb-join { height: 0; }
  .wb-join span { left: 50%; top: 0; }
  .wb-pane { padding: 22px 18px; }
  .wb-foot .btn { min-width: 0; width: 100%; }
}

/* Matches: threshold slider above the feed */
.thr-card { margin-bottom: 16px; padding: 18px 22px; }
.thr-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.thr-lbl { font-weight: 650; }
.thr-card input[type=range] { width: 100%; accent-color: var(--accent); }

/* Alerts bell (top right) */
.bell-wrap { position: fixed; top: 18px; right: 24px; z-index: 60; }
.bell-btn { position: relative; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); }
.bell-btn:hover { border-color: var(--ink); }
.bell-btn:focus-visible { box-shadow: var(--focus); outline: none; }
.bell-count { position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--bg); }
.bell-panel { position: absolute; top: 50px; right: 0; width: min(360px, calc(100vw - 24px)); background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lift); overflow: hidden; }
.bell-head { font-family: var(--display); font-weight: 600; font-size: 17px; padding: 14px 16px 10px; border-bottom: 1px solid var(--line-2); }
.bell-list { max-height: 420px; overflow-y: auto; }
.bell-item { display: flex; flex-direction: column; gap: 2px; width: 100%; text-align: left; padding: 12px 16px; border: 0; border-bottom: 1px solid var(--line-2); background: #fff; cursor: pointer; font: inherit; }
.bell-item:hover { background: #faf6ef; }
.bell-item.new { background: #fff7f2; }
.bell-item.new .bi-subj::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 7px; vertical-align: middle; }
.bi-subj { font-weight: 650; font-size: 14px; color: var(--text); }
.bi-time { font-size: 12.5px; color: var(--muted); }
.bell-empty { padding: 16px; margin: 0; font-size: 14px; color: var(--muted); }
.topbar { padding-right: 60px; }
.modal-back { position: fixed; inset: 0; background: rgba(24, 35, 58, .45); z-index: 80; display: grid; place-items: center; padding: 20px; }
.email-modal { position: relative; width: min(720px, 100%); height: min(85vh, 900px); background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lift); }
.email-modal iframe.email { width: 100%; height: 100%; border: 0; }
.email-modal:has(.email-jobs) { display: flex; flex-direction: column; }
.email-modal:has(.email-jobs) iframe.email { flex: 1; height: auto; min-height: 0; }
.email-jobs { padding: 14px 56px 10px 18px; border-bottom: 1px solid var(--line); background: #fbf8f2; max-height: 34%; overflow-y: auto; }
.email-jobs .ej-sum { margin: 0 0 8px; }
.ej-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 4px 0; }
.ej-title { flex: 1 1 200px; font-weight: 600; font-size: 14px; }
.modal-x { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 20px; line-height: 1; cursor: pointer; z-index: 1; }
.feed-intro { margin: 4px 0 14px; }
.feed-intro h3 { margin: 0 0 4px; }
@media (max-width: 980px) {
  .bell-wrap { top: 8px; right: 10px; }
  .bell-btn { width: 38px; height: 38px; }
  .mobile-top { padding-right: 58px; }
}

/* Tailor review: the resume itself, a numbered mark on each change, one pop-out at a time */
.rv-head { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 12px; }
.rv-title h3 { margin: 4px 0 0; }
.rv-head .gauge .g .v { font-size: 36px; }
.rv-bar { position: sticky; top: 76px; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 8px 24px -12px rgba(24, 35, 58, .28); padding: 8px 10px 8px 14px; margin-bottom: 12px; }
.rv-count { font-size: 14px; }
.rv-nav, .rv-acts { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.rv-acts [data-build][disabled] { opacity: .45; cursor: not-allowed; }
.rv-acts .pulse { animation: rvPulse 1.4s ease-in-out 3; }
@keyframes rvPulse { 50% { box-shadow: 0 0 0 6px rgba(194, 65, 12, .18); } }
.rv-doc { position: relative; background: #ebe4d6; border-radius: 16px; padding: 18px 14px 26px; min-height: 260px; overflow-x: clip; }
.rv-doc .rv-pages { transition: opacity .2s; }
.rv-doc.updating .rv-pages { opacity: .82; }
.rv-doc .pdf-page { margin: 0 auto 16px; }
.mk-layer { position: absolute; inset: 0; }
.mk-layer .mk { position: absolute; border-radius: 3px; cursor: pointer; }
/* Pending: a soft highlight on just the words that change. */
.mk[data-state="pending"] { background: rgba(255, 196, 0, .30); box-shadow: inset 0 -2px 0 rgba(214, 150, 0, .9); }
/* Accepted: the new words are in the page in its own font; a thin green underline says which. */
.mk[data-state="accepted"] { background: transparent; box-shadow: inset 0 -2px 0 rgba(47, 111, 87, .75); }
.mk[data-state="rejected"] { background: transparent; box-shadow: none; }
.mk.active[data-state="pending"] { background: rgba(255, 186, 0, .45); box-shadow: inset 0 -2px 0 #c98a00, 0 0 0 2px rgba(201, 138, 0, .35); }
.mk.active[data-state="accepted"] { background: rgba(47, 111, 87, .10); }
.paper-sheet.flow .mk { border-radius: 2px; cursor: pointer; }
.mk-badge { position: absolute; z-index: 4; width: 20px; height: 20px; padding: 0; border: 0; border-radius: 50%; background: #d69600; color: #fff; font: 700 11px/20px var(--font); text-align: center; cursor: pointer; box-shadow: 0 2px 6px rgba(24, 35, 58, .25); }
.mk-badge[data-state="accepted"] { background: var(--green); }
.mk-badge[data-state="rejected"] { background: #b9b3a8; }
.mk-badge.active { outline: 2px solid var(--ink); outline-offset: 2px; }
.rv-pop { position: absolute; z-index: 10; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px -12px rgba(24, 35, 58, .42); padding: 12px 14px; font-family: var(--font); animation: popIn .16s ease-out; }
.rv-pop[hidden] { display: none; }
@keyframes popIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.rv-pop .pop-arrow { position: absolute; bottom: -7px; width: 12px; height: 12px; background: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: rotate(45deg); }
.rv-pop.below .pop-arrow { bottom: auto; top: -7px; transform: rotate(225deg); }
.rv-pop .pop-x { position: absolute; top: 6px; right: 8px; border: 0; background: none; font-size: 20px; line-height: 1; color: var(--faint); cursor: pointer; padding: 2px 4px; }
.pop-top { display: flex; align-items: center; gap: 8px; margin: 0 22px 6px 0; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--faint); }
.pop-n { width: 20px; height: 20px; border-radius: 50%; background: #d69600; color: #fff; display: grid; place-items: center; letter-spacing: 0; font-size: 11px; }
.pop-n[data-state="accepted"] { background: var(--green); }
.pop-n[data-state="rejected"] { background: #b9b3a8; }
.pop-of { margin-left: auto; font-weight: 600; letter-spacing: 0; text-transform: none; }
.pop-diff { margin: 0; font-size: 15px; line-height: 1.5; color: var(--text); }
.pop-diff del { background: #fde8e8; color: #9b1c1c; text-decoration: line-through; text-decoration-color: rgba(155, 28, 28, .55); border-radius: 3px; padding: 0 2px; }
.pop-diff ins { background: #dcf1e5; color: #14532d; text-decoration: none; border-radius: 3px; padding: 0 2px; font-weight: 600; }
.pop-why { margin: 6px 0 0; font-size: 12.5px; line-height: 1.4; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pop-caution { margin: 6px 0 0; font-size: 12.5px; color: #7a4e00; }
.pop-acts { display: flex; gap: 6px; align-items: center; margin-top: 10px; flex-wrap: wrap; }
.pop-state { font-size: 13px; font-weight: 600; color: var(--faint); }
.pop-state.ok { color: var(--green); }
.pop-link { border: 0; background: none; color: var(--muted); text-decoration: underline; font: 500 13px var(--font); cursor: pointer; padding: 4px; margin-left: auto; }
.pop-editor textarea { width: 100%; margin-top: 8px; font: 14px/1.45 var(--font); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; resize: vertical; }
.rv-unplaced h4 { margin: 18px 0 2px; }
.rv-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-top: 10px; }
.rv-card.active { border-color: var(--accent); }
.rv-done { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; }
.rv-done .base-choice { flex-basis: 100%; margin: 0; padding-top: 10px; border-top: 1px solid var(--line); }
@media (max-width: 700px) {
  .rv-doc { padding: 10px 6px 18px; }
  .rv-bar { top: 54px; }
  .rv-pop { position: fixed; left: 8px !important; right: 8px; bottom: 8px; top: auto !important; width: auto !important; max-height: 60vh; overflow: auto; }
  .rv-pop .pop-arrow { display: none; }
  .mk-badge { width: 14px; height: 14px; font-size: 8px; line-height: 14px; margin-left: -4px; }
}

/* ── Signup: steps and plan choice ── */
.signup-steps { display: flex; gap: 6px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0 0 14px; font-size: 12px; }
.signup-steps li { padding: 3px 10px; border-radius: 999px; background: rgba(0,0,0,.05); color: #4a4f5c; }
.signup-steps li.done { background: #e3f1ea; color: #1f5e46; }
.signup-steps li.now { background: #1b1f2a; color: #fff; }
.plan-pick { border: 0; padding: 0; margin: 0 0 14px; }
.plan-pick legend { font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.plan-option { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid rgba(0,0,0,.12); border-radius: 10px; margin-bottom: 8px; cursor: pointer; }
.plan-option:has(input:checked) { border-color: #1b1f2a; box-shadow: 0 0 0 1px #1b1f2a inset; }
.plan-option input { margin-top: 3px; }
.plan-option small { display: block; color: #4a4f5c; margin-top: 2px; }
.pay-files { list-style: none; padding: 0; margin: 0; }
.pay-files li { padding: 6px 0; border-top: 1px solid rgba(0,0,0,.06); }
