/* ScholarPacket — warm editorial typography, evergreen trust, quiet gold. */
:root {
  color-scheme: light;
  --ink: #202f2b;
  --muted: #626b64;
  --navy: #183e38;
  --navy-soft: #28594e;
  --cream: #f6f3ec;
  --card: #fffefa;
  --line: #dedfd5;
  --soft: #f0f3ee;
  --accent: #ad782b;
  --gold: #edcf91;
  --ok: #246348;
  --warn: #83551d;
  --miss: #9b382d;
  --keep: #246348;
  --displace: #83551d;
  --ask: #4d5e58;
  --urgent: #9b382d;
  --soon: #83551d;
  --display: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 18px;
  --shadow: 0 3px 5px #263c2c03, 0 12px 32px #263c2c06;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 15px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
::selection { background: var(--gold); color: var(--navy); }
a { color: var(--navy-soft); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: #102e28; }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid #99661f; outline-offset: 4px; }
.skip-link { position: fixed; z-index: 20; top: 12px; left: 16px; padding: 10px 18px; background: var(--navy); color: white; border-radius: 8px; transform: translateY(-170%); }
.skip-link:focus { transform: translateY(0); color: white; }
.site-header { background: radial-gradient(ellipse at 95% 12%, #eddfbf70, transparent 44%), #fbf9f3; border-bottom: 1px solid #deded2; }
.header-inner { width: min(100% - 48px, 960px); margin-inline: auto; }
.masthead { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 96px; border-bottom: 1px solid #183e381a; }
.brand-lockup { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--navy); flex-shrink: 0; }
.brand-mark { flex-shrink: 0; }
#brand-name { font-family: var(--display); font-weight: 600; font-size: 26px; letter-spacing: -.9px; }
header nav { display: flex; gap: 5px; align-items: center; flex-wrap: wrap; }
header nav a { text-decoration: none; color: var(--muted); font-size: 13px; font-weight: 600; padding: 10px 14px; border: 1px solid transparent; border-radius: 9px; white-space: nowrap; transition: color .15s, background .15s; }
header nav a:hover { background: #183e3809; color: var(--navy); }
header nav a[aria-current='page'] { background: var(--navy); color: #fffefa; box-shadow: 0 2px 5px #183e3812; }
header nav a[href='#batch']:not([aria-current]) { border-color: #cfbd9a; color: var(--navy); }
.brand-block { position: relative; padding: 48px 0 36px; }
.brand-block[hidden] { display: none !important; }
.hero-h1 { font: 500 clamp(34px, 4.9vw, 55px)/1.09 var(--display); letter-spacing: -.045em; margin: 0 0 23px; max-width: 860px; color: var(--navy); text-wrap: balance; }
.hero-sub { max-width: 720px; margin: 0 0 23px; color: #4d5c54; font-size: 16px; line-height: 1.7; }
.tagline { display: block; max-width: 780px; font-size: 13px; font-weight: 550; color: var(--navy-soft); padding-left: 14px; border-left: 2px solid var(--accent); margin-bottom: 12px; }
.tag { display: block; color: var(--muted); font-size: 11px; letter-spacing: .035em; }
main { max-width: 1008px; margin: 40px auto 0; padding: 0 24px 80px; }
main:focus { outline: none; }
h2, h3, h4, p { overflow-wrap: anywhere; }
h2 { font: 500 34px/1.2 var(--display); letter-spacing: -.035em; margin: 0 0 16px; color: var(--navy); }
h2 small { display: block; margin-top: 11px; font: 400 13px/1.7 var(--body); letter-spacing: 0; color: var(--muted); }
main > h3 { font: 500 23px/1.3 var(--display); color: var(--navy); margin: 34px 0 18px; letter-spacing: -.02em; }
h3 { line-height: 1.4; }
p { margin: 0 0 16px; }
.meta { color: var(--muted); font-size: 13px; line-height: 1.65; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 27px 30px; margin: 16px 0; box-shadow: var(--shadow); }
.card h3 { font-size: 19px; margin: 0 0 12px; color: var(--navy); font-weight: 600; letter-spacing: -.025em; }
.card h3 a { text-decoration: none; color: inherit; }
.card h3 a:hover { text-decoration: underline; text-decoration-color: #b59558; text-underline-offset: 5px; }
.match-card { position: relative; transition: border-color .18s, box-shadow .18s; }
.match-card:hover { border-color: #aebeb1; box-shadow: 0 8px 30px #263c2c0d; }
.award-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 12px; }
.award-heading h3 { font: 500 25px/1.24 var(--display); margin: 0; letter-spacing: -.025em; }
.award-amount { flex: 0 1 38%; font-size: 14px; font-weight: 650; color: var(--navy); text-align: right; padding-left: 18px; border-left: 1px solid var(--line); line-height: 1.5; }
.award-meta { font-size: 12px; margin-bottom: 12px; }
.reason { font-size: 13px; line-height: 1.7; margin: 5px 0; }
.ok { color: var(--ok); }
.warn, .maybe { color: var(--warn); }
.miss { color: var(--miss); }
label, legend { font-size: 13px; font-weight: 600; color: var(--ink); }
label { display: block; margin: 14px 0 7px; }
input, select, textarea { width: 100%; max-width: 420px; min-height: 46px; padding: 11px 13px; border: 1px solid #b7c0b6; border-radius: 9px; font: 400 14px/1.5 var(--body); background: #fffefa; color: var(--ink); box-shadow: 0 1px 2px #263c2c03; transition: border-color .15s, box-shadow .15s; }
input:hover, select:hover, textarea:hover { border-color: #6d8675; }
input:focus, select:focus, textarea:focus { border-color: var(--navy-soft); }
select { cursor: pointer; padding-right: 30px; }
textarea { display: block; resize: vertical; min-height: 120px; }
input[type='checkbox'] { width: 17px; height: 17px; min-height: 17px; margin: 3px 0 0; accent-color: var(--navy); box-shadow: none; border-radius: 4px; flex: none; }
button, .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; background: var(--navy); color: #fffefa; border: 1px solid var(--navy); border-radius: 9px; padding: 11px 19px; margin: 8px 6px 0 0; cursor: pointer; text-decoration: none; font: 600 13px/1.5 var(--body); transition: background .15s, box-shadow .15s; text-align: center; }
button:hover, .btn:hover { background: #28594e; border-color: #28594e; color: #fffefa; box-shadow: 0 3px 9px #183e3817; }
button:disabled { background: #e9eae2; color: #68716a; border-color: #d7dbd0; cursor: not-allowed; box-shadow: none; }
button.alt, .btn.alt { background: #edf1e9; border-color: #d9e0d2; color: var(--navy); }
button.alt:hover, .btn.alt:hover { background: #e2e9dd; border-color: #b7c4b1; }
button.ghost, .btn.ghost { background: transparent; color: var(--navy); border-color: #9bad9f; }
button.ghost:hover, .btn.ghost:hover { background: #edf1e9; }
.tip { margin: 22px 0; background: #f7f1e3; padding: 20px 22px; border: 1px solid #e6d9bd; border-left: 3px solid var(--accent); border-radius: 4px 12px 12px 4px; }
.tip h3 { margin-top: 0; }
.tip p:last-child { margin-bottom: 0; }
.guide-card-tip { margin-top: 17px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: #59654f; line-height: 1.7; }
.guide-card-tip b { font-weight: 650; color: var(--navy); }
/* Policy labels stay semantic, calm and readable — never an upgrade gate. */
.money-kept { margin-top: 17px; padding: 14px 16px; border-radius: 10px; font-size: 13px; line-height: 1.65; border: 1px solid transparent; }
.money-kept b { margin-right: 4px; }
.money-kept.keep { background: #edf5ee; border-color: #d3e4d4; color: #245339; }
.money-kept.displace { background: #f9f2e6; border-color: #eadcc1; color: #775021; }
.money-kept.cap { background: #f2f0f7; border-color: #ddd8e8; color: #56456d; }
.money-kept.ask { background: #eef2ee; border-color: #d9e0d7; color: var(--ask); }
.money-kept .meta { color: inherit; }
.money-kept-disc { border-top: 1px solid #7d6b4726; margin-top: 8px; padding-top: 8px; font-size: 12px; }
.money-kept-detail ul { padding-left: 20px; margin: 12px 0 18px; }
.money-kept-detail li { padding: 4px 0; }
.due-badge { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #d9dfd5; border-radius: 6px; background: #eff2ed; color: #52634f; font-size: 11px; font-weight: 650; line-height: 1.5; padding: 5px 9px; margin: 4px 6px 7px 0; font-variant-numeric: tabular-nums; }
.due-badge.urgent { background: #fbeee9; border-color: #eccbc1; color: var(--urgent); }
.due-badge.soon { background: #faf2e0; border-color: #e9d9b4; color: var(--soon); }
.due-badge.okish { background: #edf5ee; border-color: #d3e4d4; color: var(--keep); }
.due-badge.past { background: #f0f0ea; border-color: #dcded4; color: #696e64; text-decoration: line-through; }
.card.urgent-card { border-color: #dbb4a3; }
.card.priority-row { border-left: 3px solid #ad7156; padding-left: 28px; }
.proof-note { font-size: 13px; margin: 17px 0 12px; padding: 17px 18px; background: #f1f4ee; color: #364f40; border: 1px solid #dce4d5; border-radius: 10px; }
.proof-note b { color: #294d3b; }
.proof-note p { margin: 10px 0; }
.proof-note p:last-child { margin-bottom: 0; }
.proof-note .meta { color: #53634f; }
.proof-check { padding-left: 21px; margin: 13px 0; color: #435a46; }
.proof-check li { padding: 3px 0 3px 4px; }
.tracker-card > .meta { max-width: 780px; margin-bottom: 10px; }
.tracker-card > a { font-size: 13px; display: inline-block; margin: 7px 20px 7px 0; }
.tracker-card .st { max-width: 185px; margin-top: 10px; }
.sort-toolbar { display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding: 16px 0; margin: 20px 0 8px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sort-toolbar label { margin: 0; color: var(--muted); }
.sort-toolbar select { width: 185px; min-height: 42px; padding-top: 9px; padding-bottom: 9px; }
/* Profile: a deliberate, labeled intake rather than a worksheet. */
.trust-spine { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; list-style: none; margin: 25px 0 30px; padding: 0; counter-reset: trust; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-spine:empty { display: none; }
.trust-spine li { position: relative; counter-increment: trust; font-size: 12px; line-height: 1.7; color: #52614e; padding: 22px 22px 22px 0; }
.trust-spine li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.trust-spine li::before { content: '0' counter(trust); display: block; margin-bottom: 8px; color: #8a6024; font-size: 11px; font-weight: 650; letter-spacing: .08em; }
.profile-form { padding: 30px; border: 1px solid var(--line); background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px 28px; }
.field label { margin-top: 0; }
.field input, .field select { max-width: none; }
.field-wide { grid-column: 1 / -1; }
.college-fieldset { margin: 30px 0 0; padding: 21px 0 0; border: 0; border-top: 1px solid var(--line); min-width: 0; }
.college-fieldset legend { padding: 0 12px 0 0; }
.colleges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; }
.chk { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; line-height: 1.65; }
.colleges .chk { margin: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; background: #fafbf6; }
.colleges .chk:has(input:checked) { border-color: #a9bea9; background: #eef4e9; color: var(--navy); }
.form-actions { padding-top: 23px; margin-top: 24px; border-top: 1px solid var(--line); text-align: right; }
.form-actions button { margin: 0; }
.award-checklist { margin: 25px 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.award-checklist label { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; font-weight: 400; }
dl { display: grid; grid-template-columns: minmax(120px, .6fr) minmax(0, 2fr); column-gap: 22px; margin: 20px 0; font-size: 13px; }
dl dt, dl dd { padding: 10px 0; border-bottom: 1px solid #e5e7de; overflow-wrap: anywhere; }
dl dt { color: #56634f; font-weight: 600; }
dl dd { margin: 0; color: var(--ink); }
/* ScholarPacket paid: quiet members-club depth, no price tease or sales theatrics. */
.batch-hero { position: relative; overflow: hidden; background: radial-gradient(ellipse at top right, #44654b90, transparent 58%), var(--navy); color: #f8f5eb; padding: 34px 34px 28px; border: 1px solid #294e42; border-radius: 20px; margin: 0 0 24px; box-shadow: 0 12px 32px #183e3814; }
.batch-hero::before { content: ''; position: absolute; top: 0; left: 34px; width: 50px; height: 3px; background: var(--gold); border-radius: 0 0 2px 2px; }
.batch-hero h2 { font-size: 40px; color: #fff8e9; margin: 0 0 12px; }
.batch-hero > p { max-width: 750px; font-size: 14px; color: #e3ebdf; line-height: 1.75; margin: 0 0 12px; }
.batch-hero > .meta { font-size: 12px; color: #edcf91; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 25px 0 0; padding-top: 23px; border-top: 1px solid #b6c7ad40; counter-reset: step; }
.step-pill { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; counter-increment: step; padding: 11px 12px; border-radius: 8px; background: #ffffff0a; border: 1px solid #a7be9b42; color: #e2eade; font-size: 11px; font-weight: 600; line-height: 1.6; }
.step-pill::before { content: counter(step, decimal-leading-zero); font-variant-numeric: tabular-nums; font-weight: 500; margin-right: 3px; }
.step-pill small { display: block; width: 100%; margin-left: 24px; font-size: 10px; font-weight: 400; }
.step-pill.on { background: var(--gold); border-color: var(--gold); color: #203c2d; }
.step-pill.done { background: #ffffff15; }
.batch-panel { padding: 30px; border: 1px solid var(--line); background: var(--card); border-radius: var(--radius); margin: 20px 0; box-shadow: var(--shadow); }
.batch-panel > h3 { font: 500 28px/1.3 var(--display); letter-spacing: -.025em; color: var(--navy); margin: 0 0 16px; }
.batch-panel > p { color: #53624f; font-size: 14px; }
.story-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 24px 0; }
.story-card { padding: 22px; border-radius: 12px; border: 1px solid #dee3d6; background: #f8f9f2; }
.story-card h4 { font: 500 22px/1.3 var(--display); color: var(--navy); letter-spacing: -.02em; margin: 0 0 10px; }
.story-card p { color: #52614e; font-size: 13px; line-height: 1.75; margin: 0 0 10px; }
.story-card .meta { color: #65715c; font-size: 12px; }
.story-card textarea { margin-top: 16px; max-width: none; }
.packet-row { padding: 24px; border: 1px solid var(--line); border-radius: 12px; margin: 22px 0; background: #fffefa; }
.packet-row.etf-highlight { background: linear-gradient(130deg, #f0f5eb, #fffefa 85%); border-color: #afc2a4; box-shadow: inset 3px 0 #63825c; }
.packet-row .row-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.packet-row h3 { color: var(--navy); font-size: 17px; font-weight: 600; line-height: 1.5; max-width: 70%; }
.etf-chip { display: inline-flex; align-items: center; padding: 5px 9px; border: 1px solid #c9d7be; border-radius: 5px; background: #e7eedf; color: #365532; font-size: 10px; font-weight: 650; letter-spacing: .035em; text-transform: uppercase; }
.auth-box { padding: 22px; border: 1px solid #c4d4bc; background: #f2f6ed; border-radius: 12px; margin-bottom: 18px; }
.auth-box .chk { padding: 9px 0; font-weight: 500; }
.preview-banner { padding: 14px 16px; border: 1px solid #dfcaa0; background: #faf4e6; border-radius: 9px; font-size: 13px; color: #765320; margin: 18px 0; }
.section-label { font-size: 11px; font-weight: 650; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 25px 0 10px; }
details.card { padding-block: 20px; box-shadow: 0 2px 8px #263c2c03; }
summary { font-size: 13px; font-weight: 600; cursor: pointer; color: var(--navy); }
summary::marker { color: #8a6024; }
details[open] summary { margin-bottom: 20px; }
pre { font: 400 13px/1.8 var(--body); color: #52614e; overflow-wrap: anywhere; }
/* Keep the same hierarchy on small screens, without horizontal scrolling. */
@media (min-width: 1100px) { .hero-h1 { max-width: 830px; } }
@media (max-width: 800px) {
  .masthead { flex-wrap: wrap; gap: 14px; padding: 22px 0 18px; }
  header nav { width: 100%; gap: 5px; }
  header nav a { flex-grow: 1; text-align: center; }
  .brand-block { padding-top: 33px; }
  .hero-h1 { max-width: 720px; }
  .hero-sub { font-size: 15px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .colleges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .header-inner { width: calc(100% - 36px); }
  .masthead { padding: 20px 0 16px; }
  #brand-name { font-size: 25px; }
  header nav a { padding: 9px 8px; font-size: 11px; }
  .brand-block { padding: 30px 0 28px; }
  .hero-h1 { font-size: clamp(32px, 8.5vw, 44px); line-height: 1.13; letter-spacing: -.04em; margin-bottom: 19px; }
  .hero-sub { font-size: 14px; line-height: 1.75; margin-bottom: 18px; }
  .tagline { font-size: 12px; }
  .tag { font-size: 10px; }
  main { margin-top: 28px; padding: 0 16px 56px; }
  h2 { font-size: 30px; }
  h2 small { font-size: 12px; }
  .card, .batch-panel, .profile-form { padding: 22px 19px; border-radius: 14px; }
  .card.priority-row { padding-left: 17px; }
  .award-heading { display: block; margin-bottom: 11px; }
  .award-heading h3 { font-size: 24px; margin-bottom: 11px; }
  .award-amount { display: block; text-align: left; border-left: 0; padding-left: 0; font-size: 13px; }
  .money-kept { padding: 12px; }
  .proof-note { padding: 14px; }
  .due-badge { font-size: 10px; }
  .trust-spine { display: block; margin: 20px 0 24px; }
  .trust-spine li, .trust-spine li + li { padding: 14px 0 14px 33px; border-left: 0; }
  .trust-spine li + li { border-top: 1px solid var(--line); }
  .trust-spine li::before { position: absolute; left: 0; top: 16px; }
  .profile-grid { grid-template-columns: 1fr; gap: 18px; }
  .colleges { gap: 8px; }
  .colleges .chk { padding: 10px 9px; font-size: 12px; gap: 7px; }
  .college-fieldset { margin-top: 24px; padding-top: 17px; }
  .form-actions button { width: 100%; }
  .story-grid { grid-template-columns: 1fr; gap: 12px; }
  .story-card { padding: 18px; }
  .batch-hero { padding: 28px 21px 23px; border-radius: 15px; }
  .batch-hero::before { left: 21px; }
  .batch-hero h2 { font-size: 34px; }
  .batch-hero > p { font-size: 13px; }
  .batch-panel > h3 { font-size: 25px; }
  .step-pill { font-size: 10px; padding: 9px; gap: 3px; }
  .step-pill small { font-size: 9px; margin-left: 19px; }
  .packet-row { padding: 19px; }
  .packet-row h3 { max-width: 100%; }
  dl { grid-template-columns: minmax(95px, .7fr) minmax(0, 1.5fr); gap: 0 12px; font-size: 12px; }
  .tracker-card .st { display: block; max-width: none; }
  .sort-toolbar { justify-content: space-between; }
  .tip { padding: 17px; }
  button, .btn { padding-inline: 15px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
@media (forced-colors: active) { .brand-mark { color: CanvasText; } .step-pill.on, header nav a[aria-current] { outline: 2px solid Highlight; } }

/* Reconciled route layout hooks: one visual system, no Inter override sheet. */
.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 23px; }
.page-head h2 { margin-bottom: 0; }
.page-free { flex-shrink: 0; padding: 6px 11px; margin-top: 5px; background: #edf3e8; border: 1px solid #d7e2ce; border-radius: 999px; font-size: 11px; font-weight: 600; color: #3c5c32; }
.profile-layout { display: block; }
.profile-aside { min-width: 0; }
#pf { padding: 30px; border: 1px solid var(--line); background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.profile-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px 28px; }
.profile-fields .field { min-width: 0; }
.college-field { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.college-field > label { margin: 0 0 14px; }
.profile-actions { padding-top: 23px; margin-top: 24px; border-top: 1px solid var(--line); text-align: right; }
.profile-actions button { margin: 0; }
.matches-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 26px 0; }
.matches-toolbar p { margin: 0; max-width: 640px; }
.sort-control { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.sort-control label { margin: 0; color: var(--muted); }
.sort-control select { width: 175px; min-height: 42px; padding-block: 9px; }
.match-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.match-grid > .card { margin: 0; min-width: 0; }
.site-footer { border-top: 1px solid var(--line); background: #fbf9f3; }
.footer-inner { width: min(100% - 48px, 960px); margin-inline: auto; padding-block: 25px 30px; display: flex; align-items: center; gap: 24px; }
.footer-brand { color: var(--navy); font: 500 20px/1.3 var(--display); text-decoration: none; letter-spacing: -.5px; }
.site-footer .tagline { margin: 0; font-size: 12px; }
@media (max-width: 800px) {
  .matches-toolbar { flex-direction: column; align-items: stretch; gap: 15px; }
  .sort-control { justify-content: space-between; }
}
@media (max-width: 600px) {
  .page-head { gap: 10px; flex-wrap: wrap; }
  #pf { padding: 22px 19px; border-radius: 14px; }
  .profile-fields { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .profile-actions button { width: 100%; }
  .footer-inner { width: calc(100% - 36px); flex-direction: column; align-items: flex-start; gap: 14px; }
  input, select, textarea { font-size: 16px; }
}

/* Guide soft-launch surfaces — preserve premium-3 typography and route-only hero. */
.launch-beta { margin: 13px 0; font-size: 12px; color: var(--navy); }
.launch-beta summary { font-size: 12px; line-height: 1.6; }
.launch-beta summary span { color: var(--muted); margin-left: 8px; font-weight: 400; }
.launch-beta p { margin: 12px 0 18px; max-width: 830px; }
.launch-section { margin: 0 0 36px; }
.profile-layout + .launch-section { margin-top: 46px; padding-top: 32px; border-top: 1px solid var(--line); }
.launch-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding: 0; gap: 18px; list-style: none; }
.launch-steps .card { margin: 0; padding: 24px; }
.launch-steps p { margin: 0; font-size: 13px; }
.launch-step-number { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--soft); color: var(--navy); margin-bottom: 16px; font-weight: 650; }
.launch-comparison { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.launch-pass { border-color: #caba97; }
.launch-comparison li, .launch-footer li { margin: 7px 0; }
.launch-legal-gate { padding: 13px 15px; border-left: 3px solid var(--accent); background: #f7f1e3; font-size: 13px; }
.draft-badge { display: inline-block; color: var(--warn); font-size: 11px; font-weight: 700; letter-spacing: .045em; margin-right: 5px; }
.launch-faq details { margin: 12px 0; padding: 21px 24px; }
.launch-faq p { margin: 16px 0 0; }
.launch-footer { width: min(100% - 48px,960px); margin: 0 auto; padding: 0 0 28px; font-size: 13px; }
.launch-footer details { padding: 15px 0; border-top: 1px solid var(--line); }
.launch-footer details p { margin-top: 14px; }
.launch-footer > p { margin: 14px 0 0; }
.launch-report textarea { max-width: 100%; }
.launch-report output { display: block; margin-top: 12px; color: var(--muted); font-size: 13px; }
.launch-state h2 { font-size: 25px; }
.launch-state p { font-size: 13px; }
.launch-offline { max-width: 1008px; margin: 16px auto; padding: 0 24px; }
.launch-offline[hidden] { display: none !important; }
.launch-pass-link { color: #fff4d9; display: inline-block; margin: 0 0 15px; font-size: 13px; }
.launch-pass-link:hover { color: white; }
@media (min-width: 761px) { .masthead { flex-wrap: wrap; gap: 6px; padding: 20px 0 14px; } header nav { gap: 3px; } header nav a { padding: 9px 11px; } }
@media (max-width: 760px) { .launch-steps, .launch-comparison { grid-template-columns: 1fr; gap: 12px; } .launch-comparison .card { margin: 0; } .launch-comparison { margin: 20px 0; } }
@media (max-width: 480px) { .launch-beta summary span { display: block; margin-left: 17px; } }

/* Factual Guide proof strip: live seed count, public sources, no endorsements. */
.launch-proof { padding: 8px 0 23px; }
.launch-proof[hidden] { display: none !important; }
.launch-proof h2 { font-size: 22px; margin: 0 0 18px; }
.proof-items { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; list-style: none; padding: 0; margin: 0 0 20px; }
.proof-items li { border-top: 1px solid #c7cfc0; padding-top: 14px; font-size: 12px; line-height: 1.65; }
.proof-items strong { display: block; font: 500 24px/1.25 var(--display); color: var(--navy); margin-bottom: 6px; }
.proof-items span { color: var(--muted); }
.launch-proof .meta { font-size: 11px; margin-bottom: 9px; }
@media (max-width: 760px) { .proof-items { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; } }
@media (max-width: 380px) { .proof-items { grid-template-columns: 1fr; } }


/* UI polish 2026-11-05 — free EdTech landing patterns (hero CTA, trust chips, sticky mobile CTA) */
.hero-actions { display:flex; flex-wrap:wrap; gap:12px; align-items:center; margin:0 0 16px; }
.hero-actions .btn, a.btn { display:inline-flex; align-items:center; justify-content:center; text-decoration:none; font:600 13px/1.2 var(--body); border-radius:999px; padding:12px 20px; min-height:44px; border:1px solid transparent; cursor:pointer; }
.hero-primary { background:var(--navy); color:#fffefa; box-shadow:0 4px 14px #183e3822; }
.hero-primary:hover { background:#102e28; color:#fff; }
.hero-secondary, .btn.alt { background:#fffefa; color:var(--navy); border-color:#c9d2c4; }
.hero-secondary:hover, .btn.alt:hover { background:#f0f3ee; color:#102e28; }
.hero-trust { display:flex; align-items:center; gap:8px; margin:0 0 10px; font-size:12px; color:var(--muted); }
.hero-trust-dot { width:7px; height:7px; border-radius:50%; background:#4a8f62; box-shadow:0 0 0 3px #4a8f6222; flex:none; }
.brand-block .tag { opacity:.85; }

.site-header { position:relative; z-index:12; background:radial-gradient(ellipse at 95% 12%, #eddfbf70, transparent 44%), #fbf9f3; }
.masthead { position:sticky; top:0; z-index:13; min-height:72px; backdrop-filter:saturate(1.1) blur(10px); background:#fbf9f3f2; border-bottom:1px solid #183e381a; margin-bottom:0; }
.header-inner > .masthead { border-bottom:1px solid #183e381a; }

.proof-items { gap:14px; }
.proof-chip { background:#fffefa; border:1px solid var(--line); border-radius:14px; padding:16px 16px 14px !important; border-top:1px solid var(--line) !important; box-shadow:var(--shadow); }
.proof-chip strong { font-size:22px !important; }

.launch-pass { position:relative; box-shadow:0 10px 28px #183e380c; }
.launch-pass .due-badge { margin-bottom:12px; display:inline-flex; }
.payments-note { margin:16px 0 0; padding-top:14px; border-top:1px solid #efe6d2; color:#6a5a3a; font-size:12px; line-height:1.65; }

.match-card .award-heading h3 { font-size:22px; }
.match-card .award-amount { font-size:15px; color:var(--ok); }
.due-badge { border-radius:999px; }

.mobile-cta { display:none !important; }
@media (max-width:760px) {
  .site-header { backdrop-filter:blur(8px); }
  /* nav handled by .site-nav drawer (ui-16) */
  .hero-actions { gap:10px; }
  .hero-actions .btn { width:100%; }
  .header-signup { display:none; }
  .hero-actions .btn.hero-secondary { width:auto; min-height:44px; }
  .hero-actions { flex-direction:column; align-items:stretch; }
  .hero-actions .btn.hero-primary { width:100%; }
  .proof-items { grid-template-columns:1fr 1fr; }
}
@media (max-width:380px) {
  .proof-items { grid-template-columns:1fr; }
}


/* Premium college picker + profile gate */
.profile-gate { padding:36px 40px; max-width:720px; }
.profile-gate .eyebrow { color:var(--accent); font-size:11px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; margin:0 0 12px; }
.profile-gate h3 { font:500 28px/1.2 var(--display); letter-spacing:-.03em; margin:0 0 14px; color:var(--navy); }
.profile-gate > p { font-size:15px; line-height:1.7; color:#4d5c54; }
.gate-bullets { margin:18px 0 24px; padding:0; list-style:none; }
.gate-bullets li { position:relative; padding:10px 0 10px 28px; border-top:1px solid var(--line); font-size:14px; color:var(--ink); }
.gate-bullets li:before { content:""; position:absolute; left:0; top:16px; width:10px; height:10px; border-radius:50%; background:var(--navy); box-shadow:0 0 0 3px #183e3814; }
.college-picker { margin-top:28px; padding-top:22px; border-top:1px solid var(--line); }
.college-picker-head label { font:600 15px/1.3 var(--body); color:var(--navy); margin:0 0 6px; display:block; }
.college-picker-head .meta { margin:0 0 14px; }
.college-search-shell { position:relative; }
#college-search { width:100%; max-width:none; min-height:52px; padding:14px 16px; border-radius:14px; border:1px solid #b7c0b6; background:#fffefa; font-size:15px; box-shadow:0 1px 2px #263c2c06; }
#college-search:focus { border-color:var(--navy-soft); box-shadow:0 0 0 4px #28594e18; outline:none; }
.college-suggest { position:absolute; z-index:8; left:0; right:0; top:calc(100% + 6px); margin:0; padding:8px; list-style:none; background:#fffefa; border:1px solid var(--line); border-radius:14px; box-shadow:0 18px 40px #183e3820; max-height:320px; overflow:auto; }
.college-suggest li { display:flex; flex-direction:row; align-items:center; gap:12px; padding:10px 12px; border-radius:10px; cursor:pointer; }
.college-suggest li:hover, .college-suggest li[aria-selected="true"] { background:#eef4e9; }
.suggest-name { font-weight:600; color:var(--navy); font-size:14px; }
.suggest-meta { font-size:12px; color:var(--muted); }
.college-chips { display:flex; flex-direction:column; gap:10px; list-style:none; margin:16px 0 10px; padding:0; min-height:44px; }
.college-chip { display:inline-flex; align-items:center; gap:10px; border:1px solid #c9d2c4; background:#f4f7f0; color:var(--navy); border-radius:999px; padding:10px 14px; font:550 13px/1.2 var(--body); cursor:pointer; }
.college-chip:hover { background:#e7eee2; border-color:#a9bea9; }
.chip-x { font-size:16px; line-height:1; opacity:.55; }
.college-empty { list-style:none; padding:8px 2px; }
.college-scope-tag { margin:0; font-size:11px; color:var(--muted); letter-spacing:.02em; }
.college-scope-tag span { color:var(--navy-soft); font-weight:600; }
.profile-actions { display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
@media (max-width:760px){ .profile-gate { padding:28px 22px; } .profile-gate h3 { font-size:24px; } }


/* Marketing header auth */
.masthead { gap: 18px; }
.header-auth { display:flex; align-items:center; gap:10px; flex-shrink:0; margin-left: 8px; }
.header-auth .btn { min-height:40px; padding:10px 16px; font-size:13px; }
.btn.ghost { background:transparent; color:var(--navy); border:1px solid transparent; text-decoration:none; display:inline-flex; align-items:center; border-radius:999px; font:600 13px/1.2 var(--body); }
.btn.ghost:hover { background:#183e3809; }
.header-signup { text-decoration:none; }
.auth-panel { max-width:560px; margin:12px auto; padding:40px 42px; }
.auth-panel .eyebrow { color:var(--accent); font-size:11px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; margin:0 0 12px; }
.auth-panel h2 { font:500 32px/1.15 var(--display); margin:0 0 14px; }
.clerk-auth-mount { margin-top: 22px; }
@media (max-width:760px){
  .header-auth { width:100%; justify-content:flex-end; margin:0 0 8px; }
  .masthead { align-items:flex-start; }
  .auth-panel { padding:28px 22px; }
}


/* College logos + expandable fact cards */
.college-logo-wrap { display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; border-radius:10px; overflow:hidden; background:#eef4e9; }
.college-logo { display:block; width:100%; height:100%; object-fit:contain; background:#fffefa; border-radius:10px; }
.college-mono { display:inline-flex; align-items:center; justify-content:center; border-radius:999px; background:var(--navy); color:#f4f7f0; font:700 11px/1 var(--body); letter-spacing:.02em; flex-shrink:0; }
.college-suggest li { display:flex; flex-direction:row; align-items:center; gap:12px; padding:10px 12px; border-radius:10px; cursor:pointer; }
.college-suggest .suggest-body { display:flex; flex-direction:column; gap:2px; min-width:0; flex:1; }
.suggest-learn { flex-shrink:0; border:1px solid #c9d2c4; background:#fffefa; color:var(--navy-soft); border-radius:999px; padding:6px 10px; font:600 11px/1 var(--body); cursor:pointer; }
.suggest-learn:hover { background:#eef4e9; border-color:#a9bea9; }
.college-chips { display:flex; flex-direction:column; gap:10px; list-style:none; margin:16px 0 10px; padding:0; min-height:44px; }
.college-selected-item { border:1px solid #c9d2c4; background:#f7faf3; border-radius:16px; overflow:hidden; }
.college-selected-item.is-open { border-color:#a9bea9; background:#f2f6ec; box-shadow:0 10px 28px #183e3810; }
.college-selected-row { display:flex; align-items:stretch; gap:0; }
.college-chip.college-expand { flex:1; display:flex; align-items:center; gap:12px; border:0; background:transparent; color:var(--navy); border-radius:0; padding:12px 14px; font:550 13px/1.2 var(--body); cursor:pointer; text-align:left; min-width:0; }
.college-chip.college-expand:hover { background:#e7eee2; }
.chip-text { display:flex; flex-direction:column; gap:2px; min-width:0; flex:1; }
.chip-name { font-weight:650; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.chip-meta { font-size:11px; color:var(--muted); font-weight:500; }
.chip-chevron { width:8px; height:8px; border-right:2px solid #6a7a6c; border-bottom:2px solid #6a7a6c; transform:rotate(45deg); margin:0 4px 4px; transition:transform .18s ease; flex-shrink:0; }
.college-selected-item.is-open .chip-chevron { transform:rotate(-135deg); margin-bottom:0; margin-top:4px; }
.chip-remove { border:0; border-left:1px solid #d5ddd0; background:transparent; color:var(--navy); width:46px; cursor:pointer; font-size:20px; line-height:1; opacity:.55; }
.chip-remove:hover { background:#e7eee2; opacity:1; }
.college-fact { padding:0 14px 14px; border-top:1px solid #dfe6d8; }
.college-fact[hidden] { display:none !important; }
.college-fact-top { display:flex; gap:14px; align-items:center; padding:14px 0 10px; }
.college-fact-name { margin:0; font:650 15px/1.3 var(--body); color:var(--navy); }
.college-fact-short { margin:4px 0 0; font-size:12px; color:var(--muted); }
.college-fact-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:0; }
.college-fact-grid dt { font-size:10px; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); font-weight:700; margin:0 0 4px; }
.college-fact-grid dd { margin:0; font-size:13px; color:var(--ink); font-weight:550; }
.college-approx { font-size:10px; color:var(--muted); font-weight:500; letter-spacing:.02em; }
.college-fact-blurb { margin:12px 0 0; font-size:13px; line-height:1.55; color:#4d5c54; }
.college-fact-links { display:flex; flex-wrap:wrap; gap:10px; margin-top:12px; }
.college-fact-link { font:600 13px/1.2 var(--body); color:var(--navy-soft); text-decoration:underline; text-underline-offset:3px; }
.college-preview { margin-top:10px; border:1px solid var(--line); border-radius:16px; background:#fffefa; box-shadow:0 12px 28px #183e3812; padding:4px 4px 12px; }
.college-preview .college-fact { border-top:0; }
.college-preview-actions { display:flex; gap:8px; padding:0 14px; }
@media (max-width:640px){
  .college-fact-grid { grid-template-columns:1fr; }
  .suggest-learn { display:none; }
}


/* UI polish ui-12 — photographic hero + light campus strip */
.header-inner { width: min(100% - 48px, 1080px); }
.brand-block { padding: 40px 0 28px; }
.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 36px 40px;
  align-items: center;
}
.hero-copy { min-width: 0; }
.hero-h1 { max-width: 34ch; margin-bottom: 18px; }
.hero-sub { max-width: 40ch; margin-bottom: 20px; }
.hero-photo {
  margin: 0;
  position: relative;
}
.hero-photo picture,
.photo-strip-item picture { display: block; }
.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 40%;
  border-radius: 18px;
  box-shadow: 0 4px 8px #183e3808, 0 18px 40px #183e3814;
  background: #e8eee4;
}
.photo-strip {
  display: grid;
  grid-template-columns: 1.15fr 0.78fr 1.15fr;
  gap: 14px;
  margin: 28px 0 6px;
}
.photo-strip-item {
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 3px 6px #183e3806, 0 12px 28px #183e380c;
  background: #e8eee4;
}
.photo-strip-item img {
  display: block;
  width: 100%;
  height: 148px;
  object-fit: cover;
  object-position: center;
}
.photo-strip-portrait img { object-position: center 30%; }
@media (min-width: 1100px) {
  .hero-h1 { max-width: 34ch; }
  .photo-strip-item img { height: 168px; }
}
@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .hero-photo { order: -1; max-width: 560px; }
  .hero-photo img { aspect-ratio: 16 / 10; border-radius: 16px; }
  .photo-strip { grid-template-columns: 1fr 0.72fr 1fr; gap: 10px; margin-top: 22px; }
  .photo-strip-item img { height: 120px; border-radius: 14px; }
}
@media (max-width: 760px) {
  .brand-block { padding: 24px 0 22px; }
  .hero-h1 { margin-bottom: 16px; }
  .hero-sub { margin-bottom: 16px; }
  .hero-photo { max-width: none; }
  .hero-photo img { aspect-ratio: 3 / 2; }
  .photo-strip { grid-template-columns: 1fr 1fr; }
  .photo-strip-portrait { display: none; }
  .photo-strip-item img { height: 110px; }
}
@media (max-width: 480px) {
  .header-inner { width: min(100% - 32px, 1080px); }
  .photo-strip { gap: 8px; }
  .photo-strip-item img { height: 96px; border-radius: 12px; }
}


/* Mobile-friendly masthead (ui-16) */
.masthead { position: relative; }
.masthead-actions { display: none; align-items: center; gap: 8px; margin-left: auto; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin: 0; padding: 0;
  border: 1px solid #c9d2c4; border-radius: 12px; background: #fffefa;
  color: var(--navy); cursor: pointer; box-shadow: none;
}
.nav-toggle:hover { background: #edf1e9; border-color: #a9bea9; box-shadow: none; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 1px;
  position: relative; transition: transform .2s, opacity .2s;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }
.site-nav { display: contents; }
.site-nav[hidden] { display: contents; }
@media (max-width: 760px) {
  .masthead { flex-wrap: nowrap; align-items: center; gap: 12px; min-height: 64px; padding: 10px 0; }
  .masthead-actions { display: inline-flex; }
  .header-login-compact { display: inline-flex; min-height: 40px; padding: 8px 12px; font-size: 13px; margin: 0; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    z-index: 20; padding: 12px 0 16px; background: #fbf9f3f7;
    border-bottom: 1px solid #183e381a; backdrop-filter: blur(10px);
    box-shadow: 0 16px 28px #183e3814;
  }
  .site-nav[hidden] { display: none !important; }
  .masthead.nav-open .site-nav, .site-nav:not([hidden]) { display: block; }
  .site-nav nav {
    display: flex; flex-direction: column; width: 100%; gap: 4px;
    overflow: visible; flex-wrap: nowrap; padding: 0;
  }
  .site-nav nav a {
    width: 100%; text-align: left; padding: 14px 4px; font-size: 15px;
    border-radius: 10px; flex-grow: 0;
  }
  .site-nav .header-auth {
    width: 100%; justify-content: stretch; margin: 10px 0 0; gap: 8px;
  }
  .site-nav .header-auth .btn { flex: 1; margin: 0; }
  .site-nav .header-signup { display: inline-flex !important; }
  /* quiet chrome: don't force auth row full-width outside drawer */
  .header-auth { width: auto; }
}
@media (min-width: 761px) {
  .masthead-actions { display: none !important; }
  .site-nav { display: contents; }
  .site-nav[hidden] { display: contents; }
}



/* Scholarship teaser — calm horizontal name ticker */
.scholarship-teaser { overflow: hidden; padding-top: 26px; padding-bottom: 26px; }
.teaser-head { margin-bottom: 18px; max-width: 36rem; }
.teaser-head h3 { margin-bottom: 8px; }
.teaser-ticker {
  position: relative;
  overflow: hidden;
  margin: 0 -6px;
  padding: 14px 0;
  border-top: 1px solid #e6e9e0;
  border-bottom: 1px solid #e6e9e0;
  background: linear-gradient(90deg, #f7f8f3 0%, #fffefa 18%, #fffefa 82%, #f7f8f3 100%);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.teaser-ticker-track {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: nowrap; gap: 10px; width: max-content;
  animation: teaser-ticker 300s linear infinite;
}
.teaser-ticker:hover .teaser-ticker-track,
.teaser-ticker:focus-within .teaser-ticker-track { animation-play-state: paused; }
.teaser-ticker-track li {
  flex: 0 0 auto;
  pointer-events: none; user-select: none;
}
.teaser-ticker-track span {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fffefa;
  border: 1px solid #dde3d6;
  color: var(--navy);
  font: 550 13px/1.3 var(--body);
  letter-spacing: -0.01em;
  white-space: nowrap;
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.teaser-footnote { margin: 12px 0 0; font-size: 12px; }
.teaser-cta { margin-top: 16px; margin-bottom: 0; }
@keyframes teaser-ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .teaser-ticker-track { animation: none; flex-wrap: wrap; width: auto; max-height: 9.5rem; overflow: hidden; }
  .teaser-ticker { mask-image: none; -webkit-mask-image: none; }
}
@media (max-width: 760px) {
  .teaser-ticker-track span { max-width: 220px; font-size: 12px; padding: 9px 14px; }
}


/* Operator-final legal pages */
.legal-page { max-width: 720px; margin: 24px auto; }
.legal-page h1 { font: 600 28px/1.25 var(--display); color: var(--navy); margin: 0 0 18px; }
.legal-page h2 { font: 600 18px/1.35 var(--display); color: var(--navy); margin: 28px 0 10px; }
.legal-page h3 { font: 600 15px/1.4 var(--display); margin: 18px 0 8px; }
.legal-page .legal-body p { margin: 0 0 12px; font-size: 14px; line-height: 1.55; }
.legal-page .legal-body ul { margin: 0 0 14px; padding-left: 1.2em; }
.legal-page .legal-body li { margin: 6px 0; font-size: 14px; line-height: 1.5; }
.legal-nav { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); }
.footer-legal-static { width: min(100% - 48px, 960px); margin: 0 auto 8px; font-size: 12px; color: var(--muted); }
.footer-legal { line-height: 1.55; }


/* Due-soon: marketing Extra chip (E) + list rotating rail (F) */
.due-soon-extra { margin: 4px 0 8px; position: relative; max-width: 420px; }
.due-soon-extra[hidden] { display: none !important; }
.extra-chip {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid #e9d9b4; background: #faf2e0; color: var(--soon);
  border-radius: 999px; padding: 8px 14px 8px 12px;
  font: 650 12px/1.3 var(--body); letter-spacing: .01em;
  cursor: pointer; min-height: 36px;
  box-shadow: 0 1px 0 #fff8e8 inset;
}
.extra-chip:hover, .extra-chip:focus-visible {
  background: #f7ebcf; border-color: #dfc98f; outline: none;
}
.extra-chip[aria-expanded="true"] { background: #f3e4c0; }
.extra-chip-mark {
  display: inline-grid; place-items: center;
  width: 18px; height: 18px; border-radius: 50%;
  background: #e8d4a0; color: var(--navy); font-size: 10px; font-weight: 700;
  flex: none;
}
.extra-chip-caret { opacity: .55; font-size: 10px; margin-left: 2px; }
.extra-panel {
  margin-top: 10px; padding: 12px 14px; border-radius: 14px;
  border: 1px solid #e5dcc8; background: #fffdfa;
  box-shadow: 0 8px 24px #183e380c;
}
.extra-panel[hidden] { display: none !important; }
.extra-panel-label {
  margin: 0 0 8px; font-size: 11px; font-weight: 650;
  letter-spacing: .04em; text-transform: uppercase; color: #7a6a4a;
}
.extra-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.extra-list a, .extra-list button.extra-link {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  width: 100%; text-align: left; padding: 10px 12px; border-radius: 10px;
  border: 1px solid #ebe6da; background: #fbf9f3; color: var(--navy);
  text-decoration: none; font: 550 13px/1.35 var(--body); cursor: pointer;
  min-height: 44px;
}
.extra-list a:hover, .extra-list button.extra-link:hover,
.extra-list a:focus-visible, .extra-list button.extra-link:focus-visible {
  border-color: #e9d9b4; background: #faf2e0; outline: none;
}
.extra-list .extra-name { font-weight: 650; }
.extra-list .extra-date { flex: none; font-size: 12px; color: var(--soon); font-variant-numeric: tabular-nums; }

.due-soon-rail {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 16px; padding: 10px 14px; border-radius: 12px;
  border: 1px solid #e9d9b4; background: linear-gradient(180deg, #fbf6ea, #faf2e0);
  color: var(--soon); min-height: 44px;
}
.due-soon-rail[hidden] { display: none !important; }
.due-soon-rail-label {
  flex: none; font-size: 10px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: #7a6a4a; padding: 4px 8px;
  border-radius: 999px; background: #f3e4c0; border: 1px solid #e5d4a8;
}
.due-soon-rail-link {
  flex: 1; min-width: 0; color: var(--navy); text-decoration: none;
  font: 650 13px/1.35 var(--body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.due-soon-rail-link:hover, .due-soon-rail-link:focus-visible { color: var(--soon); outline: none; text-decoration: underline; text-underline-offset: 3px; }
.due-soon-rail-meta { flex: none; font-size: 12px; color: #8a7348; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
  .due-soon-extra { max-width: none; }
  .extra-chip { width: 100%; justify-content: center; }
  .due-soon-rail { flex-wrap: wrap; gap: 6px 10px; }
  .due-soon-rail-meta { width: 100%; padding-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .due-soon-rail { transition: none; }
}

.extra-list .extra-more { opacity: .72; font-style: italic; }
.extra-list .extra-more .extra-name { font-weight: 500; }
