/*
Theme Name: AirportNotes
Theme URI: https://airportnotes.info
Author: AirportNotes
Description: The AirportNotes 2.0 website theme. Colors, type and components follow the app's design system (lib/src/design) with automatic light and dark appearance.
Version: 2.0.0
Requires at least: 6.4
Requires PHP: 8.1
License: Proprietary
Text Domain: airportnotes
*/

/* ---------------------------------------------------------------------------
 * Tokens — mirror lib/src/design/app_colors.dart
 * ------------------------------------------------------------------------ */

:root {
  --navy: #0b2647;
  --blue: #1789b5;
  --blue-strong: #127099;
  --sky: #e5f3f8;
  --canvas: #f9fbfc;
  --card: #ffffff;
  --ink: #0b2647;
  --ink-body: #26344a;
  --ink-muted: #667181;
  --line: #dde3e7;
  --field-line: #cad1d6;
  --warning: #c77913;
  --chip-bg: transparent;
  --hero-glow: rgba(23, 137, 181, 0.14);
  --shadow: 0 1px 2px rgba(11, 38, 71, 0.04), 0 12px 32px rgba(11, 38, 71, 0.06);

  --radius-card: 22px;
  --radius-field: 10px;
  --radius-button: 4px;
  --radius-chip: 6px;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --wrap: 1120px;
  --gutter: 20px;

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #091722;
    --card: #112536;
    --ink: #eef4f8;
    --ink-body: #c9d5de;
    --ink-muted: #8e9cab;
    --line: rgba(255, 255, 255, 0.08);
    --field-line: rgba(255, 255, 255, 0.12);
    --sky: rgba(23, 137, 181, 0.16);
    --blue: #3aa6d0;
    --blue-strong: #1789b5;
    --hero-glow: rgba(58, 166, 208, 0.16);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px rgba(0, 0, 0, 0.25);
  }
}

/* ---------------------------------------------------------------------------
 * Base
 * ------------------------------------------------------------------------ */

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

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

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink-body);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-strong); }

h1, h2, h3, h4 {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.1875rem; letter-spacing: -0.005em; }

p { margin: 0 0 1em; }

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

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  width: auto; height: auto; clip-path: none;
  padding: 10px 16px; background: var(--card); border-radius: var(--radius-field);
}

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  color: var(--ink-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead { font-size: 1.1875rem; color: var(--ink-muted); max-width: 36em; }

/* ---------------------------------------------------------------------------
 * Buttons & chips
 * ------------------------------------------------------------------------ */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-button);
  background: linear-gradient(90deg, #1b86b3, #2c97c9 55%, #2489b3);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: filter 0.15s ease, transform 0.15s ease;
}
.button:hover { color: #fff; filter: brightness(1.06); }
.button:active { transform: translateY(1px); }

.button--ghost {
  background: transparent;
  color: var(--blue);
  border-color: var(--field-line);
  border-radius: 999px;
}
.button--ghost:hover { color: var(--blue-strong); border-color: var(--blue); filter: none; }

.button--small { min-height: 40px; padding: 0 16px; font-size: 0.9375rem; }

.store-buttons { display: flex; flex-wrap: wrap; gap: 12px; }

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 8px 20px 8px 16px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  line-height: 1.15;
  transition: transform 0.15s ease, background 0.15s ease;
}
.store-button:hover { color: #fff; background: #12335c; transform: translateY(-1px); }
.store-button svg { width: 24px; height: 24px; flex: none; fill: currentColor; }
.store-button small { display: block; font-size: 0.6875rem; opacity: 0.8; letter-spacing: 0.02em; }
.store-button strong { display: block; font-size: 1.0625rem; font-weight: 600; }

@media (prefers-color-scheme: dark) {
  .store-button { background: #fff; color: var(--navy); }
  .store-button:hover { background: #e5f3f8; color: var(--navy); }
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border: 1.5px solid var(--blue);
  border-radius: var(--radius-chip);
  color: var(--blue);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.chip--soft { border-color: transparent; background: var(--sky); color: var(--blue); letter-spacing: 0.01em; }

/* ---------------------------------------------------------------------------
 * Header
 * ------------------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--canvas) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand svg { width: 46px; height: auto; color: var(--blue); }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 26px; margin: 0; padding: 0; list-style: none; }
.site-nav a:not(.button) { color: var(--ink-body); font-size: 0.9688rem; font-weight: 500; text-decoration: none; }
.site-nav a:not(.button):hover,
.site-nav .current-menu-item > a { color: var(--blue); }

.menu-toggle { display: none; }

@media (max-width: 820px) {
  .site-nav ul { display: none; }
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin-right: -8px;
    border: 0; background: none; color: var(--ink); cursor: pointer;
  }
  .menu-toggle svg { width: 24px; height: 24px; }
  .site-nav.is-open ul {
    position: absolute; top: 72px; left: 0; right: 0;
    display: flex; flex-direction: column; gap: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--canvas);
    border-bottom: 1px solid var(--line);
  }
  .site-nav.is-open li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.0625rem; }
  .site-nav .button { display: none; }
}

/* ---------------------------------------------------------------------------
 * Hero
 * ------------------------------------------------------------------------ */

.hero {
  position: relative;
  padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 112px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto 35%;
  height: 120%;
  background: radial-gradient(closest-side, var(--hero-glow), transparent 70%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
}

.hero h1 { max-width: 12ch; margin-bottom: 20px; }
.hero .lead { margin-bottom: 32px; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 6px 14px 6px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink-body);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}
.hero__badge:hover { color: var(--ink); border-color: var(--blue); }
.hero__badge .chip { min-height: 24px; font-size: 0.75rem; }

.hero__meta { margin-top: 18px; color: var(--ink-muted); font-size: 0.875rem; }

.phone {
  position: relative;
  width: min(330px, 100%);
  margin-inline: auto;
  padding: 12px;
  border-radius: 54px;
  background: #0d1b2a;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) inset, 0 40px 80px -20px rgba(11, 38, 71, 0.35), 0 18px 36px -18px rgba(11, 38, 71, 0.3);
}
.phone img { display: block; width: 100%; border-radius: 42px; }

.hero__visual { position: relative; }

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow);
  font-size: 0.875rem;
  line-height: 1.3;
  color: var(--ink-body);
}
.float-card strong { display: block; color: var(--ink); font-size: 0.9375rem; }
.float-card__icon {
  display: grid; place-items: center;
  width: 38px; height: 38px; flex: none;
  border-radius: 50%;
  background: var(--sky);
  color: var(--blue);
}
.float-card__icon svg { width: 20px; height: 20px; }
.float-card--top { top: 16%; left: -14%; }
.float-card--bottom { bottom: 12%; right: -10%; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 14ch; }
  .float-card--top { left: 0; }
  .float-card--bottom { right: 0; }
}

@media (max-width: 480px) {
  .float-card { display: none; }
}

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

.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tight { padding-top: 0; }
.section__head { max-width: 640px; margin-bottom: 48px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .lead { margin-inline: auto; }

.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

.highlights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--line);
}
.highlight { padding: 22px 16px; text-align: center; }
.highlight + .highlight { border-left: 1px solid var(--line); }
.highlight span {
  display: block;
  color: var(--ink-muted);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.highlight strong { display: block; margin-top: 6px; color: var(--ink); font-size: 1.125rem; font-weight: 600; }

@media (max-width: 720px) {
  .highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .highlight:nth-child(3) { border-left: 0; }
  .highlight:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--card);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.feature { padding: 28px; }
.feature h3 { margin: 18px 0 10px; }
.feature p { margin: 0; color: var(--ink-muted); font-size: 0.9688rem; }

.icon-badge {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--sky);
  color: var(--blue);
}
.icon-badge svg { width: 24px; height: 24px; }

@media (max-width: 960px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .feature-grid { grid-template-columns: 1fr; } }

/* Split section: copy + briefing note mock */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.check-list { margin: 24px 0 0; padding: 0; list-style: none; }
.check-list li {
  position: relative;
  padding: 10px 0 10px 34px;
  border-bottom: 1px solid var(--line);
}
.check-list li:last-child { border-bottom: 0; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5' fill='none' stroke='%231789b5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}

.note-mock { padding: 24px; box-shadow: var(--shadow); }
.note-mock__head { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.note-mock__head h3 { margin: 0 0 6px; font-size: 1.25rem; }
.note-mock__head .chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--ink-muted); font-size: 0.875rem; }
.note-mock__avatar {
  display: grid; place-items: center;
  width: 56px; height: 56px; flex: none;
  border-radius: 50%;
  background: linear-gradient(160deg, #1f95c4, #0f6f99);
  color: #fff;
}
.note-mock__avatar svg { width: 28px; height: 28px; }
.note-mock__section { padding-top: 18px; }
.note-mock__section h4 {
  margin: 0 0 10px;
  color: var(--ink-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.note-mock dl { display: grid; grid-template-columns: 96px 1fr; gap: 8px 14px; margin: 0; font-size: 0.9375rem; }
.note-mock dt { color: var(--ink-muted); }
.note-mock dd { margin: 0; color: var(--ink); font-weight: 500; }
.note-mock__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line);
  color: var(--ink-muted); font-size: 0.875rem;
}
.note-mock__foot .helpful { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 600; }
.note-mock__foot svg { width: 18px; height: 18px; }

/* Pro */

.pro {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 5vw, 56px);
  border-radius: 28px;
  background: linear-gradient(140deg, #0b2647 0%, #0f3a66 60%, #145b86 100%);
  color: #d5e3ee;
}
.pro::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 60px rgba(255, 255, 255, 0.025), 0 0 0 120px rgba(255, 255, 255, 0.02);
  pointer-events: none;
}
.pro h2 { color: #fff; }
.pro .eyebrow { color: #8fc6e0; }
.pro__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.pro__list { margin: 0; padding: 0; list-style: none; }
.pro__list li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 500;
}
.pro__list li:last-child { border-bottom: 0; }
.pro__list svg { width: 22px; height: 22px; flex: none; color: #6cc3e6; margin-top: 2px; }
.pro__list small { display: block; color: #a9bfd0; font-weight: 400; font-size: 0.875rem; }
.pro__note { margin-top: 20px; color: #a9bfd0; font-size: 0.875rem; }
@media (max-width: 820px) { .pro__grid { grid-template-columns: 1fr; } }

/* News cards */

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr; } }

.post-card { display: flex; flex-direction: column; padding: 26px; text-decoration: none; transition: border-color 0.15s ease, transform 0.15s ease; }
.post-card:hover { border-color: var(--blue); transform: translateY(-2px); }
.post-card time { color: var(--ink-muted); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }
.post-card h3 { margin: 10px 0 10px; color: var(--ink); }
.post-card p { margin: 0 0 16px; color: var(--ink-muted); font-size: 0.9688rem; }
.post-card .more { margin-top: auto; color: var(--blue); font-weight: 600; font-size: 0.9375rem; }

/* CTA */

.cta { text-align: center; }
.cta .store-buttons { justify-content: center; margin-top: 28px; }
.cta__icon { width: 88px; height: 88px; margin: 0 auto 24px; border-radius: 22px; box-shadow: var(--shadow); }

.disclaimer {
  display: flex; gap: 12px; align-items: flex-start;
  max-width: 720px; margin: 48px auto 0; padding: 16px 18px;
  border: 1px solid var(--line); border-radius: 14px;
  color: var(--ink-muted); font-size: 0.875rem; text-align: left;
}
.disclaimer svg { width: 20px; height: 20px; flex: none; color: var(--warning); margin-top: 1px; }

/* ---------------------------------------------------------------------------
 * Content pages, posts, archives
 * ------------------------------------------------------------------------ */

.page-head { padding: clamp(40px, 6vw, 72px) 0 32px; }
.page-head h1 { font-size: clamp(2rem, 4.2vw, 3rem); margin-bottom: 12px; }
.page-head .meta { color: var(--ink-muted); font-size: 0.9375rem; }

.content-card { padding: clamp(24px, 5vw, 56px); }
.content-wrap { width: min(820px, 100% - 2 * var(--gutter)); margin-inline: auto; padding-bottom: 88px; }

.entry-content > *:first-child { margin-top: 0; }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content h2 { font-size: 1.625rem; margin-top: 1.8em; }
.entry-content h3 { font-size: 1.25rem; margin-top: 1.6em; }
.entry-content h4 { font-size: 1.0625rem; margin-top: 1.5em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.entry-content li { margin-bottom: 0.4em; }
.entry-content li::marker { color: var(--blue); }
.entry-content img { border-radius: 14px; }
.entry-content hr { border: 0; height: 1px; background: var(--line); margin: 2em 0; }
.entry-content blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--blue); color: var(--ink-muted); }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.entry-content th, .entry-content td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.entry-content code { font-family: var(--font-mono); font-size: 0.9em; padding: 2px 6px; border-radius: 6px; background: var(--sky); }
.entry-content .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.entry-content .wp-block-button__link {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px;
  border-radius: var(--radius-button); background: var(--blue); color: #fff; font-weight: 600; text-decoration: none;
}
.entry-content .has-text-align-center { text-align: center; }

.post-list { display: grid; gap: 16px; }
.post-row { display: block; padding: 24px 28px; text-decoration: none; transition: border-color 0.15s ease; }
.post-row:hover { border-color: var(--blue); }
.post-row time { color: var(--ink-muted); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }
.post-row h2 { margin: 8px 0 8px; font-size: 1.375rem; }
.post-row p { margin: 0; color: var(--ink-muted); font-size: 0.9688rem; }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 36px; }
.pagination .page-numbers {
  display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: var(--radius-field);
  color: var(--ink-body); text-decoration: none;
}
.pagination .current { background: var(--blue); border-color: var(--blue); color: #fff; }

.post-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 28px; font-weight: 600; }

.app-banner {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  margin-top: 28px; padding: 22px 24px;
}
.app-banner img { width: 56px; height: 56px; border-radius: 14px; }
.app-banner div { flex: 1 1 220px; }
.app-banner strong { display: block; color: var(--ink); }
.app-banner span { color: var(--ink-muted); font-size: 0.9375rem; }

/* Shared-link page */

.link-page { padding: clamp(32px, 6vw, 72px) 0 96px; }
.link-page .wrap { max-width: 640px; }
.shared-note { padding: clamp(22px, 4vw, 32px); box-shadow: var(--shadow); }
.shared-note__author { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.shared-note__author strong { display: block; color: var(--ink); }
.shared-note__author span { color: var(--ink-muted); font-size: 0.875rem; }
.shared-note__avatar {
  display: grid; place-items: center; width: 46px; height: 46px; flex: none;
  border-radius: 50%; background: var(--sky); color: var(--blue); font-weight: 700;
}
.shared-note__body { color: var(--ink); font-size: 1.0625rem; white-space: pre-line; overflow-wrap: anywhere; }
.shared-note__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.link-actions { display: grid; gap: 12px; margin-top: 24px; }
.link-actions .button { width: 100%; }
.link-actions .store-buttons { justify-content: center; }

/* 404 */

.not-found { padding: clamp(64px, 10vw, 140px) 0; text-align: center; }
.not-found .code { font-family: var(--font-mono); color: var(--blue); font-size: 0.9375rem; letter-spacing: 0.2em; }
.not-found .lead { margin-inline: auto; }

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

.site-footer { border-top: 1px solid var(--line); padding: 48px 0 40px; font-size: 0.9375rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer p { color: var(--ink-muted); max-width: 30em; }
.site-footer h2 { margin: 0 0 12px; color: var(--ink-muted); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a:not(.brand) { color: var(--ink-body); text-decoration: none; }
.site-footer a:not(.brand):hover { color: var(--blue); }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line);
  color: var(--ink-muted); font-size: 0.8125rem;
}
@media (max-width: 720px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__about { grid-column: 1 / -1; } }

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