/* ============================================================
   site.css — Website shell for the A1C Chart Calculator.

   Loaded AFTER style.css on the calculator page. Every selector
   here is namespaced to a site class so it can never reach into
   the calculator markup. Bare element rules are deliberately
   avoided for the same reason.

   Palette is copied verbatim from the calculator so both share
   one identical colour scheme.
   ============================================================ */

/* ---------- Self hosted Poppins ----------
   Served from this origin, so the browser never opens a connection to a
   third party font host before it can paint. Latin subset only, which is
   all this site sets; anything outside that range falls through to the
   system stack named in --s-font. */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/poppins-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/poppins-800.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --s-ink-900: #0d2438;
  --s-ink-800: #14395a;
  --s-ink-700: #2c4d66;
  --s-ink-600: #40607a;
  --s-ink-500: #4d6373;
  --s-ink-400: #5f7686;

  --s-line: #dae5ed;
  --s-line-strong: #bfd1de;
  --s-canvas: #eff5fa;
  --s-surface: #ffffff;
  --s-surface-2: #f7fbfd;

  --s-blue-800: #10557f;
  --s-blue-700: #176b9b;
  --s-blue-600: #1a7fbd;
  --s-blue-500: #2f9ad6;
  --s-blue-100: #ddf0fb;
  --s-blue-050: #eef8fd;
  --s-keyword: #0b6fb8;

  --s-teal-700: #0b6f62;
  --s-teal-100: #dbf3ec;
  --s-amber-700: #8a5c07;
  --s-amber-100: #fdefd2;
  --s-violet-700: #63489f;
  --s-violet-100: #ece5fa;
  --s-danger: #a33232;

  --s-shadow-xl: 0 24px 60px -22px rgba(11, 45, 72, .28), 0 4px 14px -6px rgba(11, 45, 72, .10);
  --s-shadow-md: 0 12px 30px -14px rgba(11, 45, 72, .24);
  --s-shadow-sm: 0 4px 12px -6px rgba(11, 45, 72, .20);

  --s-r-xl: 24px;
  --s-r-lg: 18px;
  --s-r-md: 12px;
  --s-r-sm: 10px;

  --s-ease: cubic-bezier(.22, .61, .36, 1);
  --s-font: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Base, applied only where the calculator does not ---------- */
.site-body {
  margin: 0;
  min-width: 320px;
  background-color: var(--s-canvas);
  color: var(--s-ink-900);
  font-family: var(--s-font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
/* The page tint lives on its own fixed layer rather than on a fixed
   background attachment. A fixed attachment repaints the whole tinted
   area on every scroll frame, which is the most expensive thing a phone
   does while reading this site. A composited layer costs nothing and
   looks identical. */
.site-body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: var(--s-canvas);
  background-image:
    radial-gradient(1100px 520px at 8% -6%, rgba(47, 154, 214, .16), rgba(47, 154, 214, 0) 70%),
    radial-gradient(900px 480px at 100% 0%, rgba(11, 111, 98, .12), rgba(11, 111, 98, 0) 70%),
    linear-gradient(180deg, #f6fafc 0%, #eff5fa 46%, #e7eff5 100%);
}

.site-body { overflow-x: clip; }
html { overflow-x: clip; scrollbar-gutter: stable; }
.site-body * , .site-body *::before, .site-body *::after { box-sizing: border-box; }

/* Keep heading presentation consistent across every page and post. */
.site-body h1,
.site-body h2,
.site-body h3,
.site-body h4,
.site-body h5,
.site-body h6 { text-transform: capitalize; }

.wrap { width: min(1240px, 100% - 2.5rem); margin-inline: auto; }
.center { text-align: center; }

/* Anchor targets clear the sticky header instead of hiding under it. */
.sct[id], #calculator, .page-hero[id] { scroll-margin-top: 92px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: -webkit-sticky; position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s var(--s-ease), border-color .2s var(--s-ease);
}
.site-header.scrolled { border-bottom-color: var(--s-line); box-shadow: 0 6px 24px -18px rgba(11, 45, 72, .6); }

.site-header .nav { display: flex; align-items: center; gap: 16px; min-width: 0; min-height: 76px; }
.site-header .wrap { min-width: 0; }

.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; flex: none; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; flex: none; }
.brand-mark svg { width: 40px; height: 40px; }
.brand-mark svg rect { fill: var(--s-blue-700); }
.brand-mark svg path { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.brand-text { display: grid; line-height: 1.15; }
.brand-text b { color: var(--s-keyword); font-size: 1.06rem; font-weight: 700; letter-spacing: -.02em; }
.brand-text span { color: var(--s-ink-500); font-size: .76rem; font-weight: 500; }

/* ---------- Menu list, shared by the bar and the drawer ---------- */
.nav-drawer { display: contents; }

.nav-links { display: flex; align-items: center; gap: 2px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.nav-links a {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 12px;
  border-radius: 11px; color: var(--s-ink-600);
  font-size: .9rem; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: background .18s var(--s-ease), color .18s var(--s-ease), transform .18s var(--s-ease);
}
.nav-links a::after {
  position: absolute; content: ""; left: 12px; right: 12px; bottom: 6px;
  height: 2px; border-radius: 2px; background: currentColor;
  transform: scaleX(0); transform-origin: left; opacity: .45;
  transition: transform .22s var(--s-ease);
}
.nav-links a:hover { background: var(--s-blue-050); color: var(--s-blue-800); transform: translateY(-1px); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { background: var(--s-blue-050); color: var(--s-blue-700); }

/* Two tone icons, one accent per entry */
.nav-ico { display: grid; place-items: center; width: 22px; height: 22px; flex: none; }
.nav-ico svg { width: 22px; height: 22px; display: block; }
.nav-ico .ic-bg { fill: var(--s-blue-100); transition: fill .18s var(--s-ease); }
.nav-ico .ic-fg { fill: var(--s-blue-700); transition: fill .18s var(--s-ease); }
.nav-ico .ic-cut { fill: #fff; }
.nav-links a[data-tone="teal"]   .ic-bg { fill: var(--s-teal-100); }
.nav-links a[data-tone="teal"]   .ic-fg { fill: var(--s-teal-700); }
.nav-links a[data-tone="amber"]  .ic-bg { fill: var(--s-amber-100); }
.nav-links a[data-tone="amber"]  .ic-fg { fill: var(--s-amber-700); }
.nav-links a[data-tone="violet"] .ic-bg { fill: var(--s-violet-100); }
.nav-links a[data-tone="violet"] .ic-fg { fill: var(--s-violet-700); }
.nav-links a:hover .ic-bg { fill: #fff; }

.nav-cta { display: flex; align-items: center; gap: 10px; margin-left: 6px; }
.nav-btn { min-height: 44px; padding: 10px 18px; font-size: .9rem; }

/* Drawer chrome hides while the bar layout is in use.
   These need two classes of specificity so they beat .btn, which is
   declared later in this file and would otherwise re-show the button. */
.nav .drawer-head,
.nav .drawer-cta,
.nav .drawer-note,
.nav .nav-scrim { display: none; }
.nav-scrim[hidden] { display: none !important; }

.burger {
  display: none; place-items: center;
  width: 48px; height: 48px; padding: 13px;
  border: 1px solid var(--s-line-strong); border-radius: var(--s-r-sm);
  background: #fff; cursor: pointer;
  transition: border-color .18s var(--s-ease), background .18s var(--s-ease);
}
.burger:hover { border-color: var(--s-blue-600); background: var(--s-blue-050); }
.burger span { display: block; width: 100%; height: 2px; border-radius: 2px; background: var(--s-ink-800); transition: transform .24s var(--s-ease), opacity .18s var(--s-ease); }
.burger span + span { margin-top: 5px; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 11px 22px;
  border: 1.5px solid transparent; border-radius: var(--s-r-sm);
  font-family: inherit; font-size: .95rem; font-weight: 600;
  text-decoration: none; cursor: pointer;
  transition: transform .16s var(--s-ease), background .16s var(--s-ease), border-color .16s var(--s-ease), box-shadow .16s var(--s-ease);
}
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-solid { background: linear-gradient(180deg, #1c7cae, var(--s-blue-700)); color: #fff; box-shadow: 0 10px 22px -12px rgba(23, 107, 155, .9); }
.btn-solid:hover { background: linear-gradient(180deg, #17709f, var(--s-blue-800)); }
.btn-line { border-color: var(--s-line-strong); background: #fff; color: var(--s-ink-800); }
.btn-line:hover { border-color: #7fa8c1; background: var(--s-surface-2); }
.btn-lg { min-height: 54px; padding: 13px 28px; font-size: 1rem; }
.btn-sm { min-height: 42px; padding: 8px 16px; font-size: .88rem; }

/* ============================================================
   SECTIONS
   ============================================================ */
.sct { padding-block: clamp(48px, 6vw, 88px); }
.sct-alt { background: rgba(255, 255, 255, .62); border-block: 1px solid var(--s-line); }

.sec-head { max-width: 60ch; margin: 0 auto clamp(28px, 4vw, 48px); text-align: center; }
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 14px; padding: 7px 15px;
  border: 1px solid #cfe6f4; border-radius: 999px;
  background: var(--s-blue-050); color: var(--s-blue-700);
  font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
}
.eyebrow-pill svg { width: 14px; height: 14px; fill: currentColor; }
.sec-head h2 {
  margin: 0;
  color: var(--s-ink-900);
  font-size: clamp(1.7rem, 1.2rem + 1.9vw, 2.6rem);
  font-weight: 700; line-height: 1.18; letter-spacing: -.028em;
}
.sec-head h2 .hl { color: var(--s-keyword); }
.sec-head p { max-width: 58ch; margin: 14px auto 0; color: var(--s-ink-500); font-size: 1.02rem; }
.sec-head.left { margin-inline: 0; text-align: left; }
.sec-head.left p { margin-inline: 0; }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px;
  margin-top: 6px; padding: 22px;
  border: 1px solid var(--s-line); border-radius: var(--s-r-xl);
  background: var(--s-surface); box-shadow: var(--s-shadow-md);
}
.trust-item { display: grid; gap: 3px; padding-inline: 10px; text-align: center; }
.trust-item + .trust-item { border-left: 1px solid var(--s-line); }
.trust-item b { color: var(--s-keyword); font-size: clamp(1.3rem, 1rem + 1vw, 1.75rem); font-weight: 700; letter-spacing: -.02em; }
.trust-item span { color: var(--s-ink-500); font-size: .84rem; line-height: 1.4; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(26px, 4vw, 56px); align-items: start; }
.about-figure { position: sticky; top: 92px; margin: 0; }
.about-figure img { width: 100%; height: auto; border-radius: var(--s-r-xl); }
.about-copy h3 { margin: 26px 0 8px; color: var(--s-ink-900); font-size: 1.14rem; font-weight: 700; }
.about-copy p { margin: 0; color: var(--s-ink-500); }
.about-copy p + p { margin-top: 12px; }
.about-read-more { margin-top: 24px; }

.checklist { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.checklist li { position: relative; padding-left: 32px; color: var(--s-ink-600); font-size: .96rem; }
.checklist li::before {
  position: absolute; left: 0; top: 3px; content: "";
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--s-teal-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='%230b6f62' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* ============================================================
   FEATURE CARDS
   ============================================================ */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.f-card {
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid var(--s-line); border-radius: var(--s-r-lg);
  background: var(--s-surface); box-shadow: var(--s-shadow-sm);
  transition: transform .2s var(--s-ease), box-shadow .2s var(--s-ease), border-color .2s var(--s-ease);
}
.f-card:hover { transform: translateY(-3px); border-color: #bfdcee; box-shadow: var(--s-shadow-md); }
.f-ico { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 16px; border-radius: 14px; background: var(--s-blue-100); }
.f-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--s-blue-700); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.f-card.teal .f-ico { background: var(--s-teal-100); }
.f-card.teal .f-ico svg { stroke: var(--s-teal-700); }
.f-card.amber .f-ico { background: var(--s-amber-100); }
.f-card.amber .f-ico svg { stroke: var(--s-amber-700); }
.f-card.violet .f-ico { background: var(--s-violet-100); }
.f-card.violet .f-ico svg { stroke: var(--s-violet-700); }
.f-card h3 { margin: 0 0 8px; color: var(--s-ink-900); font-size: 1.08rem; font-weight: 700; }
.f-card p { margin: 0; color: var(--s-ink-500); font-size: .94rem; }

/* ============================================================
   STEPS
   ============================================================ */
.steps { counter-reset: stp; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.step {
  position: relative; padding: 26px 22px 22px;
  border: 1px solid var(--s-line); border-radius: var(--s-r-lg);
  background: var(--s-surface);
}
.step::before {
  counter-increment: stp; content: counter(stp, decimal-leading-zero);
  display: grid; place-items: center;
  width: 42px; height: 42px; margin-bottom: 14px;
  border-radius: 12px; background: var(--s-blue-700); color: #fff;
  font-size: .9rem; font-weight: 700; letter-spacing: .02em;
}
.step h3 { margin: 0 0 7px; color: var(--s-ink-900); font-size: 1.04rem; font-weight: 700; }
.step p { margin: 0; color: var(--s-ink-500); font-size: .93rem; }

/* ============================================================
   VALUE / IMPORTANCE
   ============================================================ */
.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.value {
  display: flex; gap: 15px; align-items: flex-start;
  padding: 22px;
  border: 1px solid var(--s-line); border-left: 4px solid var(--s-blue-600); border-radius: var(--s-r-md);
  background: var(--s-surface);
}
.value:nth-child(2) { border-left-color: var(--s-teal-700); }
.value:nth-child(3) { border-left-color: var(--s-amber-700); }
.value:nth-child(4) { border-left-color: var(--s-violet-700); }
.value h3 { margin: 0 0 6px; color: var(--s-ink-900); font-size: 1.02rem; font-weight: 700; }
.value p { margin: 0; color: var(--s-ink-500); font-size: .93rem; }

/* ============================================================
   TABLES (reference chart, compatibility)
   ============================================================ */
.tbl-wrap {
  border: 1px solid var(--s-line); border-radius: var(--s-r-lg);
  background: var(--s-surface); box-shadow: var(--s-shadow-sm);
  overflow-x: auto; overscroll-behavior-x: contain;
}
.tbl { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .94rem; }
.tbl caption { padding: 16px 18px 0; color: var(--s-ink-500); font-size: .86rem; text-align: left; }
.tbl th, .tbl td { padding: 13px 16px; border-bottom: 1px solid var(--s-line); text-align: left; vertical-align: middle; }
.tbl thead th {
  background: #e9f1f6; color: var(--s-ink-800);
  font-size: .76rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em; white-space: nowrap;
}
.tbl tbody tr:nth-child(even) td { background: var(--s-surface-2); }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.browser-name { display: inline-flex; align-items: center; gap: 11px; min-width: 190px; color: var(--s-ink-800); font-weight: 600; line-height: 1.35; }
.browser-logo { width: 34px; height: 34px; flex: none; filter: drop-shadow(0 3px 5px rgba(13, 36, 56, .12)); }
.tbl .pill {
  display: inline-flex; padding: 4px 11px; border-radius: 999px;
  font-size: .76rem; font-weight: 700; white-space: nowrap;
}
.pill-low { background: var(--s-teal-100); color: var(--s-teal-700); }
.pill-mid { background: var(--s-amber-100); color: var(--s-amber-700); }
.pill-high { background: var(--s-violet-100); color: var(--s-violet-700); }
.pill-yes { background: var(--s-teal-100); color: var(--s-teal-700); }
.pill-part { background: var(--s-amber-100); color: var(--s-amber-700); }
.tbl-note { margin: 14px 0 0; color: var(--s-ink-500); font-size: .86rem; }

/* ============================================================
   TROUBLESHOOTING
   ============================================================ */
.fix-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.fix {
  padding: 22px;
  border: 1px solid var(--s-line); border-radius: var(--s-r-lg);
  background: var(--s-surface);
}
.fix h3 { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 9px; color: var(--s-ink-900); font-size: 1.02rem; font-weight: 700; }
.fix h3 svg { width: 20px; height: 20px; margin-top: 2px; flex: none; fill: none; stroke: var(--s-amber-700); stroke-width: 2; stroke-linecap: round; }
.fix p { margin: 0; color: var(--s-ink-500); font-size: .93rem; }
.fix p + p { margin-top: 9px; }

/* ============================================================
   REVIEWS
   ============================================================ */
.rev-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.rev-status { color: var(--s-ink-500); font-size: .88rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.rev-controls { display: flex; gap: 9px; }
.rev-control {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--s-line-strong); border-radius: 50%;
  background: var(--s-surface); color: var(--s-blue-700); box-shadow: var(--s-shadow-sm);
  cursor: pointer; transition: transform .18s var(--s-ease), color .18s var(--s-ease), border-color .18s var(--s-ease), background .18s var(--s-ease);
}
.rev-control:hover { transform: translateY(-2px); border-color: var(--s-blue-600); background: var(--s-blue-050); color: var(--s-blue-800); }
.rev-control svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.rev-control .play-icon { display: none; }
.rev-control.is-paused .pause-icon { display: none; }
.rev-control.is-paused .play-icon { display: block; }
.rev-viewport { overflow: hidden; padding: 2px; margin: -2px; }
.rev-grid { display: flex; gap: 18px; transition: transform .65s var(--s-ease); will-change: transform; }
.rev {
  display: flex; flex-direction: column; gap: 14px;
  flex: 0 0 calc((100% - 36px) / 3);
  padding: 26px 24px;
  border: 1px solid var(--s-line); border-radius: var(--s-r-lg);
  background: var(--s-surface); box-shadow: var(--s-shadow-sm);
}
.stars { display: flex; gap: 3px; }
.stars svg { width: 17px; height: 17px; fill: #d99b1c; }
.stars span { color: #d99b1c; font-size: 1.08rem; letter-spacing: 2px; line-height: 1; }
.rev blockquote { margin: 0; color: var(--s-ink-700); font-size: .96rem; line-height: 1.65; }
.rev-who { display: flex; gap: 12px; align-items: center; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--s-line); }
.rev-av { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--s-blue-100); color: var(--s-blue-700); font-weight: 700; }
.rev-who b { display: block; color: var(--s-ink-900); font-size: .93rem; }
.rev-who span { color: var(--s-ink-400); font-size: .82rem; }
.review-privacy-note { margin: 14px 0 0; color: var(--s-ink-400); font-size: .8rem; text-align: center; }

/* ============================================================
   BLOG CARDS
   ============================================================ */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.b-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--s-line); border-radius: var(--s-r-lg);
  background: var(--s-surface); box-shadow: var(--s-shadow-sm);
  overflow: hidden; text-decoration: none;
  transition: transform .2s var(--s-ease), box-shadow .2s var(--s-ease), border-color .2s var(--s-ease);
}
.b-card:hover { transform: translateY(-4px); border-color: #bfdcee; box-shadow: var(--s-shadow-md); }
.b-thumb { aspect-ratio: 16 / 9; background: var(--s-blue-050); }
.b-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.b-body { display: flex; flex-direction: column; gap: 9px; padding: 22px; flex: 1; }
.b-tag {
  align-self: flex-start; padding: 4px 11px; border-radius: 999px;
  background: var(--s-blue-050); color: var(--s-blue-700);
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
}
.b-card h3 { margin: 0; color: var(--s-ink-900); font-size: 1.06rem; font-weight: 700; line-height: 1.35; }
.b-card p { margin: 0; color: var(--s-ink-500); font-size: .92rem; }
.b-read { display: inline-flex; gap: 7px; align-items: center; margin-top: auto; padding-top: 6px; color: var(--s-blue-700); font-size: .88rem; font-weight: 600; }
.b-read svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.b-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--s-ink-400); font-size: .8rem; }

/* Three across on a wide screen, whatever the card count. */
@media (min-width: 1000px) {
  .blog-grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Pagination under the home page teaser ---------- */
.blog-foot { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 30px; }
.pg-status { margin: 0; color: var(--s-ink-400); font-size: .86rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.pager { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: center; }
.pager:empty { display: none; }
.pg-list { display: flex; gap: 6px; align-items: center; margin: 0; padding: 0; list-style: none; }
.pg-arrow, .pg-num {
  display: grid; place-items: center; height: 44px;
  border: 1px solid var(--s-line-strong);
  background: var(--s-surface); color: var(--s-ink-700);
  font-family: inherit; font-size: .95rem; font-weight: 600; font-variant-numeric: tabular-nums;
  cursor: pointer; box-shadow: var(--s-shadow-sm);
  transition: transform .18s var(--s-ease), color .18s var(--s-ease), border-color .18s var(--s-ease), background .18s var(--s-ease);
}
.pg-num { min-width: 44px; padding: 0 10px; border-radius: var(--s-r-sm); }
.pg-arrow { width: 44px; padding: 0; border-radius: 50%; color: var(--s-blue-700); }
.pg-arrow svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pg-num:hover:not(.is-active), .pg-arrow:hover:not(:disabled) {
  transform: translateY(-2px); border-color: var(--s-blue-600); background: var(--s-blue-050); color: var(--s-blue-800);
}
.pg-num.is-active {
  border-color: transparent; color: #fff;
  background: linear-gradient(180deg, #1c7cae, var(--s-blue-700));
  box-shadow: 0 10px 22px -12px rgba(23, 107, 155, .9);
  cursor: default;
}
.pg-arrow:disabled { opacity: .42; box-shadow: none; cursor: not-allowed; }
.pg-gap { display: inline-block; min-width: 22px; color: var(--s-ink-400); text-align: center; }

@media (max-width: 420px) {
  .pg-num { min-width: 38px; height: 40px; padding: 0 8px; font-size: .9rem; }
  .pg-arrow { width: 40px; height: 40px; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: clamp(20px, 3vw, 40px); }
.faq-cat { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.faq-cat .ico { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--s-blue-100); }
.faq-cat .ico svg { width: 21px; height: 21px; fill: none; stroke: var(--s-blue-700); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.faq-cat h3 { margin: 0; color: var(--s-ink-900); font-size: 1.1rem; font-weight: 700; }

.faq-item { border: 1px solid var(--s-line); border-radius: var(--s-r-md); background: var(--s-surface); }
.faq-item + .faq-item { margin-top: 10px; }
.faq-item.open { border-color: #bfdcee; }
.faq-q {
  display: flex; gap: 14px; justify-content: space-between; align-items: center;
  width: 100%; min-height: 58px; padding: 14px 18px;
  border: 0; border-radius: var(--s-r-md); background: none;
  color: var(--s-ink-900); font-family: inherit; font-size: .97rem; font-weight: 600; text-align: left;
  cursor: pointer;
}
.faq-q .chev { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--s-blue-700); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .22s var(--s-ease); }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .26s var(--s-ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { margin: 0; padding: 0 18px 18px; color: var(--s-ink-500); font-size: .94rem; }
.faq-a a { color: var(--s-blue-700); }

/* ============================================================
   CALL TO ACTION BAND
   ============================================================ */
.cta-band {
  display: grid; gap: 22px; align-items: center;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--s-r-xl);
  background: linear-gradient(135deg, #10557f, #176b9b 55%, #1a7fbd);
  color: #fff; box-shadow: var(--s-shadow-xl);
}
.cta-band h2 { margin: 0; color: #fff; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.15rem); font-weight: 700; letter-spacing: -.025em; }
.cta-band p { margin: 12px 0 0; max-width: 62ch; color: #d9ecf8; font-size: 1rem; }
.cta-band .btn-line { border-color: rgba(255, 255, 255, .5); background: transparent; color: #fff; }
.cta-band .btn-line:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.cta-band .btn-solid { background: #fff; color: var(--s-blue-800); box-shadow: none; }
.cta-band .btn-solid:hover { background: #eaf5fc; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero { padding-block: clamp(34px, 5vw, 64px) clamp(24px, 3vw, 38px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; color: var(--s-ink-400); font-size: .85rem; }
.crumbs a { color: var(--s-blue-700); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-hero h1 {
  margin: 0; max-width: 22ch;
  color: var(--s-ink-900);
  font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.1rem);
  font-weight: 700; line-height: 1.1; letter-spacing: -.032em;
}
.page-hero h1 .hl { color: var(--s-keyword); }
.page-hero > .wrap > p { max-width: 66ch; margin: 14px 0 0; color: var(--s-ink-500); font-size: 1.04rem; }

/* ============================================================
   ARTICLE / LEGAL TYPOGRAPHY
   ============================================================ */
.prose {
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--s-line); border-radius: var(--s-r-xl);
  background: var(--s-surface); box-shadow: var(--s-shadow-sm);
}
.prose h2 { margin: 32px 0 10px; color: var(--s-ink-900); font-size: 1.32rem; font-weight: 700; letter-spacing: -.018em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 24px 0 8px; color: var(--s-ink-800); font-size: 1.08rem; font-weight: 700; }
.prose p { margin: 0 0 14px; color: var(--s-ink-600); font-size: 1rem; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 1.3em; color: var(--s-ink-600); }
.prose li { margin: 7px 0; }
.prose a { color: var(--s-blue-700); }
.prose strong { color: var(--s-ink-900); }
.prose img.inline { width: 100%; height: auto; margin: 22px 0; border: 1px solid var(--s-line); border-radius: var(--s-r-lg); }
.prose .callout {
  margin: 22px 0; padding: 16px 18px;
  border: 1px solid #c4dee4; border-left: 4px solid var(--s-teal-700); border-radius: 0 var(--s-r-md) var(--s-r-md) 0;
  background: #ecf6f8;
}
.prose .callout p { margin: 0; color: var(--s-ink-700); font-size: .95rem; }
.prose .tbl-wrap { margin: 24px 0; box-shadow: none; }
.prose .tbl { min-width: 520px; font-size: .92rem; }
.prose .tbl th, .prose .tbl td { padding: 12px 15px; }

/* Numbered and lettered key point lists inside articles */
.prose .keypoints {
  display: grid; gap: 12px;
  margin: 22px 0; padding: 0; list-style: none;
}
.prose .keypoints li {
  position: relative; margin: 0; padding: 14px 16px 14px 52px;
  border: 1px solid var(--s-line); border-radius: var(--s-r-md);
  background: var(--s-surface-2); color: var(--s-ink-600);
}
.prose .keypoints li::before {
  position: absolute; left: 14px; top: 13px;
  display: grid; place-items: center;
  width: 26px; height: 26px;
  border-radius: 8px; background: var(--s-blue-100); color: var(--s-blue-700);
  content: counter(kp); counter-increment: kp;
  font-size: .82rem; font-weight: 700;
}
.prose .keypoints { counter-reset: kp; }
.prose .keypoints strong { display: block; margin-bottom: 3px; color: var(--s-ink-900); }

/* Take away panel that closes each guide */
.prose .takeaway {
  margin: 26px 0 0; padding: 20px 22px;
  border: 1px solid #cfe6f4; border-radius: var(--s-r-lg);
  background: linear-gradient(135deg, var(--s-blue-050), #f7fbfd);
}
.prose .takeaway h2 { margin: 0 0 10px; font-size: 1.14rem; }
.prose .takeaway p:last-child { margin-bottom: 0; }

/* Inline related link strip */
.prose .next-up {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: 24px 0 0; padding: 0; list-style: none;
}
.prose .next-up a {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 15px;
  border: 1px solid var(--s-line-strong); border-radius: 999px;
  background: #fff; color: var(--s-blue-700);
  font-size: .88rem; font-weight: 600; text-decoration: none;
  transition: background .16s var(--s-ease), border-color .16s var(--s-ease), transform .16s var(--s-ease);
}
.prose .next-up a:hover { background: var(--s-blue-050); border-color: var(--s-blue-600); transform: translateY(-1px); }

/* ---------- Post layout ---------- */
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(20px, 3vw, 34px); align-items: start; }
.post-feature { margin: 0 0 22px; border-radius: var(--s-r-lg); overflow: hidden; border: 1px solid var(--s-line); }
.post-feature img { width: 100%; height: auto; display: block; }
.post-head h1 { margin: 0 0 12px; color: var(--s-ink-900); font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.3rem); font-weight: 700; line-height: 1.2; letter-spacing: -.028em; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 22px; color: var(--s-ink-400); font-size: .86rem; }
.post-meta span { display: inline-flex; gap: 6px; align-items: center; }
.post-meta svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.sidebar { position: sticky; top: 96px; display: grid; gap: 16px; }
.side-card { padding: 22px; border: 1px solid var(--s-line); border-radius: var(--s-r-lg); background: var(--s-surface); }
.side-card h4 { margin: 0 0 13px; color: var(--s-ink-900); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }
.side-card.promo { background: linear-gradient(135deg, #10557f, #1a7fbd); border-color: transparent; }
.side-card.promo h4 { color: #cfe8f7; }
.side-card.promo p { margin: 0 0 16px; color: #e4f2fa; font-size: .92rem; }
.side-links { margin: 0; padding: 0; list-style: none; display: grid; gap: 3px; }
.side-links a {
  display: flex; gap: 9px; align-items: flex-start; padding: 9px 10px;
  border-radius: 9px; color: var(--s-ink-600); font-size: .91rem; text-decoration: none;
  transition: background .16s var(--s-ease), color .16s var(--s-ease);
}
.side-links a:hover { background: var(--s-blue-050); color: var(--s-blue-700); }
.side-links svg { width: 15px; height: 15px; margin-top: 4px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Contact ---------- */
.contact-box {
  display: flex; gap: 16px; align-items: center;
  margin: 20px 0; padding: 20px;
  border: 1px solid #c4dee4; border-radius: var(--s-r-lg); background: #ecf6f8;
}
.contact-box svg { width: 30px; height: 30px; flex: none; fill: none; stroke: var(--s-teal-700); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-box b { display: block; color: var(--s-ink-900); font-size: .96rem; }
.contact-box a { color: var(--s-blue-700); font-size: 1.02rem; font-weight: 600; }

/* ---------- Sitemap page ---------- */
.map-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.map-card { padding: 22px; border: 1px solid var(--s-line); border-radius: var(--s-r-lg); background: var(--s-surface); }
.map-card h3 { margin: 0 0 12px; color: var(--s-ink-900); font-size: 1.02rem; font-weight: 700; }
.map-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.map-card a { color: var(--s-ink-600); font-size: .93rem; text-decoration: none; }
.map-card a:hover { color: var(--s-blue-700); text-decoration: underline; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--s-line); background: rgba(255, 255, 255, .72); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 46px); padding-block: clamp(36px, 4vw, 56px); }
.footer-brand p { margin: 16px 0 0; max-width: 46ch; color: var(--s-ink-500); font-size: .92rem; }
.footer-privacy { display: inline-flex; gap: 8px; align-items: center; margin-top: 14px !important; color: var(--s-teal-700) !important; font-size: .85rem !important; font-weight: 600; }
.footer-privacy svg { width: 16px; height: 16px; fill: currentColor; flex: none; }
.footer-col h4 { margin: 0 0 14px; color: var(--s-ink-900); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }
.footer-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.footer-col a { display: inline-flex; align-items: center; gap: 8px; color: var(--s-ink-500); font-size: .92rem; text-decoration: none; transition: color .18s var(--s-ease), transform .18s var(--s-ease); }
.footer-col a:hover { color: var(--s-blue-700); text-decoration: none; transform: translateX(4px); }
.footer-link-arrow { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .18s var(--s-ease); }
.footer-col a:hover .footer-link-arrow { transform: translateX(2px); }

.footer-note {
  padding: 18px 20px; margin-bottom: 22px;
  border: 1px solid #c4dee4; border-left: 4px solid var(--s-teal-700); border-radius: 0 var(--s-r-md) var(--s-r-md) 0;
  background: #ecf6f8; color: var(--s-ink-600); font-size: .87rem; line-height: 1.6;
}
.footer-note strong { color: var(--s-teal-700); }
.footer-bottom {
  display: flex; justify-content: center; align-items: center; text-align: center;
  padding-block: 20px; border-top: 1px solid var(--s-line);
  color: var(--s-ink-400); font-size: .87rem;
}
.footer-keyword-link { color: var(--s-keyword); font-weight: 600; text-decoration: none; }
.footer-keyword-link:hover { color: var(--s-blue-800); text-decoration: none; }

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  display: grid; place-items: center;
  width: 48px; height: 48px; padding: 0;
  border: 1px solid var(--s-line); border-radius: 50%;
  background: #fff; box-shadow: var(--s-shadow-md); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .2s var(--s-ease), transform .2s var(--s-ease), visibility .2s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top svg { width: 20px; height: 20px; fill: none; stroke: var(--s-blue-700); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--s-ease), transform .5s var(--s-ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* ---------- Tablet and below: slide in drawer from the right ---------- */
@media (max-width: 1140px) {
  .site-header .nav { min-height: 68px; gap: 10px; }
  .burger { display: grid; }
  .nav-cta { margin-left: auto; }

  /* Invisible catcher. It closes the panel on an outside tap but paints
     nothing, so the page behind is left completely undisturbed. No tint
     and no backdrop filter, both of which caused a visible repaint flash
     on smaller screens. */
  .nav-scrim {
    position: fixed; inset: 68px 0 0; z-index: 108;
    display: block;
    background: rgba(13, 36, 56, .08);
  }

  .nav-drawer {
    position: fixed; z-index: 110; top: 0; right: 0;
    display: flex; flex-direction: column;
    width: min(380px, calc(100vw - 24px));
    height: 100vh; height: 100dvh;
    max-height: 100vh; max-height: 100dvh;
    padding: clamp(12px, 2.2vh, 18px) 18px max(12px, env(safe-area-inset-bottom));
    border-radius: 24px 0 0 24px;
    background: #fff;
    box-shadow: -26px 0 60px -28px rgba(11, 36, 56, .55);
    transform: translate3d(105%, 0, 0);
    transition: transform .3s var(--s-ease);
    overflow: hidden; overscroll-behavior: contain;
    will-change: transform;
  }
  .nav-drawer.open { transform: translate3d(0, 0, 0); }

  .drawer-head { display: flex; }
  .drawer-cta { display: inline-flex; }
  .drawer-note { display: block; }

  .drawer-head {
    display: flex; justify-content: space-between; align-items: center;
    min-height: 44px; padding-bottom: 10px; margin-bottom: 8px;
    border-bottom: 1px solid var(--s-line);
    flex: none;
  }
  .drawer-title { color: var(--s-ink-400); font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; }
  .drawer-close {
    display: grid; place-items: center;
    width: 42px; min-width: 42px; max-width: 42px;
    height: 42px; min-height: 42px; max-height: 42px;
    aspect-ratio: 1 / 1; padding: 0; flex: 0 0 42px;
    border: 1px solid var(--s-line); border-radius: 999px;
    background: #fff; cursor: pointer;
    appearance: none; line-height: 1;
    transition: background .18s var(--s-ease), border-color .18s var(--s-ease), transform .18s var(--s-ease);
  }
  .drawer-close:hover { background: var(--s-blue-050); border-color: var(--s-blue-600); transform: rotate(90deg); }
  .drawer-close svg { width: 17px; height: 17px; fill: none; stroke: var(--s-ink-700); stroke-width: 2.2; stroke-linecap: round; }

  .nav-links {
    display: grid; grid-template-rows: repeat(7, minmax(0, 1fr));
    flex: 1 1 auto; min-height: 0; gap: 3px; margin: 0;
  }
  .nav-links a {
    height: 100%; min-height: 0; padding: 5px 14px; gap: 13px;
    border-radius: var(--s-r-md);
    font-size: .98rem; font-weight: 600; color: var(--s-ink-800);
  }
  .nav-links a::after { display: none; }
  .nav-links a:hover { transform: translateX(3px); }
  .nav-ico, .nav-ico svg { width: 30px; height: 30px; }

  .drawer-cta { width: 100%; min-height: 44px; margin-top: 10px; flex: none; }
  .drawer-note { margin: 7px 0 0; color: var(--s-ink-400); font-size: .76rem; line-height: 1.35; text-align: center; flex: none; }
  .nav-btn span { display: none; }
  .nav-btn { padding: 10px 14px; }

  .about-grid { grid-template-columns: 1fr; }
  .about-figure { position: static; }
  .post-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: auto; min-width: 0; }
}

/* Compact-height mode keeps every navigation item visible in landscape. */
@media (max-width: 1140px) and (max-height: 560px) {
  .nav-drawer { padding-block: 8px; }
  .drawer-head { min-height: 38px; padding-bottom: 6px; margin-bottom: 4px; }
  .drawer-close { width: 36px; min-width: 36px; max-width: 36px; height: 36px; min-height: 36px; max-height: 36px; flex-basis: 36px; }
  .nav-links { gap: 1px; }
  .nav-links a { padding-block: 2px; font-size: .9rem; }
  .nav-ico, .nav-ico svg { width: 25px; height: 25px; }
  .drawer-cta { min-height: 38px; margin-top: 5px; padding-block: 6px; }
  .drawer-note { display: none !important; }
}

@media (max-width: 980px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rev { flex-basis: calc((100% - 18px) / 2); }
}

@media (max-width: 760px) {
  .wrap { width: min(100% - 1.5rem, 720px); }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 10px; }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item + .trust-item { border-left-width: 1px; }
  .cta-actions .btn { flex: 1 1 100%; }
}

@media (max-width: 560px) {
  .wrap { width: calc(100% - 1.25rem); }
  .site-header .nav { min-height: 64px; }
  .site-header .brand { gap: 8px; min-width: 0; }
  .site-header .brand-mark,
  .site-header .brand-mark svg { width: 38px; height: 38px; }
  .site-header .brand-text b { font-size: .98rem; white-space: nowrap; }
  .brand-text span { display: none; }
  .nav-btn { display: none; }
  .burger { width: 44px; height: 44px; padding: 11px; }
  .nav-drawer { width: min(360px, calc(100vw - 12px)); border-radius: 20px 0 0 20px; padding-inline: 14px; }
  .nav-scrim { inset-block-start: 64px; }
  .rev { flex-basis: 100%; padding: 22px 20px; }
  .grid-3 { grid-template-columns: 1fr; }
  .rev-toolbar { margin-bottom: 13px; }
  .trust { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--s-line); padding-top: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { justify-content: center; }
  .to-top { right: 12px; bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .f-card:hover, .b-card:hover { transform: none; }
}

/* ============================================================
   PRINT — inner pages keep only readable content
   ============================================================ */
@media print {
  .site-header, .site-footer, .to-top, .cta-band, .sidebar, .crumbs { display: none !important; }
  .site-body { background: #fff !important; }
  .prose { border: 0; box-shadow: none; padding: 0; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
