/* ═══ Stop Wasting Time — landing ═══
   Identity mirrors the app: #05050D night bg, SwtGreen #00E87A accent,
   atmospheric gradients + glass cards (white 8% fill, 14% border). */

:root {
  --bg: #05050D;
  --bg2: #0a0a18;
  --text: #EEEEF8;
  --muted: #b8b8d0;
  --muted2: #8f8fb0;
  --green: #00E87A;
  --green-dark: #00b35e;
  --red: #FF3558;
  --amber: #FFD23F;
  --blue: #4FC3F7;
  --glass: rgba(255,255,255,.06);
  --glass-border: rgba(255,255,255,.13);
  --radius: 20px;
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; }
section { position: relative; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-body); font-weight: 700;
  border-radius: 999px; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-primary {
  background: var(--green); color: #04140b;
  box-shadow: 0 6px 28px rgba(0,232,122,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 36px rgba(0,232,122,.5); }
/* Pre-launch: the Play listing is not public, so every store CTA is a disabled <button>
   rather than a link to a 404. To re-enable at launch, turn them back into
   <a class="btn …" href="…"> and restore the cta_get / pr_cta_free / pr_cta_pro labels
   (all three are still defined in script.js). */
button.btn { border: 0; font: inherit; font-family: var(--font-body); font-weight: 700; }
/* Reads as a deliberate status badge rather than a broken button: the green fill is dropped
   (it promises an action that does not exist yet) but the label stays fully legible. */
.btn[disabled] {
  background: rgba(255,255,255,.06);
  color: var(--muted);
  border: 1px solid var(--glass-border);
  box-shadow: none; opacity: 1; pointer-events: none;
}
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--glass-border);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--muted2); background: rgba(255,255,255,.04); }
.btn-sm { padding: .55em 1.2em; font-size: .92rem; }
.btn-lg { padding: .95em 1.9em; font-size: 1.06rem; }
.play-ic { width: 1.15em; height: 1.15em; flex: none; }
.cta-note { margin-top: .8rem; font-size: .88rem; color: var(--muted2); letter-spacing: .02em; }

/* ── Glass ── */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}

/* ── Nav ── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5,5,13,.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: .7rem 1.4rem;
  display: flex; align-items: center; gap: 1.5rem;
}
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; }
.brand img { width: 30px; height: auto; }
.nav-links { display: flex; gap: 1.6rem; margin-left: auto; font-size: .95rem; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: .9rem; }
.nav-cta-short { display: none; }
.lang-toggle {
  background: none; border: 1px solid var(--glass-border); color: var(--muted);
  border-radius: 999px; padding: .35em .85em; font: 600 .85rem var(--font-body);
  cursor: pointer; transition: color .15s, border-color .15s;
}
.lang-toggle:hover { color: var(--text); border-color: var(--muted2); }
select.lang-toggle { -webkit-appearance: none; appearance: none; text-align: center; }
select.lang-toggle option { background: #0d0d22; color: #fff; }

/* ── Hero ── */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 82% -10%, rgba(79,60,120,.55), transparent 60%),
    radial-gradient(900px 480px at 8% 8%, rgba(20,26,60,.8), transparent 65%),
    radial-gradient(1200px 700px at 60% 118%, rgba(168,88,56,.38), transparent 62%),
    linear-gradient(180deg, #04040c 0%, #0d0d22 55%, #1a1230 100%);
  padding: 4.5rem 1.4rem 0;
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem;
  align-items: center; padding-bottom: 6.5rem;
}
.eyebrow {
  color: var(--green); font-weight: 700; font-size: .82rem;
  letter-spacing: .22em; text-transform: uppercase; margin-bottom: 1.1rem;
}
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -.01em; }
.hero h1 em { font-style: normal; color: var(--green); }
.hero-sub { margin: 1.4rem 0 2rem; font-size: 1.14rem; color: var(--muted); max-width: 34em; }
/* The phone is the product proof, so it sits flush right and Sandy stands beside it —
   overlapping only the lower-left corner. Sandy used to be centred over the screenshot
   and hid ~55% of it, including the whole goals list. */
.hero-visual { position: relative; display: flex; justify-content: flex-end; align-items: flex-end; min-height: 540px; }
.hero-sandy {
  position: absolute; left: 0; bottom: 2%;
  width: clamp(160px, 18vw, 250px); z-index: 3;
  filter: drop-shadow(0 24px 40px rgba(0,0,0,.55));
}
.hero-mountains { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 120px; z-index: 1; }

/* ── Phone frame ── */
.phone {
  position: relative; width: min(300px, 72vw);
  border-radius: 40px; border: 9px solid #14141f;
  outline: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 40px 90px rgba(0,0,0,.6), 0 0 80px rgba(0,232,122,.06);
  overflow: hidden; background: #05050D;
}
.phone img { width: 100%; }
.phone-notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 20px; background: #14141f; border-radius: 999px; z-index: 2;
}
.phone-sm { width: min(270px, 70vw); }

/* ── Hero screen sequence ──
   Frame 1 sits in normal flow so the phone keeps its intrinsic height (no layout shift);
   frames 2 and 3 are stacked on top and faded in turn. One 9s cycle, ~3s per screen. */
.phone-seq { position: relative; }
.phone-seq .seq-2, .phone-seq .seq-3 {
  position: absolute; inset: 0; opacity: 0;
  animation: seqShow 9s ease-in-out infinite;
}
.phone-seq .seq-3 { animation-delay: 3s; }
@keyframes seqShow {
  0%, 33.33%   { opacity: 0; }
  36%, 66.66%  { opacity: 1; }
  69.66%, 100% { opacity: 0; }
}

/* ── Stars ── */
.stars, .stars::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 8% 22%, rgba(230,234,244,.8), transparent),
    radial-gradient(1px 1px at 21% 9%, rgba(230,234,244,.6), transparent),
    radial-gradient(1.5px 1.5px at 33% 30%, rgba(230,234,244,.7), transparent),
    radial-gradient(1px 1px at 44% 14%, rgba(230,234,244,.55), transparent),
    radial-gradient(2px 2px at 56% 26%, rgba(230,234,244,.75), transparent),
    radial-gradient(1px 1px at 67% 8%, rgba(230,234,244,.6), transparent),
    radial-gradient(1.5px 1.5px at 78% 33%, rgba(230,234,244,.65), transparent),
    radial-gradient(1px 1px at 89% 18%, rgba(230,234,244,.6), transparent),
    radial-gradient(1.5px 1.5px at 95% 40%, rgba(230,234,244,.5), transparent);
  background-repeat: no-repeat;
  animation: twinkle 6s ease-in-out infinite alternate;
  pointer-events: none;
}
.stars::after { background-position: 40px 60px; animation-delay: -3s; opacity: .6; }
@keyframes twinkle { from { opacity: .45; } to { opacity: 1; } }

/* ── Float ── */
.float { animation: floaty 5.5s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ── Trust strip ── */
.trust { padding: 3.6rem 1.4rem 1rem; }
.trust-grid {
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.trust-grid li { padding: 1.3rem 1.4rem; display: grid; gap: .15rem; }
.t-ic { font-size: 1.5rem; margin-bottom: .35rem; }
.trust-grid strong { font-family: var(--font-display); font-size: 1rem; }
.trust-grid span:last-child { color: var(--muted2); font-size: .9rem; line-height: 1.45; }

/* ── Why it matters ── */
.research { padding: 3.4rem 1.4rem 1rem; }
.research-inner { max-width: 940px; margin: 0 auto; text-align: center; }
.research-lead {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.15rem, 2.1vw, 1.5rem); line-height: 1.4;
  max-width: 26em; margin: 0 auto 2.4rem; color: var(--text);
}
.research-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem;
  max-width: 720px; margin: 0 auto;
}
.research-grid li { display: grid; gap: .3rem; }
.res-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.1rem, 5vw, 3rem); color: var(--green); line-height: 1;
}
.res-lab { color: var(--muted); font-size: .98rem; line-height: 1.45; max-width: 18em; margin: 0 auto; }
.res-src { color: var(--muted2); font-size: .78rem; font-style: normal; letter-spacing: .02em; margin-top: .35rem; }

/* ── Section heads ── */
.section-head { max-width: 760px; margin: 0 auto 3rem; text-align: center; padding: 0 1.4rem; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; }
.section-head p { margin-top: 1rem; color: var(--muted); font-size: 1.08rem; }

/* ── Meet Sandy ── */
.sandy-section { padding: 6rem 1.4rem 4.5rem; }
.sandy-grid {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.4rem;
  text-align: center;
}
.sandy-grid li { display: grid; justify-items: center; gap: .2rem; }
.sandy-grid img { height: 120px; width: auto; filter: drop-shadow(0 12px 20px rgba(0,0,0,.5)); transition: transform .25s ease; }
.sandy-grid li:hover img { transform: translateY(-8px) scale(1.06); }
.sandy-grid strong { font-family: var(--font-display); margin-top: .7rem; font-size: .98rem; }
.sandy-grid span:last-child { color: var(--muted2); font-size: .84rem; line-height: 1.4; }
.sandy-note { text-align: center; margin-top: 2.6rem; color: var(--green); font-weight: 600; letter-spacing: .01em; }

/* ── Features ── */
.features { max-width: 1080px; margin: 0 auto; padding: 2rem 1.4rem 3rem; display: grid; gap: 5.5rem; }
.feature {
  position: relative;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 3.4rem; align-items: center;
}
.feature:nth-child(even) .feature-copy { order: 2; }
.feature:nth-child(even) .phone { order: 1; justify-self: start; }
.feature .phone { justify-self: end; }
.feature::before {
  content: ""; position: absolute; inset: -12% 0;
  border-radius: 50%; filter: blur(90px); z-index: -1; opacity: .16;
}
.feature[data-glow="red"]::before   { background: radial-gradient(closest-side, var(--red), transparent 70%); }
.feature[data-glow="green"]::before { background: radial-gradient(closest-side, var(--green), transparent 70%); }
.feature[data-glow="amber"]::before { background: radial-gradient(closest-side, var(--amber), transparent 70%); }
.feature[data-glow="blue"]::before  { background: radial-gradient(closest-side, var(--blue), transparent 70%); }
.feature-tag {
  font-size: .8rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  margin-bottom: .9rem;
}
.feature[data-glow="red"] .feature-tag   { color: var(--red); }
.feature[data-glow="green"] .feature-tag { color: var(--green); }
.feature[data-glow="amber"] .feature-tag { color: var(--amber); }
.feature[data-glow="blue"] .feature-tag  { color: var(--blue); }
.feature h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; margin-bottom: 1rem; }
.feature-copy > p { color: var(--muted); }
.feature-copy ul { margin-top: 1.4rem; display: grid; gap: .65rem; }
.feature-copy ul li { padding-left: 1.7em; position: relative; color: var(--text); font-size: .98rem; }
.feature-copy ul li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--green); font-weight: 700;
}

/* ── How it works ── */
.how { padding: 5rem 1.4rem; }
.how-grid {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
  counter-reset: step;
}
.how-grid li { padding: 1.8rem 1.6rem; display: grid; gap: .3rem; }
.step-n {
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(0,232,122,.14); color: var(--green);
  font: 700 1.05rem var(--font-display); margin-bottom: .8rem;
}
.how-grid strong { font-family: var(--font-display); font-size: 1.05rem; }
.how-grid span:last-child { color: var(--muted2); font-size: .92rem; }
/* Each step carries the real screen it describes. Cropped to the top two-thirds — the
   bottom of these screens is empty background and would just add dead space. */
.how-shot {
  height: 240px; margin: -.4rem -.4rem 1.2rem; border-radius: 14px;
  overflow: hidden; background: #05050D;
  border: 1px solid rgba(255,255,255,.09);
  -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
}
/* These screens centre their content vertically, so the crop window has to sit below the
   midpoint — anchoring at the top would frame nothing but empty background. */
.how-shot img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 58%; }
/* The three screens sit at slightly different heights, so each gets its own crop anchor
   rather than one compromise that clips a heading. */
.how-grid li:nth-child(2) .how-shot img { object-position: center 51%; }
.how-grid li:nth-child(3) .how-shot img { object-position: center 49%; }
.how-grid .step-n { margin-bottom: .55rem; }

/* ── Pricing ── */
.pricing { padding: 4.5rem 1.4rem; }
.pricing-grid {
  max-width: 880px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; align-items: stretch;
}
.price-card { padding: 2.1rem 2rem; display: flex; flex-direction: column; }
.price-card h3 { font-size: 1.35rem; margin-bottom: .4rem; }
.price { font-family: var(--font-display); font-weight: 800; font-size: 2.3rem; margin-bottom: 1.4rem; }
.price .per { display: block; font: 500 .85rem var(--font-body); color: var(--muted2); margin-top: .2rem; }
.price-card ul { display: grid; gap: .6rem; }
.price-card ul li { padding-left: 1.7em; position: relative; font-size: .97rem; }
.price-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.price-pro { border-color: rgba(0,232,122,.55); box-shadow: 0 0 60px rgba(0,232,122,.12); position: relative; }
.pro-badge {
  position: absolute; top: -0.85rem; left: 50%; transform: translateX(-50%);
  background: var(--green); color: #04140b;
  font: 700 .8rem var(--font-body); letter-spacing: .04em;
  padding: .3em 1.1em; border-radius: 999px; white-space: nowrap;
}
/* margin-top:auto keeps both cards' CTAs bottom-aligned even though the feature
   lists have different lengths. */
.price-cta { margin-top: auto; justify-content: center; padding: .85em 1.5em; font-size: 1rem; }
.price-card ul { margin-bottom: 1.8rem; }
.pro-note { padding-top: .9rem; color: var(--muted2); font-size: .86rem; text-align: center; }

/* ── Final CTA ── */
.final-cta {
  position: relative; overflow: hidden; text-align: center;
  padding: 6rem 1.4rem;
  background:
    radial-gradient(800px 420px at 50% 120%, rgba(0,232,122,.16), transparent 65%),
    radial-gradient(900px 500px at 50% -30%, rgba(43,32,80,.7), transparent 70%),
    #07070f;
}
.final-inner { position: relative; z-index: 2; display: grid; justify-items: center; gap: 1.1rem; }
.final-inner img { width: 110px; }
.final-cta h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; max-width: 18em; }
.final-cta p { color: var(--muted); }
.final-cta .final-sub { max-width: 30em; }

/* ── Waitlist ── */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.waitlist {
  display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center;
  margin-top: 1.2rem; width: 100%; max-width: 480px;
}
.waitlist input[type="email"] {
  flex: 1 1 240px; min-width: 0;
  background: rgba(255,255,255,.06); color: var(--text);
  border: 1px solid var(--glass-border); border-radius: 999px;
  padding: .85em 1.3em; font: 500 1rem var(--font-body);
  transition: border-color .15s, background .15s;
}
.waitlist input[type="email"]::placeholder { color: var(--muted2); }
.waitlist input[type="email"]:focus {
  outline: none; border-color: var(--green); background: rgba(255,255,255,.09);
}
.waitlist button { flex: 0 0 auto; padding: .85em 1.6em; font-size: 1rem; }
.wl-msg { min-height: 1.4em; margin-top: .9rem; font-size: .95rem; font-weight: 600; }
.wl-msg.ok  { color: var(--green); }
.wl-msg.err { color: var(--red); }
.wl-note { max-width: 34em; }

/* ── FAQ ── */
.faq { padding: 4.5rem 1.4rem 5.5rem; }
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: .9rem; }
.faq-list details { padding: 0; overflow: hidden; }
.faq-list summary {
  cursor: pointer; list-style: none; padding: 1.15rem 3.2rem 1.15rem 1.4rem;
  font: 600 1.02rem var(--font-display); position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 1.3rem; top: 50%; transform: translateY(-50%);
  color: var(--green); font-size: 1.4rem; font-weight: 400; transition: transform .2s ease;
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { padding: 0 1.4rem 1.3rem; color: var(--muted); font-size: .97rem; }

/* ── Footer ── */
.footer { border-top: 1px solid rgba(255,255,255,.07); padding: 2.6rem 1.4rem; background: #04040a; }
.footer-inner { max-width: 1160px; margin: 0 auto; display: grid; gap: 1.1rem; justify-items: center; text-align: center; }
.footer-brand { display: flex; align-items: center; gap: .55rem; font-family: var(--font-display); font-weight: 700; }
.footer-brand img { width: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.6rem; color: var(--muted); font-size: .93rem; }
.footer-links a:hover { color: var(--text); }
.footer-copy { color: var(--muted2); font-size: .85rem; }

/* ── Reveal on scroll ── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .float, .stars, .stars::after { animation: none; }
  /* Hold the first screen instead of cycling — an app about not staring at screens
     should not force motion on people who asked for less of it. */
  .phone-seq .seq-2, .phone-seq .seq-3 { animation: none; opacity: 0; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 2rem; padding-bottom: 5rem; }
  .hero-copy { display: grid; justify-items: center; }
  /* Narrow screens have no room to stand Sandy beside the phone, so keep the phone
     centred and let Sandy peek over the bottom-left corner only (nav bar, not content). */
  .hero-visual { min-height: 0; margin-top: 1.5rem; justify-content: center; }
  .hero-sandy { left: -2%; bottom: -3%; width: clamp(110px, 21vw, 165px); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .sandy-grid { grid-template-columns: repeat(3, 1fr); row-gap: 2.2rem; }
  .feature, .feature:nth-child(even) { grid-template-columns: 1fr; gap: 2.2rem; }
  .feature:nth-child(even) .feature-copy { order: 1; }
  .feature:nth-child(even) .phone { order: 2; }
  .feature .phone, .feature:nth-child(even) .phone { justify-self: center; }
  .how-grid { grid-template-columns: 1fr; }
  .how-shot { height: 230px; }
  .pricing-grid { grid-template-columns: 1fr; }
  /* .nav-links carries the margin-left:auto that right-aligns the nav on desktop,
     so .nav-actions has to take over once the links are hidden. */
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .sandy-grid { grid-template-columns: repeat(2, 1fr); }
  .research-grid { grid-template-columns: 1fr; gap: 2rem; }
  .waitlist button { flex: 1 1 100%; justify-content: center; }
  .btn-lg { padding: .9em 1.5em; font-size: 1rem; }
  .nav-inner { gap: .8rem; }
  .brand span { display: none; }
  .nav-cta-full { display: none; }
  .nav-cta-short { display: inline; }
}

/* Waitlist privacy link — same muted weight as the note it sits in. */
.wl-priv { text-decoration: underline; text-underline-offset: .18em; color: var(--muted); }
.wl-priv:hover { color: var(--text); }
