/* Carifly site stylesheet — reusable class vocabulary
   Layout: .container .site-header .header-inner .brand .site-nav .nav-list
   Hero: .hero .hero-band .hero-inner .hero-note .hero-actions .hero-meta
   Content: .section .section-lead .container-narrow .measure
   Buttons: .btn .btn-primary .btn-secondary
   Cards and grids: .grid .grid-2 .grid-4 .card .card-title .card-list
   Steps: .steps .step .step-num .step-title
   Panels and product glimpse: .figure-glimpse .panel .panel-head .panel-title
     .panel-dot .table-wrap .stock-table .tag .check-list .check .check-state
     .caption .status-done .status-blocked .status-missing
   Pills and notices: .pill .pill-coming .pill-outline .notice
   FAQ (for later pages): .faq details summary
   Footer: .site-footer .footer-grid .footer-group .footer-heading
     .footer-list .footer-note .footer-base
   Utilities: .skip .visually-hidden .muted .small .mono-label
*/

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/instrument-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/instrument-sans-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/instrument-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/instrument-sans-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fragment Mono";
  src: url("/assets/fonts/fragment-mono-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #101112;
  --ink-2: #1a1c1e;
  --ink-3: #242628;
  --volt: #bdee2b;
  --volt-on-light: #5f7508;
  --ok: #1e7a47;
  --warn: #8a6a12;
  --bad: #ad1f2d;
  --info: #2a5fb8;
  --ground: #f5f7f8;
  --raise: #ffffff;
  --raise-2: #fafbfc;
  --sunk: #edf0f2;
  --line: #e3e6e9;
  --line-2: #d6dade;
  --text: #101112;
  --text-2: #3c3f42;
  --muted: #565b60;
  --faint: #6f7479;
  --radius-lg: 10px;
  --radius-md: 8px;
  --radius-sm: 4px;
  --shadow: 0 1px 2px rgba(16, 17, 18, 0.05), 0 4px 16px rgba(16, 17, 18, 0.05);
  --ease: cubic-bezier(0.2, 0.6, 0.3, 1);
  --max-width: 1120px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Fragment Mono", Consolas, monospace;
  --focus-ring: #2a5fb8;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #101314;
    --raise: #16191b;
    --raise-2: #1c2023;
    --sunk: #0c0e0f;
    --line: #262a2d;
    --line-2: #31363a;
    --text: #f4f5f3;
    --text-2: #c9ccce;
    --muted: #9ba0a3;
    --faint: #9ba0a3;
    --volt-on-light: #bdee2b;
    --focus-ring: #bdee2b;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 4px 16px rgba(0, 0, 0, 0.4);
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  -webkit-text-size-adjust: 100%;
}

html,
body {
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}

main {
  scroll-margin-top: 5rem;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2rem, 4.5vw + 1rem, 3.25rem);
  margin: 0 0 1rem;
  font-weight: 600;
}

h2 {
  font-size: clamp(1.5rem, 2vw + 1rem, 2rem);
  font-weight: 600;
  margin: 0 0 0.75rem;
}

h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

p,
ul,
ol,
figure {
  margin: 0 0 1rem;
}

p,
li {
  max-width: 68ch;
}

a {
  color: var(--info);
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}

@media (prefers-color-scheme: dark) {
  a {
    color: var(--volt);
  }
}

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

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

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 20px;
  min-width: 0;
}

@media (min-width: 760px) {
  .container {
    padding-inline: 32px;
  }
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 50;
  background: var(--volt);
  color: var(--ink);
  font-weight: 700;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: top 0.2s var(--ease);
}

.skip:focus {
  top: 12px;
  color: var(--ink);
}

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

.mono-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.small {
  font-size: 0.95rem;
}

/* Header */
.site-header {
  background: var(--raise);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text);
  text-decoration: none;
}

.brand img {
  display: block;
}

.site-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  color: var(--text-2);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
}

.nav-list a:hover {
  background: var(--sunk);
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nav-list a[aria-current="page"] {
  color: var(--text);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

/* Hero */
.hero {
  background: var(--ink);
  color: #f4f5f3;
}

.hero-band {
  border-bottom: 4px solid var(--volt);
}

.hero-inner {
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
  max-width: 46rem;
}

.hero-inner-wide {
  max-width: var(--max-width);
}

.hero h1 {
  color: #ffffff;
}

.hero .mono-label {
  display: inline-block;
  color: var(--volt);
  border: 1px solid rgba(189, 238, 43, 0.55);
  border-radius: 999px;
  padding: 6px 12px;
  margin-bottom: 1rem;
}

.hero-lead {
  font-size: clamp(1.1rem, 1vw + 1rem, 1.3rem);
  line-height: 1.6;
  color: #d7dadb;
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 1.5rem 0 1rem;
}

.hero-note {
  display: inline-block;
  background: rgba(189, 238, 43, 0.12);
  border: 1px solid rgba(189, 238, 43, 0.4);
  color: #eef3df;
  border-radius: var(--radius-md);
  padding: 8px 12px;
  font-size: 0.98rem;
}

.hero-grid {
  display: grid;
  gap: 24px;
}

.hero-copy {
  min-width: 0;
}

.hero-visual {
  min-width: 0;
  width: 100%;
  max-width: 460px;
  display: grid;
  gap: 12px;
  align-content: start;
  align-self: start;
}

.hero .panel.hero-panel {
  background: #242628;
  border: 1px solid #2b2e31;
  color: #F7F7F5;
  align-self: start;
  width: 100%;
  max-width: 460px;
}

.hero .panel.hero-panel .panel-head {
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid #2b2e31;
}

.hero .panel.hero-panel .panel-title {
  color: #F7F7F5;
}

.hero .panel.hero-panel .panel-dot {
  background: rgba(255, 255, 255, 0.32);
}

.hero .panel.hero-panel .check {
  background: rgba(255, 255, 255, 0.06);
  border-color: #2b2e31;
  color: #F7F7F5;
}

.hero .panel.hero-panel .status-done {
  background: #e3f0e7;
  color: #164d2e;
  border-color: #bcd9c6;
}

.hero .panel.hero-panel .status-blocked {
  background: #fbe7e9;
  color: #7c1620;
  border-color: #e5b3b8;
}

.hero .panel.hero-panel .status-missing {
  background: #fdf3d7;
  color: #5c4a0c;
  border-color: #e3d199;
}

.hero-caption {
  margin: 0;
}

.hero .caption.caption-on-ink {
  color: #9BA0A3;
  border-left-color: var(--volt);
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 32px;
    align-items: start;
  }

  .hero-visual {
    justify-self: end;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background 0.18s var(--ease), transform 0.18s var(--ease);
}

.btn-primary {
  background: var(--volt);
  color: var(--ink);
  border-color: var(--volt);
}

.btn-primary:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.btn-secondary {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

main .btn-secondary {
  color: var(--text);
  border-color: var(--text);
}

.section .btn-secondary {
  color: var(--text);
  border-color: var(--text-2);
}

.hero .btn-secondary,
.cta-band .btn-secondary {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.hero .btn-secondary:hover,
.cta-band .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero .btn-secondary:active,
.cta-band .btn-secondary:active {
  background: rgba(255, 255, 255, 0.18);
}

.hero a:focus-visible,
.cta-band a:focus-visible {
  outline: 2px solid var(--volt);
  outline-offset: 2px;
}

/* Sections */
.section {
  padding-top: clamp(2rem, 5vw, 3.5rem);
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-alt {
  background: var(--raise);
}

.section-lead {
  color: var(--text-2);
  font-size: 1.1rem;
  max-width: 66ch;
}

.measure {
  max-width: 68ch;
}

/* Feature two-column layout */
.feature-layout {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.feature-intro {
  min-width: 0;
}

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

.feature-card {
  list-style: none;
  margin: 0;
  padding: 20px;
  background: var(--raise);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
  align-content: start;
  min-width: 0;
}

.section-alt .feature-card {
  background: var(--ground);
}

.feature-card li {
  position: relative;
  padding-left: 30px;
  color: var(--text-2);
  max-width: none;
}

.feature-card li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 12px;
  height: 7px;
  border-left: 3px solid var(--volt-on-light);
  border-bottom: 3px solid var(--volt-on-light);
  transform: rotate(-45deg);
  border-radius: 1px;
}

@media (min-width: 860px) {
  .feature-layout {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
  }
}

/* Steps */
.steps {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

@media (min-width: 760px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1020px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step {
  background: var(--raise);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--volt-on-light);
  margin-bottom: 0.5rem;
}

.step-title {
  margin-bottom: 0.5rem;
}

.step p {
  margin-bottom: 0;
  color: var(--text-2);
  font-size: 1rem;
}

/* Grids and cards */
.grid {
  display: grid;
  gap: 16px;
  margin-top: 1.5rem;
}

@media (min-width: 760px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1020px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  background: var(--raise);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow);
}

.card-title {
  font-size: 1.1rem;
}

.card p:last-child,
.card ul:last-child {
  margin-bottom: 0;
}

.card-list {
  padding-left: 1.2rem;
  margin-bottom: 0;
  color: var(--text-2);
}

.card-list li + li {
  margin-top: 0.4rem;
}

/* Product glimpse panels */
.figure-glimpse {
  margin-top: 1.75rem;
  margin-bottom: 0;
  display: grid;
  gap: 16px;
  min-width: 0;
}

@media (min-width: 900px) {
  .figure-glimpse {
    grid-template-columns: 1.2fr 1fr;
  }
}

.figure-glimpse--single {
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .figure-glimpse--single {
    grid-template-columns: 1fr;
  }
}

.panel {
  background: var(--raise);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--raise-2);
  border-bottom: 1px solid var(--line);
}

.panel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-2);
  flex: none;
}

.panel-title {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 0 6px;
  color: var(--text);
}

.panel-body {
  padding: 16px;
  min-width: 0;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}

.table-wrap:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

.stock-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 420px;
}

.stock-table th,
.stock-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.stock-table thead th {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--raise-2);
}

.stock-table tbody tr:last-child th,
.stock-table tbody tr:last-child td {
  border-bottom: 0;
}

.tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--sunk);
  color: var(--text-2);
}

.tag-ready {
  background: #e3f0e7;
  border-color: #bcd9c6;
  color: #164d2e;
}

.tag-prep {
  background: #fdf3d7;
  border-color: #e3d199;
  color: #5c4a0c;
}

@media (prefers-color-scheme: dark) {
  .tag-ready {
    background: rgba(30, 122, 71, 0.25);
    border-color: rgba(30, 122, 71, 0.7);
    color: #cfe8d8;
  }

  .tag-prep {
    background: rgba(189, 238, 43, 0.14);
    border-color: rgba(189, 238, 43, 0.45);
    color: #e6f2b8;
  }
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  background: var(--raise-2);
  font-size: 0.95rem;
}

.check-state {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  margin-top: 2px;
}

.status-done {
  background: #e3f0e7;
  color: #164d2e;
  border: 1px solid #bcd9c6;
}

.status-blocked {
  background: #fbe7e9;
  color: #7c1620;
  border: 1px solid #e5b3b8;
}

.status-missing {
  background: #fdf3d7;
  color: #5c4a0c;
  border: 1px solid #e3d199;
}

@media (prefers-color-scheme: dark) {
  .status-done,
  .status-blocked,
  .status-missing {
    background: var(--sunk);
  }

  .status-done {
    color: #bfe3cd;
    border-color: #2c5c40;
  }

  .status-blocked {
    color: #f0b9bf;
    border-color: #6e2a33;
  }

  .status-missing {
    color: #e8ddab;
    border-color: #5c5426;
  }

  .hero-panel .status-done,
  .hero-panel .status-blocked,
  .hero-panel .status-missing {
    background: rgba(255, 255, 255, 0.1);
  }

  .hero-panel .status-done {
    color: #cfe8d8;
    border-color: #2c5c40;
  }

  .hero-panel .status-blocked {
    color: #f0b9bf;
    border-color: #6e2a33;
  }

  .hero-panel .status-missing {
    color: #e8ddab;
    border-color: #5c5426;
  }
}

.caption {
  font-size: 0.92rem;
  color: var(--muted);
  border-left: 3px solid var(--line-2);
  padding-left: 12px;
  margin-top: 0.5rem;
}

.caption-on-ink {
  color: var(--muted);
  border-left-color: var(--volt);
}

/* Pills */
.pill {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 4px 12px;
  border-radius: 999px;
  vertical-align: middle;
}

.pill-coming {
  background: var(--ink);
  color: var(--volt);
  border: 1px solid var(--ink);
}

.pill-outline {
  background: transparent;
  border: 1px solid var(--line-2);
  color: var(--text-2);
  font-weight: 600;
}

.coming-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.coming-list li {
  background: var(--raise);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  max-width: none;
}

.coming-list p {
  margin: 0.4rem 0 0;
  color: var(--text-2);
}

/* Notice box */
.notice {
  background: var(--raise);
  border: 1px solid var(--line-2);
  border-left: 4px solid var(--volt);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: var(--shadow);
}

/* FAQ disclosure (used on later pages) */
.faq {
  display: grid;
  gap: 12px;
  margin-top: 1.5rem;
}

.faq details {
  background: var(--raise);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
}

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

.faq summary::marker {
  content: "";
}

.faq summary::after {
  content: "";
  flex: none;
  margin-left: auto;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.18s cubic-bezier(0.2, 0.6, 0.3, 1);
}

.faq details[open] summary::after {
  transform: rotate(225deg);
}

/* CTA band */
.cta-band {
  background: var(--ink);
  color: #eceeec;
  border-top: 4px solid var(--volt);
}

.cta-band h2 {
  color: #ffffff;
}

.cta-band p {
  color: #cfd3d4;
}

.cta-band a:not(.btn) {
  color: var(--volt);
}

/* Footer */
.site-footer {
  background: var(--raise);
  border-top: 1px solid var(--line);
  color: var(--text-2);
}

.footer-grid {
  display: grid;
  gap: 24px;
  padding-top: 2rem;
  padding-bottom: 1rem;
}

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.footer-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text-2);
  text-decoration: none;
}

.footer-list a:hover {
  color: var(--text);
  text-decoration: underline;
}

.footer-note {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  padding-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.footer-note p {
  margin-bottom: 0.35rem;
  max-width: none;
}

.footer-note a {
  color: var(--text-2);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.footer-base {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  padding-bottom: 2rem;
  font-size: 0.92rem;
  color: var(--muted);
}

/* Phase 6 fixes: spacing, steps variant, card alignment, mobile cues */
.coming-list + p {
  margin-top: 1.5rem;
}

@media (min-width: 1020px) {
  .steps-6 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4 .card-title {
    min-height: 2.3em;
  }
}

@media (max-width: 639px) {
  .site-nav {
    width: 100%;
    margin-left: 0;
  }
  .nav-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 8px;
  }
  .nav-list a {
    justify-content: center;
    text-align: center;
  }
  .table-wrap {
    -webkit-mask-image: linear-gradient(to right, #000 88%, transparent 100%);
    mask-image: linear-gradient(to right, #000 88%, transparent 100%);
  }
}

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

  *,
  *::before,
  *::after {
    animation: none;
    transition: none;
  }
  .faq summary::after {
    transition: none;
  }
}
