/* Freedom Series (/freedom): a course handout. A dark manifesto hero, then one paper column like a shared doc,
   with a diagram in every module. Prints as a clean handout: one module per page, video links in place of players. */
.fs { --paper: #fff; --desk: #f3f1ec; --gold-ink: #8a5a00; --gold-soft: #fff6e0; --red-soft: #fdecea; --green-soft: #ecf7f0;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif; background: var(--desk); padding-bottom: 64px; }

/* hero */
.fs-hero { position: relative; overflow: hidden; color: #fff; padding: 72px 0 124px;
  background: radial-gradient(900px 420px at 85% -10%, rgba(242,180,58,.28), transparent 60%),
              radial-gradient(700px 380px at -10% 110%, rgba(20,138,79,.25), transparent 60%),
              linear-gradient(160deg, #0b1f33 0%, var(--navy) 55%, var(--navy-2) 100%); }
.fs-hero::after { content: "★"; position: absolute; right: -40px; bottom: -150px; font-size: 440px; line-height: 1; color: rgba(242,180,58,.07); pointer-events: none; }
.fs-hero .wrap { position: relative; z-index: 1; }
.fs-kicker { display: inline-block; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 800; color: var(--gold);
  border: 1px solid rgba(242,180,58,.5); border-radius: 999px; padding: 5px 12px; margin-bottom: 18px; }
.fs-hero h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(2.2rem, 5.4vw, 4rem); line-height: 1.08; max-width: 900px; letter-spacing: -.02em; }
.fs-hero h1 em { color: var(--gold); }
.fs-hero .lead { font-size: 1.2rem; color: #d7e3ef; max-width: 700px; }
.fs-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 6px; }
.fs-meta span { font-size: .85rem; font-weight: 600; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 5px 12px; }
.btn.fs-gold { background: var(--gold); color: #1b1300; }
.btn.fs-gold:hover { background: #ffc85a; }
.fs-hero .btn.ghost { color: #fff; border-color: rgba(255,255,255,.7); }

/* the paper */
.fs-paper { position: relative; width: min(860px, 100% - 24px); margin: -76px auto 0; background: var(--paper); border-radius: 6px;
  box-shadow: 0 1px 3px rgba(16,35,58,.08), 0 24px 60px rgba(16,35,58,.12); padding: 24px clamp(18px, 6vw, 72px) 48px; }
.doc-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.fs-paper section { padding: 36px 0; border-bottom: 1px solid var(--line); }
.fs-paper section:last-child { border-bottom: 0; padding-bottom: 0; }
.fs-paper h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(1.6rem, 3.4vw, 2.2rem); color: var(--navy); }
.fs-paper h3 { font-family: var(--serif); color: var(--navy); }
.fs-paper h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-ink); margin: 30px 0 10px; }
.fs-paper p, .fs-paper li, .fs-paper dd { font-size: 1.04rem; line-height: 1.7; }
.manifesto .big { font-family: var(--serif); font-size: clamp(1.3rem, 2.6vw, 1.6rem); line-height: 1.45; color: var(--navy); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
.pillars div { background: var(--bg-2); border-radius: 12px; padding: 16px; font-weight: 700; color: var(--navy); }
.pillars b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--gold); font-family: var(--serif); margin-bottom: 8px; }
.pillars span { display: block; font-weight: 400; font-size: .92rem; color: var(--ink-2); margin-top: 4px; line-height: 1.5; }

/* how to take it */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: st; }
.fs-paper .steps li { counter-increment: st; border: 1px solid var(--line); border-radius: 12px; padding: 14px; font-size: .95rem; line-height: 1.5; color: var(--ink-2); }
.steps li::before { content: counter(st); display: block; font-family: var(--serif); font-weight: 700; font-size: 1.6rem; color: var(--gold); }
.steps b { display: block; color: var(--navy); }
.prog { display: flex; align-items: center; gap: 12px; margin-top: 18px; font-size: .9rem; color: var(--ink-2); }
.prog-bar { flex: 0 0 160px; height: 10px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.prog-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--green), var(--gold)); transition: width .4s; }

/* course map */
.map { display: grid; gap: 12px; margin-top: 16px; }
.map-track { border: 1px solid var(--line); border-left: 5px solid var(--navy); border-radius: 12px; padding: 14px 16px; }
.map-track.t-system { border-left-color: var(--green); }
.map-track.t-build { border-left-color: var(--gold); }
.map-track small { display: block; text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; font-weight: 700; color: var(--muted); }
.map-track > b { font-family: var(--serif); font-size: 1.2rem; color: var(--navy); }
.map-track ol { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 2px 18px; }
.fs-paper .map-track li { font-size: .95rem; line-height: 1.3; }
.map-track a { display: flex; align-items: center; gap: 10px; padding: 6px 0; color: var(--ink); text-decoration: none; }
.map-track a:hover { color: var(--green-2); }
.map-n { position: relative; z-index: 1; flex: 0 0 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #fff;
  border: 2px solid var(--navy); color: var(--navy); font-weight: 800; font-size: .82rem; }
.t-system .map-n { border-color: var(--green); color: var(--green-2); }
.t-build .map-n { border-color: var(--gold); color: var(--gold-ink); }
.map-track em { margin-left: auto; font-style: normal; font-size: .78rem; color: var(--muted); white-space: nowrap; }
.tick { display: none; font-style: normal; font-weight: 800; color: var(--green); }
a.is-done .tick { display: inline; }
a.is-done .map-n { background: var(--green); border-color: var(--green); color: #fff; }

/* tracks and modules */
.fs-paper section.track { border-bottom: 0; padding-bottom: 0; }
.track-head { background: var(--navy); color: #fff; border-radius: 14px; padding: 22px 24px; }
.track-head small { color: var(--gold); text-transform: uppercase; letter-spacing: .1em; font-weight: 800; font-size: .74rem; }
.fs-paper .track-head h2 { color: #fff; margin: 4px 0 6px; }
.fs-paper .track-head p { color: #d7e3ef; margin: 0; }
#track-system .track-head { background: linear-gradient(135deg, #0d3d2a, var(--green-2)); }
#track-build .track-head { background: linear-gradient(135deg, #4a3200, var(--gold-ink)); }
#track-build .track-head small { color: #ffe3a3; }
.mod { padding: 40px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 76px; }
.mod-top { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.mod-n { color: var(--gold-ink); }
.fs-paper .mod-title { font-size: clamp(1.6rem, 3.6vw, 2.3rem); font-weight: 700; margin: 8px 0 10px; }
.fs-paper .hook { font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 2.4vw, 1.35rem); line-height: 1.5; color: var(--ink-2);
  border-left: 4px solid var(--gold); padding-left: 16px; margin: 0 0 20px; }
.vid { margin: 0 0 22px; }
.vid-play, .vid iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; overflow: hidden; background: #000; }
.vid-play { position: relative; padding: 0; cursor: pointer; }
.vid-play img { width: 100%; height: 100%; object-fit: cover; opacity: .88; transition: opacity .2s; }
.vid-play:hover img { opacity: 1; }
.vid-btn { position: absolute; inset: 0; margin: auto; width: 76px; height: 54px; display: grid; place-items: center; border-radius: 14px;
  background: rgba(15,42,68,.88); color: #fff; font-size: 1.5rem; transition: background .2s; }
.vid-play:hover .vid-btn, .vid-play:focus-visible .vid-btn { background: var(--green); }
.fs-paper .vid-cap { font-size: .85rem; line-height: 1.5; color: var(--muted); margin: 8px 0 0; overflow-wrap: anywhere; }
.learn { background: var(--gold-soft); border: 1px solid #f5dca0; border-radius: 12px; padding: 14px 18px; }
.learn b { color: var(--gold-ink); }
.learn ul { margin: 6px 0 0; padding-left: 20px; }
.fs-paper .learn li { font-size: .98rem; }
.ideas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.idea { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.idea b { color: var(--navy); }
.fs-paper .idea p { margin: 4px 0 0; font-size: .97rem; line-height: 1.55; }
.terms { margin: 0; display: grid; grid-template-columns: minmax(140px, 30%) 1fr; gap: 8px 16px; }
.terms dt { font-weight: 700; color: var(--navy); }
.terms dd { margin: 0; }
.try, .biz { border-radius: 12px; padding: 16px 18px; margin-top: 22px; }
.try { background: var(--green-soft); border-left: 5px solid var(--green); }
.try b { color: var(--green-2); }
.biz { background: var(--bg-2); border-left: 5px solid var(--navy); }
.biz b { color: var(--navy); }
.fs-paper .try p, .fs-paper .biz p { margin: 4px 0 0; }
.check details { border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; margin-bottom: 8px; }
.check summary { cursor: pointer; font-weight: 600; color: var(--navy); }
.fs-paper .check details p { margin: 8px 0 0; color: var(--ink-2); }
.fs-paper .cites { font-size: .88rem; color: var(--muted); margin-top: 18px; }
.mod-end { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.done { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy); background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 16px; cursor: pointer; }
.done input { width: 18px; height: 18px; accent-color: var(--green); }
.mod.is-done .done { background: var(--green-soft); border-color: #b7e0c7; color: var(--green-2); }
.next { font-weight: 700; text-decoration: none; }

/* figures */
.fig { margin: 26px 0; padding: 20px; background: #fcfbf7; border: 1px solid #e7e1d3; border-radius: 14px; }
.fig figcaption { font-size: .98rem; line-height: 1.55; color: var(--ink-2); margin-bottom: 16px; }
.fig figcaption b { display: block; font-family: var(--serif); font-size: 1.3rem; color: var(--navy); }
.fig figcaption b::before { content: "Diagram"; display: block; font-family: Inter, system-ui, sans-serif; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.fs-paper .fig .src { font-size: .78rem; line-height: 1.5; color: var(--muted); margin: 14px 0 0; }
.fs-paper .fig li { font-size: .9rem; line-height: 1.45; }

.tl { list-style: none; padding: 0; margin: 0; position: relative; display: grid; gap: 14px; }
.tl::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 3px; border-radius: 3px; background: linear-gradient(var(--gold), var(--green)); }
.fs-paper .tl li { position: relative; padding-left: 32px; color: var(--ink-2); }
.tl li::before { content: ""; position: absolute; left: 0; top: 4px; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 3px solid var(--navy); }
.tl .yr { font-weight: 800; color: var(--gold-ink); font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; margin-right: 8px; }
.tl b { color: var(--navy); margin-right: 6px; }
.tl b::after { content: "."; }
.ruler { display: grid; gap: 8px; margin-top: 20px; }
.ruler div { display: grid; grid-template-columns: 170px 1fr; align-items: center; gap: 4px 12px; font-size: .86rem; font-weight: 600; color: var(--navy); }
.ruler i { display: block; height: 18px; border-radius: 4px; background-color: var(--navy);
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.55) 0 1px, transparent 1px 10%); }
.ruler div + div i { background-color: var(--gold-ink); }
.ruler em { grid-column: 2; font-style: normal; font-size: .8rem; color: var(--gold-ink); }

.ledger { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border: 2px solid var(--navy); border-radius: 12px; overflow: hidden; }
.lg-head, .lg-foot { grid-column: 1 / -1; padding: 10px 14px; text-align: center; }
.lg-head { background: var(--navy); color: #fff; font-weight: 700; }
.lg-foot { background: var(--bg-2); color: var(--ink-2); font-size: .9rem; border-top: 1px solid var(--line); }
.lg-col { padding: 14px; text-align: center; }
.lg-col + .lg-col { border-left: 1px dashed var(--line); }
.lg-col small { display: block; text-transform: uppercase; letter-spacing: .08em; font-size: .68rem; font-weight: 700; color: var(--muted); }
.lg-col b { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--navy); margin: 4px 0; }
.lg-col span { font-size: .85rem; font-weight: 600; color: var(--green-2); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.split div { border-radius: 12px; padding: 12px 14px; font-size: .9rem; line-height: 1.5; }
.split b { display: block; margin-bottom: 2px; }
.split-a { background: var(--red-soft); color: #6b1d14; }
.split-a b { color: var(--red); }
.split-b { background: var(--green-soft); color: #0d4a2b; }
.split-b b { color: var(--green-2); }
.stack { display: flex; height: 24px; border-radius: 6px; overflow: hidden; margin-top: 18px; }
.s-cash { background: var(--gold); }
.s-bank { background: var(--navy); }
.stack-key { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 6px; font-size: .84rem; color: var(--ink-2); }
.stack-key i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; }

.pocket { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pk { border-radius: 12px; padding: 14px; font-size: .92rem; line-height: 1.5; }
.pk b { display: block; font-family: var(--serif); font-size: 1.3rem; }
.pk.in { background: var(--green-soft); color: #0d4a2b; }
.pk.in b { color: var(--green-2); }
.pk.out { background: var(--red-soft); color: #6b1d14; }
.pk.out b { color: var(--red); }
.flowline { display: flex; align-items: center; gap: 6px; margin: 8px 0 10px; }
.flowline i { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; color: #fff; font-style: normal; font-weight: 800; font-size: .85rem; animation: fs-flow 2.4s infinite; }
.flowline i:nth-of-type(2) { animation-delay: .3s; }
.flowline i:nth-of-type(3) { animation-delay: .6s; }
.in .flowline i { background: var(--green); }
.out .flowline i { background: var(--red); }
.flowline em { font-style: normal; font-weight: 700; font-size: .78rem; border: 2px dashed currentColor; border-radius: 8px; padding: 2px 8px; }
@keyframes fs-flow { 0%, 100% { opacity: .35; transform: translateX(0); } 50% { opacity: 1; transform: translateX(4px); } }
@media (prefers-reduced-motion: reduce) { .flowline i { animation: none; } }
.fs-paper .pk-note { font-size: .9rem; color: var(--ink-2); margin: 12px 0 0; }

.quad { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.q-side { text-align: center; font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 6px; border-radius: 8px; }
.q-side.l { background: var(--red-soft); color: var(--red); }
.q-side.r { background: var(--green-soft); color: var(--green-2); }
.q { background: #fff; border: 2px solid var(--line); border-radius: 12px; padding: 14px; text-align: center; font-weight: 700; color: var(--navy); }
.q.r { border-color: #b7e0c7; }
.q b { display: block; font-family: var(--serif); font-size: 2.2rem; line-height: 1; }
.q.l b { color: var(--red); }
.q.r b { color: var(--green); }
.q span { display: block; font-weight: 500; font-size: .84rem; color: var(--muted); }
.taxorder { display: grid; gap: 10px; margin-top: 16px; }
.taxorder div { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.taxorder small { flex: 0 0 100%; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.taxorder span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: .86rem; font-weight: 600; }
.taxorder span + span::before { content: "→ "; color: var(--muted); }

.stairs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-items: end; }
.fs-paper .stairs li { background: #fff; border: 2px solid var(--navy); border-radius: 12px; padding: 14px; color: var(--ink-2); }
.stairs li:nth-child(1) { min-height: 210px; }
.stairs li:nth-child(2) { min-height: 250px; border-color: var(--green); }
.stairs li:nth-child(3) { min-height: 290px; border-color: var(--gold); background: var(--gold-soft); }
.lv { display: block; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.stairs b { display: block; font-family: var(--serif); font-size: 1.3rem; color: var(--navy); margin-bottom: 4px; }

.loopwrap small { display: block; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 4px 0 8px; }
.loop { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 0; }
.fs-paper .loop li { position: relative; background: #fff; border: 2px solid var(--green); color: var(--green-2); font-weight: 700; font-size: .86rem; line-height: 1.3; border-radius: 10px; padding: 8px 12px; }
.loop li + li { margin-left: 26px; }
.loop li + li::before { content: "→"; position: absolute; left: -20px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 800; }
.loop::after { content: "↺ and around again"; margin-left: 12px; font-size: .82rem; font-weight: 600; color: var(--muted); }
.fs-paper .loop.broken li { border-color: var(--red); color: var(--red); }
.fs-paper .loop.broken li:last-child { background: var(--red); color: #fff; }
.loop.broken::after { content: none; }
.fs-paper .loop.cycle li { border-color: var(--navy); color: var(--navy); }
.fs-paper .loop.cycle li:nth-child(2) { background: var(--green-soft); }
.fs-paper .loop.cycle li:nth-child(n+4) { background: var(--red-soft); }
.loop.cycle::after { content: "↺ then the next wave of lending starts it again"; }
.stat2, .facts3 { display: grid; gap: 10px; margin-top: 12px; }
.stat2 { grid-template-columns: 1fr 1fr; }
.facts3 { grid-template-columns: repeat(3, 1fr); }
.stat2 div, .facts3 div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: .88rem; line-height: 1.45; color: var(--ink-2); }
.stat2 small { display: block; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.stat2 b { display: block; font-family: var(--serif); font-size: 1.2rem; color: var(--navy); }
.facts3 b { display: block; font-family: var(--serif); font-size: 1.5rem; color: var(--gold-ink); }

.su { width: 100%; border-collapse: separate; border-spacing: 0 6px; font-size: .92rem; }
.su th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; padding: 4px 12px; }
.su th:first-child { color: var(--green-2); }
.su th:last-child { color: var(--red); }
.su td { padding: 10px 12px; line-height: 1.45; vertical-align: top; width: 50%; }
.su td:first-child { background: var(--green-soft); border-radius: 10px 0 0 10px; }
.su td:last-child { background: var(--red-soft); border-radius: 0 10px 10px 0; color: #6b1d14; }

.penny { display: block; width: 100%; max-width: 620px; margin: 0 auto; font-family: Inter, system-ui, sans-serif; }
.pn-lo { fill: #c9d4e0; }
.pn-up { fill: var(--green); }
.pn-line { stroke: var(--gold-ink); stroke-width: 1.5; stroke-dasharray: 5 4; }
.pn-grid { stroke: #ece7da; }
.pn-ax { font-size: 11px; fill: var(--muted); }
.pn-lab { font-size: 12px; font-weight: 600; fill: var(--ink-2); }
.pn-strong { font-weight: 800; fill: var(--green-2); }
.fs-paper .pn-note { text-align: center; font-size: .9rem; color: var(--ink-2); margin: 6px 0 0; }

.road { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; counter-reset: rd; }
.fs-paper .road li { counter-increment: rd; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; font-size: .86rem; color: var(--ink-2); }
.road li::before { content: counter(rd); display: grid; place-items: center; width: 26px; height: 26px; margin-bottom: 6px; border-radius: 50%; background: var(--navy); color: var(--gold); font-weight: 800; font-size: .8rem; }
.road b { display: block; color: var(--navy); font-size: .96rem; }
.accts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; font-size: .88rem; }
.accts span { font-weight: 700; color: var(--muted); margin-right: 4px; }
.accts b { background: var(--navy); color: #fff; border-radius: 8px; padding: 6px 12px; }
.accts b:first-of-type { background: var(--green); }

.funnel { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; justify-items: center; }
.fs-paper .funnel li { width: var(--w); background: linear-gradient(90deg, var(--navy), var(--navy-2)); color: #d7e3ef; border-radius: 10px; padding: 12px 16px; font-size: .88rem; text-align: center; }
.fs-paper .funnel li:last-child { background: linear-gradient(90deg, var(--green-2), var(--green)); color: #fff; }
.funnel b { display: block; color: #fff; font-size: .98rem; }
.fs-paper .loopback { text-align: center; font-size: .9rem; font-weight: 600; color: var(--ink-2); margin: 10px 0 0; }

.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin-top: 16px; background: #fff; border: 1px dashed #d9cfb5; border-radius: 12px; padding: 14px; }
.calc > b { grid-column: 1 / -1; color: var(--navy); }
.calc label { display: grid; gap: 4px; font-size: .84rem; font-weight: 600; color: var(--ink-2); }
.calc input { width: 100%; font: inherit; font-size: 1rem; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; }
.calc input::placeholder { color: #a9b4c0; }
.calc input:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.calc output { grid-column: 1 / -1; display: block; background: var(--gold-soft); border-radius: 8px; padding: 10px 12px; font-size: .95rem; line-height: 1.5; color: var(--navy); }
.calc output strong { font-family: var(--serif); font-size: 1.25rem; }

/* back matter */
.terms.gl dt a { margin-left: 6px; font-size: .72rem; font-weight: 600; }
.thinkers { columns: 2; column-gap: 28px; padding-left: 18px; }
.fs-paper .thinkers li { font-size: .95rem; line-height: 1.5; margin-bottom: 6px; break-inside: avoid; }
.disclaim { color: var(--ink-2); }
.fs-paper .finish { text-align: center; }
.fs-paper .finish p { max-width: 560px; margin-inline: auto; }
.finish .actions { justify-content: center; }

@media (max-width: 760px) {
  .fs-hero { padding: 48px 0 100px; }
  .pillars, .ideas, .pocket, .split, .stairs, .stat2, .facts3, .calc { grid-template-columns: 1fr; }
  .steps, .road { grid-template-columns: 1fr 1fr; }
  .stairs li { min-height: 0 !important; }
  .terms { grid-template-columns: 1fr; gap: 2px; }
  .terms dd { margin-bottom: 10px; }
  .ruler div { grid-template-columns: 1fr; }
  .ruler em { grid-column: 1; }
  .thinkers { columns: 1; }
  .fs-paper .funnel li { width: 100%; }
  .pn-ax { font-size: 16px; }
  .pn-lab { font-size: 17px; }
}
@media (max-width: 440px) {
  .steps, .road, .ledger { grid-template-columns: 1fr; }
  .lg-col + .lg-col { border-left: 0; border-top: 1px dashed var(--line); }
  .prog { flex-direction: column; align-items: flex-start; }
}

@media print {
  .top, .foot, .app-hint, .actions, .vid-play, .vid iframe, .prog, .mod-end, .calc { display: none !important; }
  body, .fs { background: #fff; }
  .fs { padding: 0; }
  .fs-hero { padding: 0 0 12px; background: none; color: var(--ink); }
  .fs-hero::after { display: none; }
  .fs-hero h1 { color: var(--navy); }
  .fs-hero .lead { color: var(--ink-2); }
  .fs-meta span { background: none; border-color: var(--line); color: var(--ink); }
  .fs-paper { width: 100%; margin: 0; padding: 0; box-shadow: none; }
  /* paper is narrower than the phone breakpoint, so put the desktop grids back */
  .pillars, .facts3, .stairs { grid-template-columns: repeat(3, 1fr); }
  .steps, .road { grid-template-columns: repeat(4, 1fr); }
  .ideas, .pocket, .split, .stat2 { grid-template-columns: 1fr 1fr; }
  .terms { grid-template-columns: minmax(120px, 28%) 1fr; gap: 6px 14px; }
  .terms dd { margin-bottom: 0; }
  .track, .mod { break-before: page; }
  .track-head + .mod { break-before: avoid; }
  .fig, .idea, .check details, .ledger, .quad, .track-head, .try, .biz, .map-track { break-inside: avoid; }
  .track-head, .fig, .learn, .try, .biz, .stack, .funnel li, .accts b, .road li::before, .map-n { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .fs-paper .vid-cap { color: var(--ink); }
  .fs-paper p, .fs-paper li, .fs-paper dd { font-size: 10.5pt; }
}
