/* Modern layer, on trial (Yash, 2 Oct 2026). Loaded on top of app.css only when ?theme=a or ?theme=b.
   Keeps the brand colours and logo from tokens.css. Theme A keeps the website's fonts (Archivo, Exo).
   Theme B swaps in Inter for text and Plus Jakarta Sans for headings. */

.modern {
  --radius: 14px;
  --radius-sm: 10px;
  --line: #e6e8ef;
  --ink: #101631;
  --ink-soft: #5b6178;
  --page: #f5f6fa;
  --ring: 0 0 0 4px rgba(0, 19, 118, 0.12);
  --shadow: 0 1px 2px rgba(16, 22, 49, 0.04), 0 8px 24px rgba(16, 22, 49, 0.06);
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
}
.modern.theme-b { --font-body: "Inter", sans-serif; --font-heading: "Plus Jakarta Sans", sans-serif; }
.modern.theme-b body, .modern.theme-b { font-family: var(--font-body); }

/* Header: lighter, with a hairline instead of a heavy shadow */
.modern header.main { box-shadow: none; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.88); backdrop-filter: saturate(180%) blur(12px); }
.modern header.main .wrap { height: 68px; }
.modern .logo img { height: 42px; }
.modern nav.menu { gap: 30px; }
.modern nav.menu a { font-weight: 500; font-size: 15px; color: var(--ink); opacity: .85; }
.modern nav.menu a:hover { opacity: 1; color: var(--blue); }
.modern .top-strip { background: var(--navy); border: 0; font-size: 13px; }
.modern .top-strip .tag, .modern .top-strip .mail { color: rgba(255, 255, 255, .85); }

/* Buttons: rounded, calm, no sheen */
.modern .btn { border-radius: var(--radius-sm); padding: 11px 24px; font-weight: 600; font-size: 15px; line-height: 24px;
               letter-spacing: .01em; box-shadow: 0 1px 2px rgba(0, 19, 118, .2), 0 4px 12px rgba(0, 19, 118, .18); transition: transform .15s, box-shadow .15s, background .15s; }
.modern .btn::before { display: none; }
.modern .btn:hover { transform: translateY(-1px); box-shadow: 0 2px 4px rgba(0, 19, 118, .2), 0 8px 20px rgba(0, 19, 118, .22); }
.modern .btn.ghost { box-shadow: none; border: 1px solid var(--line); color: var(--ink); background: var(--white); }
.modern .btn.ghost:hover { border-color: #cfd3df; transform: none; }

/* Title band: brand colours, more air, finer type */
.modern .band { background: radial-gradient(1200px 400px at 85% -20%, rgba(255, 0, 207, .18), transparent 60%),
                            linear-gradient(135deg, #0b1450 0%, #1a1660 55%, #2a1d63 100%); padding: 56px 0 96px; }
.modern .band::before { display: none; }
.modern .band h1 { font-weight: 700; letter-spacing: -0.025em; font-size: 34px; line-height: 1.15; }
.modern .band p { font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .78); max-width: 600px; }

/* Content sits on a floating card that overlaps the band */
.modern main { background: var(--page); padding: 0 0 72px; }
.modern main .wrap > .card:first-child, .modern main .wrap > form.card { margin-top: -64px; position: relative; }
.modern .card { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 28px 22px; }
.modern h2 { font-weight: 700; letter-spacing: -0.02em; font-size: 26px; color: var(--ink); }
.modern h3 { font-weight: 700; letter-spacing: -0.01em; font-size: 18px; color: var(--ink); margin-top: 28px; }
.modern .hint, .modern .field small, .modern .opt small { color: var(--ink-soft); }

/* Step indicator with labels */
.modern .steps { gap: 8px; margin-bottom: 28px; }
.modern .steps span { height: 4px; border-radius: 4px; background: var(--line); position: relative; margin-bottom: 18px; }
.modern .steps span.on { background: linear-gradient(90deg, var(--blue), #3b3fd1); }
.modern .steps span::after { content: attr(data-label); position: absolute; top: 10px; left: 0; font-size: 12px; font-weight: 600;
                             letter-spacing: .04em; text-transform: uppercase; color: #9aa0b4; }
.modern .steps span.on::after { color: var(--blue); }
.modern .step-label { font-size: 13px; font-weight: 600; color: var(--blue); letter-spacing: .02em; }

/* Choice cards */
.modern .opt { border-radius: var(--radius-sm); border-color: var(--line); padding: 14px 16px; transition: border-color .15s, background .15s, box-shadow .15s; }
.modern .opt:hover { border-color: #c9cee0; }
.modern .opt b { color: var(--ink); font-weight: 600; }
.modern .opt:has(input:checked) { border-color: var(--blue); background: #f4f6ff; box-shadow: var(--ring); }
.modern legend { color: var(--ink); font-weight: 700; letter-spacing: -0.01em; }

/* Index lists as compact chips */
.modern .options.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.modern .options.chips .opt { padding: 7px 14px; border-radius: 999px; align-items: center; gap: 8px; }
.modern .options.chips .opt input { margin: 0; }
.modern .options.chips .opt b { font-size: 14px; font-weight: 500; }

/* Inputs */
.modern input[type=text], .modern input[type=email], .modern input[type=date], .modern select, .modern textarea {
  border-radius: var(--radius-sm); border-color: var(--line); padding: 12px 14px; font-family: var(--font-body); background: #fbfbfd; transition: border-color .15s, box-shadow .15s, background .15s; }
.modern input:focus, .modern select:focus, .modern textarea:focus { outline: none; border-color: var(--blue); box-shadow: var(--ring); background: var(--white); }
.modern .field label { color: var(--ink); font-weight: 600; font-size: 15px; }
.modern input[type=file] { padding: 14px; border: 1.5px dashed #cfd3df; border-radius: var(--radius-sm); background: #fbfbfd; }

/* Tips */
.modern .tip { border: 0; border-radius: var(--radius-sm); background: #eef2ff; color: #23306b; }
.modern .tip.warn { background: #fff1f1; color: #7a1f1f; }
.modern .errors { border: 0; border-radius: var(--radius-sm); }

/* Progress list */
.modern ul.progress li { border-color: var(--line); }

/* Tables (staff) */
.modern table { font-size: 14px; }
.modern th { background: transparent; color: var(--ink-soft); font-weight: 600; text-transform: uppercase; font-size: 12px; letter-spacing: .05em; border-bottom: 1px solid var(--line); }
.modern td { border-color: var(--line); }
.modern .badge { border-radius: 999px; padding: 1px 10px; }

/* Footer: slimmer */
.modern footer { background: var(--navy); font-weight: 500; font-size: 13px; padding: 18px 16px; letter-spacing: .02em; }

@media (min-width: 768px) {
  .modern .band h1 { font-size: 44px; }
  .modern .card { padding: 40px 48px; }
}
@media (min-width: 1100px) {
  .modern .band h1 { font-size: 52px; }
  .modern .logo img { height: 50px; }
}

/* The labelled step bar already says where the client is */
.modern .step-label { display: none; }

/* Start page, modern */
.modern main .wrap > .layout { margin-top: -64px; position: relative; }
.modern main .wrap > .layout > form.card { margin-top: 0; }
.modern .band .eyebrow { display: inline-block; padding: 5px 12px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; font-weight: 600; font-size: 12px; opacity: 1; color: rgba(255,255,255,.88); background: rgba(255,255,255,.06); }
.modern .band h1 { max-width: 760px; }
.modern .band .proof li::before { content: ""; display: inline-block; vertical-align: middle; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: #ffb020; }
.modern .summary, .modern .sample { border-radius: var(--radius); }
.modern .summary dd { color: var(--ink); }
.modern .jrow { border-color: var(--line); }
.modern .jrow .score { border-radius: 12px; background: linear-gradient(135deg, #eef1ff, #f6f0ff); }
.modern .badges span { border-radius: 999px; background: #f1f3f9; }
.modern .time-note { color: var(--ink-soft); }

/* ---------- Simple start (one question, one box) ---------- */
[hidden] { display: none !important; }
.simple-page main { padding: 0 0 72px; background: radial-gradient(900px 420px at 50% -10%, #eef0ff 0%, rgba(238,240,255,0) 70%), var(--page); min-height: calc(100vh - 140px); }
.flow { max-width: 720px; margin: 0 auto; padding-top: 28px; }
.dots { list-style: none; padding: 0; margin: 0 0 28px; display: flex; justify-content: center; gap: 22px; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: #a3a8bb; }
.dots li { display: flex; align-items: center; gap: 7px; }
.dots li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #d5d9e6; }
.dots li.on { color: var(--blue); }
.dots li.on::before { background: var(--blue); }

.stage { animation: rise .25s ease-out; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.stage[data-stage="describe"] { padding-top: 6vh; text-align: center; }
.ask-title { font: 700 34px/1.15 var(--font-heading); letter-spacing: -0.03em; color: var(--ink); margin: 0 0 10px; }
.ask-sub { color: var(--ink-soft); font-size: 17px; margin: 0 auto 26px; max-width: 560px; }
.composer { text-align: left; background: var(--white); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 1px 2px rgba(16,22,49,.04), 0 12px 32px rgba(16,22,49,.08); padding: 14px 14px 10px 18px; transition: box-shadow .15s, border-color .15s; }
.composer:focus-within { border-color: #c7cdf5; box-shadow: 0 0 0 4px rgba(0,19,118,.08), 0 12px 32px rgba(16,22,49,.08); }
.composer textarea { border: 0 !important; box-shadow: none !important; background: transparent !important; padding: 4px 0 !important; resize: none; min-height: 72px; font-size: 17px !important; line-height: 1.55 !important; }
.composer-bar { display: flex; align-items: center; gap: 10px; }
.attach { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; padding: 6px 12px 6px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-soft); font-size: 14px; font-weight: 500; }
.attach span[aria-hidden] { font-size: 20px; line-height: 1; width: 22px; text-align: center; }
.attach:hover { background: #f5f6fa; color: var(--ink); }
.file-pill { font-size: 13px; padding: 5px 10px; border-radius: 999px; background: #eef1ff; color: var(--blue); max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.send { margin-left: auto; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--blue); color: #fff; font-size: 20px; cursor: pointer; box-shadow: 0 4px 12px rgba(0,19,118,.25); transition: transform .15s; }
.send:hover { transform: translateY(-1px); }
.send:disabled { opacity: .5; }
.suggest { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 20px 0 0; }
.suggest button { font: 500 14px var(--font-body); color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; cursor: pointer; transition: border-color .15s, background .15s; }
.suggest button:hover { border-color: #c9cee0; background: #fafbff; }
.suggest button.picked { border-color: var(--blue); color: var(--blue); background: #f4f6ff; }
.ask-foot { margin-top: 26px; font-size: 13px; color: #8a90a6; }
.ask-foot a { color: var(--blue); }
.thinking { margin-top: 18px; color: var(--ink-soft); font-size: 15px; }
.spinner { display: inline-block; width: 14px; height: 14px; border: 2px solid #c7cdf5; border-top-color: var(--blue); border-radius: 50%; vertical-align: -2px; margin-right: 6px; animation: spin 0.8s linear infinite; }
.inline-error { margin-top: 14px; color: var(--danger); font-size: 15px; }

.stage:not([data-stage="describe"]) { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 22px; }
.stage h2 { margin-bottom: 4px; }
.stage .hint { margin-bottom: 22px; }
.opt-tag { font-weight: 500; color: #9aa0b4; font-size: 12px; margin-left: 4px; }
.two { display: grid; grid-template-columns: 1fr; gap: 0 16px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-block; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--ink); background: var(--white); transition: all .15s; }
.seg label:hover span { border-color: #c9cee0; }
.seg input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.seg input:focus-visible + span { box-shadow: var(--ring); }
.kw { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fbfbfd; }
.kw:focus-within { border-color: var(--blue); box-shadow: var(--ring); background: #fff; }
.kw-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 6px 5px 12px; border-radius: 999px; background: #eef1ff; color: var(--navy); font-size: 14px; font-weight: 500; }
.kw-chip.main { background: var(--blue); color: #fff; }
.kw-chip button { border: 0; background: rgba(255,255,255,.35); color: inherit; width: 20px; height: 20px; border-radius: 50%; cursor: pointer; font-size: 14px; line-height: 1; }
.kw input { flex: 1; min-width: 140px; border: 0 !important; box-shadow: none !important; background: transparent !important; padding: 6px !important; }
.big-choice { display: grid; gap: 10px; margin-bottom: 18px; }
.big-choice label { display: flex; gap: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; transition: all .15s; }
.big-choice label:has(input:checked) { border-color: var(--blue); background: #f4f6ff; box-shadow: var(--ring); }
.big-choice input { accent-color: var(--blue); margin-top: 4px; }
.big-choice b { display: block; color: var(--ink); }
.big-choice small { color: var(--ink-soft); font-size: 14px; }
.group-label { font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: #8a90a6; margin: 14px 0 8px; }
details.more { margin: 6px 0 18px; border: 1px dashed var(--line); border-radius: var(--radius-sm); padding: 10px 14px; }
details.more summary { cursor: pointer; font-weight: 600; color: var(--blue); font-size: 15px; }
details.more[open] summary { margin-bottom: 12px; }
@media (min-width: 768px) {
  .ask-title { font-size: 44px; }
  .two { grid-template-columns: 1fr 1fr; }
  .stage:not([data-stage="describe"]) { padding: 36px 44px; }
  .big-choice { grid-template-columns: 1fr 1fr; }
}

/* ---------- Searchable dropdowns, keyword ideas, popular choices ---------- */
.combo { position: relative; }
.combo-box { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 4px 6px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fbfbfd; cursor: text; transition: border-color .15s, box-shadow .15s; }
.combo-box:focus-within { border-color: var(--blue); box-shadow: var(--ring); background: #fff; }
.combo-box input { flex: 1; min-width: 160px; border: 0 !important; box-shadow: none !important; background: transparent !important; padding: 8px 6px !important; }
.combo-box::after { content: "▾"; color: #9aa0b4; font-size: 12px; padding: 0 6px; }
.combo-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px 4px 11px; border-radius: 999px; background: #eef1ff; color: var(--navy); font-size: 14px; font-weight: 500; }
.combo-chip button { border: 0; background: rgba(0,19,118,.08); color: inherit; width: 20px; height: 20px; border-radius: 50%; cursor: pointer; font-size: 14px; line-height: 1; }
.combo-list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); max-height: 280px; overflow: auto; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgba(16,22,49,.14); }
.combo-item { padding: 9px 12px; border-radius: 8px; cursor: pointer; font-size: 15px; line-height: 20px; }
.combo-item small { display: block; font-size: 12px; color: var(--ink-soft); }
.combo-item:hover, .combo-item.active { background: #f1f3ff; }
.combo-custom { color: var(--blue); font-weight: 500; }
.combo-group { padding: 8px 12px 4px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #9aa0b4; }
.kw-suggest { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 10px; }
.kw-suggest-label { font-size: 13px; color: var(--ink-soft); width: 100%; }
.kw-suggest button, .presets button { font: 500 13px var(--font-body); color: var(--ink); background: #fff; border: 1px dashed #c9cee0; border-radius: 999px; padding: 6px 12px; cursor: pointer; transition: all .15s; }
.kw-suggest button:hover { border-style: solid; border-color: var(--blue); color: var(--blue); background: #f4f6ff; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 6px; }
.presets button { border-style: solid; }
.presets button:hover { border-color: #c9cee0; background: #fafbff; }
.presets button.picked { border-color: var(--blue); background: var(--blue); color: #fff; }

/* ---------- Login, account, trial shortlist ---------- */
.head-right { display: flex; align-items: center; gap: 18px; margin-left: auto; margin-right: 8px; }
.account-link { font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: none; }
.account-link:hover { color: var(--blue); }
.auth-card { max-width: 480px; margin: 6vh auto 0; }
.code-input { font-size: 28px !important; letter-spacing: .35em; text-align: center; font-variant-numeric: tabular-nums; }
.resend { margin-top: 14px; text-align: center; }
.link-btn { background: none; border: 0; color: var(--blue); font: 500 14px var(--font-body); cursor: pointer; text-decoration: underline; }
.paper-list { list-style: none; padding: 0; margin: 0; }
.paper-list a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.paper-list a:hover b { color: var(--blue); }
.paper-list small { display: block; color: var(--ink-soft); }
.balance { font-size: 18px; margin: 4px 0 8px; }
.balance b { font: 800 40px/1 var(--font-heading); color: var(--blue); margin-right: 4px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.ledger { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.ledger li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.ledger .plus { color: var(--success); } .ledger .minus { color: var(--ink-soft); }
.shortlist .jcard { position: relative; display: flex; gap: 16px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; background: #fff; }
.shortlist .jcard .score { flex: 0 0 64px; height: 64px; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #eef1ff, #f6f0ff); color: var(--blue); font: 800 22px/1 var(--font-heading); }
.shortlist .jcard .score small { font: 600 10px var(--font-body); text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; }
.shortlist .jbody b { display: block; font-size: 17px; color: var(--ink); }
.shortlist .jbody small { color: var(--ink-soft); }
.shortlist .jbody p { margin: 8px 0 0; font-size: 15px; }
.shortlist .ev-label { font-size: 12px !important; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: #8a90a6; }
.shortlist .evidence { margin: 4px 0 0; padding-left: 18px; font-size: 14px; line-height: 21px; }
.shortlist .jcard.locked { background: repeating-linear-gradient(135deg, #fafbff, #fafbff 10px, #f4f5fb 10px, #f4f5fb 20px); }
.shortlist .jcard.locked .jbody b { filter: blur(0); color: #9aa0b4; }
.shortlist .jcard.locked .lock { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 20px; opacity: .6; }
.shortlist .unlock { text-align: center; padding: 18px 10px 4px; }
.shortlist .unlock p { margin: 0 0 12px; }
.shortlist .unlock small { display: block; margin-top: 8px; color: var(--ink-soft); }

/* ---------- "We already know" and Get ahead ---------- */
.known { border: 1px solid #d9f0e1; background: #f5fbf7; border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 22px; }
.known-title { margin: 0 0 8px; font-weight: 700; color: #137a3a; font-size: 14px; }
.known-row { border-top: 1px solid #e3f2e8; }
.known-row:first-of-type { border-top: 0; }
.known-view { display: flex; align-items: baseline; gap: 12px; padding: 8px 0; flex-wrap: wrap; }
.known-label { flex: 0 0 180px; font-size: 13px; color: var(--ink-soft); }
.known-value { flex: 1; font-weight: 500; color: var(--ink); min-width: 160px; word-break: break-word; }
.known-edit { padding: 8px 0 4px; }
.back-link { margin: 0 0 14px; font-size: 14px; }
.back-link a { color: var(--blue); text-decoration: none; }
.ahead-list { list-style: none; padding: 0; margin: 0; }
.ahead-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 4px; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.ahead-list li:first-child a { border-top: 0; }
.ahead-list small { display: block; color: var(--ink-soft); }
.ahead-list .go { color: var(--blue); font-weight: 600; white-space: nowrap; }
.ahead-list a:hover b { color: var(--blue); }
.field label .opt-tag { display: inline; margin-bottom: 0; }

/* ---------- Consent and legal pages ---------- */
.consent { display: grid; gap: 10px; margin: 6px 0 20px; font-size: 14px; line-height: 21px; color: var(--ink-soft); }
.consent label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.consent input { margin-top: 3px; accent-color: var(--blue); width: 16px; height: 16px; flex: 0 0 16px; }
.consent a, footer a { color: inherit; text-decoration: underline; }
.legal { max-width: 820px; margin: 0 auto; line-height: 1.7; }
.legal h2 { font-size: 20px; margin: 28px 0 8px; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 6px; }
mark.tbc { background: #fff3c4; color: #7a5b00; padding: 1px 6px; border-radius: 6px; font-size: .92em; }

/* ---------- Visual layer: icons, hero art, journey map, score rings ---------- */
.ic { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.suggest button { display: inline-flex; align-items: center; gap: 8px; }
.suggest button .ic { color: var(--blue); width: 16px; height: 16px; }

.hero-art { display: block; width: min(360px, 92%); height: auto; margin: 0 auto 18px; overflow: visible; }
.float-a { animation: bob 6s ease-in-out infinite; }
.float-b { animation: bob 6s ease-in-out infinite .4s; }
.float-c { animation: bob 6s ease-in-out infinite .8s; }
.float-d { animation: bob 6s ease-in-out infinite 1.2s; }
.flow-line { animation: dash 1.6s linear infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes dash { to { stroke-dashoffset: -20; } }

.trust { list-style: none; padding: 0; margin: 34px auto 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 640px; }
.trust li { display: flex; align-items: center; gap: 10px; text-align: left; font-size: 13px; color: var(--ink-soft); background: rgba(255,255,255,.7); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.trust .ic { width: 20px; height: 20px; color: var(--blue); padding: 6px; box-sizing: content-box; background: #eef1ff; border-radius: 9px; }
.trust b { color: var(--ink); }

.thinking { margin-top: 22px; }
.think-steps { display: inline-flex; flex-direction: column; gap: 8px; text-align: left; font-size: 15px; color: #a3a8bb; }
.think-steps span { display: flex; align-items: center; gap: 10px; transition: color .3s; }
.think-steps span::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #d5d9e6; transition: all .3s; }
.think-steps span.on { color: var(--ink); }
.think-steps span.on::before { border-color: var(--blue); background: radial-gradient(circle, var(--blue) 0 3px, transparent 4px); }

.journey { list-style: none; padding: 0; margin: 18px 0 4px; display: grid; gap: 0; }
.journey li { position: relative; display: flex; align-items: center; gap: 14px; padding: 8px 0; }
.journey li:not(:last-child)::after { content: ""; position: absolute; left: 19px; top: 46px; bottom: -10px; width: 2px; background: var(--line); }
.journey li.done:not(:last-child)::after { background: linear-gradient(var(--blue), #6a3df0); }
.journey .node { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: #f4f5fb; color: #a3a8bb; position: relative; z-index: 1; }
.journey .node .ic { width: 20px; height: 20px; }
.journey li.done .node { background: linear-gradient(135deg, var(--blue), #6a3df0); color: #fff; }
.journey li.now .node { background: #fff; color: var(--blue); box-shadow: 0 0 0 2px var(--blue), 0 0 0 7px rgba(0,19,118,.10); animation: pulse 2s ease-in-out infinite; }
.journey .label { font-weight: 600; color: var(--ink); }
.journey li.later .label { color: #9aa0b4; font-weight: 500; }
.journey .label small { display: block; font-weight: 600; font-size: 12px; color: var(--blue); }
@keyframes pulse { 50% { box-shadow: 0 0 0 2px var(--blue), 0 0 0 11px rgba(0,19,118,.04); } }

.ring { --p: 90; flex: 0 0 66px; width: 66px; height: 66px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: radial-gradient(closest-side, #fff 78%, transparent 80% 100%), conic-gradient(var(--blue) 0, #6a3df0 calc(var(--p) * 1%), #e7e9f3 0); }
.ring span { font: 800 18px/1 var(--font-heading); color: var(--blue); }
.ring small { font: 600 9px var(--font-body); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); margin-top: 3px; }
.shortlist .jcard { align-items: flex-start; }
.shortlist .jcard.locked .lock { color: #9aa0b4; }
.shortlist .jcard.locked .lock .ic { width: 20px; height: 20px; }

.ahead-list a { justify-content: flex-start; }
.ahead-ic { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 11px; background: #eef1ff; color: var(--blue); display: flex; align-items: center; justify-content: center; }
.ahead-text { flex: 1; }

@media (min-width: 768px) {
  .trust { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .trust li { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Always-free safety alerts ---------- */
.alerts { border: 1px solid #f3c7c7; background: #fff7f7; }
.alert-item { display: flex; gap: 12px; align-items: flex-start; padding: 6px 0; }
.alert-item .ic { width: 22px; height: 22px; color: var(--danger); margin-top: 2px; }
.alert-item b { color: #8a1c1c; }
.alert-item p { margin: 4px 0 0; color: #5c2a2a; }
.alert-note { margin: 10px 0 0; font-size: 12px; color: #9a6b6b; }

/* ---------- Dataset finding ---------- */
.finding-head { display: flex; gap: 14px; align-items: flex-start; }
.finding-head h2 { margin-top: 2px; }

/* ---------- Premium showcase (live product preview, crisp at any resolution) ---------- */
.simple-page main { position: relative; overflow: hidden;
  background:
    radial-gradient(520px 320px at 12% 6%, rgba(106,61,240,.16), transparent 70%),
    radial-gradient(560px 340px at 88% 2%, rgba(0,19,118,.14), transparent 70%),
    radial-gradient(420px 300px at 70% 38%, rgba(255,0,207,.07), transparent 70%),
    var(--page); }
.stage[data-stage="describe"] { padding-top: 2vh; }
.showcase { position: relative; max-width: 620px; margin: 4px auto 34px; text-align: left; perspective: 1400px; }
.sc-window { position: relative; border-radius: 20px; background: rgba(255,255,255,.78); backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255,255,255,.9); box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 30px 60px -20px rgba(16,22,49,.28), 0 12px 24px -12px rgba(16,22,49,.12);
  transform: rotateX(6deg); transform-origin: 50% 100%; animation: rise-in .9s cubic-bezier(.2,.8,.2,1) both; }
.sc-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid rgba(16,22,49,.06); font-size: 12px; }
.sc-bar > span { width: 10px; height: 10px; border-radius: 50%; background: #ff6058; }
.sc-bar > span:nth-child(2) { background: #ffbd2e; } .sc-bar > span:nth-child(3) { background: #28c840; }
.sc-bar b { margin-left: 8px; color: var(--ink); font-weight: 600; }
.sc-bar em { margin-left: auto; font-style: normal; color: #137a3a; display: inline-flex; align-items: center; gap: 5px; font-weight: 600; }
.sc-bar em .ic { width: 13px; height: 13px; }
.sc-grid { display: grid; grid-template-columns: 1fr; gap: 12px; padding: 14px; }
.sc-card { background: #fff; border: 1px solid #edeff6; border-radius: 14px; padding: 14px; box-shadow: 0 2px 8px rgba(16,22,49,.04);
  animation: rise-in .7s cubic-bezier(.2,.8,.2,1) both; }
.sc-journal { display: flex; gap: 14px; animation-delay: .15s; }
.sc-data { animation-delay: .3s; } .sc-gap { animation-delay: .45s; }
.sc-body { flex: 1; min-width: 0; }
.sc-kicker { margin: 0 0 8px; font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--blue); display: flex; align-items: center; gap: 6px; }
.sc-kicker .ic { width: 14px; height: 14px; }
.sc-line { height: 9px; border-radius: 6px; background: linear-gradient(90deg, #1b2150, #3a3f72); margin-bottom: 7px; }
.sc-line.soft { background: #e3e6f2; height: 7px; }
.w80 { width: 80%; } .w70 { width: 70%; } .w55 { width: 55%; }
.sc-badges { display: flex; flex-wrap: wrap; gap: 5px; margin: 8px 0 6px; }
.sc-badges span { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: #eef1ff; color: var(--navy); }
.sc-badges span.green { background: #e6f7ec; color: #137a3a; }
.sc-note { margin: 4px 0 0; font-size: 12px; color: var(--ink-soft); }
.sc-spark { display: flex; align-items: flex-end; gap: 5px; height: 38px; margin-top: 8px; }
.sc-spark i { flex: 1; border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, #6a3df0, #001376); opacity: .85; animation: grow 1s cubic-bezier(.2,.8,.2,1) both; transform-origin: bottom; }
.sc-spark i:nth-child(2) { animation-delay: .05s } .sc-spark i:nth-child(3) { animation-delay: .1s } .sc-spark i:nth-child(4) { animation-delay: .15s }
.sc-spark i:nth-child(5) { animation-delay: .2s } .sc-spark i:nth-child(6) { animation-delay: .25s } .sc-spark i:nth-child(7) { animation-delay: .3s }
.sc-gap-text { margin: 0 0 10px; font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.sc-meter { height: 8px; border-radius: 6px; background: #f1f2f8; overflow: hidden; }
.sc-meter span { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #ffb020, #ff6c00); }
.sc-chip { position: absolute; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--ink);
  background: #fff; border: 1px solid #edeff6; border-radius: 999px; padding: 8px 13px; box-shadow: 0 10px 24px -8px rgba(16,22,49,.22); white-space: nowrap; }
.sc-chip .ic { width: 15px; height: 15px; color: var(--blue); }
.sc-chip-a { left: -6px; bottom: -14px; animation: bob 6s ease-in-out infinite, rise-in .8s .6s both; }
.sc-chip-b { right: -6px; top: 44px; animation: bob 6s ease-in-out infinite .8s, rise-in .8s .75s both; }
@keyframes rise-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; } }
@keyframes grow { from { transform: scaleY(.1); } to { transform: scaleY(1); } }
@media (min-width: 680px) {
  .sc-grid { grid-template-columns: 1.35fr 1fr; grid-template-areas: "j j" "d g"; }
  .sc-journal { grid-area: j; } .sc-data { grid-area: d; } .sc-gap { grid-area: g; }
  .sc-chip-a { left: -34px; } .sc-chip-b { right: -30px; }
}
@media (max-width: 520px) { .sc-chip-b { display: none; } .sc-window { transform: none; } }

/* Describe stage: question first; preview beside it on wide screens, below it on phones */
.describe-visual { margin-top: 38px; }
@media (min-width: 1100px) {
  .flow:has(.stage[data-stage="describe"]:not([hidden])) { max-width: 1180px; }
  .stage[data-stage="describe"]:not([hidden]) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 56px; text-align: left; align-items: start; padding-top: 4vh; }
  .stage[data-stage="describe"] > * { grid-column: 1; }
  .stage[data-stage="describe"] > .describe-visual { grid-column: 2; grid-row: 1 / span 8; margin-top: 10px; align-self: center; }
  .stage[data-stage="describe"] .ask-sub { margin-left: 0; }
  .stage[data-stage="describe"] .suggest { justify-content: flex-start; }
  .stage[data-stage="describe"] .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-left: 0; }
  .stage[data-stage="describe"] .trust li { flex-direction: row; }
  .dots { justify-content: flex-start; }
}

/* What we understood the client wants */
.intent { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; margin: 4px 0 20px; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #eef1ff, #f6f0ff); color: var(--ink); font-weight: 600; line-height: 1.45; }
.intent .ic { color: #6a3df0; width: 20px; height: 20px; margin-top: 1px; }

/* ---------- Pricing ---------- */
.packs { display: grid; grid-template-columns: 1fr; gap: 18px; max-width: 1100px; margin: -64px auto 14px; position: relative; }
.pack { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px 24px; box-shadow: var(--shadow); text-align: center; }
.pack.featured { border: 2px solid var(--blue); box-shadow: 0 24px 50px -18px rgba(0,19,118,.35); }
.pack-flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: linear-gradient(90deg, var(--blue), #6a3df0); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; letter-spacing: .03em; }
.pack h2 { margin: 0 0 6px; }
.pack-credits { margin: 0; color: var(--ink-soft); } .pack-credits b { font: 800 34px/1 var(--font-heading); color: var(--ink); }
.pack-price { font: 800 30px/1.2 var(--font-heading); color: var(--blue); margin: 14px 0 0; }
.pack-per { margin: 2px 0 6px; font-size: 13px; color: var(--ink-soft); }
.pack-note { min-height: 22px; font-size: 14px; color: var(--ink-soft); margin: 0 0 16px; }
.pack .btn { width: 100%; }
.price-tax { max-width: 1100px; margin: 0 auto 26px; text-align: center; font-size: 13px; color: var(--ink-soft); }
.price-table { max-width: 1100px !important; margin: 0 auto 20px !important; }
.price-table td small { color: var(--ink-soft); }
.free-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.free-item { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; padding: 10px 12px; border-radius: 10px; background: #f6f7fb; }
.free-item .ic { color: #6a3df0; margin-top: 2px; }
@media (min-width: 900px) { .packs { grid-template-columns: repeat(3, 1fr); } .free-grid { grid-template-columns: repeat(2, 1fr); } }

/* Plans */
.notice { max-width: 1100px; margin: 0 auto 18px !important; }
.pack-price small { font: 600 14px var(--font-body); color: var(--ink-soft); margin-left: 4px; }
.pack-gst { margin: 2px 0 10px; font-size: 13px; color: var(--ink-soft); }
.pack-list { list-style: none; padding: 0; margin: 4px 0 18px; text-align: left; font-size: 14px; }
.pack-list li { padding: 5px 0 5px 22px; position: relative; }
.pack-list li::before { content: "✓"; position: absolute; left: 0; color: #137a3a; font-weight: 700; }
.topups { display: grid; grid-template-columns: 1fr; gap: 10px; }
.topup { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.topup span { flex: 1; color: var(--ink-soft); font-size: 14px; min-width: 200px; }
@media (min-width: 900px) { .topups { grid-template-columns: repeat(3, 1fr); } .topup { flex-direction: column; align-items: flex-start; } .topup .btn { width: 100%; } }

/* Details: cost line, privacy note, nudge for the suggestions */
.cost-line { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; margin: 10px 0 14px; background: #fafbff; font-size: 14px; line-height: 21px; }
.cost-line p { margin: 0; } .cost-line p + p { margin-top: 6px; }
.privacy-note { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 20px; color: var(--ink-soft); margin: 0 0 14px; }
.privacy-note .ic { color: #137a3a; margin-top: 1px; }
.suggest.nudge button { animation: nudge .5s ease-in-out 2; }
@keyframes nudge { 50% { transform: translateY(-3px); border-color: var(--blue); } }

/* Reference check */
.refcheck .ref-headline { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin: 8px 0 14px; }
.refcheck .ref-headline div { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; background: #fff; }
.refcheck .ref-headline b { display: block; font: 700 28px/1.1 var(--font-heading); margin-bottom: 4px; }
.refcheck .ref-headline span { font-size: 13px; color: var(--muted, #5b6075); }
.refcheck .ref-headline .good b { color: #1d7a4a; } .refcheck .ref-headline .bad b { color: #b42318; }
.refcheck .ref-counts { width: 100%; border-collapse: collapse; margin-bottom: 14px; }
.refcheck .ref-counts td { padding: 8px 4px; border-bottom: 1px solid var(--line); } .refcheck .ref-counts td:last-child { text-align: right; width: 60px; }
.refcheck .ref-counts tr.serious td:first-child::before { content: "● "; color: #b42318; }
.refcheck .ref-list { padding-left: 22px; } .refcheck .ref { margin: 0 0 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.refcheck .ref.serious { border-left: 4px solid #b42318; } .refcheck .ref.fix { border-left: 4px solid #c27c0e; } .refcheck .ref.clean { border-left: 4px solid #1d7a4a; }
.refcheck .ref-top { display: flex; gap: 10px; align-items: flex-start; } .refcheck .ref-entry { font-size: 14px; overflow-wrap: anywhere; }
.refcheck .pill { flex: none; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; border-radius: 999px; padding: 2px 8px; }
.refcheck .pill.serious { background: #fde8e7; color: #b42318; } .refcheck .pill.fix { background: #fdf2dc; color: #8a5a07; } .refcheck .pill.clean { background: #e3f4ea; color: #1d7a4a; }
.refcheck .ref-record { margin: 8px 0 0; font-size: 13px; color: #3a3f55; background: #f6f7fb; border-radius: 8px; padding: 8px 10px; overflow-wrap: anywhere; }
.refcheck .ref-record small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: #7a8099; margin-bottom: 2px; }
.refcheck .ref-fix { margin: 8px 0 0; font-size: 14px; }
.refcheck .next-level { margin-top: 18px; padding: 16px; border-radius: var(--radius-sm); background: linear-gradient(135deg, #f3f1ff, #eef6ff); }
.refcheck .method-stamp { margin-top: 12px; font-size: 12px; color: #7a8099; }
.refcheck .ref.confirm { border-left: 4px solid #6b7aa6; } .refcheck .pill.confirm { background: #eceffa; color: #44507a; }
.shortlist .facts { margin: 8px 0 4px; padding-left: 18px; font-size: 14px; color: #3a3f55; } .shortlist .facts li { margin: 2px 0; }
.shortlist .jcard.full.primary { border-color: #1d7a4a; box-shadow: 0 0 0 1px #1d7a4a inset; }
.shortlist .tagline { display: inline-block; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 2px 10px; margin-bottom: 6px; background: #eceffa; color: #44507a; }
.shortlist .tagline.good { background: #e3f4ea; color: #1d7a4a; } .shortlist .tagline.bad { background: #fde8e7; color: #b42318; } .shortlist .tagline.warn { background: #fdf2dc; color: #8a5a07; }
.shortlist .facts .warnline { color: #b42318; } .shortlist .dims table { width: 100%; font-size: 13px; border-collapse: collapse; } .shortlist .dims td { padding: 6px 4px; border-bottom: 1px solid var(--line); vertical-align: top; }
.shortlist .running { color: #44507a; }
.figcheck .figrow { display: flex; gap: 14px; align-items: flex-start; } .figcheck .figrow img { width: 140px; max-width: 35%; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.editcard .sample { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; line-height: 1.7; }
.editcard del { color: #b42318; text-decoration: line-through; } .editcard ins { color: #1d7a4a; text-decoration: underline; background: #eaf7ef; }
.editcard .downloads { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 10px; }
.qccard .scores { display: flex; flex-wrap: wrap; gap: 24px; margin: 6px 0 12px; } .qccard .score-ring { display: flex; gap: 12px; align-items: center; } .qccard .score-ring p { margin: 0; max-width: 180px; font-size: 13px; } .qccard .score-ring.under p b { color: #b42318; }
.choose { margin-top: 10px; } .chosen-tag { color: #1d7a4a; font-weight: 700; margin-top: 8px; } .topiccard .topic { margin-bottom: 14px; }
.results { width: 100%; border-collapse: collapse; font-size: 14px; margin: 6px 0 14px; } .results th, .results td { padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: right; } .results th:first-child, .results td:first-child { text-align: left; } .results tr.key td { font-weight: 700; background: #f3f6ff; }
.fig { margin: 16px 0; } .fig img { width: 100%; max-width: 720px; border: 1px solid var(--line); border-radius: 8px; background: #fff; } .fig figcaption { font-size: 13px; color: #3a3f55; margin-top: 6px; } .good-line { color: #1d7a4a; font-weight: 600; } .upload { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.writecard .draft p { margin: 0 0 12px; } .writecard textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 10px; font: inherit; } .writecard .changes { margin-top: 10px; display: grid; gap: 8px; }
.blue { color: #0070C0; }
.history-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin: 10px 0; } .history-form input, .history-form select { padding: 8px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.paper-list small { display: block; }
.suggest .more-btn, .suggest .helper-btn { font-weight: 600; } .suggest .more-chips { display: contents; } .suggest .more-chips[hidden] { display: none; }
.helper { margin: 14px auto 0; max-width: 760px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.helper-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; margin-top: 8px; }
.helper-grid button { text-align: left; border: 1px solid var(--line); border-radius: 12px; background: #f8f9fd; padding: 12px 14px; cursor: pointer; font: inherit; }
.helper-grid button:hover { border-color: var(--navy, #001376); } .helper-grid small { display: block; color: #5b6075; margin-top: 3px; }
.lang-pick { border: 1px solid var(--line); border-radius: 8px; padding: 4px 6px; font: inherit; font-size: 14px; background: #fff; max-width: 130px; }
[dir=rtl] .ref-list, [dir=rtl] ul { padding-right: 22px; padding-left: 0; }

/* One question, four choices (3 Oct 2026) */
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 22px 0 8px; text-align: left; }
.choice-card { background: var(--white, #fff); border: 1px solid #d9deea; border-radius: 16px; transition: box-shadow .15s, border-color .15s; }
.choice-card:hover, .choice-card.open { border-color: var(--blue, #001376); box-shadow: 0 8px 24px rgba(0, 19, 118, .08); }
.choice-main { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; row-gap: 2px; width: 100%; padding: 18px 18px; }
.choice-main .ic { grid-row: span 2; width: 26px; height: 26px; color: var(--blue, #001376); margin-top: 2px; }
.choice-main b { font-size: 17px; color: var(--navy, #081245); }
.choice-main small { color: #5b6478; font-size: 14px; line-height: 1.4; }
.choice-main:focus-visible { outline: 2px solid var(--blue, #001376); outline-offset: -2px; border-radius: 16px; }
.choice-subs { display: flex; flex-direction: column; gap: 8px; padding: 0 18px 18px 64px; }
.choice-subs button { all: unset; box-sizing: border-box; cursor: pointer; padding: 10px 14px; border-radius: 10px; background: #f2f5fc; color: var(--navy, #081245); font-weight: 600; font-size: 15px; }
.choice-subs button:hover, .choice-subs button:focus-visible { background: var(--blue, #001376); color: #fff; }
#quick-about:empty { display: none; }
#quick-about { margin-bottom: 8px; }
@media (max-width: 720px) {
  .choice-grid { grid-template-columns: 1fr; }
  .choice-subs { padding-left: 18px; }
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .choice-card { background: #111827; border-color: #273149; }
  :root:not([data-theme="light"]) .choice-main b, :root:not([data-theme="light"]) .choice-subs button { color: #e2e8f0; }
  :root:not([data-theme="light"]) .choice-subs button { background: #1b2540; }
}

/* Paper page: progress, next step, one plan bar (3 Oct 2026) */
.working-card { border-left: 4px solid var(--blue, #001376); }
.working-row + .working-row { margin-top: 14px; }
.progress { height: 8px; border-radius: 99px; background: #e6eaf4; overflow: hidden; margin: 6px 0; }
.progress span { display: block; height: 100%; background: var(--blue, #001376); border-radius: 99px; transition: width .5s linear; }
.next-card { border-left: 4px solid #1f9d55; }
.next-card .eyebrow { margin: 0; color: #1f7a45; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.next-card h2 { margin: 4px 0 6px; }
.plan-line { margin: 8px 0; font-size: 15px; }
.plan-bar { position: sticky; bottom: 0; z-index: 20; display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap;
            background: #fff; border: 1px solid #d9deea; border-radius: 14px; padding: 12px 16px; margin: 18px 0 0; box-shadow: 0 -6px 20px rgba(0, 19, 118, .08); }
details.card > summary { cursor: pointer; list-style: none; }
details.card > summary::before { content: "▸ "; color: var(--blue, #001376); }
details.card[open] > summary::before { content: "▾ "; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .plan-bar { background: #111827; border-color: #273149; } :root:not([data-theme="light"]) .progress { background: #1e293b; } }
@media (max-width: 720px) {
  .plan-bar { padding: 8px 12px; gap: 8px; font-size: 13px; flex-wrap: nowrap; }
  .plan-bar .btn { padding: 8px 12px; font-size: 13px; white-space: nowrap; }
}

@media (max-width: 720px) { .tag, .mail { display: none !important; } }

.method-stamp { display: none; }

.logo .product-name { font: 800 20px/1 "Plus Jakarta Sans", Inter, sans-serif; color: var(--blue, #001376); margin-left: 10px; letter-spacing: -.01em; vertical-align: middle; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo .product-name { color: #9db0ff; } }

.ask-card .qa { border-top: 1px solid #e6eaf4; padding: 10px 0; }
.ask-card .qa .q { font-weight: 600; margin: 0 0 4px; }
.ask-card .qa .a { margin: 0; white-space: pre-line; }
.ask-form textarea { width: 100%; margin: 8px 0; }

.ask-examples{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}
.ask-examples .chip{border:1px solid var(--line,#dde);background:transparent;border-radius:999px;padding:4px 10px;font-size:.85rem;cursor:pointer;color:inherit}

.topic-match{margin:10px 0;padding:10px 12px;border-radius:10px;background:var(--surface-2,rgba(0,0,0,.03))}
.topic-match b{display:block}
.topic-match.few b,.topic-match.none b{color:#b45309}

.stuck-card{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:16px 0 8px;padding:16px 18px;border:1px dashed var(--brand,#4f46e5);border-radius:14px;background:var(--surface-2,rgba(79,70,229,.04))}
.stuck-card b{display:block;font-size:1.05rem}.stuck-card small{display:block;opacity:.8;margin-top:2px}
@media (max-width:600px){.stuck-card{flex-direction:column;align-items:stretch}}
.stuck-examples{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 10px}
.stuck-examples .chip{border:1px solid var(--line,#dde);background:transparent;border-radius:999px;padding:5px 11px;font-size:.85rem;cursor:pointer;color:inherit;text-align:left}

/* Phones: the result first (500-client test, 3 Oct 2026). The road becomes one scrolling row of steps. */
@media (max-width: 640px) {
  .journey { display: flex; overflow-x: auto; gap: 8px; margin: 10px 0 0; padding-bottom: 6px; scroll-snap-type: x mandatory; }
  .journey li { flex: 0 0 auto; flex-direction: column; align-items: flex-start; gap: 4px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 10px; scroll-snap-align: start; max-width: 9.5rem; }
  .journey li:not(:last-child)::after { display: none; }
  .journey .node { width: 28px; height: 28px; flex-basis: 28px; border-radius: 8px; }
  .journey .label { font-size: .82rem; line-height: 1.25; }
  .ask-card summary { font-size: .95rem; }
}

/* Phones: the header links go into the menu button (round 9 UI test, 3 Oct 2026) */
@media (max-width: 760px) {
  header .wrap { position: relative; }
  header .head-right { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; z-index: 50;
    flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 12px 24px rgba(10, 20, 60, .12); padding: 8px 16px 14px; }
  header.nav-open .head-right { display: flex; }
  header .head-right .account-link { padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
  header .head-right .lang-pick { max-width: none; margin: 8px 0; padding: 8px; font-size: 16px; }
  header .burger { display: flex; margin-left: auto; }
  html, body { overflow-x: hidden; }
}

.pack-credits b { font: 700 18px/1.3 var(--font-heading); display: block; margin: 6px 0 2px; }
.trust li span { min-width: 0; }
@media (max-width: 640px) {
  .journey li { max-width: 12rem; min-width: 7.5rem; }
  .journey .label { white-space: normal; overflow: visible; overflow-wrap: anywhere; }
  .journey .label small { white-space: normal; }
}

/* Round 9 usability fixes */
@media (min-width: 900px) { .packs.plans-row { grid-template-columns: repeat(3, 1fr); } }
.next-link { margin-left: 12px; font-weight: 600; }
.ask-card summary { display: flex; align-items: center; gap: 12px; cursor: pointer; list-style: none; }
.ask-card summary::-webkit-details-marker { display: none; }
.ask-card summary small { display: block; color: var(--ink-soft); font-size: .85rem; margin-top: 2px; }
.ask-card .ask-icon { flex: 0 0 34px; height: 34px; border-radius: 50%; background: var(--blue, #3b4cca); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.ask-card .ask-open { margin-left: auto; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--blue, #3b4cca); color: var(--blue, #3b4cca); font-weight: 700; font-size: .9rem; }
.ask-card[open] .ask-open { display: none; }
.account-link { white-space: nowrap; }
.modern .logo img { height: 40px; }
header.main .wrap { overflow: visible; }
@media (max-width: 640px) {
  .shortlist .jcard { flex-direction: column; gap: 10px; }
  .shortlist .jcard .ring { width: 64px; height: 64px; }
}
.example-list { list-style: none; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.example-list a { display: block; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; font-weight: 700; text-decoration: none; color: var(--ink); background: #fff; }
.example-list a small { display: block; font-weight: 400; color: var(--ink-soft); margin-top: 4px; }
.example-list a:hover { border-color: var(--blue); }

.help-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 16px; margin-bottom: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2, #f6f7fc); }
.help-contact b { margin-right: 6px; }

.certainty { display: inline-block; font-size: .78rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; margin-bottom: 4px; }
.certainty.high { background: #e7f6ec; color: #1d6b39; } .certainty.medium { background: #fff4e0; color: #8a5a00; } .certainty.low { background: #fdecec; color: #9b2c2c; }
@media (max-width: 760px) { header .head-right .btn.header-btn { display: inline-block; margin-top: 10px; text-align: center; } }

.packs.plans-row { margin-top: 18px; }

/* Round 10 usability fixes */
.quick-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 14px 0 4px; }
.quick-links span { font-size: .85rem; color: var(--ink-soft); margin-right: 4px; }
.quick-links .chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; font-size: .88rem; cursor: pointer; color: var(--ink); }
.quick-links .chip:hover { border-color: var(--blue); }
.jump-bar { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 10px 14px; margin: 0 0 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: .9rem; font-weight: 600; }
.next-card .btn, .next-card .next-link { vertical-align: middle; }
.next-card { display: block; } .next-card .next-link { display: inline-block; padding: 10px 4px; }
.cur-switch a { white-space: nowrap; }
footer { font-size: 15px; }
@media (max-width: 640px) {
  .journey { flex-wrap: wrap; overflow-x: visible; }
  .journey li { max-width: calc(50% - 6px); flex: 1 1 calc(50% - 6px); }
}
@media (max-width: 480px) { .trust { grid-template-columns: 1fr; } }

.example-list a .open { display: inline-block; margin-top: 10px; color: var(--blue); font-weight: 700; font-size: .9rem; }

@media (max-width: 640px) { .quick-links { padding: 0 2px 0 6px; } }

/* Round 11 usability fixes */
.journey-now { display: none; margin: 8px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--surface-2, #f3f5fc); }
@media (max-width: 640px) { .journey-now { display: block; } .journey { display: none; } }
.jump-bar { flex-wrap: nowrap; overflow-x: auto; gap: 8px; padding: 8px; }
.jump-bar a { flex: 0 0 auto; padding: 7px 12px; border-radius: 999px; background: var(--surface-2, #f3f5fc); color: var(--ink); text-decoration: none; font-size: .88rem; }
.jump-bar a:hover { background: #e6eaff; }
.copy-link { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 3px 10px; font-size: .8rem; cursor: pointer; margin-right: 6px; }
.side-journal summary { cursor: pointer; }
.btn.small { padding: 5px 12px; font-size: .85rem; margin-left: 6px; }
.modern footer, footer { color: #fff; font-size: 15px; }
.modern footer a, footer a { color: #ffd76a; }
.example-list li, .example-list a { height: 100%; box-sizing: border-box; }
@media (max-width: 640px) {
  .modern .logo img { height: 44px; }
  .card .ref, .card .ref-list > li { padding-left: 10px; margin-left: 0; }
  .ref-list { padding-left: 18px; }
}

@media (max-width: 640px) { .ref-headline { grid-template-columns: repeat(3, 1fr) !important; gap: 6px; } .ref-headline > div { padding: 8px; } .ref-headline span { font-size: .78rem; } }

/* Round 12 usability fixes */
.choice-subs { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 14px 52px; }
.choice-subs button { font-size: .85rem; padding: 6px 10px; border-radius: 999px; }
@media (max-width: 640px) { .choice-subs { padding: 0 12px 12px 12px; } }
.jump-bar { flex-wrap: wrap; overflow-x: visible; }
.copy-row { margin: 0 0 12px; }
.unlock .btn.small { padding: 9px 16px; font-size: .95rem; }
@media (max-width: 640px) { .unlock .plan-line .btn.small { display: block; width: 100%; margin: 10px 0 0; text-align: center; } }
.ref .ref-fix, .ref p { font-size: 15px; color: var(--ink); }
.ref blockquote, .ref .quote { font-size: 14px; font-style: italic; color: var(--ink-soft); }
.refcheck, .card { overflow: visible; }
.sc-title { margin: 6px 0 2px; font-weight: 700; color: var(--ink); font-size: 15px; }
.sc-sub { margin: 0 0 6px; color: var(--ink-soft); font-size: 13px; }
.start-btn { margin-right: 6px; }

/* Round 13 usability fixes */
@media (max-width: 640px) {
  .ref-headline { grid-template-columns: 1fr !important; }
  .ref-headline > div { display: flex; align-items: baseline; gap: 10px; padding: 8px 12px; }
  .ref-headline > div b { font-size: 1.4rem; min-width: 2.2ch; }
  .ref-headline span { font-size: .9rem; }
}
.what-adds { margin-top: 10px; }
.help-contact .btn { flex: 0 0 auto; }
.help-contact { flex-wrap: wrap; }
.cur-switch a { padding: 3px 10px; border-radius: 999px; text-decoration: none; border: 1px solid rgba(255,255,255,.35); margin: 2px 2px; display: inline-block; }
.cur-switch a.on { background: #fff; color: var(--navy, #0b1a5c); font-weight: 700; }
.phone-start { display: none; }
@media (max-width: 760px) { .phone-start { display: inline-block; padding: 7px 12px; font-size: .85rem; margin-left: auto; margin-right: 6px; } header .burger { margin-left: 0; } }

/* Home, round 14: four big choices; a tapped choice opens its options as clear rows (progressive disclosure) */
.choice-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.choice-card { display: flex; flex-direction: column; }
.choice-main { grid-template-columns: 1fr; row-gap: 6px; padding: 22px 20px 20px; height: 100%; align-content: start; position: relative; }
.choice-main .ic { grid-row: auto; width: 30px; height: 30px; margin: 0 0 6px; padding: 8px; box-sizing: content-box; border-radius: 12px; background: #eef1fb; }
.choice-main b { font-size: 18px; line-height: 1.3; }
.choice-main small { font-size: 15px; color: #4a5368; }
.choice-main .go, .choice-subs [data-pick] .go { font-weight: 700; color: var(--blue, #001376); }
.choice-main .go { margin-top: 8px; font-size: 15px; }
.choice-main .go::before { content: "Choose "; font-size: 14px; }
.choice-subs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0 20px 20px; }
.choice-subs[hidden] { display: none; }
.choice-subs .subs-head { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; margin: 0 0 4px; font-weight: 600; color: var(--navy, #081245); flex-wrap: wrap; }
.choice-subs .subs-back { all: unset; cursor: pointer; padding: 8px 14px; border-radius: 999px; border: 1px solid #c9d0e2; font-weight: 600; font-size: 15px; color: var(--blue, #001376); background: #fff; }
.choice-subs .subs-back:hover, .choice-subs .subs-back:focus-visible { background: #eef1fb; }
.choice-subs [data-pick] { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 1fr auto; column-gap: 12px; row-gap: 3px; align-items: center; padding: 14px 16px; border-radius: 12px; background: #f4f6fc; border: 1px solid #e1e6f2; color: var(--navy, #081245); }
.choice-subs [data-pick] b { font-size: 16px; font-weight: 700; }
.choice-subs [data-pick] small { grid-column: 1; font-size: 14px; color: #4a5368; font-weight: 400; line-height: 1.4; }
.choice-subs [data-pick] .go { grid-column: 2; grid-row: 1 / span 2; font-size: 18px; }
.choice-subs [data-pick]:hover, .choice-subs [data-pick]:focus-visible { background: var(--blue, #001376); border-color: var(--blue, #001376); color: #fff; }
.choice-subs [data-pick]:hover small, .choice-subs [data-pick]:focus-visible small, .choice-subs [data-pick]:hover .go, .choice-subs [data-pick]:focus-visible .go { color: #fff; }
.choice-grid.picking { grid-template-columns: 1fr; }
.choice-grid.picking .choice-card:not(.open) { display: none; }
.choice-grid.picking .choice-card.open .choice-main { grid-template-columns: 54px 1fr; padding-bottom: 12px; cursor: default; }
.choice-grid.picking .choice-card.open .choice-main .ic { grid-row: span 2; margin: 0; }
.choice-grid.picking .choice-card.open .choice-main .go { display: none; }
@media (min-width: 1000px) {
  .stage[data-stage="describe"]:not([hidden]) { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; }
  .stage[data-stage="describe"] > .describe-visual { grid-column: 2; grid-row: 1; align-self: center; margin-top: 0; }
  .stage[data-stage="describe"] > .hero-text { grid-row: 1; align-self: center; }
  .stage[data-stage="describe"] > .choice-grid, .stage[data-stage="describe"] > .stuck-card, .stage[data-stage="describe"] > #own-words,
  .stage[data-stage="describe"] > .trust, .stage[data-stage="describe"] > .ask-foot, .stage[data-stage="describe"] > .thinking, .stage[data-stage="describe"] > .inline-error { grid-column: 1 / -1; }
  .stage[data-stage="describe"] .trust { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 999px) { .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .choice-grid { grid-template-columns: 1fr; gap: 10px; }
  .choice-main { grid-template-columns: 46px 1fr; column-gap: 12px; padding: 16px; }
  .choice-main .ic { grid-row: span 3; margin: 0; width: 24px; height: 24px; }
  .choice-main b { font-size: 17px; }
  .choice-main .go { position: absolute; right: 16px; top: 18px; margin: 0; }
  .choice-main .go::before { content: ""; }
  .choice-main b { padding-right: 22px; }
  .choice-subs { grid-template-columns: 1fr; padding: 0 12px 14px; }
  .stage[data-stage="describe"] .describe-visual { display: none; }
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .choice-subs [data-pick], :root:not([data-theme="light"]) .choice-subs .subs-back { background: #1b2540; border-color: #273149; color: #e2e8f0; }
  :root:not([data-theme="light"]) .choice-main small, :root:not([data-theme="light"]) .choice-subs [data-pick] small { color: #a9b3c7; }
  :root:not([data-theme="light"]) .choice-main .ic { background: #1b2540; }
}
/* Header logo: the tagline line is unreadable at header size, so the header shows the mark and name only (same file) */
.modern .logo img { height: 46px; width: auto; aspect-ratio: 1372 / 780; object-fit: cover; object-position: top; }
@media (max-width: 640px) { .modern .logo img { height: 38px; } .logo .product-name { font-size: 19px; } }
/* Home hero: compact so the four choices are visible on the first screen */
@media (min-width: 1000px) {
  .stage[data-stage="describe"]:not([hidden]) { padding-top: 2vh; }
  .stage[data-stage="describe"] > .describe-visual .showcase { max-width: 430px; margin-left: auto; }
  .stage[data-stage="describe"] > .choice-grid { margin-top: 26px; }
}
.choice-main .go { margin-top: auto; padding-top: 8px; }
@media (min-width: 641px) { .choice-grid:not(.picking) .choice-main { display: flex; flex-direction: column; align-items: flex-start; } }
@media (min-width: 1000px) { .stage[data-stage="describe"] > .describe-visual .showcase { zoom: .78; max-width: 520px; margin: 0 0 0 auto; } .stage[data-stage="describe"] .ask-title { font-size: 46px; } }
#choices { scroll-margin-top: 84px; } .choice-subs [data-pick] b { line-height: 1.35; }
/* Paper page, round 14: one clear Unlock; the road map sits below the result */
.unlock .lock-cost { margin: 4px 0 12px; color: #2f3850; font-size: 15px; }
.unlock .unlock-btn { display: inline-block; }
.unlock .later-lock { font-size: 15px; color: #2f3850; margin: 0; }
.unlock:has(.later-lock) { padding: 12px 16px; background: transparent; border-style: dashed; }
.next-card .road-link { display: inline-block; margin-top: 10px; font-size: 14px; }
.what-adds { color: #2f3850 !important; font-size: 15px; }
@media (max-width: 640px) { .unlock .unlock-btn { display: block; text-align: center; } }
@media (max-width: 640px) {
  .jump-bar { flex-wrap: nowrap !important; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .jump-bar::-webkit-scrollbar { display: none; }
  .jump-bar a { flex: 0 0 auto; white-space: nowrap; }
}
/* Pricing, round 14: three ways to pay first, then packs, then plans */
.price-h { text-align: center; margin: 8px 0 16px; font-size: 26px; }
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.way { display: flex; flex-direction: column; gap: 8px; padding: 22px; border: 1px solid #d9deea; border-radius: 16px; background: #fff; color: var(--ink, #1a2033); text-decoration: none; transition: box-shadow .15s, border-color .15s; }
.way:hover, .way:focus-visible { border-color: var(--blue, #001376); box-shadow: 0 8px 24px rgba(0, 19, 118, .1); }
.way.featured { border: 2px solid var(--blue, #001376); }
.way-tag { align-self: flex-start; font-size: 13px; font-weight: 700; color: var(--blue, #001376); background: #eef1fb; padding: 4px 10px; border-radius: 999px; }
.way b { font-size: 21px; color: var(--navy, #081245); }
.way-price { font: 800 28px/1.1 "Plus Jakarta Sans", Inter, sans-serif; color: var(--navy, #081245); }
.way-price small { font-size: 15px; font-weight: 600; color: #4a5368; }
.way > span:not([class]) { color: #2f3850; font-size: 15px; line-height: 1.45; }
.way-go { margin-top: auto; padding-top: 6px; font-weight: 700; color: var(--blue, #001376); }
.ways-note { text-align: center; margin: 14px 0 26px; }
.pack-explain { color: #2f3850; font-size: 15.5px; line-height: 1.5; max-width: 760px; }
.plans-card .plans-row { margin-top: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .ways { grid-template-columns: 1fr; } .plans-card .plans-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .plans-card .plans-row { grid-template-columns: 1fr; } }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .way { background: #111827; border-color: #273149; color: #e2e8f0; } :root:not([data-theme="light"]) .way b, :root:not([data-theme="light"]) .way-price { color: #e2e8f0; } :root:not([data-theme="light"]) .way > span:not([class]), :root:not([data-theme="light"]) .pack-explain { color: #b8c2d6; } :root:not([data-theme="light"]) .way-tag { background: #1b2540; color: #9db0ff; } }
.example-banner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.example-banner p { margin: 0; flex: 1 1 320px; }
.example-banner .ex-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.help-contact { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px 16px; }
.help-contact-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.help-contact small { grid-column: 2; color: #4a5368; }
.help-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.help-toc a { padding: 7px 12px; border-radius: 999px; background: var(--surface-2, #f3f5fc); color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 600; }
.help-toc a:hover { background: #e6eaff; }
.legal h2[id] { scroll-margin-top: 90px; }
@media (max-width: 560px) { .help-contact { grid-template-columns: 1fr; } .help-contact small { grid-column: 1; } .help-contact-btns .btn { flex: 1 1 auto; text-align: center; } }
.locked-group { margin-top: 18px; padding: 18px; border: 1px dashed #b9c2da; border-radius: 14px; background: #f7f8fd; }
.locked-group h3 { margin: 0 0 10px; font-size: 18px; }
.locked-rows { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 8px; }
.locked-rows li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; background: #fff; border: 1px solid #e1e6f2; }
.mini-ring { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: var(--blue, #001376); border: 3px solid var(--blue, #001376); }
.locked-group .unlock { margin-top: 8px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .locked-group { background: #111827; border-color: #273149; } :root:not([data-theme="light"]) .locked-rows li { background: #1b2540; border-color: #273149; } }
.cur-switch .seg { display: inline-flex; gap: 0; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); vertical-align: middle; }
.cur-switch .seg a { margin: 0 !important; border: 0 !important; padding: 6px 12px !important; border-radius: 999px; white-space: nowrap; }
.cur-switch .seg a small { opacity: .8; font-size: .8em; }
@media (max-width: 560px) { .cur-switch .seg a small { display: none; } .cur-switch { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } }
details.dims > summary { font-size: 15px; font-weight: 600; color: var(--blue, #001376); cursor: pointer; padding: 6px 0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) details.dims > summary { color: #9db0ff; } }
.refcheck .ref-headline > div > span { color: #2f3850; font-size: 15px; line-height: 1.35; }
@media (max-width: 640px) { .ref-headline > div { align-items: center; } .ref-headline > div > span { padding-top: 0 !important; } }
/* Round 15 fixes */
.qccard .scores { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.qccard .score-ring { padding: 12px 14px; border: 1px solid #e1e6f2; border-radius: 12px; }
.qccard .score-ring p { max-width: none; font-size: 15px; display: flex; flex-direction: column; gap: 3px; }
.qccard .score-ring p .sl { color: var(--navy, #081245); font-size: 15px; }
.qccard .score-ring .tgt { font-size: 14px; font-weight: 600; }
.qccard .score-ring .tgt.under { color: #b42318; } .qccard .score-ring .tgt.ok { color: #1d7a4a; }
/* phone shortcut row: a tidy grid, nothing cut off */
@media (max-width: 640px) {
  .jump-bar { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible !important; mask-image: none !important; gap: 6px; }
  .jump-bar a { text-align: center; padding: 9px 4px !important; font-size: 14px !important; }
}
/* phone logo: mark and name side by side, larger and sharp */
@media (max-width: 640px) {
  .modern .logo { display: flex; align-items: center; gap: 8px; }
  .modern .logo img { height: 44px; }
  .logo .product-name { margin-left: 0; font-size: 20px; }
  .phone-start { padding: 9px 12px !important; font-size: 14px !important; }
}
/* headings break evenly (no single word left alone) */
h1, h2, .ask-title { text-wrap: balance; }
.help-toc { justify-content: flex-start; }
/* pricing hero on phones: no empty purple block */
@media (max-width: 640px) { body:has(.cur-switch) .band { padding-bottom: 36px !important; min-height: 0 !important; } }
/* packs: one row of five on a laptop */
@media (min-width: 1000px) { #extra .topups { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; } }
/* stuck card text spacing */
.stuck-card small { line-height: 1.45; }
/* examples: equal card heights */
.example-list { align-items: stretch; } .example-list > * { height: 100%; box-sizing: border-box; }
.example-list li { display: flex; } .example-list li > a { flex: 1; }
.modern .logo, .modern .logo:hover { text-decoration: none; }
.phone-start, .start-btn { white-space: nowrap; }
@media (max-width: 380px) { .modern .logo img { height: 40px; } .logo .product-name { font-size: 18px; } }
@media (min-width: 1000px) {
  .stage[data-stage="describe"] > .trust { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; max-width: none !important; width: 100%; gap: 12px; margin: 18px 0 0; }
  .stage[data-stage="describe"] > .trust li { width: auto !important; max-width: none !important; flex-direction: row !important; align-items: center; gap: 10px; padding: 12px 14px; }
  .stage[data-stage="describe"] > .trust li span { white-space: nowrap; }
}
.qccard .score-ring.under p b.sl, .qccard .score-ring p b.sl { color: var(--navy, #081245); }
@media (min-width: 1000px) { .wrap > .card { max-width: 860px; } .wrap > .card p, .wrap > .card li { font-size: 16px; } }
.locked-group .unlock, .locked-group .unlock p { text-align: left; }
.choice-main .go::before { content: "See options "; }
.choice-main .go { display: inline-block; padding: 6px 12px; border-radius: 999px; background: #eef1fb; font-size: 14px; }
.choice-main:hover .go { background: var(--blue, #001376); color: #fff; }
@media (max-width: 640px) { .choice-main .go { padding: 4px 8px; } .choice-main .go::before { content: ""; } }
.next-card .road-link { display: block; margin-top: 12px; }
/* Round 16 */
@media (max-width: 640px) { .jump-bar { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (min-width: 641px) { .jump-bar { display: flex; flex-wrap: wrap; } }
details.dims > summary, details.more-lists > summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid #c9d0e2; border-radius: 999px; background: #fff; margin: 4px 0; }
details.dims > summary::-webkit-details-marker, details.more-lists > summary::-webkit-details-marker { display: none; }
details.dims > summary::after, details.more-lists > summary::after { content: "Show ▾"; font-size: 13px; color: #4a5368; font-weight: 600; }
details.dims[open] > summary::after, details.more-lists[open] > summary::after { content: "Hide ▴"; }
@media (min-width: 641px) {
  .modern .logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
  .modern .logo img { height: 54px; }
  .logo .product-name { margin-left: 0; font-size: 22px; }
}
.free-head { margin: 18px 0 8px; font-size: 18px; }
@media (max-width: 640px) { .locked-group { padding: 14px 12px; margin-left: -6px; margin-right: -6px; } }
.topup span { color: #2f3850 !important; font-size: 14.5px !important; }
details.dims > summary, details.more-lists > summary { border-radius: 12px; justify-content: space-between; max-width: 100%; box-sizing: border-box; }
details.dims > summary::after, details.more-lists > summary::after { flex: 0 0 auto; white-space: nowrap; }
.next-card .road-link { padding-left: 0 !important; margin-left: 0 !important; }
.ring small { font-size: 10.5px !important; color: #2f3850 !important; }
.jump-bar { margin-top: 12px; }
/* Logo: full logo on laptops; on phones the cap mark with the name (the wordmark is unreadable at phone size) */
.modern .logo .logo-mark { display: none; }
.logo .product-name small.by-rr { display: none; }
@media (max-width: 640px) {
  .modern .logo .logo-full { display: none; }
  .modern .logo .logo-mark { display: block; height: 30px !important; width: auto; aspect-ratio: auto !important; object-fit: contain !important; }
  .logo .product-name { display: flex; flex-direction: column; line-height: 1.05; }
  .logo .product-name small.by-rr { display: block; font: 600 11px/1.2 Inter, sans-serif; color: #4a5368; letter-spacing: 0; margin-top: 2px; }
}
@media (max-width: 640px) { .logo .product-name small.by-rr { white-space: nowrap; font-size: 10.5px; } .logo .product-name { font-size: 19px; } .modern .logo { gap: 6px; } .phone-start { padding: 8px 10px !important; } }
/* One brand look on every device: the cap mark with MyGuide by Research Ramp; the full logo sits in the footer */
.modern .logo .logo-full { display: none !important; }
.modern .logo .logo-mark { display: block !important; height: 36px !important; width: auto; aspect-ratio: auto !important; object-fit: contain !important; }
.logo .product-name { display: flex !important; flex-direction: column; line-height: 1.05; }
.logo .product-name small.by-rr { display: block !important; font: 600 11.5px/1.2 Inter, sans-serif; color: #4a5368; margin-top: 2px; white-space: nowrap; }
@media (max-width: 640px) { .modern .logo .logo-mark { height: 30px !important; } }
footer .foot-logo { height: 34px; vertical-align: middle; margin-right: 8px; background: #fff; border-radius: 6px; padding: 2px 4px; }
/* tap colours only where a mouse can hover, so a tapped option never looks pre-selected on a phone */
@media (hover: none) {
  .choice-subs [data-pick]:hover { background: #f4f6fc; border-color: #e1e6f2; color: var(--navy, #081245); }
  .choice-subs [data-pick]:hover small { color: #4a5368; } .choice-subs [data-pick]:hover .go { color: var(--blue, #001376); }
  .choice-main:hover .go { background: #eef1fb; color: var(--blue, #001376); }
}
/* packs: three to a row with room to read */
@media (min-width: 1000px) { #extra .topups { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (min-width: 1000px) { #extra .topups { display: flex !important; flex-wrap: wrap; justify-content: center; gap: 12px; } #extra .topups > .topup { flex: 0 0 calc(33.333% - 8px); box-sizing: border-box; } }
/* Round 19 polish */
.unlock:has(.later-lock) { border: 1px dashed #c9d0e2 !important; }
details.dims { display: block; } details.dims > summary { display: flex !important; width: 100%; }
@media (min-width: 1000px) { #extra .topups { display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)) !important; } #extra .topups > .topup { flex: none; } }
.example-banner { background: #fff7e0 !important; border: 1px solid #f0d58a !important; font-size: 15.5px; color: #3a2f0b; }
.example-banner p b { font-size: 16.5px; }
.unlock .unlock-btn + .lock-cost { margin-top: 10px; font-size: 14.5px; }
.lock-ic { display: inline-block; margin-right: 6px; }
.choice-subs .subs-label { grid-column: 1 / -1; margin: 2px 0 0; font-weight: 700; color: var(--navy, #081245); }
.choice-subs .subs-back { border: 0 !important; padding: 4px 0 !important; background: none !important; text-decoration: underline; text-underline-offset: 3px; }
/* Round 23 */
details.road-card > summary, details#editor-review > summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 16px; }
details.road-card > summary::-webkit-details-marker, details#editor-review > summary::-webkit-details-marker { display: none; }
details.road-card > summary::after, details#editor-review > summary::after { content: "Show ▾"; font-size: 13px; font-weight: 600; color: var(--blue, #001376); white-space: nowrap; }
details.road-card[open] > summary::after, details#editor-review[open] > summary::after { content: "Hide ▴"; }
details.road-card[open] > summary, details#editor-review[open] > summary { margin-bottom: 12px; }
.sample del, .edit-key del { color: #b42318; background: #fde8e7; text-decoration: line-through; }
.sample ins, .edit-key ins { color: #146c3c; background: #e3f6ea; text-decoration: underline; }
.edit-key { display: inline-block; margin-right: 6px; font-weight: 600; }
.find-box { position: relative; margin: 18px 0 4px; }
.find-box input { width: 100%; box-sizing: border-box; padding: 14px 16px; font-size: 16px; border: 1px solid #c9d0e2; border-radius: 12px; background: #fff; }
.find-box input:focus { outline: 2px solid var(--blue, #001376); outline-offset: 1px; }
.find-results { display: grid; gap: 8px; margin-top: 8px; }
.find-hit { all: unset; box-sizing: border-box; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-radius: 12px; background: #f4f6fc; border: 1px solid #e1e6f2; color: var(--navy, #081245); }
.find-hit:hover, .find-hit:focus-visible { background: var(--blue, #001376); color: #fff; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (min-width: 1000px) { .stage[data-stage="describe"] > .find-box { grid-column: 1 / -1; } }
.phone-help { display: none; }
@media (max-width: 640px) {
  .phone-help { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid #c9d0e2; color: var(--blue, #001376); font-weight: 800; text-decoration: none; margin-left: auto; margin-right: 6px; flex: 0 0 auto; }
  body:has(.cur-switch) .band .eyebrow { display: none; }
  body:has(.cur-switch) .band h1 { font-size: 30px; }
  body:has(.cur-switch) .band { padding-top: 22px !important; }
}
.sum-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sum-text small { font-size: 14px; color: #4a5368; font-weight: 400; }
@media (max-width: 640px) {
  .modern header .wrap, header .head { gap: 6px; }
  .modern .logo .logo-mark { height: 26px !important; }
  .logo .product-name { font-size: 17px !important; }
  .logo .product-name small.by-rr { font-size: 10px !important; }
  .phone-help { width: 30px; height: 30px; margin-right: 2px; font-size: 14px; }
  .phone-start { padding: 7px 9px !important; font-size: 13px !important; }
  .burger { flex: 0 0 auto; }
}
details.card > summary { list-style: none; }
details.card > summary::marker, details.card > summary::-webkit-details-marker { content: ""; display: none; }
details.ahead > summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; cursor: pointer; }
details.ahead > summary::after { content: "Show ▾"; font-size: 13px; font-weight: 600; color: var(--blue, #001376); white-space: nowrap; }
details.ahead[open] > summary::after { content: "Hide ▴"; }
details.road-card > summary::before, details#editor-review > summary::before, details.ask-card > summary::before, details.ahead > summary::before { content: none !important; }
.not-sure { margin: 6px 0 0; font-size: 15px; color: #2f3850; }
.not-sure .link-btn { font-weight: 700; color: var(--blue, #001376); text-decoration: underline; text-underline-offset: 3px; }
.ex-badge { display: inline-block; padding: 2px 8px; margin-right: 6px; border-radius: 999px; background: #fff3cd; color: #7a5a00; font-size: 11px; font-weight: 800; letter-spacing: .06em; }
.mini-ring { border-width: 2px !important; font-size: 16px !important; }
@media (max-width: 640px) { .phone-help { width: auto !important; padding: 0 9px; border-radius: 999px !important; font-size: 13px !important; } }
.to-top { position: fixed; right: 14px; bottom: 16px; z-index: 50; padding: 10px 14px; border-radius: 999px; background: var(--blue, #001376); color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; box-shadow: 0 6px 18px rgba(0,19,118,.25); opacity: 0; pointer-events: none; transition: opacity .2s; }
.to-top.show { opacity: 1; pointer-events: auto; }
@media (min-width: 900px) { .to-top { display: none; } }
.next-card .next-link { display: inline-block; margin-left: 0 !important; padding-left: 0 !important; }
@media (max-width: 640px) { .next-card .next-link { display: block; margin-top: 10px; } }
@media (max-width: 640px) { .jump-bar { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } .jump-bar a { font-size: 13px !important; } }
.own-words-title { margin: 22px 0 4px; font-size: 20px; text-align: center; } .stuck-examples .chip { font-size: 14.5px; }
@media (max-width: 640px) {
  .jump-bar a { white-space: normal !important; line-height: 1.2; font-size: 13px !important; padding: 8px 4px !important; display: flex; align-items: center; justify-content: center; text-align: center; }
  .plan-bar { flex-direction: column; align-items: stretch !important; gap: 8px; text-align: left; }
  .plan-bar .btn { text-align: center; }
  body:has(.plan-bar) .to-top { bottom: 140px; }
}
.to-top { width: 44px; height: 44px; padding: 0 !important; display: grid; place-items: center; font-size: 20px !important; right: 10px !important; }
.find-box { position: relative; }
.find-box .find-ic { position: absolute; left: 14px; top: 14px; font-size: 16px; opacity: .7; pointer-events: none; }
.find-box input { padding-left: 42px !important; border-width: 1.5px !important; box-shadow: 0 2px 10px rgba(0,19,118,.06); }
.not-sure-btn { margin-left: 6px; padding: 6px 14px !important; font-size: 14px !important; }
@media (max-width: 640px) { .jump-bar { grid-template-columns: 1fr 0.8fr 1.3fr !important; } .jump-bar a { white-space: nowrap !important; } }
@media (max-width: 640px) { .plan-bar { position: static !important; margin-top: 14px; } }
@media (max-width: 640px) { .choice-main { padding: 13px 14px !important; } .choice-grid { gap: 8px !important; } .stage[data-stage="describe"] .ask-sub { font-size: 16px; } }
.not-sure-btn { background: var(--blue, #001376) !important; color: #fff !important; }

/* Research-based audit, 4 Oct 2026 (WCAG 2.2, Baymard, NN/g, Colour-blind safe status) */
/* 1. A clear, consistent keyboard focus ring (2px, high contrast), never hidden under the sticky bar */
.modern a:focus-visible, .modern button:focus-visible, .modern summary:focus-visible, .modern [role=button]:focus-visible { outline: 3px solid #3d5afe; outline-offset: 2px; border-radius: 6px; }
html { scroll-padding-bottom: 96px; scroll-padding-top: 16px; }
[id] { scroll-margin-top: 16px; }
/* 2. Comfortable reading: about 70 characters a line on wide screens */
@media (min-width: 1000px) { .wrap > .card p, .wrap > .card li, .wrap > .card .hint, .wrap > .card .ref, .wrap > .card .ref-fix { max-width: 36em; } }
/* 3. Form fields at 16px so phones do not zoom in and text stays readable */
.modern select, .modern input, .modern textarea { font-size: 16px; }
/* 4. No text under 12.5px */
.pack-flag { font-size: 13px; }
.shortlist .tagline { font-size: 13px; }
.topup small, .tax-total { font-size: 13px; }
.modern small { font-size: max(0.82em, 12.5px); }
.logo .product-name small.by-rr { font-size: 12px !important; }
@media (max-width: 640px) { .logo .product-name small.by-rr { font-size: 11.5px !important; } }
/* 5. Status never by colour alone: each tag gets a symbol as well as a word */
.tagline.good::before { content: "✓ "; }
.tagline.bad::before { content: "✕ "; }
.tagline.warn::before { content: "! "; }
.shortlist .ev-label { color: #4a5368 !important; font-size: 12.5px !important; }   /* was #8a90a6, 3.2:1 */
.ring small { font-size: 11.5px !important; letter-spacing: .04em !important; }
.certainty { font-size: 13px; }
.modern th { font-size: 13px; }
.ring small { text-transform: none !important; letter-spacing: 0 !important; font-size: 12px !important; white-space: nowrap; }
.ring small { font-size: 13px !important; font-weight: 700 !important; margin-top: 1px; }
/* Widen the journal search (Yash, 4 Oct 2026) */
.widen-card { border: 1px solid #c9d2f2; background: #f7f9ff; }
.widen-form { display: grid; gap: 10px; margin-top: 8px; }
.widen-opt { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; background: #fff; border: 1px solid #dde3f5; border-radius: 12px; cursor: pointer; line-height: 1.45; }
.widen-opt input { width: 20px; height: 20px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--blue, #001376); }
.widen-opt small { display: block; color: #4a5368; margin-top: 2px; }
.widen-kw { margin-top: 6px; } .widen-kw small { display: block; color: #4a5368; font-weight: 400; }
.widen-form textarea { width: 100%; font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid #cfd6ea; border-radius: 10px; }
.widen-form .btn { justify-self: start; }
@media (max-width: 640px) { .widen-form .btn { justify-self: stretch; } }
.phone-plus { font-size: 22px !important; line-height: 1 !important; padding: 6px 12px !important; min-width: 40px; min-height: 38px; align-items: center; justify-content: center; }
.phone-plus:not([hidden]) { display: none; }
@media (max-width: 760px) { .phone-plus:not([hidden]) { display: inline-flex; } }
/* Your guide: timetable and supervisor tools (5 Oct 2026) */
.back-link { display: inline-block; color: #fff; opacity: .9; text-decoration: underline; margin-bottom: 8px; font-size: 15px; }
.guide-page { max-width: 860px; margin: 0 auto; display: grid; gap: 18px; }
.tt-status { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: #e9f6ee; color: #14532d; font-weight: 600; margin: 0 0 14px; }
.tt-status.tight { background: #fff6e5; color: #7a4b00; } .tt-status.behind { background: #fdecec; color: #8f1d1d; }
.tt-ic { font-weight: 800; }
.tt-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.tt-step { display: flex; gap: 14px; padding: 12px 0; border-top: 1px solid #e6e9f3; }
.tt-step:first-child { border-top: 0; }
.tt-dot { flex: 0 0 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; background: #eef1fb; color: #2f3850; }
.tt-step.done .tt-dot { background: #1d7a4a; color: #fff; } .tt-step.now .tt-dot { background: var(--blue, #001376); color: #fff; }
.tt-step.overdue .tt-dot { background: #b42318; }
.tt-body b { display: block; } .tt-body small { color: #4a5368; font-size: 14px; } .tt-body p { margin: 4px 0 0; }
.tt-step.done .tt-body b { color: #4a5368; }
.tt-now { color: var(--blue, #001376); font-weight: 700; }
.tt-step.overdue small { color: #8f1d1d; font-weight: 600; }
.tt-form label small { display: block; color: #4a5368; font-weight: 400; }
.tt-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 8px 0 16px; } .tt-row input { font-size: 16px; padding: 10px 12px; border: 1px solid #cfd6ea; border-radius: 10px; }
.tt-line { margin: 10px 0 0; font-size: 15px; color: #2f3850; } .tt-line.behind { color: #8f1d1d; } .tt-line a { font-weight: 600; }
.guide-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 10px; }
.guide-tile { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid #dde3f5; border-radius: 14px; background: #fff; color: inherit; text-decoration: none; }
.guide-tile:hover, .guide-tile:focus-visible { border-color: var(--blue, #001376); box-shadow: 0 6px 18px rgba(0, 19, 118, .08); }
.guide-ic { font-size: 22px; line-height: 1; } .guide-tile b { display: block; } .guide-tile small { display: block; color: #4a5368; font-size: 14px; margin-top: 2px; }
.guide-badge { position: absolute; top: 10px; right: 12px; font-style: normal; font-size: 12.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #fdecec; color: #8f1d1d; }
.fb-form { display: grid; gap: 10px; } .fb-form label small { color: #4a5368; font-weight: 400; }
.fb-form select, .fb-form textarea { font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid #cfd6ea; border-radius: 10px; width: 100%; }
.fb-form .btn { justify-self: start; } .fb-or { margin-top: 6px; }
.fb-good { background: #eef8f1; border-radius: 12px; padding: 12px 16px; margin: 12px 0; } .fb-good ul { margin: 6px 0 0; padding-left: 20px; }
.fb-comments { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 12px; }
.fb-c { border: 1px solid #e1e6f3; border-left: 4px solid #8a94b8; border-radius: 12px; padding: 12px 16px; }
.fb-c.major { border-left-color: #b42318; } .fb-c p { margin: 6px 0; }
.fb-sev { font-size: 13px; font-weight: 700; color: #4a5368; } .fb-c.major .fb-sev { color: #8f1d1d; }
.fb-c blockquote { margin: 8px 0; padding: 6px 12px; background: #f5f7fc; border-radius: 8px; font-style: italic; color: #2f3850; }
.fb-lesson { background: #f2f0ff; border-radius: 8px; padding: 8px 12px; }
.fb-example { color: #14532d; }
.lg-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.lg-count { font-size: 14px; font-weight: 700; color: #4a5368; }
.lg-pattern { background: #fff6e5; color: #7a4b00; border-radius: 10px; padding: 10px 14px; }
.lg-list { padding-left: 20px; } .lg-list li { margin: 8px 0; } .lg-list p { margin: 0; } .lg-list small { color: #4a5368; font-size: 14px; }
.pr-decision { display: inline-flex; gap: 8px; align-items: center; font-weight: 800; font-size: 19px; padding: 8px 14px; border-radius: 12px; margin: 4px 0 10px; background: #eef1fb; color: #2f3850; }
.pr-decision.good { background: #e9f6ee; color: #14532d; } .pr-decision.warn { background: #fff6e5; color: #7a4b00; } .pr-decision.bad { background: #fdecec; color: #8f1d1d; }
.pr-reply { margin-top: 10px; } .pr-reply summary { cursor: pointer; font-weight: 700; color: var(--blue, #001376); }
.pr-reply form { display: grid; gap: 8px; margin-top: 8px; } .pr-reply textarea { font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid #cfd6ea; border-radius: 10px; }
.pr-reply .btn { justify-self: start; } .pr-check { background: #f5f7fc; border-radius: 10px; padding: 10px 14px; margin-top: 10px; }
.np-head { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.np-tag { font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #eef1fb; color: #2f3850; }
.np-tag.open { background: #e9f6ee; color: #14532d; } .np-tag.some { background: #fff6e5; color: #7a4b00; } .np-tag.crowded { background: #fdecec; color: #8f1d1d; }
.np-idea p { margin: 6px 0; } .np-check { background: #f5f7fc; border-radius: 10px; padding: 10px 14px; margin: 10px 0 14px; font-size: 15px; }
.np-check ul { margin: 4px 0 0; padding-left: 18px; } .np-check small { display: block; margin-top: 6px; color: #4a5368; }
.table-scroll { overflow-x: auto; } .eq-table { width: 100%; border-collapse: collapse; font-size: 15px; } .eq-table th, .eq-table td { text-align: left; padding: 8px; border-bottom: 1px solid #e6e9f3; vertical-align: top; }
.eq-ok { color: #14532d; font-weight: 700; } .eq-bad { color: #8f1d1d; font-weight: 700; } .eq-unk { color: #4a5368; font-weight: 700; }
/* the arrow sits on the right of each home card: keep the card text clear of it (5 Oct 2026) */
.choice-main { padding-right: 64px !important; }
@media (max-width: 640px) { .choice-main { padding-right: 58px !important; } }
/* Round 27 fixes (5 Oct 2026) */
/* the footer sits at the bottom of the window on short pages, never mid-screen */
body.modern { min-height: 100vh; display: flex; flex-direction: column; }
body.modern > main { flex: 1 0 auto; }
/* an icon never touches its text */
.btn-ic { margin-right: 8px; } .tt-ic2 { margin-right: 6px; }
/* guide tiles look tappable */
.guide-tile { padding-right: 44px; }
.guide-go { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #eef1fb; color: var(--blue, #001376); font-weight: 700; }
.guide-badge { right: 50px; }
/* back link on the dark band: a clear pill */
.back-link { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); color: #fff !important; text-decoration: none !important; font-weight: 600; font-size: 15px; opacity: 1; }
.back-link:hover { background: rgba(255,255,255,.24); }
/* small labels on guide pages read as labels */
.guide-page .eyebrow { margin: 0 0 6px; color: #1f7a45; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
/* lesson details readable */
.lg-list small { color: #3d4660; font-size: 14.5px; } .lg-count { background: #eef1fb; color: #2f3850; padding: 3px 10px; border-radius: 999px; font-size: 14px; }
/* shortcut row: three equal buttons */
.jump-bar { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 8px; }
.jump-bar a { text-align: center; padding: 9px 6px !important; border: 1px solid #d5dcf2; background: #fff !important; color: var(--blue, #001376) !important; font-weight: 700; box-shadow: 0 1px 2px rgba(0,19,118,.06); }
/* pricing on laptops: plan cards two by two, so text is not squeezed */
@media (min-width: 901px) { .plans-card .plans-row { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
.topup small, .tax-total { color: #2f3850; font-size: 14px; font-weight: 600; }
/* phones: the home intro is shorter so all four cards come sooner */
@media (max-width: 640px) { .hero-text p:not(.not-sure) { font-size: 15.5px; line-height: 1.5; margin-bottom: 10px; } .hero-text h1 { margin-bottom: 8px; } }
.quick-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 10px 0 4px; font-size: 14px; color: #3d4660; }
.quick-chips .chip { border: 1px solid #cfd6ea; background: #fff; color: var(--blue, #001376); font: inherit; font-weight: 600; font-size: 14px; padding: 7px 12px; border-radius: 999px; cursor: pointer; min-height: 36px; }
.quick-chips .chip:hover, .quick-chips .chip:focus-visible { background: var(--blue, #001376); color: #fff; }
@media (max-width: 640px) { .quick-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; margin-right: -16px; padding-right: 16px; } .quick-chips::-webkit-scrollbar { display: none; } .quick-chips .chip, .quick-chips span { flex: 0 0 auto; } }
.files-form input[type=text], .files-form select { font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid #cfd6ea; border-radius: 10px; width: 100%; }
.file-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 8px; } .file-list li { padding: 10px 14px; border: 1px solid #e1e6f3; border-radius: 10px; overflow-wrap: anywhere; } .file-list small { display: block; color: #3d4660; font-size: 14px; }
details.files-card > summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 16px; }
details.files-card > summary::-webkit-details-marker { display: none; }
details.files-card > summary::before { content: none !important; }
details.files-card > summary::after { content: "Show ▾"; font-size: 13px; font-weight: 600; color: var(--blue, #001376); white-space: nowrap; }
details.files-card[open] > summary::after { content: "Hide ▴"; }
details.files-card[open] > summary { margin-bottom: 12px; }
.file-list.from-us li { border-color: #cfe6d8; background: #f4fbf6; } .file-list.from-us a { color: var(--blue, #001376); }
.rerun-row { display: flex; flex-wrap: wrap; gap: 8px; } .rerun-row form { margin: 0; } .cur-ms { background: #f5f7fc; border-radius: 10px; padding: 10px 14px; }
.ethics-card input:not([type=radio]):not([type=file]) { font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid #cfd6ea; border-radius: 10px; width: 100%; }
.your-journal { margin: 0 0 12px; font-size: 15px; color: #2f3850; } .inline-form { display: inline; margin: 0; } .link-btn { background: none; border: 0; padding: 0; color: var(--blue, #001376); text-decoration: underline; font: inherit; cursor: pointer; }
.history-form input, .history-form select { font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid #cfd6ea; border-radius: 10px; width: 100%; }
.file-list .file-remove { display: inline-block; margin-top: 4px; font-size: 14px; }
.free-group { margin-top: 14px; padding: 14px; border-radius: 14px; background: #f4fbf6; border: 1px solid #cfe6d8; }
.free-group .free-head { margin-top: 0; }
.free-rows li { border-color: #cfe6d8; }
.free-rows .mini-ring { color: #1f7a45; font-weight: 700; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .free-group { background: #10251a; border-color: #23493a; } :root:not([data-theme="light"]) .free-rows li { background: #15301f; border-color: #23493a; } }
