:root {
  /* Matches App Store / iPhone screenshot canvas (rgb 10,32,32) */
  --bg: #0a2020;
  --bg-deep: #061818;
  --bg-elevated: #0e2a2a;
  --wood: #2a1c14;
  --wood-deep: #1a110c;
  --wood-mid: #503028;
  --fg: #f2f6f5;
  --muted: #9bb0ac;
  --line: rgba(255, 255, 255, 0.08);
  --primary: #2dd4bf;
  --primary-bright: #5eead4;
  --primary-soft: rgba(45, 212, 191, 0.14);
  --brand-cut: #4d9fff;
  --font-display: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --max: 1120px;
  --phone-w: min(100%, 300px);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--fg);
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--primary-bright);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #a7f3e4;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.15rem var(--pad) 0.35rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--fg);
  text-decoration: none;
}

.brand-mark img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.wordmark {
  font-weight: 800;
  letter-spacing: -0.035em;
}

.wordmark__veyl {
  color: #ffffff;
}

.wordmark__cut {
  color: var(--brand-cut);
}

.site-nav {
  display: flex;
  gap: 1.35rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--fg);
}

/* ——— Hero ——— */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.25rem, 4vw, 2.5rem);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(1.5rem, 4vh, 3rem) var(--pad) clamp(2.5rem, 6vh, 4rem);
  min-height: calc(100svh - 6rem);
  background: var(--bg);
}

.hero__atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.hero__glow--a {
  width: 26rem;
  height: 26rem;
  top: 12%;
  left: -12%;
  background: rgba(45, 212, 191, 0.18);
  animation: drift 12s ease-in-out infinite alternate;
}

.hero__glow--b {
  width: 20rem;
  height: 20rem;
  right: 5%;
  bottom: 8%;
  background: rgba(45, 212, 191, 0.1);
  animation: drift 14s ease-in-out infinite alternate-reverse;
}

.hero__copy,
.hero__visual {
  position: relative;
  z-index: 1;
}

.hero__brand {
  margin: 0 0 0.65rem;
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  line-height: 0.95;
}

.hero__headline {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--fg);
}

.hero__headline::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 3px;
  margin-top: 0.9rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), transparent);
}

.hero__lede {
  margin: 0 0 1.75rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.72rem 1.25rem;
  border-radius: 0.7rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn--primary {
  background: var(--primary);
  color: #041512;
}

.btn--primary:hover {
  background: var(--primary-bright);
  color: #041512;
  transform: translateY(-1px);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--fg);
  background: rgba(255, 255, 255, 0.03);
}

.btn--ghost:hover {
  border-color: rgba(45, 212, 191, 0.4);
  color: var(--fg);
}

.phone-stage {
  margin: 0 auto;
  width: var(--phone-w);
  background: var(--bg);
}

.phone-stage img {
  width: 100%;
  height: auto;
  display: block;
}

.phone-stage--hero {
  width: min(100%, 320px);
  animation: riseIn 0.9s ease-out both;
}

.hero .phone-stage {
  width: min(100%, 320px);
}

/* Hero visual sits in the same canvas color as the cropped phone art */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--bg);
  border-radius: 0;
  min-height: 0;
}

/* ——— Full-bleed bands ——— */
.band {
  width: 100%;
  border-top: 1px solid var(--line);
}

.band__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3.25rem, 8vh, 5.5rem) var(--pad);
}

.band--device {
  background: var(--bg);
}

.band--wood {
  background:
    radial-gradient(900px 400px at 50% 0%, rgba(120, 80, 50, 0.18), transparent 60%),
    linear-gradient(180deg, var(--wood-deep), var(--wood) 40%, var(--wood-deep));
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.band--wood .section__intro h2,
.band--wood .section__intro p,
.band--wood .section-note,
.band--wood .receipt-shot figcaption {
  color: #f0e6db;
}

.band--wood .section__intro p,
.band--wood .section-note {
  color: #cbb7a4;
}

.band--wood .receipt-shot figcaption span {
  color: #e8b98a;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3.5rem, 9vh, 6rem) var(--pad);
  border-top: 1px solid var(--line);
}

.section__intro {
  max-width: 40rem;
  margin-bottom: 2.25rem;
}

.section h2,
.band h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.6vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.section__intro p,
.section--cta > p,
.split__text > p {
  margin: 0;
  color: var(--muted);
}

.section-note {
  margin: 1.35rem 0 0;
  font-size: 0.82rem;
  text-align: center;
}

/* Receipt strip — sharp photos on matching wood tone */
.receipt-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.receipt-shot {
  margin: 0;
  background: transparent;
}

.receipt-shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center center;
  border: none;
  border-radius: 0.4rem;
  background: #503028;
}

.receipt-shot figcaption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.85rem;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.receipt-shot figcaption span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* How it works */
.flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(2.25rem, 5vh, 3.5rem);
}

.flow__item {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
  padding: 0.5rem 0;
  background: var(--bg);
  border-radius: 0;
}

.flow__item--reverse {
  grid-template-columns: 0.9fr 1fr;
}

.flow__item--reverse .flow__copy {
  order: 2;
}

.flow__item--reverse .phone-stage {
  order: 1;
}

.flow__num {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: 0.82rem;
}

.flow__copy h3 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.flow__copy p {
  margin: 0;
  max-width: 28rem;
  color: var(--muted);
}

.flow .phone-stage {
  width: min(100%, 280px);
}

/* Privacy split */
.section--split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.plain-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.plain-list li {
  position: relative;
  padding: 0.7rem 0 0.7rem 1.35rem;
  border-top: 1px solid var(--line);
  color: var(--fg);
  font-weight: 500;
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.2rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--primary);
}

.split__aside {
  padding: 1.45rem 1.4rem;
  background:
    linear-gradient(165deg, var(--primary-soft), transparent 60%),
    var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 1rem;
}

.aside-kicker {
  margin: 0 0 0.55rem;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.split__aside p + p {
  margin-top: 0.85rem;
}

.aside-note {
  margin-top: 1rem !important;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.88rem !important;
}

/* Cover modes gallery */
.modes-gallery {
  display: grid;
  gap: 1.25rem;
}

.modes-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.mode-tile {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0;
  padding: 0.45rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  color: var(--fg);
  text-align: left;
}

.mode-tile img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 0.45rem;
  background: #1a120e;
}

.mode-tile figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0 0.2rem 0.25rem;
}

.mode-tile span {
  font-size: 0.88rem;
  font-weight: 600;
}

.mode-tile small {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.section--cta {
  text-align: center;
}

.section--cta h2 {
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}

.section--cta > p {
  max-width: 40rem;
  margin: 0 auto;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 11.5rem;
  padding: 0.75rem 1.1rem;
  border-radius: 0.85rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--fg);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.store-badge:hover {
  border-color: rgba(45, 212, 191, 0.4);
  background: var(--primary-soft);
  color: var(--fg);
  transform: translateY(-2px);
}

.store-badge__icon {
  width: 1.55rem;
  height: 1.55rem;
  flex-shrink: 0;
}

.store-badge span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.store-badge small {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 500;
}

.store-badge strong {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cta-note {
  margin-top: 1.15rem !important;
  color: var(--muted);
  font-size: 0.88rem;
  font-style: italic;
}

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem var(--pad) 3.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer__brand {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}

.footer__brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.footer__brand .wordmark {
  display: block;
  font-size: 1.1rem;
}

.footer__brand p {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer__meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer__meta p {
  margin: 0 0 0.35rem;
}

.footer__preview {
  margin-top: 0.75rem !important;
  color: #c4a574;
  font-size: 0.82rem !important;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes drift {
  from { transform: translate(0, 0); }
  to { transform: translate(18px, 12px); }
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    text-align: center;
  }

  .hero__lede {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__headline::after {
    margin-left: auto;
    margin-right: auto;
  }

  .hero .phone-stage {
    width: min(100%, 260px);
  }

  .receipt-strip {
    grid-template-columns: 1fr;
    max-width: 20rem;
    margin: 0 auto;
  }

  .flow__item,
  .flow__item--reverse {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .flow__item--reverse .flow__copy,
  .flow__item--reverse .phone-stage {
    order: unset;
  }

  .flow__copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .section--split {
    grid-template-columns: 1fr;
  }

  .modes-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-nav {
    display: none;
  }
}

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

  .hero__glow,
  .hero .phone-stage,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .btn--primary:hover,
  .store-badge:hover {
    transform: none;
  }
}
