/* ==========================================================================
   GLP 100 — SEO microsite stylesheet
   Implements 06-design-system.md (tokens, components, wireframes, breakpoints).
   Single stylesheet, system fonts only, zero external requests.
   ========================================================================== */

/* ---- Reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }

/* ---- Design tokens ----------------------------------------------------- */
:root {
  /* Color */
  --bg:            #FAF3E3;
  --bg-raise:      #FDF8EC;
  --surface:       #FFFDF6;
  --surface-2:     #FFF4DD;
  --line:          #EADFC8;
  --line-strong:   #D8C7A6;
  --ink:           #3A2418;
  --body:          #52402E;
  --muted:         #7A644C;
  --brand:         #F4611E;
  --brand-strong:  #C2410C;
  --brand-ink:     #FFFFFF;
  --accent-red:    #E8453A;
  --ok-green:      #4E8F3A;
  --focus:         #C2410C;

  /* Type */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
               "Apple Color Emoji", sans-serif;
  --fs-hero:  clamp(2.35rem, 5.5vw, 3.6rem);
  --fs-h1:    clamp(2rem, 4.5vw, 2.75rem);
  --fs-h2:    clamp(1.5rem, 3.2vw, 2.05rem);
  --fs-h3:    1.25rem;
  --fs-lead:  clamp(1.08rem, 1.6vw, 1.3rem);
  --fs-body:  1.0625rem;
  --fs-small: 0.9375rem;

  /* Layout */
  --measure:     68ch;
  --content-max: 1120px;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --radius-sm: 10px; --radius: 16px; --radius-lg: 24px; --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(80, 52, 24, .10);
  --shadow:    0 18px 44px -20px rgba(80, 52, 24, .28);
  --header-h: 64px;
  color-scheme: light;
}

/* ---- Base -------------------------------------------------------------- */
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-weight: 800; }
h2 { font-weight: 750; }
h3 { font-weight: 700; }

p { line-height: 1.65; }

a.prose-link, .prose a {
  color: var(--brand-strong);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
a.prose-link:hover, .prose a:hover { color: #A83A0A; }

/* ---- Focus / motion ---------------------------------------------------- */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

@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;
    scroll-behavior: auto !important;
  }
}

/* ---- Skip link --------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: var(--s4);
  top: -60px;
  z-index: 200;
  background: var(--brand-strong);
  color: var(--brand-ink);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 700;
  transition: top 160ms ease-out;
}
.skip-link:focus { top: var(--s3); }

/* ---- Utility ----------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--s5);
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---- Buttons + badge --------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  background: var(--brand-strong);
  color: var(--brand-ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  padding: 14px 28px;
  border: 0;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  cursor: pointer;
  min-height: 44px;
  transition: background 160ms ease-out, transform 120ms ease-out;
}
.btn:hover { background: #A83A0A; }
.btn:active { transform: translateY(1px); }
.btn--header { padding: 8px 18px; font-size: 15px; min-height: 40px; }

.appstore-badge {
  display: inline-flex;
  border-radius: var(--radius-sm);
  min-height: 44px;
  align-items: center;
}
.appstore-badge img {
  height: 54px;
  width: auto;
  display: block;
}

.cta-subline { color: var(--muted); font-size: var(--fs-small); margin-top: var(--s3); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 243, 227, .88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 160ms ease-out;
}
@supports not ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {
  .site-header { background: var(--bg); }
}
.site-header.scrolled { border-bottom-color: var(--line); }

.header-inner {
  max-width: var(--content-max);
  margin-inline: auto;
  min-height: var(--header-h);
  padding-inline: var(--s5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s3);
  text-decoration: none;
  color: var(--ink);
  flex: 0 0 auto;
}
.brand img { width: 40px; height: 40px; border-radius: var(--radius-sm); }
.brand .wordmark { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; }

.header-actions { display: inline-flex; align-items: center; gap: var(--s3); flex: 0 0 auto; }

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: var(--s5);
  margin: 0;
}
.main-nav a {
  text-decoration: none;
  color: var(--body);
  font-size: 15px;
  padding: 8px 2px;
  display: inline-block;
  transition: color 160ms ease-out;
}
.main-nav a:hover { color: var(--brand-strong); }

/* Hamburger */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; stroke: var(--ink); }

/* --- No-JS default (mobile): nav shown as a reachable stacked panel; hamburger hidden --- */
.main-nav {
  order: 3;
  flex-basis: 100%;
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
.main-nav li { border-bottom: 1px solid var(--line); }
.main-nav a { font-size: 16px; padding: 0 var(--s5); min-height: 48px; display: flex; align-items: center; }
.header-inner { flex-wrap: wrap; }
.nav-toggle { display: none; }

/* --- With JS (mobile): collapse nav behind the hamburger --- */
html.js .main-nav { display: none; }
html.js .main-nav.open { display: block; }
html.js .nav-toggle { display: inline-flex; }

/* --- Desktop: inline nav, no hamburger, no wrap --- */
@media (min-width: 720px) {
  .header-inner { flex-wrap: nowrap; }
  .main-nav,
  html.js .main-nav {
    display: block;
    order: 0;
    flex-basis: auto;
    background: transparent;
    border-top: 0;
  }
  .main-nav ul { flex-direction: row; align-items: center; gap: var(--s5); }
  .main-nav li { border-bottom: 0; }
  .main-nav a { font-size: 15px; padding: 8px 2px; min-height: 0; display: inline-block; }
  .nav-toggle, html.js .nav-toggle { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  background: linear-gradient(180deg, #FDF8EC 0%, #FAF3E3 100%);
}
.hero-inner {
  max-width: var(--content-max);
  margin-inline: auto;
  padding: var(--s7) var(--s5) var(--s8);
  display: grid;
  gap: var(--s7);
  align-items: center;
}
.eyebrow {
  text-transform: none;
  color: var(--brand-strong);
  font-weight: 700;
  font-size: var(--fs-small);
  letter-spacing: 0.02em;
  margin-bottom: var(--s3);
}
.hero h1 { font-size: var(--fs-hero); margin-bottom: var(--s4); }
.hero .hl {
  color: var(--brand-strong); /* fallback */
  background: linear-gradient(120deg, var(--brand), var(--accent-red));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero .hl { -webkit-text-fill-color: currentColor; color: var(--brand-strong); }
}
.hero .lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--body); max-width: 40ch; }
.cta-cluster { margin-top: var(--s6); }

.trust-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  margin-top: var(--s6);
}
.trust-chips li {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  font-size: 14px;
  color: var(--body);
}
.trust-chips svg { width: 16px; height: 16px; stroke: var(--brand-strong); flex: 0 0 auto; }

/* ---- Phone frame + figures -------------------------------------------- */
figure { margin: 0; }
.phone-frame {
  padding: 10px;
  background: #2B1B10;
  border-radius: 42px;
  box-shadow: var(--shadow);
  width: min(78vw, 300px);
  margin-inline: auto;
}
.phone-frame img { width: 100%; height: auto; border-radius: 30px; object-fit: contain; }
.figure-caption {
  font-size: var(--fs-small);
  color: var(--muted);
  text-align: center;
  margin-top: var(--s4);
  line-height: 1.5;
  max-width: 34ch;
  margin-inline: auto;
}
.hero-figure { display: flex; flex-direction: column; align-items: center; }

@media (min-width: 720px) {
  .hero-inner { grid-template-columns: 1.1fr 0.9fr; padding-block: var(--s8) var(--s9); }
  .hero .phone-frame { width: 260px; }
}
@media (min-width: 1024px) {
  .hero .phone-frame { width: 320px; }
}

/* ==========================================================================
   Section scaffolding
   ========================================================================== */
.section { padding-block: var(--s7); }
.section--raise { background: var(--bg-raise); }
@media (min-width: 720px) {
  .section { padding-block: var(--s8); }
  .container { padding-inline: var(--s6); }
  .header-inner { padding-inline: var(--s6); }
}

.section-head { text-align: center; margin-bottom: var(--s6); }
.section-head h2 {
  font-size: var(--fs-h2);
  max-width: 24ch;
  margin-inline: auto;
}
.section-lead {
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--body);
  max-width: 60ch;
  margin: var(--s4) auto 0;
  text-align: center;
}
.measure-block { max-width: 60ch; margin-inline: auto; }
.measure-block p + p { margin-top: var(--s4); }
.center { text-align: center; }

/* ---- Privacy 2-col ----------------------------------------------------- */
.split { display: grid; gap: var(--s7); align-items: center; }
.split h2 { font-size: var(--fs-h2); }
.privacy-lead { font-size: var(--fs-lead); line-height: 1.5; margin: var(--s4) 0 var(--s5); }
.check-list { list-style: none; display: grid; gap: var(--s4); }
.check-list li { position: relative; padding-left: 30px; line-height: 1.6; }
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: 6px;
  width: 18px; height: 18px;
  background: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C2410C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.privacy-figure .figure-caption { max-width: 30ch; }
@media (min-width: 1024px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--s8); }
  .privacy-figure .phone-frame { width: 260px; }
}

/* ==========================================================================
   Benefit cards
   ========================================================================== */
.card-grid { display: grid; gap: var(--s5); grid-template-columns: 1fr; }
@media (min-width: 720px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid { grid-template-columns: repeat(4, 1fr); } }

.benefit-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s6) var(--s5);
  box-shadow: var(--shadow-sm);
}
.benefit-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s4);
}
.benefit-icon svg { width: 22px; height: 22px; stroke: var(--brand-strong); }
.benefit-card h3 { font-size: 19px; margin-bottom: var(--s3); }
.benefit-card p { font-size: var(--fs-small); color: var(--body); }

/* ==========================================================================
   Feature rows
   ========================================================================== */
.feature-rows { display: grid; gap: var(--s7); }
.feature-row { display: grid; gap: var(--s5); align-items: center; }
.feature-row .feature-figure .phone-frame { width: min(78vw, 280px); }
.feature-row h3 { font-size: var(--fs-h3); margin-bottom: var(--s3); }
.feature-row p { color: var(--body); }
@media (min-width: 900px) {
  .feature-row { grid-template-columns: 40% 60%; gap: var(--s7); }
  .feature-row .feature-figure { order: 0; }
  .feature-row .feature-text { order: 1; }
  .feature-row--reverse .feature-figure { order: 1; }
  .feature-row--reverse .feature-text { order: 0; }
}

/* ---- Feature grid tiles ------------------------------------------------ */
.tile-grid {
  display: grid;
  gap: var(--s4);
  grid-template-columns: 1fr;
  margin-top: var(--s7);
}
@media (min-width: 540px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tile-grid { grid-template-columns: repeat(3, 1fr); } }
.tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: var(--s5);
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  align-items: flex-start;
}
/* Icon-above-title keeps every locked title on one line across the tested
   breakpoints (360/768/1024/1440) without truncation or overflow. */
.tile svg { width: 20px; height: 20px; stroke: var(--brand-strong); margin-bottom: var(--s1); }
.tile h3 { font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.tile p { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ==========================================================================
   Steps
   ========================================================================== */
.steps { list-style: none; display: grid; gap: var(--s6); }
.step { position: relative; }
.step-num {
  width: 40px; height: 40px;
  border-radius: var(--radius-pill);
  background: var(--brand-strong);
  color: var(--brand-ink);
  font-size: 18px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: var(--s4);
}
.step h3 { font-size: var(--fs-h3); margin-bottom: var(--s3); }
.step p { color: var(--body); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: var(--s6); position: relative; }
  .steps::before {
    content: "";
    position: absolute;
    top: 20px; left: 16%; right: 16%;
    height: 1px; background: var(--line-strong);
    z-index: 0;
  }
  .step { z-index: 1; }
}

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing-grid { display: grid; gap: var(--s5); justify-content: center; }
.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--s6);
  position: relative;
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
}
.price-card--plus { border: 2px solid var(--brand-strong); }
/* In-flow above the H3 below 540px (prevents overlap on narrow cards);
   spec's top-right absolute placement from 540px up, with the Plus H3
   width-capped so heading and pill boxes can never intersect. */
.trial-pill {
  position: static;
  display: inline-block;
  margin-bottom: var(--s3);
  background: var(--surface-2);
  color: var(--brand-strong);
  font-size: 12px; font-weight: 800; letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}
@media (min-width: 540px) {
  .trial-pill {
    position: absolute;
    top: var(--s5); right: var(--s5);
    margin-bottom: 0;
  }
  .price-card--plus h3 { max-width: calc(100% - 150px); }
}
/* Two-column pricing squeezes each card to ~336px until ~940px viewport —
   too narrow for heading + absolute pill. Keep the pill in flow there. */
@media (min-width: 760px) and (max-width: 939px) {
  .trial-pill { position: static; margin-bottom: var(--s3); }
  .price-card--plus h3 { max-width: none; }
}
.price-card h3 { font-size: var(--fs-h3); margin-bottom: var(--s3); }
.price-line { font-size: 28px; font-weight: 800; color: var(--ink); margin-bottom: var(--s4); line-height: 1.2; }
.price-line .price-cadence { font-size: 16px; font-weight: 600; color: var(--muted); }
.feature-list { list-style: none; display: grid; gap: var(--s3); }
.feature-list li { position: relative; padding-left: 28px; line-height: 1.5; }
.feature-list li::before {
  content: "";
  position: absolute; left: 0; top: 4px;
  width: 16px; height: 16px;
  background: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234E8F3A' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.price-fine { font-size: var(--fs-small); color: var(--muted); text-align: center; max-width: 60ch; margin: var(--s5) auto 0; }
@media (min-width: 760px) {
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 420px)); align-items: start; }
}

/* ==========================================================================
   Guide cards
   ========================================================================== */
.guide-grid { display: grid; gap: var(--s5); grid-template-columns: 1fr; }
@media (min-width: 600px) { .guide-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .guide-grid { grid-template-columns: repeat(3, 1fr); } }
.guide-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s5);
  text-decoration: none;
  color: var(--body);
  transition: border-color 160ms ease-out, box-shadow 160ms ease-out, transform 160ms ease-out;
}
.guide-card:hover { border-color: var(--brand-strong); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.guide-card h3 { font-size: 17px; margin-bottom: var(--s2); color: var(--ink); }
.guide-card h3 .arrow { color: var(--brand-strong); margin-left: 6px; }
.guide-card p { font-size: 14px; color: var(--body); line-height: 1.5; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { max-width: var(--measure); margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  font-size: 17px; font-weight: 650; color: var(--ink);
  padding: var(--s5) 40px var(--s5) 0;
  position: relative;
  line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 4px; top: 50%;
  transform: translateY(-50%);
  font-size: 26px; font-weight: 400; color: var(--brand-strong);
  line-height: 1;
  transition: transform 160ms ease-out;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .faq-answer { color: var(--body); padding-bottom: var(--s5); max-width: var(--measure); }
.faq .faq-answer p { line-height: 1.65; }

/* ==========================================================================
   CTA bands (guides + HOME final)
   ========================================================================== */
.cta-band-wrap { padding-block: var(--s7); }
.cta-band {
  background: var(--surface-2);
  border-radius: var(--radius-lg);
  padding: var(--s7) var(--s5);
  text-align: center;
  max-width: var(--content-max);
  margin-inline: auto;
}
.cta-band h2 { font-size: var(--fs-h2); margin-bottom: var(--s4); }
.cta-band .cta-body { max-width: 56ch; margin: 0 auto var(--s5); color: var(--body); }
.cta-actions { display: inline-flex; flex-direction: column; align-items: center; gap: var(--s4); }
.cta-actions .badge-row { display: flex; justify-content: center; }
.cta-textlink { color: var(--brand-strong); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; font-weight: 700; }
.cta-textlink:hover { color: #A83A0A; }
.cta-smallprint { font-size: var(--fs-small); color: var(--muted); }
@media (min-width: 720px) { .cta-band { padding-inline: var(--s7); } }

/* ==========================================================================
   Article layout (guides)
   ========================================================================== */
.article { max-width: var(--measure); margin-inline: auto; padding-block: var(--s7); }
.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: var(--s5); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { color: var(--line-strong); }
.article h1 { font-size: var(--fs-h1); margin-bottom: var(--s4); }
.byline {
  font-size: 15px; color: var(--muted);
  padding-bottom: var(--s4);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--s6);
}
.prose { color: var(--body); }
.prose h2 { font-size: var(--fs-h2); margin-top: var(--s7); margin-bottom: var(--s4); }
.prose h3 { font-size: var(--fs-h3); margin-top: var(--s6); margin-bottom: var(--s3); }
.prose p { margin-bottom: var(--s4); }
.prose ul, .prose ol { margin: 0 0 var(--s4) 1.35em; }
.prose li { margin-bottom: var(--s3); line-height: 1.6; }
.prose li b, .prose li strong, .prose p b, .prose p strong { color: var(--ink); }

.tldr {
  background: var(--surface-2);
  border-radius: var(--radius);
  border-left: 4px solid var(--brand-strong);
  padding: var(--s5) var(--s6);
  margin-bottom: var(--s6);
}
.tldr .tldr-label {
  display: block;
  font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--brand-strong); font-weight: 800;
  margin-bottom: var(--s2);
}
.tldr p { font-size: var(--fs-body); margin: 0; line-height: 1.6; }

.article-figure { margin: var(--s6) auto; display: flex; flex-direction: column; align-items: center; }
.article-figure .phone-frame { width: min(78vw, 280px); }

.related h2 { font-size: var(--fs-h2); margin-top: var(--s7); margin-bottom: var(--s5); }

.sources h2 { font-size: var(--fs-h2); margin-top: var(--s7); margin-bottom: var(--s4); }
.sources ul { margin: 0 0 var(--s4) 1.35em; }
.sources li { margin-bottom: var(--s3); line-height: 1.5; }
.sources a { color: var(--brand-strong); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.sources-note { font-size: var(--fs-small); font-style: italic; color: var(--muted); }

/* Guides render their "Keep reading" cards full-width inside the article measure */
.related .guide-grid { grid-template-columns: 1fr; }
@media (min-width: 600px) { .related .guide-grid { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   Disclaimer band
   ========================================================================== */
.disclaimer-band {
  background: var(--bg-raise);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: var(--s6);
}
.disclaimer-band p {
  font-size: var(--fs-small);
  color: var(--muted);
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: var(--s5);
  text-align: center;
  line-height: 1.6;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: #221609; color: #E9DCC8; padding-block: var(--s8) var(--s6); }
.footer-grid {
  display: grid;
  gap: var(--s6);
  grid-template-columns: 1fr;
}
@media (min-width: 540px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand { display: inline-flex; align-items: center; gap: var(--s3); margin-bottom: var(--s3); }
.footer-brand img { width: 36px; height: 36px; border-radius: 8px; }
.footer-brand .wordmark { font-size: 16px; font-weight: 800; color: #E9DCC8; }
.footer-tagline { font-size: 14px; color: #C9B79A; line-height: 1.6; max-width: 34ch; }
.footer-col h2 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: #B99F7B; margin-bottom: var(--s4); font-weight: 700; }
.footer-col ul { list-style: none; display: grid; gap: var(--s3); }
.footer-col a { font-size: 15px; color: #E9DCC8; text-decoration: none; }
.footer-col a:hover { color: #FFFFFF; text-decoration: underline; }
.footer-legal {
  border-top: 1px solid rgba(233, 220, 200, .15);
  margin-top: var(--s7);
  padding-top: var(--s6);
  display: grid;
  gap: var(--s3);
}
.footer-legal p { font-size: 13px; color: #A98F6E; line-height: 1.7; }
