/* Poppins is used under the SIL Open Font License. See /assets/fonts/OFL.txt */
@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/poppins-400.woff2") format("woff2");
}
@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/poppins-500.woff2") format("woff2");
}
@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/poppins-600.woff2") format("woff2");
}
@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/poppins-700.woff2") format("woff2");
}

:root {
  --ink: #14120e;
  --muted: #5e5a54;
  --soft: #6f6a64;
  --line: #eceae6;
  --paper: #ffffff;
  --wash: #f6f5f3;
  --blue: #304ffe;
  --blue-dark: #243fe0;
  --green: #0e8f4b;
  --red: #d92d20;
  --night: #07080c;
  --night-text: #c9c4bb;
  --header: 72px;
  --shadow: 0 16px 50px rgba(20, 18, 14, 0.12);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Poppins, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}
body.nav-lock { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--blue); }
::selection { background: #d9e0ff; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--blue);
  color: #fff;
  padding: 8px 12px;
  z-index: 80;
  border-radius: 4px;
  text-decoration: none;
}
.skip:focus { top: 12px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.riskbar {
  background: #f3f2f0;
  color: #4a4742;
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}
.riskbar p { margin: 0; padding: 8px 16px; }
.riskbar a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid #eee;
}
.site-header.is-stuck { box-shadow: 0 8px 24px rgba(20, 18, 14, 0.04); }

.bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: var(--header);
}

.logo {
  color: var(--blue);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.04em;
  text-decoration: none;
  line-height: 1;
  padding: 8px 8px 8px 0;
  flex: 0 0 auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 8px;
}

.site-nav > a,
.menu__btn {
  appearance: none;
  background: none;
  border: 0;
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 6px;
  line-height: 1.2;
}
.site-nav > a:hover,
.menu__btn:hover { background: var(--wash); }
.site-nav > a[aria-current="page"],
.menu.is-here > .menu__btn { color: var(--blue); }

.menu { position: relative; }
.menu__btn::after {
  content: "";
  display: inline-block;
  margin-left: 6px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  padding: 2.5px;
  transform: rotate(45deg) translateY(-2px);
  vertical-align: middle;
}
.menu__panel {
  display: none;
  position: absolute;
  top: calc(100% - 4px);
  left: 0;
  min-width: 280px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 8px;
  z-index: 70;
}
.menu--end .menu__panel { left: auto; right: 0; }
.menu__panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--ink);
}
.menu__panel a strong { display: block; font-weight: 600; font-size: 14px; }
.menu__panel a small {
  display: block;
  color: var(--soft);
  font-size: 12px;
  font-weight: 400;
  margin-top: 2px;
}
.menu__panel a:hover,
.menu__panel a[aria-current="page"] { background: #f4f6ff; }

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
.lang {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  padding: 0 6px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 40px;
  border: 1px solid #e4e1dc;
  background: #fff;
  border-radius: 4px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0;
  padding: 0;
}
.bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.bars span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  line-height: 1;
  white-space: nowrap;
}
.btn-lg { height: 48px; padding: 0 22px; font-size: 15px; }
.btn-ghost { background: #fff; border-color: #e4e1dc; color: var(--ink); }
.btn-ghost:hover { background: #fafaf8; }
.btn-primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #f3f4f8; }

.night { background: var(--night); color: #fff; }

.hero { padding: 54px 0 28px; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 48px;
  align-items: center;
}
.hero h1,
.page-hero h1,
.cta-band h2,
.night-head h2,
.section h2 {
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.hero h1 {
  margin: 12px 0 14px;
  font-size: clamp(34px, 4.6vw, 52px);
  max-width: 12em;
  color: #fff;
}
.lede {
  margin: 0;
  max-width: 38em;
  color: var(--night-text);
  font-size: 16px;
  line-height: 1.6;
}
.updated {
  margin: 14px 0 0;
  color: #9c9892;
  font-size: 13px;
}
.pill {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 99px;
  background: #eef1ff;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 600;
}
.pill--dark { background: rgba(255, 255, 255, 0.08); color: #d6daf8; }

.finder {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
  max-width: 520px;
}
.finder input {
  height: 48px;
  border: 0;
  border-radius: 4px;
  padding: 0 16px;
  min-width: 0;
  flex: 1 1 220px;
  background: #fff;
  color: var(--ink);
}
.finder input::placeholder { color: #8a8680; }
.finder input:focus-visible,
.field input:focus-visible,
.field textarea:focus-visible,
.calc input:focus-visible,
.gloss-filter:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(48, 79, 254, 0.28);
}

.jump {
  display: flex;
  gap: 28px;
  margin-top: 36px;
}
.jump p {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9c9892;
}
.tile {
  width: 64px;
  height: 64px;
  background: #fff;
  border-radius: 8px;
  display: grid;
  place-items: center;
}
.tile img { width: 42px; height: 42px; }
.jump span {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  color: #d5d1cb;
}

.quote-card {
  background: #fff;
  color: var(--ink);
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
.quote-card__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  font-size: 13px;
  color: var(--soft);
}
.quote-card__head a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 500;
}
.quote-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  border-top: 1px solid #f0eeea;
  text-decoration: none;
  color: inherit;
}
.quote-row:hover { background: #fafafa; }
.quote-row strong { display: block; font-size: 14px; font-weight: 600; }
.quote-row em {
  display: block;
  font-size: 12px;
  font-style: normal;
  color: var(--soft);
}
.px { text-align: right; font-variant-numeric: tabular-nums; }
.px b { display: block; font-weight: 500; font-size: 14px; }
.up, .down { font-style: normal; font-size: 12px; font-weight: 500; }
.up { color: var(--green); }
.down { color: var(--red); }
.flat { color: var(--soft); font-style: normal; font-size: 12px; font-weight: 500; }
.quote-note {
  margin: 0;
  padding: 10px 16px 14px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--soft);
  background: #fafaf8;
}

.night-head { text-align: center; padding: 36px 0 8px; }
.night-head h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(28px, 4vw, 40px);
}
.night-head p {
  margin: 0 auto;
  max-width: 38em;
  color: var(--night-text);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 280px 1fr;
  gap: 28px;
  align-items: center;
  padding: 36px 0 72px;
}
.feature-col { display: flex; flex-direction: column; gap: 28px; }
.feature-col:first-child { text-align: right; }
.kicker {
  margin: 0 0 4px;
  color: #9eb0ff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.feature h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.feature p { margin: 0; color: #bdb8b0; font-size: 14px; line-height: 1.55; }
.phone { margin: 0; }
.phone img { width: min(100%, 280px); margin-inline: auto; }

.section { padding: 88px 0; }
.section h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 40px);
  color: var(--ink);
}
.section-head { max-width: 640px; margin-bottom: 28px; }
.section-head p { margin: 0; color: var(--muted); }
.center { text-align: center; }
.section-head.center { margin-inline: auto; }

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  text-decoration: none;
  color: inherit;
  min-height: 100%;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.card:hover { border-color: #c9d0ff; transform: translateY(-2px); }
.card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  object-position: top left;
  background: var(--wash);
  border-radius: 10px;
  border: 1px solid var(--line);
}
.card .kicker { color: var(--blue); margin-top: 14px; }
.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.card p { margin: 0 0 14px; color: var(--muted); font-size: 14px; line-height: 1.55; flex: 1; }
.card .more { color: var(--blue); font-weight: 600; font-size: 14px; }
.card .more::after { content: " \2192"; }

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
table.data {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}
table.data th,
table.data td {
  text-align: left;
  padding: 16px 18px;
  border-bottom: 1px solid #f0eeea;
  font-size: 14px;
  vertical-align: top;
}
table.data th {
  color: var(--soft);
  font-weight: 500;
  background: #fafaf8;
}
table.data tr:last-child td { border-bottom: 0; }
table.data a { font-weight: 600; text-decoration: none; }
table.data a:hover { text-decoration: underline; }

.standards {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}
.standards img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
}
.ticks { list-style: none; margin: 18px 0 0; padding: 0; }
.ticks li {
  position: relative;
  padding-left: 28px;
  margin: 12px 0;
  color: var(--muted);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: #eef1ff url("/assets/ui-tick.svg") center / 12px 12px no-repeat;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat {
  background: var(--wash);
  border-radius: 16px;
  padding: 22px;
}
.stat strong {
  display: block;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}
.stat span { color: var(--muted); font-size: 14px; line-height: 1.5; }

.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  background: none;
  border: 0;
  padding: 18px 4px;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
}
.faq__q::-webkit-details-marker { display: none; }
.faq h3 { margin: 0; font-size: inherit; font-weight: inherit; }
.faq__icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  position: relative;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: var(--ink);
  border-radius: 1px;
  top: 50%;
  left: 50%;
}
.faq__icon::before { width: 12px; height: 1.5px; transform: translate(-50%, -50%); }
.faq__icon::after { width: 1.5px; height: 12px; transform: translate(-50%, -50%); }
.faq__item.is-open .faq__icon::after { display: none; }
.faq__a { padding: 0 36px 18px 4px; color: var(--muted); }
.faq__a p { margin: 0 0 10px; }
.faq__a p:last-child { margin: 0; }
.faq__a a { font-weight: 500; }

.cta-band { background: var(--night); color: #fff; padding: 72px 0; text-align: center; }
.cta-band h2 {
  margin: 0 auto 10px;
  max-width: 16em;
  font-size: clamp(28px, 4vw, 40px);
  color: #fff;
}
.cta-band p { margin: 0 auto; max-width: 36em; color: var(--night-text); }
.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 22px;
}

.site-footer { background: var(--wash); padding: 64px 0 28px; color: var(--muted); }
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}
.foot-brand {
  color: var(--blue);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.04em;
  text-decoration: none;
}
.foot-grid p { margin: 10px 0 0; font-size: 14px; line-height: 1.6; }
.foot-label {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 8px 0; }
.site-footer a { color: var(--muted); text-decoration: none; font-size: 14px; }
.site-footer a:hover { color: var(--ink); }
.legal {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid #e4e1dc;
  font-size: 12px;
  line-height: 1.65;
}
.legal p { margin: 0 0 10px; }
.foot-base {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
  font-size: 12px;
}

.page-hero { background: var(--night); color: #fff; padding: 36px 0 32px; }
.page-hero h1 {
  margin: 8px 0 12px;
  color: #fff;
  font-size: clamp(32px, 4.4vw, 46px);
  max-width: 16em;
}
.page-hero .lede { font-size: 17px; }
.crumbs { font-size: 13px; color: #b7b2aa; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li { display: flex; gap: 6px; }
.crumbs li + li::before { content: "/"; color: #7d7872; }
.crumbs a { color: #d5d0c8; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.byline { margin: 14px 0 0; color: #9c9892; font-size: 13px; }

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 48px;
  padding: 32px 0 80px;
}
.prose { font-size: 17px; line-height: 1.75; color: #24221e; }
.prose h2 {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 40px 0 12px;
  color: var(--ink);
}
.prose h3 { font-size: 20px; font-weight: 600; margin: 28px 0 8px; letter-spacing: -0.02em; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 1.25em; }
.prose li { margin: 6px 0; }
.prose a { font-weight: 500; text-underline-offset: 2px; }
.prose strong { font-weight: 600; }
figure.figure { margin: 8px 0 28px; }
figure.figure img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--wash);
}
figcaption { color: var(--soft); font-size: 13px; line-height: 1.5; margin-top: 8px; }

.banner {
  background: #f6f7ff;
  border: 1px solid #e1e6ff;
  border-radius: 14px;
  padding: 14px 16px;
  margin: 0 0 18px;
}
.callout {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: center;
  background: #f6f7ff;
  border: 1px solid #e1e6ff;
  border-radius: 14px;
  padding: 14px;
  margin: 8px 0 20px;
}
.callout p { margin: 0; font-size: 15px; line-height: 1.55; }
.callout img {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
}

.rail { position: sticky; top: 96px; align-self: start; display: flex; flex-direction: column; gap: 16px; }
.rail-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  background: #fff;
}
.rail-card p,
.rail-label { margin: 0 0 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--soft); }
.rail-card ol, .rail-card ul { margin: 0; padding-left: 1.1em; }
.rail-card li { margin: 8px 0; font-size: 14px; }
.rail-card a { text-decoration: none; font-weight: 500; }
.rail-card a:hover { text-decoration: underline; }

.calc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  background: #0e1016;
  color: #fff;
  padding: 18px;
  border-radius: 16px;
  margin: 8px 0 18px;
}
.calc label {
  font-size: 12px;
  color: #b7b2aa;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.calc input {
  background: #1a1d27;
  border: 1px solid #2a2e3a;
  color: #fff;
  border-radius: 4px;
  padding: 12px;
  width: 100%;
}
.calc__out {
  grid-column: 1 / -1;
  background: #fff;
  color: var(--ink);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}
.calc__wide { grid-column: 1 / -1; }

.gloss-filter {
  width: min(420px, 100%);
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0 14px;
  margin: 0 0 8px;
  background: #fff;
}
.gloss-count { min-height: 1.4em; color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.gloss { margin: 0; }
.gloss__item { padding: 18px 0; border-top: 1px solid var(--line); }
.gloss__item dt { font-weight: 600; font-size: 18px; letter-spacing: -0.02em; }
.gloss__item dd { margin: 6px 0 0; color: #33302b; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field span { font-size: 14px; font-weight: 500; }
.field input, .field textarea {
  border: 1px solid #e4e1dc;
  border-radius: 4px;
  padding: 12px 14px;
  background: #fff;
  width: 100%;
}
.field textarea { min-height: 150px; resize: vertical; }
.form-note, .status { color: var(--muted); font-size: 14px; line-height: 1.55; }
.form { max-width: 640px; }
.honeypot { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.note {
  background: var(--wash);
  border-radius: 16px;
  padding: 18px;
}
.note h2, .note h3 { margin-top: 0; }
.note p:last-child { margin-bottom: 0; }

.related {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}
.related a {
  display: block;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
}
.related a small { display: block; font-weight: 400; color: var(--muted); margin-top: 4px; }
.related a:hover { border-color: #c9d0ff; }

@media (min-width: 981px) {
  .menu:hover .menu__panel,
  .menu:focus-within .menu__panel { display: block; }
}

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .lang, .header-actions .btn-ghost { display: none; }
  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    margin: 0;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 10px;
    max-height: calc(100vh - 96px);
    max-height: calc(100dvh - 96px);
    overflow: auto;
  }
  .site-nav.is-open { display: flex; }
  .site-nav > a, .menu__btn { width: 100%; text-align: left; padding: 12px; }
  .menu__panel {
    position: static;
    top: auto;
    box-shadow: none;
    min-width: 0;
    padding: 0 0 4px 8px;
    border-radius: 0;
  }
  .menu.is-open .menu__panel { display: block; }
  .hero { padding: 32px 0 20px; }
  .hero__grid, .feature-grid, .cards, .stats, .standards, .foot-grid, .article-layout, .split {
    grid-template-columns: 1fr;
  }
  .feature-col:first-child, .feature-col { text-align: left; }
  .feature-grid { padding-bottom: 48px; }
  .phone { order: -1; }
  .cards { grid-template-columns: 1fr 1fr; }
  .section { padding: 56px 0; }
  .rail { position: static; }
  .article-layout { padding-top: 24px; }
}

@media (max-width: 640px) {
  .cards, .stats, .related, .calc { grid-template-columns: 1fr; }
  .jump { gap: 18px; }
  .cta-actions .btn { width: 100%; }
  .hero h1 { max-width: none; }
  .quote-row { padding: 12px; }
}

@media (max-width: 380px) {
  .quote-row { grid-template-columns: 32px minmax(0, 1fr); }
  .px { grid-column: 2; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card { transition: none; }
  .card:hover { transform: none; }
}

@media print {
  .riskbar, .site-header, .site-footer, .rail, .nav-toggle, .cta-band, .finder, .jump { display: none !important; }
  .night, .page-hero, .cta-band { background: #fff; color: #000; }
  .hero h1, .page-hero h1, .night-head h2, .feature h3 { color: #000; }
  .lede, .feature p, .night-head p { color: #222; }
  a { text-decoration: underline; }
}
