/* =========================================================================
   Made by Smither — site styles
   One stylesheet, shared by every page. Loaded from /styles.css (absolute),
   so it works the same from nested pages like /wirestat/support.
   ========================================================================= */

/* ---- Design tokens ----------------------------------------------------- */
:root {
  /* Color */
  --smith-color-paper: #fbf8f3;
  --smith-color-paper-2: #f3ede2;
  --smith-color-card: #ffffff;
  --smith-color-ink: #1b1714;
  --smith-color-ink-soft: #26201b;
  --smith-color-text: #221e19;
  --smith-color-muted: #5e554b;
  --smith-color-muted-on-ink: #a99e8e;
  --smith-color-line: #e7e0d4;
  --smith-color-line-on-ink: #38312a;
  --smith-color-accent: #dc5a34; /* glyphs, decorative, large display */
  --smith-color-accent-strong: #c24a22; /* buttons + inline links on paper (AA) */
  --smith-color-on-accent: #ffffff;

  /* Type */
  --smith-type-display: "Fraunces", Georgia, "Times New Roman", serif;
  --smith-type-body: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system,
    "Segoe UI", Roboto, sans-serif;

  /* Space + shape */
  --smith-container: 68rem;
  --smith-radius-sm: 10px;
  --smith-radius: 16px;
  --smith-radius-lg: 22px;

  /* Shadows — light source from above */
  --smith-shadow-sm: 0 1px 2px rgba(27, 23, 20, 0.06),
    0 6px 16px -10px rgba(27, 23, 20, 0.18);
  --smith-shadow: 0 2px 4px rgba(27, 23, 20, 0.05),
    0 18px 40px -22px rgba(27, 23, 20, 0.35);
}

/* Per-app accent theme. Applied to a page's <main> so the studio chrome
   (header/footer) keeps its warm identity while the app section carries the
   app's own colors. WireStat = blue/indigo + cyan, matching its app icon. */
.theme-wirestat {
  --smith-color-accent: #5b63e8;
  --smith-color-accent-strong: #4038c4;
}

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

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

body {
  margin: 0;
  background: var(--smith-color-paper);
  color: var(--smith-color-text);
  font-family: var(--smith-type-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: var(--smith-color-accent-strong);
  text-decoration-color: color-mix(in srgb, var(--smith-color-accent-strong) 35%, transparent);
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-color: currentColor;
}

h1,
h2,
h3,
h4 {
  font-family: var(--smith-type-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--smith-color-ink);
  margin: 0;
  font-optical-sizing: auto;
}

p {
  margin: 0;
}

figure {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
}

/* ---- Accessibility helpers -------------------------------------------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -3.5rem;
  z-index: 100;
  background: var(--smith-color-ink);
  color: var(--smith-color-paper);
  padding: 0.6rem 1rem;
  border-radius: var(--smith-radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: top 0.18s ease;
}

.skip-link:focus {
  top: 1rem;
}

:focus-visible {
  outline: 2.5px solid var(--smith-color-accent-strong);
  outline-offset: 3px;
  border-radius: 4px;
}

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

/* ---- Layout ------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--smith-container);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

main {
  flex: 1 0 auto;
}

.eyebrow {
  font-family: var(--smith-type-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--smith-color-accent-strong);
  margin: 0 0 1rem;
}

.lede {
  color: var(--smith-color-muted);
  font-size: 1.18rem;
  line-height: 1.6;
}

/* ---- Buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--smith-type-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-accent {
  background: var(--smith-color-accent-strong);
  color: var(--smith-color-on-accent);
}

.btn-accent:hover {
  background: #ab3f1c;
}

.btn-ghost {
  background: transparent;
  color: var(--smith-color-ink);
  border-color: var(--smith-color-line);
}

.btn-ghost:hover {
  border-color: var(--smith-color-ink);
}

/* ---- Header / nav ------------------------------------------------------ */
.site-header {
  border-bottom: 1px solid var(--smith-color-line);
  background: color-mix(in srgb, var(--smith-color-paper) 88%, transparent);
  backdrop-filter: saturate(140%) blur(8px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.05rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--smith-type-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--smith-color-ink);
  text-decoration: none;
}

.wordmark__glyph {
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 8px;
  background: var(--smith-color-ink);
  color: var(--smith-color-accent);
  font-weight: 600;
  font-size: 1.05rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.site-nav a {
  color: var(--smith-color-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
}

.site-nav a:hover {
  color: var(--smith-color-ink);
}

/* ---- Hero (home) ------------------------------------------------------- */
.hero {
  padding-block: clamp(3.5rem, 9vw, 7rem) clamp(2.5rem, 6vw, 4rem);
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  max-width: 16ch;
}

.hero .lede {
  margin-top: 1.4rem;
  max-width: 52ch;
}

.hero__actions {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* ---- Apps section ------------------------------------------------------ */
.apps {
  border-top: 1px solid var(--smith-color-line);
  background: var(--smith-color-paper-2);
}

.apps__head {
  max-width: 48ch;
  margin-bottom: 2.6rem;
}

.apps__head h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
}

.apps__head p {
  margin-top: 0.9rem;
  color: var(--smith-color-muted);
}

/* Flex grid: one card reads as deliberate, more cards wrap into rows.
   To add an app, copy one .app-card block — no layout changes needed. */
.app-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
}

.app-card {
  flex: 1 1 22rem;
  max-width: 28rem;
  display: flex;
  flex-direction: column;
  background: var(--smith-color-card);
  border: 1px solid var(--smith-color-line);
  border-radius: var(--smith-radius-lg);
  padding: 1.7rem;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--smith-shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.app-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--smith-shadow);
  border-color: color-mix(in srgb, var(--smith-color-accent) 40%, var(--smith-color-line));
}

.app-card__top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.app-icon {
  flex: none;
  width: 3.4rem;
  height: 3.4rem;
}

.app-icon img {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 3px 6px rgba(27, 23, 20, 0.22));
}

.app-card__name {
  font-family: var(--smith-type-display);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--smith-color-ink);
  line-height: 1.1;
}

.app-card__platform {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--smith-color-muted);
  margin-top: 0.25rem;
}

.app-card__desc {
  color: var(--smith-color-muted);
  margin-bottom: 1.3rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
}

.chip {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--smith-color-text);
  background: var(--smith-color-paper-2);
  border: 1px solid var(--smith-color-line);
  border-radius: 999px;
  padding: 0.32rem 0.7rem;
}

.app-card__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--smith-color-accent-strong);
}

.app-card:hover .app-card__cta svg {
  transform: translateX(3px);
}

.app-card__cta svg {
  transition: transform 0.18s ease;
}

/* ---- Sub-page header band --------------------------------------------- */
.page-head {
  border-bottom: 1px solid var(--smith-color-line);
  padding-block: clamp(2.5rem, 6vw, 4rem);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  color: var(--smith-color-muted);
  margin-bottom: 1.1rem;
}

.breadcrumb a {
  color: var(--smith-color-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--smith-color-ink);
}

.breadcrumb span[aria-hidden] {
  opacity: 0.5;
}

.page-head h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
}

.page-head p {
  margin-top: 1rem;
  max-width: 56ch;
  color: var(--smith-color-muted);
  font-size: 1.1rem;
}

/* ---- WireStat hero ----------------------------------------------------- */
.product-hero {
  background: var(--smith-color-ink);
  color: var(--smith-color-paper);
}

.product-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(3rem, 7vw, 5.5rem);
}

.product-hero h1 {
  color: var(--smith-color-paper);
  font-size: clamp(2.5rem, 5.5vw, 4rem);
}

.product-hero .eyebrow {
  color: var(--smith-color-accent);
}

.product-hero__lede {
  margin-top: 1.3rem;
  color: var(--smith-color-muted-on-ink);
  font-size: 1.18rem;
  max-width: 46ch;
}

.product-hero__actions {
  margin-top: 2.1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.4rem;
}

.product-hero__sublinks {
  margin-top: 1.5rem;
  display: flex;
  gap: 1.3rem;
  font-size: 0.95rem;
}

.product-hero__sublinks a {
  color: var(--smith-color-muted-on-ink);
  text-decoration: none;
}

.product-hero__sublinks a:hover {
  color: var(--smith-color-paper);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* ---- Menu-bar mock (WireStat hero visual) ------------------------------ */
/* A stylized recreation of WireStat's real menu bar readout + popover:
   throughput in the bar, then Connection / Download / Upload / Ping rows. */
.menubar-mock {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.menubar-strip {
  width: 100%;
  max-width: 20rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--smith-color-line-on-ink);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.1rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  color: var(--smith-color-muted-on-ink);
}

/* Defensive: let the clock shrink (ellipsis) so the throughput readout is
   never pushed past the strip on very narrow screens or with longer copy. */
.menubar-strip > span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.menubar-strip__readout {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  white-space: nowrap;
  color: var(--smith-color-paper);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

.popover {
  width: 100%;
  max-width: 20rem;
  background: linear-gradient(180deg, #2b2932, #222028);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 0.95rem 1rem;
  box-shadow: 0 26px 55px -22px rgba(0, 0, 0, 0.75);
  color: #fff;
}

.pop-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.pop-row + .pop-row {
  margin-top: 0.7rem;
}

.pop-ico {
  flex: none;
  width: 1.6rem;
  height: 1.6rem;
  display: grid;
  place-items: center;
}

.pop-ico--conn {
  color: #8e95ff;
}
.pop-ico--down {
  color: #30d158;
}
.pop-ico--up {
  color: #409cff;
}

.pop-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.pop-text small {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.52);
}

.pop-text strong {
  font-weight: 600;
  font-size: 0.98rem;
  color: #fff;
}

.pop-text strong.mono {
  font-variant-numeric: tabular-nums;
}

.pop-div {
  height: 1px;
  background: rgba(255, 255, 255, 0.09);
  margin: 0.8rem 0;
}

.pop-cap {
  display: block;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.52);
  margin-bottom: 0.4rem;
}

.pop-ping-row {
  display: flex;
  gap: 0.45rem;
}

.pop-field {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  padding: 0.32rem 0.55rem;
  font-size: 0.85rem;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.pop-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  padding: 0.32rem 0.7rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
}

.pop-sub {
  display: block;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0.45rem 0 0.4rem;
}

.pop-result {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: #30d158;
}

.pop-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.pop-foot-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* System-requirements line under the App Store badge. */
.req-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--smith-color-muted-on-ink);
}

/* WireStat app icon shown in the product hero. */
.product-hero__appicon {
  display: block;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.4rem;
}

.product-hero__appicon img {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.45));
}

/* Inline code (feature copy, support/privacy prose). */
code {
  font-family: ui-monospace, "SF Mono", "Menlo", monospace;
  font-size: 0.88em;
  background: color-mix(in srgb, var(--smith-color-accent) 12%, var(--smith-color-paper));
  border: 1px solid color-mix(in srgb, var(--smith-color-accent) 22%, var(--smith-color-line));
  border-radius: 5px;
  padding: 0.08em 0.36em;
}

kbd {
  font-family: ui-monospace, "SF Mono", "Menlo", monospace;
  font-size: 0.85em;
  background: var(--smith-color-card);
  border: 1px solid var(--smith-color-line);
  border-bottom-width: 2px;
  border-radius: 5px;
  padding: 0.05em 0.4em;
  color: var(--smith-color-ink);
}

/* ---- App Store badge --------------------------------------------------- */
.appstore-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: #000;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 0.62rem 1.05rem;
  text-decoration: none;
  line-height: 1;
}

.appstore-badge:hover {
  background: #141414;
}

.appstore-badge__text {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  text-align: left;
}

.appstore-badge__text small {
  font-size: 0.62rem;
  letter-spacing: 0.02em;
  opacity: 0.85;
}

.appstore-badge__text strong {
  font-size: 1.18rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.badge-note {
  font-size: 0.82rem;
  color: var(--smith-color-muted-on-ink);
}

/* ---- Feature highlights ------------------------------------------------ */
.features__head {
  max-width: 46ch;
  margin-bottom: 2.8rem;
}

.features__head h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
}

.features__head p {
  margin-top: 0.9rem;
  color: var(--smith-color-muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr));
  gap: 1.7rem 2.2rem;
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 12px;
  background: color-mix(in srgb, var(--smith-color-accent) 12%, var(--smith-color-paper));
  border: 1px solid color-mix(in srgb, var(--smith-color-accent) 24%, var(--smith-color-line));
  color: var(--smith-color-accent-strong);
}

.feature h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

.feature p {
  color: var(--smith-color-muted);
  font-size: 1rem;
}

/* ---- Prose (support / privacy) ----------------------------------------- */
.prose {
  max-width: 62ch;
}

.prose > * + * {
  margin-top: 1.1rem;
}

.prose h2 {
  font-size: 1.5rem;
  margin-top: 2.6rem;
}

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

.prose h3 {
  font-size: 1.15rem;
  font-weight: 600;
  font-family: var(--smith-type-body);
  color: var(--smith-color-ink);
  margin-top: 1.8rem;
}

.prose p,
.prose li {
  color: var(--smith-color-text);
}

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

.prose ul li {
  position: relative;
  padding-left: 1.1rem;
  margin-top: 0.6rem;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--smith-color-accent);
}

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

.steps li {
  position: relative;
  padding-left: 3rem;
  min-height: 2rem;
  color: var(--smith-color-text);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: -0.1rem;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--smith-color-ink);
  color: var(--smith-color-paper);
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--smith-type-body);
}

.callout {
  border: 1px solid var(--smith-color-line);
  background: var(--smith-color-paper-2);
  border-radius: var(--smith-radius);
  padding: 1.3rem 1.5rem;
  margin-top: 1.6rem;
}

.callout strong {
  color: var(--smith-color-ink);
}

.contact-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1.2rem;
  border: 1px solid var(--smith-color-line);
  border-radius: var(--smith-radius);
  padding: 1.3rem 1.5rem;
  margin-top: 1.6rem;
  background: var(--smith-color-card);
}

.contact-card__label {
  font-weight: 600;
  color: var(--smith-color-ink);
}

.contact-card a {
  overflow-wrap: anywhere;
}

.muted-note {
  font-size: 0.9rem;
  color: var(--smith-color-muted);
}

/* ---- Footer ------------------------------------------------------------ */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--smith-color-line);
  background: var(--smith-color-paper-2);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: flex-start;
  padding-block: 2.6rem;
}

.site-footer__brand {
  max-width: 26ch;
}

.site-footer__brand .wordmark {
  margin-bottom: 0.7rem;
}

.site-footer__brand p {
  color: var(--smith-color-muted);
  font-size: 0.92rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2.6rem;
}

.footer-nav__col h4 {
  font-family: var(--smith-type-body);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--smith-color-muted);
  margin-bottom: 0.9rem;
  font-weight: 600;
}

.footer-nav__col ul {
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.footer-nav__col a {
  color: var(--smith-color-text);
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-nav__col a:hover {
  color: var(--smith-color-accent-strong);
}

.site-footer__legal {
  border-top: 1px solid var(--smith-color-line);
  padding-block: 1.3rem;
  font-size: 0.85rem;
  color: var(--smith-color-muted);
}

/* ---- Responsive -------------------------------------------------------- */
@media (max-width: 760px) {
  .product-hero__grid {
    grid-template-columns: 1fr;
  }

  .menubar-mock {
    order: -1;
  }

  .site-nav {
    gap: 1.1rem;
  }
}

@media (max-width: 540px) {
  body {
    font-size: 1rem;
  }

  /* Keep the header nav usable on phones: wrap it to its own row with
     comfortable 44px tap targets instead of hiding it. */
  .site-header__inner {
    flex-wrap: wrap;
    padding-block: 0.75rem;
  }

  .site-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 0.25rem 1rem;
  }

  .site-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .app-card {
    flex-basis: 100%;
    max-width: none;
  }

  .footer-nav {
    gap: 1.8rem;
  }
}

/* ---- Motion preferences ------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
