/* =========================================================================
   Nexus Firearms of America — interim site
   Hand-built static CSS. No build step. Light theme.
   Sections: tokens, reset, base, layout, header, footer, buttons,
   components, pages, utilities, responsive, motion.
   ========================================================================= */

/* ---- Tokens ------------------------------------------------------------- */
:root {
  --ink:        #17181c;   /* near-black text */
  --ink-soft:   #3d3f46;   /* secondary text */
  --ink-mute:   #6b6d76;   /* captions, meta */
  --ink-deep:   #10161a;   /* dark sections, cool gunmetal teal-black */

  --paper:      #f8f5ef;   /* page background, warm off-white */
  --paper-2:    #f1ece2;   /* alt section */
  --paper-3:    #e9e2d4;   /* cards on dark-ish / hairline fills */
  --white:      #ffffff;

  --accent:     #8a5f1c;   /* antique bronze-gold, brand */
  --accent-2:   #a5761f;   /* hover / brighter bronze-gold */
  --accent-ink: #ffffff;   /* text on accent */
  --brass:      #b08a3f;   /* muted secondary gold, decorative */
  --gold-bright: #d9ab52;  /* bright gold: text on dark photo/ink backgrounds only */
  --gold-bright-2: #f0c47a; /* bright gold hover, dark backgrounds */

  --line:       rgba(23, 24, 28, 0.14);
  --line-soft:  rgba(23, 24, 28, 0.08);
  --line-dark:  rgba(255, 255, 255, 0.16);

  --shadow-sm:  0 1px 2px rgba(16, 15, 19, 0.06), 0 2px 8px rgba(16, 15, 19, 0.05);
  --shadow-md:  0 4px 16px rgba(16, 15, 19, 0.10), 0 12px 40px rgba(16, 15, 19, 0.08);

  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap:       1160px;
  --wrap-narrow: 760px;
  --radius:     4px;
  --radius-lg:  10px;

  --step--1: clamp(0.83rem, 0.80rem + 0.15vw, 0.92rem);
  --step-0:  clamp(1rem, 0.96rem + 0.20vw, 1.10rem);
  --step-1:  clamp(1.20rem, 1.12rem + 0.40vw, 1.45rem);
  --step-2:  clamp(1.45rem, 1.30rem + 0.75vw, 1.95rem);
  --step-3:  clamp(1.85rem, 1.55rem + 1.5vw, 2.9rem);
  --step-4:  clamp(2.35rem, 1.85rem + 2.6vw, 4.1rem);
}

/* ---- Reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }

/* ---- Base ------------------------------------------------------------- */
body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-optical-sizing: auto;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); font-family: var(--font-body); font-weight: 600; letter-spacing: 0; }

p, ul, ol { font-size: inherit; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-2); }

strong { font-weight: 600; }

::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--ink);
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius);
  z-index: 200;
  transition: top 0.18s ease;
}
.skip-link:focus { top: 12px; color: var(--white); }

/* ---- Layout --------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(20px, 5vw, 44px); }
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: clamp(56px, 9vw, 116px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--paper-2 { background: var(--paper-2); }
.section--dark { background: var(--ink-deep); color: var(--paper); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark a, .hero a:not(.btn) { color: var(--gold-bright); }
.section--dark a:hover, .hero a:not(.btn):hover { color: var(--gold-bright-2); }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.section--dark .eyebrow, .hero .eyebrow { color: var(--gold-bright); }

.lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink-soft); }
.section--dark .lede { color: #cfc8bb; }

.measure { max-width: 62ch; }
.center { text-align: center; }
.center.measure { margin-inline: auto; }

/* ---- Header -------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__mark {
  width: 34px;
  height: 34px;
  flex: none;
  /* The logo's outer ring is a light tan, which nearly disappears against the
     header's cream background at this size. A faint dark edge keeps the
     circle readable without altering the artwork itself. */
  filter: drop-shadow(0 0 0.5px rgba(16,22,26,0.55)) drop-shadow(0 1px 1.5px rgba(16,22,26,0.18));
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.12rem;
  letter-spacing: -0.005em;
  line-height: 1.05;
}
.brand__name span { display: block; font-family: var(--font-body); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute); margin-top: 2px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  display: inline-block;
  padding: 9px 14px;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius);
}
.nav a:hover { color: var(--ink); background: var(--paper-2); }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; }

/* ---- Buttons ------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform 0.12s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-2); color: var(--accent-ink); }
.btn--ghost { background: transparent; border-color: currentColor; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.section--dark .btn--ghost,
.hero .btn--ghost { color: var(--paper); }
.section--dark .btn--ghost:hover,
.hero .btn--ghost:hover { background: var(--paper); color: var(--ink-deep); border-color: var(--paper); }
.btn--sm { padding: 10px 16px; font-size: 0.9rem; }

/* Buttons inside .nav must out-specify the `.nav a` colour rule (element+class
   beats a single class), or the header CTA renders dark text on the accent. */
.nav .btn--primary, .nav .btn--primary:hover { color: var(--accent-ink); background: var(--accent); }
.nav .btn--primary:hover { background: var(--accent-2); }
.nav .btn--ghost { color: var(--ink); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row--center { justify-content: center; }

/* ---- Hero ------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--ink-deep);
  color: var(--paper);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1100px 520px at 78% -8%, rgba(138, 95, 28, 0.35), transparent 60%),
    radial-gradient(760px 460px at 6% 110%, rgba(176, 138, 63, 0.22), transparent 62%);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; padding-block: clamp(76px, 13vw, 150px); }
.hero h1 { color: var(--white); max-width: 16ch; }
.hero .lede { color: #d9d2c6; max-width: 52ch; margin-top: 26px; }
.hero .btn-row { margin-top: 38px; }
.hero__note { margin-top: 26px; font-size: var(--step--1); color: #9a938a; max-width: 46ch; }

/* ---- Grids / cards ------------------------------------------------ */
.grid { display: grid; gap: clamp(20px, 3vw, 34px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--shadow-sm);
}
.card h3 { font-size: var(--step-1); }
.card p { margin-top: 12px; color: var(--ink-soft); }
.card__icon {
  width: 40px; height: 40px;
  color: var(--accent);
  margin-bottom: 18px;
}

.feature {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  align-items: start;
}
.feature svg { width: 28px; height: 28px; color: var(--accent); margin-top: 4px; }
.feature h4 { margin-bottom: 6px; }
.feature p { color: var(--ink-soft); }
.section--dark .feature p { color: #cfc8bb; }

/* ---- Split ------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
}
.split__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}

/* ---- Steps ----------------------------------------------------- */
.steps { display: grid; gap: 4px; counter-reset: step; }
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num {
  counter-increment: step;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--accent);
  line-height: 1;
}
.step__num::before { content: counter(step, decimal-leading-zero); }
.step h3 { font-size: var(--step-1); margin-bottom: 8px; }
.step p { color: var(--ink-soft); }

/* ---- Pricing table ------------------------------------------- */
.pricing { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); }
.pricing__row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 20px;
  padding: 22px clamp(20px, 3vw, 32px);
  align-items: baseline;
  border-top: 1px solid var(--line-soft);
}
.pricing__row:first-child { border-top: 0; }
.pricing__row--head {
  background: var(--paper-2);
  font-size: var(--step--1);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
}
.pricing__name { font-weight: 600; }
.pricing__name small { display: block; font-weight: 400; color: var(--ink-mute); font-size: 0.86rem; margin-top: 3px; letter-spacing: 0; text-transform: none; }
.pricing__price { font-family: var(--font-display); font-size: 1.3rem; white-space: nowrap; }
.pricing__price--muted { color: var(--ink-mute); font-size: 1.05rem; }

/* ---- Accordion (FAQ) ---------------------------------------- */
.accordion { border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 4px;
  background: none;
  border: 0;
  text-align: left;
  font-family: var(--font-body);
  font-size: var(--step-1);
  font-weight: 500;
  color: var(--ink);
}
.accordion__btn:hover { color: var(--accent); }
.accordion__icon { flex: none; width: 22px; height: 22px; transition: transform 0.2s ease; color: var(--accent); }
.accordion__btn[aria-expanded="true"] .accordion__icon { transform: rotate(45deg); }
.accordion__panel { display: none; padding: 0 4px 26px; max-width: 68ch; }
.accordion__panel p { color: var(--ink-soft); }
.accordion__panel p + p { margin-top: 12px; }
.accordion__item.is-open .accordion__panel { display: block; }

/* ---- Callout / disclaimer --------------------------------- */
.callout {
  border-left: 3px solid var(--accent);
  background: var(--paper-2);
  padding: 22px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.callout h4 { margin-bottom: 6px; }
.callout p { color: var(--ink-soft); }
.callout--plain { border-left-color: var(--brass); }

/* ---- Article ---------------------------------------------- */
.article { max-width: 68ch; margin-inline: auto; }
.article__meta { color: var(--ink-mute); font-size: var(--step--1); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 14px; }
.article h1 { font-size: var(--step-3); }
.article > p { margin-top: 20px; color: var(--ink-soft); }
.article h2 { font-size: var(--step-2); margin-top: 44px; }
.article h3 { font-size: var(--step-1); margin-top: 32px; }
.article ul, .article ol { margin-top: 16px; padding-left: 24px; color: var(--ink-soft); }
.article li + li { margin-top: 8px; }
.article__back { display: inline-block; margin-top: 48px; font-weight: 600; }

.post-list { display: grid; gap: 2px; }
.post-list__item {
  display: grid;
  gap: 8px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.post-list__item:last-child { border-bottom: 1px solid var(--line); }
.post-list__item h3 { font-size: var(--step-2); }
.post-list__item h3 a { color: var(--ink); text-decoration: none; }
.post-list__item h3 a:hover { color: var(--accent); }
.post-list__item p { color: var(--ink-soft); max-width: 66ch; }
.post-list__meta { font-size: var(--step--1); letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-mute); }

/* ---- Forms --------------------------------------------------- */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 600; font-size: 0.92rem; }
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.field input:focus, .field textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(138, 95, 28, 0.20); }
.field textarea { min-height: 130px; resize: vertical; }
.form__hint { font-size: var(--step--1); color: var(--ink-mute); }

.signup {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.signup input {
  flex: 1 1 260px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line-dark);
  background: rgba(255,255,255,0.06);
  color: var(--paper);
}
.signup input::placeholder { color: #9a938a; }
.signup input:focus { outline: none; border-color: var(--accent-2); background: rgba(255,255,255,0.10); }

/* ---- Contact detail list --------------------------------- */
.detail-list { display: grid; gap: 22px; }
/* Direct-child combinator only -- the dt/dd wrapper div one level down must
   NOT also become a 28px/1fr grid, or dt gets squeezed into 28px and wraps
   on top of dd (the overlapping-text bug). */
.detail-list > div { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; }
.detail-list svg { width: 20px; height: 20px; color: var(--accent); margin-top: 4px; }
.detail-list dt { font-weight: 600; margin-bottom: 2px; }
.detail-list dd { color: var(--ink-soft); }
.detail-list a { text-decoration: none; }
.detail-list a:hover { text-decoration: underline; }

/* ---- Footer ---------------------------------------------- */
.site-footer { background: var(--ink-deep); color: #b7b0a4; padding-block: clamp(52px, 8vw, 84px) 40px; }
.site-footer a { color: #d9d2c6; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.site-footer h4 { color: var(--white); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 10px; font-size: 0.95rem; }
.footer-telegram { display: inline-flex; align-items: center; gap: 7px; }
.footer-telegram svg { width: 15px; height: 15px; flex: none; }
.site-footer__brand { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.site-footer__brand svg { width: 32px; height: 32px; }
.site-footer__brand span { font-family: var(--font-display); font-size: 1.05rem; color: var(--white); }
.site-footer__mission { max-width: 34ch; font-size: 0.95rem; }
.site-footer__legal {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #8b8478;
}
.site-footer__compliance {
  margin-top: 20px;
  font-size: 0.82rem;
  line-height: 1.6;
  color: #8b8478;
  max-width: 92ch;
}

/* ---- Utilities ----------------------------------------- */
.stack-sm > * + * { margin-top: 12px; }
.stack > * + * { margin-top: 20px; }
.stack-lg > * + * { margin-top: 34px; }
.mt-0 { margin-top: 0; }
.hr { border: 0; border-top: 1px solid var(--line); margin-block: clamp(40px, 6vw, 72px); }
.pill {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.media-ph {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, var(--paper-3), var(--paper-2));
  color: var(--brass);
}
.media-ph svg { width: 30%; max-width: 120px; opacity: 0.55; }
.media-ph--dark { background: linear-gradient(150deg, #1b1d23, #26221d); color: #6a5c44; }

/* ---- Reveal on scroll --------------------------------- */
/* Content is visible by default. Only when JS is present and has not yet
   marked an element visible do we hide it for the entrance animation. */
.reveal { transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal:not(.is-visible) { opacity: 0; transform: translateY(16px); }
@media (prefers-reduced-motion: reduce) {
  .js .reveal:not(.is-visible) { opacity: 1; transform: none; }
}

/* ---- Responsive -------------------------------------- */
@media (max-width: 960px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 10px clamp(20px, 5vw, 44px) 22px;
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 6px; font-size: 1.05rem; border-bottom: 1px solid var(--line-soft); }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); }
  .nav .btn { margin-top: 14px; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 720px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split__media { aspect-ratio: 16 / 10; }
  .pricing__row { grid-template-columns: 1fr; gap: 6px; }
  .pricing__row--head { display: none; }
  .pricing__price::before { content: attr(data-label) "  "; color: var(--ink-mute); font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; }
  .step { grid-template-columns: 44px 1fr; gap: 16px; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__legal { flex-direction: column; gap: 8px; }
}

/* ---- Article gutters (fixes edge-to-edge text on phones) ------------------ */
article.article { padding-inline: clamp(20px, 5vw, 44px); }

/* ---- Policies page ------------------------------------------------------- */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.policy-meta { margin-top: 22px; font-size: var(--step--1); letter-spacing: 0.08em; text-transform: uppercase; color: #9a938a; }

.policy h2 { font-size: var(--step-2); margin-top: 60px; padding-top: 30px; border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.policy h3 { font-size: var(--step-1); margin-top: 32px; }
.policy p { margin-top: 14px; color: var(--ink-soft); }
.policy ul, .policy ol { margin-top: 14px; padding-left: 24px; color: var(--ink-soft); }
.policy li + li { margin-top: 10px; }
.policy li strong { color: var(--ink); }
.policy .callout { margin-top: 24px; }

.toc { background: var(--paper-2); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 26px 28px; }
.policy .toc .toc__title { font-family: var(--font-body); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); margin: 0 0 14px; padding: 0; border: 0; }
.policy .toc ol { margin: 0; padding-left: 24px; display: grid; gap: 7px; }
.policy .toc li + li { margin-top: 0; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

.fee-table { width: 100%; margin-top: 22px; border-collapse: separate; border-spacing: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; font-size: 0.98rem; }
.fee-table th, .fee-table td { padding: 12px 18px; text-align: left; border-top: 1px solid var(--line-soft); vertical-align: baseline; }
.fee-table thead th { background: var(--paper-2); border-top: 0; font-size: var(--step--1); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-mute); }
.fee-table tbody th { font-weight: 500; color: var(--ink); }
.fee-table th:nth-child(n+2), .fee-table td { text-align: right; white-space: nowrap; }
.fee-table .is-final th, .fee-table .is-final td { background: var(--paper-2); color: var(--accent); font-weight: 600; white-space: normal; }
.fee-table .is-final td { text-align: right; }
@media (max-width: 560px) {
  .fee-table th, .fee-table td { padding: 10px 12px; font-size: 0.9rem; }
  .fee-table thead th { font-size: 0.7rem; letter-spacing: 0.04em; }
  .toc { padding: 22px 20px; }
}
.fee-table tbody th { white-space: nowrap; }
@media (max-width: 560px) { .fee-table tbody th { white-space: normal; } }
@media (max-width: 560px) {
  .fee-table { table-layout: fixed; }
  .fee-table th:nth-child(n+2), .fee-table td, .fee-table thead th { white-space: normal; }
  .fee-table th:first-child { width: 44%; }
}

/* =========================================================================
   Homepage tactical hero, trust badges, stat row, brand wall, pull-quote
   ========================================================================= */

.hero-tactical {
  position: relative;
  isolation: isolate;
  background: var(--ink-deep);
  color: var(--paper);
  overflow: hidden;
}
.hero-tactical__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-tactical__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% 30%;
  display: block;
}
.hero-tactical__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(10,14,16,0.94) 0%, rgba(10,14,16,0.78) 32%, rgba(10,14,16,0.30) 58%, rgba(10,14,16,0.42) 100%),
    linear-gradient(to top, rgba(8,11,13,0.75) 0%, transparent 32%);
}
.hero-tactical__inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(56px, 9vw, 108px);
}
.hero-tactical__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}
.badge-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border: 1px solid rgba(217, 171, 82, 0.45);
  background: rgba(217, 171, 82, 0.08);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #f0e2c4;
  white-space: nowrap;
}
.badge-chip svg { width: 14px; height: 14px; color: var(--gold-bright); flex: none; }

.hero-tactical__title {
  font-family: "Oswald", var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.02;
  font-size: clamp(2.6rem, 2.05rem + 3.6vw, 5.2rem);
  color: #fff;
  max-width: 15ch;
}
.hero-tactical__lede {
  margin-top: 24px;
  font-size: var(--step-1);
  line-height: 1.5;
  color: #d4cdbf;
  max-width: 46ch;
}
.hero-tactical__lede strong { color: var(--gold-bright); font-weight: 600; }

.hero-tactical__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(26px, 4vw, 48px);
  margin-top: 34px;
}
.stat__num {
  display: block;
  font-family: "Oswald", var(--font-body);
  font-weight: 700;
  font-size: clamp(1.6rem, 1.4rem + 0.8vw, 2.1rem);
  color: #fff;
  line-height: 1;
}
.stat__label {
  display: block;
  margin-top: 6px;
  font-size: 0.82rem;
  color: #a89e8d;
}

.hero-tactical .btn-row { margin-top: 38px; }
.hero-tactical .btn--ghost { color: var(--paper); }
.hero-tactical .btn--ghost:hover { background: var(--paper); color: var(--ink-deep); border-color: var(--paper); }

/* ---- Trusted-brands section: hyperlinked logo wall --------------------- */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 24px;
  align-items: center;
  justify-items: center;
  max-width: 1040px;
  margin: 40px auto 0;
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
  background: var(--white);
  list-style: none;
}
.logo-wall__item { display: flex; align-items: center; justify-content: center; width: 100%; height: 68px; }
.logo-wall a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  transition: transform 0.16s ease;
}
.logo-wall a:hover, .logo-wall a:focus-visible { transform: translateY(-3px) scale(1.07); }
.logo-wall img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: grayscale(0.15); opacity: 0.92; transition: opacity 0.16s ease, filter 0.16s ease; }
.logo-wall a:hover img, .logo-wall a:focus-visible img { opacity: 1; filter: grayscale(0); }
.logo-wall__static { opacity: 0.85; }
/* Smaller logo set (e.g. About page's 6 manufacturer relationships) --
   placed before the responsive block below so the existing .logo-wall
   breakpoints still win at narrow widths. */
.logo-wall--compact { grid-template-columns: repeat(3, 1fr); max-width: 640px; }
@media (max-width: 720px) {
  .logo-wall { grid-template-columns: repeat(3, 1fr); gap: 24px 16px; padding: 28px 18px; }
  .logo-wall__item { height: 54px; }
}
@media (max-width: 480px) {
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Pull-quote (About narrative) -------------------------------------- */
.pull-quote {
  margin-block: 34px;
  padding-left: 24px;
  border-left: 3px solid var(--accent);
  font-family: var(--font-display);
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink);
}
.article__signoff {
  margin-top: 40px;
  font-family: var(--font-display);
  font-size: var(--step-2);
  text-align: center;
}

@media (max-width: 720px) {
  .hero-tactical__media img { object-position: 82% 20%; }
  .hero-tactical__stats { gap: 24px; }
}

/* ---- Age gate ----------------------------------------------------------
   Injected by main.js so it fires on whatever page a visitor lands on.
   This is a self-reported check, not identification; every real sale still
   requires a government-issued ID and the legally required check. ------- */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(10, 13, 16, 0.86);
  backdrop-filter: blur(2px);
}
.age-gate__card {
  width: 100%;
  max-width: 440px;
  background: var(--ink-deep);
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(28px, 5vw, 40px);
  text-align: center;
}
.age-gate__mark { width: 44px; height: 44px; margin: 0 auto 18px; }
.age-gate__card .eyebrow { color: var(--gold-bright); margin-bottom: 10px; }
.age-gate__card h2 { margin-top: 10px; color: var(--white); }
.age-gate__card p { margin-top: 14px; color: var(--paper); opacity: 0.88; }
.age-gate__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 26px;
}
.age-gate__actions .btn { flex: 1 1 170px; }
.age-gate .btn--ghost { color: var(--paper); border-color: rgba(255, 255, 255, 0.4); }
.age-gate .btn--ghost:hover { background: var(--paper); color: var(--ink-deep); border-color: var(--paper); }
.age-gate__remember {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.86rem;
  color: var(--paper);
  opacity: 0.8;
}
.age-gate__remember input { width: 16px; height: 16px; accent-color: var(--accent); }
.age-gate__fine { margin-top: 20px; font-size: 0.78rem; line-height: 1.5; color: var(--paper); opacity: 0.6; }
body.age-gate-open { overflow: hidden; }
