/* Broken Tubelight — web design system (warm_glow) */

@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500&display=swap");

:root {
  --bg: #fff8f7;
  --bg-deep: #fff0ec;
  --surface: #ffffff;
  --text: #2c2c2c;
  --muted: #6b6b6b;
  --muted-soft: #9a9590;
  --accent: #e8c547;
  --accent-hover: #d4b23a;
  --accent-soft: #f5e6a8;
  --accent-text: #4a3d10;
  --border: #e8e4e1;
  --success: #5a9e6f;
  --error: #c45c5c;
  --glow: rgba(232, 197, 71, 0.35);
  --shadow-sm: 0 2px 8px rgba(44, 44, 44, 0.04);
  --shadow-md: 0 12px 40px rgba(44, 44, 44, 0.08);
  --shadow-lg: 0 24px 64px rgba(44, 44, 44, 0.1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max-content: 720px;
  --max-wide: 1120px;
  --header-h: 72px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, var(--glow), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  pointer-events: none;
  z-index: -1;
}

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

a {
  color: #8a7420;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s var(--ease-out);
}
a:hover { color: var(--accent-text); }

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

/* ——— Header ——— */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0.75rem 1.25rem;
  background: rgba(255, 248, 247, 0.82);
  border-bottom: 1px solid rgba(232, 228, 225, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.brand:hover { color: inherit; }

.brand-mark {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.brand-text { min-width: 0; }

.brand-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.brand-tagline {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.3;
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
  color: var(--text);
}
.nav-toggle svg { width: 22px; height: 22px; }

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  padding: 0.75rem 1.25rem 1.25rem;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.site-nav.is-open { display: flex; }

.site-nav a {
  padding: 0.75rem 0;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.site-nav a:last-child { border-bottom: none; }
.site-nav a:hover { color: var(--accent-text); }

@media (min-width: 900px) {
  .site-header { padding: 0.75rem 2rem; }
  .nav-toggle { display: none; }
  .site-nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
  }
  .site-nav a {
    padding: 0.5rem 0.85rem;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
  }
  .site-nav a:hover { background: rgba(245, 230, 168, 0.35); }
  .site-nav a.is-active { background: rgba(245, 230, 168, 0.45); color: var(--accent-text); }
  .site-nav .nav-cta {
    margin-left: 0.35rem;
    padding: 0.5rem 1.1rem;
    background: var(--accent);
    color: var(--accent-text);
    font-weight: 600;
    border-radius: var(--radius-md);
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.06);
  }
  .site-nav .nav-cta:hover {
    background: var(--accent-hover);
    color: var(--accent-text);
  }
  .site-nav .nav-cta.is-active {
    background: var(--accent-hover);
    color: var(--accent-text);
  }
}

.site-nav .nav-cta {
  margin-top: 0.5rem;
  padding: 0.85rem 1rem;
  text-align: center;
  font-weight: 600;
  background: var(--accent);
  color: var(--accent-text);
  border-radius: var(--radius-md);
  border-bottom: none !important;
}
.site-nav .nav-cta:hover {
  background: var(--accent-hover);
  color: var(--accent-text);
}
.site-nav a.is-active {
  color: var(--accent-text);
  font-weight: 600;
}

@media (min-width: 900px) {
  .site-nav .nav-cta {
    margin-top: 0;
    padding: 0.5rem 1.1rem;
    text-align: inherit;
  }
}

/* ——— Layout ——— */

main { flex: 1; }

.page-main {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.page-main--wide {
  max-width: var(--max-wide);
}

.page-hero {
  text-align: center;
  margin-bottom: 2.5rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 1rem;
}

.page-hero .lead {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 36rem;
  margin: 0 auto;
  line-height: 1.6;
}

/* ——— Landing hero ——— */

.landing {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 1rem 1.25rem 5rem;
}

.landing-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2.5rem 0 4rem;
  text-align: center;
}

@media (min-width: 900px) {
  .landing-hero {
    grid-template-columns: 1.1fr 0.9fr;
    text-align: left;
    padding: 3rem 0 5rem;
  }
}

.landing-hero__copy { position: relative; z-index: 1; }

.landing-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 1rem 0 1.25rem;
}

.landing-hero .subtitle {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 28rem;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

@media (min-width: 900px) {
  .landing-hero .subtitle { margin-left: 0; margin-right: 0; }
}

.landing-hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 280px;
}

.glow-orb {
  position: absolute;
  width: min(320px, 80vw);
  height: min(320px, 80vw);
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft) 0%, rgba(245, 230, 168, 0.4) 40%, transparent 70%);
  animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.06); opacity: 1; }
}

.hero-mascot {
  position: relative;
  width: min(200px, 45vw);
  height: min(200px, 45vw);
  filter: drop-shadow(0 16px 32px rgba(232, 197, 71, 0.25));
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2rem;
}

@media (min-width: 900px) {
  .hero-actions { justify-content: flex-start; }
}

/* ——— Components ——— */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--accent-soft);
  color: var(--accent-text);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  background: var(--accent);
  color: var(--accent-text);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.06), var(--shadow-sm);
  transition: transform 0.2s var(--ease-out), background 0.2s, box-shadow 0.2s;
}
.btn:hover {
  background: var(--accent-hover);
  color: var(--accent-text);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn:active { transform: translateY(0); }

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  background: var(--bg);
  border-color: var(--accent-soft);
  color: var(--text);
}

.btn-secondary.is-selected,
.donate-amounts .btn-secondary.is-selected {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-text);
}

.btn-ghost {
  background: transparent;
  border: 1px solid transparent;
  box-shadow: none;
  color: var(--muted);
}
.btn-ghost:hover {
  background: rgba(245, 230, 168, 0.25);
  color: var(--text);
  box-shadow: none;
  transform: none;
}

.btn-sm {
  min-height: 40px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card h2, .card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.card-grid {
  display: grid;
  gap: 1.25rem;
  margin: 2rem 0;
}

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

.feature-card {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-soft);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--accent-soft), rgba(245, 230, 168, 0.5));
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.feature-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ——— Sections ——— */

.section {
  padding: 3.5rem 0;
}

.section-header {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2.5rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
}

.section-header p {
  color: var(--muted);
  margin: 0;
  font-size: 1.05rem;
}

.steps {
  display: grid;
  gap: 1.5rem;
  counter-reset: step;
}

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

.step {
  text-align: center;
  padding: 1.5rem 1rem;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}

.step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.cta-band {
  margin: 3rem 0 0;
  padding: 3rem 2rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--surface) 0%, rgba(245, 230, 168, 0.2) 100%);
  border: 1px solid var(--border);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.cta-band p {
  color: var(--muted);
  max-width: 28rem;
  margin: 0 auto 1.5rem;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 2rem 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}

.trust-item span:first-child {
  color: var(--success);
  font-size: 1.1rem;
}

/* ——— Store badges ——— */

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 900px) {
  .store-badges { justify-content: flex-start; }
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-md);
  background: var(--text);
  color: #fff;
  text-decoration: none;
  min-height: 48px;
  transition: transform 0.2s var(--ease-out), opacity 0.2s;
}
.store-badge:hover {
  color: #fff;
  transform: translateY(-2px);
  opacity: 0.92;
}

.store-badge small {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  opacity: 0.85;
  line-height: 1.2;
}

.store-badge strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
}

.store-badge svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.store-badge--soon {
  background: var(--surface);
  color: var(--muted);
  border: 1px dashed var(--border);
  cursor: default;
  pointer-events: none;
}
.store-badge--soon:hover { transform: none; opacity: 1; }

.store-note {
  width: 100%;
  font-size: 0.8rem;
  color: var(--muted-soft);
  margin-top: 0.5rem;
}

/* ——— Forms ——— */

.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.form-input {
  width: 100%;
  max-width: 20rem;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232, 197, 71, 0.25);
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-end;
}

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

.text-sm { font-size: 0.9rem; }

/* ——— Donate ——— */

.donate-amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0;
}

.donate-amounts .btn { min-width: 5.5rem; }

.donate-card {
  max-width: 28rem;
}

/* ——— Prose (legal) ——— */

.prose h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
}

.prose .prose-meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
  letter-spacing: -0.02em;
}

.prose p, .prose li {
  color: var(--text);
  line-height: 1.7;
}

.prose ul {
  padding-left: 1.25rem;
  margin: 0.75rem 0;
}

.prose li { margin-bottom: 0.35rem; }

.prose a { word-break: break-word; }

.prose code {
  background: var(--bg);
  padding: 0.15em 0.45em;
  border-radius: 4px;
  font-size: 0.88em;
  font-family: ui-monospace, "Cascadia Code", monospace;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* ——— Join preview ——— */

.join-preview {
  margin-top: 1.5rem;
  animation: fade-up 0.4s var(--ease-out);
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.join-preview .group-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--accent-text);
}

/* ——— Sign in ——— */

.sign-in-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--header-h) - 120px);
  padding-top: 1.5rem;
  padding-bottom: 3rem;
}

.sign-in-card {
  width: 100%;
  max-width: 26rem;
  padding: 2.5rem 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.sign-in-mascot {
  margin: 0 auto 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.sign-in-card h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
}

.sign-in-lead {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 1.75rem;
  line-height: 1.55;
}

.sign-in-form { text-align: left; }

.form-input--full,
.btn-full { width: 100%; max-width: none; }

.sign-in-status {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: left;
}
.sign-in-status--success {
  background: rgba(90, 158, 111, 0.12);
  color: #3d7a52;
  border: 1px solid rgba(90, 158, 111, 0.25);
}
.sign-in-status--error {
  background: rgba(196, 92, 92, 0.1);
  color: var(--error);
  border: 1px solid rgba(196, 92, 92, 0.25);
}
.sign-in-status--info {
  background: var(--bg);
  color: var(--muted);
  border: 1px solid var(--border);
}

.sign-in-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  color: var(--muted-soft);
  font-size: 0.85rem;
}
.sign-in-divider::before,
.sign-in-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.sign-in-hint {
  margin: 1.25rem 0 0;
  line-height: 1.55;
}

.sign-in-footer-link {
  margin: 1.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.site-footer--compact {
  padding: 1.25rem;
}
.site-footer--compact .footer-bottom {
  margin: 0;
  padding-top: 0;
  border-top: none;
}

/* ——— Passkey ——— */

.passkey-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
}

.passkey-card {
  max-width: 26rem;
  width: 100%;
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.passkey-card h1 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 1rem 0 0.75rem;
}

.passkey-spinner {
  width: 48px;
  height: 48px;
  margin: 0 auto;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ——— Footer ——— */

.site-footer {
  margin-top: auto;
  padding: 2.5rem 1.25rem;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.6);
}

.footer-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-inner { grid-template-columns: 1.5fr 1fr 1fr; }
}

.footer-brand .brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
}

.footer-brand p {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 18rem;
  line-height: 1.5;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-soft);
  margin: 0 0 0.75rem;
}

.footer-col a {
  display: block;
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--muted);
  padding: 0.25rem 0;
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  max-width: var(--max-wide);
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted-soft);
}

/* ——— Utilities ——— */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.text-center { text-align: center; }

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* Legacy class aliases */
.tagline { color: var(--muted); font-size: 0.9rem; }
.logo { font-family: var(--font-display); font-weight: 600; }
.btn.secondary { background: var(--surface); color: var(--text); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.btn.secondary:hover { background: var(--bg); border-color: var(--accent-soft); color: var(--text); }
