/* ---------------------------------------------------------------------------
   Tumbler Buddy — marketing site (app-landing polish)
   Palette from Flutter app_theme.dart + layout patterns common on mobile app sites.
   --------------------------------------------------------------------------- */

:root {
  --deep-bg: #0d1014;
  --deep-bg-mid: #151a1e;
  --slate: #2a3238;
  --stone: #3d454c;
  --gold: #e8a54b;
  --gold-deep: #b8742a;
  --gold-glow: rgba(232, 165, 75, 0.45);
  --text: #f2f4f5;
  --text-muted: #8b949e;
  --danger: #ff6b6b;
  --success: #6bcf7f;
  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --header-h: 4rem;
  --max: 72rem;
  --pad: clamp(1rem, 4vw, 2rem);
  --glass-bg: rgba(42, 50, 56, 0.55);
  --glass-border: rgba(255, 255, 255, 0.1);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.0625rem);
  line-height: 1.65;
  color: var(--text);
  background-color: var(--deep-bg);
  min-height: 100vh;
  position: relative;
}

/* Ambient mesh — depth without heavy images */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(232, 165, 75, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 95% 30%, rgba(107, 207, 127, 0.08), transparent 50%),
    radial-gradient(ellipse 50% 35% at 10% 80%, rgba(184, 116, 42, 0.12), transparent 45%),
    linear-gradient(180deg, #141a20 0%, var(--deep-bg) 35%, #0a0c0f 100%);
  pointer-events: none;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--pad);
  padding: 0.75rem 1rem;
  background: var(--gold);
  color: #1a1208;
  font-weight: 700;
  border-radius: var(--radius-sm);
  z-index: 10000;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0.5rem;
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

/* Reading progress — thin gold bar under the sticky header */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 1001;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.06);
}

.scroll-progress__fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), #f0d080);
  box-shadow: 0 0 12px var(--gold-glow);
  transition: width 0.12s linear;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress__fill {
    transition: none;
  }
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.125rem, 1.35rem + 3.5vw, 3.5rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.65rem, 1.2rem + 1.75vw, 2.35rem);
  margin: 0 0 0.75rem;
}

h3 {
  font-size: 1.0625rem;
  margin: 0 0 0.5rem;
}

p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #f0b85c;
}

/* ---------------------------------------------------------------------------
   Section headings — kicker + title like product sites
   --------------------------------------------------------------------------- */
.section-head {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 2.75rem;
}

.section-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 0.65rem;
}

.section-head .section-lead {
  font-size: 1.0625rem;
  margin: 0;
}

/* ---------------------------------------------------------------------------
   Sticky top: testing banner + header
   --------------------------------------------------------------------------- */
.site-top {
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Open-testing strip — short instructions + external link to Google Group */
.beta-banner {
  margin: 0;
  padding: 0.5rem var(--pad);
  text-align: center;
  font-size: clamp(0.8125rem, 2.4vw, 0.9375rem);
  line-height: 1.5;
  color: var(--text);
  background: linear-gradient(90deg, rgba(232, 165, 75, 0.2), rgba(184, 116, 42, 0.12) 50%, rgba(232, 165, 75, 0.16));
  border-bottom: 1px solid rgba(232, 165,75, 0.35);
}

.beta-banner__text {
  margin: 0 auto;
  max-width: var(--max);
}

.beta-banner a {
  color: var(--gold);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.beta-banner a:hover {
  color: #f0c070;
}

.beta-banner a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------------------------------------------------------------------------
   Header
   --------------------------------------------------------------------------- */
.site-header {
  position: relative;
  z-index: 1;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(13, 16, 20, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
}

.site-header__inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.65rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
}

.brand:hover {
  color: var(--gold);
}

.brand__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 22%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(232, 165, 75, 0.5);
  box-shadow: 0 0 20px var(--gold-glow), 0 4px 14px rgba(0, 0, 0, 0.45);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  background: var(--glass-bg);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 20px;
}

.nav-toggle__bars span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.site-header.is-open .nav-toggle__bars span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .nav-toggle__bars span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.1rem;
  align-items: center;
}

.site-nav a {
  color: rgba(242, 244, 245, 0.72);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.5rem 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--gold);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 12, 15, 0.97);
    border-bottom: 1px solid var(--glass-border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .site-header.is-open .site-nav {
    max-height: 420px;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 0.35rem var(--pad) 1rem;
    gap: 0;
  }

  .site-nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
}

/* ---------------------------------------------------------------------------
   Hero — single column (no fake device beside copy)
   --------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: center;
  padding: 3rem var(--pad) 4rem;
  overflow: hidden;
}

/* Phones: start hero content higher so store badges stay in first viewport */
@media (max-width: 720px) {
  .hero {
    align-items: flex-start;
    min-height: unset;
    padding-top: 0.85rem;
    padding-bottom: 2.75rem;
  }
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Second canvas: slow aurora (drawn in JS) */
.hero__aurora {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

.hero__copy {
  will-change: transform;
}

.hero__title-line {
  display: block;
  animation: heroLineIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  opacity: 0;
}

.hero__title-line:nth-child(1) {
  animation-delay: 0.06s;
}

.hero__title-line:nth-child(2) {
  animation-delay: 0.22s;
}

@keyframes heroLineIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__title-line {
    animation: none;
    opacity: 1;
  }
}

.hero__title-line--gold {
  background: linear-gradient(105deg, #fff 0%, var(--gold) 45%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.06em;
}

.hero__app-icon {
  width: clamp(4.5rem, 12vw, 6.25rem);
  height: clamp(4.5rem, 12vw, 6.25rem);
  border-radius: 22%;
  object-fit: cover;
  display: block;
  border: 3px solid rgba(232, 165, 75, 0.45);
  box-shadow:
    0 0 40px var(--gold-glow),
    0 16px 40px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 0.65rem;
}

.hero__store-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin: 0.85rem auto 1.15rem;
}

/* Hero badges: readable above the fold without dominating */
.hero__store-strip .store-badge {
  height: 42px;
}

.hero__store-strip .store-badge--apple {
  height: 38px;
}

@media (min-width: 480px) {
  .hero__store-strip .store-badge {
    height: 46px;
  }

  .hero__store-strip .store-badge--apple {
    height: 42px;
  }
}

.hero__lead {
  font-size: clamp(1.0625rem, 0.98rem + 0.45vw, 1.28rem);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.75rem;
  color: rgba(242, 244, 245, 0.78);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  justify-content: center;
}

.hero__icon-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

/* ---------------------------------------------------------------------------
   Buttons
   --------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.5rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.btn--primary {
  background: linear-gradient(145deg, var(--gold), var(--gold-deep));
  color: #1a1208;
  box-shadow: 0 6px 28px rgba(232, 165, 75, 0.4);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(232, 165, 75, 0.5);
  color: #1a1208;
}

.btn--ghost {
  background: rgba(61, 69, 76, 0.35);
  color: var(--text);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn--block {
  width: 100%;
}

/* ---------------------------------------------------------------------------
   Sections & reveal
   --------------------------------------------------------------------------- */
.section {
  padding: 4rem var(--pad);
}

.section--alt {
  background: rgba(8, 10, 13, 0.45);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.container {
  max-width: var(--max);
  margin: 0 auto;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.section__intro {
  max-width: 40rem;
  margin-bottom: 2rem;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17.5rem, 1fr));
  gap: 1.25rem;
}

.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 165, 75, 0.55), transparent);
  pointer-events: none;
}

.feature-card__icon {
  font-size: 1.65rem;
  line-height: 1;
  margin-bottom: 0.75rem;
  filter: drop-shadow(0 0 10px var(--gold-glow));
}

.feature-card p {
  font-size: 0.9375rem;
}

/* Subtle 3D tilt driven by JS (.js-tilt) on pointer devices */
.glass-card.js-tilt {
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
}

@media (prefers-reduced-motion: reduce) {
  .glass-card.js-tilt {
    transition: none;
  }
}

/* ---------------------------------------------------------------------------
   Plans — dual cards (replaces cramped table)
   --------------------------------------------------------------------------- */
.plan-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  max-width: 920px;
  margin: 0 auto;
}

@media (min-width: 800px) {
  .plan-grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.plan-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem 1.75rem;
  border: 1px solid var(--glass-border);
  background: rgba(26, 31, 36, 0.75);
  box-shadow: var(--shadow);
}

.plan-card--free {
  border-color: rgba(255, 255, 255, 0.1);
}

.plan-card--premium {
  border: 2px solid transparent;
  background:
    linear-gradient(rgba(22, 28, 34, 0.95), rgba(22, 28, 34, 0.95)) padding-box,
    linear-gradient(145deg, var(--gold), var(--gold-deep), #5a8f6a) border-box;
  box-shadow:
    0 0 0 1px rgba(232, 165, 75, 0.25),
    0 24px 60px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(232, 165, 75, 0.12);
}

.plan-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.plan-badge--muted {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.plan-badge--gold {
  background: linear-gradient(145deg, var(--gold), var(--gold-deep));
  color: #1a1208;
}

.plan-card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: var(--text);
}

.plan-card__tagline {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

.plan-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.plan-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.9375rem;
  color: rgba(242, 244, 245, 0.85);
}

.plan-list li:last-child {
  border-bottom: none;
}

.plan-icon {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

.plan-icon--yes {
  background: rgba(107, 207, 127, 0.2);
  color: var(--success);
}

.plan-icon--no {
  background: rgba(255, 107, 107, 0.12);
  color: var(--danger);
}

.plan-icon--star {
  background: rgba(232, 165, 75, 0.2);
  color: var(--gold);
}

.plan-footnote {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
  max-width: 36rem;
  margin: 2rem auto 0;
  line-height: 1.5;
}

/* ---------------------------------------------------------------------------
   Screenshot carousel
   --------------------------------------------------------------------------- */
.screens-carousel {
  position: relative;
  max-width: 56rem;
  margin: 0 auto;
}

.screens-carousel__frame {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.35rem;
}

@media (max-width: 520px) {
  .screens-carousel__frame {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .screens-carousel__arrow--prev {
    order: 2;
    justify-self: start;
  }

  .screens-carousel__viewport {
    order: 1;
  }

  .screens-carousel__arrow--next {
    order: 3;
    justify-self: end;
  }
}

.screens-carousel__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  background: rgba(12, 14, 18, 0.65);
  outline: none;
}

.screens-carousel__viewport:focus-visible {
  box-shadow: 0 0 0 2px var(--gold);
}

.screens-carousel__viewport::-webkit-scrollbar {
  height: 8px;
}

.screens-carousel__viewport::-webkit-scrollbar-thumb {
  background: rgba(232, 165, 75, 0.35);
  border-radius: 999px;
}

.screens-carousel__track {
  list-style: none;
  margin: 0;
  padding: 1.25rem 0.75rem 1.5rem;
  display: flex;
  gap: 1.25rem;
  width: max-content;
}

.screens-carousel__slide {
  flex: 0 0 auto;
  width: min(280px, 78vw);
  scroll-snap-align: center;
}

.screens-carousel__figure {
  margin: 0;
  text-align: center;
}

.screens-carousel__figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55);
  background: #151a1e;
}

.screens-carousel__cap {
  margin-top: 0.65rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text);
}

.screens-carousel__arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(232, 165, 75, 0.35);
  background: rgba(232, 165, 75, 0.1);
  color: var(--gold);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s ease,
    transform 0.15s ease,
    opacity 0.2s ease;
}

.screens-carousel__arrow:hover:not(:disabled) {
  background: rgba(232, 165, 75, 0.22);
  transform: scale(1.05);
}

.screens-carousel__arrow:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.screens-carousel__arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.screens-carousel__dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.screens-carousel__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.screens-carousel__dot:hover {
  background: rgba(232, 165, 75, 0.5);
  transform: scale(1.15);
}

.screens-carousel__dot.is-active {
  background: var(--gold);
  transform: scale(1.2);
}

.screens-carousel__dot:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .screens-carousel__viewport {
    scroll-behavior: auto;
  }

  .screens-carousel__arrow,
  .screens-carousel__dot {
    transition: none;
  }
}

/* ---------------------------------------------------------------------------
   FAQ accordion
   --------------------------------------------------------------------------- */
.faq-accordion {
  max-width: 44rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.faq-accordion__item {
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  background: rgba(26, 31, 36, 0.65);
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.faq-accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  margin: 0;
  border: none;
  background: transparent;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  min-height: 52px;
}

.faq-accordion__trigger:hover {
  background: rgba(232, 165, 75, 0.06);
}

.faq-accordion__trigger:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

.faq-accordion__chev {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--gold);
  transition: transform 0.25s ease;
}

.faq-accordion__trigger[aria-expanded="true"] .faq-accordion__chev {
  transform: rotate(180deg);
}

.faq-accordion__panel {
  padding: 0 1.2rem 1.15rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.faq-accordion__panel[hidden] {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .faq-accordion__chev {
    transition: none;
  }
}

/* Store, footer */
.store-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  justify-content: center;
}

.store-badge-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition:
    transform 0.18s ease,
    opacity 0.18s ease;
}

.store-badge-link:hover {
  transform: translateY(-3px);
  opacity: 1;
}

.store-badge-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.store-badge-link .store-badge {
  opacity: 1;
}

.store-note--below-badges {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  max-width: 28rem;
}

.store-badge {
  display: block;
  height: 48px;
  width: auto;
  opacity: 0.92;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

.store-badge--apple {
  height: 44px;
}

.store-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 32rem;
  margin: 0 auto;
  text-align: center;
}

.download-card {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.site-footer {
  padding: 2.75rem var(--pad) 2rem;
  border-top: 1px solid var(--glass-border);
  background: rgba(6, 8, 10, 0.92);
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: flex-start;
}

.site-footer__legal {
  font-size: 0.8125rem;
  color: var(--text-muted);
  max-width: 36rem;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.site-footer__links a {
  font-weight: 600;
  font-size: 0.9375rem;
}

/* Legal pages */
.legal-page main {
  padding: 2rem var(--pad) 4rem;
  max-width: 48rem;
  margin: 0 auto;
}

.legal-page h1 {
  margin-bottom: 0.5rem;
}

.legal-page .legal-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.legal-page h2 {
  margin-top: 2rem;
  font-size: 1.25rem;
}

.legal-page ul {
  color: var(--text-muted);
  padding-left: 1.25rem;
}

.legal-page li {
  margin-bottom: 0.5rem;
}
