/* G1 Drive — Clear Route. Service-first layout, adapted from GOV.UK principles.
   Original G1 identity; no government marks, proprietary fonts or affiliation. */
:root {
  --canvas: #ffffff;
  --paper: #ffffff;
  --ink: #0b0c0c;
  --muted: #484949;
  --line: #cecece;
  --brand: #1d70b8;
  --link: #1a65a6;
  --link-hover: #0f385c;
  --focus: #ffdd00;
  --green: #0f7a52;
  --green-soft: #f3f8f6;
  --coral: #0f7a52;
  --coral-dark: #0b5c3e;
  --coral-soft: #f3f8f6;
  --radius: 0;
  --display: Arial, Helvetica, sans-serif;
  --mono: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 19px;
}
body { background: white; }
body, button, input, select, textarea { font-family: Arial, Helvetica, sans-serif; }
h1, h2, h3 { font-family: Arial, Helvetica, sans-serif; letter-spacing: 0; font-weight: 700; line-height: 1.14; }
h1 { font-size: 48px; }
h2 { font-size: 27px; }
h3 { font-size: 21px; }
p { line-height: 1.45; }
a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--link-hover); text-decoration-thickness: 3px; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--focus); outline-offset: 0; box-shadow: 0 3px 0 var(--ink); }
a:focus-visible, summary:focus-visible, button.text-link:focus-visible { color: var(--ink); background: var(--focus); text-decoration: none; }
input[type="checkbox"] { width: 23px; height: 23px; accent-color: var(--green); flex: 0 0 auto; }
.main-shell { margin-left: 0; }
.sidebar, .topbar { display: none; }
#app { width: 100%; max-width: 1020px; margin: 0 auto; padding: 35px 30px 65px; }
#app:focus { outline: none; box-shadow: none; }
.view { animation: none; }
.site-header { background: var(--brand); border-bottom: 0; color: white; }
.site-header-inner { max-width: 1020px; margin: auto; padding: 17px 30px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.site-header .brand { display: flex; align-items: baseline; gap: 15px; text-decoration: none; color: white; }
.brand-wordmark { font-size: 30px; line-height: 1; letter-spacing: -.035em; font-weight: 700; white-space: nowrap; }
.brand-wordmark span { font-weight: 700; }
.brand-wordmark i { display: none; }
.brand-caption { font-size: 14px; font-weight: 400; }
.brand-name { color: white; font-size: 29px; }
.brand-icon { border-radius: 0; color: white; background: transparent; }
.header-account { display: inline-flex; align-items: center; gap: 8px; color: white; font-size: 16px; min-height: 44px; font-weight: 700; }
.header-account:hover { color: white; }
.service-nav-bar { background: #f3f3f3; border-bottom: 1px solid var(--line); }
.service-nav-inner { max-width: 1020px; margin: auto; padding: 0 30px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.service-nav-inner > strong, .service-nav-inner > a, .service-nav-title { font-size: 19px; color: var(--ink); font-weight: 700; text-decoration: none; }
.service-name { font-size: 19px; font-weight: 700; color: var(--ink); }
#site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 23px; }
#site-nav .nav-link { display: inline-flex; align-items: center; gap: 5px; min-height: 58px; padding: 15px 0 12px; color: var(--link); border-radius: 0; border-bottom: 4px solid transparent; font-size: 16px; font-weight: 400; text-decoration: underline; }
#site-nav .nav-link:hover { background: transparent; color: var(--link-hover); }
#site-nav .nav-link.is-active { color: var(--ink); border-bottom-color: var(--brand); font-weight: 700; text-decoration: none; background: transparent; }
#site-nav .icon { width: 17px; height: 17px; }
.prototype-strip { max-width: 960px; margin: auto; padding: 11px 0; border-bottom: 1px solid var(--line); display: flex; align-items: baseline; flex-wrap: wrap; gap: 9px 15px; color: var(--ink); background: white; font-size: 14px; line-height: 1.5; }
.prototype-strip > strong, .phase-tag { background: var(--brand); color: white; padding: 3px 7px; font-weight: 700; letter-spacing: .04em; font-size: 14px; }
.prototype-strip > span:first-child { font-size: 14px; }
.prototype-strip a { color: var(--link); }
.site-footer { background: #f4f8fb; border-top: 6px solid var(--brand); padding: 36px 30px 45px; margin-top: 20px; }
.footer-inner { max-width: 960px; margin: auto; display: flex; flex-wrap: wrap; gap: 24px 40px; justify-content: space-between; align-items: start; font-size: 16px; }
.footer-inner strong { display: block; margin-bottom: 12px; font-size: 19px; }
.footer-inner p { color: var(--muted); font-size: 16px; max-width: 520px; margin: 0; }
.footer-inner nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; }
.footer-inner nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; }
.footer-inner > .small-note { flex-basis: 100%; max-width: none; padding-top: 20px; border-top: 1px solid #b8d3ea; }
.btn { min-height: 46px; padding: 11px 17px; border: 2px solid transparent; border-radius: 0; font-size: 19px; font-weight: 400; line-height: 1.2; text-decoration: none; letter-spacing: 0; transition: background .12s; }
.btn-primary { background: var(--green); color: white; box-shadow: 0 2px 0 #053d27; }
.btn-primary:hover { background: #0b5c3e; color: white; text-decoration: none; }
.btn-secondary { background: #f3f3f3; color: var(--ink); border-color: transparent; box-shadow: 0 2px 0 #929191; }
.btn-secondary:hover { background: #cecece; border-color: transparent; color: var(--ink); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--link); text-decoration: underline; box-shadow: none; }
.btn-ghost:hover { background: #f3f3f3; color: var(--link-hover); }
.btn-small { min-height: 44px; padding: 10px 13px; font-size: 16px; }
.btn:disabled { background: #d2d6d4; color: #4b504d; border-color: transparent; box-shadow: none; opacity: .75; }
.btn:focus-visible { color: var(--ink); background: var(--focus); outline: 3px solid transparent; box-shadow: 0 4px 0 var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 16px; font-weight: 400; text-decoration: underline; color: var(--link); }
.text-link:hover { color: var(--link-hover); }
button.text-link { border: 0; background: transparent; padding: 0; text-align: left; }
.start-block .btn, .btn-start { font-size: 24px; font-weight: 700; padding: 11px 19px; gap: 16px; }
.cta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 15px 20px; }
.small-note { color: var(--muted); font-size: 16px; line-height: 1.45; margin: 13px 0 0; }
.edition-line, .section-kicker, .eyebrow, .plan-label, .specimen-label, .concept-number, .pack-range { color: var(--muted); font-family: Arial, Helvetica, sans-serif; font-size: 16px; font-weight: 400; line-height: 1.4; letter-spacing: 0; text-transform: none; margin-bottom: 12px; }
.display-title, .page-title, .service-title { font-family: Arial, Helvetica, sans-serif; font-size: 48px; font-weight: 700; line-height: 1.05; letter-spacing: 0; margin: 0 0 30px; max-width: 790px; }
.display-title em { font-weight: 700; font-style: normal; color: var(--ink); }
.hero-lede, .service-intro { max-width: 630px; font-size: 19px; line-height: 1.45; color: var(--ink); margin: 0 0 25px; }
.page-intro { padding: 0 0 20px; max-width: 790px; }
.page-intro > p:last-child { font-size: 19px; margin-bottom: 0; line-height: 1.45; }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 16px; line-height: 1.5; margin: -8px 0 32px; }
.breadcrumbs a { color: var(--ink); }
.journey-banner { margin: -5px 0 40px; padding: 20px 25px; background: #f3f3f3; border-bottom: 1px solid #8eb8dc; }
.journey-banner > span { display: block; font-size: 16px; font-weight: 700; margin-bottom: 5px; }
.journey-banner > a { font-size: 21px; font-weight: 700; line-height: 1.3; }
.service-layout { display: grid; grid-template-columns: minmax(0, 630px) minmax(0, 285px); gap: 45px; align-items: start; }
.service-main { min-width: 0; }
.service-main p, .service-main li { font-size: 19px; line-height: 1.5; }
.service-main > p { margin-bottom: 22px; }
.service-section { margin: 30px 0; }
.service-section h2 { font-size: 27px; margin: 0 0 20px; }
.service-section h3 { font-size: 21px; margin: 25px 0 14px; }
.service-list { padding-left: 22px; margin: 0 0 25px; }
.service-list li { padding-left: 1px; margin-bottom: 7px; }
.start-block { margin: 25px 0 35px; }
.start-block p { margin: 13px 0 0; font-size: 16px; max-width: 480px; }
.start-block > span { display: block; font-size: 14px; line-height: 1.4; margin-top: 13px; }
.start-block .btn > span { font-size: 34px; line-height: .6; }
.inset-text { border-left: 5px solid var(--line); margin: 28px 0; padding: 10px 0 10px 20px; font-size: 19px; line-height: 1.5; }
.inset-text p { margin: 0; }
.summary-list { margin: 25px 0 30px; }
.summary-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 19px; line-height: 1.45; }
.summary-row dt { font-weight: 700; }
.summary-row dd { margin: 0; }
.summary-row dd strong { font-weight: 700; }
.service-aside { border-top: 2px solid var(--brand); padding-top: 17px; margin-top: 80px; }
.related-heading { font-size: 19px; line-height: 1.3; margin: 0 0 18px; }
.related-links { list-style: none; padding: 0; margin: 0 0 28px; }
.related-links li { margin: 0 0 14px; font-size: 16px; line-height: 1.4; }
.related-links a { display: inline-block; }
.service-aside p { font-size: 16px; line-height: 1.45; }
.sidebar-pathway { margin-bottom: 28px; }
.sidebar-pathway > p { font-weight: 700; margin: 0 0 25px; }
.sidebar-pathway ol { list-style: none; padding: 0; margin: 0; }
.sidebar-pathway li { display: grid; grid-template-columns: 27px minmax(0, 1fr); gap: 15px; position: relative; padding: 0 0 25px; }
.sidebar-pathway li::before { content: ""; position: absolute; left: 13px; top: 25px; bottom: 0; width: 1px; background: var(--line); }
.sidebar-pathway li:last-child::before { display: none; }
.sidebar-pathway li > span { display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid var(--line); border-radius: 50%; background: white; font-size: 14px; font-weight: 700; }
.sidebar-pathway li.current-stage > span { background: var(--ink); color: white; border-color: var(--ink); }
.sidebar-pathway li > div { padding: 2px 0 17px; border-bottom: 1px solid var(--line); }
.sidebar-pathway li strong { display: block; font-size: 16px; line-height: 1.3; }
.sidebar-pathway li small { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.4; }
.licence-steps { list-style: none; padding: 0; margin: 15px 0 25px; }
.licence-steps li { position: relative; padding: 0 0 24px 38px; margin: 0; font-size: 16px; border-left: 1px solid var(--line); margin-left: 12px; }
.licence-steps li:last-child { padding-bottom: 10px; }
.licence-steps li > strong:first-child, .licence-steps .step-number { position: absolute; left: -14px; top: -1px; display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid var(--line); border-radius: 50%; background: white; color: var(--ink); font: 700 14px/1 Arial, sans-serif; margin: 0; }
.licence-steps li > div, .licence-steps li > span:not(.step-number) { display: block; }
.licence-steps li strong:not(:first-child) { font-size: 16px; }
.licence-steps p { margin: 6px 0 0; font-size: 14px; }
.pathway-list { margin: 35px 0; }
.pathway-list article { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 18px; position: relative; padding: 0 0 35px; }
.pathway-list article::before { content: ""; position: absolute; top: 35px; bottom: 0; left: 19px; width: 1px; background: var(--line); }
.pathway-list article:last-child::before { display: none; }
.pathway-number { width: 39px; height: 39px; border: 2px solid var(--ink); background: white; border-radius: 50%; display: grid; place-items: center; font-size: 21px; font-weight: 700; }
.pathway-body { min-width: 0; padding: 4px 0 25px; border-bottom: 1px solid var(--line); }
.pathway-body h2 { font-size: 27px; line-height: 1.2; margin: 0 0 15px; }
.pathway-body p, .pathway-body li { font-size: 19px; line-height: 1.5; }
.pathway-body p:last-child { margin-bottom: 0; }
.stage-tag { display: inline-block; background: #d2e2f1; color: #0f385c; padding: 5px 8px; font-size: 16px; font-weight: 700; line-height: 1.3; margin: 0 0 14px; }
.source-list { padding-left: 20px; font-size: 16px; }
section.source-list { padding-left: 0; }
.source-list li { margin: 0 0 12px; line-height: 1.5; }
.service-aside .source-list li { font-size: 16px; }
.section-heading { margin: 0 0 25px; }
.section-heading > h2, .editorial-section > h2, .sample-copy > h2, .teaser-copy > h2, .trust-copy > h2, .final-cta > h2 { font-family: Arial, Helvetica, sans-serif; font-size: 30px; font-weight: 700; line-height: 1.15; letter-spacing: 0; margin: 0 0 20px; }
.section-heading > p { color: var(--ink); font-size: 19px; line-height: 1.45; max-width: 730px; margin: 0; }
.editorial-section { padding: 35px 0; border-bottom: 1px solid var(--line); }
.editorial-section > p { font-size: 19px; }
.final-cta { padding: 40px 0 10px; text-align: left; }
.final-cta p { font-size: 19px; margin-bottom: 23px; }
.plan-fit-tabs { display: flex; align-items: stretch; flex-wrap: wrap; border-bottom: 1px solid var(--line); gap: 0; margin: 25px 0; }
.plan-fit-tabs > span { align-self: center; font-size: 16px; margin-right: auto; padding: 12px 18px 12px 0; }
.fit-button { border: 0; border-bottom: 4px solid transparent; background: white; color: var(--link); min-height: 50px; padding: 13px 18px; font-size: 16px; text-decoration: underline; }
.fit-button:hover { background: #f3f3f3; }
.fit-button[aria-pressed="true"] { font-weight: 700; color: var(--ink); border-bottom-color: var(--brand); text-decoration: none; }
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 25px 0; }
.plan-card { min-width: 0; background: white; border: 1px solid var(--line); border-top: 5px solid var(--line); padding: 22px 19px; display: flex; flex-direction: column; }
.plan-card.recommended { border-color: var(--brand); border-top-color: var(--brand); background: #f4f8fb; }
.plan-label { font-size: 14px; line-height: 1.4; margin-bottom: 17px; min-height: 20px; color: var(--muted); }
.plan-title { font-size: 25px; margin: 0 0 20px; letter-spacing: 0; }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; font-size: 48px; line-height: 1; font-weight: 700; }
.plan-price .currency { font-size: 16px; font-weight: 400; }
.plan-period { font-size: 14px; line-height: 1.45; color: var(--muted); margin: 12px 0 20px; }
.plan-description { font-size: 16px; line-height: 1.4; min-height: 66px; margin-bottom: 18px; }
.plan-features { list-style: disc; margin: 0 0 20px; padding: 18px 0 0 19px; border-top: 1px solid var(--line); }
.plan-features li { font-size: 16px; line-height: 1.4; margin: 0 0 11px; padding: 0; }
.plan-availability { font-size: 14px; line-height: 1.45; color: var(--muted); margin: 0 0 20px; }
.plan-cta { margin-top: auto; }
.plan-cta > .btn { width: 100%; font-size: 16px; }
.plan-cta .small-note { font-size: 14px; }
.plan-compare { border-top: 1px solid var(--ink); margin: 25px 0 0; }
.compare-row { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.compare-row > * { min-width: 0; padding: 15px 10px; font-size: 16px; line-height: 1.45; overflow-wrap: break-word; }
.compare-row > :first-child { padding-left: 0; }
.compare-row > :not(:first-child) { text-align: center; }
.faq-list { border-top: 1px solid var(--line); margin-top: 25px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; color: var(--link); font-size: 19px; font-weight: 400; line-height: 1.35; min-height: 58px; padding: 18px 0; text-decoration: underline; }
.faq-list details > p { font-size: 19px; line-height: 1.5; margin: 0 0 22px; padding-left: 20px; border-left: 5px solid var(--line); }
.demo-notice { background: #f3f3f3; border-left: 5px solid #b1b4b6; color: var(--ink); margin: 24px 0; padding: 16px 20px; font-size: 16px; line-height: 1.5; }
.demo-notice p { margin: 0; }
.inline-status { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px; font-size: 16px; line-height: 1.5; }
.status-active { color: #0b5c3e; }
.status-expired { color: #b12a2a; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 45px; padding: 20px 0 35px; }
.about-statement { font: 19px/1.5 Arial, Helvetica, sans-serif; }
.about-statement p { font-size: 19px; line-height: 1.5; }
.about-statement .btn { margin-top: 10px; }
.method-list { border-top: 1px solid var(--line); }
.method-item { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px 17px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.method-item .step-number { font-family: Arial, Helvetica, sans-serif; font-size: 19px; color: var(--ink); font-weight: 700; }
.method-item h2, .method-item h3 { font-size: 21px; margin: 0; }
.method-item p { grid-column: 2; font-size: 16px; line-height: 1.5; margin: 0; }
.trust-block { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 45px; margin: 30px 0; }
.trust-copy p { font-size: 19px; line-height: 1.5; }
.trust-source { border-top: 2px solid var(--brand); padding-top: 18px; }
.trust-source h3 { font-size: 21px; margin-bottom: 15px; }
.trust-source p { font-size: 16px; line-height: 1.5; }
.trust-source a { overflow-wrap: anywhere; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; margin: 10px 0 30px; }
.checkout-copy h2 { font-size: 27px; }
.checkout-copy p { font-size: 19px; line-height: 1.5; }
.checkout-copy .method-item p { font-size: 16px; }
.order-card { border: 1px solid var(--line); border-top: 5px solid var(--brand); padding: 25px; background: white; }
.order-card h2 { font-size: 30px; margin-bottom: 25px; }
.order-line, .order-total { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.4; }
.order-line > :last-child, .order-total > :last-child { text-align: right; }
.order-total { border-top: 2px solid var(--ink); border-bottom: 0; font-size: 19px; margin-top: 20px; padding-top: 20px; }
.order-total strong { font-size: 28px; }
.checkout-consent { display: flex; align-items: flex-start; gap: 13px; padding: 20px 0; font-size: 16px; line-height: 1.5; cursor: pointer; }
.checkout-consent input { margin-top: 2px; }
.order-card > .btn { width: 100%; font-size: 16px; }
.order-card .small-note { font-size: 14px; }
.success-panel, .pass-panel, .locked-panel, .ready-panel { border-top: 5px solid var(--brand); border-bottom: 1px solid var(--line); padding: 25px 0; background: white; margin: 0 0 30px; }
.success-panel, .locked-panel, .ready-panel { max-width: 760px; margin: 0 auto 30px; }
.pass-panel .page-title { font-size: 36px; }
.pass-panel p, .locked-panel p, .ready-panel p, .success-panel p { font-size: 19px; line-height: 1.5; }
.pass-state { display: inline-block; padding: 5px 8px; background: #e4eff8; color: #0f385c; font-size: 16px; line-height: 1.3; font-weight: 700; }
.pass-state.status-expired { background: #f9e7e7; color: #a22525; }
.pass-panel .pass-state { margin-bottom: 20px; }
.pass-meta { display: flex; flex-wrap: wrap; gap: 20px 35px; margin: 25px 0 0; }
.pass-meta > * { min-width: 0; margin: 0; }
.pass-meta span { display: block; font-size: 16px; color: var(--muted); margin-bottom: 8px; }
.pass-meta strong { display: block; font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.access-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin: 25px 0; }
.access-pack { display: flex; flex-direction: column; border: 1px solid var(--line); border-top: 4px solid #b1b4b6; padding: 25px; background: white; min-width: 0; }
.access-pack.available { border-top-color: var(--brand); }
.access-pack h3 { font-size: 25px; margin: 14px 0 18px; }
.access-pack p { font-size: 16px; line-height: 1.45; }
.access-pack .pack-count { font-size: 24px; font-weight: 700; margin-bottom: 15px; }
.lock-state { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; color: var(--muted); }
.access-pack.available .lock-state { color: #0b5c3e; }
.access-link { margin-top: auto; }
.expiry-banner { border-left: 5px solid #ca3535; background: #f9e7e7; padding: 15px 20px; font-size: 16px; line-height: 1.5; margin-bottom: 25px; }
.expiry-banner p { margin: 0; }
.lab-panel { border: 1px solid var(--line); border-top: 4px solid var(--brand); padding: 25px; margin: 20px 0; }
.lab-panel h2 { font-size: 27px; }
.lab-actions { display: flex; flex-wrap: wrap; gap: 15px; margin: 25px 0; }
.lab-actions .btn { font-size: 16px; }
.lab-note { font-size: 16px; line-height: 1.5; }
.code-line { background: #f3f3f3; border-left: 4px solid var(--line); font: 14px/1.7 monospace; padding: 15px; margin: 20px 0; overflow-wrap: anywhere; }
/* Practice and review use the same plain, high-contrast controls. */
.study-header { display: flex; justify-content: space-between; align-items: start; flex-wrap: wrap; gap: 25px; margin: 0 0 30px; }
.study-header > div:first-child { max-width: 610px; }
.study-header .display-title { font-size: 43px; }
.study-header .hero-lede { margin-bottom: 0; }
.study-summary { display: grid; grid-template-columns: auto minmax(0, 1fr); width: 285px; gap: 6px 15px; border-top: 2px solid var(--brand); border-bottom: 1px solid var(--line); padding: 20px 0 8px; }
.study-summary > strong { grid-row: 1 / 3; font-size: 36px; letter-spacing: 0; line-height: 1; align-self: center; }
.study-summary > span { font-size: 14px; align-self: end; }
.study-summary > p { font-size: 12px; color: var(--muted); line-height: 1.5; margin: 0; }
.study-summary > a { grid-column: 1 / -1; margin-top: 8px; font-size: 16px; }
.study-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 15px 20px; margin-bottom: 20px; }
.topic-list { border-top: 1px solid var(--line); }
.topic-list-row { display: flex; align-items: center; gap: 18px; width: 100%; background: white; border: 0; border-bottom: 1px solid var(--line); padding: 22px 0; text-align: left; }
.topic-list-row:hover { background: #f4f8fb; }
.topic-list-row > .step-number { color: var(--ink); font: 700 21px/1 Arial, sans-serif; width: 28px; flex: 0 0 auto; }
.topic-list-row .topic-copy strong { color: var(--link); text-decoration: underline; font-size: 19px; }
.topic-list-row .topic-copy > span { font-size: 16px; color: var(--muted); margin-top: 7px; }
.topic-list-row .topic-meta { font-size: 14px; }
.topic-list-row > .icon { color: var(--link); }
.topic-icon, .topic-card:nth-child(n) .topic-icon { border-radius: 0; background: transparent; color: var(--link); border: 0; }
.topic-card { border-radius: 0; background: white; border-color: var(--line); }
.topic-card:hover { transform: none; border-color: var(--brand); background: #f4f8fb; }
.topic-copy h3, .topic-copy strong { font-size: 17px; }
.topic-copy p { font-size: 14px; }
.upgrade-note { border-left: 5px solid var(--brand); background: #f4f8fb; padding: 20px 25px; margin: 30px 0; }
.upgrade-note h2 { font-size: 24px; margin-bottom: 15px; }
.upgrade-note p { font-size: 19px; line-height: 1.45; margin-bottom: 15px; }
.question-card, .progress-card, .session-progress, .metric-card, .results-card, .empty-state, .mistake-item, .breakdown-list { border-radius: 0; border-color: var(--line); background: white; box-shadow: none; }
.question-card { padding: 28px; border-top: 4px solid var(--brand); }
.question-title { font: 700 26px/1.35 Arial, sans-serif; letter-spacing: 0; }
.question-meta { font-size: 14px; margin-bottom: 22px; }
.tag { border-radius: 0; background: #e4eff8; color: #0f385c; padding: 5px 8px; font-size: 13px; font-weight: 400; }
.question-visual { border-radius: 0; background: white; border-color: #e5e5e5; padding: 18px; }
.question-visual img { max-height: 230px; }
.question-visual figcaption { font-size: 12px; }
.answers { gap: 12px; }
.answer-option { min-height: 68px; padding: 16px; border: 2px solid #b1b4b6; border-radius: 0; background: white; }
.answer-option:not(:disabled):hover { border-color: var(--brand); background: #f4f8fb; }
.answer-copy { font-size: 19px; line-height: 1.4; }
.answer-letter { border: 2px solid var(--ink); width: 31px; height: 31px; border-radius: 50%; background: white; color: var(--ink); font-size: 14px; font-weight: 700; }
.answer-option.is-selected { background: #f4f8fb; border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.answer-option.is-selected .answer-letter { background: var(--brand); border-color: var(--brand); color: white; }
.answer-option.is-correct, .answer-option.is-correct:disabled { background: #f3f8f6; border-color: var(--green); box-shadow: none; color: var(--ink); }
.answer-option.is-correct .answer-letter { background: var(--green); border-color: var(--green); }
.answer-option.is-incorrect, .answer-option.is-incorrect:disabled { background: #fcf2f2; border-color: #ca3535; box-shadow: none; color: var(--ink); }
.answer-option.is-incorrect .answer-letter { background: #ca3535; border-color: #ca3535; color: white; }
.answer-option.is-incorrect .answer-status { color: #ca3535; }
.answer-option:disabled { color: var(--muted); }
.feedback { border-radius: 0; border: 0; border-left: 5px solid var(--green); padding: 20px; background: #f3f8f6; }
.feedback.is-success { background: #f3f8f6; border-color: var(--green); }
.feedback.is-error { background: #fcf2f2; border-color: #ca3535; }
.feedback.is-error .feedback-heading { color: #b12a2a; }
.feedback-title { font-size: 19px; }
.explanation, .feedback.is-error .explanation { font-size: 19px; line-height: 1.5; color: var(--ink); }
.review-hint { font-size: 16px; color: var(--muted); }
.source-details { border-color: var(--line); font-size: 16px; }
.source-details summary { font-size: 16px; font-weight: 400; color: var(--link); text-decoration: underline; }
.source-link { color: var(--link); font-size: 16px; line-height: 1.5; }
.source-section { font-size: 14px; line-height: 1.5; }
.question-count, .session-label, .back-button { font-size: 16px; }
.back-button { color: var(--link); text-decoration: underline; }
.quiz-actions > p { font-size: 14px; }
.action-hint { font-size: 16px; line-height: 1.4; }
.progress-track, .progress-fill, .breakdown-track, .breakdown-fill, .mini-square, .pip { border-radius: 0; }
.progress-track, .breakdown-track { background: #e5e5e5; }
.pip { background: #f3f3f3; color: var(--muted); }
.pip.is-current { background: var(--brand); box-shadow: none; }
.aside-tip { border-radius: 0; background: #f3f3f3; padding: 20px; }
.aside-tip h3 { font-size: 19px; color: var(--ink); }
.aside-tip p { font-size: 16px; color: var(--muted); }
.aside-tip > .icon { color: var(--link); }
.session-progress h2, .session-progress h3 { font-size: 19px; }
.session-progress > p { font-size: 14px; }
.progress-meta { font-size: 14px; }
.progress-card h2, .progress-card h3 { font-size: 21px; }
.ring { background: conic-gradient(var(--green) calc(var(--progress) * 1%), #e5e5e5 0); }
.ring::before { background: white; }
.ring-value strong { letter-spacing: 0; }
.metric-number { font-size: 36px; font-weight: 700; letter-spacing: 0; }
.metric-label, .metric-card > p { font-size: 14px; }
.breakdown-label > strong { font-size: 16px; }
.breakdown-count { font-size: 14px; }
.review-banner, .progress-callout { background: #f4f8fb; border-top: 3px solid var(--brand); border-radius: 0; }
.review-banner strong { font-size: 19px; }
.mistake-number, .empty-icon { border-radius: 0; background: #f3f3f3; color: var(--ink); }
.mistake-copy h2, .mistake-copy h3 { font-size: 19px; line-height: 1.4; letter-spacing: 0; }
.mistake-copy .eyebrow { font-size: 14px; }
.mistake-copy p { font-size: 14px; }
.results-card { border-top: 4px solid var(--brand); }
.results-card h1, .results-card h2, .empty-state h2 { font-size: 32px; letter-spacing: 0; }
.results-card > p, .empty-state > p { font-size: 19px; line-height: 1.45; }
.result-score { color: var(--green); letter-spacing: 0; }
.result-summary { font-size: 16px; }
.notice { background: #f3f3f3; border-radius: 0; font-size: 16px; }
.storage-note { font-size: 16px; line-height: 1.5; }
.progress-footnote { font-size: 14px; }
.bottom-nav { display: none; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid #b1b4b6; background: white; padding: 6px 10px calc(6px + env(safe-area-inset-bottom)); backdrop-filter: none; }
.bottom-nav .nav-link { min-height: 53px; border-radius: 0; color: var(--link); font-size: 11px; font-weight: 400; }
.bottom-nav .nav-link.is-active { background: transparent; color: var(--ink); font-weight: 700; }
.bottom-nav .nav-link.is-active::after { content: ""; position: absolute; top: -7px; left: 15%; right: 15%; height: 4px; background: var(--brand); }
.bottom-nav .nav-count { border-radius: 0; background: #d2e2f1; color: #0f385c; }
.toast { left: 50%; max-width: calc(100vw - 36px); border-radius: 0; background: var(--ink); color: white; font-size: 16px; box-shadow: none; }
.skip-link { border-radius: 0; background: var(--focus); color: var(--ink); font-size: 16px; }
/* Optional design reference screen remains readable within this service shell. */
.concept-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; margin: 25px 0; }
.concept-card { border: 1px solid var(--line); min-width: 0; }
.concept-preview { padding: 25px; border-bottom: 1px solid var(--line); min-height: 215px; display: flex; flex-direction: column; align-items: start; justify-content: center; background: #f3f3f3; }
.concept-preview h2 { font-size: 27px; max-width: 350px; margin: 0 0 20px; }
.concept-number { font-size: 14px; }
.concept-fake-button { display: inline-block; background: var(--green); color: white; padding: 9px 13px; font-size: 14px; }
.concept-preview.civic { background: white; border-top: 4px solid var(--brand); }
.concept-preview.fieldguide { background: #f2eee5; }
.concept-preview.learninglab { background: #f3f8f6; }
.concept-preview.nightdrive { background: #0b0c0c; color: white; }
.concept-preview.nightdrive .concept-number { color: white; }
.concept-detail { padding: 25px; }
.concept-detail h3 { font-size: 23px; margin-bottom: 15px; }
.concept-detail p { font-size: 16px; line-height: 1.5; }
.concept-detail .recommendation { display: inline-block; background: #d2e2f1; color: #0f385c; padding: 5px 8px; font-size: 14px; margin-bottom: 20px; }
.reference-list { border-top: 1px solid var(--line); padding-top: 10px; }
.reference-list a { display: block; font-size: 16px; line-height: 1.5; margin: 10px 0; }
@media (min-width: 1150px) {
  .quiz-layout { grid-template-columns: minmax(0, 1fr) 235px; gap: 25px; }
  .quiz-aside { top: 25px; }
}
@media (max-width: 1019px) {
  .prototype-strip { margin-inline: 30px; }
  .service-layout { grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 35px; }
  .service-nav-inner { gap: 20px; }
  #site-nav { gap: 18px; }
  #site-nav .nav-link { font-size: 14px; }
  .brand-caption { display: none; }
  .plan-grid { gap: 15px; }
  .plan-card { padding: 20px 16px; }
}
@media (max-width: 799px) {
  :root { font-size: 16px; }
  #app { padding: 25px 20px 45px; }
  .site-header-inner { padding: 11px 20px; }
  .brand-wordmark { font-size: 27px; }
  .header-account { font-size: 16px; }
  .service-nav-inner { padding: 14px 20px; min-height: 50px; }
  .service-nav-inner > strong, .service-nav-inner > a, .service-nav-title { font-size: 19px; }
  #site-nav { display: none; }
  .prototype-strip { margin-inline: 20px; padding: 10px 0; font-size: 14px; gap: 6px 12px; }
  .display-title, .page-title, .service-title { font-size: 36px; line-height: 1.12; margin-bottom: 25px; }
  .page-intro > p:last-child, .hero-lede, .service-intro { font-size: 19px; }
  .breadcrumbs { font-size: 14px; margin-bottom: 25px; }
  .journey-banner { margin-bottom: 28px; padding: 15px; }
  .journey-banner > span { font-size: 14px; }
  .journey-banner > a { font-size: 19px; }
  .service-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .service-main p, .service-main li { font-size: 16px; }
  .service-section { margin: 25px 0; }
  .service-section h2 { font-size: 24px; }
  .service-section h3 { font-size: 19px; }
  .service-main .service-intro { font-size: 19px; }
  .service-aside { margin-top: 10px; }
  .service-main .start-block p { font-size: 14px; }
  .summary-row { font-size: 16px; gap: 20px; }
  .inset-text { font-size: 16px; padding-left: 15px; }
  .pathway-body h2 { font-size: 24px; }
  .pathway-body p, .pathway-body li { font-size: 16px; }
  .pathway-list article { gap: 15px; }
  .pathway-number { width: 36px; height: 36px; font-size: 19px; }
  .pathway-list article::before { left: 17px; }
  .pathway-body { padding-top: 3px; }
  .section-heading > h2, .editorial-section > h2, .sample-copy > h2, .teaser-copy > h2, .trust-copy > h2, .final-cta > h2 { font-size: 27px; }
  .section-heading > p { font-size: 16px; }
  .plan-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .plan-card { padding: 25px; }
  .plan-title { font-size: 27px; }
  .plan-description { min-height: 0; }
  .plan-features { padding-top: 20px; }
  .plan-cta > .btn { font-size: 19px; }
  .plan-fit-tabs > span { flex-basis: 100%; padding-top: 0; padding-bottom: 5px; }
  .fit-button { flex: 1 1 0; font-size: 16px; padding-inline: 10px; }
  .compare-row > * { padding: 13px 7px; font-size: 14px; }
  .faq-list summary { font-size: 19px; }
  .faq-list details > p { font-size: 16px; }
  .about-grid, .trust-block, .checkout-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .about-statement p, .trust-copy p, .checkout-copy p { font-size: 16px; }
  .about-statement .hero-lede { font-size: 19px; }
  .checkout-layout > .order-card { order: -1; }
  .order-card { padding: 25px; }
  .checkout-copy h2 { font-size: 24px; }
  .pass-panel .page-title { font-size: 30px; }
  .pass-panel p, .locked-panel p, .ready-panel p, .success-panel p { font-size: 16px; }
  .access-grid { grid-template-columns: minmax(0, 1fr); }
  .access-pack { padding: 23px; }
  .lab-panel { padding: 22px; }
  .lab-actions { gap: 13px; }
  .lab-actions .btn { flex: 1 1 180px; }
  .study-header { gap: 20px; }
  .study-header .display-title { font-size: 36px; }
  .study-summary { width: 100%; max-width: 420px; }
  .study-actions { gap: 15px; }
  .study-actions .btn { font-size: 16px; }
  .topic-list-row { gap: 13px; }
  .topic-list-row .topic-copy strong { font-size: 17px; }
  .topic-list-row .topic-copy > span { font-size: 14px; }
  .topic-list-row .topic-meta { font-size: 12px; }
  .upgrade-note p { font-size: 16px; }
  .question-card { padding: 23px; }
  .question-title { font-size: 24px; }
  .answer-copy { font-size: 17px; }
  .explanation, .feedback.is-error .explanation { font-size: 17px; }
  .question-meta { font-size: 12px; }
  .quiz-aside { display: none; }
  .mobile-progress { display: block; }
  .breakdown-label > strong { font-size: 14px; }
  .bottom-nav { display: grid; }
  .site-footer { padding: 30px 20px calc(100px + env(safe-area-inset-bottom)); }
  .footer-inner { gap: 20px; }
  .footer-inner p, .footer-inner nav a { font-size: 14px; }
  .toast { bottom: calc(90px + env(safe-area-inset-bottom)); }
  .concept-grid { gap: 20px; }
  .concept-preview { padding: 20px; }
  .concept-preview h2 { font-size: 24px; }
  .concept-detail { padding: 20px; }
}
@media (max-width: 559px) {
  .site-header .brand { gap: 6px; }
  .brand-wordmark { font-size: 25px; }
  .header-account { font-size: 14px; }
  .display-title, .page-title, .service-title { font-size: 34px; }
  .btn { font-size: 16px; padding: 12px 15px; }
  .start-block .btn, .btn-start { font-size: 22px; padding: 11px 17px; }
  .cta-row { align-items: stretch; }
  .cta-row .btn { flex: 1 1 auto; }
  .summary-row { grid-template-columns: minmax(0, 1fr); gap: 5px; padding: 13px 0; }
  .pathway-list article { grid-template-columns: 33px minmax(0, 1fr); gap: 12px; }
  .pathway-number { width: 32px; height: 32px; font-size: 18px; }
  .pathway-list article::before { left: 15px; top: 32px; }
  .pathway-body h2 { font-size: 23px; }
  .service-section h2 { font-size: 24px; }
  .stage-tag { font-size: 14px; }
  .plan-card { padding: 23px; }
  .plan-price { font-size: 44px; }
  .plan-fit-tabs > span { font-size: 14px; }
  .fit-button { font-size: 14px; }
  .compare-row { grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr)); }
  .compare-row > * { font-size: 12px; padding: 13px 4px; }
  .demo-notice { font-size: 14px; padding: 15px; }
  .order-card { padding: 22px 18px; }
  .order-card h2 { font-size: 27px; }
  .order-line { font-size: 14px; }
  .order-total { font-size: 17px; }
  .order-total strong { font-size: 25px; }
  .checkout-consent { font-size: 14px; }
  .order-card .small-note { font-size: 14px; }
  .pass-meta { gap: 20px; }
  .pass-meta > * { flex-basis: 100%; }
  .pass-panel .page-title { font-size: 29px; }
  .inline-status { font-size: 14px; }
  .lab-panel { padding: 20px 16px; }
  .study-header .display-title { font-size: 34px; }
  .study-header .hero-lede { font-size: 17px; }
  .study-summary { width: 100%; }
  .study-actions { width: 100%; }
  .study-actions .btn { flex: 1 1 auto; padding-inline: 13px; }
  .topic-list-row > .topic-icon { display: none; }
  .topic-list-row > .step-number { width: 24px; font-size: 19px; }
  .topic-list-row { gap: 12px; }
  .topic-list-row .topic-copy strong { font-size: 16px; }
  .topic-list-row .topic-copy > span { font-size: 13px; }
  .topic-list-row .topic-meta { font-size: 11px; }
  .topic-list-row > .icon { width: 18px; }
  .upgrade-note { padding: 20px; }
  .upgrade-note h2 { font-size: 23px; }
  .question-card { padding: 20px 16px; }
  .question-title { font-size: 22px; }
  .question-count, .session-label, .back-button { font-size: 14px; }
  .question-meta { font-size: 11px; }
  .question-visual { padding: 13px; }
  .question-visual img { max-height: 190px; }
  .answer-option { padding: 13px 11px; gap: 11px; }
  .answer-copy { font-size: 17px; }
  .answer-letter { width: 28px; height: 28px; font-size: 12px; }
  .feedback { padding: 18px 15px; }
  .feedback-title { font-size: 18px; }
  .explanation, .feedback.is-error .explanation { font-size: 16px; }
  .review-hint { font-size: 14px; }
  .source-details summary, .source-link { font-size: 14px; }
  .source-section { font-size: 12px; }
  .quiz-actions > p { flex-basis: 100%; font-size: 13px; }
  .quiz-actions > .action-hint { flex-basis: 100%; font-size: 14px; }
  .quiz-actions > .btn { width: 100%; flex: 1 1 100%; min-width: 0; }
  .mistake-item { padding: 19px 14px; gap: 11px; }
  .mistake-copy h2, .mistake-copy h3 { font-size: 16px; }
  .mistake-copy .eyebrow, .mistake-copy p { font-size: 12px; }
  .metric-card { padding: 20px 15px; }
  .metric-number { font-size: 32px; }
  .metric-label, .metric-card > p { font-size: 12px; }
  .breakdown-list { padding: 20px 15px; }
  .breakdown-label > strong { font-size: 13px; }
  .breakdown-count { font-size: 12px; }
  .review-banner strong { font-size: 17px; }
  .results-card { padding: 30px 22px; }
  .results-card h1, .results-card h2, .empty-state h2 { font-size: 28px; }
  .results-card > p, .empty-state > p { font-size: 16px; }
  .result-summary { font-size: 14px; }
  .storage-note { font-size: 14px; }
  .concept-grid { grid-template-columns: minmax(0, 1fr); }
  .concept-detail p { font-size: 16px; }
}
@media (max-width: 359px) {
  #app { padding-inline: 15px; }
  .site-header-inner, .service-nav-inner { padding-inline: 15px; }
  .prototype-strip { margin-inline: 15px; }
  .display-title, .page-title, .service-title, .study-header .display-title { font-size: 31px; }
  .service-nav-inner > strong, .service-nav-inner > a, .service-nav-title { font-size: 17px; }
  .service-name { font-size: 17px; }
  .question-card { padding: 19px 13px; }
  .question-title { font-size: 21px; }
  .answer-option { gap: 9px; padding-inline: 9px; }
  .answer-copy { font-size: 16px; }
  .topic-list-row { gap: 9px; }
  .topic-list-row .topic-meta { max-width: 50px; text-align: right; }
  .plan-card { padding: 21px; }
  .fit-button { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .view { animation: none; } }
@media print {
  .site-header, .service-nav-bar, .prototype-strip, .site-footer, .bottom-nav, .lab-actions { display: none !important; }
  #app { max-width: none; padding: 0; }
  .service-layout { display: block; }
  .service-aside { margin-top: 30px; }
  .plan-card, .question-card, .access-pack, .pathway-list article { break-inside: avoid; }
}
