/* ==========================================================================
   Veroxoning — editorial subpage skin (2026).
   Loaded after site.css: keeps its layout components, replaces the palette,
   typography, header, hero, cards, CTA band and footer with the homepage system.
   ========================================================================== */

@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('/assets/fonts/newsreader-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
  src: url('/assets/fonts/newsreader-italic-latin.woff2') format('woff2');
}

:root {
  /* Surfaces */
  --paper: #fffdf8;
  --cream: #f6f1e7;
  --cream-2: #f1ebde;
  --sand: #efe6d5;
  --sand-2: #e3d8c3;

  /* Deep greens */
  --forest: #0b241d;
  --forest-2: #103028;
  --forest-3: #17392f;

  /* Text */
  --ink: #131c18;
  --ink-2: #33413a;
  --muted: #5c6a62;
  --faint: #7d8a82;
  --on-dark: #f6f1e7;
  --on-dark-muted: rgba(246, 241, 231, 0.66);

  /* Lines */
  --line: #e2dac9;
  --line-2: #eee7d8;
  --line-dark: rgba(246, 241, 231, 0.15);

  /* Brand */
  --brand: #0d6a55;
  --brand-hover: #0a5343;
  --brand-deep: #094b3c;
  --brand-ink: #ffffff;
  --brand-tint: #e9f0e6;
  --brand-tint-2: #d8e6da;

  /* Accents */
  --gold: #e7c169;
  --gold-deep: #b98f2f;
  --gold-tint: #f7ecd3;

  /* Shape */
  --r-xs: 8px;
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 26px;
  --r-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(19, 28, 24, 0.05);
  --shadow-sm: 0 2px 8px rgba(19, 28, 24, 0.045), 0 18px 40px -30px rgba(19, 28, 24, 0.3);
  --shadow-md: 0 24px 60px -40px rgba(11, 36, 29, 0.4);
  --shadow-lg: 0 40px 90px -50px rgba(11, 36, 29, 0.5);

  /* Type */
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font: 'Inter Variable', Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --display: clamp(2.5rem, 1.5rem + 3.4vw, 4.3rem);
  --h2: clamp(2rem, 1.35rem + 1.9vw, 2.9rem);
  --h3: clamp(1.12rem, 1.02rem + 0.3vw, 1.3rem);

  --header-h: 76px;
  --page-max: 1200px;
  --gutter: clamp(18px, 4vw, 32px);
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
}

::selection { background: var(--gold); color: var(--forest); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.display { font-family: var(--serif); font-size: var(--display); letter-spacing: -0.025em; line-height: 1.02; }
.h2 { font-family: var(--serif); font-size: var(--h2); line-height: 1.06; letter-spacing: -0.022em; }
.h3 { font-family: var(--serif); font-size: var(--h3); }
.lead { color: var(--muted); }

.eyebrow {
  color: var(--brand-deep);
  font-weight: 600;
  letter-spacing: 0.17em;
  font-size: 0.7rem;
}
.eyebrow::before { background: var(--gold-deep); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn { min-height: 50px; font-weight: 560; box-shadow: none; }
.btn--lg { min-height: 54px; }
.btn:hover { box-shadow: 0 14px 30px -18px rgba(9, 75, 60, 0.6); }
.btn--gold { --btn-bg: var(--gold); --btn-fg: var(--forest); --btn-bd: var(--gold); }
.btn--gold:hover { background: #f0d38a; border-color: #f0d38a; color: var(--forest); }
.btn--light { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong, #cbc1ad); }
.btn--light:hover { background: var(--paper); }
.btn--on-dark { --btn-bg: transparent; --btn-fg: var(--on-dark); --btn-bd: rgba(246, 241, 231, 0.32); }
.link-arrow { color: var(--brand-deep); font-weight: 560; }

/* ── Header ──────────────────────────────────────────────── */
.site-header {
  background: color-mix(in srgb, var(--cream) 90%, transparent);
  border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  backdrop-filter: saturate(150%) blur(16px);
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--cream) 97%, transparent);
  border-bottom-color: var(--line);
}
.header-inner { height: var(--header-h); }
.brand__mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: none;
  box-shadow: none;
  object-fit: contain;
  display: block;
}
.brand__word {
  font-family: var(--serif);
  font-size: 1.36rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand__tag {
  font-size: 0.7rem;
  color: var(--faint);
  border-left-color: var(--line);
}
.nav a { border-radius: 10px; font-weight: 500; color: var(--ink-2); }
.nav a:hover { background: var(--sand); color: var(--ink); }
.header-login { border-color: transparent; border-radius: var(--r-pill); font-weight: 560; }
.header-login:hover { background: var(--paper); border-color: var(--line); }
.header-cta { border-radius: var(--r-pill); }
.mobile-nav { box-shadow: 0 24px 40px -28px rgba(11, 36, 29, 0.35); }
.mobile-nav a { font-weight: 500; }
.mobile-nav .header-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-color: var(--line);
}

/* ── Page hero ───────────────────────────────────────────── */
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 460px at 8% -30%, rgba(255, 255, 255, 0.9) 0%, transparent 60%),
    linear-gradient(180deg, #f9f4ea 0%, var(--cream) 82%);
  border-bottom: 1px solid var(--line);
}
.page-hero__decor { position: absolute; inset: 0; pointer-events: none; }
.page-hero__decor svg {
  position: absolute;
  top: 0;
  right: 0;
  width: min(720px, 58vw);
  height: 100%;
}
.page-hero__inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(36px, 4vw, 52px) clamp(56px, 7vw, 92px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 900px;
}
.crumbs { font-size: 0.78rem; color: var(--faint); gap: 7px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand); }
.crumbs span[aria-current] { color: var(--ink-2); font-weight: 500; }
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.55rem, 1.6rem + 3.5vw, 4.35rem);
  font-weight: 400;
  line-height: 0.99;
  letter-spacing: -0.028em;
  max-width: 18ch;
  margin: 0;
}
.page-hero .lead {
  font-size: clamp(1.02rem, 0.97rem + 0.32vw, 1.18rem);
  line-height: 1.62;
  max-width: 58ch;
  margin-top: 4px;
}
.page-actions { margin-top: 10px; gap: 12px; }
.page-actions .btn { border-radius: var(--r-pill); }

@media (max-width: 900px) {
  .page-hero__decor svg { width: 100%; opacity: 0.6; }
}
@media (max-width: 560px) {
  .page-hero h1 {
    font-size: clamp(1.95rem, 1.2rem + 3.8vw, 2.75rem);
    max-width: none;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  .page-hero__inner { padding-block: 26px 52px; gap: 16px; }
  .page-actions .btn { flex: 1 1 auto; }
}

/* ── Sections ────────────────────────────────────────────── */
.section { padding-block: clamp(60px, 7vw, 108px); }
.section--tight { padding-block: clamp(42px, 5vw, 72px); }
.section--cream { background: var(--cream); }
.section--paper { background: var(--paper); border-block: 1px solid var(--line-2); }
.section--sand { background: var(--cream-2); }
.section-head { gap: 16px; margin-bottom: clamp(34px, 4vw, 54px); }
.section-head .eyebrow { margin-bottom: 0; }
.section-head .h2 { max-width: 22ch; }
.section-head .lead { margin-top: 2px; }

/* ── Stats ───────────────────────────────────────────────── */
.stat-row {
  gap: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}
.stat-tile {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: clamp(20px, 2.6vw, 30px) clamp(20px, 2.6vw, 30px);
  gap: 8px;
  min-height: 0;
}
.stat-tile + .stat-tile { border-left: 1px solid var(--line-2); }
.stat-tile__value {
  font-family: var(--serif);
  font-size: clamp(1.65rem, 1.15rem + 1.25vw, 2.2rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--brand-deep);
  line-height: 1;
  white-space: nowrap;
}
.stat-tile__label { font-size: 0.82rem; line-height: 1.45; color: var(--muted); }
@media (max-width: 900px) {
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .stat-tile:nth-child(3) { border-left: 0; border-top: 1px solid var(--line-2); }
  .stat-tile:nth-child(4) { border-top: 1px solid var(--line-2); }
}
@media (max-width: 480px) {
  .stat-row { grid-template-columns: 1fr; }
  .stat-tile + .stat-tile { border-left: 0; border-top: 1px solid var(--line-2); }
}

/* ── Info cards ──────────────────────────────────────────── */
.card-grid { gap: 18px; }
.info-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(22px, 2.6vw, 30px);
  gap: 12px;
  box-shadow: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.info-card:hover { border-color: var(--sand-2); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.info-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--brand-tint);
  color: var(--brand-deep);
  margin-bottom: 4px;
}
.info-card h3 { font-family: var(--serif); font-size: 1.22rem; font-weight: 500; letter-spacing: -0.015em; }
.info-card p, .info-card li { font-size: 0.92rem; line-height: 1.6; color: var(--muted); }

/* ── Split layouts ───────────────────────────────────────── */
.split { gap: clamp(28px, 4vw, 56px); }
.split .h2 { margin-bottom: 4px; }
.split .lead { margin-top: 14px; }

/* ── Steps ───────────────────────────────────────────────── */
.steps { gap: 20px; }
.step {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding: 22px 0 0;
  gap: 8px;
  transition: border-color 0.2s;
}
.step:hover { border-top-color: var(--brand); transform: none; box-shadow: none; }
.step__num {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--gold-deep);
}
.step h3 { font-family: var(--serif); font-size: 1.16rem; font-weight: 500; }
.step p { font-size: 0.9rem; line-height: 1.6; color: var(--muted); }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-list { border-top-color: var(--line); }
.faq-item { border-bottom-color: var(--line); }
.faq-item summary {
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 22px 0;
  color: var(--ink);
}
.faq-item summary .plus {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--brand-deep);
}
.faq-item[open] summary { color: var(--brand-deep); }
.faq-item[open] summary .plus { background: var(--brand); border-color: var(--brand); color: #fff; }
.faq-item .faq-body { padding: 0 64px 26px 0; color: var(--muted); font-size: 0.95rem; line-height: 1.7; }

/* ── Notes, lists, definitions ───────────────────────────── */
.note {
  background: var(--gold-tint);
  border: 1px solid #ecdcb8;
  border-left: 3px solid var(--gold-deep);
  border-radius: 0 16px 16px 0;
  color: var(--ink-2);
}
.check-list li::before { background: var(--brand-tint); color: var(--brand-deep); }
.check-list li { color: var(--ink-2); }
.deflist { border-top-color: var(--line); }
.deflist > div { border-bottom-color: var(--line); }
.deflist dt { font-weight: 500; color: var(--ink); }
.deflist dd { color: var(--muted); }
.spec-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-xs);
}
.spec > div { border-top-color: var(--line-2); }
.spec dt { color: var(--muted); }
.spec dd { font-weight: 500; }
.hours { border-color: var(--line); border-radius: 18px; background: var(--paper); }
.hours__row { border-top-color: var(--line-2); }
.sitemap-col {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
}
.sitemap-col h3 { font-family: var(--font); font-size: 0.7rem; letter-spacing: 0.16em; color: var(--faint); font-weight: 600; }
.sitemap-col a { color: var(--ink-2); font-weight: 500; }
.sitemap-col a:hover { color: var(--brand); }

/* ── Prose (legal pages) ─────────────────────────────────── */
.prose { max-width: 72ch; }
.prose p { color: var(--ink-2); line-height: 1.72; }
.prose h2 {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 1.25rem + 1vw, 2rem);
  font-weight: 400;
  margin: 44px 0 14px;
}
.prose h3 { font-family: var(--serif); font-size: 1.22rem; font-weight: 500; margin: 30px 0 10px; }
.prose li::marker { color: var(--gold-deep); }
.prose a { color: var(--brand-deep); text-decoration-color: var(--gold); text-underline-offset: 3px; }

/* ── CTA band ────────────────────────────────────────────── */
.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(620px 320px at 88% -10%, rgba(231, 193, 105, 0.18), transparent 62%),
    linear-gradient(120deg, var(--forest) 0%, var(--forest-2) 60%, #143a2f 100%);
  border: 1px solid rgba(246, 241, 231, 0.1);
  border-radius: 30px;
  padding: clamp(34px, 5vw, 60px);
  box-shadow: var(--shadow-md);
}
.cta-band::after {
  content: '';
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 1px solid rgba(246, 241, 231, 0.12);
  pointer-events: none;
}
.cta-band h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 1.3rem + 1.7vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--on-dark);
}
.cta-band p { color: var(--on-dark-muted); font-size: 0.98rem; line-height: 1.62; margin-top: 12px; max-width: 52ch; }
.cta-band .btn--gold { background: var(--gold); color: var(--forest); border-color: var(--gold); }
.cta-band .btn--on-dark:hover { background: rgba(246, 241, 231, 0.08); border-color: rgba(246, 241, 231, 0.4); color: var(--on-dark); }
@media (max-width: 720px) {
  .cta-band { border-radius: 24px; }
  .cta-band__actions { width: 100%; }
  .cta-band__actions .btn { flex: 1 1 auto; }
}

/* ── Footer ──────────────────────────────────────────────── */
.footer { background: #071d17; color: #cfd8d2; padding: 72px 0 28px; }
.footer__top { display: grid; grid-template-columns: 1.5fr repeat(3, minmax(0, 0.7fr)); gap: 40px; }
.footer__brand p { margin-top: 18px; font-size: 0.88rem; line-height: 1.6; color: #9fb0a7; max-width: 34ch; }
.footer .logo { display: inline-flex; align-items: center; gap: 11px; }
.footer .logo__mark { width: 36px; height: 36px; border-radius: 10px; display: block; }
.footer .logo__word { font-family: var(--serif); font-size: 1.36rem; font-weight: 500; color: #f6f1e7; }
.footer__login {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(246, 241, 231, 0.28);
  border-radius: var(--r-pill);
  font-size: 0.88rem;
  font-weight: 500;
  color: #e8efe9;
  transition: background 0.16s, border-color 0.16s;
}
.footer__login:hover { background: rgba(246, 241, 231, 0.09); border-color: rgba(246, 241, 231, 0.45); }
.footer h3 { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: #8b9c94; font-weight: 600; margin-bottom: 16px; }
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a { font-size: 0.9rem; color: #dbe3dd; opacity: 0.85; }
.footer__col a:hover { opacity: 1; color: #fff; }
.footer__example {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(246, 241, 231, 0.13);
  font-size: 0.7rem;
  line-height: 1.65;
  color: #92a59c;
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(246, 241, 231, 0.08);
  font-size: 0.74rem;
  color: #8b9c94;
}
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer__bottom a:hover { color: #fff; }
@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: span 2; }
}
@media (max-width: 560px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__brand { grid-column: auto; }
  .footer { padding-top: 56px; }
}

/* ── Offer bar ───────────────────────────────────────────── */
.offer-bar {
  background: rgba(11, 36, 29, 0.96);
  color: #f2ede1;
  border: 1px solid rgba(246, 241, 231, 0.16);
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(4, 18, 13, 0.36);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.offer-bar__info { color: #cfd8d2; font-size: 0.84rem; }
.offer-bar__amount { font-family: var(--serif); font-size: 1.15rem; font-weight: 400; color: #fff; }
.offer-bar__sep { background: rgba(246, 241, 231, 0.25); }
.offer-bar .btn { background: var(--gold); border-color: var(--gold); color: var(--forest); border-radius: var(--r-pill); }
.offer-bar .btn:hover { background: #f0d38a; border-color: #f0d38a; }
.offer-bar__close { border-color: rgba(246, 241, 231, 0.24); color: #cfd8d2; }
.offer-bar__close:hover { background: rgba(246, 241, 231, 0.1); }

/* ── Login dialog ────────────────────────────────────────── */
.dialog { background: rgba(5, 22, 17, 0.58); }
.dialog__panel {
  border-radius: 24px;
  padding: 32px 28px 28px;
  box-shadow: 0 40px 100px rgba(3, 16, 11, 0.42);
}
.dialog h2 { font-family: var(--serif); font-size: 1.6rem; font-weight: 400; }
.dialog__panel .brand__mark { width: 28px; height: 28px; border-radius: 8px; }
.dialog__panel .brand__word { font-family: var(--serif); font-size: 1.05rem; font-weight: 500; }
.dialog .btn { border-radius: var(--r-pill); }
.dialog__secure { color: var(--faint); }

/* ── Dark sections (if any content block uses .dark) ─────── */
.dark { background: var(--forest); color: var(--on-dark); }
.dark h1, .dark h2, .dark h3, .dark h4 { color: var(--on-dark); }
.dark p, .dark .lead { color: var(--on-dark-muted); }
