:root {
  color-scheme: dark;
  --bg: #000000;
  --fg: #ffffff;
  --fg-muted: rgba(255, 255, 255, 0.58);
  --fg-faint: rgba(255, 255, 255, 0.32);
  --accent: #43d18a;
  --accent-dim: rgba(67, 209, 138, 0.14);
  --line: rgba(255, 255, 255, 0.1);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
[hidden] { display: none !important; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--delay { transition-delay: 0.12s; }
.reveal--delay-2 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal--delay, .reveal--delay-2 {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

/* ---------- layout shell ---------- */

.nav {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 10;
  padding: 20px max(20px, env(safe-area-inset-left, 0px)) 16px max(20px, env(safe-area-inset-right, 0px));
  background: linear-gradient(to bottom, rgba(0,0,0,0.9), rgba(0,0,0,0));
  backdrop-filter: blur(6px);
}

.nav__mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.nav__logo {
  width: 18px;
  height: 18px;
  border-radius: 4px;
}

main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding-block: clamp(56px, 10vw, 120px);
}

.section-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 2rem;
}

/* ---------- splash ---------- */

.splash {
  min-height: 88vh;
  min-height: 88svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-block: 40px;
}

.splash__logo {
  width: clamp(48px, 10vw, 68px);
  height: clamp(48px, 10vw, 68px);
  border-radius: clamp(11px, 2.4vw, 16px);
  margin-bottom: 1.4rem;
  animation: splash-in 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.splash__wordmark {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 5vw, 2rem);
  margin: 0 0 0.5rem;
  animation: splash-in 1s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.12s;
}

.splash__tagline {
  color: var(--accent);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  margin: 0;
  animation: splash-in 1s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.22s;
}

@keyframes splash-in {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.scroll-cue {
  position: absolute;
  bottom: 36px;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--fg-faint));
}

@media (prefers-reduced-motion: reduce) {
  .splash__logo, .splash__wordmark, .splash__tagline {
    animation: none;
    opacity: 1;
  }
}

/* ---------- statement ---------- */

.statement {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow {
  color: var(--fg-muted);
  font-size: 0.9rem;
  margin: 0 0 1.1rem;
  letter-spacing: 0.01em;
}

.statement__headline {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 7.5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 1.4rem;
  max-width: 16ch;
}

.statement__sub {
  color: var(--fg-muted);
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  max-width: 46ch;
  margin: 0 0 2.2rem;
}

.badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--fg);
  color: var(--bg);
  padding: 12px 20px;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.badge-btn:hover { transform: translateY(-1px); opacity: 0.9; }
.badge-btn__icon { width: 22px; height: 22px; flex-shrink: 0; }
.badge-btn__text { display: flex; flex-direction: column; line-height: 1.15; }
.badge-btn__small { font-size: 0.68rem; }
.badge-btn__big { font-size: 1.02rem; font-weight: 600; }

/* device mockup */

.feature__device { display: flex; justify-content: center; }

.phone {
  width: min(280px, 78vw);
  aspect-ratio: 9 / 19.5;
  background: #0a0a0a;
  border: 1px solid var(--line);
  border-radius: 42px;
  padding: 10px;
  position: relative;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.03) inset;
}

.phone__notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 22px;
  background: #0a0a0a;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  z-index: 2;
}

.phone__screen {
  height: 100%;
  background: radial-gradient(ellipse at top, #101312 0%, #000 65%);
  border-radius: 32px;
  padding: 34px 20px 22px;
  display: flex;
  flex-direction: column;
}

.phone__label {
  margin: 0;
  color: var(--fg-faint);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.phone__shards {
  margin: 6px 0 10px;
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 500;
}

.phone__unit { font-size: 0.95rem; color: var(--fg-muted); font-family: var(--sans); }

.phone__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--accent);
  margin-bottom: 22px;
}
.dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.phone__apps { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }

.app-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 9px 10px;
}

.app-icon { width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0; }
.app-icon--ig { background: linear-gradient(135deg, #4f5bd5, #962fbf 45%, #d62976 70%, #fa7e1e); }
.app-icon--tt { background: #1a1a1a; border: 1px solid rgba(255,255,255,0.15); }

.app-meta { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.app-name { font-size: 0.78rem; font-weight: 500; }
.app-price { font-size: 0.68rem; color: var(--fg-muted); }
.lock-pill { font-size: 0.75rem; opacity: 0.7; }

/* ---------- how it works ---------- */

.how__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.how__num {
  display: block;
  font-family: var(--serif);
  color: var(--accent);
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
}

.how__step h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.5rem;
  margin: 0 0 0.6rem;
}

.how__step p {
  color: var(--fg-muted);
  margin: 0;
  font-size: 0.98rem;
}

/* ---------- feature ---------- */

.feature {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 8vw, 64px);
}

.feature__text { max-width: 640px; }

.feature__headline {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 5.5vw, 3.1rem);
  line-height: 1.14;
  margin: 0 0 1.6rem;
}

.feature__headline em {
  font-style: italic;
  color: var(--accent);
}

.feature__body {
  color: var(--fg-muted);
  font-size: clamp(1rem, 2vw, 1.12rem);
  max-width: 54ch;
  margin: 0;
}

/* ---------- pricing ---------- */

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.tier {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 28px;
}

.tier--accent {
  border-color: rgba(67, 209, 138, 0.35);
  background: var(--accent-dim);
}

.tier__name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.3rem;
  margin: 0 0 0.7rem;
}

.tier__desc {
  color: var(--fg-muted);
  font-size: 0.92rem;
  margin: 0 0 1.6rem;
  min-height: 4.2em;
}

.tier__price {
  font-family: var(--serif);
  font-size: 1.7rem;
  margin: 0;
}
.tier__price span {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--fg-muted);
}

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 40px 20px max(40px, env(safe-area-inset-bottom, 0px));
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer__mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--serif);
  font-size: 1rem;
}

.footer__logo {
  width: 16px;
  height: 16px;
  border-radius: 4px;
}

.footer__links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__links a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 0.88rem;
}
.footer__links a:hover { color: var(--fg); }

.footer__copy {
  width: 100%;
  color: var(--fg-faint);
  font-size: 0.8rem;
  margin: 0;
}

/* ---------- responsive ---------- */

@media (min-width: 860px) {
  .feature {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .feature__text { flex: 1; }
  .feature__device { flex-shrink: 0; }
}

@media (max-width: 720px) {
  .how__grid { grid-template-columns: 1fr; gap: 36px; }
  .pricing__grid { grid-template-columns: 1fr; }
  .tier__desc { min-height: 0; }
}
