/* Auris site palette - ported from HearTheme.swift (triadic: gold + two navies) */

:root {
  --gold: #d9a441;
  --gold-bright: #efc875;
  --gold-soft: #f6ead2;
  --navy-dark: #081527;
  --navy-mid: #17385c;
  --navy-deep: #102947;

  --bg: #f7f2e8;
  --bg-elevated: rgba(255, 255, 255, 0.78);
  --card-bg: rgba(255, 255, 255, 0.9);
  --card-bg-strong: #ffffff;
  --fg: #091728;
  --fg-muted: #526887;
  --accent: #724712;
  --accent-decorative: #d9a441;
  --border: rgba(23, 56, 92, 0.12);
  --border-strong: rgba(23, 56, 92, 0.2);
  --shadow: 0 1px 2px rgba(8, 21, 39, 0.04), 0 10px 30px rgba(8, 21, 39, 0.06);
  --shadow-lg: 0 20px 55px rgba(8, 21, 39, 0.12);

  --max: 700px;
  --max-wide: 1120px;

  --font-display: "Avenir Next", "SF Pro Display", "Segoe UI", sans-serif;
  --font-body: "SF Pro Text", "Avenir Next", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #09101c;
    --bg-elevated: rgba(18, 29, 46, 0.8);
    --card-bg: rgba(18, 29, 46, 0.92);
    --card-bg-strong: #121d2e;
    --fg: #edf3fb;
    --fg-muted: #b7c8de;
    --accent: #f1ce86;
    --accent-decorative: #e0b860;
    --border: rgba(255, 255, 255, 0.12);
    --border-strong: rgba(255, 255, 255, 0.18);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 28px rgba(0, 0, 0, 0.24);
    --shadow-lg: 0 20px 55px rgba(0, 0, 0, 0.3);
    --gold-soft: #3a2d1b;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  color: var(--fg);
  background:
    radial-gradient(circle at top left, rgba(217, 164, 65, 0.18), transparent 34%),
    radial-gradient(circle at 85% 12%, rgba(23, 56, 92, 0.12), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.45), transparent 16%),
    var(--bg);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--navy-mid) 0%, var(--gold) 50%, var(--navy-mid) 100%);
}

.landing-page {
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: var(--accent-decorative);
  text-decoration-thickness: 1.5px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

a:hover { text-decoration: none; }

.nav {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 1.3rem 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 2;
}

.nav .brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav .brand::before {
  content: "";
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff0c7, var(--gold) 48%, #956418 100%);
  box-shadow: 0 0 0 6px rgba(217, 164, 65, 0.12);
}

.nav .links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
}

.nav .links a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav .links a:hover { color: var(--fg); }

.nav .links a.button {
  color: #ffffff;
  font-weight: 700;
}

.nav .links a.button.secondary {
  color: var(--fg);
}

.container,
.landing-main {
  position: relative;
  z-index: 1;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.5rem 1rem;
}

/* Landing page now uses full-bleed bands; inner content is max-width capped */
.landing-main {
  display: block;
  padding: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
}

h1 {
  font-size: 2.65rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.04;
  margin-bottom: 1.25rem;
  color: var(--fg);
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 5.2vw, 4.5rem);
  margin-bottom: 1.4rem;
  max-width: 14ch;
}

.hero-copy h1 .accent {
  color: var(--accent-decorative);
}

h2 {
  font-size: 1.95rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-top: 0.4rem;
  margin-bottom: 0.9rem;
  color: var(--fg);
}

h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
  color: var(--fg);
}

p { margin-bottom: 1rem; }

ul, ol { margin: 0 0 1.25rem 1.5rem; }
li { margin-bottom: 0.4rem; }
li::marker { color: var(--accent-decorative); }

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 3rem 0;
}

.lede {
  font-size: 1.15rem;
  color: var(--fg-muted);
  margin-bottom: 1.75rem;
  line-height: 1.65;
  max-width: 40rem;
}

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

.eyebrow {
  color: var(--accent-decorative);
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 0.55rem;
}

.on-dark {
  color: #edf3fb;
}

.on-dark.eyebrow {
  color: var(--gold-bright);
}

.on-dark-muted {
  color: rgba(255, 255, 255, 0.72);
}

.callout {
  background: var(--gold-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0 2rem;
}

.callout h3 { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }
.callout ul:last-child, .callout ol:last-child { margin-bottom: 0; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--navy-dark);
  color: #ffffff;
  text-decoration: none;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.96rem;
  min-height: 44px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.button:hover {
  transform: translateY(-1px);
  text-decoration: none;
  box-shadow: var(--shadow-lg);
}

.button.gold,
.button.button-gold {
  background: var(--gold);
  color: var(--navy-dark);
}

.button.secondary {
  background: transparent;
  color: var(--fg);
  border-color: var(--border-strong);
  box-shadow: none;
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.45);
  border-color: var(--accent-decorative);
}

.nav-cta {
  padding: 0.72rem 1.05rem;
  font-size: 0.9rem;
  min-height: 40px;
}

/* ============================================================
   BAND SYSTEM — full-bleed sections with max-width inner wrappers
   ============================================================ */

.band {
  position: relative;
  padding: 4rem 1.5rem;
  overflow: hidden;
}

.band-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.band-hero {
  padding: 1.75rem 1.5rem 3.5rem;
}

.band-hero::before {
  content: "";
  position: absolute;
  top: -6rem;
  left: -8rem;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 164, 65, 0.22), rgba(217, 164, 65, 0) 70%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}

.band-hero::after {
  content: "";
  position: absolute;
  right: -10rem;
  bottom: -6rem;
  width: 26rem;
  height: 26rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23, 56, 92, 0.18), rgba(23, 56, 92, 0) 70%);
  filter: blur(14px);
  pointer-events: none;
  z-index: 0;
}

.band--light {
  background: transparent;
}

.band--dark {
  background:
    radial-gradient(circle at 15% 10%, rgba(217, 164, 65, 0.14), transparent 40%),
    radial-gradient(circle at 90% 90%, rgba(239, 200, 117, 0.08), transparent 45%),
    linear-gradient(135deg, var(--navy-dark) 0%, #0b2041 60%, var(--navy-mid) 100%);
  color: #edf3fb;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.band--dark h2,
.band--dark h3,
.band--dark strong {
  color: #ffffff;
}

.band--accent {
  background:
    radial-gradient(circle at 85% 20%, rgba(217, 164, 65, 0.22), transparent 42%),
    linear-gradient(135deg, rgba(217, 164, 65, 0.12), rgba(217, 164, 65, 0.02)),
    var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.band--cta {
  padding: 3rem 1.5rem 4rem;
}

.band--cta .band-inner {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-mid));
  color: #ffffff;
  padding: 2.5rem 2rem;
  border-radius: 2rem;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}

.band--cta .band-inner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(217, 164, 65, 0.16), transparent 60%);
  pointer-events: none;
}

/* ============================================================
   HERO + COUNTDOWN
   ============================================================ */

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 2.75rem;
}

.hero-copy {
  max-width: 40rem;
  animation: rise-in 0.7s ease both;
}

.countdown {
  display: inline-flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  padding: 1rem 1.15rem 1.1rem;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-mid));
  color: #ffffff;
  box-shadow: var(--shadow-lg);
  max-width: 100%;
  position: relative;
  overflow: hidden;
}

.countdown::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(217, 164, 65, 0.25), transparent 55%);
  pointer-events: none;
}

.countdown-heading {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-bright);
  position: relative;
  z-index: 1;
}

.countdown-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 0 4px rgba(239, 200, 117, 0.2);
  animation: pulse 2s ease-in-out infinite;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
  position: relative;
  z-index: 1;
}

.countdown-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.6rem 0.3rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-width: 0;
}

.countdown-cell strong {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: #ffffff;
  font-weight: 800;
}

.countdown-cell span {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 2rem 0 0;
}

.hero-visual {
  position: relative;
  animation: rise-in 0.85s ease 0.08s both;
}

.hero-panel {
  position: relative;
  padding: 1.5rem;
  border-radius: 2rem;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), transparent 42%), var(--card-bg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  isolation: isolate;
}

.hero-panel::before {
  content: "";
  position: absolute;
  top: -6rem;
  left: -2rem;
  width: 18rem;
  height: 18rem;
  background: radial-gradient(circle, rgba(217, 164, 65, 0.2), transparent 70%);
  z-index: -1;
}

.hero-panel::after {
  content: "";
  position: absolute;
  right: -3rem;
  bottom: -5rem;
  width: 16rem;
  height: 16rem;
  background: radial-gradient(circle, rgba(23, 56, 92, 0.18), transparent 68%);
  z-index: -1;
}

.hero-panel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  color: var(--fg-muted);
  font-size: 0.85rem;
}

.mini-label {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.mini-pill {
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
}

.score-ring {
  position: relative;
  width: min(15.5rem, 80%);
  aspect-ratio: 1;
  margin: 0.5rem auto 1rem;
  padding: 1rem;
  border-radius: 50%;
  background: conic-gradient(from 210deg, var(--accent-decorative) 0 285deg, rgba(23, 56, 92, 0.12) 285deg 360deg);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35), 0 18px 40px rgba(8, 21, 39, 0.12);
}

.score-ring::after {
  content: "";
  position: absolute;
  inset: 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
}

.score-ring-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72)), var(--card-bg-strong);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: inset 0 0 0 1px var(--border);
}

.score-ring-inner span {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--fg-muted);
}

.score-ring-inner strong {
  font-size: 3.85rem;
  line-height: 1;
  letter-spacing: -0.06em;
  font-family: var(--font-display);
  margin: 0.45rem 0 0.35rem;
}

.score-ring-inner small {
  font-size: 0.9rem;
  color: var(--fg-muted);
}

.waveform {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.3rem;
  height: 3.5rem;
  margin-top: 0.5rem;
  padding: 0.5rem 0;
}

.waveform span {
  display: block;
  width: 0.3rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent-decorative), #b8791f);
  transform-origin: bottom;
  animation: wave 1.4s ease-in-out infinite;
}

.waveform span:nth-child(1)  { height: 28%; animation-delay: -1.3s; }
.waveform span:nth-child(2)  { height: 45%; animation-delay: -1.2s; }
.waveform span:nth-child(3)  { height: 62%; animation-delay: -1.1s; }
.waveform span:nth-child(4)  { height: 88%; animation-delay: -1.0s; }
.waveform span:nth-child(5)  { height: 56%; animation-delay: -0.9s; }
.waveform span:nth-child(6)  { height: 34%; animation-delay: -0.8s; }
.waveform span:nth-child(7)  { height: 72%; animation-delay: -0.7s; }
.waveform span:nth-child(8)  { height: 95%; animation-delay: -0.6s; }
.waveform span:nth-child(9)  { height: 48%; animation-delay: -0.5s; }
.waveform span:nth-child(10) { height: 66%; animation-delay: -0.4s; }
.waveform span:nth-child(11) { height: 38%; animation-delay: -0.3s; }
.waveform span:nth-child(12) { height: 82%; animation-delay: -0.2s; }
.waveform span:nth-child(13) { height: 52%; animation-delay: -0.1s; }
.waveform span:nth-child(14) { height: 28%; animation-delay: 0s; }

/* ============================================================
   SECTION HEADER (shared across bands)
   ============================================================ */

.section-header {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
  max-width: 44rem;
}

.section-intro {
  margin-bottom: 0;
  color: var(--fg-muted);
  font-size: 1.05rem;
}

.section-intro.on-dark-muted {
  color: rgba(255, 255, 255, 0.72);
}

/* ============================================================
   PILLARS (dark band)
   ============================================================ */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.pillar {
  display: grid;
  gap: 0.5rem;
  padding: 1.75rem 1.5rem 1.6rem;
  border-radius: 1.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.pillar:hover {
  transform: translateY(-3px);
  border-color: rgba(239, 200, 117, 0.35);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.pillar-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  color: var(--gold-bright);
  margin-bottom: 0.25rem;
}

.pillar strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.pillar p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  line-height: 1.55;
}

/* ============================================================
   TABS (inside-the-app band)
   ============================================================ */

.tabs {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
  padding: 0.25rem 0 0.75rem;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}

.tabs::-webkit-scrollbar {
  height: 6px;
}

.tabs::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 3px;
}

.tab {
  flex-shrink: 0;
  font-family: var(--font-body);
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--fg-muted);
  font-weight: 600;
  font-size: 0.92rem;
  min-height: 40px;
  cursor: pointer;
  transition: all 0.15s ease;
  scroll-snap-align: start;
  white-space: nowrap;
}

.tab:hover {
  color: var(--fg);
  border-color: var(--border-strong);
}

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

.tab.active {
  background: var(--navy-dark);
  color: #ffffff;
  border-color: var(--navy-dark);
  box-shadow: var(--shadow);
}

.tab-panels {
  position: relative;
  min-height: 11rem;
}

.tab-panel {
  display: none;
  padding: 2rem 2rem 2.1rem;
  border-radius: 1.5rem;
  background: var(--card-bg-strong);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.tab-panel.active {
  display: block;
  animation: fade-up 0.35s ease both;
}

.tab-panel strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.55rem;
  color: var(--fg);
}

.tab-panel p {
  margin: 0;
  color: var(--fg-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 42rem;
}

/* ============================================================
   PRIVACY BAND
   ============================================================ */

.privacy-band {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 2rem;
  align-items: start;
}

.privacy-copy h2 {
  margin-top: 0;
}

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

.privacy-list {
  display: grid;
  gap: 0.75rem;
}

.privacy-point {
  padding: 1rem 1.1rem;
  border-radius: 1.15rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.privacy-point strong {
  display: block;
  margin-bottom: 0.3rem;
}

.privacy-point span {
  color: var(--fg-muted);
  font-size: 0.95rem;
}

/* ============================================================
   CTA BANNER
   ============================================================ */

.cta-banner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.cta-copy {
  max-width: 40rem;
}

.cta-banner .eyebrow {
  margin-top: 0;
}

.cta-banner h2 {
  margin: 0 0 0.65rem;
  color: #ffffff;
}

.cta-banner p {
  margin: 0 0 0.9rem;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.cta-banner .button {
  flex-shrink: 0;
  background: var(--gold);
  color: var(--navy-dark);
}

.countdown-mini {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.5rem 0 0;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  font-variant-numeric: tabular-nums;
}

.countdown-mini strong {
  color: var(--gold-bright);
  font-weight: 700;
}

/* ============================================================
   FOOTER
   ============================================================ */

footer {
  border-top: 1px solid var(--border);
  max-width: var(--max-wide);
  margin: 3rem auto 0;
  padding: 2rem 1.5rem;
  color: var(--fg-muted);
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

footer a {
  color: var(--fg-muted);
  text-decoration: none;
  text-decoration-color: var(--border);
}

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

footer .links a { margin-left: 1.25rem; }
footer .links a:first-child { margin-left: 0; }

.landing-page footer {
  flex-direction: column;
  align-items: flex-start;
  gap: 1.4rem;
}

.app-store-badge {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  flex-wrap: wrap;
}

.app-store-badge a {
  display: inline-block;
  line-height: 0;
  border-radius: 8px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.app-store-badge a:hover {
  transform: translateY(-1px);
  opacity: 0.88;
}

.app-store-badge a:focus-visible {
  outline: 2px solid var(--accent-decorative);
  outline-offset: 3px;
}

.app-store-badge img {
  display: block;
  height: 48px;
  width: auto;
}

.app-store-badge span {
  color: var(--fg-muted);
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.9em;
  background: var(--gold-soft);
  color: var(--accent);
  padding: 0.15em 0.4em;
  border-radius: 4px;
}

/* ============================================================
   STATUS PILL (retained for other contexts)
   ============================================================ */

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.64);
  backdrop-filter: blur(12px);
  color: var(--fg);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  width: fit-content;
}

.status-pill::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent-decorative);
  box-shadow: 0 0 0 4px rgba(217, 164, 65, 0.16);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes wave {
  0%, 100% { transform: scaleY(0.4); }
  50%      { transform: scaleY(1); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(239, 200, 117, 0.2); }
  50%      { box-shadow: 0 0 0 7px rgba(239, 200, 117, 0.08); }
}

/* ============================================================
   DARK MODE ADJUSTMENTS
   ============================================================ */

@media (prefers-color-scheme: dark) {
  .mini-pill,
  .privacy-point,
  .tab,
  .tab-panel {
    background: rgba(18, 29, 46, 0.85);
  }

  .button {
    background: var(--gold);
    color: var(--navy-dark);
  }

  .button.secondary {
    color: var(--fg);
  }

  .button.secondary:hover {
    background: rgba(255, 255, 255, 0.05);
  }

  .score-ring-inner {
    background: linear-gradient(180deg, rgba(18, 29, 46, 0.96), rgba(18, 29, 46, 0.86));
  }

  .band--accent {
    background:
      radial-gradient(circle at 85% 20%, rgba(217, 164, 65, 0.12), transparent 42%),
      linear-gradient(135deg, rgba(217, 164, 65, 0.05), rgba(217, 164, 65, 0.01)),
      var(--bg);
  }

  .tab.active {
    background: var(--gold);
    color: var(--navy-dark);
    border-color: var(--gold);
  }
}

/* ============================================================
   RESPONSIVE — tablet / small desktop
   ============================================================ */

@media (max-width: 960px) {
  .band {
    padding: 3rem 1.25rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-visual {
    max-width: 32rem;
    width: 100%;
    margin: 0 auto;
  }

  .pillars {
    grid-template-columns: 1fr;
  }

  .privacy-band {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================================
   RESPONSIVE — mobile
   ============================================================ */

@media (max-width: 640px) {
  body::before {
    height: 3px;
  }

  .nav {
    padding: 1rem 1.25rem 0;
    flex-wrap: wrap;
    align-items: center;
  }

  .nav .links {
    width: 100%;
    justify-content: flex-start;
    gap: 0.85rem;
  }

  .nav .links a {
    font-size: 0.9rem;
  }

  .container {
    padding-top: 2rem;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.55rem; }

  .band {
    padding: 2.75rem 1.15rem;
  }

  .band-hero {
    padding: 1.25rem 1.15rem 2.5rem;
  }

  .band--cta .band-inner {
    padding: 2rem 1.4rem;
    border-radius: 1.5rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.25rem, 9vw, 3rem);
    max-width: none;
  }

  .lede {
    font-size: 1.05rem;
  }

  .countdown {
    display: flex;
    width: 100%;
    padding: 0.95rem 1rem 1rem;
  }

  .countdown-grid {
    gap: 0.45rem;
  }

  .countdown-cell {
    padding: 0.55rem 0.2rem;
  }

  .countdown-cell strong {
    font-size: 1.55rem;
  }

  .countdown-cell span {
    font-size: 0.58rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-panel {
    padding: 1.15rem;
  }

  .score-ring {
    width: min(100%, 13.5rem);
  }

  .score-ring-inner strong {
    font-size: 3rem;
  }

  .tabs {
    margin-left: -1.15rem;
    margin-right: -1.15rem;
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  .tab-panel {
    padding: 1.5rem 1.35rem 1.6rem;
    border-radius: 1.25rem;
  }

  .tab-panel strong {
    font-size: 1.3rem;
  }

  .tab-panel p {
    font-size: 1rem;
  }

  .pillar {
    padding: 1.4rem 1.25rem;
  }

  .privacy-point {
    padding: 0.9rem 1rem;
  }

  .cta-banner {
    gap: 1.25rem;
  }

  .cta-banner .button {
    width: 100%;
  }

  footer {
    flex-direction: column;
    padding: 1.75rem 1.25rem;
  }

  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .app-store-badge img {
    height: 44px;
  }

  footer .links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }

  footer .links a {
    margin: 0;
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
