:root {
  --ground: #f5f3ed;
  --surface: #ffffff;
  --surface-2: #faf9f5;
  --ink: #14211b;
  --ink-2: #3a4841;
  --muted: #68746e;
  --line: #e3ded3;
  --line-strong: #cdc6b6;
  --brand: #0d5a3a;
  --brand-deep: #0a3a27;
  --brand-soft: #e4efe8;
  --gold: #d9a441;
  --gold-soft: #f6ecd4;
  --gold-line: #e9d6a6;
  --tax: #c9822c;
  --contrib: #8e9b94;
  --on-dark: #f4f0e6;
  --on-dark-muted: #b7c6bd;
  --on-dark-line: rgb(255 255 255 / 0.12);
  --whatsapp: #25d366;
  --facebook: #1877f2;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgb(20 33 27 / 0.06), 0 30px 60px -28px rgb(4 20 12 / 0.6);
  --shadow-soft: 0 1px 2px rgb(20 33 27 / 0.04), 0 8px 24px -16px rgb(20 33 27 / 0.18);

  --font-latin: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-ui: var(--font-latin);
  --font-text: var(--font-latin);
  --leading: 1.55;
  --leading-tight: 1.06;
  --tracking-tight: -0.025em;
}

/* Script fonts. Latin comes first so digits and currency codes stay in Plex. */
:root:lang(hi) { --font-ui: "IBM Plex Sans", "IBM Plex Sans Devanagari", "Noto Sans Devanagari", sans-serif; --font-text: var(--font-ui); --leading: 1.7; --leading-tight: 1.3; --tracking-tight: 0; }
:root:lang(bn) { --font-ui: "IBM Plex Sans", "Noto Sans Bengali", sans-serif; --font-text: var(--font-ui); --leading: 1.75; --leading-tight: 1.35; --tracking-tight: 0; }
:root:lang(ur) { --font-ui: "IBM Plex Sans", "Noto Naskh Arabic", sans-serif; --font-text: "IBM Plex Sans", "Noto Nastaliq Urdu", "Noto Naskh Arabic", serif; --leading: 2; --leading-tight: 1.75; --tracking-tight: 0; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 16px/var(--leading) var(--font-ui);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p { margin: 0; font-family: var(--font-text); }
a { color: var(--brand); text-underline-offset: 3px; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
[id] { scroll-margin-top: 16px; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
@media (max-width: 420px) { .wrap { width: calc(100% - 28px); } }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.amount { font-family: var(--font-latin); font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; unicode-bidi: isolate; }

svg.stroke { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
svg.stroke .solid { fill: currentColor; stroke: none; }
svg.fill { fill: currentColor; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid transparent;
  font: 600 0.88rem/1.2 var(--font-ui); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, transform 0.1s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-whatsapp { background: var(--whatsapp); color: #052e16; }
.btn-whatsapp:hover { background: #3fdd7d; }
.btn-facebook { background: var(--facebook); color: #fff; }
.btn-facebook:hover { background: #3087f5; }
.btn-outline { background: transparent; color: var(--on-dark); border-color: rgb(255 255 255 / 0.3); }
.btn-outline:hover { border-color: rgb(255 255 255 / 0.65); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink-2); }

/* ---------- Top bar ---------- */
.topbar { background: var(--brand-deep); color: var(--on-dark); border-bottom: 1px solid var(--on-dark-line); }
.topbar-inner { display: flex; align-items: center; gap: 28px; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font: 600 1.2rem/1 var(--font-latin); letter-spacing: -0.01em; }
.topbar .brand { margin-inline-end: auto; }
.brand svg { width: 28px; height: 28px; color: var(--gold); }
.topnav { display: none; gap: 26px; }
@media (min-width: 760px) { .topnav { display: flex; } }
.topnav a { color: var(--on-dark-muted); text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.topnav a:hover { color: var(--on-dark); }
.lang { position: relative; display: inline-flex; align-items: center; }
.lang svg { position: absolute; inset-inline-start: 12px; width: 16px; height: 16px; fill: none; stroke: var(--on-dark-muted); stroke-width: 1.6; pointer-events: none; }
.lang select {
  appearance: none;
  background: rgb(255 255 255 / 0.07) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23b7c6bd' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 12px center / 10px;
  border: 1px solid rgb(255 255 255 / 0.18); border-radius: 999px;
  color: var(--on-dark); padding: 8px 32px 8px 36px; font-size: 0.95rem; cursor: pointer;
}
[dir="rtl"] .lang select { background-position: left 12px center; padding: 8px 36px 8px 32px; }
.lang select:hover { border-color: rgb(255 255 255 / 0.35); }
.lang select option { color: var(--ink); background: var(--surface); }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--brand-deep); color: var(--on-dark); padding: 32px 0 44px; }
/* Faint eight-point star lattice, fading out towards the text. */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23d9a441' stroke-opacity='.10' stroke-width='1'%3E%3Crect x='17' y='17' width='38' height='38'/%3E%3Crect x='17' y='17' width='38' height='38' transform='rotate(45 36 36)'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 72px 72px;
  -webkit-mask-image: linear-gradient(to left, #000 10%, transparent 80%);
  mask-image: linear-gradient(to left, #000 10%, transparent 80%);
}
[dir="rtl"] .hero::before {
  -webkit-mask-image: linear-gradient(to right, #000 10%, transparent 80%);
  mask-image: linear-gradient(to right, #000 10%, transparent 80%);
}
/* minmax(0, 1fr): without it the scrolling preset row sets the column's minimum width and pushes the hero off-screen on phones. */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
@media (min-width: 980px) {
  .hero { padding: 64px 0 56px; }
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 72px; }
}
.eyebrow { color: var(--gold); font-weight: 600; font-size: 0.95rem; margin-bottom: 14px; }
.hero h1 {
  font-size: clamp(2.15rem, 1.2rem + 3.8vw, 3.6rem);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  font-weight: 600;
  text-wrap: balance;
  max-width: 16ch;
}
:root:not(:lang(en)) .hero h1 { max-width: 22ch; }
.lead { margin-top: 18px; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); color: var(--on-dark-muted); max-width: 50ch; }

.share-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 24px; }
/* Phones: Copy link shrinks to its icon until it confirms the copy. */
@media (max-width: 560px) {
  .btn-copy .label-long { display: none; }
  .btn-copy { width: 38px; padding: 0; }
  .btn-copy.is-copied { width: auto; padding: 0 12px; }
  .btn-copy.is-copied .label-long { display: inline; }
}
.trust { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--on-dark-muted); font-size: 0.92rem; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 16px; height: 16px; color: var(--gold); stroke-width: 2.6; }

/* ---------- Calculator ---------- */
.calculator { background: var(--surface); color: var(--ink); border-radius: 20px; box-shadow: var(--shadow); padding: 24px 20px; }
@media (min-width: 560px) { .calculator { padding: 30px 32px 32px; } }
.field { margin: 0; padding: 0; border: 0; min-width: 0; }
.field + .field { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.field label, .field legend { display: block; padding: 0; font-weight: 600; font-size: 1.02rem; margin-bottom: 12px; }
/* Floating the legend takes it out of the fieldset border, so it sits under the divider like a label. */
.field legend { float: left; width: 100%; }
[dir="rtl"] .field legend { float: right; }
.field legend + * { clear: both; }

.money-input { display: flex; align-items: baseline; border: 1.5px solid var(--line-strong); border-radius: 12px; transition: border-color 0.15s, box-shadow 0.15s; }
.money-input:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgb(13 90 58 / 0.12); }
.money-input .prefix { padding-inline: 18px 2px; font: 600 1.1rem/1 var(--font-latin); color: var(--muted); }
.money-input input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 13px 16px 13px 8px;
  font: 600 2.25rem/1.1 var(--font-latin); letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
}
.money-input input::-webkit-outer-spin-button, .money-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.money-input input[type="number"] { -moz-appearance: textfield; }
.help { margin-top: 8px; color: var(--muted); font-size: 0.9rem; }

.presets { display: flex; gap: 8px; margin: 14px -20px 0; padding: 2px 20px; overflow-x: auto; scrollbar-width: none; }
.presets::-webkit-scrollbar { display: none; }
@media (min-width: 560px) { .presets { flex-wrap: wrap; margin-inline: 0; padding-inline: 0; } }
.presets button {
  flex: none; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink-2);
  font: 500 0.95rem/1 var(--font-latin); font-variant-numeric: tabular-nums; cursor: pointer; transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.presets button:hover { border-color: var(--ink-2); color: var(--ink); }
.presets button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.country-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 1100px) { .country-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.country {
  display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; align-items: center;
  padding: 10px 12px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--surface);
  text-align: start; cursor: pointer; transition: border-color 0.15s, background-color 0.15s;
}
.country .flag { grid-row: span 2; }
.country-name { font-weight: 600; font-size: clamp(0.86rem, 0.7rem + 0.9vw, 0.95rem); line-height: 1.3; }
.country-ccy { font: 500 0.76rem/1.3 var(--font-latin); color: var(--muted); letter-spacing: 0.03em; }
.country:hover { border-color: var(--line-strong); }
.country[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand); }

.flag { display: block; width: 30px; height: 20px; flex: none; border-radius: 3px; box-shadow: 0 0 0 1px rgb(20 33 27 / 0.12); }
.flag-NP { border-radius: 0; box-shadow: none; }

.quick { margin-top: 22px; padding: 16px 18px; border-radius: 12px; background: var(--brand-soft); display: grid; gap: 2px; }
.quick-label { font-size: 0.9rem; color: var(--ink-2); }
.quick-value { font: 600 2rem/1.15 var(--font-latin); color: var(--brand-deep); letter-spacing: -0.02em; }
.quick-value small { font: 500 0.95rem/1.4 var(--font-ui); color: var(--muted); letter-spacing: 0; }
@media (max-width: 560px) { .quick-value small { display: block; } }
.quick-link { justify-self: start; display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-weight: 600; font-size: 0.92rem; color: var(--brand); text-decoration: none; }
.quick-link:hover { text-decoration: underline; }
.quick-link svg { width: 16px; height: 16px; }

/* ---------- What we compare ---------- */
.explain { display: grid; margin-top: 40px; border-top: 1px solid var(--on-dark-line); }
@media (min-width: 900px) { .explain { grid-template-columns: minmax(0, 3fr) minmax(0, 1.15fr); gap: 40px; margin-top: 56px; padding-top: 36px; } }
.points { list-style: none; margin: 0; padding: 0; display: grid; }
@media (min-width: 900px) { .points { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } }
.points li { display: grid; grid-template-columns: 32px 1fr; align-content: start; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--on-dark-line); }
@media (min-width: 900px) { .points li { grid-template-columns: 1fr; gap: 14px; padding: 0; border: 0; } }
.num { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid rgb(217 164 65 / 0.55); border-radius: 50%; color: var(--gold); font: 600 0.85rem/1 var(--font-latin); }
.points h2 { font-size: 1.05rem; font-weight: 600; color: var(--on-dark); margin-bottom: 6px; line-height: 1.4; }
.points p { color: var(--on-dark-muted); font-size: 0.96rem; }
.why { margin-top: 22px; padding: 20px 22px; border-radius: 12px; background: rgb(255 255 255 / 0.05); border-inline-start: 3px solid var(--gold); align-self: start; }
@media (min-width: 900px) { .why { margin-top: 0; } }
.why h2 { font-size: 0.95rem; font-weight: 600; color: var(--gold); margin-bottom: 6px; }
.why p { color: var(--on-dark); font-size: 0.96rem; }

/* ---------- Result ---------- */
.result-section { padding: 56px 0 8px; }
.result { display: grid; gap: 16px; }
.loading { color: var(--muted); padding: 24px 0; }

.result-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 6px; }
.result-title { display: flex; align-items: center; gap: 14px; }
.result-title .flag { width: 45px; height: 30px; border-radius: 4px; }
.result-title .flag-NP { border-radius: 0; }
.result-eyebrow { font-size: 0.85rem; font-weight: 600; color: var(--brand); }
.result-title h2 { font-size: clamp(1.55rem, 1.2rem + 1.3vw, 2.1rem); font-weight: 600; letter-spacing: var(--tracking-tight); line-height: 1.2; }
/* Nastaliq rises well above the baseline; give the eyebrow and title room so they don't touch. */
:root:lang(ur) .result-eyebrow { margin-bottom: 6px; }
:root:lang(ur) .result-title h2 { line-height: 1.7; }
.chip { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); font-size: 0.85rem; }

.metrics { display: grid; gap: 14px; }
@media (min-width: 780px) { .metrics { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); } }
.metric { display: flex; flex-direction: column; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-soft); }
.metric-label { font-weight: 600; font-size: 0.95rem; color: var(--ink-2); }
.metric-value { margin-top: auto; font: 600 2.1rem/1.1 var(--font-latin); letter-spacing: -0.02em; }
.metric-note { color: var(--muted); font-size: 0.9rem; }
.metric.is-primary { background: var(--brand-deep); border-color: var(--brand-deep); }
.metric.is-primary .metric-label { color: var(--on-dark-muted); font-weight: 500; }
.metric.is-primary .metric-value { color: #fff; font-size: clamp(2.5rem, 1.7rem + 2.6vw, 3.3rem); letter-spacing: -0.03em; }
.metric.is-primary .metric-note { color: var(--gold); font-weight: 500; }
.metric.is-gold { background: var(--gold-soft); border-color: var(--gold-line); }

.panels { display: grid; gap: 14px; }
@media (min-width: 900px) { .panels { grid-template-columns: 1.1fr 0.9fr; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-soft); }
.panel h3 { font-size: 1.05rem; font-weight: 600; line-height: 1.45; margin-bottom: 18px; text-wrap: pretty; }

.bar { display: flex; gap: 3px; height: 14px; }
.seg { border-radius: 4px; min-width: 4px; }
.seg.take, .key.take { background: var(--brand); }
.seg.tax, .key.tax { background: var(--tax); }
.seg.contrib, .key.contrib { background: var(--contrib); }

.lines { margin: 18px 0 0; }
.line { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); }
.line dt { display: flex; align-items: center; gap: 10px; color: var(--ink-2); }
.line dd { margin: 0; }
.line.total dt, .line.total dd { color: var(--ink); font-weight: 600; }
.key { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.key.none { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-strong); }

.blocks { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; max-width: 420px; }
.block { position: relative; aspect-ratio: 1; border-radius: 5px; background: var(--gold-soft); box-shadow: inset 0 0 0 1px var(--gold-line); overflow: hidden; }
.block > span { position: absolute; inset-block: 0; inset-inline-start: 0; background: var(--gold); }
.legend { margin-top: 16px; color: var(--muted); font-size: 0.9rem; }

.result-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding-top: 6px; }
.rate { color: var(--muted); font-size: 0.9rem; }
.result-foot .share-row { margin-top: 0; }

/* ---------- Comparison table ---------- */
.compare { padding: 48px 0 56px; }
.section-title { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); font-weight: 600; letter-spacing: var(--tracking-tight); line-height: 1.3; margin-bottom: 18px; }
.table-scroll { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-soft); }
table { width: 100%; min-width: 620px; border-collapse: collapse; }
th, td { padding: 15px 20px; border-bottom: 1px solid var(--line); text-align: end; white-space: nowrap; }
th:first-child { text-align: start; }
thead th { background: var(--surface-2); color: var(--muted); font-size: 0.85rem; font-weight: 600; }
tbody tr:last-child > * { border-bottom: 0; }
tbody tr { transition: background-color 0.15s; }
tbody tr:hover { background: var(--surface-2); }
tbody tr[aria-selected="true"] { background: var(--brand-soft); }
tbody tr[aria-selected="true"] th { box-shadow: inset 3px 0 0 var(--brand); }
[dir="rtl"] tbody tr[aria-selected="true"] th { box-shadow: inset -3px 0 0 var(--brand); }
.row-select { display: inline-flex; align-items: center; gap: 12px; padding: 0; border: 0; background: none; font-weight: 600; cursor: pointer; }
.row-select:hover span { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Method and sources ---------- */
.method { padding: 64px 0 72px; background: var(--surface); border-top: 1px solid var(--line); }
.method-grid { display: grid; gap: 48px; }
@media (min-width: 900px) { .method-grid { grid-template-columns: 0.9fr 1.1fr; gap: 72px; } }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 32px 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.steps li::before { content: counter(step); font: 600 0.95rem/1.6 var(--font-latin); color: var(--brand); }

.source { border-top: 1px solid var(--line); }
.source:last-child { border-bottom: 1px solid var(--line); }
.source summary { display: flex; align-items: center; gap: 12px; padding: 16px 0; cursor: pointer; list-style: none; font-weight: 600; }
.source summary::-webkit-details-marker { display: none; }
.source-year { margin-inline-start: auto; font: 400 0.85rem/1.3 var(--font-latin); color: var(--muted); text-align: end; }
.source summary::after {
  content: ""; flex: none; width: 8px; height: 8px; margin: -4px 4px 0;
  border-inline-end: 2px solid var(--muted); border-block-end: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform 0.2s;
}
.source[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.source-body { padding: 0 0 18px; color: var(--ink-2); }
.source-body ul { margin: 10px 0 0; padding-inline-start: 18px; }
.source-body li { margin: 4px 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-deep); color: var(--on-dark-muted); padding: 48px 0 40px; font-size: 0.92rem; }
.footer-top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid var(--on-dark-line); }
.site-footer .brand { color: var(--on-dark); }
.footer-tagline { margin-top: 10px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.footer-nav a { color: var(--on-dark); text-decoration: none; font-weight: 500; }
.footer-nav a:hover { text-decoration: underline; }
.footer-bottom { display: grid; gap: 10px; padding-top: 24px; }
.site-footer .footer-bottom a { color: var(--on-dark); }
.disclaimer { max-width: 75ch; }
.copyright { color: rgb(183 198 189 / 0.7); }

/* ---------- Content pages: about, privacy, contact ---------- */
.back-link { color: var(--on-dark-muted); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.back-link:hover { color: var(--on-dark); }
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--brand-deep); color: var(--on-dark); padding: 48px 0 56px; }
.page-hero h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); line-height: 1.1; letter-spacing: -0.025em; font-weight: 600; max-width: 22ch; }
.page-hero .lead { margin-top: 14px; }
.prose { max-width: 70ch; padding: 48px 0 72px; color: var(--ink-2); font-size: 1.05rem; }
.prose h2 { color: var(--ink); font-size: 1.3rem; font-weight: 600; letter-spacing: -0.01em; margin: 36px 0 10px; }
.prose > h2:first-child { margin-top: 0; }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 12px; }
.prose ul { margin: 0; padding-inline-start: 20px; }
.prose li + li { margin-top: 6px; }
.prose .updated { margin-top: 40px; font-size: 0.9rem; color: var(--muted); }
.contact-card { margin: 4px 0 8px; padding: 22px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.contact-card p { color: var(--muted); font-size: 0.95rem; }
.contact-card a { display: inline-block; margin-top: 4px; font-size: 1.3rem; font-weight: 600; text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
