:root {
  --ember: #b8210f;
  --flare: #e76814;
  --glow: #dc8236;
  --sand: #d8d4bc;
  --cocoa: #714236;
  --ink: #2a1f1a;
  --muted: #6b5348;
  --cream: #faf7f2;
  --surface: #fffbf7;
  --line: rgba(113, 66, 54, 0.12);
  --shadow: 0 28px 60px rgba(42, 31, 26, 0.18);
  --radius: 18px;
  --max: 1120px;
  --font: "Outfit", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--cream) 86%, transparent);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 6.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
}

.brand img {
  width: auto;
  height: 5.2rem;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ember);
}

.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.15rem;
  height: 2px;
  border-radius: 2px;
  background: var(--ember);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  border-radius: 12px;
  padding: 0.7rem 1.15rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  background: #1a130f;
}

.btn-ember {
  background: var(--ember);
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  align-items: center;
  justify-content: center;
  justify-self: end;
}

.menu-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
}

.menu-toggle span::before {
  top: -5px;
}

.menu-toggle span::after {
  top: 5px;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  overflow: hidden;
  padding: 2.5rem 0 1rem;
  min-height: min(88vh, 820px);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  opacity: 0.92;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(250, 247, 242, 0.96) 0%, rgba(250, 247, 242, 0.78) 38%, rgba(250, 247, 242, 0.18) 68%, rgba(250, 247, 242, 0.05) 100%),
    linear-gradient(180deg, rgba(250, 247, 242, 0.35) 0%, transparent 28%, rgba(250, 247, 242, 0.55) 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid color-mix(in srgb, var(--ember) 35%, transparent);
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  color: var(--ember);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  animation: rise 0.7s ease both;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.5rem, 5.2vw, 4.1rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 700;
  animation: rise 0.75s ease 0.05s both;
}

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

.hero-lead {
  max-width: 34rem;
  margin: 0 0 1.6rem;
  color: var(--muted);
  font-size: 1.08rem;
  animation: rise 0.75s ease 0.1s both;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 0.75s ease 0.15s both;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.store-badge:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

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

.store-badge-play img {
  height: 60px;
  margin: -10px -12px;
}

.phone-stage {
  display: flex;
  justify-content: center;
  animation: float-in 0.9s ease 0.12s both;
}

.phone {
  width: min(100%, 290px);
  aspect-ratio: 853 / 1844;
  border-radius: 38px;
  padding: 10px;
  background: linear-gradient(160deg, #2a221e, #111);
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  position: relative;
}

.phone::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 28%;
  height: 18px;
  border-radius: 999px;
  background: #0a0a0a;
  z-index: 2;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: #fff;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* ——— Features ——— */
.features {
  padding: 4.5rem 0 5.5rem;
  background: var(--cream);
  position: relative;
}

.features h2 {
  margin: 0 auto 2.75rem;
  max-width: 28rem;
  text-align: center;
  font-size: clamp(1.55rem, 2.6vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.feature {
  text-align: center;
}

.feature-icon {
  width: 3.4rem;
  height: 3.4rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
}

.feature-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.feature h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

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

/* ——— Inner pages ——— */
.page-hero {
  padding: 3.5rem 0 2rem;
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
}

.page-hero p {
  margin: 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.content {
  padding: 0 0 4.5rem;
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  margin: 2rem 0 0.7rem;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

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

.prose a {
  color: var(--ember);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.support-card {
  display: grid;
  gap: 1rem;
  max-width: 36rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.support-card strong {
  display: block;
  margin-bottom: 0.2rem;
}

/* ——— Support page ——— */
.support-hero {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  padding: 4rem 0 3.5rem;
}

.support-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.support-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.support-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(250, 247, 242, 0.97) 0%, rgba(250, 247, 242, 0.82) 42%, rgba(250, 247, 242, 0.2) 72%, rgba(250, 247, 242, 0.05) 100%);
}

.support-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 34rem;
}

.support-hero-copy h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.support-hero-copy .accent {
  color: var(--flare);
}

.support-hero-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 28rem;
}

.support-help {
  padding: 3.5rem 0 1rem;
}

.section-intro {
  text-align: center;
  margin-bottom: 2.25rem;
}

.section-intro h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.55rem, 2.8vw, 2rem);
  letter-spacing: -0.03em;
}

.section-intro p {
  margin: 0;
  color: var(--muted);
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.help-card {
  padding: 1.35rem 1.25rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.help-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--sand) 55%, var(--cream));
  color: var(--ink);
  margin-bottom: 1rem;
}

.help-icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.help-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.help-card p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.help-card a {
  color: var(--ember);
  font-weight: 600;
  font-size: 0.92rem;
}

.help-card a:hover {
  color: var(--flare);
}

.support-more {
  padding: 2.5rem 0 1rem;
}

.support-more-panel {
  display: grid;
  grid-template-columns: auto 1.2fr 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem 1.75rem;
  border-radius: 22px;
  background: color-mix(in srgb, var(--sand) 42%, var(--cream));
  border: 1px solid var(--line);
}

.support-more-visual svg {
  width: 5.5rem;
  height: auto;
  display: block;
}

.support-more-copy h2 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.support-more-copy p {
  margin: 0;
  color: var(--muted);
}

.support-more-meta {
  display: grid;
  gap: 0.9rem;
}

.support-more-meta strong {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.2rem;
  font-size: 0.92rem;
}

.support-more-meta strong svg {
  width: 1rem;
  height: 1rem;
  color: var(--ember);
}

.support-more-meta a,
.support-more-meta span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

.support-more-meta a:hover {
  color: var(--ember);
}

.support-trust {
  padding: 3rem 0 4rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.trust-icon {
  width: 2.4rem;
  height: 2.4rem;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.trust-icon svg {
  width: 100%;
  height: 100%;
}

.trust-grid h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.trust-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.trust-grid a {
  color: var(--ember);
  font-weight: 600;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 44rem;
}

.faq-page {
  max-width: 44rem;
  display: grid;
  gap: 2.5rem;
}

.faq-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.85rem;
  padding-bottom: 0.25rem;
}

.faq-toc a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 560;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.faq-toc a:hover {
  color: var(--ember);
  border-color: color-mix(in srgb, var(--ember) 35%, var(--line));
}

.faq-section {
  scroll-margin-top: 7rem;
}

.faq-section h2 {
  margin: 0 0 0.9rem;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.faq-section .faq-list {
  max-width: none;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

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

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--flare);
  font-weight: 500;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0;
  padding: 0 1.15rem 1.1rem;
  color: var(--muted);
}

/* ——— Footer ——— */
.site-footer {
  --footer-bg: #1b2621;
  background: var(--footer-bg);
  border-top: 0;
  padding: 1.85rem 0 2.35rem;
  color: rgba(250, 247, 242, 0.72);
  font-size: 0.9rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

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

.footer-links a {
  color: rgba(250, 247, 242, 0.78);
}

.footer-links a:hover {
  color: #fff;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 900px) {
  .nav {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 6.5rem;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.25rem 1rem;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 0.85rem 0.25rem;
  }

  .menu-toggle {
    display: inline-flex;
  }

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

  .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(250, 247, 242, 0.88) 0%, rgba(250, 247, 242, 0.55) 42%, rgba(250, 247, 242, 0.82) 100%);
  }

  .phone {
    width: min(100%, 250px);
  }

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

  .help-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .support-more-panel {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .support-hero {
    min-height: 280px;
    padding: 3rem 0 2.5rem;
  }

  .support-hero-bg::after {
    background:
      linear-gradient(180deg, rgba(250, 247, 242, 0.9) 0%, rgba(250, 247, 242, 0.62) 45%, rgba(250, 247, 242, 0.88) 100%);
  }
}

@media (max-width: 560px) {
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .store-row {
    flex-direction: column;
    align-items: stretch;
  }

  .store-badge {
    justify-content: center;
  }
}
