:root {
  --ink: #1a1a1a;
  --muted: #5c5854;
  --orange: #e86a12;
  --paper: #f3efe8;
  --panel: #d9b896;
  --line: #e4ddd4;
  --white: #fff;
}

* { box-sizing: border-box; }

html {
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.125rem;
  line-height: 1.5;
  font-weight: 500;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--white);
  padding: 0.5rem 0.8rem;
  text-decoration: none;
  z-index: 10;
}

.skip:focus { top: 1rem; }

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

a:hover { text-decoration-thickness: 2px; }

a:focus-visible,
.button:focus-visible,
.nav-cta:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.mark {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0.38em 0.32em 0.34em 0.46em;
  background: var(--orange);
  color: #000;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
}

.mark a {
  color: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-decoration: none;
}

.mark a:hover { text-decoration: underline; text-underline-offset: 3px; }

.file {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-weight: 500;
}

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

.button {
  display: inline-block;
  margin-top: 0.25rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
}

.button:hover { background: #000; }

/* —— Nav —— */

.nav {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-brand { text-decoration: none; flex-shrink: 0; }

.nav-links {
  display: none;
  gap: 1.25rem;
  margin-left: auto;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links a:hover { color: var(--ink); }

.nav-cta {
  margin-left: auto;
  color: var(--white);
  background: var(--ink);
  border-radius: 999px;
  padding: 0.5rem 0.95rem;
  font-size: 0.95rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.nav-cta:hover { background: #000; }

@media (min-width: 760px) {
  .nav-links { display: flex; }
  .nav-cta { margin-left: 0; }
}

/* —— Layout shells —— */

main,
.site-foot {
  max-width: 40rem;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

body.home > main {
  max-width: 68rem;
  padding-top: 1.5rem;
  padding-bottom: 0.5rem;
}

body.home main.rest {
  max-width: 40rem;
  padding-top: 0.5rem;
  padding-bottom: 1rem;
}

body:not(.home) main {
  padding-top: 2.75rem;
  padding-bottom: 0.5rem;
}

h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(2.4rem, 6vw, 3.5rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.03em;
}

h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h3 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.section-lead {
  margin: -0.35rem 0 1.5rem;
  color: var(--muted);
  font-size: 1.15rem;
}

.block { margin: 3.25rem 0; }

.block p { margin: 0.4rem 0 0; }

.deal-title { font-size: clamp(1.7rem, 3vw, 2.2rem); }

.fine {
  margin: 0.9rem 0 1.5rem;
  color: var(--muted);
  font-size: 1rem;
}

.soon {
  display: inline-block;
  margin: 0 0 0.85rem;
  padding: 0.28rem 0.65rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-fine { margin-bottom: 1.25rem; }

.waitlist-wrap {
  margin: 0 0 1.5rem;
  padding: 1.1rem 1.15rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

.waitlist label { display: block; margin: 0 0 0.45rem; font-weight: 700; }

.waitlist-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: stretch;
}

.waitlist input[type="email"] {
  flex: 1 1 12rem;
  margin: 0;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

.waitlist-btn {
  margin: 0;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.waitlist .note { margin-top: 0.7rem; }

.waitlist .note a { color: var(--muted); }

.joined {
  margin: 0;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  background: #e7f3e4;
  color: #1a3d18;
  font-weight: 600;
}

.waitlist-wrap:has(.joined:not([hidden])) .waitlist { display: none; }

.honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}

.updated { margin: 0 0 2rem; color: var(--muted); }

.rule {
  margin: 2rem 0 0.4rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 1.125rem;
  font-weight: 500;
}

.price {
  margin: 0;
  color: var(--orange);
  font-size: 2rem;
  line-height: 1.2;
}

/* —— Hero —— */

.hero {
  display: grid;
  gap: 2rem;
  align-items: start;
  padding-bottom: 1rem;
}

.hero-copy { min-width: 0; }

.lead {
  margin: 0 0 1.5rem;
  font-size: 1.35rem;
  line-height: 1.35;
}

.get {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.5rem;
}

.qr-wrap {
  display: none;
  align-items: center;
  gap: 0.65rem;
}

.qr { width: 112px; height: 112px; }

.qr-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  max-width: 5.5rem;
  line-height: 1.25;
}

.tool {
  margin: 0.25rem 0 0;
  padding: 1.1rem 1.15rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

.tool label { display: block; margin: 0 0 0.45rem; }

.tool input {
  width: 100%;
  margin: 0;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

.fileout {
  margin: 0.8rem 0 0;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 1.15rem;
  font-weight: 500;
}

.note { margin: 0.55rem 0 0; color: var(--muted); font-size: 1rem; }

.hero-mark {
  margin: 0 0 1rem;
  font-size: 1.05rem;
}

.hero-stage {
  background:
    radial-gradient(ellipse at 30% 20%, #f0d4b0 0%, transparent 55%),
    linear-gradient(160deg, #e2b889 0%, var(--panel) 48%, #c89668 100%);
  border-radius: 28px;
  padding: 1.5rem 1.25rem 1.25rem;
  animation: rise 0.7s ease both;
}

.hero-stage .phone {
  max-width: 17rem;
  margin: 0 auto;
  box-shadow: 0 18px 40px rgba(26, 26, 26, 0.28);
}

.hero-stage .beats {
  color: var(--ink);
}

/* Start the hero loop on the saved frame so the panel never looks empty. */
.hero-stage .before .say,
.hero-stage .before .go,
.hero-stage .before .done,
.hero-stage .before .ghost,
.hero-stage .before .word,
.hero-stage .before .shutter,
.hero-stage .before .finder,
.hero-stage .before .scene,
.hero-stage .before .onpic {
  animation-delay: -4.2s;
}

.hero-cap {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2.5rem;
    align-items: center;
    min-height: calc(100vh - 5.5rem);
    padding-bottom: 2rem;
  }

  .hero-stage { padding: 2rem; }

  .hero-stage .phone { max-width: 19rem; }
}

@media (min-width: 720px) {
  .qr-wrap { display: flex; }
}

/* —— Claim strip —— */

.strip {
  display: grid;
  gap: 1rem;
  margin: 0.5rem 0 0;
  padding: 1.25rem 1.35rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.strip-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.strip-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem 1.5rem;
}

.strip-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 1rem;
}

.strip-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

@media (min-width: 700px) {
  .strip {
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .strip-list {
    grid-template-columns: repeat(4, auto);
    justify-content: end;
  }
}

/* —— Steps —— */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.steps > li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  margin: 0;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.steps > li:last-child { border-bottom: 1px solid var(--line); }

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

@media (min-width: 760px) {
  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 0 1.5rem;
  }

  .steps > li { border-bottom: 1px solid var(--line); }
}

/* —— Reel / phone stage —— */

.reel {
  position: relative;
  height: 24rem;
  margin: 0 0 0.25rem;
}

.reel .pick {
  position: absolute;
  left: 50%;
  top: 0;
  width: min(86%, 26rem);
  margin: 0;
  transform: translateX(-50%);
  transition: transform 0.5s ease, filter 0.5s ease;
  z-index: 1;
}

.reel .pick:not(.is-on) {
  z-index: 0;
  filter: blur(3px) brightness(0.38);
  cursor: pointer;
}

.reel .before:not(.is-on) { transform: translate(calc(-50% - 6.5rem), 0.6rem) scale(0.62); }

.reel .after:not(.is-on) { transform: translate(calc(-50% + 6.5rem), 0.6rem) scale(0.62); }

.reel figcaption {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

.reel .pick:not(.is-on) figcaption {
  font-size: 0.68rem;
  transform: scale(0.86);
  transform-origin: top center;
}

.stage { position: relative; }

.beats {
  position: relative;
  height: 1.35rem;
  margin: 0 0 0.45rem;
}

.beat {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.2;
  text-align: center;
}

.phone {
  background: #1a1a1a;
  border-radius: 22px;
  padding: 8px;
}

.screen {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #c4a484;
  aspect-ratio: 3 / 4;
}

.scene,
.finder {
  position: absolute;
  inset: 0;
}

.scene { background: #c4a484; }

.scene::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 18%;
  height: 34%;
  background: #6b4f3a;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.scene::after {
  content: "";
  position: absolute;
  left: 42%;
  bottom: 22%;
  width: 16%;
  height: 26%;
  background: #1a1a1a;
}

.finder {
  background: linear-gradient(#f3efe8, #f3efe8) padding-box;
  box-shadow: inset 0 0 0 1.5px #c4c0b8;
}

.pill {
  position: absolute;
  left: 50%;
  top: 8%;
  width: 42%;
  height: 22px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.8rem;
  line-height: 22px;
  text-align: center;
  z-index: 2;
  box-shadow: inset 0 0 0 1.5px #c4c0b8;
}

.pill span { position: absolute; inset: 0; }

.ghost { color: var(--muted); font-style: italic; }

.word { color: var(--ink); opacity: 0; }

.shutter {
  position: absolute;
  left: 50%;
  bottom: 7%;
  width: 28px;
  height: 28px;
  margin-left: -14px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
  z-index: 2;
}

.onpic {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 6px 4px;
  background: var(--ink);
  color: var(--white);
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 0.78rem;
  line-height: 1.2;
  text-align: center;
  z-index: 2;
}

.before .scene,
.before .onpic,
.before .go,
.before .done { opacity: 0; }

.after .word { opacity: 0; }

.after .go,
.after .done,
.after .named { opacity: 0; }

.before .say { animation: step-a 7.2s infinite; }
.before .go { animation: step-b 7.2s infinite; }
.before .done { animation: step-c 7.2s infinite; }
.before .ghost { animation: step-a 7.2s infinite; }
.before .word { animation: hold-word 7.2s infinite; }
.before .shutter { animation: press 7.2s infinite; }
.before .finder { animation: until-saved 7.2s infinite; }
.before .scene,
.before .onpic { animation: step-c 7.2s infinite; }

.after .say { animation: step-a 7.2s infinite; }
.after .go { animation: step-b 7.2s infinite; }
.after .done { animation: step-c 7.2s infinite; }
.after .img { animation: until-saved 7.2s infinite; }
.after .word { animation: hold-word 7.2s infinite; }
.after .named { animation: step-c 7.2s infinite; }

@keyframes step-a {
  0%, 27% { opacity: 1; }
  27.1%, 91% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes step-b {
  0%, 27% { opacity: 0; }
  27.1%, 54% { opacity: 1; }
  54.1%, 100% { opacity: 0; }
}

@keyframes hold-word {
  0%, 27% { opacity: 0; }
  27.1%, 91% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes until-saved {
  0%, 54% { opacity: 1; }
  54.1%, 91% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes step-c {
  0%, 54% { opacity: 0; }
  54.1%, 91% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes press {
  0%, 40% { transform: scale(1); opacity: 1; }
  46% { transform: scale(0.82); opacity: 1; }
  52% { transform: scale(1); opacity: 1; }
  54.1%, 91% { transform: scale(1); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-stage { animation: none; }
  .stage * { animation: none; }
  .before .say,
  .before .go,
  .before .ghost,
  .before .finder,
  .before .shutter,
  .after .say,
  .after .go,
  .after .img { opacity: 0; }
  .before .done,
  .before .word,
  .before .scene,
  .before .onpic,
  .after .done,
  .after .word,
  .after .named { opacity: 1; }
}

@media (min-width: 760px) {
  .screen { aspect-ratio: 16 / 10; }
  .hero-stage .screen { aspect-ratio: 3 / 4; }
  .reel { height: 22rem; }
}

@media (max-width: 759px) {
  .reel { height: 30rem; }
  .reel .pick { width: min(84%, 17rem); }
  .reel .before:not(.is-on),
  .reel .after:not(.is-on) { transform: translate(calc(-50% - 2.6rem), 0.8rem) scale(0.52); }
}

/* —— Wall / proofs —— */

.bleed {
  width: min(1100px, calc(100% - 3rem));
  margin: 0.5rem auto 0;
}

.bleed img { display: block; width: 100%; height: auto; }

.bleed img.wall-tall { display: none; }

@media (max-width: 759px) {
  .bleed img.wall-wide { display: none; }
  .bleed img.wall-tall { display: block; }
  .bleed { width: min(420px, calc(100% - 2rem)); }
}

.caption {
  max-width: 36rem;
  margin: 0.35rem auto 0;
  padding: 0 1.5rem 1.5rem;
  color: var(--muted);
  text-align: center;
}

.versus {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin: 1rem 0 0.4rem;
}

.versus figure { margin: 0; }

.versus svg { display: block; width: 100%; height: auto; }

.versus figcaption {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.proofs h2 { margin-top: 2.25rem; }

.proofs h2:first-child { margin-top: 0; }

.again { margin: 1.75rem 0 0.5rem; }

@media (min-width: 640px) {
  .versus { grid-template-columns: 1fr 1fr; }
}

/* —— FAQ —— */

.faq {
  margin-top: 0.5rem;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.75rem 1rem 0;
  font-weight: 700;
  position: relative;
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 1rem;
  color: var(--muted);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1;
}

.faq details[open] summary::after { content: "–"; }

.faq details p {
  margin: 0 0 1.1rem;
  color: var(--muted);
  max-width: 36rem;
}

.faq details[open] summary { color: var(--orange); }

/* —— Footer —— */

.site-foot {
  max-width: 68rem;
  margin: 2rem auto 0;
  padding: 2rem 1.5rem 3rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1.5rem;
}

.foot-brand p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  max-width: 22rem;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.foot-links a {
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
}

.foot-links a:hover { color: var(--ink); }

body:not(.home) footer {
  max-width: 40rem;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

@media (min-width: 760px) {
  .site-foot {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 2.05rem; }
  .lead { font-size: 1.2rem; }
  .nav { padding: 0.65rem 1rem; gap: 0.65rem; }
  .mark { font-size: 0.82rem; letter-spacing: 0.1em; }
}
