:root {
  /* Surfaces */
  --bg-top: #1E1E2E;
  --bg-bottom: #181825;
  --card: #232334;
  --card-hover: #28283b;
  --hairline: rgba(255, 255, 255, 0.07);

  /* Accent — persimmon. CTA + rare highlights only. */
  --accent: #F2693C;

  /* Text */
  --text: #E4E6EC;
  --text-2: #BBC0CB;
  --muted: #9095A2;

  /* Wordmark per-letter */
  --w-b: #F1F2F6;
  --w-u: #50CB8C;
  --w-r: #45A7EA;
  --w-s: #F2693C;
  --w-t: #CBA6F7;

  /* Shape & type */
  --radius-card: 22px;
  --radius-sm: 14px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  --maxw: 1040px;

  --font-body: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  --font-rounded: ui-rounded, "SF Pro Rounded", "Hiragino Maru Gothic ProN",
    var(--font-body);
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg-bottom);
  background-image: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

/* Focus — the one place persimmon shows up beyond the CTA */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--card);
  color: var(--text);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  z-index: 10;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Layout ------------------------------------------------------------------ */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

main > section { padding-block: clamp(3rem, 9vw, 5.5rem); }

.eyebrow {
  margin: 0 0 1.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Hero -------------------------------------------------------------------- */
.hero { padding-block: clamp(3.5rem, 10vw, 6rem) clamp(2.5rem, 7vw, 4rem); }

.hero__grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
}

.hero__mark {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}

.wordmark {
  font-family: var(--font-rounded);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0;
  font-size: clamp(3.75rem, 13vw, 6.5rem);
}
.wordmark .b { color: var(--w-b); }
.wordmark .u { color: var(--w-u); }
.wordmark .r { color: var(--w-r); }
.wordmark .s { color: var(--w-s); }
.wordmark .t { color: var(--w-t); }

.tagline {
  font-size: clamp(1.3rem, 4.2vw, 1.7rem);
  font-weight: 500;
  color: var(--text);
  margin: 1.25rem 0 0;
}

.hero__sub {
  color: var(--text-2);
  font-size: 1.0625rem;
  max-width: 36ch;
  margin: 1rem 0 0;
}

.cta-row { margin-top: 2rem; }

/* App Store badge */
.badge {
  display: inline-block;
  border-radius: 9px;
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.badge img { width: 168px; height: auto; }
.badge:hover { transform: translateY(-1px); opacity: 0.92; }

/* Phone frame */
.phone {
  justify-self: center;
  width: min(320px, 78vw);
  padding: 10px;
  background: #0e0e16;
  border: 1px solid var(--hairline);
  border-radius: 46px;
  box-shadow: var(--shadow);
}
.phone img {
  width: 100%;
  border-radius: 36px;
}

/* How it plays ------------------------------------------------------------ */
.steps__list {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
.step {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  padding: 1.6rem 1.5rem;
}
.step__n {
  display: inline-block;
  font-family: var(--font-rounded);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-bottom: 0.6rem;
}
.step h3 {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
  font-weight: 600;
}
.step p { margin: 0; color: var(--text-2); font-size: 0.98rem; }

/* Features ---------------------------------------------------------------- */
.features__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
.feature {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.feature:hover { background: var(--card-hover); border-color: rgba(255, 255, 255, 0.12); }
.feature__icon {
  width: 26px;
  height: 26px;
  margin-bottom: 0.9rem;
  color: var(--text-2);
}
.feature h3 {
  margin: 0 0 0.3rem;
  font-size: 1.08rem;
  font-weight: 600;
}
.feature p { margin: 0; color: var(--text-2); font-size: 0.95rem; line-height: 1.5; }

/* the four-dot theme swatch keeps the app's own colours */
.swatch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; width: 26px; }
.swatch span { width: 11px; height: 11px; border-radius: 50%; }
.swatch .d1 { background: var(--w-t); }
.swatch .d2 { background: var(--w-r); }
.swatch .d3 { background: var(--w-u); }
.swatch .d4 { background: var(--accent); }

/* Footer ------------------------------------------------------------------ */
.site-footer {
  border-top: 1px solid var(--hairline);
  padding-block: clamp(2.5rem, 7vw, 3.5rem);
}
.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.95rem;
  color: var(--muted);
}
.footer-nav a {
  color: var(--text-2);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.footer-nav a:hover { color: var(--text); border-color: var(--accent); }
.footer-nav .sep { color: var(--muted); opacity: 0.5; }

/* Inner pages (support / privacy) ----------------------------------------- */
.page { padding-block: clamp(3rem, 9vw, 5rem) clamp(3rem, 9vw, 6rem); }
.page__head { margin-bottom: 2.5rem; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--text-2);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
}
.back-link:hover { color: var(--text); }
.page h1 {
  font-family: var(--font-rounded);
  font-weight: 700;
  font-size: clamp(2rem, 7vw, 2.75rem);
  margin: 0;
  letter-spacing: -0.01em;
}
.lede { color: var(--text-2); font-size: 1.0625rem; max-width: 58ch; }

.prose { max-width: 62ch; }
.prose > p { color: var(--text-2); }
.prose a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent); }
.prose h2 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin: 2.5rem 0 0.5rem;
}
.prose strong { color: var(--text); font-weight: 600; }
.prose ul { margin: 0.5rem 0 0; padding-left: 1.2rem; }
.prose li { color: var(--text-2); margin: 0.35rem 0; }
.prose hr { border: 0; height: 1px; background: var(--hairline); margin: 2.5rem 0; }
.prose .lead { color: var(--text); font-size: 1.0625rem; }

.faq { display: grid; gap: 1rem; max-width: 62ch; margin-inline: auto; }
.faq-section .eyebrow { max-width: 62ch; margin-inline: auto; }
.faq__item {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  padding: 1.4rem 1.5rem;
}
.faq__item h2, .faq__item h3 { margin: 0 0 0.4rem; font-size: 1.08rem; font-weight: 600; }
.faq__item p { margin: 0; color: var(--text-2); font-size: 0.98rem; }

.contact {
  margin-top: 2.25rem;
  padding: 1.5rem;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  max-width: 62ch;
}
.contact p { margin: 0; color: var(--text-2); }
.contact a { color: var(--text); text-decoration-color: var(--accent); }

.updated { color: var(--muted); font-size: 0.9rem; margin-top: 2rem; }

/* Responsive -------------------------------------------------------------- */
@media (min-width: 720px) {
  .steps__list { grid-template-columns: repeat(3, 1fr); }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__inner { flex-direction: row; justify-content: space-between; align-items: center; }
}

@media (min-width: 920px) {
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; }
  .hero__copy { text-align: left; }
  .features__grid { grid-template-columns: repeat(3, 1fr); }
}

/* Motion ------------------------------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    animation: rise 0.6s cubic-bezier(0.2, 0.7, 0.3, 1) both;
  }
  .reveal-2 { animation-delay: 0.08s; }
  .reveal-3 { animation-delay: 0.16s; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
  }
}
