/* ==========================================================================
   TripLog landing site — single stylesheet, no frameworks, no JS required.
   Light body, dark hero, map motif. System font stack.
   ========================================================================== */

:root {
  --night: #0b1426;
  --night-2: #101d36;
  --night-3: #182946;
  --night-line: #24395e;
  --on-night: #e9effb;
  --on-night-muted: #a3b3cd;

  --bg: #f6f8fc;
  --surface: #ffffff;
  --ink: #1b2436;
  --muted: #525f74;
  --line: #e2e8f1;

  --amber: #f6a623;
  --amber-deep: #b46a00;
  --teal: #2fd4bd;
  --teal-deep: #0e7c6f;
  --teal-ink: #0a5c53;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(16, 28, 52, 0.06), 0 10px 28px -14px rgba(16, 28, 52, 0.22);
  --shadow-lift: 0 2px 4px rgba(16, 28, 52, 0.07), 0 18px 40px -16px rgba(16, 28, 52, 0.3);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

/* --- Reset / base ------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

img, svg { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  line-height: 1.18;
  margin: 0 0 0.6em;
  font-weight: 750;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.2rem, 1.2rem + 4.2vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 1.15rem + 1.9vw, 2.3rem); }
h3 { font-size: 1.22rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--teal-deep); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--teal-ink); }

ul, ol { padding-left: 1.3em; }

code {
  font-family: var(--mono);
  font-size: 0.86em;
  background: #edf1f8;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 0.1em 0.4em;
  white-space: nowrap;
}

.dark code, .page-hero code {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--night-line);
  color: var(--on-night);
}

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

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--amber);
  color: var(--night);
  font-weight: 700;
  padding: 0.6rem 1rem;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

/* --- Buttons ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.72rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 120ms ease, box-shadow 120ms ease, background-color 120ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--amber);
  color: #231703;
  box-shadow: 0 8px 22px -10px rgba(246, 166, 35, 0.8);
}
.btn-primary:hover { background: #ffb43a; color: #231703; }

.btn-ghost {
  border-color: var(--night-line);
  color: var(--on-night);
}
.btn-ghost:hover { color: #ffffff; border-color: var(--on-night-muted); background: rgba(255, 255, 255, 0.05); }

.btn-quiet {
  border-color: var(--line);
  color: var(--ink);
  background: var(--surface);
}
.btn-quiet:hover { border-color: var(--muted); color: var(--ink); }

.btn-lg { padding: 0.9rem 1.7rem; font-size: 1.08rem; }

/* --- Header / nav (CSS-only mobile toggle via checkbox) ------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 20, 38, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(36, 57, 94, 0.7);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 4.1rem;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--on-night);
  text-decoration: none;
  margin-right: auto;
}
.brand:hover { color: #ffffff; }
.brand svg { width: 28px; height: 28px; }
.brand .brand-log { color: var(--amber); }

.site-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin: 0;
  padding: 0;
}

.site-nav a:not(.btn) {
  color: var(--on-night-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.99rem;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:not(.btn):hover { color: var(--on-night); }
.site-nav a[aria-current="page"] {
  color: var(--on-night);
  border-bottom-color: var(--amber);
}

.site-nav .btn { padding: 0.5rem 1.15rem; font-size: 0.95rem; }

/* language switcher (EN/ES/IS) */
.nav-lang {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.nav-lang a,
.nav-lang .current {
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--night-line);
  border-radius: var(--radius-sm);
}
.nav-lang a {
  color: var(--on-night-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--night-line);
}
.nav-lang a:hover {
  color: var(--on-night);
  border-color: var(--amber);
}
.nav-lang .current {
  color: var(--on-night);
  border-color: var(--amber);
  background: rgba(246, 166, 35, 0.12);
}

/* hidden checkbox drives the mobile menu — keyboard focusable, no JS needed */
.nav-toggle {
  position: absolute;
  top: 1.2rem;
  right: 3.4rem;
  width: 1px; height: 1px;
  opacity: 0;
}

.nav-toggle-btn {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--night-line);
  cursor: pointer;
}

.nav-toggle-btn .bars,
.nav-toggle-btn .bars::before,
.nav-toggle-btn .bars::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--on-night);
  border-radius: 2px;
  position: relative;
  transition: transform 150ms ease, opacity 150ms ease;
}
.nav-toggle-btn .bars::before { position: absolute; transform: translateY(-6px); }
.nav-toggle-btn .bars::after { position: absolute; transform: translateY(6px); }

.nav-toggle:focus-visible + .nav-toggle-btn {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

@media (max-width: 880px) {
  .nav-toggle-btn { display: flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--night-2);
    border-bottom: 1px solid var(--night-line);
    box-shadow: var(--shadow-lift);
    padding: 0.6rem 0 1.1rem;
  }
  .nav-toggle:checked ~ .site-nav { display: block; }

  .nav-toggle:checked + .nav-toggle-btn .bars { background: transparent; }
  .nav-toggle:checked + .nav-toggle-btn .bars::before { transform: rotate(45deg); }
  .nav-toggle:checked + .nav-toggle-btn .bars::after { transform: rotate(-45deg); }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: min(1120px, 100% - 2.5rem);
    margin-inline: auto;
  }
  .site-nav a:not(.btn) {
    display: block;
    padding: 0.8rem 0.2rem;
    border-bottom: 1px solid rgba(36, 57, 94, 0.6);
    font-size: 1.05rem;
  }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--amber); }
  .nav-lang { padding-top: 0.6rem; }
  .nav-lang a { display: inline-block; }
  .site-nav .nav-cta { padding-top: 1rem; }
  .site-nav .btn { width: 100%; justify-content: center; }
}

/* --- Dark hero (index) --------------------------------------------------- */

.dark {
  background-color: var(--night);
  color: var(--on-night);
}

.map-motif {
  background-image:
    radial-gradient(1100px 480px at 78% -10%, rgba(47, 212, 189, 0.13), transparent 62%),
    radial-gradient(900px 460px at 12% 112%, rgba(246, 166, 35, 0.1), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%2324395e' stroke-opacity='0.55'%3E%3Cpath d='M0 55h220M0 110h220M0 165h220M55 0v220M110 0v220M165 0v220'/%3E%3Cpath stroke-opacity='0.35' d='M20 200c40-30 30-80 70-95s60-55 110-60' stroke-dasharray='1 7' stroke-width='2' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E");
}

.hero {
  padding: clamp(3.4rem, 7vw, 6.2rem) 0 clamp(3.2rem, 6vw, 5.6rem);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: center;
}

.hero h1 { color: #ffffff; margin-bottom: 0.45em; }
.hero h1 .accent {
  color: var(--amber);
  white-space: nowrap;
}

.hero .lede {
  font-size: clamp(1.08rem, 0.95rem + 0.6vw, 1.26rem);
  color: var(--on-night-muted);
  max-width: 34em;
  margin-bottom: 1.8em;
}
.hero .lede strong { color: var(--on-night); font-weight: 650; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}

.section .eyebrow { color: var(--teal-deep); }
.section .eyebrow::before { background: var(--teal-deep); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

.hero-note {
  margin-top: 1.3rem;
  font-size: 0.92rem;
  color: var(--on-night-muted);
}

.hero-art { position: relative; }
.hero-art svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 50px rgba(2, 8, 20, 0.55));
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 480px; margin-inline: auto; }
}

/* ticker row under hero */
.hero-facts {
  border-top: 1px solid rgba(36, 57, 94, 0.7);
  padding: 1.15rem 0;
}
.hero-facts ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2.4rem;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--on-night-muted);
  font-weight: 600;
}
.hero-facts li { display: inline-flex; align-items: center; gap: 0.55rem; }
.hero-facts svg { width: 17px; height: 17px; flex: none; color: var(--teal); }

/* --- Page hero (subpages) ------------------------------------------------ */

.page-hero {
  background-color: var(--night);
  color: var(--on-night);
  padding: clamp(2.6rem, 5vw, 4.2rem) 0 clamp(2.4rem, 4.5vw, 3.8rem);
}

.page-hero h1 { color: #ffffff; max-width: 18em; }
.page-hero .lede {
  color: var(--on-night-muted);
  font-size: clamp(1.05rem, 0.95rem + 0.45vw, 1.2rem);
  max-width: 38em;
  margin-bottom: 0;
}

.breadcrumb { margin-bottom: 1.4rem; font-size: 0.92rem; }
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
}
.breadcrumb li { display: inline-flex; align-items: center; gap: 0.6rem; }
.breadcrumb li + li::before { content: "/"; color: var(--night-line); }
.breadcrumb a { color: var(--on-night-muted); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { color: var(--on-night); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--on-night); font-weight: 600; }

/* --- Sections ------------------------------------------------------------ */

.section { padding: clamp(3rem, 6vw, 5.2rem) 0; }
.section-tint { background: #eef2f9; }

.section-head {
  max-width: 44em;
  margin-bottom: clamp(1.8rem, 4vw, 3rem);
}
.section-head p { color: var(--muted); font-size: 1.1rem; }

.center { text-align: center; }
.center .section-head { margin-inline: auto; }
.center .eyebrow { justify-content: center; }

/* --- Feature cards -------------------------------------------------------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.4rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem 1.6rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.card h3 { margin-bottom: 0.15rem; }
.card p { color: var(--muted); font-size: 0.99rem; }

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
  background: linear-gradient(140deg, #e6fbf6, #d2f5ec);
  border: 1px solid #bdeadf;
  color: var(--teal-deep);
}
.card-icon.amber {
  background: linear-gradient(140deg, #fff4dd, #ffe8bd);
  border-color: #f3ddae;
  color: var(--amber-deep);
}
.card-icon.navy {
  background: linear-gradient(140deg, #e8eefb, #d8e2f6);
  border-color: #c8d6ef;
  color: #2c4a86;
}
.card-icon svg { width: 26px; height: 26px; }

.card .card-more {
  margin-top: auto;
  padding-top: 0.7rem;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
}
.card .card-more:hover { text-decoration: underline; }

/* --- Alternating feature rows (features page) ----------------------------- */

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding: clamp(2.4rem, 5vw, 4rem) 0;
}
.feature-row + .feature-row { border-top: 1px solid var(--line); }
.feature-row:nth-child(even) .feature-art { order: -1; }

.feature-row h2 { font-size: clamp(1.45rem, 1.1rem + 1.4vw, 1.95rem); }
.feature-row .kicker {
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 0.55rem;
}
.feature-row p { color: var(--muted); }

.feature-row ul.checks {
  list-style: none;
  padding: 0;
  margin: 1.1rem 0 0;
  display: grid;
  gap: 0.55rem;
}
.feature-row ul.checks li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.98rem;
}
.feature-row ul.checks svg {
  width: 19px; height: 19px;
  flex: none;
  margin-top: 0.22em;
  color: var(--teal-deep);
}

.feature-art {
  background: var(--night);
  border-radius: var(--radius);
  padding: clamp(1.2rem, 2.5vw, 2rem);
  box-shadow: var(--shadow-lift);
}
.feature-art svg { width: 100%; height: auto; }

@media (max-width: 820px) {
  .feature-row { grid-template-columns: 1fr; }
  .feature-row:nth-child(even) .feature-art { order: 0; }
  .feature-art { max-width: 520px; }
}

/* full-width pipeline diagram (how-it-works) */
.flow-art { margin-top: clamp(2rem, 4.5vw, 3.2rem); max-width: none; }

.section-more { margin-top: 2rem; }

/* --- Steps (how it works) -------------------------------------------------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.4rem;
  counter-reset: step;
}

.step {
  counter-increment: step;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.7rem 1.7rem 1.6rem;
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1fr);
  gap: 1.3rem;
}

.step::before {
  content: counter(step);
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.35rem;
  color: #231703;
  background: var(--amber);
  box-shadow: 0 8px 18px -8px rgba(246, 166, 35, 0.7);
}

.step h3 { margin-bottom: 0.3rem; }
.step p { color: var(--muted); font-size: 0.99rem; }
.step .substep { margin-top: 0.6rem; font-size: 0.93rem; }

@media (max-width: 560px) {
  .step { grid-template-columns: 1fr; }
  .step::before { width: 2.7rem; height: 2.7rem; font-size: 1.1rem; }
}

.steps-compact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
.steps-compact li {
  counter-increment: step;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.6rem 1.5rem;
}
.steps-compact li::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--amber-deep);
  margin-bottom: 0.55rem;
}
.steps-compact h3 { font-size: 1.08rem; margin-bottom: 0.3rem; }
.steps-compact p { color: var(--muted); font-size: 0.95rem; }

/* --- Platforms strip -------------------------------------------------------- */

.platforms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.4rem;
}
.platform {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 1.6rem 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.platform svg { width: 30px; height: 30px; flex: none; color: var(--teal-deep); margin-top: 0.15rem; }
.platform h3 { font-size: 1.08rem; margin-bottom: 0.25rem; }
.platform p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* --- FAQ -------------------------------------------------------------------- */

.faq-list { display: grid; gap: 0.9rem; max-width: 50rem; }

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  font-weight: 700;
  font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--teal-ink); }

.faq-item summary::after {
  content: "+";
  flex: none;
  width: 1.7rem;
  height: 1.7rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eef2f9;
  color: var(--teal-deep);
  font-weight: 800;
  font-size: 1.15rem;
  transition: transform 150ms ease;
}
.faq-item[open] summary::after { content: "–"; transform: rotate(180deg); }

.faq-item .faq-answer {
  padding: 0 1.4rem 1.3rem;
  color: var(--muted);
  border-top: 1px dashed var(--line);
}
.faq-item .faq-answer p:first-child { margin-top: 1rem; }

/* --- Privacy page ------------------------------------------------------------ */

.prose { max-width: 46rem; }
.prose h2 {
  font-size: 1.45rem;
  margin-top: 2.2em;
  padding-top: 1.4em;
  border-top: 1px solid var(--line);
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose ul li { margin-bottom: 0.45em; }
.prose .updated {
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
}

.pledge {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal-deep);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 1.2rem 1.4rem;
  margin: 1.6rem 0;
}
.pledge p { margin: 0; font-weight: 600; }

/* --- Dark CTA band ------------------------------------------------------------ */

.cta-band { text-align: center; }
.cta-band .container { max-width: 760px; }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--on-night-muted); font-size: 1.12rem; }
.cta-band .hero-actions { justify-content: center; margin-top: 1.8rem; }

/* --- Quote / privacy band ------------------------------------------------------ */

.privacy-band .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2.5rem;
  align-items: center;
}
.privacy-band h2 { color: #fff; }
.privacy-band p { color: var(--on-night-muted); max-width: 36em; }
/* The band is dark, so use the bright teal (not the light-section --teal-deep)
   for AA contrast on the navy background. */
.privacy-band .eyebrow { color: var(--teal); }
.privacy-band .eyebrow::before { background: var(--teal); }
@media (max-width: 720px) {
  .privacy-band .container { grid-template-columns: 1fr; }
}

/* --- Footer --------------------------------------------------------------------- */

.site-footer {
  background: var(--night);
  color: var(--on-night-muted);
  padding: 3.2rem 0 2.2rem;
  font-size: 0.96rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid rgba(36, 57, 94, 0.7);
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
}

.footer-brand .brand { margin-bottom: 0.8rem; }
.footer-brand p { max-width: 30em; }

.site-footer h2 {
  font-size: 0.85rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--on-night);
  margin-bottom: 0.9rem;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.site-footer a { color: var(--on-night-muted); text-decoration: none; }
.site-footer a:hover { color: var(--on-night); text-decoration: underline; }

.footer-meta {
  padding-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  justify-content: space-between;
  font-size: 0.88rem;
}
.footer-meta p { margin: 0; }

/* --- Misc ------------------------------------------------------------------------- */

.tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.18em 0.7em;
  border-radius: 999px;
  background: rgba(47, 212, 189, 0.14);
  border: 1px solid rgba(47, 212, 189, 0.4);
  color: var(--teal);
}

.section .tag {
  background: #e1f7f1;
  border-color: #b9e9dc;
  color: var(--teal-ink);
}
