/* Slate-amber · industrial-sans-condensed · timeline-led layout */

:root {
  --gl-bg: #1a2332;
  --gl-bg-alt: #243044;
  --gl-surface: #2d3a50;
  --gl-surface-raised: #364660;
  --gl-ink: #eef1f6;
  --gl-ink-muted: #a8b4c8;
  --gl-ink-subtle: #7a879c;
  --gl-accent: #e8a838;
  --gl-accent-ink: #1a1408;
  --gl-line: rgba(238, 241, 246, 0.12);
  --gl-glow: rgba(232, 168, 56, 0.35);
  --gl-font-display: "Arial Narrow", "Franklin Gothic Medium", "Nimbus Sans Narrow", "Segoe UI", system-ui, sans-serif;
  --gl-font-body: "Arial Narrow", "Franklin Gothic Medium", "Nimbus Sans Narrow", "Segoe UI", system-ui, sans-serif;
  --gl-font-mono: ui-monospace, "Cascadia Mono", "Segoe UI Mono", monospace;
  --gl-tracking-display: -0.03em;
  --gl-weight-display: 700;
  --gl-weight-body: 400;
  --gl-radius: 0.375rem;
  --gl-radius-lg: 0.75rem;
  --gl-border: 1px;
  --gl-duration-fast: 150ms;
  --gl-duration: 280ms;
  --gl-duration-slow: 700ms;
  --gl-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --rail-width: 15rem;
  --page-max: 72rem;
  --section-gap: clamp(2.5rem, 5vw, 4.5rem);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--gl-font-body);
  font-weight: var(--gl-weight-body);
  font-stretch: condensed;
  background: var(--gl-bg);
  color: var(--gl-ink);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--gl-accent); }

.page-shell {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 100vh;
}

@media (min-width: 1024px) {
  .page-shell {
    grid-template-columns: var(--rail-width) minmax(0, 1fr);
    max-width: 90rem;
    margin: 0 auto;
  }
}

@media (min-width: 1440px) {
  .page-shell {
    grid-template-columns: 16rem minmax(0, 1fr);
    gap: 0 clamp(1rem, 2vw, 2.5rem);
    padding: 0 clamp(1rem, 2vw, 2rem);
  }
}

@media (min-width: 2160px) {
  .page-shell {
    max-width: 100rem;
    grid-template-columns: 17rem minmax(0, 1fr);
  }
}

/* Side rail */
.side-rail {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--gl-bg-alt);
  border-bottom: var(--gl-border) solid var(--gl-line);
}

@media (min-width: 1024px) {
  .side-rail {
    height: 100vh;
    border-bottom: none;
    border-right: var(--gl-border) solid var(--gl-line);
    display: flex;
    flex-direction: column;
    padding: 1.25rem 1rem;
  }
}

.site-header {
  width: 100%;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 0.875rem 1rem;
}

@media (min-width: 1024px) {
  .header-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    gap: 1.5rem;
    flex: 0 0 auto;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--gl-font-display);
  font-weight: var(--gl-weight-display);
  font-size: 0.9375rem;
  letter-spacing: var(--gl-tracking-display);
  text-transform: uppercase;
  line-height: 1.2;
  min-width: 0;
}

.brand small {
  display: block;
  font-size: 0.6875rem;
  font-weight: 400;
  color: var(--gl-ink-muted);
  text-transform: none;
  letter-spacing: 0;
  margin-top: 0.125rem;
}

.brand-logo {
  width: 2.5rem;
  height: 2.5rem;
  max-width: 64px;
  max-height: 64px;
  flex: 0 0 auto;
  border-radius: var(--gl-radius);
  background: linear-gradient(145deg, var(--gl-accent) 0%, #c48820 100%);
  box-shadow: 0 0 0 2px rgba(232, 168, 56, 0.25);
  clip-path: polygon(50% 8%, 92% 35%, 78% 88%, 22% 88%, 8% 35%);
}

@media (min-width: 1024px) {
  .brand-logo {
    width: 3rem;
    height: 3rem;
  }
}

.rail-nav {
  display: none;
}

@media (min-width: 1024px) {
  .rail-nav {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    flex: 1 1 auto;
  }

  .rail-nav a {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.5rem 0.625rem;
    border-radius: var(--gl-radius);
    color: var(--gl-ink-muted);
    transition: color var(--gl-duration-fast), background var(--gl-duration-fast);
  }

  .rail-nav a:hover {
    color: var(--gl-ink);
    background: rgba(255, 255, 255, 0.05);
  }
}

@media (max-width: 1023px) {
  .rail-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.875rem;
    order: 3;
    width: 100%;
  }

  .rail-nav a {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gl-ink-muted);
  }
}

.header-cta {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.5rem 0.875rem;
  border-radius: var(--gl-radius);
  background: var(--gl-accent);
  color: var(--gl-accent-ink);
  white-space: nowrap;
  transition: filter var(--gl-duration-fast);
}

.header-cta:hover {
  filter: brightness(1.08);
  color: var(--gl-accent-ink);
}

@media (min-width: 1024px) {
  .header-cta {
    margin-left: 0;
    text-align: center;
    padding: 0.625rem 1rem;
    font-size: 0.8125rem;
  }
}

.timeline-rail {
  display: none;
}

@media (min-width: 1024px) {
  .timeline-rail {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 1.5rem;
  }

  .timeline-node {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
    background: var(--gl-line);
    transition: background var(--gl-duration), transform var(--gl-duration);
  }

  .timeline-node.is-active {
    background: var(--gl-accent);
    box-shadow: 0 0 8px var(--gl-glow);
  }
}

/* Main content */
.page-main {
  min-width: 0;
}

main {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 1rem 2rem;
}

@media (min-width: 820px) {
  main { padding: 0 1.5rem 3rem; }
}

@media (min-width: 1440px) {
  main { padding: 0 2rem 3.5rem; }
}

section {
  padding: var(--section-gap) 0;
  scroll-margin-top: 4rem;
}

.section-inner {
  width: 100%;
}

/* Hero */
.hero {
  padding-top: clamp(1.5rem, 4vw, 2.5rem);
}

.hero-grid {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
}

@media (min-width: 820px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 3vw, 2.5rem);
  }
}

@media (min-width: 1440px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gl-accent);
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 1.25rem;
  height: 2px;
  background: var(--gl-accent);
}

h1 {
  font-family: var(--gl-font-display);
  font-weight: var(--gl-weight-display);
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  line-height: 1.05;
  letter-spacing: var(--gl-tracking-display);
  text-transform: uppercase;
  color: var(--gl-ink);
}

h2 {
  font-family: var(--gl-font-display);
  font-weight: var(--gl-weight-display);
  font-size: clamp(1.375rem, 3vw, 2rem);
  line-height: 1.1;
  letter-spacing: var(--gl-tracking-display);
  text-transform: uppercase;
  margin-top: 0.5rem;
}

h3 {
  font-family: var(--gl-font-display);
  font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.lead,
.section-heading p,
.section-intro p,
p {
  font-size: clamp(0.875rem, 1.6vw, 1rem);
  color: var(--gl-ink-muted);
}

@media (max-width: 819px) {
  .lead, .section-heading p, .section-intro p, p { font-size: max(0.875rem, 14px); }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 0.25rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6875rem 1.125rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--gl-radius);
  border: var(--gl-border) solid transparent;
  transition: background var(--gl-duration-fast), border-color var(--gl-duration-fast), color var(--gl-duration-fast);
  min-height: 2.75rem;
}

.button-primary {
  background: var(--gl-accent);
  color: var(--gl-accent-ink);
}

.button-primary:hover {
  filter: brightness(1.06);
  color: var(--gl-accent-ink);
}

.button-secondary {
  background: transparent;
  border-color: var(--gl-line);
  color: var(--gl-ink);
}

.button-secondary:hover {
  border-color: var(--gl-accent);
  color: var(--gl-accent);
}

.geo-line {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gl-ink-subtle);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-visual {
  width: 100%;
  height: clamp(220px, 24vw, 400px);
  max-height: 52vh;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--gl-radius-lg);
  background: var(--gl-surface);
  border: var(--gl-border) solid var(--gl-line);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 12px 40px rgba(0, 0, 0, 0.25);
}

@media (max-width: 819px) {
  .hero-visual { max-height: 38vh; }
}

@media (min-width: 820px) and (max-width: 1023px) {
  .hero-visual { max-height: 44vh; }
}

@media (min-width: 1024px) {
  .hero-visual { max-height: min(52vh, 55vh); }
}

/* Calculator */
.calculator-grid {
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--gl-surface);
  border-radius: var(--gl-radius-lg);
  border: var(--gl-border) solid var(--gl-line);
}

@media (min-width: 820px) {
  .calculator-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2rem;
  }
}

.fact-disclaimer {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: var(--gl-ink-subtle);
  font-style: italic;
}

/* Section headings */
.section-heading,
.section-intro {
  max-width: 42rem;
  margin-bottom: 1.75rem;
}

.section-heading p,
.section-intro p {
  margin-top: 0.75rem;
}

/* Cards */
.cards-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 390px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 820px) {
  .cards-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.125rem;
  }
}

@media (min-width: 1440px) {
  .cards-grid { gap: 1.25rem; }
}

.card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.125rem;
  background: var(--gl-surface);
  border: var(--gl-border) solid var(--gl-line);
  border-radius: var(--gl-radius-lg);
  transition: border-color var(--gl-duration), transform var(--gl-duration);
}

.card:hover {
  border-color: rgba(232, 168, 56, 0.4);
  transform: translateY(-2px);
}

.card-icon {
  width: 2rem;
  height: 2rem;
  border-radius: var(--gl-radius);
  background: rgba(232, 168, 56, 0.15);
  position: relative;
}

.card-icon::after {
  content: "";
  position: absolute;
  inset: 0.375rem;
  background: var(--gl-accent);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.card-icon[data-icon="map-pin"]::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5a2.5 2.5 0 110-5 2.5 2.5 0 010 5z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5a2.5 2.5 0 110-5 2.5 2.5 0 010 5z'/%3E%3C/svg%3E");
}

.card-icon[data-icon="layers"]::after,
.step-icon[data-icon="layers"]::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2L2 7l10 5 10-5-10-5zm0 8.82L4.24 8 12 4.18 19.76 8 12 10.82zm-8 3.18l8 4 8-4v2.36l-8 4-8-4v-2.36z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2L2 7l10 5 10-5-10-5zm0 8.82L4.24 8 12 4.18 19.76 8 12 10.82zm-8 3.18l8 4 8-4v2.36l-8 4-8-4v-2.36z'/%3E%3C/svg%3E");
}

.card-icon[data-icon="delivery"]::after,
.step-icon[data-icon="delivery"]::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M3 6h11v9H3V6zm12 2h2l3 4v3h-2a2 2 0 11-4 0h-4a2 2 0 11-4 0H3v-2h12V8z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M3 6h11v9H3V6zm12 2h2l3 4v3h-2a2 2 0 11-4 0h-4a2 2 0 11-4 0H3v-2h12V8z'/%3E%3C/svg%3E");
}

.card-icon[data-icon="shield"]::after,
.step-icon[data-icon="shield"]::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2l8 4v6c0 5-3.5 9.5-8 10-4.5-.5-8-5-8-10V6l8-4z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2l8 4v6c0 5-3.5 9.5-8 10-4.5-.5-8-5-8-10V6l8-4z'/%3E%3C/svg%3E");
}

.card-icon[data-icon="tent"]::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M4 20h16l-8-16-8 16zm8-10l4 8H8l4-8z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M4 20h16l-8-16-8 16zm8-10l4 8H8l4-8z'/%3E%3C/svg%3E");
}

.card-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gl-accent);
}

.card p { font-size: 0.875rem; flex: 1; }

.card small {
  font-size: 0.75rem;
  color: var(--gl-ink-subtle);
}

/* Timeline process */
.timeline-section .section-inner {
  display: grid;
  gap: 2rem;
}

@media (min-width: 820px) {
  .timeline-section .section-inner {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
  }
}

.timeline-list {
  list-style: none;
  counter-reset: step;
  position: relative;
  padding-left: 0;
}

.timeline-list::before {
  content: "";
  position: absolute;
  left: 1.125rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(180deg, var(--gl-accent), var(--gl-line));
}

@media (min-width: 820px) {
  .timeline-list::before { left: 1.375rem; }
}

.timeline-list li {
  display: grid;
  grid-template-columns: 2.25rem 2rem 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 1rem 0 1rem 0.25rem;
  position: relative;
  counter-increment: step;
}

.timeline-list li::before {
  content: counter(step, decimal-leading-zero);
  grid-column: 1;
  font-family: var(--gl-font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gl-accent);
  line-height: 2rem;
  text-align: center;
}

.step-icon {
  grid-column: 2;
  width: 2rem;
  height: 2rem;
  border-radius: var(--gl-radius);
  background: var(--gl-surface-raised);
  border: var(--gl-border) solid var(--gl-line);
  position: relative;
  flex-shrink: 0;
}

.step-icon::after {
  content: "";
  position: absolute;
  inset: 0.375rem;
  background: var(--gl-accent);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.step-icon[data-icon="ruler"]::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M2 8h2v8H2V8zm4-2h2v12H6V6zm4 1h2v10h-2V7zm4-2h2v14h-2V5zm4 3h2v8h-2V8z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M2 8h2v8H2V8zm4-2h2v12H6V6zm4 1h2v10h-2V7zm4-2h2v14h-2V5zm4 3h2v8h-2V8z'/%3E%3C/svg%3E");
}

.step-icon[data-icon="forest"]::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2L8 8H4l4 6-2 8h12l-2-8 4-6h-4l-4-6z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2L8 8H4l4 6-2 8h12l-2-8 4-6h-4l-4-6z'/%3E%3C/svg%3E");
}

.step-icon[data-icon="map-pin"]::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7z'/%3E%3C/svg%3E");
}

.step-body {
  grid-column: 3;
  min-width: 0;
}

.step-body p {
  margin-top: 0.375rem;
  font-size: 0.875rem;
}

/* Guide chapters */
.guide-body {
  display: grid;
  gap: 1rem;
}

@media (min-width: 820px) {
  .guide-body {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.125rem;
  }
}

@media (min-width: 1440px) {
  .guide-body { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
}

.chapter {
  padding: 1.25rem;
  background: var(--gl-surface);
  border: var(--gl-border) solid var(--gl-line);
  border-radius: var(--gl-radius-lg);
  border-left: 3px solid var(--gl-accent);
}

.chapter p { margin: 0.5rem 0; font-size: 0.875rem; }

.chapter ul {
  margin-top: 0.625rem;
  padding-left: 1.125rem;
  font-size: 0.875rem;
  color: var(--gl-ink-muted);
}

.chapter li { margin-bottom: 0.375rem; }

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-list details {
  background: var(--gl-surface);
  border: var(--gl-border) solid var(--gl-line);
  border-radius: var(--gl-radius);
  overflow: hidden;
}

.faq-list summary {
  padding: 0.875rem 1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 2.75rem;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  font-size: 1.125rem;
  color: var(--gl-accent);
  flex-shrink: 0;
}

.faq-list details[open] summary::after { content: "−"; }

.faq-list details p {
  padding: 0 1rem 1rem;
  font-size: 0.875rem;
}

/* Geography */
.geo-chips {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 390px) {
  .geo-chips { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 820px) {
  .geo-chips { grid-template-columns: repeat(3, 1fr); }
}

.geo-chip {
  padding: 1rem;
  background: var(--gl-surface);
  border: var(--gl-border) solid var(--gl-line);
  border-radius: var(--gl-radius-lg);
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.geo-chip strong {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gl-accent);
}

.geo-chip span {
  font-size: 0.875rem;
  color: var(--gl-ink-muted);
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--gl-bg-alt);
  border-radius: var(--gl-radius-lg);
  border: var(--gl-border) solid var(--gl-line);
}

@media (min-width: 820px) {
  .contact-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 2rem;
  }
}

/* Footer */
.site-footer {
  margin-top: 1rem;
  padding: 2rem 0 1.5rem;
  background: var(--gl-bg-alt);
  border-top: var(--gl-border) solid var(--gl-line);
  border-radius: var(--gl-radius-lg) var(--gl-radius-lg) 0 0;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 390px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 820px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
}

.footer-brand {
  font-family: var(--gl-font-display);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-coverage {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--gl-ink-muted);
}

.site-footer h3 {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gl-ink);
  margin-bottom: 0.625rem;
}

.site-footer a,
.site-footer p {
  display: block;
  font-size: 0.875rem;
  color: var(--gl-ink-muted);
  margin-bottom: 0.375rem;
}

.site-footer a:hover { color: var(--gl-accent); }

/* Reveal on scroll — CSS only, >=12s not needed for one-shot */
@media (prefers-reduced-motion: no-preference) {
  .card, .chapter, .geo-chip {
    animation: surface-rise 12s var(--gl-ease) both;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
  }
}

@keyframes surface-rise {
  from { opacity: 0.85; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@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;
  }
  .card:hover { transform: none; }
}

body .fact-disclaimer,footer .footer-coverage{font-size:max(14px,.875rem)!important;line-height:1.5!important;color:inherit!important;opacity:1!important}.contact-form,.contact-form fieldset,.contact-form input,.contact-form textarea,.contact-form select{min-width:0;max-width:100%;box-sizing:border-box}.contact-form button{max-width:100%;white-space:normal;overflow-wrap:anywhere}
.card,.geo-chip{min-width:0;overflow-wrap:anywhere}@media(max-width:600px){.cards-grid,.geo-chips,.footer-grid{grid-template-columns:minmax(0,1fr)}}

.calculator-form{display:grid;gap:1rem;min-width:0;font-size:14px;line-height:1.5}
.calculator-form label{display:grid;gap:.45rem;min-width:0;font-size:14px;color:inherit}
.calculator-form input,.calculator-form select,.calculator-form textarea{display:block;width:100%;min-width:0;max-width:100%;min-height:44px;box-sizing:border-box;padding:.65rem .8rem;font:inherit;line-height:1.4;color:inherit;background:var(--gl-surface,var(--sand-raised,transparent));border:1px solid var(--gl-line,currentColor);border-radius:var(--gl-radius,6px)}
.calculator-form input::placeholder,.calculator-form textarea::placeholder{color:inherit;opacity:.8}
.calculator-form select option{color:var(--gl-ink,#162033);background:var(--gl-bg,#fff)}
