/* ============================================================
   SOJOURN — sojourn.tax
   Anchored to BRAND_KIT.md. Edit tokens in :root only.
   ============================================================ */

:root {
  /* Brand palette (locked — see BRAND_KIT.md § 2) */
  --navy:            #042C53;
  --navy-highlight:  #0A3868;
  --navy-dark:       #03152B;
  --white:           #FFFFFF;
  --red:             #E24B4A;
  --lightblue-100:   #B5D4F4;
  --lightblue-200:   #85B7EB;
  --cream:           #F1EFE8;
  --success:         #1D9E75;
  --mid-grey:        #5A7A9E;
  --text-dark:       #202124;
  --text-light:      #5F6368;
  --row-tint:        #E7F0FA;
  --warning:         #A32D2D;

  /* Interactive accent — matches the app + ops dashboard (contrast batch,
     2026-07). --accent for fills/borders and on-dark accents; --accent-deep
     for accent-coloured text on light surfaces (contrast-safe). Stamp red
     stays reserved for the stamp per BRAND_KIT.md § 10. */
  --accent:          #33D6C8;
  --accent-deep:     #0B7E74;

  /* Type stacks (see BRAND_KIT.md § 3) */
  --font-serif: "Tinos", Georgia, "Times New Roman", serif;
  --font-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --container-max: 1200px;
  --container-pad: clamp(20px, 4vw, 60px);
}

/* Reset / base */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  /* clip (not hidden) so we still block horizontal scroll WITHOUT turning html
     into a scroll container — which would break the sticky nav below. */
  overflow-x: clip;
}
body {
  margin: 0;
  font-family: var(--font-serif);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;              /* clip (not hidden) so the sticky nav still pins — see html{} above */
  width: 100%;
  max-width: 100vw;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }
ul { list-style: none; padding: 0; margin: 0; }
hr { border: 0; height: 1px; background: rgba(255,255,255,0.15); margin: 0; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* ----------------------------------------------------------
   NAV
   ---------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 32px;
  position: relative;
}
.brand {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.5px;
}
.nav nav { display: flex; gap: 28px; flex: 1; justify-content: center; }
.nav nav a {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--lightblue-100);
  padding: 8px 4px;       /* tap-target padding */
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav nav a:hover { color: var(--white); text-decoration: none; }

/* Hamburger button — hidden on desktop */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
/* The CTA inside the mobile drawer — hidden on desktop, only shown inside open drawer on mobile.
   The selector matches `.nav nav a` specificity to win the cascade. */
.nav nav a.nav-cta { display: none; }
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav-inner > .cta-pill { display: none; }      /* hide CTA pill from nav row on mobile — moves into drawer */
  .nav nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--navy);
    border-bottom: 1px solid rgba(255,255,255,0.12);
    padding: 12px 24px 20px;
    gap: 4px;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.3s ease, visibility 0s linear 0.3s;
  }
  .nav nav.is-open {
    max-height: 480px;
    visibility: visible;
    transition: max-height 0.3s ease, visibility 0s linear 0s;
    box-shadow: 0 12px 32px rgba(0,0,0,0.25);
  }
  .nav nav a {
    width: 100%;
    padding: 14px 8px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 16px;
  }
  .nav nav a:last-child { border-bottom: 0; }
  .nav nav a.nav-cta {
    display: inline-flex;       /* show inside the mobile drawer */
    margin-top: 12px;
    border: 0;
    background: var(--white);
    color: var(--navy);
    border-radius: 999px;
    text-align: center;
    font-weight: 600;
    justify-content: center;
  }
}
.cta-pill {
  display: inline-flex; align-items: center;
  padding: 14px 28px;
  background: var(--accent); color: var(--navy);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600; font-size: 16px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cta-pill:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(51,214,200,0.30); text-decoration: none; }
.cta-pill--small { padding: 10px 20px; font-size: 14px; }

/* ----------------------------------------------------------
   HERO
   ---------------------------------------------------------- */
.hero {
  background: linear-gradient(135deg, var(--navy-highlight) 0%, var(--navy) 60%, var(--navy-dark) 100%);
  color: var(--white);
  padding: clamp(60px, 10vh, 120px) 0;
  min-height: 80vh;
  display: flex; align-items: center;
}
.hero-inner { width: 100%; text-align: center; }
.hero-caption {
  font-style: italic;
  font-size: clamp(16px, 2vw, 22px);
  color: var(--lightblue-200);
  margin: 0 0 32px;
}
.hero-wordmark {
  font-family: var(--font-serif);
  font-size: clamp(80px, 12vw, 180px);
  font-weight: 400;
  line-height: 1;
  margin: 0 0 48px;
  color: var(--white);
}
.hero-stamp {
  display: flex; justify-content: center;
  margin: 0 0 56px;
}
.hero-stamp img {
  width: clamp(180px, 24vw, 320px);
  height: clamp(180px, 24vw, 320px);
}
.hero-definition {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(15px, 1.5vw, 20px);
  color: var(--lightblue-100);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.6;
}
/* Hero value-promise — the one crisp "what this does" line under the definition. */
.hero-promise {
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.7vw, 19px);
  font-weight: 500;
  color: var(--white);
  max-width: 640px;
  margin: 0 auto 28px;
  line-height: 1.55;
}
.hero-tagline {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--lightblue-200);
  margin: 0;
}

/* AI agent included — hero badge */
.hero-ai-badge {
  margin: 18px 0 0;
  text-align: center;
}
.ai-pill {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  /* L12 — Accepted brand trade-off. White-on-stamp-red (#E24B4A) is 3.93:1 —
     fails WCAG AA-normal (4.5:1 required) but passes AA-large (3:1). The pill
     text is 12px uppercase, technically normal-text by WCAG sizing. Going to
     bolder text or off-white doesn't help (off-white drops the ratio further).
     The stamp red is the BRAND MARK and cannot be changed for this surface.
     Mitigation: text-shadow gives extra perceptual contrast, and the 1px white
     border around the pill anchors the shape visually. Documented for posterity
     in case a brand-owner decision relaxes stamp-red lock at some future point. */
  color: var(--white);
  background: var(--red);
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 6px 14px rgba(226,75,74,0.25);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
}

/* ----------------------------------------------------------
   PROMISE GRID — three standing commitments
   ---------------------------------------------------------- */
.promise {
  background: var(--cream);
  padding: 80px 0;
  border-top: 1px solid rgba(4,44,83,0.08);
  border-bottom: 1px solid rgba(4,44,83,0.08);
}
.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.promise-card {
  background: var(--white);
  padding: 32px 28px;
  border-radius: 4px;
  border: 1px solid rgba(4,44,83,0.10);
  box-shadow: 0 2px 8px rgba(4,44,83,0.04);
}
.promise-eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-deep);
  margin: 0 0 12px;
}
.promise-head {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 14px;
  line-height: 1.3;
}
.promise-body {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.55;
}
.promise-body a { color: var(--navy); border-bottom: 1px solid var(--navy); }
@media (max-width: 900px) {
  .promise-grid { grid-template-columns: 1fr; gap: 16px; }
  .promise { padding: 56px 0; }
  .promise-card { padding: 24px 20px; }
  .promise-head { font-size: 19px; }
  .promise-body { font-size: 15px; }
}

/* ----------------------------------------------------------
   REFERRAL / AMBASSADOR PROGRAMME
   ---------------------------------------------------------- */
.referral {
  background: var(--cream);
  padding: 80px 0;
  border-top: 1px solid rgba(4,44,83,0.08);
  border-bottom: 1px solid rgba(4,44,83,0.08);
}
.referral-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.referral-step {
  background: var(--white);
  padding: 32px 28px;
  border-radius: 4px;
  border: 1px solid rgba(4,44,83,0.10);
  box-shadow: 0 2px 8px rgba(4,44,83,0.04);
}
.referral-num {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  background: var(--accent);
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 0 16px;
}
.referral-step h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 10px;
  line-height: 1.3;
}
.referral-step p {
  font-family: var(--font-serif);
  font-size: 15.5px;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.55;
}
.referral-reward {
  text-align: center;
  margin: 44px auto 0;
  max-width: 640px;
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--navy);
}
.referral-reward strong { color: var(--accent-deep); }
.referral-note {
  text-align: center;
  margin: 16px 0 0;
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--text-dark);
}
.referral-note a { color: var(--navy); border-bottom: 1px solid var(--navy); }
@media (max-width: 900px) {
  .referral-grid { grid-template-columns: 1fr; gap: 16px; }
  .referral { padding: 56px 0; }
  .referral-step { padding: 24px 20px; }
  .referral-reward { font-size: 18px; }
}

/* ----------------------------------------------------------
   VALUE PROP
   ---------------------------------------------------------- */
.value-prop {
  background: var(--cream);
  padding: clamp(64px, 10vh, 120px) 0;
  text-align: center;
}
.vp-line {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 34px);
  color: var(--navy);
  margin: 0 0 12px;
  line-height: 1.3;
}
.vp-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(15px, 1.5vw, 20px);
  color: var(--mid-grey);
  margin: 24px 0 0;
}

/* ----------------------------------------------------------
   SECTION HEADERS
   ---------------------------------------------------------- */
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 400;
  color: var(--navy);
  text-align: center;
  margin: 0 0 12px;
}
.section-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(15px, 1.5vw, 20px);
  color: var(--mid-grey);
  text-align: center;
  margin: 0 0 56px;
}

/* ----------------------------------------------------------
   COMPARISON TABLE
   ---------------------------------------------------------- */
.comparison {
  background: var(--white);
  padding: clamp(72px, 12vh, 140px) 0;
}
.comparison-table {
  max-width: 1100px;
  margin: 0 auto;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  overflow: hidden;
}
.comparison-row {
  display: grid;
  grid-template-columns: 240px 1fr 1.4fr;
  gap: 32px;
  padding: 20px 32px;
  align-items: center;
}
.comparison-head {
  background: var(--navy);
  color: var(--lightblue-200);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
}
.comparison-row:not(.comparison-head) {
  border-top: 1px solid #E5E7EB;
}
.comparison-row:nth-child(odd):not(.comparison-head) { background: var(--row-tint); }
.comparison-row .issue {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--navy);
  font-size: 17px;
}
.comparison-row .bad {
  color: var(--text-dark);
  font-style: italic;
  font-size: 15px;
}
.comparison-row .good {
  color: var(--navy);
  font-size: 15px;
  line-height: 1.55;
}
.mark {
  display: inline-block;
  font-weight: 700;
  margin-right: 8px;
  font-size: 17px;
}
/* L12 — Contrast fix. The default --success #1D9E75 on white/cream renders at
   3.39:1 / 2.94:1 which fails WCAG AA for normal text (the marks are 17px
   font-weight 700 — still considered normal text under WCAG 2.1's "large"
   threshold of 18.66px bold). #0F6E56 (the same teal used as the valid-state
   border in the app — ACCENT_TEAL_BORDER) renders at 6.20:1 / 5.39:1 which
   passes AA-normal comfortably while staying on-brand. */
.mark--good { color: #0F6E56; }
/* --warning #A32D2D on white/cream renders at 7.07:1 / 6.14:1 — passes AA. */
.mark--bad  { color: var(--warning); }
@media (max-width: 768px) {
  .comparison-row { grid-template-columns: 1fr; gap: 8px; }
  .comparison-head { display: none; }
  .comparison-row .issue::before { content: ""; }
  .comparison-row .bad::before, .comparison-row .good::before { display: block; font-family: var(--font-sans); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; color: var(--mid-grey); margin-bottom: 4px; }
  .comparison-row .bad::before { content: "OTHER APPS"; }
  .comparison-row .good::before { content: "SOJOURN"; }
}

/* ----------------------------------------------------------
   FEATURE GRID
   ---------------------------------------------------------- */
.features {
  background: var(--cream);
  padding: clamp(72px, 12vh, 140px) 0;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 992px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }
.feature {
  background: var(--white);
  padding: 36px 28px;
  border-radius: 20px;
  border: 1px solid #E5E7EB;
}
.feature h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 12px;
}
.feature h3::after {
  content: "";
  display: block;
  width: 36px; height: 2px;
  background: var(--accent);
  margin-top: 12px;
}
.feature p {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--text-dark);
  line-height: 1.6;
  margin: 0;
}
.pro-tag {
  display: inline-block;
  background: var(--success);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 4px;
  vertical-align: 2px;
}

/* ----------------------------------------------------------
   PRICING
   ---------------------------------------------------------- */
.pricing {
  background: var(--white);
  padding: clamp(72px, 12vh, 140px) 0;
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 880px) { .plan-grid { grid-template-columns: 1fr; } }
.plan {
  position: relative;
  background: var(--white);
  border: 1px solid #E5E7EB;
  border-radius: 24px;
  padding: 36px 32px;
}
.plan--highlight {
  border: 2px solid var(--accent);
  box-shadow: 0 16px 48px rgba(51,214,200,0.14);
}
.best-value {
  position: absolute;
  top: -12px; right: 24px;
  background: var(--accent);
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 10px; font-weight: 700;
  letter-spacing: 1.5px;
  padding: 6px 12px;
  border-radius: 12px;
}
.plan-label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--navy);
  margin: 0 0 16px;
}
.plan--highlight .plan-label { color: var(--accent-deep); }
.plan-price {
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 400;
  color: var(--navy);
  margin: 0 0 4px;
  line-height: 1;
}
.plan-period {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  /* L12 — Contrast fix. --mid-grey #5A7A9E on cream renders at 3.87:1 which
     fails AA-normal for 14px italic. #3F5D7E (darker shade in the same family)
     renders at 5.93:1 on cream — passes AA. */
  color: #3F5D7E;
  margin: 0 0 24px;
}
.plan ul li {
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--text-dark);
  padding: 6px 0;
  position: relative;
  padding-left: 18px;
}
.plan ul li::before {
  content: "·";
  position: absolute;
  left: 4px;
  color: var(--navy);
  font-weight: 700;
}

/* ----------------------------------------------------------
   CTA
   ---------------------------------------------------------- */
.cta {
  background: linear-gradient(135deg, var(--navy-highlight) 0%, var(--navy) 100%);
  color: var(--white);
  padding: clamp(64px, 10vh, 120px) 0;
  text-align: center;
}
.cta-headline {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 400;
  margin: 0 0 12px;
}
.cta-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  color: var(--lightblue-100);
  margin: 0 0 40px;
}
.store-badges {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.store-badge {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  background: #000;
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.15s ease;
}
.store-badge:hover { transform: translateY(-2px); text-decoration: none; }
.badge-icon { width: 28px; height: 28px; flex-shrink: 0; color: var(--white); }
.badge-text { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.badge-pre { font-family: var(--font-sans); font-size: 10px; opacity: 0.85; letter-spacing: 0.2px; }
.badge-name { font-family: var(--font-sans); font-size: 18px; font-weight: 700; margin-top: 2px; }

/* ----------------------------------------------------------
   GDPR / Privacy-by-Design self-attestation badge
   ---------------------------------------------------------- */
.gdpr-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--navy);
  border-radius: 6px;
  padding: 8px 14px 8px 10px;
  font-family: var(--font-sans);
  color: var(--navy);
  text-decoration: none;
  transition: background 150ms ease, transform 150ms ease;
}
.gdpr-badge:hover { background: var(--cream); transform: translateY(-1px); text-decoration: none; }
.gdpr-badge-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--success);
  color: var(--white);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.gdpr-badge-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.1;
}
.gdpr-badge-line1 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
}
.gdpr-badge-line2 {
  font-size: 10px;
  font-weight: 400;
  color: var(--mid-grey);
  margin-top: 2px;
  font-style: italic;
}

/* ----------------------------------------------------------
   FOOTER SOCIALS — icon row (X · Instagram · Facebook · TikTok)
   ---------------------------------------------------------- */
.footer-socials {
  display: flex;
  gap: 12px;
  margin: 18px 0 0;
}
.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--lightblue-100);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.footer-socials a:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none;
}
.footer-socials svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  display: block;
}

/* Footer variant — slightly smaller, anchored to dark backgrounds */
.gdpr-badge--footer {
  background: transparent;
  border-color: rgba(255,255,255,0.35);
  color: var(--lightblue-100);
  padding: 6px 12px 6px 8px;
}
.gdpr-badge--footer:hover { background: rgba(255,255,255,0.04); }
.gdpr-badge--footer .gdpr-badge-line2 { color: var(--lightblue-200); }

/* Hero-placed badge centring */
.page-hero-badge { text-align: center; margin-top: 18px; }

/* ----------------------------------------------------------
   FOOTER
   ---------------------------------------------------------- */
.footer {
  background: var(--navy-dark);
  color: var(--lightblue-100);
  padding: 72px 0 32px;
}
.footer-inner { display: flex; flex-direction: column; gap: 40px; }
.footer-brand .brand { font-size: 28px; color: var(--white); margin: 0 0 6px; }
.footer-tagline { font-style: italic; font-size: 14px; color: var(--lightblue-200); margin: 0; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
@media (max-width: 720px) { .footer-cols { grid-template-columns: 1fr; gap: 32px; } }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-head {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--lightblue-200);
  margin: 0 0 8px;
}
.footer-col a { font-family: var(--font-sans); font-size: 14px; color: var(--lightblue-100); }
.footer-col a:hover { color: var(--white); text-decoration: none; }
.footer-divider { background: rgba(255,255,255,0.15); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-serif);
  font-size: 13px;
  color: var(--lightblue-200);
  flex-wrap: wrap; gap: 12px;
}
.footer-domain {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  margin: 0;
}

/* ============================================================
   SUB-PAGES (how-it-works, sojourn-ai, country-rules, legal)
   ============================================================ */

.container--narrow { max-width: 780px; }

.page-hero {
  background: linear-gradient(135deg, var(--navy-highlight) 0%, var(--navy) 60%, var(--navy-dark) 100%);
  color: var(--white);
  padding: clamp(80px, 14vh, 160px) 0 clamp(64px, 10vh, 120px);
  text-align: center;
}
.page-hero--compact {
  padding: clamp(48px, 8vh, 96px) 0 clamp(40px, 6vh, 72px);
}
.page-eyebrow {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--lightblue-200);
  margin: 0 0 20px;
}
.page-title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 400;
  color: var(--white);
  margin: 0 0 24px;
  line-height: 1.1;
}
.page-lede {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(17px, 2vw, 22px);
  color: var(--lightblue-100);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.55;
}
.page-body {
  padding: clamp(64px, 10vh, 120px) 0 clamp(64px, 10vh, 120px);
  background: var(--white);
}
.section-title--left { text-align: left; margin-top: 80px; }

/* ----------------------------------------------------------
   STEP LIST (how it works)
   ---------------------------------------------------------- */
.step-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 48px; }
.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 28px;
  align-items: flex-start;
}
@media (max-width: 640px) { .step { grid-template-columns: 1fr; gap: 16px; } }
.step-num {
  font-family: var(--font-serif);
  font-size: 64px;
  font-weight: 400;
  color: var(--accent-deep);
  line-height: 1;
}
.step h2 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 12px;
}
.step p {
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-dark);
  margin: 0 0 12px;
}
.step-bullets { padding-left: 24px; margin: 12px 0; }
.step-bullets li {
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-dark);
  padding: 4px 0;
  list-style-type: disc;
}

/* ----------------------------------------------------------
   PILL inline (status pills inside copy)
   ---------------------------------------------------------- */
.pill {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--white);
  vertical-align: 1px;
}
.pill--ok       { background: var(--success); }
.pill--advisory { background: #BA7517; }
.pill--warning  { background: var(--warning); }

/* ----------------------------------------------------------
   CALLOUT BOX (used in multiple pages)
   ---------------------------------------------------------- */
.callout {
  background: var(--cream);
  border-left: 4px solid var(--navy);
  border-radius: 0 16px 16px 0;
  padding: 32px 36px;
  margin: 48px 0;
}
.callout--warning {
  background: #FAEEDA;
  border-left-color: #BA7517;
}
.callout h2 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.5vw, 26px);
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 16px;
}
.callout p {
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-dark);
  margin: 0 0 12px;
}
.callout p:last-child { margin-bottom: 0; }
.callout .numbered {
  padding-left: 24px;
  margin: 0;
}
.callout .numbered li {
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-dark);
  padding: 8px 0;
}

/* ----------------------------------------------------------
   USAGE GRID (Sojourn AI page)
   ---------------------------------------------------------- */
.usage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 32px 0 64px;
}
@media (max-width: 840px) { .usage-grid { grid-template-columns: 1fr; } }
.usage-card {
  background: var(--white);
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 28px;
}
.usage-eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-deep);
  margin: 0 0 12px;
}
.usage-card h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 12px;
}
.usage-card p {
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dark);
  margin: 0;
}

/* ----------------------------------------------------------
   EXAMPLE PROMPTS (Sojourn AI page)
   ---------------------------------------------------------- */
.example-grid { display: flex; flex-direction: column; gap: 20px; margin: 32px 0 64px; }
.example {
  background: var(--cream);
  padding: 24px 28px;
  border-radius: 16px;
  border: 1px solid #E3DFD2;
}
.example-you {
  font-family: var(--font-serif);
  font-size: 18px;
  font-style: italic;
  color: var(--navy);
  margin: 0 0 12px;
}
.example-result {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.5;
}

/* ----------------------------------------------------------
   EXPECT LIST (Sojourn AI page)
   ---------------------------------------------------------- */
.expect-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 32px 0 64px;
}
@media (max-width: 760px) { .expect-list { grid-template-columns: 1fr; } }
.expect {
  background: var(--white);
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 24px 28px;
}
.expect h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 12px;
}
.expect p {
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dark);
  margin: 0 0 12px;
}
.expect p:last-child { margin-bottom: 0; }

/* ----------------------------------------------------------
   COUNTRY GRID
   ---------------------------------------------------------- */
.country-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}
@media (max-width: 720px) { .country-grid { grid-template-columns: 1fr; } }
.country-grid li {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--text-dark);
  padding: 6px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.country-grid li strong {
  display: inline-block;
  width: 38px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--accent-deep);
  vertical-align: 1px;
}

/* ----------------------------------------------------------
   CTA BAR (sub-page footer CTA)
   ---------------------------------------------------------- */
.cta-bar {
  text-align: center;
  padding: 64px 0 24px;
}
.cta-bar-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--mid-grey);
  margin: 16px 0 0;
}

/* ----------------------------------------------------------
   LEGAL PAGES (privacy + terms)
   ---------------------------------------------------------- */
.legal-body { background: var(--white); }
.legal-body .legal-h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin: 40px 0 12px;
  line-height: 1.3;
}
.legal-body p {
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  margin: 0 0 16px;
}
.legal-body .legal-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  color: var(--mid-grey);
  margin: 24px 0 8px;
}
.legal-body .legal-list {
  padding-left: 24px;
  margin: 0 0 16px;
  list-style-type: disc;
}
.legal-body .legal-list li {
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-dark);
  padding: 4px 0;
}
.legal-body .legal-blockquote {
  border: 1px solid #E3DFD2;
  border-radius: 12px;
  margin: 24px 0;
  padding: 14px 24px;
  background: var(--cream);
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--navy);
}
.legal-body .legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-family: var(--font-serif);
  font-size: 14px;
}
.legal-body .legal-table th,
.legal-body .legal-table td {
  text-align: left;
  padding: 12px 16px;
  vertical-align: top;
  border-bottom: 1px solid #E5E7EB;
}
.legal-body .legal-table th {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
}
.legal-body code {
  font-family: "Courier New", monospace;
  background: var(--cream);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 14px;
}

/* ============================================================
   PDF PREVIEW (verify page)
   ============================================================ */
.pdf-preview {
  margin: 32px 0 24px;
  text-align: center;
}
.pdf-preview img {
  max-width: 100%;
  height: auto;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}
.pdf-preview figcaption {
  margin-top: 16px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--mid-grey);
}
.pdf-download {
  text-align: center;
  margin: 24px 0 48px;
}

/* ============================================================
   IN-PAGE VERIFIER (verify.html · Option A)
   ============================================================ */
.verifier {
  display: flex; flex-direction: column; gap: 20px;
  margin: 24px 0 48px;
  max-width: 720px;
}
.verifier-drop {
  display: block;
  border: 2px dashed #C8CFD7;
  border-radius: 18px;
  padding: 36px 24px;
  text-align: center;
  background: var(--cream);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.verifier-drop:hover, .verifier-drop.is-dragover {
  border-color: var(--navy);
  background: #EAF1FB;
}
.verifier-drop-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px;
}
.verifier-drop-sub {
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--mid-grey);
  margin: 0;
}
.verifier-checksum {
  display: flex; flex-direction: column; gap: 8px;
}
.verifier-checksum label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--mid-grey);
  text-transform: uppercase;
}
.verifier-checksum input {
  font-family: "Courier New", monospace;
  font-size: 14px;
  padding: 14px 16px;
  border: 1px solid #C8CFD7;
  border-radius: 10px;
  background: var(--white);
  color: var(--text-dark);
  width: 100%;
  min-height: 44px;
}
.verifier-checksum input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(4, 44, 83, 0.12);
}
.verifier-result {
  border-radius: 14px;
  padding: 24px 28px;
  border-left: 4px solid var(--mid-grey);
  background: var(--cream);
}
.verifier-result--pass {
  border-left-color: var(--success);
  background: #EAF6F1;
}
.verifier-result--fail {
  border-left-color: var(--warning);
  background: #FAEBEB;
}
.verifier-result--warn {
  border-left-color: #BA7517;
  background: #FAEEDA;
}
.verifier-result-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 12px;
}
.verifier-result-list {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 6px 18px;
  margin: 0 0 16px;
}
.verifier-result-list dt {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--mid-grey);
  text-transform: uppercase;
  align-self: start;
  padding-top: 2px;
}
.verifier-result-list dd {
  font-family: "Courier New", monospace;
  font-size: 13px;
  color: var(--text-dark);
  margin: 0;
  word-break: break-all;
}
.verifier-result-note {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 13px;
  color: var(--mid-grey);
  margin: 0;
  line-height: 1.55;
}
@media (max-width: 640px) {
  .verifier-result-list { grid-template-columns: 1fr; gap: 2px 0; }
  .verifier-result-list dt { margin-top: 12px; }
}

/* ============================================================
   MOBILE REFINEMENTS (≤ 640px)
   ============================================================ */
@media (max-width: 640px) {
  /* Tighter container padding */
  :root { --container-pad: 18px; }

  /* Ensure all images/media respect viewport */
  img, video, iframe { max-width: 100%; height: auto; }

  /* Hero — wordmark uses vw-based scaling so it always fits, stamp scales proportionally */
  .hero { padding: 48px 0 56px; min-height: auto; }
  .hero-wordmark { font-size: clamp(56px, 18vw, 96px); margin: 0 0 28px; line-height: 1; }
  .hero-stamp img { width: clamp(160px, 50vw, 220px); height: clamp(160px, 50vw, 220px); }
  .hero-stamp { margin: 0 0 32px; }
  .hero-caption { font-size: clamp(13px, 3.5vw, 16px); margin: 0 0 18px; }
  .hero-definition { font-size: clamp(14px, 3.8vw, 17px); margin-bottom: 24px; padding: 0 8px; }
  .hero-tagline { font-size: clamp(10px, 3vw, 13px); letter-spacing: 3px; }

  /* Sub-page hero */
  .page-hero { padding: 56px 0 48px; }
  .page-title { font-size: 36px; }
  .page-lede { font-size: 16px; }

  /* Value prop typography */
  .vp-line { font-size: 22px; }
  .vp-sub { font-size: 15px; }

  /* Sections — tighten vertical padding */
  .comparison,
  .features,
  .pricing,
  .cta { padding: 56px 0; }

  .section-title { font-size: 26px; }
  .section-sub { font-size: 15px; margin-bottom: 32px; }

  /* Step list — bigger touch targets */
  .step h2 { font-size: 20px; }
  .step p { font-size: 16px; }
  .step-num { font-size: 48px; }

  /* Feature cards spacing */
  .feature { padding: 28px 24px; }
  .feature h3 { font-size: 20px; }
  .feature p { font-size: 14px; }

  /* Pricing — full width plan cards */
  .plan { padding: 28px 24px; }
  .plan-price { font-size: 44px; }
  .plan ul li { font-size: 14px; }

  /* CTA */
  .cta-headline { font-size: 26px; }
  .cta-sub { font-size: 15px; }
  .store-badge { padding: 10px 20px; }
  .badge-name { font-size: 16px; }

  /* Callouts */
  .callout { padding: 24px 22px; margin: 32px 0; }
  .callout h2 { font-size: 20px; }
  .callout p, .callout .numbered li { font-size: 15px; }

  /* Footer — tighten */
  .footer { padding: 48px 0 24px; }
  .footer-brand .brand { font-size: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  /* Tap target compliance */
  a, button { min-height: 44px; }
  .cta-pill, .cta-pill--small { padding: 14px 24px; }
}

/* Legal tables — horizontally scrollable on narrow screens */
@media (max-width: 720px) {
  .legal-body .legal-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
  }
  .legal-body .legal-table thead,
  .legal-body .legal-table tbody,
  .legal-body .legal-table tr {
    display: table;
    width: 100%;
    table-layout: auto;
  }
  .legal-body .legal-table td,
  .legal-body .legal-table th {
    white-space: normal;
    min-width: 160px;
  }
}

/* Larger phones / phablets — slightly tighter than desktop */
@media (max-width: 880px) {
  .hero { min-height: 70vh; }
}

/* Very narrow phones (≤375px) — iPhone SE, older Android */
@media (max-width: 375px) {
  :root { --container-pad: 14px; }
  .hero-wordmark { font-size: 56px; }
  .hero-stamp img { width: 150px; height: 150px; }
  .hero-definition { font-size: 13px; }
  .hero-tagline { font-size: 10px; letter-spacing: 2px; }
  .page-title { font-size: 30px; }
  .section-title { font-size: 22px; }
  .plan-price { font-size: 38px; }
  .nav-inner { gap: 16px; height: 64px; }
  .brand { font-size: 20px; }
}

/* ===========================================================
   Landing-page ui-ux-pro-max audit additions (L1–L20)
   =========================================================== */

/* L9 — Font self-hosting scaffold.
   Today the page loads Tinos + Inter from Google Fonts (display=swap is set on
   the URL, so first paint never blocks on font load). When WOFF2 files are
   delivered to assets/fonts/, uncomment the @font-face blocks below AND remove
   the <link> tag in each HTML head — the browser will use the local files,
   removing a third-party request, removing a Google DNS lookup, and removing
   any GDPR concern from third-party font fetches. */
/*
@font-face {
  font-family: "Tinos";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/Tinos-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Tinos";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/Tinos-Italic.woff2") format("woff2");
}
@font-face {
  font-family: "Tinos";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/Tinos-Bold.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/Inter-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/Inter-Medium.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/Inter-SemiBold.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/Inter-Bold.woff2") format("woff2");
}
*/

/* L6 — Skip-to-content link (keyboard a11y, visible on focus only) */
.skip-link {
  position: absolute;
  left: 8px;
  top: -40px;
  background: #042C53;
  color: #FFFFFF;
  padding: 8px 16px;
  border-radius: 6px;
  z-index: 9999;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.skip-link:focus,
.skip-link:focus-visible {
  top: 8px;
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* L1 — FAQ section using native <details>/<summary> for built-in a11y */
.faq {
  padding: 64px 0;
  background: #042C53;
}
.faq .section-title,
.faq .section-sub {
  text-align: center;
}
.faq-list {
  max-width: 720px;
  margin: 32px auto 0;
}
.faq-item {
  border-bottom: 0.5px solid rgba(181, 212, 244, 0.18);
  padding: 0;
}
.faq-item:last-child {
  border-bottom: none;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: #FFFFFF;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-q {
  font-family: 'Tinos', Georgia, serif;
  font-size: 18px;
  font-weight: 400;
  flex: 1;
}
.faq-icon {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  color: #B5D4F4;
  font-weight: 300;
  transition: transform 200ms ease;
  flex-shrink: 0;
}
.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}
.faq-a {
  margin: 0 0 18px;
  padding: 0 32px 0 0;
  font-size: 15px;
  line-height: 1.65;
  color: #B5D4F4;
}
.faq-a a {
  color: #FFFFFF;
  text-decoration: underline;
}

/* L3 — Per-pricing-card CTAs */
.plan-cta {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 18px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: opacity 150ms ease, transform 150ms ease;
}
.plan-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.plan-cta--primary {
  background: #1D9E75;
  color: #FFFFFF;
  border: none;
}
.plan-cta--secondary {
  background: transparent;
  color: #FFFFFF;
  border: 0.5px solid rgba(255, 255, 255, 0.4);
}

/* L4 — Sticky CTA bar (appears after hero scrolls out of view) */
.sticky-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease;
}
.sticky-cta.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.sticky-cta .cta-pill {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
@media (max-width: 640px) {
  .sticky-cta { bottom: 16px; right: 16px; left: 16px; }
  .sticky-cta .cta-pill { display: block; text-align: center; }
}

/* L15 — Built-in-Dubai trust line in footer */
.footer-built-by {
  font-size: 13px;
  color: #85B7EB;
  margin-bottom: 4px;
}

/* L5 — Comparison table mobile responsive (stacked cards below 640px) */
@media (max-width: 640px) {
  .comparison-table {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .comparison-row {
    display: block !important;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 16px;
  }
  .comparison-row.comparison-head {
    display: none !important;
  }
  .comparison-row [role="cell"] {
    display: block;
    padding: 6px 0;
  }
  .comparison-row [role="cell"].issue {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #85B7EB;
    margin-bottom: 4px;
  }
  .comparison-row [role="cell"].bad::before {
    content: "Other apps: ";
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #85B7EB;
    display: block;
    margin-bottom: 2px;
  }
  .comparison-row [role="cell"].good::before {
    content: "Sojourn: ";
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1D9E75;
    display: block;
    margin-top: 6px;
    margin-bottom: 2px;
  }
}

/* L13 — Cursor pointer on all interactive elements (defensive) */
a, button, [role="button"], summary, .plan, .feature, .comparison-row {
  cursor: pointer;
}
.comparison-row.comparison-head {
  cursor: default;
}

/* ----------------------------------------------------------
   Stakes — real enforcement cases, ledger style
   ---------------------------------------------------------- */
.stakes {
  background: var(--cream);
  padding: 72px 0 64px;
}
.stake-list {
  margin-top: 44px;
  border-top: 1px solid #DDD8C9;
}
.stake {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 12px 44px;
  padding: 30px 0 28px;
  border-bottom: 1px solid #DDD8C9;
}
.stake-fig {
  font-family: var(--font-serif);
  font-size: clamp(34px, 4vw, 46px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.05;
}
.stake-fig-note {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-top: 6px;
}
.stake-body h3 {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .4px;
  color: var(--navy);
  margin: 2px 0 10px;
}
.stake-body p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  margin: 0 0 10px;
  max-width: 68ch;
}
.stake-src {
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent-deep);
  text-decoration: none;
}
.stake-src:hover { text-decoration: underline; text-underline-offset: 3px; }
.stake-close {
  font-family: var(--font-serif);
  font-size: clamp(19px, 2.4vw, 24px);
  color: var(--navy);
  line-height: 1.5;
  margin: 40px 0 10px;
  max-width: 62ch;
}
.stake-note {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--text-light);
  margin: 0;
}
@media (max-width: 700px) {
  .stake { grid-template-columns: 1fr; gap: 6px; padding: 24px 0 22px; }
  .stake-fig { font-size: 34px; }
}

/* ----------------------------------------------------------
   L2 — App screenshots (device-frame mockups)
   ---------------------------------------------------------- */
.screens {
  background: #042C53;
  padding: 64px 0 80px;
}
.screens .section-title,
.screens .section-sub {
  color: #B5D4F4;
}
.screens-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  margin-top: 40px;
  align-items: start;
}
.screen-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.screen-frame {
  /* Device-frame mimic: black notch-style rounded shell + thin inner padding so the
     screenshot itself reads as an actual phone screen, not a flat image. */
  background: #0A0A0A;
  border-radius: 32px;
  padding: 8px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
  width: 100%;
  max-width: 240px;
  aspect-ratio: 390 / 844;
  position: relative;
}
.screen-frame::before {
  /* Subtle pill notch at the top */
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 6px;
  border-radius: 3px;
  background: #1a1a1a;
  z-index: 2;
}
.screen-frame img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 24px;
  object-fit: cover;
}
.screen-caption {
  font-family: "Tinos", Georgia, serif;
  font-style: italic;
  font-size: 14px;
  line-height: 1.45;
  color: #B5D4F4;
  text-align: center;
  margin-top: 16px;
  max-width: 200px;
}
@media (max-width: 900px) {
  .screens-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}
@media (max-width: 480px) {
  .screens-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .screen-frame { max-width: 260px; margin: 0 auto; }
}

/* L6 / a11y — Focus-visible outlines on every interactive element */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ----------------------------------------------------------
   Reduced motion (L14 — extended)
   ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .faq-icon { transform: none !important; }
  .sticky-cta { transition: none !important; }
}

/* ----------------------------------------------------------
   BRAND LOGO — replaces the text wordmark in nav + footer.
   Sized by height; the cropped SVG keeps its ~2.2:1 aspect.
   ---------------------------------------------------------- */
.brand { display: inline-flex; align-items: center; }
.brand-logo { display: block; height: 60px; width: auto; }
.brand-logo--footer { height: 72px; }
@media (max-width: 600px) { .brand-logo { height: 48px; } }

/* ----------------------------------------------------------
   COUNTRY RULES — live search + "not verified yet" badge
   ---------------------------------------------------------- */
.cr-search { display: flex; align-items: center; gap: 14px; margin: 20px 0 14px; flex-wrap: wrap; }
#country-search {
  flex: 1; min-width: 220px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 10px;
  padding: 11px 14px;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 15px;
}
#country-search::placeholder { color: var(--lightblue-200); }
#country-search:focus { outline: none; border-color: var(--lightblue-100); background: rgba(255,255,255,0.08); }
.cr-search-count { font-size: 13px; color: var(--lightblue-200); white-space: nowrap; }
.country-grid li.is-hidden { display: none; }
.cg-pending {
  display: inline-block; margin-left: 6px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase;
  color: #E6B450;
  border: 1px solid rgba(230,180,80,0.45);
  border-radius: 5px; padding: 1px 6px; white-space: nowrap; vertical-align: middle;
}
.cr-noresult { color: var(--lightblue-200); font-style: italic; padding: 10px 2px; }

/* ----------------------------------------------------------
   SPECIAL TAX REGIMES — named-regime list (country-rules)
   ---------------------------------------------------------- */
.regime-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 28px;
  margin: 18px 0 8px;
  padding: 0;
  list-style: none;
}
@media (max-width: 720px) { .regime-list { grid-template-columns: 1fr; } }
.regime-list li {
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-dark);
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.regime-list li strong { color: var(--navy); font-weight: 700; }

/* ----------------------------------------------------------
   MOTION POLISH — scroll reveal (A1) + card hover (B2)
   Reveal is gated behind .reveal-on, which script's pre-paint
   head snippet adds to <html> ONLY when JS runs AND the visitor
   has NOT requested reduced motion. So: no-JS or reduced-motion
   visitors never get the hidden state — content is fully visible.
   ---------------------------------------------------------- */

/* A1 — gentle fade-up. Elements rise 18px + fade in as they enter view.
   Per-element transition-delay (stagger) is set in script.js. */
.reveal-on [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease-out, transform 0.55s ease-out;
  will-change: opacity, transform;
}
.reveal-on [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* B2 — card hover lift + soft shadow. Navy-tinted shadow to match the
   light cream/white card surfaces (a heavy black shadow would look wrong
   on the editorial palette). Highlighted pricing card keeps its red tint. */
.promise-card,
.feature,
.plan,
.usage-card,
.expect {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.promise-card:hover,
.feature:hover,
.plan:hover,
.usage-card:hover,
.expect:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(4, 44, 83, 0.14);
}
.feature:hover,
.usage-card:hover,
.expect:hover,
.plan:hover {
  border-color: #D3DBE4;
}
.plan--highlight:hover {
  border-color: var(--accent);
  box-shadow: 0 18px 44px rgba(51, 214, 200, 0.24);
}

/* Honour reduced motion: no reveal hidden-state (handled by .reveal-on gate),
   and no hover displacement. The global reduced-motion block above already
   zeroes transitions; this also cancels the hover transform so nothing jumps. */
@media (prefers-reduced-motion: reduce) {
  .promise-card:hover,
  .feature:hover,
  .plan:hover,
  .usage-card:hover,
  .expect:hover {
    transform: none;
  }
}

/* ----------------------------------------------------------
   Waitlist notify form (#download, pre-launch)
   TEMPORARY: replaces the store badges until the app is live.
   At launch, restore .store-badges in index.html and this block
   becomes dead — remove it then.
   ---------------------------------------------------------- */
.notify {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}
#notify-email {
  flex: 1 1 220px;
  min-width: 200px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  padding: 14px 22px;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 16px;
  transition: border-color .2s, background .2s;
}
#notify-email::placeholder { color: var(--lightblue-200); }
#notify-email:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(51,214,200,.22);
  background: rgba(255,255,255,0.10);
}
#notify-btn { flex: 0 0 auto; cursor: pointer; border: 0; }
#notify-btn:disabled { opacity: .6; cursor: default; }
.notify-msg {
  font-family: var(--font-sans);
  font-size: 14px;
  color: #F3B6B5;
  min-height: 20px;
  margin: 14px 0 0;
}
.notify-consent {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.6;
  color: var(--lightblue-200);
  max-width: 480px;
  margin: 16px auto 0;
}
.notify-consent a { color: var(--lightblue-100); text-decoration: underline; }
.notify-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
}
.notify-success svg { width: 62px; height: 62px; }
.nc-circle { fill: none; stroke: var(--accent); stroke-width: 3; }
.nc-check  { fill: none; stroke: var(--accent); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.nc-title  { font-family: var(--font-serif); font-size: 22px; margin: 0; color: var(--white); }
.nc-sub    { font-family: var(--font-sans); font-size: 14px; margin: 0; color: var(--lightblue-100); }

/* ── Report facsimile peeks + supporting list styles ─────────────────────────
   Moved here from an inline <style> in index.html so reports.html and any future
   page share one definition (the export/import-record iframe peeks). */
.export-showcase { padding: 8px 0 4px; }
.export-peek { position: relative; max-width: 720px; margin: 22px auto 0; height: 520px; overflow: hidden;
  border: 1px solid rgba(4,44,83,0.12); border-radius: 10px; background: #fff;
  box-shadow: 0 24px 60px rgba(4,44,83,0.16); display: block; }
.export-peek iframe { width: 794px; height: 1123px; border: 0; transform: scale(0.906); transform-origin: top left; pointer-events: none; }
.export-peek .peek-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 150px;
  background: linear-gradient(rgba(255,255,255,0), #fff); }
.export-peek .peek-open { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  background: #042C53; color: #F5F4F2; font-size: 14px; font-weight: 600; letter-spacing: 0.2px;
  padding: 11px 22px; border-radius: 8px; text-decoration: none; white-space: nowrap; }
.export-caption { text-align: center; font-size: 12px; color: #888780; margin-top: 14px; }
@media (max-width: 760px) {
  .export-peek { height: 380px; }
  .export-peek iframe { transform: scale(0.62); }
}

/* Prose bullet list used on the reports + US-states content pages. */
.reason-list { list-style: none; padding: 0; margin: 8px 0 0; }
.reason-list li { position: relative; padding-left: 22px; margin-bottom: 14px; line-height: 1.65; }
.reason-list li:last-child { margin-bottom: 0; }
.reason-list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px;
  border-radius: 50%; background: #33D6C8; }

/* Inline arrow link at the end of a callout. */
.text-link { color: #0B7E74; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(51,214,200,0.5); }
.text-link:hover { border-bottom-color: #33D6C8; }

/* ----------------------------------------------------------
   Flagged page title — flags flanking the title (Country rules)

   The flag height and the title font-size share ONE clamp, so a flag is
   always exactly as tall as the title. Ten title-height flags plus the
   words need ~1015px at the cap, which is why the title tops out at 42px
   here rather than the usual 72px — the row has to fit the container.
   ---------------------------------------------------------- */
.title-flagged {
  display: flex;
  flex-wrap: nowrap;              /* one line: 5 flags | title | 5 flags */
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.4vw, 26px);
  margin: 0 0 24px;
  /* Break OUT of the 1200px text column. Ten title-height flags plus the
     words need the window, not the column — otherwise the title has to
     shrink to fit. Keeps the title at its full size. */
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: min(1820px, calc(100vw - 40px));
}
.page-title--flagged {
  margin: 0;
  font-size: clamp(24px, 3.8vw, 72px);
  white-space: nowrap;
}
.flag-group {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(8px, 1vw, 16px);     /* space between each flag */
}
.flag-group img {
  height: clamp(24px, 3.8vw, 72px); /* == the title font-size above */
  width: auto;
  flex: 0 0 auto;                 /* never let the row squeeze into a column */
  display: block;
  border-radius: 3px;
  /* White-heavy flags (NL, GB, FR, IN, AU) would bleed into the navy
     without this hairline. */
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 2px 8px rgba(3, 21, 43, 0.35);
}
/* Too narrow to flank: stack into 5 above / 5 below, still symmetric. */
@media (max-width: 900px) {
  .title-flagged {
    flex-direction: column;
    gap: 16px;
    left: auto;
    transform: none;
    width: auto;
  }
  .page-title--flagged { white-space: normal; font-size: clamp(30px, 6vw, 44px); }
  .flag-group img { height: 26px; }
}

/* ----------------------------------------------------------
   Flag after the title (US state residency)

   Deliberately reuses .flag-group / .page-title--flagged from the block
   above, so this flag is the SAME size as a Country-rules flag by
   construction — one clamp, both pages, no chance of drift.
   ---------------------------------------------------------- */
.title-with-flag {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.4vw, 26px);
  margin: 0 0 24px;
}
@media (max-width: 900px) {
  /* Let the flag drop beside a wrapped title rather than force one line. */
  .title-with-flag { flex-wrap: wrap; }
}

/* ----------------------------------------------------------
   DataRep appointment badges (Privacy Policy §6)
   See the licence-condition comment in privacy.html before touching.
   ---------------------------------------------------------- */
.rep-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 24px 0 28px;
}
.rep-badges img {
  width: 132px;
  height: auto;
  border-radius: 6px;
}
@media (max-width: 520px) {
  .rep-badges { gap: 12px; justify-content: center; }
  .rep-badges img { width: calc(33.333% - 8px); }
}

/* ----------------------------------------------------------
   Section eyebrow — small uppercase kicker above a section title
   ---------------------------------------------------------- */
.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-deep);
  text-align: center;
  margin: 0 0 14px;
}

/* ----------------------------------------------------------
   No cold start — import your existing history
   ---------------------------------------------------------- */
.imports {
  background: var(--cream);
  padding: 72px 0 64px;
}
.import-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.import-card {
  background: #fff;
  border: 1px solid #DDD8C9;
  border-radius: 12px;
  padding: 22px 22px 24px;
}
.import-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.import-card-head h3 {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}
.import-badge {
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 20px;
  white-space: nowrap;
}
.import-badge--free { background: var(--accent-deep); color: #fff; }
.import-badge--pro  { background: var(--accent); color: var(--navy); }
.import-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dark);
  margin: 0;
}
.import-card code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--row-tint);
  padding: 1px 5px;
  border-radius: 4px;
  color: var(--navy);
}
.import-crew {
  margin-top: 26px;
  background: var(--navy);
  border-radius: 14px;
  padding: 26px 30px;
}
.import-crew-eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 8px;
}
.import-crew-body {
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.55;
  color: var(--white);
  margin: 0 0 10px;
  max-width: 66ch;
}
.import-crew-body strong { color: var(--accent); font-weight: 700; }
.import-crew .text-link { color: var(--accent); border-bottom-color: rgba(51,214,200,0.5); }

/* ----------------------------------------------------------
   The scale — market / education, sourced (navy)
   ---------------------------------------------------------- */
.scale {
  background: var(--navy);
  padding: 72px 0 64px;
}
.scale .section-eyebrow { color: var(--accent); }
.scale .section-title { color: var(--white); }
.scale .section-sub { color: var(--lightblue-100); }
.scale-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 8px;
}
.scale-stat {
  background: rgba(51, 214, 200, 0.07);
  border: 1px solid rgba(51, 214, 200, 0.24);
  border-radius: 12px;
  padding: 24px 22px;
}
.scale-num {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700;
  color: var(--accent);
  line-height: 1.05;
}
.scale-label {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  color: var(--lightblue-100);
  margin: 10px 0 0;
}
.scale-src {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--mid-grey);
  text-align: center;
  margin: 26px 0 0;
}

@media (max-width: 760px) {
  .import-grid, .scale-stats { grid-template-columns: 1fr; }
  .imports, .scale { padding: 48px 0 44px; }
  .import-crew { padding: 22px 22px; }
  .import-crew-body { font-size: 16px; }
}

/* ----------------------------------------------------------
   "Set up in a minute" walkthrough (mirrors the in-app tutorial)
   ---------------------------------------------------------- */
.setup { padding: clamp(56px, 8vh, 96px) 0; }
.setup-grid {
  list-style: none; margin: 40px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.setup-step {
  background: var(--white); border: 1px solid var(--row-tint); border-radius: 16px;
  padding: 22px 20px 20px; position: relative;
}
.setup-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 999px;
  background: var(--navy); color: var(--white);
  font-family: var(--font-serif); font-size: 15px; margin-bottom: 12px;
}
.setup-step h3 { font-family: var(--font-serif); font-weight: 400; font-size: 19px; margin: 0 0 7px; color: var(--navy); }
.setup-step p { font-size: 14px; line-height: 1.55; color: var(--text-light); margin: 0; }

.rule-explainer {
  margin-top: 26px; background: linear-gradient(135deg, var(--navy-highlight), var(--navy));
  border-radius: 20px; padding: clamp(24px, 4vw, 40px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center;
}
.re-copy h3 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(21px, 2.6vw, 27px); color: var(--white); margin: 0 0 12px; line-height: 1.2; }
.re-copy p { font-size: 15px; line-height: 1.6; color: var(--lightblue-100); margin: 0; }
.re-tiles { display: grid; gap: 12px; }
.re-tile { border-radius: 14px; padding: 14px 16px; }
.re-max { background: rgba(29,158,117,0.14); border: 1px solid rgba(67,201,154,0.42); }
.re-min { background: rgba(242,184,75,0.12); border: 1px solid rgba(242,184,75,0.5); }
.re-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.re-cty { font-size: 14px; font-weight: 600; color: var(--white); }
.re-pill { font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 20px; }
.re-ok { background: #43C99A; color: #04231A; }
.re-beh { background: #F2B84B; color: #3A2A05; }
.re-big { font-family: var(--font-serif); font-size: 25px; color: var(--white); }
.re-big span { font-size: 13px; color: var(--lightblue-200); }
.re-bar { height: 6px; border-radius: 4px; background: rgba(255,255,255,0.14); margin: 9px 0; overflow: hidden; }
.re-fill-ok { display: block; height: 100%; border-radius: 4px; background: #43C99A; }
.re-fill-beh { display: block; height: 100%; border-radius: 4px; background: #F2B84B; }
.re-note { font-size: 12px; color: var(--lightblue-100); margin: 0; }
.re-note strong { color: var(--white); }

@media (max-width: 780px) {
  .setup-grid { grid-template-columns: 1fr; gap: 14px; }
  .rule-explainer { grid-template-columns: 1fr; gap: 22px; }
}
