@font-face { font-family: Vazirmatn; src: url('/fonts/vazirmatn-regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: Vazirmatn; src: url('/fonts/vazirmatn-bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: Vazirmatn; src: url('/fonts/vazirmatn-extrabold.ttf') format('truetype'); font-weight: 800; font-display: swap; }

:root {
  color-scheme: light;
  --bg: #ffffff;
  --subtle: #f6f8fa;
  --mint: #dafbe1;
  --mint-deep: #aceebb;
  --ink: #1f2328;
  --muted: #59636e;
  --line: #d1d9e0;
  --line-soft: #e6eaef;
  --l0: #ebedf0;
  --l1: #9be9a8;
  --l2: #40c463;
  --l3: #30a14e;
  --l4: #216e39;
  --green: #1a7f37;
  --action: #1f883d;
  --action-hover: #1a7f37;
  --link: #0969da;
  --marker: #ffe58f;
  --error: #d1242f;
  --sans: Vazirmatn, -apple-system, 'Segoe UI', sans-serif;
  --mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
  --week: 8px;
  --gap: 3px;
  --space: clamp(80px, 10vw, 136px);
  --gutter: clamp(18px, 4vw, 48px);
  --radius: 8px;
  --round: 20px;
  --lift: 0 1px 2px #1f23280f, 0 10px 28px -6px #1f23282e;
}

* { box-sizing: border-box; }
html { background: var(--bg); color: var(--ink); scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font: 400 1.04rem/1.85 var(--sans); -webkit-font-smoothing: antialiased; }
html[lang="en"] body { line-height: 1.6; }
::selection { background: var(--mint-deep); color: var(--ink); }
a { color: var(--link); text-decoration: none; text-underline-offset: .25em; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 4.8vw, 4.1rem); line-height: 1.35; }
html[lang="en"] h1 { line-height: 1.08; letter-spacing: -.035em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); line-height: 1.4; }
html[lang="en"] h2 { letter-spacing: -.025em; line-height: 1.15; }
h3 { font-size: 1.1rem; font-weight: 700; line-height: 1.6; }
p { text-wrap: pretty; }
mark { background: linear-gradient(transparent 58%, var(--marker) 58% 92%, transparent 92%); color: inherit; padding-inline: .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.lede { color: var(--muted); font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 58ch; }
.shell { width: min(100% - var(--gutter) * 2, 1200px); margin-inline: auto; }
.skip { position: absolute; inset-block-start: 8px; inset-inline-start: 8px; z-index: 30; background: var(--bg); color: var(--ink); padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--radius); }
.skip:not(:focus) { clip-path: inset(100%); }
.icon { width: 16px; height: 16px; flex: none; }
[dir="rtl"] .arrow { transform: scaleX(-1); }
.peep { display: block; height: auto; user-select: none; }
.cur { font-size: .55em; font-weight: 700; color: var(--muted); }

/* Header and footer */
.site-header { position: sticky; inset-block-start: 0; z-index: 20; background: #fffffff2; border-block-end: 1px solid var(--line-soft); }
.site-header .shell { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 1.15rem; }
.wordmark:hover { text-decoration: none; }
.mark { display: block; flex: none; }
.site-header nav, .site-footer nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); font-size: .95rem; }
.site-header nav a:not(.button), .site-footer nav a { color: var(--muted); }
.site-header nav a:not(.button):hover, .site-footer nav a:hover, nav a[aria-current="page"] { color: var(--ink); text-decoration: none; }
.site-footer { margin-block-start: var(--space); border-block-start: 1px solid var(--line-soft); }
.site-footer .shell { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-block: 32px 44px; }
.site-footer .wordmark { font-size: 1rem; }
.credit { flex-basis: 100%; font-size: .82rem; }
.credit a { color: var(--muted); }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 20px; border: 1px solid #1f232826; border-radius: var(--radius); background: var(--subtle); color: var(--ink); font: 700 1rem/1 var(--sans); cursor: pointer; white-space: nowrap; transition: background-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.button:hover { text-decoration: none; background: #eff2f5; }
.button.primary { background: var(--action); border-color: #1f232826; color: #fff; box-shadow: 0 1px 0 #1f23281a, inset 0 1px 0 #ffffff1f; }
.button.primary:hover { background: var(--action-hover); }
.button.large { min-height: 52px; padding: 0 26px; font-size: 1.06rem; }
.button.small { min-height: 36px; padding: 0 14px; font-size: .92rem; }
.button:active { transform: translateY(1px); }
.text-link { font-weight: 700; }

/* Panels */
.panel { background: var(--bg); border: 1px solid var(--line); border-radius: var(--round); }
.section-head { display: grid; gap: 10px; margin-block-end: 40px; max-width: 46rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(40px, 6vw, 80px) clamp(48px, 6vw, 72px); }
.hero-copy { display: grid; gap: 24px; justify-items: start; }
.hero h1 { max-width: 15ch; }
html[lang="en"] .hero h1 { max-width: 16ch; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-block-start: 4px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: .95rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 7px; }
.hero-points .check, .support-list .check, .req-list .check { color: var(--green); }
.hero-art { position: relative; aspect-ratio: 1 / 1.02; display: grid; place-items: end center; }
.stage { position: absolute; inset: 8% 0 0; border-radius: 32px; background: var(--mint); }
.stage::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background-image: radial-gradient(#1f88331f 1.4px, transparent 1.6px); background-size: 22px 22px; mask-image: linear-gradient(to bottom, #000, transparent 75%); }
.hero-peep { position: relative; width: 74%; margin-block-end: -1px; }
.note { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: var(--bg); box-shadow: var(--lift); font-size: .9rem; line-height: 1.45; white-space: nowrap; }
.note .icon { color: var(--muted); }
.note.paid { inset-block-start: 0; inset-inline-start: -6%; padding: 14px 18px; }
.note.paid strong { display: block; font-weight: 700; }
.note.paid div span { color: var(--muted); font-size: .82rem; }
.note .badge .icon { color: #fff; }
.note .badge { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--action); color: #fff; }
.note .amount { margin-inline-start: 10px; color: var(--green); font-size: 1.3rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.note.merged { inset-block-start: 40%; inset-inline-end: -4%; }
.note.merged .icon { color: #8250df; }
.note.standup { inset-block-end: 9%; inset-inline-start: -2%; }
.note.standup .icon { color: var(--link); }
@media (prefers-reduced-motion: no-preference) {
  .note.paid { animation: rise .9s cubic-bezier(.16, 1, .3, 1) .35s backwards; }
}
@keyframes rise { from { transform: translateY(14px) scale(.96); opacity: 0; } }

/* Ledger */
.ledger dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.ledger dl div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: 28px clamp(16px, 2.4vw, 32px); }
.ledger dl div + div { border-inline-start: 1px solid var(--line); }
.ledger dd { font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
html[lang="en"] .ledger dd { letter-spacing: -.03em; }
.ledger dt { color: var(--muted); font-size: .95rem; line-height: 1.6; max-width: 22ch; }
.plus { color: var(--green); }

/* Compare */
.compare { margin-block-start: var(--space); padding-block: var(--space); background: var(--subtle); }
.compare-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px clamp(40px, 6vw, 96px); align-items: center; }
.compare-copy { display: grid; gap: 22px; }
.year { display: grid; gap: 10px; padding-block-start: 22px; border-block-start: 1px solid var(--line); }
.year > p { font-weight: 700; }
.year dl { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.year dt { color: var(--muted); font-size: .9rem; }
.year dd { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; font-variant-numeric: tabular-nums; }
.year .ours dd { color: var(--green); }
.bars { position: relative; display: grid; gap: 18px; padding: clamp(24px, 3.4vw, 40px); padding-block-start: clamp(40px, 5vw, 56px); background: var(--bg); border: 1px solid var(--line); border-radius: var(--round); box-shadow: var(--lift); }
.bars-peep { position: absolute; inset-block-end: calc(100% - 46px); inset-inline-end: 28px; width: 128px; }
.bars ul { display: grid; gap: 22px; }
.bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; align-items: center; }
.bar-label { grid-column: 1 / -1; font-weight: 700; font-size: .96rem; }
.track { height: 14px; border-radius: 7px; background: var(--l0); overflow: hidden; }
.fill { display: block; height: 100%; width: 0; border-radius: inherit; background: #8c959f; }
.ours .fill { background: linear-gradient(90deg, var(--l2), var(--l3)); }
[dir="rtl"] .ours .fill { background: linear-gradient(270deg, var(--l2), var(--l3)); }
.fill[data-share="4.5"] { width: 4.5%; } .fill[data-share="10"] { width: 10%; } .fill[data-share="50"] { width: 50%; } .fill[data-share="100"] { width: 100%; }
.bar-value { min-width: 9.5em; text-align: end; color: var(--muted); font-size: .85rem; white-space: nowrap; }
.bar-value b { color: var(--ink); font-size: 1.2rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.ours .bar-value b { color: var(--green); }
.bars figcaption { padding-block-start: 16px; border-block-start: 1px solid var(--line-soft); color: var(--muted); font-size: .84rem; }

/* Who we are + graph */
.who { margin-block-start: var(--space); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px clamp(40px, 6vw, 96px); }
.who-copy { display: contents; }
.who-copy h2 { grid-column: 1; grid-row: 1 / span 2; }
.who-copy p { grid-column: 2; color: var(--muted); font-size: 1.1rem; max-width: 62ch; }
.who-copy p + p { margin-block-start: -12px; }
.activity { grid-column: 1 / -1; margin-block-start: 16px; padding: clamp(18px, 2.6vw, 32px); }
.panel-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; margin-block-end: 22px; }
.panel-head h3 { font-size: clamp(1.1rem, 1.6vw, 1.3rem); }
.totals { display: flex; border: 1px solid var(--line); border-radius: var(--radius); }
.totals div { padding: 8px 18px; display: grid; }
.totals div + div { border-inline-start: 1px solid var(--line); }
.totals dt { color: var(--muted); font-size: .8rem; }
.totals dd { font-size: 1.3rem; font-weight: 800; line-height: 1.4; }
.totals .unit { font-size: .85rem; font-weight: 400; color: var(--muted); }
.graph-scroll { overflow-x: auto; padding-block-end: 6px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.graph { --cols: 104; min-width: calc(var(--cols) * (var(--week) + var(--gap))); }
.months, .cells { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: var(--gap); }
.months { overflow: hidden; margin-block-end: 6px; font-size: .74rem; color: var(--muted); }
.months span { white-space: nowrap; overflow: visible; }
.cells { grid-template-rows: repeat(7, auto); grid-auto-flow: column; }
.cell { display: block; align-self: start; width: 100%; aspect-ratio: 1; border-radius: 2px; background: var(--l0); outline: 1px solid #1f23280d; outline-offset: -1px; }
.cell.l1 { background: var(--l1); } .cell.l2 { background: var(--l2); } .cell.l3 { background: var(--l3); } .cell.l4 { background: var(--l4); }
.cell.empty { background: transparent; outline: 0; }
.cells .cell:not(.empty):hover { outline: 1px solid #1f232899; }
.panel-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-block-start: 14px; font-size: .86rem; color: var(--muted); }
.legend { display: flex; align-items: center; gap: var(--gap); }
.legend .cell { width: 11px; }
.legend span:first-child { margin-inline-end: 6px; } .legend span:last-child { margin-inline-start: 6px; }
.tip { position: fixed; z-index: 40; pointer-events: none; padding: 6px 10px; border-radius: var(--radius); background: var(--ink); color: #fff; font-size: .8rem; line-height: 1.5; white-space: nowrap; box-shadow: 0 6px 18px #1f232840; translate: -50% calc(-100% - 10px); }
.tip strong { display: block; font-weight: 700; }
.tip span { color: #d1d9e0; }
.filling .cells .cell.l1, .filling .cells .cell.l2, .filling .cells .cell.l3, .filling .cells .cell.l4 { animation: fill .5s cubic-bezier(.16, 1, .3, 1) backwards; animation-delay: var(--d, 0s); }
@keyframes fill { from { background: var(--l0); } }

/* Benefits */
.benefits { margin-block-start: var(--space); display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 48px clamp(40px, 6vw, 96px); align-items: center; }
.benefits-art { position: relative; display: grid; place-items: end center; aspect-ratio: 1 / 1.15; }
.benefits-art::before { content: ''; position: absolute; inset: 22% 0 0; border-radius: 50% 50% var(--round) var(--round); background: var(--mint); }
.relaxed-peep { position: relative; width: 62%; }
.benefits h2 { margin-block-end: 32px; }
.benefit-list { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 40px; }
.benefit-list li { display: grid; gap: 6px; padding-block-start: 18px; border-block-start: 2px solid var(--ink); }
.benefit-list p { color: var(--muted); }

/* Support */
.support { margin-block-start: var(--space); padding-block: var(--space); background: var(--subtle); }
.support-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px clamp(40px, 6vw, 96px); align-items: start; }
.support-head { display: grid; gap: 32px; position: sticky; inset-block-start: 110px; }
.guide-peep { width: min(260px, 60%); }
.support-list, .req-list { display: grid; }
.support-list li, .req-list li { display: flex; gap: 16px; padding-block: 24px; }
.support-list li + li, .req-list li + li { border-block-start: 1px solid var(--line); }
.support-list li:first-child, .req-list li:first-child { padding-block-start: 4px; }
.support-list .check, .req-list .check { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--mint); margin-block-start: 2px; }
.support-list p, .req-list p { color: var(--muted); margin-block-start: 2px; }

/* Steps */
.pipeline { margin-block-start: var(--space); }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.steps li { position: relative; display: grid; align-content: start; gap: 8px; }
.steps li + li::before { content: ''; position: absolute; inset-block-start: 22px; inset-inline-end: calc(100% + 6px); width: calc(100% - 50px); height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 11px); }
.step-no { display: grid; place-items: center; width: 46px; height: 46px; margin-block-end: 10px; border: 2px solid var(--ink); border-radius: 50%; background: var(--bg); font-weight: 800; font-size: 1.1rem; }
.steps li:last-child .step-no { background: var(--action); border-color: var(--action); color: #fff; }
.steps p { color: var(--muted); font-size: .96rem; }

/* Fee */
.fee { margin-block-start: var(--space); padding-block: var(--space); background: var(--ink); color: #fff; }
.fee-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px clamp(40px, 6vw, 96px); align-items: center; }
.fee h2 { margin-block-end: 18px; }
.fee-grid > div p { color: #c9d1d9; font-size: 1.1rem; max-width: 56ch; }
.fee-steps { display: grid; }
.fee-steps li { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding-block: 13px; }
.fee-steps li + li::before { content: ''; position: absolute; inset-block-end: calc(50% + 14px); inset-inline-start: 13px; height: calc(100% - 28px); width: 2px; background: #ffffff33; }
.fee-steps .dot { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #ffffff1a; color: var(--l1); }
.fee-steps .dot .icon { width: 14px; height: 14px; }
.fee-step { font-weight: 700; }
.tag { padding: 3px 12px; border-radius: 99px; background: #2ea04333; color: var(--l1); font-size: .85rem; font-weight: 700; }
.fee-steps .due .dot { background: var(--l2); color: var(--ink); }
.fee-steps .due .tag { background: var(--l2); color: var(--ink); }

/* Requirements */
.reqs { margin-block-start: var(--space); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px clamp(40px, 6vw, 96px); align-items: start; }
.reqs-head { display: grid; gap: 14px; }
.reqs-head > p { color: var(--muted); font-size: 1.1rem; }
.reading-peep { width: min(230px, 55%); margin-block-start: 20px; }

/* FAQ */
.faq { margin-block-start: var(--space); display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 32px clamp(40px, 6vw, 96px); align-items: start; }
.faq-list { border-block-start: 1px solid var(--line); }
details { border-block-end: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 20px; font-size: 1.1rem; font-weight: 700; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary .plus { width: 20px; height: 20px; color: var(--muted); transition: transform .2s ease; }
details[open] summary .plus { transform: rotate(45deg); color: var(--ink); }
summary:hover { color: var(--green); }
details p { padding-block-end: 22px; color: var(--muted); max-width: 64ch; }

/* Close */
.close { margin-block-start: var(--space); }
.close-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(32px, 5vw, 72px); align-items: center; padding: clamp(28px, 5vw, 64px); border-radius: 32px; background: var(--mint); }
.close-copy { display: grid; gap: 16px; justify-items: start; }
.close-copy p { color: #3d4a41; }
.team-peep { width: 100%; max-width: 520px; justify-self: center; }

/* Application */
.application { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 40px clamp(32px, 5vw, 80px); align-items: start; padding-block-start: clamp(40px, 6vw, 72px); }
.application-intro { display: grid; gap: 20px; position: sticky; inset-block-start: 100px; }
.application-intro h1 { font-size: clamp(2rem, 3.6vw, 3rem); }
.notes { display: grid; gap: 10px; padding-block-start: 20px; border-block-start: 1px solid var(--line); }
.notes li { display: flex; gap: 10px; color: var(--muted); font-size: .96rem; }
.notes .check { color: var(--green); margin-block-start: 6px; }
.application-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: clamp(20px, 3vw, 36px); box-shadow: var(--lift); }
.field { display: grid; gap: 6px; align-content: start; }
.full { grid-column: 1 / -1; }
label { font-weight: 700; font-size: .94rem; }
label span { color: var(--muted); font-weight: 400; }
input, select, textarea { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); color: var(--ink); font: 400 1rem/1.5 var(--sans); caret-color: var(--green); transition: border-color .15s ease, box-shadow .15s ease; }
input::placeholder, textarea::placeholder { color: #6e7781; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--link); box-shadow: 0 0 0 3px #0969da33; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='M4.4 6.2 8 9.8l3.6-3.6' stroke='%2359636e' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 10px center; padding-inline-end: 34px; }
[dir="ltr"] select { background-position: right 10px center; }
[aria-invalid="true"] { border-color: var(--error); }
.field-error, .form-error { color: var(--error); font-size: .88rem; }
.form-error { padding: 10px 14px; border: 1px solid #d1242f55; border-radius: var(--radius); background: #ffebe9; }
.checkbox { display: flex; gap: 10px; align-items: start; font-weight: 400; color: var(--muted); }
.checkbox input { width: 18px; min-height: 18px; height: 18px; margin-block-start: 6px; flex: none; accent-color: var(--action); }
.privacy-link { display: inline-block; margin-block-start: 6px; font-size: .88rem; }
.trap { position: absolute; width: 1px !important; height: 1px !important; clip-path: inset(100%); overflow: hidden; }
.confirmation { display: grid; gap: 12px; justify-items: start; padding: 32px; border-color: var(--l2); background: #f0fff4; }
.confirmation p { color: var(--muted); }
.confirmation a { display: inline-flex; align-items: center; gap: 6px; }

/* About, privacy */
.article { display: grid; gap: 24px; max-width: 760px; padding-block-start: clamp(40px, 6vw, 72px); }
.article h1 { font-size: clamp(2rem, 3.6vw, 3rem); }
.article-body { display: grid; gap: 22px; }
.article-body > p { color: var(--muted); max-width: 66ch; }
.article-body > .lede { color: var(--ink); font-size: 1.2rem; }
.article-body section { display: grid; gap: 6px; padding-block-start: 22px; border-block-start: 1px solid var(--line); }
.article-body section h2 { font-size: 1.2rem; }
.article-body section p { color: var(--muted); }
.facts { border-radius: var(--radius); }
.facts div { display: grid; grid-template-columns: 11rem 1fr; gap: 8px 24px; padding: 18px 20px; }
.facts div + div { border-block-start: 1px solid var(--line-soft); }
.facts dt { color: var(--muted); font-size: .9rem; }
.facts dd strong { font-weight: 700; }
.facts dd p { color: var(--muted); font-size: .9rem; margin-block-start: 4px; }
.article .button { justify-self: start; }

/* Admin */
.admin-wrap { width: min(100% - var(--gutter) * 2, 920px); margin: 0 auto; padding-block: 32px 80px; }
.admin-head, .record-head { display: flex; align-items: start; justify-content: space-between; gap: 16px; }
.admin-head { border-block-end: 1px solid var(--line); margin-block-end: 20px; padding-block-end: 16px; }
.admin-wrap h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.admin-wrap button { min-height: 38px; padding: 0 16px; border: 1px solid #1f232826; border-radius: var(--radius); background: var(--action); color: #fff; font: 700 .92rem var(--sans); cursor: pointer; }
.admin-login { display: grid; gap: 14px; max-width: 360px; margin-block-start: 20px; }
.admin-login label, .record-edit label { display: grid; gap: 6px; }
.app-record { margin-block-end: 16px; padding: 20px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
.record-head h2 { font: 700 1.15rem/1.5 var(--sans); }
.record-head time { color: var(--muted); font: .8rem var(--mono); white-space: nowrap; }
.record-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 20px; margin-block: 14px; }
.record-details dt { font-size: .78rem; color: var(--muted); }
.record-edit { display: grid; gap: 12px; padding-block-start: 14px; border-block-start: 1px solid var(--line-soft); }
.record-edit textarea { min-height: 72px; }
.record-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }

/* Responsive */
@media (max-width: 1080px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { grid-template-columns: 46px 1fr; column-gap: 20px; padding-block-end: 28px; }
  .steps li .step-no { grid-row: 1 / span 2; margin: 0; }
  .steps li + li::before { inset-block-start: -28px; inset-inline-start: 22px; inset-inline-end: auto; width: 2px; height: 28px; background: repeating-linear-gradient(180deg, var(--line) 0 6px, transparent 6px 11px); }
  .ledger dl { grid-template-columns: 1fr 1fr; }
  .ledger dl div:nth-child(3) { border-inline-start: 0; }
  .ledger dl div:nth-child(n + 3) { border-block-start: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .section-link { display: none; }
  .hero, .compare-grid, .who, .benefits, .support-grid, .fee-grid, .reqs, .faq, .close-inner, .application { grid-template-columns: minmax(0, 1fr); }
  .who-copy h2, .who-copy p, .activity { grid-column: 1; grid-row: auto; }
  .who-copy p + p { margin-block-start: 0; }
  .hero-art { width: min(100%, 460px); justify-self: center; margin-block-start: 12px; }
  .benefits-art { width: min(100%, 320px); justify-self: center; order: 2; }
  .support-head, .application-intro { position: static; }
  .guide-peep, .reading-peep { width: 170px; }
  .bars { margin-block-start: 60px; }
}
@media (max-width: 600px) {
  :root { --week: 11px; }
  body { font-size: 1rem; }
  .site-header nav a:not(.button):not(.language) { display: none; }
  .hero-points { display: grid; gap: 6px; }
  .note { font-size: .8rem; padding: 9px 12px; gap: 8px; }
  .note.paid { inset-inline-start: -2%; padding: 10px 14px; }
  .note .badge { width: 28px; height: 28px; }
  .note .amount { font-size: 1.05rem; margin-inline-start: 4px; }
  .note.merged { inset-inline-end: -2%; }
  .ledger dl div { padding: 20px 14px; }
  .benefit-list { grid-template-columns: 1fr; gap: 28px; }
  .bar-value { min-width: 0; }
  .year dl { gap: 12px; }
  .application-form { grid-template-columns: 1fr; }
  .totals { width: 100%; }
  .totals div { flex: 1; }
  .facts div { grid-template-columns: 1fr; }
  .record-details { grid-template-columns: 1fr 1fr; }
  .actions { width: 100%; }
  .close-copy .button, .actions .button { width: 100%; }
  .hero-copy { gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
