:root {
  --bg: #000000;
  --surface: #0E0E0F;
  --surface-2: #161618;
  --volt: #D4FF3A;
  --text: #F5F5F7;
  --text-2: #A1A1A6;
  --text-3: #6E6E73;
  --line: #242426;
  --radius: 24px;
  --gutter: 20px;
  --max: 1120px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--text); text-decoration-color: var(--volt); text-underline-offset: 3px; }
a:hover { color: var(--volt); }
:focus-visible { outline: 2px solid var(--volt); outline-offset: 3px; border-radius: 6px; }

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

.wordmark {
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(0, 0, 0, 0.72);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 60px;
}
.site-header .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.site-header .brand img { width: 28px; height: 28px; border-radius: 7px; }
.site-header .brand .wordmark { font-size: 15px; }
.site-header nav { display: flex; align-items: center; gap: 24px; font-size: 15px; }
.site-header nav a { text-decoration: none; color: var(--text-2); }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--text); }
.site-header nav .button { height: 36px; padding: 0 16px; font-size: 14px; border-radius: 10px; color: #000; }

/* ---------- Buttons and forms ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 14px;
  background: var(--volt);
  color: #000;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.button:hover { color: #000; filter: brightness(1.06); }

.waitlist { display: flex; gap: 10px; max-width: 480px; }
.waitlist input[type="email"] {
  flex: 1 1 auto;
  min-width: 0;
  height: 52px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text);
  font: inherit;
  font-size: 16px; /* stops iOS zooming on focus */
}
.waitlist input[type="email"]::placeholder { color: var(--text-3); }
.waitlist input[type="email"]:focus { outline: 2px solid var(--volt); outline-offset: 1px; }
.form-note { font-size: 14px; color: var(--text-3); margin: 12px 0 0; }
.form-note a { color: var(--text-2); }
.hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  color: var(--volt);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
h1, h2, h3 { letter-spacing: -0.02em; }
.display {
  font-size: clamp(42px, 7.2vw, 80px);
  line-height: 1.02;
  font-weight: 700;
  margin: 0 0 20px;
}
.display em { font-style: normal; color: var(--volt); }
.lede { font-size: clamp(18px, 2.1vw, 21px); color: var(--text-2); margin: 0 0 32px; max-width: 32em; }
.section-title { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.06; font-weight: 700; margin: 0 0 16px; }
.section-intro { color: var(--text-2); font-size: clamp(17px, 1.8vw, 19px); max-width: 36em; margin: 0; }

/* ---------- Hero ---------- */
.hero { padding: 48px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  width: 100%;
  justify-self: end;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 40px 120px -40px rgba(212, 255, 58, 0.25);
}
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media figcaption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  font-size: 13px;
  color: var(--text-2);
  letter-spacing: 0.02em;
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section + .section { border-top: 1px solid #0F0F10; }
.section-head { margin-bottom: 48px; }

/* The weekly loop */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; }
.step { background: var(--surface); border: 1px solid #1A1A1C; border-radius: var(--radius); overflow: hidden; }
.step picture, .step img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.step-body { padding: 22px 24px 26px; }
.step-num { color: var(--volt); font-weight: 700; font-size: 14px; letter-spacing: 0.08em; }
.step h3 { font-size: 22px; margin: 6px 0 8px; }
.step p { margin: 0; color: var(--text-2); font-size: 16px; }

/* Feature rows */
.feature .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature.flip .feature-media { order: 2; }
.feature-media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.feature.flip .feature-media { justify-self: end; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 30px; color: #D1D1D6; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--volt);
  border-bottom: 2px solid var(--volt);
  transform: rotate(-45deg);
}
.ticks strong { color: var(--text); font-weight: 600; }

/* Free promise */
.promise {
  background: radial-gradient(120% 140% at 0% 0%, rgba(212, 255, 58, 0.10), transparent 55%), var(--surface);
  border: 1px solid #1C1C1E;
  border-radius: 28px;
  padding: clamp(28px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}
.promise h2 { margin-top: 0; }
.promise .cols { display: grid; gap: 24px; }
.promise h3 { font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); margin: 0 0 10px; }
.promise ul { margin: 0; padding-left: 1.1em; color: #D1D1D6; }
.promise li { margin: 4px 0; }

/* FAQ (shared with support page) */
.faq { max-width: 760px; }
details {
  background: var(--surface);
  border: 1px solid #1A1A1C;
  border-radius: 16px;
  margin: 10px 0;
  padding: 0 20px;
}
summary {
  cursor: pointer;
  padding: 18px 28px 18px 0;
  font-weight: 600;
  list-style: none;
  position: relative;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 16px; color: var(--volt); font-weight: 400; font-size: 20px; }
details[open] summary::after { content: "–"; }
details > p { margin: 0 0 18px; color: #D1D1D6; }

/* Closing call to action */
.cta { position: relative; overflow: hidden; text-align: center; }
.cta .wrap { display: flex; flex-direction: column; align-items: center; }
.cta-art { width: min(320px, 72vw); aspect-ratio: 1 / 1; border-radius: 50%; overflow: hidden; margin-bottom: 32px; box-shadow: 0 0 80px -10px rgba(212, 255, 58, 0.25); }
.cta-art img, .cta-art video { width: 100%; height: 100%; object-fit: cover; }
.cta .waitlist { margin: 0 auto; width: 100%; }
.cta .lede { margin-left: auto; margin-right: auto; }

/* ---------- Long-form pages (privacy, support) ---------- */
.page { max-width: 720px; margin: 0 auto; padding: 32px var(--gutter) 80px; }
.page h1 { font-size: clamp(34px, 6vw, 52px); line-height: 1.08; margin: 16px 0 8px; }
.page .meta { color: var(--text-2); margin: 0 0 32px; font-size: 15px; }
.page h2 { font-size: 22px; margin: 40px 0 8px; }
.page h3 { font-size: 18px; margin: 24px 0 6px; }
.page p, .page li { color: #D1D1D6; }
.page ul { padding-left: 1.2em; }
.page li { margin: 6px 0; }
.page strong { color: var(--text); }
.summary {
  background: var(--surface);
  border-left: 3px solid var(--volt);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 0 0 8px;
}
.summary ul { margin: 0; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--text); font-weight: 600; }
td { color: #D1D1D6; }
.contact-card { background: var(--surface); border: 1px solid #1A1A1C; border-radius: var(--radius); padding: 24px; margin: 8px 0 32px; }
.contact-card p { margin: 0 0 12px; }
.contact-card p:last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid #141416; }
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  padding-bottom: 48px;
  color: var(--text-3);
  font-size: 14px;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.site-footer a { color: var(--text-2); text-decoration: none; }
.site-footer a:hover { color: var(--text); }

/* ---------- Tablet ---------- */
@media (max-width: 960px) {
  .hero .wrap, .feature .wrap, .promise { grid-template-columns: 1fr; gap: 40px; }
  .hero-media, .feature-media { justify-self: center; }
  .feature.flip .feature-media { order: 0; justify-self: center; }
  .feature-media { max-width: 560px; }
  .steps { grid-template-columns: 1fr; max-width: 560px; }
  .step { display: grid; grid-template-columns: 38% 1fr; align-items: center; }
  .step picture, .step img { aspect-ratio: 1 / 1; height: 100%; }
}

/* ---------- Phone ---------- */
@media (max-width: 640px) {
  :root { --gutter: 16px; --radius: 20px; }
  body { font-size: 16px; }
  .site-header nav .text-link { display: none; }
  .hero { padding: 28px 0 56px; }
  .hero .wrap { gap: 32px; }
  .hero-media { max-width: 100%; }
  .waitlist { flex-direction: column; max-width: none; }
  .waitlist .button { width: 100%; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }
  .feature .wrap { gap: 28px; }
  .feature-media { max-width: 100%; aspect-ratio: 4 / 3; }
  .step { grid-template-columns: 112px 1fr; }
  .step-body { padding: 16px 18px; }
  .step h3 { font-size: 19px; margin: 2px 0 4px; }
  .step p { font-size: 15px; }
  .promise { border-radius: 22px; }
}

/* Keep anchored sections clear of the sticky header */
section[id] { scroll-margin-top: 72px; }

/* ---------- Art cards (same pattern as the app's cards) ---------- */
.art-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #111113;
  border: 1px solid #1C1C1E;
  border-radius: 28px;
}
.art-card .art {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  bottom: 0;
  width: 62%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 42%), linear-gradient(to top, transparent 0%, #000 18%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0%, #000 42%), linear-gradient(to top, transparent 0%, #000 18%);
  mask-composite: intersect;
}
.art-card .art picture, .art-card .art img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.art-card .card-body { position: relative; padding: clamp(28px, 4.5vw, 56px); max-width: 60%; }
.art-card .card-body > :last-child { margin-bottom: 0; }

/* Steps as art cards */
.step-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; }
.step-card { min-height: 300px; display: flex; }
.step-card .art { width: 78%; }
.step-card .card-body { max-width: 72%; padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; }
.step-card h3 { font-size: 26px; margin: 6px 0 8px; }
.step-card p { margin: 0; color: var(--text-2); font-size: 16px; }

/* Feature cards */
.feature-card { min-height: 560px; display: flex; align-items: center; }
.feature-card .card-body { max-width: 54%; }
.feature-card.flip .art { right: auto; left: 0; -webkit-mask-image: linear-gradient(to left, transparent 0%, #000 42%), linear-gradient(to top, transparent 0%, #000 18%); mask-image: linear-gradient(to left, transparent 0%, #000 42%), linear-gradient(to top, transparent 0%, #000 18%); }
.feature-card.flip .card-body { margin-left: auto; }
.feature-stack { display: grid; gap: 20px; }

/* Promise and closing cards */
.promise-card .card-body { max-width: 100%; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; }
.promise-card .art { width: 55%; opacity: 0.55; }
.promise-card h3 { font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); margin: 0 0 10px; }
.promise-card ul { margin: 0 0 20px; padding-left: 1.1em; color: #D1D1D6; }
.promise-card li { margin: 4px 0; }
.cta-card { min-height: 460px; display: flex; align-items: center; }
.cta-card .card-body { max-width: 58%; }
.cta-card .waitlist { max-width: 460px; }

@media (max-width: 960px) {
  .step-cards { grid-template-columns: 1fr; }
  .step-card { min-height: 220px; }
  .step-card .art { width: 60%; }
  .step-card .card-body { max-width: 62%; }
  .promise-card .card-body { grid-template-columns: 1fr; gap: 8px; }
}

/* Phones: art sits at the top of the card and fades down behind the text */
@media (max-width: 640px) {
  .art-card { border-radius: 22px; }
  .step-card { min-height: 190px; }
  .step-card .art { width: 64%; }
  .step-card .card-body { max-width: 70%; padding: 22px; }
  .step-card h3 { font-size: 22px; }
  .step-card p { font-size: 15px; }
  .feature-card, .cta-card { display: block; min-height: 0; }
  .feature-card .art, .feature-card.flip .art, .cta-card .art {
    left: 0; right: 0; bottom: auto; width: 100%; height: 300px;
    -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 45%, transparent 100%);
    -webkit-mask-composite: source-over; mask-composite: add;
  }
  .feature-card .card-body, .feature-card.flip .card-body, .cta-card .card-body { max-width: 100%; padding: 220px 22px 28px; margin: 0; }
  .promise-card .art { width: 100%; height: 240px; bottom: auto; opacity: 0.4; -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 100%); mask-image: linear-gradient(to bottom, #000 30%, transparent 100%); }
  .promise-card .card-body { padding: 28px 22px; }
}

/* Readability: stronger fades where text sits next to the art */
.step-card .art { -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.35) 35%, #000 70%), linear-gradient(to top, transparent 0%, #000 22%); mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.35) 35%, #000 70%), linear-gradient(to top, transparent 0%, #000 22%); }
.step-card .card-body { max-width: 62%; text-shadow: 0 1px 12px rgba(0,0,0,.8); }
@media (min-width: 641px) {
  .feature-card .art { width: 56%; }
  .feature-card .card-body { text-shadow: 0 1px 14px rgba(0,0,0,.7); }
}
.promise-card .art { opacity: 0.32; }
@media (min-width: 641px) {
  .cta-card .card-body { max-width: 50%; }
  .cta-card .art { width: 58%; }
}
@media (max-width: 640px) {
  .promise-card .art { opacity: 0.28; }
  .cta-card .art img { object-position: center 70%; }
  .cta-card .card-body { max-width: 100%; }
  .cta-card .art { width: 100%; }
}

/* Safari: <picture> is inline by default, so give it a real box and pin the image to the art area */
picture { display: block; }
.art-card .art picture { position: absolute; inset: 0; width: 100%; height: 100%; }
.art-card .art img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.hero-media picture { width: 100%; height: 100%; }

/* ---------- Device mockups (screens are composited into real frames) ---------- */
.device { display: block; width: 100%; height: auto; filter: drop-shadow(0 30px 50px rgba(0,0,0,.7)) drop-shadow(0 0 60px rgba(212,255,58,.12)); }

/* Hero: device in front of the artwork */
.hero-visual { position: relative; justify-self: end; width: 100%; max-width: 500px; aspect-ratio: 1 / 1.12; }
.hero-visual .hero-art { position: absolute; inset: 0 0 14% 0; border-radius: var(--radius); overflow: hidden;
  -webkit-mask-image: radial-gradient(110% 85% at 50% 40%, #000 55%, transparent 100%); mask-image: radial-gradient(110% 85% at 50% 40%, #000 55%, transparent 100%); }
.hero-visual .hero-art img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .device { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 50%; }

/* Feature cards with a device beside the copy */
.feature-card.has-phone { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; min-height: 0; }
.feature-card.has-phone .card-body { max-width: none; }
.feature-card.has-phone .phone-slot { display: flex; justify-content: center; padding: 48px 24px; }
.feature-card.has-phone .phone-slot .device { width: 260px; }
.feature-card.has-phone .art { width: 55%; opacity: 0.7; }
.feature-card.has-phone.flip { grid-template-columns: 0.9fr 1.1fr; }
.feature-card.has-phone.flip .phone-slot { order: -1; }
.feature-card.has-phone.flip .card-body { margin-left: 0; }

/* Screen gallery */
.gallery { display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 16px var(--gutter) 28px; margin: 0 calc(var(--gutter) * -1); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { flex: 0 0 auto; width: 220px; margin: 0; scroll-snap-align: center; }
.gallery figure:first-child { margin-left: auto; }
.gallery figure:last-child { margin-right: auto; }
.gallery figcaption { margin-top: 16px; text-align: center; color: var(--text-2); font-size: 15px; }

@media (max-width: 960px) {
  .hero-visual { justify-self: center; }
  .feature-card.has-phone, .feature-card.has-phone.flip { grid-template-columns: 1fr; }
  .feature-card.has-phone.flip .phone-slot { order: 0; }
  .feature-card.has-phone .phone-slot { padding: 8px 24px 40px; }
  .feature-card.has-phone .art, .feature-card.has-phone.flip .art { width: 100%; top: auto; height: 560px; bottom: 0; left: 0; right: 0; opacity: 0.55;
    -webkit-mask-image: linear-gradient(to top, #000 40%, transparent 100%); mask-image: linear-gradient(to top, #000 40%, transparent 100%);
    -webkit-mask-composite: source-over; mask-composite: add; }
}
@media (max-width: 640px) {
  .hero-visual { max-width: 400px; }
  .hero-visual .device { width: 55%; }
  .feature-card.has-phone .card-body, .feature-card.has-phone.flip .card-body { padding: 28px 22px 8px; }
  .feature-card.has-phone .phone-slot .device { width: 220px; }
  .gallery { gap: 20px; }
  .gallery figure { width: 190px; }
  .gallery figure:first-child, .gallery figure:last-child { margin-left: 0; margin-right: 0; }
}
