:root {
  --navy: #071d3b;
  --navy-2: #102c50;
  --mint: #73dccd;
  --mint-pale: #e6faf6;
  --green: #087f68;
  --peach: #ff9b70;
  --peach-pale: #fff1e9;
  --violet: #7658d6;
  --ink: #10233e;
  --muted: #5e7188;
  --line: #d8e9e5;
  --paper: #fffefd;
  --page: #edf8f5;
  --shadow: 0 22px 70px rgba(7, 29, 59, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(115, 220, 205, .22), transparent 28rem),
    radial-gradient(circle at 96% 18%, rgba(255, 155, 112, .14), transparent 25rem),
    var(--page);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
.reading-progress { position: fixed; inset: 0 0 auto; height: 4px; z-index: 100; background: rgba(7,29,59,.08); }
.reading-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--mint), var(--green), var(--peach)); }

.site-header {
  width: min(1180px, calc(100% - 32px));
  min-height: 66px;
  margin: 18px auto 26px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #fff;
  background: linear-gradient(115deg, var(--navy), #0b3850);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px;
  box-shadow: 0 12px 34px rgba(7, 29, 59, .17);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; letter-spacing: .08em; font-size: .86rem; }
.brand-mark { width: 38px; aspect-ratio: 1; display: grid; place-items: center; color: var(--navy); background: var(--mint); border-radius: 13px; transform: rotate(-5deg); }
.preview-label { padding: 7px 12px; color: #dffcf7; border: 1px solid rgba(115,220,205,.34); border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 56px;
  display: grid;
  grid-template-columns: minmax(0, 860px) minmax(220px, 280px);
  align-items: start;
  gap: 28px;
}
.article-card { min-width: 0; padding: clamp(24px, 4vw, 58px); background: var(--paper); border: 1px solid rgba(7,29,59,.08); border-radius: 30px; box-shadow: var(--shadow); overflow: clip; }
.article-header { padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.eyebrow, .section-number { margin: 0 0 10px; color: var(--green); font-size: .78rem; line-height: 1.2; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { color: var(--navy); line-height: 1.12; letter-spacing: -.035em; }
h1 { max-width: 780px; margin: 0; font-size: clamp(2.35rem, 5vw, 4.4rem); }
h2 { margin: 0 0 18px; font-size: clamp(1.8rem, 3.3vw, 2.75rem); }
h3 { margin: 28px 0 8px; font-size: 1.3rem; letter-spacing: -.02em; }
p { margin: 0 0 18px; }
.lead { max-width: 760px; margin: 22px 0 0; color: #425a73; font-size: clamp(1.05rem, 2vw, 1.25rem); }
.topic-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.topic-row span { padding: 7px 11px; color: #20465a; background: var(--mint-pale); border: 1px solid #c3ece4; border-radius: 999px; font-size: .74rem; font-weight: 800; }
section { padding-top: 54px; }
section[id] { scroll-margin-top: 20px; }
.section-number { display: inline-grid; place-items: center; width: 42px; height: 34px; margin-bottom: 14px; color: var(--navy); background: var(--mint); border-radius: 11px; }

.visual-guide { padding-top: 34px; }
.guide-heading { margin-bottom: 20px; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(220px, .65fr); align-items: end; gap: 24px; }
.guide-heading h2 { max-width: 620px; margin-bottom: 0; font-size: clamp(1.8rem, 3.5vw, 3rem); }
.guide-intro { margin: 0 0 4px; color: var(--muted); font-size: .94rem; line-height: 1.55; }
.guide-shell { position: relative; color: #fff; background: radial-gradient(circle at 86% 8%, rgba(115,220,205,.22), transparent 17rem), linear-gradient(135deg, #071d3b, #0b394f 58%, #096451); border: 1px solid rgba(115,220,205,.25); border-radius: 27px; box-shadow: 0 25px 60px rgba(7,29,59,.2); overflow: hidden; isolation: isolate; }
.guide-shell::before { content: ""; position: absolute; width: 330px; height: 330px; right: -185px; bottom: -210px; border: 1px solid rgba(115,220,205,.23); border-radius: 50%; box-shadow: 0 0 0 54px rgba(115,220,205,.035), 0 0 0 108px rgba(115,220,205,.025); z-index: -1; }
.guide-topbar { min-height: 58px; padding: 12px 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.12); }
.guide-brand { display: flex; align-items: center; gap: 9px; font-size: .76rem; font-weight: 900; letter-spacing: .1em; }
.guide-brand i { width: 30px; height: 30px; display: grid; place-items: center; color: var(--navy); background: var(--mint); border-radius: 10px; font-style: normal; transform: rotate(-5deg); }
.guide-counter { color: #b5eae1; font-size: .75rem; font-weight: 900; letter-spacing: .13em; }
.guide-stage { display: grid; touch-action: pan-y; }
.guide-slide { grid-area: 1 / 1; min-width: 0; padding: clamp(25px, 4vw, 44px); display: grid; grid-template-columns: minmax(0, .86fr) minmax(320px, 1.14fr); align-items: center; gap: clamp(24px, 4vw, 46px); opacity: 0; visibility: hidden; pointer-events: none; transform: translateX(24px) scale(.985); transition: opacity .42s ease, transform .5s cubic-bezier(.2,.7,.2,1), visibility .42s; }
.guide-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.guide-kicker { display: inline-flex; margin-bottom: 13px; color: var(--mint); font-size: .74rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.guide-copy h3 { margin: 0 0 15px; color: #fff; font-size: clamp(1.65rem, 3.2vw, 2.65rem); line-height: 1.04; }
.guide-copy > p { color: #d8e8ee; font-size: .96rem; line-height: 1.62; }
.guide-callout { margin-top: 20px; padding: 13px 15px; display: grid; gap: 2px; color: var(--navy); background: rgba(255,255,255,.94); border-radius: 14px; box-shadow: 0 12px 24px rgba(0,0,0,.12); }
.guide-callout b { color: var(--green); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.guide-callout span { font-size: .82rem; font-weight: 750; line-height: 1.4; }
.guide-demo { position: relative; min-width: 0; min-height: 300px; padding: 20px; background: linear-gradient(145deg, rgba(255,255,255,.15), rgba(255,255,255,.06)); border: 1px solid rgba(255,255,255,.17); border-radius: 23px; box-shadow: inset 0 1px rgba(255,255,255,.12); overflow: hidden; }

.product-demo { display: grid; grid-template-columns: 1.18fr .82fr; grid-template-rows: 1fr 1fr; gap: 12px; }
.eligibility-demo { display: grid; grid-template-columns: 1fr 1fr; align-content: center; gap: 12px; }
.eligibility-card { min-width: 0; padding: 17px 15px; display: grid; gap: 5px; color: var(--navy); background: #fff; border: 2px solid transparent; border-radius: 17px; box-shadow: 0 14px 24px rgba(0,0,0,.13); }
.eligibility-card small { font-size: .62rem; font-weight: 950; letter-spacing: .12em; }
.eligibility-card strong { font-size: 1rem; line-height: 1.2; }
.eligibility-card span { color: #66798a; font-size: .68rem; font-weight: 700; line-height: 1.35; }
.eligibility-card.pass { background: linear-gradient(145deg,#baf2e7,#fff); border-color: #73dccd; }
.eligibility-card.pass small { color: #08715f; }
.eligibility-card.fail { background: linear-gradient(145deg,#fff1ed,#fff); border-color: #f2a28f; }
.eligibility-card.fail small { color: #a84834; }
.product-card { position: relative; padding: 17px; display: flex; flex-direction: column; justify-content: flex-end; color: var(--navy); background: rgba(255,255,255,.94); border: 2px solid transparent; border-radius: 17px; box-shadow: 0 15px 28px rgba(0,0,0,.13); transition: transform .3s ease; }
.product-card:hover { transform: translateY(-3px); }
.product-main { grid-row: 1 / 3; background: linear-gradient(155deg, #b9f3e8, #f9fffd 62%); border-color: var(--mint); }
.product-card::before { content: "R"; position: absolute; top: 15px; right: 15px; width: 34px; height: 34px; display: grid; place-items: center; color: #fff; background: var(--navy); border-radius: 11px; font-weight: 950; transform: rotate(7deg); }
.product-card small { color: #708499; font-size: .62rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.product-card strong { margin-top: 5px; font-size: 1rem; line-height: 1.2; }
.product-card span { margin-top: 4px; color: #587087; font-size: .7rem; }
.scan-line { position: absolute; left: 16px; right: 16px; top: 22%; height: 2px; background: linear-gradient(90deg, transparent, var(--mint), transparent); box-shadow: 0 0 14px var(--mint); animation: guide-scan 3.2s ease-in-out infinite; }

.code-demo { display: grid; align-content: center; gap: 11px; }
.scratch-game-head { display: flex; justify-content: space-between; gap: 12px; color: #d9f4ef; font-size: .69rem; }
.scratch-game-head span { color: var(--mint); font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.scratch-surface { position: relative; min-height: 94px; margin-top: 10px; background: #fff; border: 4px solid rgba(255,255,255,.35); border-radius: 16px; overflow: hidden; box-shadow: 0 15px 28px rgba(0,0,0,.18); touch-action: none; }
.scratch-code { position: absolute; inset: 0; padding: 15px; display: grid; grid-template-columns: repeat(6,1fr); gap: 6px; background: linear-gradient(145deg,#fff,#eaf6f3); }
.scratch-code b { display: grid; place-items: center; color: var(--navy); background: #fff; border: 1px solid #c9ded8; border-radius: 10px; box-shadow: 0 5px 12px rgba(7,29,59,.08); font-size: 1.15rem; }
.scratch-code b:nth-child(5) { color: #fff; background: var(--violet); border-color: #a995f5; animation: guide-pulse 1.8s ease-in-out infinite; }
.scratch-canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; }
.scratch-canvas:active { cursor: grabbing; }
.scratch-hand { position: absolute; left: 50%; top: 50%; min-width: 52px; padding: 4px 9px; color: var(--navy); background: rgba(255,255,255,.86); border-radius: 99px; font-weight: 950; text-align: center; transform: translate(-50%,-50%); pointer-events: none; animation: scratch-hint 1.7s ease-in-out infinite; }
.is-scratching .scratch-hand, .is-revealed .scratch-hand { display: none; }
.scratch-quiz { margin-top: 11px; padding: 11px; color: var(--navy); background: rgba(255,255,255,.94); border-radius: 14px; }
.scratch-quiz p { margin: 0 0 8px; font-size: .75rem; line-height: 1.3; }
.character-choices { display: flex; gap: 7px; }
.character-choices button { flex: 1; height: 34px; color: var(--navy); background: #edf4f3; border: 1px solid #c9ded8; border-radius: 10px; font: inherit; font-weight: 900; cursor: not-allowed; opacity: .46; }
.is-revealed .character-choices button { cursor: pointer; opacity: 1; }
.character-choices button:hover { border-color: var(--green); transform: translateY(-1px); }
.character-choices button.is-correct { color: #fff; background: var(--green); border-color: var(--green); animation: answer-pop .35s ease; }
.character-choices button.is-wrong { color: #fff; background: #d96352; border-color: #d96352; animation: answer-shake .34s ease; }
.quiz-feedback { display: block; min-height: 17px; margin-top: 7px; color: #6a7d90; font-size: .63rem; line-height: 1.35; }
.scratch-actions { margin-top: 8px; display: flex; justify-content: space-between; gap: 8px; }
.scratch-actions button { padding: 5px 0; color: #bdece3; background: transparent; border: 0; font-size: .62rem; font-weight: 800; text-decoration: underline; cursor: pointer; }

.credit-demo { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 8px; }
.credit-demo > i { color: var(--mint); font-style: normal; font-size: 1.5rem; animation: guide-arrow 1.8s ease-in-out infinite; }
.value-node { position: relative; min-width: 0; min-height: 135px; padding: 15px 9px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--navy); background: rgba(255,255,255,.93); border-radius: 17px; text-align: center; box-shadow: 0 15px 25px rgba(0,0,0,.12); }
.value-node.active { color: #fff; background: linear-gradient(145deg,#19a886,#0b6b5d); transform: translateY(-10px); }
.value-node > span { width: 27px; height: 27px; display: grid; place-items: center; margin-bottom: 7px; color: #fff; background: var(--violet); border-radius: 9px; font-size: .7rem; font-weight: 900; }
.value-node small { opacity: .66; font-size: .58rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.value-node strong { margin-top: 4px; font-size: .86rem; }
.coin { position: absolute; width: 40px; height: 40px; display: grid; place-items: center; color: var(--navy); background: #ffc865; border: 3px solid #ffe1a8; border-radius: 50%; font-size: .65rem; font-weight: 950; box-shadow: 0 8px 18px rgba(0,0,0,.2); animation: guide-float 3.2s ease-in-out infinite; }
.coin-one { right: 23px; top: 18px; }
.coin-two { left: 22px; bottom: 18px; animation-delay: -1.4s; }

.route-demo { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 7px; }
.route-demo > div { position: relative; z-index: 2; min-width: 0; min-height: 135px; padding: 13px 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--navy); background: #fff; border-radius: 17px; text-align: center; box-shadow: 0 15px 25px rgba(0,0,0,.13); }
.route-demo > div:nth-of-type(3) { background: linear-gradient(145deg,#baf2e7,#fff); }
.route-demo > div span { width: 31px; height: 31px; display: grid; place-items: center; margin-bottom: 8px; color: #fff; background: var(--violet); border-radius: 10px; font-size: .7rem; font-weight: 950; }
.route-demo > div strong { font-size: .78rem; line-height: 1.2; }
.route-demo > div small { margin-top: 5px; color: #74869a; font-size: .58rem; line-height: 1.3; }
.route-demo > i { position: relative; z-index: 2; color: var(--mint); font-style: normal; }
.route-track { position: absolute; left: 12%; right: 12%; top: 50%; height: 2px; background: rgba(115,220,205,.45); }

.guide-controls { min-height: 62px; padding: 11px 18px 15px; display: grid; grid-template-columns: 42px 1fr 42px; align-items: center; gap: 12px; border-top: 1px solid rgba(255,255,255,.1); }
.guide-arrow { width: 42px; height: 38px; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; font-size: 1.1rem; cursor: pointer; }
.guide-arrow:hover { color: var(--navy); background: var(--mint); }
.guide-dots { display: flex; justify-content: center; gap: 8px; }
.guide-dots button { width: 8px; height: 8px; padding: 0; background: rgba(255,255,255,.32); border: 0; border-radius: 99px; cursor: pointer; transition: width .3s ease, background .3s ease; }
.guide-dots button.is-active { width: 30px; background: var(--mint); }
.guide-swipe-hint { display: none; padding: 0 0 14px; color: #b5eae1; font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-align: center; text-transform: uppercase; }

@keyframes guide-scan { 0%,100% { transform: translateY(0); opacity:.35; } 50% { transform: translateY(215px); opacity:1; } }
@keyframes guide-arrow { 0%,100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
@keyframes guide-float { 0%,100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-10px) rotate(5deg); } }
@keyframes guide-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(118,88,214,.28); } 50% { box-shadow: 0 0 0 7px rgba(118,88,214,0); } }
@keyframes scratch-hint { 0%,100% { transform: translate(-58%,-50%); } 50% { transform: translate(-42%,-50%); } }
@keyframes answer-pop { 50% { transform: scale(1.08); } }
@keyframes answer-shake { 25% { transform: translateX(-4px); } 50% { transform: translateX(4px); } 75% { transform: translateX(-2px); } }
@keyframes status-pop { 50% { transform: scale(1.02); } }
@keyframes checklist-spark { 0% { opacity:1; transform: translate(0,0) rotate(0); } 100% { opacity:0; transform: translate(0,-38px) rotate(110deg); } }

.article-visual { margin: 30px 0 12px; padding: 10px; background: linear-gradient(135deg, #f4fffc, #fff8f4); border: 1px solid #cfe8e1; border-radius: 24px; box-shadow: 0 18px 45px rgba(7,29,59,.08); }
.article-visual img { width: 100%; height: auto; border-radius: 16px; }
.article-visual figcaption { padding: 10px 8px 3px; color: var(--muted); font-size: .82rem; line-height: 1.45; text-align: center; }
.visual-featured { margin-top: 34px; }
.reveal-ready { opacity: 0; transform: translateY(26px); transition: opacity .65s ease, transform .72s cubic-bezier(.2,.7,.2,1); }
.reveal-ready.is-visible { opacity: 1; transform: none; }
.article-visual { transform-style: preserve-3d; transition: transform .22s ease, box-shadow .3s ease; }
.article-visual.is-tilting { box-shadow: 0 25px 55px rgba(7,29,59,.14); }
.step-list li.reveal-ready:nth-child(even) { transition-delay: .07s; }

.character-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 24px 0 30px; }
.character-grid span { padding: 16px; color: var(--navy); background: #f2f7fb; border: 1px solid #d5e2ed; border-radius: 14px; text-align: center; font-weight: 700; }
.character-grid b { color: var(--green); font-size: 1.15rem; }

.note { margin: 28px 0 0; padding: 22px 24px; border-radius: 18px; border-left: 5px solid; }
.note strong { color: var(--navy); font-size: 1.05rem; }
.note p { margin: 5px 0 0; }
.note-mint { background: var(--mint-pale); border-color: var(--green); }
.note-peach { background: var(--peach-pale); border-color: var(--peach); }

.flow-interaction { margin: 25px 0; padding: 10px; background: linear-gradient(90deg, var(--mint-pale), #f5f2ff, var(--peach-pale)); border: 1px solid #dcd9ed; border-radius: 18px; }
.flow-line { padding: 8px; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--navy); font-weight: 850; text-align: center; }
.flow-line i { color: var(--violet); font-style: normal; }
.flow-line button { flex: 1; min-height: 50px; padding: 9px; color: var(--navy); background: rgba(255,255,255,.68); border: 1px solid transparent; border-radius: 13px; font: inherit; font-size: .78rem; font-weight: 850; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.flow-line button:hover { transform: translateY(-2px); }
.flow-line button.is-active { color: #fff; background: var(--green); border-color: #43bda6; box-shadow: 0 10px 22px rgba(8,127,104,.22); }
.flow-caption { min-height: 22px; margin: 3px 8px 4px; color: #586c82; font-size: .76rem; text-align: center; }
.comparison-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px 0; }
.comparison-cards > div { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #f8fcfb; }
.comparison-cards > div:last-child { background: #f7f3ff; border-color: #ddd4ff; }
.comparison-cards small { display: block; margin-bottom: 6px; color: var(--green); font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.comparison-cards strong { color: var(--navy); font-size: 1.15rem; }
.comparison-cards p { margin: 7px 0 0; color: var(--muted); font-size: .92rem; }

.check-list { margin: 18px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; margin: 10px 0; padding-left: 30px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 21px; height: 21px; display: grid; place-items: center; color: #fff; background: var(--green); border-radius: 50%; font-size: .72rem; font-weight: 900; }
.step-list { margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; list-style: none; counter-reset: steps; }
.step-list li { min-width: 0; padding: 18px; display: flex; gap: 14px; border: 1px solid var(--line); border-radius: 17px; background: #fbfefd; }
.step-list li > span { flex: 0 0 38px; height: 38px; display: grid; place-items: center; color: var(--navy); background: var(--mint); border-radius: 12px; font-weight: 900; }
.step-list li:nth-child(even) > span { background: var(--peach); }
.step-list strong { color: var(--navy); }
.step-list p { margin: 3px 0 0; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.final-checklist { display: grid; gap: 10px; }
.final-checklist label { padding: 15px 16px; display: flex; align-items: flex-start; gap: 12px; color: var(--navy); background: #f7fbfa; border: 1px solid var(--line); border-radius: 14px; font-weight: 650; cursor: pointer; }
.final-checklist input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--green); }
.final-checklist label { transition: transform .22s ease, border-color .22s ease, background .22s ease; }
.final-checklist label:has(input:checked) { background: var(--mint-pale); border-color: #86d9c9; transform: translateX(4px); }
.checklist-status { position: relative; margin-top: 14px; padding: 14px 17px; display: flex; align-items: center; gap: 10px; color: #61758b; background: #eff5f4; border: 1px solid var(--line); border-radius: 14px; overflow: visible; }
.checklist-status strong { color: var(--navy); }
.checklist-status span { font-size: .82rem; }
.checklist-status.is-complete { color: #fff; background: linear-gradient(100deg,var(--green),#0a9a7e); border-color: transparent; animation: status-pop .42s ease; }
.checklist-status.is-complete strong { color: #fff; }
.checklist-status i { position: absolute; left: 18%; top: 50%; width: 8px; height: 8px; background: var(--peach); border-radius: 2px; opacity: 0; pointer-events: none; }
.checklist-status i:nth-of-type(2) { left: 50%; background: #ffd36d; }
.checklist-status i:nth-of-type(3) { left: 82%; background: var(--mint); }
.checklist-status.is-complete i { animation: checklist-spark .75s ease-out; }
.checklist-status.is-complete i:nth-of-type(2) { animation-delay: .08s; }
.checklist-status.is-complete i:nth-of-type(3) { animation-delay: .15s; }
.takeaway { margin-top: 56px; padding: clamp(28px, 5vw, 46px); color: #fff; background: radial-gradient(circle at 92% 10%, rgba(115,220,205,.26), transparent 18rem), linear-gradient(135deg, var(--navy), #0a544d); border-radius: 25px; }
.takeaway .eyebrow { color: var(--mint); }
.takeaway h2 { color: #fff; }
.takeaway p:last-child { margin-bottom: 0; color: #d9f3ee; }

.desktop-aside { position: sticky; top: 20px; }
.aside-card { padding: 22px; background: rgba(255,255,255,.88); border: 1px solid rgba(7,29,59,.1); border-radius: 22px; box-shadow: 0 15px 40px rgba(7,29,59,.08); backdrop-filter: blur(14px); }
.aside-title { margin: 0 0 12px; color: var(--navy); font-weight: 900; }
.aside-card ol { margin: 0; padding-left: 20px; color: #60738a; font-size: .84rem; line-height: 1.45; }
.aside-card li { margin: 8px 0; padding-left: 3px; }
.aside-card a { text-decoration: none; }
.aside-card a:hover, .aside-card a.active { color: var(--green); font-weight: 800; }
.back-top { display: inline-block; margin-top: 16px; color: var(--green); font-size: .82rem; font-weight: 850; }
.mobile-toc { display: none; }
.site-footer { width: min(1180px, calc(100% - 32px)); margin: 0 auto 36px; color: #667d89; font-size: .8rem; text-align: center; }

@media (max-width: 900px) {
  .page-shell { grid-template-columns: minmax(0, 1fr); width: min(820px, calc(100% - 24px)); }
  .desktop-aside { display: none; }
  .mobile-toc { display: block; margin: 26px 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
  .mobile-toc button { width: 100%; padding: 15px 17px; display: flex; justify-content: space-between; color: var(--navy); background: #f5fbf9; border: 0; font: inherit; font-weight: 850; cursor: pointer; }
  .mobile-toc ol { display: none; margin: 0; padding: 10px 18px 15px 42px; background: #fff; }
  .mobile-toc.open ol { display: block; }
  .mobile-toc.open button span { transform: rotate(45deg); }
  .mobile-toc li { margin: 6px 0; }
  .guide-heading { grid-template-columns: 1fr; gap: 10px; }
  .guide-slide { grid-template-columns: minmax(0,1fr); }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 20px; }
  .site-header { width: calc(100% - 20px); min-height: 58px; margin: 10px auto 14px; border-radius: 18px; }
  .preview-label { display: none; }
  .page-shell { width: calc(100% - 20px); margin-bottom: 28px; }
  .article-card { padding: 24px 16px; border-radius: 22px; }
  h1 { font-size: clamp(2rem, 10vw, 2.65rem); }
  h2 { font-size: clamp(1.65rem, 8vw, 2.15rem); }
  .lead { font-size: 1.03rem; }
  section { padding-top: 44px; }
  .article-visual { margin-inline: -7px; padding: 7px; border-radius: 19px; }
  .article-visual img { border-radius: 13px; }
  .character-grid { grid-template-columns: 1fr 1fr; }
  .flow-line { align-items: stretch; flex-direction: column; }
  .flow-line i { transform: rotate(90deg); line-height: 1; }
  .flow-line button { width: 100%; }
  .comparison-cards, .step-list { grid-template-columns: 1fr; }
  .note { padding: 19px; }
  .takeaway { margin-inline: -7px; padding: 26px 22px; border-radius: 20px; }
  .visual-guide { margin-inline: -7px; padding-top: 28px; }
  .guide-heading { padding-inline: 7px; }
  .guide-heading h2 { font-size: 1.8rem; }
  .guide-shell { border-radius: 21px; }
  .guide-slide { padding: 24px 16px 20px; gap: 21px; }
  .guide-copy h3 { font-size: 1.72rem; }
  .guide-copy > p { font-size: .91rem; }
  .guide-demo { min-height: 260px; padding: 15px; border-radius: 18px; }
  .product-demo { grid-template-columns: 1.08fr .92fr; }
  .eligibility-demo { grid-template-columns: 1fr 1fr; }
  .eligibility-card { padding: 14px 12px; }
  .product-card { padding: 13px; }
  .product-card::before { width: 28px; height: 28px; top: 11px; right: 11px; }
  .product-card strong { font-size: .82rem; }
  .credit-demo, .route-demo { gap: 5px; }
  .value-node, .route-demo > div { min-height: 118px; }
  .value-node strong, .route-demo > div strong { font-size: .68rem; }
  .guide-swipe-hint { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal-ready { opacity: 1; transform: none; }
}
