/* CalmaLink · Student Finance hub v2. Serious topic, inviting presentation: numbers that count up, a flow diagram,
   three polished tools, a timeline that fills as you scroll, myth cards that flip. Scoped with the sf- prefix. */
.sf {
  --sf-navy: #16354B; --sf-deep: #0a1e33; --sf-ink: #0b1726; --sf-teal: #167E79; --sf-mint: #9fe3c9; --sf-amber: #f2c35a;
  --sf-muted: #4b5d72; --sf-line: #dbe5ee; --sf-paper: #f6f9fb; --sf-mintbg: #e8f5ef; --sf-white: #fff;
  color: var(--sf-navy);
}
.sf, .sf *, .sf *::before, .sf *::after { box-sizing: border-box; }
.sf [hidden] { display: none !important; }
.sf p { margin: 0; }
.sf h2, .sf h3 { margin: 0; text-wrap: balance; }
.sf-band { padding-block: clamp(56px, 8vw, 96px); }
.sf-tint { background: var(--sf-paper); }
.sf-dark { background: radial-gradient(70% 90% at 70% 40%, #1e4b74 0%, #11314f 55%, var(--sf-deep) 100%); color: #fff; }
.sf-c { max-width: 1180px; margin: 0 auto; padding-inline: 20px; }
.sf-head { display: grid; gap: 10px; max-width: 760px; margin-bottom: clamp(24px, 3vw, 36px); }
.sf-eyebrow { font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--sf-teal); }
.sf-dark .sf-eyebrow { color: var(--sf-mint); }
.sf-head h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); line-height: 1.07; font-weight: 800; letter-spacing: -.02em; }
.sf-head p:not(.sf-eyebrow) { color: var(--sf-muted); font-size: 1.06rem; max-width: 62ch; }
.sf-dark .sf-head p:not(.sf-eyebrow) { color: #c6d6e5; }
.sf-fine { font-size: .8rem; color: var(--sf-muted); }

/* reveal on view */
.sf-rv { opacity: 0; transform: translateY(26px); transition: opacity .7s ease var(--d, 0s), transform .7s cubic-bezier(.2, .8, .2, 1) var(--d, 0s); }
.sf-rv.in { opacity: 1; transform: none; }

/* 1 · essentials */
.sf-intro { background: linear-gradient(180deg, #eef7f3 0%, #fff 100%); }
.sf-keys { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sf-key { position: relative; background: var(--sf-white); border: 1px solid var(--sf-line); border-radius: 22px; padding: 26px 24px; display: grid; gap: 8px; align-content: start; box-shadow: 0 16px 36px rgba(11, 23, 38, .06); }
.sf-kico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.6rem; background: var(--sf-mintbg); }
.sf-key small { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--sf-teal); }
.sf-key b { font-size: clamp(2rem, 3.6vw, 2.7rem); line-height: 1; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.sf-pre { display: block; font-size: .42em; letter-spacing: 0; color: var(--sf-muted); margin-bottom: 4px; }
.sf-key p { color: var(--sf-muted); }
@media (max-width: 860px) { .sf-keys { grid-template-columns: 1fr; } }

/* 2 · flow diagram */
.sf-flowgrid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.sf-flowgrid .sf-head { margin: 0; }
.sf-flow { width: 100%; height: auto; overflow: visible; }
.sf-node rect { fill: var(--sf-white); stroke: var(--sf-line); stroke-width: 1.5; }
.sf-node text { text-anchor: middle; font-family: inherit; font-weight: 800; font-size: 16px; fill: var(--sf-navy); }
.sf-node text.sf-sub { font-weight: 600; font-size: 12.5px; fill: var(--sf-muted); }
.sf-you rect { fill: #fff8e6; stroke: var(--sf-amber); }
.sf-later rect { fill: var(--sf-mintbg); stroke: var(--sf-mint); }
.sf-arrow { fill: none; stroke: var(--sf-navy); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 7 9; animation: sf-flow 1.4s linear infinite; }
.sf-back { stroke: var(--sf-teal); animation-duration: 1.9s; }
@keyframes sf-flow { to { stroke-dashoffset: -32; } }
.sf-tag { font-family: inherit; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; fill: var(--sf-teal); }
.sf-tagb { fill: var(--sf-teal); }
@media (max-width: 860px) { .sf-flowgrid { grid-template-columns: 1fr; } }

/* tools: shared */
.sf-tool { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 34px); background: var(--sf-white); border: 1px solid var(--sf-line);
  border-radius: 26px; padding: clamp(18px, 3vw, 34px); box-shadow: 0 24px 50px rgba(11, 23, 38, .08); }
@media (max-width: 900px) { .sf-tool { grid-template-columns: 1fr; } }
.sf-q { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.sf-q legend { padding: 0; margin-bottom: 10px; font-weight: 800; font-size: 1rem; }
.sf-opt-l { font-weight: 600; color: var(--sf-muted); font-size: .88rem; }
.sf-big3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.sf-card { position: relative; cursor: pointer; }
.sf-card input, .sf-seg input, .sf-chips input { position: absolute; opacity: 0; pointer-events: none; }
.sf-card > span { display: grid; gap: 2px; justify-items: center; text-align: center; padding: 16px 10px; border-radius: 18px; border: 1.5px solid var(--sf-line); background: var(--sf-paper); transition: border-color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease; height: 100%; }
.sf-card i { font-style: normal; font-size: 1.8rem; line-height: 1.2; }
.sf-card b { font-size: .95rem; }
.sf-card small { font-size: .78rem; color: var(--sf-muted); }
.sf-card:hover > span { transform: translateY(-2px); }
.sf-card input:checked + span { border-color: var(--sf-navy); background: #eef4fb; box-shadow: 0 10px 22px rgba(19, 50, 79, .12); }
.sf-card input:focus-visible + span, .sf-seg input:focus-visible + span, .sf-chips input:focus-visible + span { outline: 3px solid var(--sf-amber); outline-offset: 2px; }
.sf-seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 14px; background: var(--sf-paper); border: 1px solid var(--sf-line); }
.sf-seg label { position: relative; cursor: pointer; }
.sf-seg span { display: inline-block; padding: 9px 14px; border-radius: 10px; font-weight: 700; font-size: .92rem; transition: background .2s ease, color .2s ease; }
.sf-seg input:checked + span { background: #102F48; color: #fff; }
.sf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sf-chips label { position: relative; cursor: pointer; }
.sf-chips span { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--sf-line); background: var(--sf-white); font-weight: 700; font-size: .9rem; transition: all .2s ease; }
.sf-chips input:checked + span { border-color: var(--sf-teal); background: var(--sf-mintbg); color: #0f5c47; }
@media (max-width: 520px) { .sf-big3 { grid-template-columns: 1fr; } .sf-card > span { grid-template-columns: auto 1fr; justify-items: start; text-align: left; column-gap: 12px; } .sf-card i { grid-row: span 2; } }

/* tool 1 · results */
.sf-res { display: grid; gap: 12px; align-content: start; }
.sf-hero { border-radius: 20px; background: radial-gradient(120% 140% at 0% 0%, #1e4b74 0%, #102F48 60%); color: #fff; padding: 20px 22px; display: grid; gap: 4px; }
.sf-hero small { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--sf-mint); }
.sf-hero b { font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1; font-weight: 800; color: var(--sf-amber); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.sf-hero span { color: #d5e2ef; font-size: .92rem; }
.sf-terms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sf-terms div { border-radius: 14px; border: 1px dashed #c4d4e3; padding: 10px 12px; display: grid; gap: 2px; background: #fbfdff; }
.sf-terms small { font-size: .74rem; font-weight: 700; color: var(--sf-muted); }
.sf-terms b { font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.sf-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sf-mini div { border-radius: 14px; background: var(--sf-mintbg); padding: 12px 14px; display: grid; gap: 2px; }
.sf-mini b { font-size: 1.35rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.sf-mini span { font-size: .82rem; color: var(--sf-muted); }
.sf-total { border-radius: 16px; border: 1px solid var(--sf-line); padding: 14px 16px; display: grid; gap: 10px; }
.sf-total-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; font-weight: 700; color: var(--sf-muted); font-size: .9rem; }
.sf-total-h b { font-size: 1.5rem; color: var(--sf-navy); font-variant-numeric: tabular-nums; }
.sf-stack { display: flex; gap: 2px; height: 14px; border-radius: 7px; overflow: hidden; background: var(--sf-paper); }
.sf-stack i { display: block; height: 100%; transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.sf-sm { background: var(--sf-amber); }
.sf-st { background: #102F48; }
.sf-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .84rem; color: var(--sf-muted); }
.sf-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: 0; }
.sf-legend b { color: var(--sf-navy); font-variant-numeric: tabular-nums; }
.sf-extras { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.sf-extras li { display: none; border-radius: 12px; padding: 10px 12px; font-size: .88rem; background: #fff8e6; border: 1px solid #f4dea0; }
.sf-extras li.on { display: block; animation: sf-pop .35s ease; }
.sf-extras b { color: #8a5a00; }
@keyframes sf-pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.sf-bump { animation: sf-bump .35s ease; }
@keyframes sf-bump { 40% { transform: scale(1.05); } }

/* tool 2 · repayment calculator */
.sf-calc { background: var(--sf-white); border: 1px solid var(--sf-line); border-radius: 26px; padding: clamp(18px, 3vw, 34px); box-shadow: 0 24px 50px rgba(11, 23, 38, .08); display: grid; gap: clamp(18px, 3vw, 28px); }
.sf-calc-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(18px, 3vw, 32px); align-items: center; }
.sf-salbox label { font-weight: 800; }
.sf-salary { display: block; margin-top: 6px; font-size: clamp(2.6rem, 6vw, 3.6rem); line-height: 1; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.sf-salm { display: block; margin-top: 4px; color: var(--sf-muted); font-size: .92rem; }
.sf-range { -webkit-appearance: none; appearance: none; width: 100%; height: 12px; margin-top: 18px; border-radius: 6px; cursor: pointer;
  background: linear-gradient(90deg, var(--sf-teal) 0%, var(--sf-amber) var(--fill, 23%), #e3ebf2 var(--fill, 23%)); }
.sf-range::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 4px solid var(--sf-navy); box-shadow: 0 4px 12px rgba(11, 23, 38, .25); }
.sf-range::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 4px solid var(--sf-navy); }
.sf-range:focus-visible { outline: 3px solid var(--sf-amber); outline-offset: 4px; }
.sf-ticks { display: flex; justify-content: space-between; margin-top: 8px; font-size: .8rem; color: var(--sf-muted); font-variant-numeric: tabular-nums; }
.sf-bigpay { border-radius: 22px; padding: 22px; color: #fff; background: radial-gradient(120% 140% at 100% 0%, #1e4b74 0%, #102F48 60%); display: grid; gap: 4px; }
.sf-bigpay small { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--sf-mint); }
.sf-bigpay > b { font-size: clamp(2.6rem, 6vw, 3.8rem); line-height: 1; font-weight: 800; color: var(--sf-amber); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.sf-bigpay > span { color: #d5e2ef; font-size: .92rem; }
.sf-mini-d { margin-top: 10px; }
.sf-mini-d div { background: rgba(255, 255, 255, .08); }
.sf-mini-d b { color: #fff; }
.sf-mini-d span { color: #c6d6e5; }
@media (max-width: 860px) { .sf-calc-top { grid-template-columns: 1fr; } }
.sf-chartbox { display: grid; gap: 8px; }
.sf-chart-t { font-weight: 800; }
.sf-chart { position: relative; }
.sf-chart svg { width: 100%; height: auto; display: block; overflow: visible; touch-action: pan-y; }
.sf-chart .grid line { stroke: #e8eef4; stroke-width: 1; }
.sf-chart .axis text { font-family: inherit; font-size: 12px; fill: var(--sf-muted); font-variant-numeric: tabular-nums; }
.sf-chart .area { fill: url(#sf-ar); }
.sf-chart .line { fill: none; stroke: var(--sf-navy); stroke-width: 2; stroke-linejoin: round; }
.sf-chart .thr { stroke: var(--sf-teal); stroke-width: 1.5; stroke-dasharray: 4 4; }
.sf-chart .thrl { font-family: inherit; font-size: 12px; font-weight: 700; fill: var(--sf-teal); }
.sf-chart .mk { fill: var(--sf-amber); stroke: #fff; stroke-width: 2.5; }
.sf-chart .mkl { stroke: var(--sf-amber); stroke-width: 1.5; stroke-dasharray: 3 3; }
.sf-chart .hv { stroke: var(--sf-muted); stroke-width: 1; opacity: 0; }
.sf-chart .hvd { fill: var(--sf-navy); stroke: #fff; stroke-width: 2; opacity: 0; }
.sf-tip { position: absolute; pointer-events: none; transform: translate(-50%, calc(-100% - 12px)); background: var(--sf-ink); color: #fff; font-size: .82rem; font-weight: 700; padding: 6px 10px; border-radius: 8px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sf-tablebox summary { cursor: pointer; font-weight: 700; color: var(--sf-teal); font-size: .9rem; }
.sf-table { width: 100%; max-width: 520px; margin-top: 8px; border-collapse: collapse; font-size: .9rem; font-variant-numeric: tabular-nums; }
.sf-table th, .sf-table td { padding: 7px 8px; border-bottom: 1px solid var(--sf-line); text-align: right; }
.sf-table th:first-child, .sf-table td:first-child { text-align: left; }
.sf-table th { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--sf-muted); }
.sf-table tr.sf-now td { background: #fff7e3; font-weight: 800; }
.sf-calc-bottom { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(18px, 3vw, 32px); align-items: start; }
.sf-hundred { border-radius: 18px; background: var(--sf-paper); padding: 18px; display: grid; gap: 12px; }
.sf-hundred b { color: var(--sf-navy); }
.sf-dots { display: grid; grid-template-columns: repeat(20, 1fr); gap: 4px; max-width: 360px; }
.sf-dots i { aspect-ratio: 1; border-radius: 50%; background: #d7e6dd; transition: background .3s ease, transform .3s ease; }
.sf-dots i.on { background: var(--sf-amber); transform: scale(1.15); }
.sf-facts { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.sf-facts li { position: relative; padding-left: 30px; color: #33465b; font-size: .95rem; }
.sf-facts li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--sf-mintbg); color: var(--sf-teal); font-weight: 800; font-size: .75rem; display: grid; place-items: center; }
.sf-facts b { color: var(--sf-navy); }
@media (max-width: 860px) { .sf-calc-bottom { grid-template-columns: 1fr; } }

/* tool 3 · one question at a time */
.sf-wiz { position: relative; max-width: 760px; margin: 0 auto; background: var(--sf-white); border: 1px solid var(--sf-line); border-radius: 26px; padding: clamp(20px, 4vw, 40px); box-shadow: 0 24px 50px rgba(11, 23, 38, .08); min-height: 360px; display: grid; align-content: start; gap: 18px; }
.sf-wiz-top { display: grid; gap: 8px; }
.sf-wiz-count { font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--sf-teal); }
.sf-wiz-bar { height: 8px; border-radius: 4px; background: var(--sf-paper); overflow: hidden; }
.sf-wiz-bar i { display: block; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--sf-teal), var(--sf-amber)); transition: width .45s cubic-bezier(.2, .8, .2, 1); }
.sf-wiz-q { display: none; gap: 14px; }
.sf-wiz-q.on { display: grid; animation: sf-in .45s cubic-bezier(.2, .8, .2, 1); }
@keyframes sf-in { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }
.sf-wiz-q h3 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); line-height: 1.15; font-weight: 800; }
.sf-wiz-help { color: var(--sf-muted); font-size: .92rem; }
.sf-ans { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sf-ans-col { grid-template-columns: 1fr; }
.sf-ans button { font: inherit; text-align: left; font-weight: 700; color: var(--sf-navy); padding: 16px 18px; border-radius: 16px; border: 1.5px solid var(--sf-line); background: var(--sf-paper); cursor: pointer; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.sf-ans button:hover { border-color: var(--sf-navy); background: #eef4fb; transform: translateY(-2px); }
.sf-ans button:focus-visible { outline: 3px solid var(--sf-amber); outline-offset: 2px; }
@media (max-width: 560px) { .sf-ans { grid-template-columns: 1fr; } }
.sf-back { justify-self: start; font: inherit; font-weight: 700; color: var(--sf-muted); background: none; border: 0; padding: 4px 0; cursor: pointer; }
.sf-back:focus-visible { outline: 3px solid var(--sf-amber); outline-offset: 2px; }
.sf-wiz-res { display: grid; gap: 12px; justify-items: start; animation: sf-in .5s cubic-bezier(.2, .8, .2, 1); }
.sf-wiz-res h3 { font-size: clamp(1.4rem, 2.8vw, 1.9rem); line-height: 1.15; font-weight: 800; }
.sf-wiz-res > p:not(.sf-fine) { color: #33465b; font-size: 1.04rem; }
.sf-badge { width: 72px; height: 72px; }
.sf-badge svg { width: 100%; height: 100%; }
.sf-badge circle { fill: var(--sf-mintbg); stroke: var(--sf-teal); stroke-width: 4; stroke-dasharray: 1; stroke-dashoffset: 1; animation: sf-draw .7s ease forwards; }
.sf-badge path { fill: none; stroke: var(--sf-teal); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: sf-draw .45s ease .6s forwards; }
.sf-badge.maybe circle { fill: #fff6e0; stroke: #d39b22; }
.sf-badge.maybe path { stroke: #d39b22; }
@keyframes sf-draw { to { stroke-dashoffset: 0; } }

/* buttons */
.sf-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.sf-btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 12px; padding: 13px 18px; font: inherit; font-weight: 800; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.sf-btn.sf-amber { background: var(--sf-amber); color: var(--sf-navy); }
.sf-btn.sf-amber:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(242, 195, 90, .4); }
.sf-btn.sf-line { background: var(--sf-white); color: var(--sf-navy); border-color: var(--sf-line); }
.sf-btn.sf-ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.sf-btn:focus-visible { outline: 3px solid var(--sf-amber); outline-offset: 3px; }

/* 6 · timeline */
.sf-howgrid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.sf-howgrid .sf-head { position: sticky; top: calc(var(--sf-top, 0px) + 24px); }
.sf-time { position: relative; list-style: none; margin: 0; padding: 0 0 0 44px; display: grid; gap: 18px; counter-reset: t; --fill: 0%; }
.sf-time::before, .sf-time::after { content: ""; position: absolute; left: 15px; top: 16px; width: 3px; border-radius: 2px; }
.sf-time::before { bottom: 16px; background: var(--sf-line); }
.sf-time::after { height: calc((100% - 32px) * var(--fillk, 0)); background: linear-gradient(180deg, var(--sf-teal), var(--sf-amber)); }
.sf-time li { position: relative; counter-increment: t; background: var(--sf-white); border: 1px solid var(--sf-line); border-radius: 18px; padding: 16px 18px; display: grid; gap: 4px; transition: border-color .3s ease, box-shadow .3s ease; }
.sf-time li::before { content: counter(t); position: absolute; left: -44px; top: 12px; width: 33px; height: 33px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: var(--sf-muted); background: var(--sf-white); border: 2px solid var(--sf-line); transition: all .3s ease; }
.sf-time li.on { border-color: #bfe3d4; box-shadow: 0 12px 26px rgba(29, 138, 108, .1); }
.sf-time li.on::before { background: var(--sf-teal); border-color: var(--sf-teal); color: #fff; }
.sf-time b { font-size: 1.08rem; }
.sf-time p { color: var(--sf-muted); font-size: .94rem; }
.sf-who { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--sf-teal); }
@media (max-width: 860px) { .sf-howgrid { grid-template-columns: 1fr; } .sf-howgrid .sf-head { position: static; } }

/* 7 · myths that flip */
.sf-myths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .sf-myths { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .sf-myths { grid-template-columns: 1fr; } }
.sf-myth { position: relative; display: grid; min-height: 170px; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; perspective: 1000px; }
.sf-face { grid-area: 1 / 1; display: grid; gap: 8px; align-content: start; padding: 20px; border-radius: 18px; backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: transform .6s cubic-bezier(.3, .7, .3, 1); }
.sf-front { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .18); }
.sf-backf { background: var(--sf-white); color: var(--sf-navy); transform: rotateY(180deg); }
.sf-myth[aria-pressed="true"] .sf-front { transform: rotateY(-180deg); }
.sf-myth[aria-pressed="true"] .sf-backf { transform: rotateY(0); }
.sf-face small { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #ffb4a8; }
.sf-backf small { color: var(--sf-teal); }
.sf-face b { font-size: 1.08rem; line-height: 1.3; }
.sf-backf b { font-weight: 700; }
.sf-face i { font-style: normal; font-size: .82rem; color: #9fb4c7; align-self: end; }
.sf-myth:hover .sf-front { background: rgba(255, 255, 255, .12); border-color: var(--sf-amber); }
.sf-myth:focus-visible { outline: 3px solid var(--sf-amber); outline-offset: 3px; border-radius: 18px; }
.sf-endbtns { margin-top: 28px; }
.sf-sources { margin-top: 22px !important; font-size: .8rem; color: #9fb4c7; }
.sf-sources a { color: inherit; }

/* motion off: everything visible and static */
.sf.sf-still .sf-rv { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .sf *, .sf *::before, .sf *::after { animation: none !important; transition: none !important; }
  .sf-rv { opacity: 1; transform: none; }
  .sf-badge circle, .sf-badge path { stroke-dashoffset: 0; }
}
