/* Nirra — site styles
   Palette taken from the Nirra logo and app UI. */
:root {
  --chili: #D54A39;      /* logo red, headlines */
  --ember: #EB7A43;      /* brand orange, actions */
  --ember-deep: #C85A26; /* orange text on light bg (AA) */
  --shell: #FFF5EA;      /* page peach */
  --cream: #FFFBF6;      /* lighter surface */
  --kola: #2A1712;       /* ink + dark sections */
  --kola-soft: #5B443C;  /* secondary text */
  --line: #F0DCCB;
  /* app tile colours */
  --sky: #E8ECFF;
  --butter: #FFF0C2;
  --mint: #DDF5DF;
  --aqua: #D8F2FA;
  --blush: #FFE1D3;

  --display: "Luckiest Guy", "Arial Black", system-ui, sans-serif;
  --body: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--shell);
  color: var(--kola);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; border-radius: 6px; }

main section[id] { scroll-margin-top: 72px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--kola); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }

/* Display type */
.display {
  font-family: var(--display);
  letter-spacing: .01em;
  line-height: 1.02;
  text-transform: none;
}
.h-section { font-family: var(--display); font-size: clamp(2rem, 4.4vw, 3.3rem); line-height: 1.04; color: var(--kola); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--kola-soft); max-width: 36em; }

/* Buttons & badges */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 999px; border: 0;
  font-weight: 700; font-size: .98rem; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-ember { background: var(--ember); color: #fff; }
.btn-ember:hover { background: #dc6a33; }
.badges { display: flex; flex-wrap: wrap; gap: 12px; }
.badges a { display: block; border-radius: 9px; transition: transform .15s ease; }
.badges a:hover { transform: translateY(-2px); }
.badges img { height: 52px; width: auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--shell) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.nav-logo img { width: 78px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: .97rem; color: var(--kola); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a[aria-current="page"] { border-bottom-color: var(--ember); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.menu-btn {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--cream); cursor: pointer; align-items: center; justify-content: center;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 20px; height: 2px; background: var(--kola); border-radius: 2px; position: relative; transition: transform .2s ease, background-color .2s ease;
}
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; inset: 72px 0 auto 0; z-index: 49;
  background: var(--cream); border-bottom: 1px solid var(--line);
  padding: 8px var(--gutter) 24px; box-shadow: 0 24px 40px -24px rgba(42, 23, 18, .35);
}
.mobile-menu.is-open { display: block; animation: drop .2s ease; }
.mobile-menu a.mm-link { display: block; padding: 14px 0; font-weight: 700; font-size: 1.1rem; text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-menu .badges { margin-top: 20px; }
.mobile-menu .badges img { height: 46px; }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

@media (max-width: 860px) {
  .nav-links, .nav-cta .btn { display: none; }
  .menu-btn { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(56px, 7vw, 96px); position: relative; overflow-x: clip; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero h1 { font-family: var(--display); color: var(--chili); font-size: clamp(2.9rem, 7vw, 5.6rem); line-height: .98; letter-spacing: .005em; }
.hero .lede { margin-top: 22px; }
.hero .badges { margin-top: 32px; }
.hero-note { margin-top: 18px; font-size: .92rem; color: var(--kola-soft); }

.hero-stage { position: relative; min-height: 560px; display: flex; justify-content: center; }
.hero-stage::before {
  content: ""; position: absolute; width: min(520px, 100%); aspect-ratio: 1; border-radius: 50%;
  background: var(--ember); top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.phone { position: relative; filter: drop-shadow(0 30px 40px rgba(42, 23, 18, .28)); }
.phone-main { width: min(300px, 62vw); z-index: 2; margin-top: 10px; }
.phone-back { position: absolute; width: min(250px, 50vw); z-index: 1; right: -6%; top: 84px; transform: rotate(9deg); opacity: .98; }

/* the one orchestrated moment: a receipt slides out of the phone */
.receipt {
  position: absolute; z-index: 3; left: 0; bottom: 70px; width: 248px;
  background: #fff; border-radius: 16px; padding: 14px 16px;
  box-shadow: 0 18px 40px -12px rgba(42, 23, 18, .35);
  display: grid; grid-template-columns: 40px 1fr; gap: 4px 12px; align-items: center;
  animation: receipt-in .7s cubic-bezier(.2, .9, .25, 1.15) .9s both;
}
.receipt-tick { grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; background: var(--mint); display: grid; place-items: center; }
.receipt-tick svg { width: 20px; height: 20px; }
.receipt-title { font-size: .8rem; color: var(--kola-soft); line-height: 1.2; }
.receipt-amount { font-weight: 800; font-size: 1.15rem; line-height: 1.2; }
.receipt-foot { grid-column: 1 / -1; margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; font-size: .78rem; color: var(--kola-soft); }
.receipt-foot b { color: #1E8A4C; font-weight: 700; }
@keyframes receipt-in {
  from { opacity: 0; transform: translate(70px, 30px) scale(.85) rotate(4deg); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .receipt { animation: none; } }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stage { min-height: 500px; margin-top: 12px; }
}
@media (max-width: 520px) {
  .hero-stage { min-height: 440px; }
  .hero-stage::before { width: 340px; }
  .phone-main { width: 230px; }
  .phone-back { width: 190px; right: -4px; top: 48px; }
  .receipt { width: 214px; left: -2px; bottom: 36px; padding: 12px; }
  .badges img { height: 46px; }
}

/* ---------- Partners ---------- */
.partners { padding: 28px 0 36px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--cream); }
.partners p { text-align: center; font-weight: 600; color: var(--kola-soft); font-size: .95rem; }
.partner-row { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px clamp(28px, 5vw, 64px); }
.partner-row img { height: 34px; width: auto; max-width: 130px; object-fit: contain; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head .lede { margin-top: 16px; }

/* Services: mirrors the coloured tiles in the app */
.tiles { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(0, auto); gap: 16px; }
.tile { border-radius: var(--radius-lg); padding: clamp(22px, 2.6vw, 32px); position: relative; overflow: hidden; }
.tile h3 { font-family: var(--display); font-size: clamp(1.45rem, 2.2vw, 1.9rem); line-height: 1.05; }
.tile p { margin-top: 10px; color: var(--kola-soft); max-width: 30em; }
.tile-icon { width: 52px; height: 52px; border-radius: 50%; background: #fff; display: grid; place-items: center; margin-bottom: 18px; }
.tile-icon svg { width: 26px; height: 26px; }
.t-transfer { grid-column: span 4; background: var(--blush); display: grid; grid-template-columns: 1fr 210px; gap: 20px; padding-bottom: 0; }
.t-transfer .tile-copy { padding-bottom: clamp(22px, 2.6vw, 32px); }
.t-transfer img { align-self: end; width: 210px; margin-bottom: -60px; filter: drop-shadow(0 20px 26px rgba(42,23,18,.25)); }
.t-loans { grid-column: span 2; background: var(--sky); }
.t-bills { grid-column: span 3; background: var(--butter); }
.t-save { grid-column: span 3; background: var(--aqua); }
.t-life { grid-column: span 3; background: var(--cream); border: 1px solid var(--line); }
.t-credit { grid-column: span 3; background: var(--mint); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips li { background: #fff; border-radius: 999px; padding: 6px 14px; font-size: .9rem; font-weight: 600; }
.score { display: flex; align-items: baseline; gap: 4px; margin-top: 16px; font-weight: 800; }
.score b { font-size: 2.4rem; line-height: 1; }
.score span { color: var(--kola-soft); }
.meter { margin-top: 10px; height: 10px; background: #fff; border-radius: 99px; overflow: hidden; max-width: 260px; }
.meter i { display: block; height: 100%; width: 0; background: #2FA35A; border-radius: 99px; transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.meter.is-on i { width: 87%; }
@media (prefers-reduced-motion: reduce) { .meter i { transition: none; } }

@media (max-width: 960px) {
  .tiles { grid-template-columns: 1fr 1fr; }
  .t-transfer { grid-column: span 2; }
  .t-loans, .t-bills, .t-save, .t-life, .t-credit { grid-column: span 1; }
}
@media (max-width: 640px) {
  .tiles { grid-template-columns: 1fr; }
  .t-transfer, .t-loans, .t-bills, .t-save, .t-life, .t-credit { grid-column: auto; }
  .t-transfer { grid-template-columns: 1fr; }
  .t-transfer img { width: 190px; justify-self: center; margin-bottom: -70px; }
}

/* ---------- Get started (a real sequence, so it's numbered) ---------- */
.start { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.start-grid { display: grid; grid-template-columns: 340px 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.start-phone { justify-self: center; width: 280px; filter: drop-shadow(0 30px 40px rgba(42,23,18,.22)); }
.steps { counter-reset: step; margin-top: 36px; display: grid; gap: 4px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); }
.steps li:first-child { border-top: 0; }
.steps li::before {
  content: counter(step); font-family: var(--display); font-size: 2.6rem; line-height: 1; color: var(--ember);
}
.steps h3 { font-weight: 700; font-size: 1.15rem; font-family: var(--body); }
.steps p { color: var(--kola-soft); margin-top: 4px; }
@media (max-width: 860px) {
  .start-grid { grid-template-columns: 1fr; }
  .start-phone { order: 2; width: 230px; }
}

/* ---------- Why Nirra (dark) ---------- */
.why { background: var(--kola); color: #F8EDE4; }
.why .h-section { color: #fff; }
.why .lede { color: #D9C6BA; }
.why-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.why-photos { position: relative; min-height: 520px; }
.why-photos img { position: absolute; border-radius: var(--radius-md); object-fit: cover; }
.why-photos .p1 { width: 60%; aspect-ratio: 593/890; left: 0; bottom: 0; }
.why-photos .p2 { width: 56%; aspect-ratio: 640/853; right: 0; top: 0; border: 6px solid var(--kola); }
.reasons { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.reasons h3 { font-family: var(--display); font-size: 1.4rem; color: var(--ember); line-height: 1.1; }
.reasons p { margin-top: 8px; color: #E5D5CB; font-size: 1rem; }
@media (max-width: 960px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-photos { min-height: 0; aspect-ratio: 1.1; max-width: 520px; width: 100%; }
}
@media (max-width: 560px) { .reasons { grid-template-columns: 1fr; } }

/* ---------- Trust strip ---------- */
.trust { padding: clamp(56px, 7vw, 88px) 0; }
.trust-grid { display: grid; grid-template-columns: 200px 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.trust img { width: 180px; }
.trust h3 { font-weight: 700; font-size: 1.1rem; }
.trust p { color: var(--kola-soft); margin-top: 6px; font-size: 1rem; }
@media (max-width: 860px) { .trust-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { background: var(--cream); border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: 320px 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-side { position: sticky; top: 100px; }
.faq-side .lede { margin-top: 16px; }
.faq-side .help { margin-top: 24px; font-size: .98rem; color: var(--kola-soft); }
.faq-side .help a { color: var(--ember-deep); font-weight: 700; }
.faq-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 18px; }
.tabs { display: flex; gap: 4px; flex-wrap: nowrap; max-width: 100%; overflow-x: auto; background: var(--shell); padding: 5px; border-radius: 999px; border: 1px solid var(--line); }
.tabs button { white-space: nowrap; border: 0; background: transparent; padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: .92rem; cursor: pointer; color: var(--kola-soft); }
.tabs button[aria-selected="true"] { background: var(--kola); color: #fff; }
.search { flex: 1 1 220px; position: relative; }
.search input {
  width: 100%; height: 46px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  padding: 0 18px 0 42px; font: inherit; font-size: .97rem; color: var(--kola);
}
.search input:focus { outline: 3px solid var(--ember); outline-offset: 1px; }
.search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--kola-soft); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative;
  font-weight: 700; font-size: 1.05rem; line-height: 1.4;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  background: linear-gradient(var(--kola), var(--kola)) center / 12px 2px no-repeat,
              linear-gradient(var(--kola), var(--kola)) center / 2px 12px no-repeat;
  border-radius: 50%; background-color: var(--shell); transition: transform .2s ease;
}
.qa[open] summary::after { transform: rotate(45deg); background-color: var(--butter); }
.qa summary:hover { color: var(--ember-deep); }
.qa .a { padding: 0 44px 22px 0; color: var(--kola-soft); }
.qa[open] .a { animation: fade .25s ease; }
.faq-empty { padding: 28px 0; color: var(--kola-soft); }
.faq-empty button { background: none; border: 0; padding: 0; color: var(--ember-deep); font-weight: 700; text-decoration: underline; cursor: pointer; }
@keyframes fade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (max-width: 960px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-side { position: static; }
}

/* ---------- Download CTA ---------- */
.cta { padding: 0 0 clamp(72px, 9vw, 120px); background: var(--cream); }
.cta-card {
  background: var(--ember); color: #fff; border-radius: 36px; overflow: hidden;
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 24px; align-items: end;
  padding: clamp(32px, 5vw, 64px) clamp(28px, 5vw, 64px) 0;
}
.cta-card h2 { font-family: var(--display); font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.02; color: #fff; }
.cta-card p { margin-top: 14px; font-size: 1.1rem; color: #FFF1E6; max-width: 30em; }
.cta-copy { padding-bottom: clamp(32px, 5vw, 64px); }
.cta-copy .badges { margin-top: 28px; }
.cta-card img.cta-phone { width: 270px; justify-self: center; margin-bottom: -120px; filter: drop-shadow(0 24px 30px rgba(42,23,18,.3)); }
@media (max-width: 760px) {
  .cta-card { grid-template-columns: 1fr; }
  .cta-copy { padding-bottom: 0; }
  .cta-card img.cta-phone { width: 210px; margin-bottom: -150px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--kola); color: #E5D5CB; padding: 64px 0 28px; font-size: .97rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-logo { background: #fff; border-radius: 10px; padding: 8px 10px; display: inline-block; }
.footer-logo img { width: 72px; }
.site-footer p { margin-top: 16px; max-width: 34em; }
.site-footer h2 { font-family: var(--body); font-size: .95rem; font-weight: 700; color: #fff; margin-bottom: 14px; }
.site-footer li { margin: 8px 0; }
.site-footer a { color: #F8EDE4; text-decoration: none; }
.site-footer a:hover { color: var(--ember); text-decoration: underline; }
.socials { display: flex; gap: 12px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: #3D2620; display: grid; place-items: center; }
.socials a:hover { background: var(--ember); }
.socials img { width: 16px; height: 16px; filter: brightness(0) invert(1); }
.footer-base { margin-top: 48px; padding-top: 22px; border-top: 1px solid #45302A; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .9rem; color: #BCA79B; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* back to top */
.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 48px; height: 48px; border-radius: 50%;
  background: var(--kola); color: #fff; display: grid; place-items: center; text-decoration: none;
  box-shadow: 0 10px 24px -8px rgba(42,23,18,.5);
  opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .2s ease, transform .2s ease;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Legal pages ---------- */
.legal-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line); }
.legal-hero h1 { font-family: var(--display); color: var(--chili); font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1; }
.legal-meta { margin-top: 14px; color: var(--kola-soft); display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; }
.legal-meta button { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: .88rem; cursor: pointer; }
.legal-grid { display: grid; grid-template-columns: 270px 1fr; gap: clamp(32px, 5vw, 72px); padding-top: clamp(36px, 5vw, 56px); padding-bottom: clamp(72px, 9vw, 110px); align-items: start; }
.toc { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow: auto; padding-right: 8px; }
.toc h2 { font-family: var(--body); font-size: .95rem; font-weight: 700; margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 7px 0 7px 16px; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; color: var(--kola-soft); font-size: .93rem; line-height: 1.35; }
.toc a:hover { color: var(--kola); }
.toc a.is-active { color: var(--ember-deep); border-left-color: var(--ember); font-weight: 700; }
.toc-mobile { display: none; }
.legal-body { max-width: 72ch; }
.legal-body .intro { font-size: 1.08rem; color: var(--kola-soft); margin-bottom: 28px; }
.legal-body section { padding-top: 12px; margin-bottom: 36px; scroll-margin-top: 96px; }
.legal-body h2 { font-family: var(--display); font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.1; margin-bottom: 14px; color: var(--kola); }
.legal-body p, .legal-body li { color: #3D2A24; }
.legal-body p + p { margin-top: 12px; }
.legal-body ul, .legal-body ol { list-style: disc; padding-left: 1.3em; margin: 12px 0; }
.legal-body ol { list-style: decimal; }
.legal-body ol[type="a"] { list-style: lower-alpha; }
.legal-body ol[type="i"] { list-style: lower-roman; }
.legal-body li { margin: 8px 0; }
.legal-body .accept { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 20px 22px; }
.legal-body strong { color: var(--kola); }
@media (max-width: 960px) {
  .legal-grid { grid-template-columns: 1fr; }
  .toc { display: none; }
  .toc-mobile { display: block; margin-bottom: 8px; }
  .toc-mobile select { width: 100%; height: 48px; border-radius: 12px; border: 1px solid var(--line); background: #fff; padding: 0 14px; font: inherit; font-weight: 600; color: var(--kola); }
}

/* 404 */
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-top: 60px; padding-bottom: 60px; }
.nf h1 { font-family: var(--display); font-size: clamp(5rem, 18vw, 11rem); color: var(--chili); line-height: .9; }
.nf p { margin: 16px auto 28px; color: var(--kola-soft); max-width: 30em; }

@media print {
  .site-header, .site-footer, .toc, .toc-mobile, .to-top, .legal-meta button, .mobile-menu { display: none !important; }
  body { background: #fff; }
  .legal-grid { display: block; padding: 0; }
}
