:root {
  color-scheme: dark;
  --bg: #050505;
  --card: #0f0f0f;
  --card-2: #141414;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --muted-soft: #71717a;
  --accent: #1ed760;
  --accent-dim: #1db954;
  --accent-soft: #86efac;
  --accent-glow: rgba(30, 215, 96, 0.18);
  --border: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(30, 215, 96, 0.28);
  --max: 1080px;
  --content: 680px;
  --radius: 14px;
  --radius-lg: 20px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
}

a:hover {
  color: var(--accent-soft);
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.75rem;
  z-index: 100;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: var(--accent);
  color: #041007;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  left: 1rem;
}

.page-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 45% at 15% -5%, rgba(30, 215, 96, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 35% at 95% 0%, rgba(30, 215, 96, 0.06), transparent 50%);
  z-index: 0;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* ── Header ── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  background: rgba(5, 5, 5, 0.88);
  border-bottom: 1px solid var(--border);
}

.header-inner,
.header-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  min-height: 64px;
}

.header-icon {
  justify-self: start;
  display: inline-flex;
  line-height: 0;
  text-decoration: none;
}

.header-title {
  justify-self: center;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.03em;
}

.header-title:hover {
  color: var(--text);
}

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

.brand--sm {
  font-size: 0.92rem;
}

.brand-icon {
  border-radius: 10px;
  box-shadow: 0 0 0 1px var(--border-accent);
}

.site-nav {
  display: none;
}

.nav-toggle {
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

.site-menu {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.site-menu.is-open {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
}

.site-menu-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.72);
  cursor: pointer;
}

.site-menu-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 320px);
  height: 100%;
  margin: 0;
  padding: 5rem 1.5rem 2rem;
  background: var(--bg);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transform: translateX(100%);
  transition: transform 0.22s ease;
}

.site-menu.is-open .site-menu-panel {
  transform: translateX(0);
}

.site-menu-heading {
  margin: 0 0 1rem;
  color: var(--muted-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-menu-link {
  display: block;
  padding: 0.95rem 0;
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

.site-menu-link:hover {
  color: var(--accent-soft);
}

.site-menu-link[aria-current="page"] {
  color: var(--accent);
}

.site-menu-link--accent {
  color: var(--accent);
}

body.menu-open {
  overflow: hidden;
}

/* ── Hero ── */

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
  padding: 3.5rem 1.25rem 2.5rem;
  max-width: var(--max);
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.85rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--border-accent);
  background: rgba(30, 215, 96, 0.06);
  color: var(--accent-soft);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin: 0 0 1.5rem;
  max-width: 28rem;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.hero-note {
  margin: 0;
  color: var(--muted-soft);
  font-size: 0.82rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 1.75rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--border);
  list-style: none;
}

.hero-stats li {
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-stats strong {
  color: var(--text);
  font-weight: 700;
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 1rem 0.65rem 0.85rem;
  border-radius: var(--radius);
  background: #000;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.app-store-badge:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.apple-mark {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.badge-small {
  font-size: 0.64rem;
  opacity: 0.75;
}

.badge-large {
  font-size: 1.1rem;
  font-weight: 700;
}

.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 15% 10%;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  filter: blur(36px);
}

.phone-frame {
  position: relative;
  z-index: 1;
  width: min(100%, 270px);
  aspect-ratio: 9 / 18;
  border-radius: 34px;
  overflow: hidden;
  background: #111;
  border: 1px solid var(--border-accent);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.5);
}

.phone-screen {
  position: absolute;
  inset: 10px;
  border-radius: 24px;
  overflow: hidden;
  background: #0a0a0a;
}

.phone-screenshot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* ── Sections ── */

.section {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}

.section-head {
  margin-bottom: 1.5rem;
}

.section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.section-head h2,
.cta-band h2,
.strip h2,
.page-title {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.section-kicker {
  margin: 0;
  color: var(--muted-soft);
  font-size: 0.88rem;
  max-width: 16rem;
  text-align: right;
}

/* ── Bento features ── */

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

.bento-tile {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
}

.bento-tile--wide {
  grid-column: span 2;
}

.bento-tile--accent {
  background: linear-gradient(145deg, rgba(30, 215, 96, 0.1), rgba(30, 215, 96, 0.02));
  border-color: var(--border-accent);
}

.bento-label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--accent-soft);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bento-tile h3 {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.bento-tile p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.text-link {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
}

/* ── Compare table ── */

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.compare-col {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.35rem;
}

.compare-col--plus {
  background: linear-gradient(160deg, rgba(30, 215, 96, 0.08), var(--card));
  border-color: var(--border-accent);
}

.compare-col h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 800;
}

.compare-note {
  margin: -0.35rem 0 0.75rem;
  color: var(--muted-soft);
  font-size: 0.78rem;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.15rem;
  margin-bottom: 0.4rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--muted-soft);
  font-size: 0.75rem;
  font-weight: 700;
}

.check-list--plus li::before {
  color: var(--accent);
}

/* ── Strip / CTA ── */

.strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--border);
}

.strip-copy p:last-child {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: #041007;
}

.btn--primary:hover {
  color: #041007;
  filter: brightness(1.05);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(30, 215, 96, 0.1), transparent);
  border: 1px solid var(--border-accent);
}

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

/* ── Accordion (FAQ + legal) ── */

.accordion {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: var(--content);
}

.accordion-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.accordion-item summary {
  padding: 0.95rem 1.1rem;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

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

.accordion-item summary::after {
  content: "+";
  float: right;
  color: var(--muted-soft);
  font-weight: 400;
}

.accordion-item[open] summary::after {
  content: "−";
}

.accordion-item p,
.accordion-item ul {
  margin: 0;
  padding: 0 1.1rem 1rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.accordion-item ul {
  padding-left: 2rem;
  padding-bottom: 1rem;
}

.accordion-item li {
  margin-bottom: 0.35rem;
}

.accordion-item a {
  word-break: break-word;
}

/* ── Legal pages ── */

.page-main {
  padding: 2.5rem 0 3rem;
}

.page-intro {
  max-width: var(--content);
  margin-bottom: 1.5rem;
}

.page-title {
  margin-bottom: 0.35rem;
}

.updated {
  margin: 0;
  color: var(--muted-soft);
  font-size: 0.86rem;
}

.page-lead {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.legal-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
  margin-bottom: 1.25rem;
  max-width: var(--content);
}

.legal-toc a {
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
}

.legal-toc a:hover {
  color: var(--text);
  border-color: var(--border-accent);
}

/* ── Shop ── */

.shop-hero {
  padding: 2.5rem 0 3rem;
  max-width: var(--content);
}

.shop-hero h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

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

.shop-card {
  padding: 1.25rem 1.35rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
}

.shop-card h2 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  font-weight: 700;
}

.shop-card p {
  margin: 0 0 0.65rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.shop-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.shop-list li {
  margin-bottom: 0.25rem;
}

.shop-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.shop-note {
  margin: 0;
  color: var(--muted-soft);
  font-size: 0.84rem;
}

/* ── Footer ── */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0 2rem;
  margin-top: 0.5rem;
}

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

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

.footer-nav a {
  color: var(--muted);
  font-size: 0.84rem;
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--text);
}

.footer-copy {
  color: var(--muted-soft);
  font-size: 0.8rem;
}

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

/* ── Responsive ── */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 2rem;
  }

  .hero-visual {
    order: -1;
  }

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

  .bento-tile--wide {
    grid-column: span 1;
  }

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

  .section-kicker {
    text-align: left;
  }
}

@media (max-width: 720px) {
  .footer-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* ── Simple homepage ── */

.home .site-header {
  position: relative;
}

.home-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

.home-intro {
  max-width: 22rem;
  margin-bottom: 1.75rem;
}

.home-eyebrow {
  margin: 0 0 0.65rem;
  color: var(--accent-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-intro h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 5.5vw, 2.5rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.home-intro h1 .accent {
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.home-lead {
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.45;
}

.home-points {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.home-points li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.35;
}

.home-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}

.home-plus {
  color: var(--accent-soft);
  font-size: 0.78rem;
  font-weight: 600;
}

.hero-banners {
  margin-bottom: 1.5rem;
}

.hero-banners-inner {
  display: grid;
  grid-template-columns: 100px 100px 100px;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  margin: 0 auto;
}

.hero-banner-slot {
  width: 100px;
  max-width: 100px;
  min-width: 0;
  line-height: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
}

.hero-banner-slot img {
  display: block;
  width: 100px;
  max-width: 100px;
  height: auto;
}

.home-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.home-note {
  margin: 0;
  color: var(--muted-soft);
  font-size: 0.84rem;
}

.home-links {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.home-links a {
  text-decoration: none;
}

.home .footer-bar {
  justify-content: center;
  padding: 1.25rem 0 2rem;
}
