/* Gainset website. Colours, type and radii follow the app (lib/design/tokens):
   Ember only for actions and progress, Bone on Carbon, Plus Jakarta Sans. */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/fonts/PlusJakartaSans-Variable.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --carbon: #0a0a0b;
  --graphite: #141416;
  --slate: #1e1e22;
  --line: #2a2a2f;
  --edge: #7a756e;
  --rim: rgba(255, 255, 255, 0.08);
  --bone: #f3f1ee;
  --ash: #9c978f;
  --dim: #8f8a82;
  --ember: #ff6b1a;
  --ember-light: #ff9a4d;
  --ember-container: #2b160b;
  --on-ember-container: #ffb488;
  --fresh: #3ddc97;
  --caution: #e9c46a;
  --strain: #ff5a6e;
  --sky: #5cb8ff;
  --violet: #a48bff;

  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1180px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--carbon);
  color: var(--bone);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--ember-light);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--bone);
  color: var(--carbon);
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.metric {
  font-variant-numeric: tabular-nums;
}

.nb {
  white-space: nowrap;
}

/* ---------- Type ---------- */

h1,
h2,
h3 {
  margin: 0;
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  font-size: clamp(40px, 5.4vw, 66px);
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(32px, 4.4vw, 52px);
}

h3 {
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

p {
  margin: 0;
}

.lead {
  font-size: clamp(18px, 1.6vw, 21px);
  color: var(--ash);
  font-weight: 500;
  max-width: 36em;
  text-wrap: pretty;
}

.overline {
  display: inline-block;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 18px;
}

.accent {
  color: var(--ember);
}

.muted {
  color: var(--ash);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 160ms var(--ease), background-color 160ms var(--ease);
}
.btn:active {
  transform: scale(0.97);
}
.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

/* Text on Ember is always dark, as in the app. */
.btn-primary {
  background: linear-gradient(180deg, var(--ember-light), var(--ember) 70%);
  color: #170a03;
  box-shadow: 0 10px 30px -12px rgba(255, 107, 26, 0.7);
}
.btn-primary:hover {
  background: linear-gradient(180deg, #ffa962, #ff7a2e 70%);
}

.btn-tonal {
  background: var(--slate);
  color: var(--bone);
  box-shadow: inset 0 0 0 1px var(--rim);
}
.btn-tonal:hover {
  background: #26262b;
}

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.nav.scrolled {
  background: rgba(10, 10, 11, 0.78);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.06em;
  text-decoration: none;
}
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}
.nav-links {
  display: flex;
  gap: 26px;
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
}
.nav-links a {
  color: var(--ash);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: color 160ms var(--ease);
}
.nav-links a:hover {
  color: var(--bone);
}
.nav-side {
  display: flex;
  align-items: center;
  gap: 14px;
}
.lang {
  color: var(--ash);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.lang:hover {
  color: var(--bone);
}
.nav .btn {
  min-height: 42px;
  padding: 0 18px;
  font-size: 15px;
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--slate);
  color: var(--bone);
  cursor: pointer;
}
.menu-toggle svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 960px) {
  .nav-links,
  .nav-side .btn {
    display: none;
  }
  .nav-side {
    margin-left: auto;
  }
  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }
  .nav.open {
    background: var(--carbon);
    box-shadow: 0 1px 0 var(--line);
  }
  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    margin: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--carbon);
    box-shadow: 0 1px 0 var(--line);
  }
  .nav.open .nav-links a {
    display: block;
    padding: 14px 0;
    font-size: 18px;
    color: var(--bone);
    border-bottom: 1px solid var(--line);
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 136px 0 72px;
  isolation: isolate;
  /* The tilted phones and the glow may reach past the edge on phones. */
  overflow-x: clip;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -10% -20% auto 30%;
  height: 900px;
  background: radial-gradient(closest-side, rgba(255, 107, 26, 0.18), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: center;
}
.hero h1 {
  margin-bottom: 26px;
}
.hero .lead {
  margin-bottom: 36px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  background: var(--graphite);
  box-shadow: inset 0 0 0 1px var(--rim);
  font-size: 14px;
  font-weight: 650;
  color: var(--bone);
  margin-bottom: 28px;
}
.badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fresh);
  box-shadow: 0 0 0 4px rgba(61, 220, 151, 0.16);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ash);
  font-size: 15px;
  font-weight: 550;
}
.proof li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.proof svg {
  width: 18px;
  height: 18px;
  color: var(--bone);
  flex: none;
}

.hero-visual {
  position: relative;
  height: 640px;
}
.hero-visual .phone {
  position: absolute;
}
.hero-visual .phone-back {
  width: 270px;
  right: 2%;
  top: 40px;
  transform: rotate(6deg);
  opacity: 0.92;
}
.hero-visual .phone-front {
  width: 300px;
  left: 6%;
  top: 0;
  transform: rotate(-3deg);
}
.callout {
  position: absolute;
  z-index: 3;
  max-width: 230px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: rgba(30, 30, 34, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px var(--rim), 0 20px 40px -20px #000;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 550;
}
.callout b {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 4px;
}
.hero-visual .callout {
  right: 0;
  bottom: 30px;
}

@media (max-width: 960px) {
  .hero {
    padding-top: 112px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    height: 560px;
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
  }
}
@media (max-width: 520px) {
  .hero-visual {
    height: 470px;
  }
  .hero-visual .phone-front {
    width: 230px;
    left: 0;
  }
  .hero-visual .phone-back {
    width: 200px;
    right: 0;
    top: 50px;
  }
  .hero-visual .callout {
    bottom: 0;
    right: 0;
    max-width: 200px;
  }
}

/* ---------- Phone frame ---------- */

.phone {
  position: relative;
  border-radius: 44px;
  padding: 10px;
  background: linear-gradient(160deg, #2c2c31, #111113 60%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    0 40px 80px -30px rgba(0, 0, 0, 0.9),
    0 0 0 1px #000;
}
.phone img {
  width: 100%;
  border-radius: 35px;
  aspect-ratio: 390 / 844;
  object-fit: cover;
  object-position: top;
  background: var(--carbon);
}
.phone::after {
  /* Camera island over the screenshot's status bar. */
  content: "";
  position: absolute;
  top: 20px;
  left: 50%;
  width: 30%;
  height: 22px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #000;
}

/* ---------- Facts strip ---------- */

.facts {
  border-block: 1px solid var(--line);
}
.facts ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.facts li {
  padding: 30px 24px;
}
.facts li + li {
  border-left: 1px solid var(--line);
}
.facts strong {
  display: block;
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.facts span {
  display: block;
  margin-top: 6px;
  color: var(--ash);
  font-size: 15px;
  font-weight: 550;
  line-height: 1.45;
}
@media (max-width: 860px) {
  .facts ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .facts li:nth-child(3) {
    border-left: 0;
  }
  .facts li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .facts li {
    padding: 24px 16px;
  }
}

/* ---------- Sections ---------- */

section {
  position: relative;
}
.section {
  padding: clamp(88px, 11vw, 140px) 0;
}
.section-head {
  max-width: 760px;
  margin-bottom: clamp(48px, 6vw, 72px);
}
.section-head h2 {
  margin-bottom: 20px;
}

/* ---------- Loop (scrollytelling) ---------- */

.loop-rail {
  display: flex;
  gap: 8px;
  margin: 0 0 56px;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
}
.loop-rail li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--dim);
  font-weight: 700;
  font-size: 15px;
  transition: color 200ms var(--ease);
}
.loop-rail li + li::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--line);
}
.loop-rail li.on {
  color: var(--bone);
}
.loop-rail .n {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--graphite);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 13px;
  transition: background-color 200ms var(--ease), color 200ms var(--ease);
}
.loop-rail li.on .n {
  background: var(--ember);
  color: #170a03;
  box-shadow: none;
}

.loop {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 80px;
}
.loop-steps {
  display: grid;
  gap: 0;
}
.step {
  min-height: 82vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0;
}
.step:first-child {
  min-height: 60vh;
  justify-content: flex-start;
  padding-top: 0;
}
.step .num {
  font-size: 14px;
  font-weight: 700;
  color: var(--ash);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.step h3 {
  font-size: clamp(28px, 3vw, 38px);
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.step p {
  color: var(--ash);
  font-weight: 500;
  font-size: 18px;
  max-width: 34em;
}
.ticks {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.ticks li {
  position: relative;
  padding-left: 30px;
  font-weight: 550;
  line-height: 1.5;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.42em;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--bone);
  border-bottom: 2px solid var(--bone);
  transform: rotate(-45deg);
}
.step .phone {
  display: none;
}
.loop-screen {
  position: sticky;
  top: calc(50vh - 340px);
  height: 680px;
  align-self: start;
}
.loop-screen .phone {
  width: 330px;
  margin-left: auto;
}
.loop-screen .phone img {
  position: absolute;
  inset: 10px;
  width: calc(100% - 20px);
  opacity: 0;
  transition: opacity 260ms var(--ease);
}
.loop-screen .phone img:first-child {
  position: relative;
  inset: auto;
  width: 100%;
}
.loop-screen .phone img.on {
  opacity: 1;
}

@media (max-width: 960px) {
  .loop {
    grid-template-columns: 1fr;
  }
  .loop-screen {
    display: none;
  }
  .loop-rail {
    display: none;
  }
  .step,
  .step:first-child {
    min-height: 0;
    padding: 0 0 72px;
  }
  .step .phone {
    display: block;
    width: min(300px, 80%);
    margin: 40px auto 0;
  }
}

/* ---------- Why ---------- */

.why {
  background:
    radial-gradient(60% 50% at 80% 40%, rgba(255, 107, 26, 0.1), transparent 70%),
    var(--graphite);
  border-block: 1px solid var(--line);
}
.why-grid {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 88px;
  align-items: center;
}
.why .phone {
  width: 330px;
}
.anatomy {
  display: grid;
  gap: 14px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: a;
}
.anatomy li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  padding: 20px 22px;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, #232327, var(--slate) 40%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), inset 0 0 0 1px var(--rim);
}
.anatomy li::before {
  counter-increment: a;
  content: counter(a);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--carbon);
  color: var(--ash);
  font-weight: 700;
  font-size: 14px;
}
.anatomy b {
  display: block;
  font-weight: 700;
  margin-bottom: 4px;
}
.anatomy span {
  color: var(--ash);
  font-weight: 500;
  font-size: 16px;
}
.quote-line {
  margin-top: 28px;
  padding-left: 18px;
  border-left: 2px solid var(--line);
  color: var(--ash);
  font-weight: 500;
  font-size: 16px;
  max-width: 36em;
}

@media (max-width: 960px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .why .phone {
    width: min(300px, 80%);
    margin: 0 auto;
    order: 2;
  }
}

/* ---------- Feature bento ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, #1a1a1d, var(--graphite) 50%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 0 0 1px var(--rim),
    0 24px 48px -32px #000;
}
.card h3 {
  margin: 18px 0 10px;
}
.card p {
  color: var(--ash);
  font-weight: 500;
  font-size: 16px;
}
.card .ticks {
  margin-top: 20px;
  font-size: 15px;
}
.span-2 {
  grid-column: span 2;
}
.span-3 {
  grid-column: span 3;
}
.span-4 {
  grid-column: span 4;
}
.span-6 {
  grid-column: span 6;
}
.card-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 24px;
  padding-bottom: 0;
}
.card-split .card-shot {
  align-self: end;
  margin-top: 8px;
}
.card-shot img {
  width: 100%;
  border-radius: 24px 24px 0 0;
  box-shadow: inset 0 0 0 1px var(--rim), 0 0 0 8px #1c1c20;
  margin-top: 8px;
}

.tile {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--slate);
  box-shadow: inset 0 0 0 1px var(--rim);
}
.tile svg {
  width: 22px;
  height: 22px;
}
/* Domain colours from AscendDomain: only icons, lines and rings of their area. */
.d-strength {
  color: var(--ember);
}
.d-recovery {
  color: var(--fresh);
}
.d-volume {
  color: var(--violet);
}
.d-body {
  color: var(--sky);
}
.d-neutral {
  color: var(--bone);
}

@media (max-width: 960px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .span-2,
  .span-3 {
    grid-column: span 1;
  }
  .span-4,
  .span-6 {
    grid-column: span 2;
  }
}
@media (max-width: 640px) {
  .bento {
    grid-template-columns: 1fr;
  }
  .span-2,
  .span-3,
  .span-4,
  .span-6 {
    grid-column: span 1;
  }
  .card {
    padding: 24px;
  }
  .card-split {
    grid-template-columns: 1fr;
  }
  .card-split .card-shot {
    max-width: 240px;
    margin: 0 auto;
  }
}

/* ---------- Privacy ---------- */

.privacy-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: start;
}
.privacy-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.privacy-list li {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.privacy-list b {
  display: block;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}
.privacy-list span {
  color: var(--ash);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.55;
}
@media (max-width: 960px) {
  .privacy-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
@media (max-width: 560px) {
  .privacy-list {
    grid-template-columns: 1fr;
  }
}

/* ---------- Plans ---------- */

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.plan {
  padding: 36px;
  border-radius: var(--r-xl);
  background: var(--graphite);
  box-shadow: inset 0 0 0 1px var(--rim);
}
.plan-pro {
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(255, 107, 26, 0.16), transparent 70%),
    linear-gradient(180deg, #1c1714, var(--graphite) 60%);
  box-shadow: inset 0 0 0 1px rgba(255, 107, 26, 0.35);
}
.plan h3 {
  font-size: 28px;
  margin-bottom: 8px;
}
.plan > p {
  color: var(--ash);
  font-weight: 500;
  font-size: 16px;
}
.plan .ticks {
  margin-top: 28px;
}
.plan-note {
  margin-top: 24px;
  color: var(--ash);
  font-size: 15px;
  font-weight: 500;
  max-width: 48em;
}
@media (max-width: 860px) {
  .plans {
    grid-template-columns: 1fr;
  }
  .plan {
    padding: 28px 24px;
  }
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 860px;
}
.faq details {
  border-top: 1px solid var(--line);
}
.faq details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  font-size: 19px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--ash);
  border-bottom: 2px solid var(--ash);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 200ms var(--ease);
}
.faq details[open] summary::after {
  transform: translateY(3px) rotate(-135deg);
}
.faq details p {
  padding: 0 0 26px;
  color: var(--ash);
  font-weight: 500;
  max-width: 44em;
}

/* ---------- Final CTA ---------- */

.cta {
  text-align: center;
  padding: clamp(96px, 12vw, 160px) 0;
  isolation: isolate;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 30%;
  width: 900px;
  height: 600px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255, 107, 26, 0.2), transparent 70%);
}
.cta img.mark {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  margin: 0 auto 32px;
  box-shadow: 0 20px 60px -20px rgba(255, 107, 26, 0.55);
}
.cta h2 {
  max-width: 14em;
  margin: 0 auto 20px;
}
.cta .lead {
  margin: 0 auto 40px;
}
.stores {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 0 22px;
  border-radius: 16px;
  background: var(--graphite);
  box-shadow: inset 0 0 0 1px var(--line);
  text-align: left;
}
.store svg {
  width: 26px;
  height: 26px;
  flex: none;
}
.store small {
  display: block;
  font-size: 12px;
  color: var(--ash);
  font-weight: 600;
  line-height: 1.2;
}
.store span {
  display: block;
  font-weight: 700;
  line-height: 1.3;
}
.cta .fine {
  margin-top: 22px;
  color: var(--dim);
  font-size: 14px;
  font-weight: 600;
}

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 40px;
  font-size: 15px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 40px;
}
.footer p {
  color: var(--ash);
  font-weight: 500;
  margin-top: 14px;
  max-width: 26em;
}
.footer h4 {
  margin: 0 0 14px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ash);
}
.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.footer ul a {
  text-decoration: none;
  font-weight: 550;
}
.footer ul a:hover {
  text-decoration: underline;
}
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 13px;
  font-weight: 600;
}
.footer-base a {
  color: var(--ash);
}
@media (max-width: 720px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid > :first-child {
    grid-column: span 2;
  }
}

/* ---------- Reveal ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .loop-screen .phone img,
  .btn {
    transition: none;
  }
}

/* ---------- Waitlist ---------- */

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
/* A field people never see; bots fill it in (ADR 0045). */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.waitlist {
  max-width: 520px;
}
.waitlist-row {
  display: flex;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: var(--graphite);
  box-shadow: inset 0 0 0 1px var(--edge);
  transition: box-shadow 160ms var(--ease);
}
.waitlist-row:focus-within {
  box-shadow: inset 0 0 0 2px var(--ember-light);
}
.waitlist input[type="email"] {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--bone);
  font: inherit;
  font-size: 16px;
  font-weight: 550;
}
.waitlist input[type="email"]::placeholder {
  color: var(--dim);
}
.waitlist input[type="email"]:focus {
  outline: none;
}
.waitlist .btn {
  min-height: 48px;
  flex: none;
}
.waitlist .btn[aria-busy="true"] {
  opacity: 0.7;
  cursor: progress;
}
.waitlist-note {
  margin-top: 12px;
  padding: 0 6px;
  color: var(--ash);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 550;
}
.waitlist-note a {
  color: var(--bone);
}
.waitlist-status {
  margin-top: 10px;
  padding: 0 6px;
  font-size: 15px;
  font-weight: 650;
  color: var(--caution);
}
.waitlist-status:empty {
  display: none;
}
.waitlist-done {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px 22px;
  border-radius: var(--r-lg);
  background: var(--graphite);
  box-shadow: inset 0 0 0 1px var(--rim);
  text-align: left;
}
.waitlist-done .check {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ember-container);
  color: var(--ember);
}
.waitlist-done .check svg {
  width: 22px;
  height: 22px;
}
.waitlist-done b {
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
}
.waitlist-done p {
  color: var(--ash);
  font-weight: 500;
  font-size: 15px;
}
.hero .waitlist {
  margin-bottom: 18px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ash);
  font-weight: 650;
  font-size: 15px;
  text-decoration: none;
}
.text-link:hover {
  color: var(--bone);
}
.text-link svg {
  width: 16px;
  height: 16px;
}
.cta .waitlist {
  margin: 0 auto 36px;
}
.cta .waitlist-note {
  text-align: center;
}
@media (max-width: 520px) {
  .waitlist-row {
    flex-direction: column;
    border-radius: var(--r-lg);
  }
  .waitlist .btn {
    width: 100%;
  }
  .waitlist input[type="email"] {
    text-align: left;
  }
}

/* ---------- Small pages (confirm, unsubscribe) ---------- */

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.page main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 120px 0 64px;
  isolation: isolate;
  position: relative;
  overflow-x: clip;
}
.page main::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 10%;
  width: 760px;
  height: 520px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255, 107, 26, 0.14), transparent 70%);
}
.panel {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 40px 36px;
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, #1a1a1d, var(--graphite) 50%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), inset 0 0 0 1px var(--rim), 0 30px 60px -30px #000;
  text-align: center;
}
.panel .icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--slate);
  color: var(--bone);
}
.panel .icon svg {
  width: 28px;
  height: 28px;
}
.panel [data-show="confirmed"] .icon,
.panel [data-show="left"] .icon {
  background: var(--ember-container);
  color: var(--ember);
}
.panel h1 {
  font-size: clamp(28px, 5vw, 36px);
  margin-bottom: 14px;
}
.panel p {
  color: var(--ash);
  font-weight: 500;
}
.panel .actions {
  justify-content: center;
  margin-top: 28px;
}
.panel [data-show] {
  display: none;
}
.panel[data-state="loading"] [data-show="loading"],
.panel[data-state="ready"] [data-show="ready"],
.panel[data-state="confirmed"] [data-show="confirmed"],
.panel[data-state="left"] [data-show="left"],
.panel[data-state="invalid"] [data-show="invalid"],
.panel[data-state="error"] [data-show="error"] {
  display: block;
}
.spinner {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 3px solid var(--line);
  border-top-color: var(--ember);
  animation: spin 800ms linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .spinner {
    animation-duration: 2400ms;
  }
}
.page .footer {
  padding: 28px 0;
}
.page .footer-base {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
@media (max-width: 520px) {
  .panel {
    padding: 32px 22px;
  }
}
