:root {
  color-scheme: light;
  --page: #f4f6f8;
  --surface: #ffffff;
  --surface-2: #f7f9fb;
  --text-primary: #0f1a2a;
  --text-secondary: #475467;
  --muted: #667085;
  --grid: #e4e8ee;
  --axis: #c9d0da;
  --border: rgba(15, 26, 42, 0.09);
  --link: #1d5fb8;
  --accent: #1d6fd6;
  --accent-wash: #e8f1fc;
  --hero-1: #0a2342;
  --hero-2: #12497c;
  --status-good: #12a150;
  --status-warning: #f2a611;
  --status-critical: #d64545;
  --shadow: 0 1px 2px rgba(15, 26, 42, 0.04), 0 4px 16px rgba(15, 26, 42, 0.05);
  --radius: 14px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --page: #0b0f14;
    --surface: #131a22;
    --surface-2: #18212b;
    --text-primary: #e8edf3;
    --text-secondary: #a9b4c2;
    --muted: #808c9b;
    --grid: #222c37;
    --axis: #334050;
    --border: rgba(255, 255, 255, 0.08);
    --link: #7fb3f5;
    --accent: #4c94ec;
    --accent-wash: #11263f;
    --hero-1: #06121f;
    --hero-2: #0e3157;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #0b0f14;
  --surface: #131a22;
  --surface-2: #18212b;
  --text-primary: #e8edf3;
  --text-secondary: #a9b4c2;
  --muted: #808c9b;
  --grid: #222c37;
  --axis: #334050;
  --border: rgba(255, 255, 255, 0.08);
  --link: #7fb3f5;
  --accent: #4c94ec;
  --accent-wash: #11263f;
  --hero-1: #06121f;
  --hero-2: #0e3157;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

* {
  box-sizing: border-box;
}

body {
  /* lets .bleed size itself to the page width without counting the scrollbar */
  container-type: inline-size;
  margin: 0;
  background: var(--page);
  color: var(--text-primary);
  font: 16px/1.55 var(--font);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--link);
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration-thickness: 2px;
}

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

.wrap {
  --gutter: 16px;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

@media (min-width: 640px) {
  .wrap {
    --gutter: 24px;
  }
}

/* Breaks out of the centred column to span the whole page, keeping the side gutters */
.bleed {
  margin-inline: calc(50% - 50cqi + var(--gutter));
}

/* Keep the heading lined up with the rest of the page */
.bleed > h2 {
  max-width: calc(1040px - 2 * var(--gutter));
  margin-inline: auto;
}

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

.site-header {
  color: #fff;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(76, 148, 236, 0.35), transparent 55%),
    linear-gradient(160deg, var(--hero-1), var(--hero-2));
  padding: 16px 0 32px;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 30px;
  height: 30px;
  padding: 5px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.12);
  color: #9cc8ff;
}

.lang-switch {
  display: inline-flex;
  flex-shrink: 0;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.lang-switch button {
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 4px 12px;
  min-height: 30px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
}

.lang-switch button:hover {
  color: #fff;
}

.lang-switch button[aria-pressed="true"] {
  background: #fff;
  color: var(--hero-1);
}

.lang-switch button:focus-visible {
  outline-color: #fff;
}

.hero {
  margin-top: 28px;
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9cc8ff;
}

h1 {
  margin: 0;
  font-size: clamp(1.625rem, 3.2vw, 1.875rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  padding: 5px 14px 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.9375rem;
  font-weight: 500;
}

.summary .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--level-color);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--level-color) 30%, transparent);
}

/* ---------- Main ---------- */

h2 {
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  margin: 36px 0 12px;
}

h2 + .note {
  margin-top: -6px;
  margin-bottom: 12px;
}

.muted {
  color: var(--muted);
}

.note {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 10px 0 0;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  min-width: 0;
}

.disclaimer {
  /* Fine print under the day cards, not a callout */
  margin-top: 14px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--muted);
}

.disclaimer p {
  margin: 0;
}

.disclaimer p + p {
  margin-top: 4px;
}

.disclaimer strong {
  font-weight: 600;
  color: var(--text-secondary);
}

.disclaimer a {
  color: inherit;
}

.disclaimer-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--muted);
}

.loading {
  margin: 0;
  padding: 24px;
}

/* ---------- Day risk cards ---------- */

.days {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

.day {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.day::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--level-color, var(--axis));
}

.day-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.day h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 650;
}

.day-date {
  font-size: 0.8125rem;
  color: var(--muted);
  white-space: nowrap;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px 3px 4px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--level-color) 14%, transparent);
  font-weight: 600;
  font-size: 0.8125rem;
}

.badge .dot {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--level-color);
  color: #0b0b0b;
  font-size: 11px;
  line-height: 1;
}

.tag {
  padding: 2px 8px;
  border: 1px solid var(--axis);
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  cursor: help;
}

.level-low {
  --level-color: var(--status-good);
}
.level-medium {
  --level-color: var(--status-warning);
}
.level-high {
  --level-color: var(--status-critical);
}
.level-high .badge .dot,
.level-low .badge .dot {
  color: #fff;
}

.peak {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-variant-numeric: tabular-nums;
}

.peak-value {
  font-size: 2.125rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.peak-unit {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.peak-label {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.day-stats {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--surface-2);
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
}

.arrow {
  display: inline-block;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.day p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* Whole card opens the similar days modal; the button's ::after covers it */
.day {
  transition: box-shadow 0.15s, transform 0.15s;
}

.day:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(15, 26, 42, 0.06), 0 10px 28px rgba(15, 26, 42, 0.1);
}

.day:has(.day-open:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.day-open {
  margin-top: auto;
  align-self: flex-start;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--link);
  cursor: pointer;
}

.day-open::after {
  content: "";
  position: absolute;
  inset: 0;
}

.day-open:focus-visible {
  outline: none;
}

/* With a mouse, a centred button fades in over the card instead of the link at the bottom */
@media (hover: hover) {
  .day-open {
    position: absolute;
    inset: 0;
    /* buttons don't stretch from inset alone */
    width: 100%;
    height: 100%;
    z-index: 1;
    display: grid;
    place-items: center;
    margin: 0;
    background: radial-gradient(
      circle at 50% 50%,
      color-mix(in srgb, var(--accent) 22%, transparent),
      color-mix(in srgb, var(--surface) 55%, transparent) 70%
    );
    opacity: 0;
    transition: opacity 0.18s;
  }

  .day-open::after {
    display: none;
  }

  .day:hover .day-open,
  .day-open:focus-visible {
    opacity: 1;
  }

  .day-open-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px 5px 5px;
    border-radius: 999px;
    background: linear-gradient(135deg, #3b93f5, #1452a8);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.3),
      0 2px 4px rgba(20, 82, 168, 0.3),
      0 10px 28px color-mix(in srgb, var(--accent) 45%, transparent);
    transform: translateY(8px) scale(0.94);
    transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .day-open-label .icon {
    box-sizing: content-box;
    width: 15px;
    height: 15px;
    padding: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
  }

  .day-open-count {
    min-width: 20px;
    padding: 1px 6px;
    border-radius: 999px;
    background: #fff;
    color: #1452a8;
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
    font-variant-numeric: tabular-nums;
  }

  .day-open-arrow {
    transition: transform 0.18s ease-out;
  }

  .day:hover .day-open-label,
  .day-open:focus-visible .day-open-label {
    transform: none;
  }

  .day-open:hover .day-open-arrow {
    transform: translateX(3px);
  }
}

/* Touch screens keep the link at the bottom of the card */
@media (hover: none) {
  .day-open {
    margin-top: auto;
  }

  .day-open-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .day-open-label .icon {
    width: 14px;
    height: 14px;
  }

  .day-open-count {
    padding: 0 6px;
    border-radius: 999px;
    background: var(--accent-wash);
    font-size: 0.75rem;
  }
}

/* ---------- Similar days modal ---------- */

.modal {
  width: min(640px, calc(100vw - 32px));
  max-height: min(84vh, 760px);
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text-primary);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
}

.modal::backdrop {
  background: rgba(6, 18, 31, 0.5);
}

.modal-head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 12px 20px;
  background: var(--surface);
  border-bottom: 1px solid var(--grid);
}

.modal h2 {
  margin: 0;
  font-size: 1.125rem;
}

#similar-sub {
  margin: 2px 0 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.modal-close {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
}

.modal-close:hover {
  background: var(--surface-2);
}

.modal-close svg {
  width: 20px;
  height: 20px;
}

.modal .timeline {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.modal .timeline li {
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 12px 20px;
}

.similar-wind {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 4px 0 2px !important;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.similar-wind .arrow {
  width: 16px;
  height: 16px;
}

.modal-empty {
  margin: 12px 20px 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.modal-note {
  margin: 4px 20px 16px;
  font-size: 0.75rem;
  color: var(--muted);
}

/* ---------- Forecast grid ---------- */

.wg-card {
  padding: 0;
  overflow: hidden;
}

.wg-scroll {
  position: relative; /* keeps the sr-only labels inside the scroll box */
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding-bottom: 4px;
}

.wg {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
}

.wg th,
.wg td {
  min-width: 30px;
  height: 28px;
  padding: 0;
  text-align: center;
  white-space: nowrap;
}

.wg .wg-label {
  position: sticky;
  left: 0;
  z-index: 1;
  min-width: 104px;
  padding: 0 12px 0 16px;
  text-align: left;
  background: var(--surface);
  border-right: 1px solid var(--grid);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* A thin gap between days, like Windguru's day breaks */
.wg .day-start {
  border-left: 3px solid var(--surface);
}

.wg-days th {
  height: auto;
  padding: 10px 8px 2px;
  text-align: left;
  font-size: 0.8125rem;
  font-weight: 650;
  border-left-color: var(--grid);
  border-left-width: 1px;
}

/* Keep the day name in view while scrolling through its hours */
.wg-days th span {
  position: sticky;
  left: 112px;
}

.wg-hours th {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--grid);
}

.wg-hours th.off {
  color: var(--muted);
  font-weight: 400;
}

.wg-hours th.now {
  color: #fff;
  background: var(--accent);
  border-radius: 6px 6px 0 0;
}

.wg-wind td,
.wg-gust td {
  border-bottom: 1px solid var(--surface);
  cursor: default;
}

.wg-gust td {
  font-weight: 700;
}

/* TAF raised this hour */
.wg-gust td.taf {
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.45);
}

.wg-dir td .arrow {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  color: var(--text-primary);
}

.wg-risk td {
  height: 22px;
  vertical-align: middle;
}

.risk-bar,
.risk-swatch {
  display: block;
  height: 8px;
  margin: 0 1px;
  border-radius: 2px;
  background: var(--level-color);
}

.wg td.past,
.wg-hours th.past {
  opacity: 0.4;
}

.wg td.now {
  box-shadow: inset 2px 0 0 var(--accent), inset -2px 0 0 var(--accent);
}

.wg-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 10px 16px;
  border-top: 1px solid var(--grid);
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.wg-scale {
  display: inline-flex;
  align-items: center;
}

.wg-scale span[style] {
  min-width: 30px;
  padding: 2px 0;
  text-align: center;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.wg-scale span[style]:first-child {
  border-radius: 4px 0 0 4px;
  box-shadow: inset 0 0 0 1px var(--border);
}

.wg-scale span[style]:nth-last-child(2) {
  border-radius: 0 4px 4px 0;
}

.wg-unit {
  margin-left: 6px;
}

.wg-levels {
  display: inline-flex;
  gap: 14px;
}

.wg-levels > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.wg-levels .risk-swatch {
  width: 14px;
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- Landing limits ---------- */

.limits {
  padding: 0;
}

.limits summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.limits summary::-webkit-details-marker {
  display: none;
}

/* Chevron that turns when open */
.limits summary::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 4px;
  border-right: 2px solid var(--text-secondary);
  border-bottom: 2px solid var(--text-secondary);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.15s;
}

.limits[open] summary::after {
  transform: rotate(-135deg) translateY(-2px);
}

.limits summary:hover {
  color: var(--link);
}

.limits-body {
  padding: 0 16px 16px;
  border-top: 1px solid var(--grid);
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.limits-table {
  width: 100%;
  margin: 8px 0 12px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.limits-table th,
.limits-table td {
  padding: 8px 12px 8px 0;
  text-align: left;
  border-bottom: 1px solid var(--grid);
}

.limits-table thead th {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.limits-table tbody th {
  font-weight: 600;
  color: var(--text-primary);
}

.limits-table tbody th span {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--muted);
}

.limits-table td {
  white-space: nowrap;
  font-weight: 600;
  color: var(--text-primary);
}

.limits-body ul {
  margin: 0;
  padding-left: 18px;
}

.limits-body li {
  margin: 4px 0;
}

.limits-source {
  margin: 12px 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
}

/* ---------- Now ---------- */

.now-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.now-grid h3 {
  margin: 0 0 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.now-grid p {
  margin: 4px 0 0;
}

.big {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.now-grid .big {
  margin: 0 0 4px;
}

.raw {
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--text-secondary);
  overflow-wrap: anywhere;
  margin: 12px 0 0 !important;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}

/* ---------- Timeline ---------- */

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.timeline li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 10px 16px;
  border-top: 1px solid var(--grid);
}

.timeline li:first-child {
  border-top: 0;
}

@media (min-width: 720px) {
  .timeline li {
    grid-template-columns: 220px 1fr;
    gap: 20px;
  }
}

.timeline .when {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.timeline time {
  font-weight: 600;
  font-size: 0.9375rem;
}

.timeline .counts {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.count {
  padding: 1px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--status-critical) 12%, transparent);
  font-size: 0.75rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--text-secondary);
}

.timeline p {
  margin: 0 0 2px;
  font-size: 0.925rem;
}

.timeline .sources {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Older events stay collapsed until asked for */
.timeline:not(.show-all) .older {
  display: none;
}

.more {
  margin-top: 8px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--link);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
}

.more:hover {
  background: var(--surface-2);
}

/* ---------- Rights ---------- */

.prose {
  max-width: none;
}

.prose p:first-child {
  margin-top: 0;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose ul {
  padding-left: 0;
  list-style: none;
}

.prose li {
  position: relative;
  padding-left: 26px;
  margin: 4px 0;
}

.prose li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.45em;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--status-good);
  border-bottom: 2px solid var(--status-good);
  transform: rotate(-45deg);
}

.error {
  color: var(--status-critical);
}

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

.site-footer {
  margin-top: 48px;
  padding: 24px 0 32px;
  border-top: 1px solid var(--grid);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1fr 1.6fr;
    gap: 48px;
  }
}

.footer-grid p {
  margin: 0;
}

.footer-brand {
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px !important;
}
