:root {
  --primary: #0f6f68;
  --primary-deep: #0a5752;
  --mint: #48c8a0;
  --mint-soft: #d8f3e9;
  --bg: #f6f7f6;
  --surface: #ffffff;
  --text: #1f2623;
  --muted: #5a635e;
  --line: #d8e0dc;
  --radius: 12px;
  --space: 1rem;
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --max: 68rem;
}

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

html {
  scroll-behavior: smooth;
}

body.landing {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  min-height: 100vh;
}

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

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

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: #fff;
  padding: 0.5rem 0.75rem;
}

/* —— Nav —— */
.lp-nav {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem clamp(1.25rem, 4vw, 2.5rem);
  color: var(--text);
}

.lp-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.lp-brand img {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 8px;
}

.lp-nav-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.lp-nav-links a:not(.btn) {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}
.lp-nav-links a:not(.btn):hover {
  color: var(--primary);
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  border-radius: 10px;
  padding: 0.85rem 1.25rem;
  min-height: 48px;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}
.btn.primary {
  background: var(--primary);
  color: #fff;
}
.btn.primary:hover {
  background: var(--primary-deep);
  filter: none;
}
.btn.mint {
  background: var(--mint);
  color: #0a2f28;
}
.btn.ghost {
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.btn.ghost:hover {
  background: #fff;
}
.btn .store-badge {
  width: 1.15rem;
  height: 1.15rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: min(100svh, 52rem);
  display: grid;
  align-items: end;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 85% 35%, rgba(72, 200, 160, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 45% at 10% 90%, rgba(15, 111, 104, 0.12), transparent 50%),
    linear-gradient(165deg, #eef8f4 0%, var(--bg) 45%, #e8eeea 100%);
}

.hero-media {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  opacity: 0.92;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(246, 247, 246, 0.96) 0%,
    rgba(246, 247, 246, 0.88) 38%,
    rgba(246, 247, 246, 0.25) 62%,
    rgba(246, 247, 246, 0.05) 100%
  );
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(6.5rem, 14vw, 8rem) clamp(1.25rem, 4vw, 2.5rem) clamp(3rem, 8vw, 4.5rem);
  max-width: 34rem;
  margin-left: max(0px, calc((100% - var(--max)) / 2));
  animation: rise 0.7s ease both;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
}

.hero-copy .brand-name {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.75rem, 8vw, 4.25rem);
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: var(--text);
}

.hero-copy h1 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--primary-deep);
  max-width: 18ch;
}

.hero-lede {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 32ch;
}

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

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

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* —— Sections —— */
.section {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 5rem) clamp(1.25rem, 4vw, 2.5rem);
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2rem;
}

.section-head h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 750;
  font-size: clamp(1.6rem, 3.5vw, 2.15rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Screenshots */
.shots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: end;
}

.shot {
  margin: 0;
  animation: float-in 0.7s ease both;
}
.shot:nth-child(1) {
  animation-delay: 0.05s;
}
.shot:nth-child(2) {
  animation-delay: 0.12s;
}
.shot:nth-child(3) {
  animation-delay: 0.19s;
}
.shot:nth-child(4) {
  animation-delay: 0.26s;
}

.shot-open {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  border-radius: 1.25rem;
}
.shot-open:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 3px;
}

.shot img {
  width: 100%;
  border-radius: 1.25rem;
  box-shadow:
    0 18px 40px rgba(15, 111, 104, 0.12),
    0 2px 0 rgba(15, 111, 104, 0.06);
  transition: transform 0.35s ease;
}
.shot-open:hover img,
.shot-open:focus-visible img {
  transform: translateY(-6px) scale(1.02);
}

.shot figcaption {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
}

.shot-lightbox {
  width: min(92vw, 28rem);
  max-height: min(92vh, 56rem);
  padding: 0.75rem 0.75rem 1rem;
  border: 0;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 24px 64px rgba(15, 38, 34, 0.35);
}
.shot-lightbox::backdrop {
  background: rgba(15, 38, 34, 0.62);
  backdrop-filter: blur(4px);
}
.shot-lightbox-bar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.35rem;
}
.shot-lightbox-close {
  font: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
  background: transparent;
  border: 0;
  cursor: pointer;
  min-height: 44px;
  padding: 0.35rem 0.5rem;
}
.shot-lightbox img {
  width: 100%;
  max-height: min(70vh, 42rem);
  object-fit: contain;
  border-radius: 0.75rem;
  margin: 0 auto;
}
.shot-lightbox-cap {
  margin: 0.65rem 0 0.75rem;
  text-align: center;
  font-weight: 700;
  color: var(--text);
}
.shot-lightbox-nav {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

/* Flow band */
.flow-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(72, 200, 160, 0.18), transparent 60%),
    linear-gradient(180deg, #eaf6f1 0%, var(--bg) 100%);
  border-block: 1px solid var(--line);
}

.flow-grid {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 5rem) clamp(1.25rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.flow-visual img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 12px 36px rgba(15, 111, 104, 0.1);
}

.flow-copy h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-weight: 750;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.flow-copy p {
  margin: 0 0 1.25rem;
  color: var(--muted);
}

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

.steps li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.75rem;
  align-items: start;
}

.steps .n {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--mint-soft);
  color: var(--primary-deep);
  font-weight: 800;
  font-size: 0.9rem;
  display: grid;
  place-items: center;
}

.steps strong {
  display: block;
  font-size: 0.98rem;
}
.steps span {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Platforms */
.platforms {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.25rem;
}

.platform {
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}

.platform.featured {
  background: linear-gradient(145deg, #0f6f68 0%, #0a5752 100%);
  color: #fff;
  border-color: transparent;
}

.platform.featured p,
.platform.featured .muted {
  color: rgba(255, 255, 255, 0.82);
}

.platform h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.platform p {
  margin: 0 0 1.15rem;
}

.platform .muted {
  color: var(--muted);
  font-size: 0.92rem;
}

.platform.featured .btn.mint {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.waitlist {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.25rem;
}
.waitlist.done input,
.waitlist.done .waitlist-consent {
  display: none;
}
.waitlist-label {
  font-size: 0.85rem;
  font-weight: 700;
}
.waitlist input[type="email"] {
  font: inherit;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  width: 100%;
  min-height: 48px;
}
.waitlist input[type="email"]:focus {
  outline: 2px solid var(--mint);
  outline-offset: 1px;
  border-color: var(--primary);
}
.waitlist-consent {
  display: grid;
  grid-template-columns: 1.15rem 1fr;
  gap: 0.65rem;
  align-items: start;
  font-size: 0.88rem;
  color: var(--muted);
  cursor: pointer;
}
.waitlist-consent input {
  margin-top: 0.2rem;
  width: 1.05rem;
  height: 1.05rem;
}
.waitlist-consent a {
  color: var(--primary);
  font-weight: 600;
}
.waitlist-status {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
}
.waitlist-status.error {
  color: #b3261e;
}
.waitlist .btn {
  justify-self: start;
}

.badge-soon {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: var(--mint-soft);
  color: var(--primary-deep);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Footer */
.lp-foot {
  border-top: 1px solid var(--line);
  padding: 2rem clamp(1.25rem, 4vw, 2.5rem) 2.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.lp-foot-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}

.lp-foot a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}
.lp-foot a:hover {
  text-decoration: underline;
}

.lp-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
}

/* Motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero-copy,
  .shot,
  .btn {
    animation: none !important;
    transition: none !important;
  }
  .shot:hover img,
  .shot-open:hover img,
  .shot-open:focus-visible img {
    transform: none;
  }
}

/* Responsive */
@media (max-width: 960px) {
  .shots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .flow-grid,
  .platforms {
    grid-template-columns: 1fr;
  }
  .hero-media img {
    object-position: 80% center;
  }
  .hero-scrim {
    background: linear-gradient(
      180deg,
      rgba(246, 247, 246, 0.75) 0%,
      rgba(246, 247, 246, 0.92) 48%,
      rgba(246, 247, 246, 0.98) 100%
    );
  }
  .hero-copy {
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 560px) {
  .shots {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
  }
  .lp-nav-links .btn {
    display: none;
  }
}
