:root {
  --bg: #06060A;
  --bg-2: #0E0E15;
  --line: rgba(255, 255, 255, 0.09);
  --text: #F4F4F7;
  --muted: rgba(244, 244, 247, 0.62);
  --faint: rgba(244, 244, 247, 0.4);
  --brand: #3B4AE0;
  --radius: 22px;
  --pad: clamp(20px, 5vw, 64px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: "Inter Tight", Inter, sans-serif; letter-spacing: -0.03em; line-height: 1.02; margin: 0; }
em { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -0.01em; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 28px;
  padding: calc(14px + env(safe-area-inset-top, 0px)) var(--pad) 14px;
  background: rgba(6, 6, 10, 0.72); backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font: 700 18px "Inter Tight", sans-serif; letter-spacing: -0.02em; }
.brand img { border-radius: 8px; }
.nav nav { display: flex; gap: 24px; margin-left: auto; font-size: 14px; color: var(--muted); }
.nav nav a:hover { color: var(--text); }
.nav-cta { background: #fff; color: #000; font-weight: 600; font-size: 14px; padding: 9px 16px; border-radius: 999px; }

/* Store button */
.store {
  display: inline-flex; align-items: center; gap: 12px; background: #fff; color: #000;
  padding: 12px 22px 12px 18px; border-radius: 16px; font: 600 19px/1.1 "Inter Tight", sans-serif;
  letter-spacing: -0.01em; transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 10px 40px rgba(59, 74, 224, 0.35);
}
.store:hover { transform: translateY(-2px); box-shadow: 0 16px 50px rgba(59, 74, 224, 0.5); }
.store .apple { width: 24px; height: 28px; }
.store span { display: flex; flex-direction: column; }
.store small { font: 500 11px Inter, sans-serif; letter-spacing: 0; opacity: .7; }
.store.lg { padding: 20px 38px 20px 30px; font-size: 27px; border-radius: 20px; gap: 14px; }
.store.lg .apple { width: 32px; height: 38px; }
.store.lg small { font-size: 13px; }
.store.xl { padding: 24px 46px 24px 36px; font-size: 32px; border-radius: 24px; gap: 16px; }
.store.xl .apple { width: 38px; height: 45px; }
.store.xl small { font-size: 14px; }
.grid-cta { display: flex; justify-content: center; margin-top: 44px; }
.dock { display: none; }
.cta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 34px; }
.cta-note { color: var(--faint); font-size: 14px; }

/* Hero */
.hero {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 40px; align-items: center; min-height: min(calc(100vh - 64px), 880px); padding: 40px var(--pad) 60px; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: auto -20% -40% -20%; height: 90%;
  background: radial-gradient(50% 50% at 40% 50%, rgba(59, 74, 224, 0.38), transparent 70%);
  pointer-events: none; z-index: 0;
}
.hero-copy { position: relative; z-index: 2; max-width: 640px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 7px 14px;
  border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--muted); background: rgba(255,255,255,.03); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #34D17A; box-shadow: 0 0 0 4px rgba(52,209,122,.15); }
.hero h1 { font-size: clamp(44px, 6.6vw, 92px); font-weight: 800; }
.hero h1 em { font-size: 1.08em; color: #C9CEFF; }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); margin: 24px 0 0; max-width: 540px; }
.lede.narrow { margin: 14px 0 36px; }

.wall {
  position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  height: min(86vh, 780px); transform: rotate(-6deg) scale(1.08);
  mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
}
.col { overflow: hidden; min-width: 0; }
.hero-copy, .wall { min-width: 0; }
.track { display: flex; flex-direction: column; gap: 14px; animation: rise 60s linear infinite; }
.col-1 .track { animation-duration: 75s; animation-direction: reverse; }
.col-2 .track { animation-duration: 66s; }
.track img { border-radius: 18px; aspect-ratio: 600 / 1075; object-fit: cover; border: 1px solid rgba(255,255,255,.08); }
@keyframes rise { to { transform: translateY(-50%); } }
@media (prefers-reduced-motion: reduce) { .track { animation: none; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.stats div { padding: 34px var(--pad); border-right: 1px solid var(--line); }
.stats div:last-child { border-right: 0; }
.stats strong { display: block; font: 800 clamp(30px, 3.4vw, 46px) "Inter Tight", sans-serif; letter-spacing: -0.03em; }
.stats span { color: var(--muted); font-size: 14px; }

/* Sections */
.section { padding: clamp(64px, 9vw, 120px) var(--pad) 0; }
.section.top { padding-top: 64px; }
.section h2, .final h2 { font-size: clamp(34px, 4.4vw, 60px); font-weight: 800; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.more { color: var(--muted); font-weight: 500; white-space: nowrap; }
.more:hover { color: var(--text); }
.page-title { font-size: clamp(42px, 6vw, 80px); font-weight: 800; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.card { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-2);
  border: 1px solid var(--line); aspect-ratio: 600 / 1075; isolation: isolate; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.88), rgba(0,0,0,0) 55%); z-index: 1; }
.card-text { position: absolute; inset: auto 0 0 0; padding: 18px; z-index: 2; }
.card h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.card p { margin: 6px 0 0; font-size: 13px; line-height: 1.45; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card:hover img { transform: scale(1.05); }

/* How */
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,0)); }
.steps span { font: 400 46px/1 "Instrument Serif", serif; font-style: italic; color: #8F99FF; }
.steps h3 { font-size: 24px; margin: 22px 0 10px; }
.steps p { margin: 0; color: var(--muted); }

/* FAQ */
.faq { max-width: 880px; }
.faq h2 { margin-bottom: 26px; }
details { border-top: 1px solid var(--line); padding: 20px 0; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; font: 600 19px "Inter Tight", sans-serif; letter-spacing: -0.01em; display: flex; justify-content: space-between; gap: 20px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--faint); font-weight: 400; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin: 12px 0 0; max-width: 720px; }

/* Final CTA */
.final { text-align: center; padding: clamp(90px, 12vw, 160px) var(--pad); display: flex; flex-direction: column; align-items: center; gap: 34px;
  background: radial-gradient(40% 60% at 50% 100%, rgba(59,74,224,.35), transparent 70%); }

/* Trend page */
.trend-hero { display: grid; grid-template-columns: minmax(260px, 420px) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); padding: 56px var(--pad) 0; align-items: start; }
.trend-poster img { border-radius: 26px; border: 1px solid var(--line); box-shadow: 0 30px 90px rgba(59,74,224,.28); }
.trend-copy { max-width: 640px; padding-top: 6px; }
.trend-copy h1 { font-size: clamp(40px, 5.4vw, 76px); font-weight: 800; margin-top: 18px; }
.trend-copy > p:not(.lede) { color: var(--muted); }
.trend-copy h2 { font-size: 28px; margin: 56px 0 18px; }
.crumb { color: var(--faint); font-size: 14px; }
.howto { padding: 0; margin: 0; list-style: none; counter-reset: s; }
.howto li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 2px 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.howto li::before { content: counter(s, decimal-leading-zero); grid-row: span 2; font: italic 26px/1 "Instrument Serif", serif; color: #8F99FF; }
.howto span { color: var(--muted); font-size: 15px; }

/* Legal */
.legal { max-width: 760px; padding: 64px var(--pad) 40px; margin: 0 auto; }
.legal h1 { font-size: clamp(38px, 5vw, 60px); font-weight: 800; }
.legal h2 { font-size: 22px; margin: 36px 0 8px; }
.legal p, .legal li { color: var(--muted); }
.legal a { color: #AEB5FF; }
.muted { color: var(--faint) !important; font-size: 14px; }

/* Footer */
.foot { margin-top: 40px; padding: 48px var(--pad) calc(40px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr auto; gap: 12px 30px; color: var(--muted); font-size: 14px; }
.foot-brand { display: flex; align-items: center; gap: 10px; color: var(--text); font: 700 17px "Inter Tight", sans-serif; }
.foot-brand img { border-radius: 7px; }
.foot p { margin: 0; grid-column: 1; }
.foot nav { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-wrap: wrap; gap: 22px; align-items: center; justify-content: end; }
.foot nav a:hover { color: var(--text); }
.foot small { grid-column: 1 / -1; color: var(--faint); margin-top: 18px; }

/* Responsive */
@media (max-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 34px; }
  .wall { height: 420px; transform: rotate(-6deg) scale(1.15); margin: 10px 0 0; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats div:nth-child(2) { border-right: 0; }
  .stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; }
  .trend-hero { grid-template-columns: minmax(0, 1fr); }
  .trend-poster { max-width: 360px; }
  .foot { grid-template-columns: 1fr; }
  .foot nav { grid-column: 1; grid-row: auto; justify-content: start; }
}
@media (max-width: 620px) {
  .nav nav { display: none; }
  .nav-cta { margin-left: auto; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card-text { padding: 12px; }
  .card h3 { font-size: 16px; }
  .card p { display: none; }
  .dock { display: flex; position: fixed; inset: auto 0 0 0; z-index: 30; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(to top, rgba(6,6,10,.98) 60%, rgba(6,6,10,0)); }
  .dock .store { width: 100%; justify-content: center; padding: 16px 20px; font-size: 22px; }
  .dock .store .apple { width: 26px; height: 31px; }
  body { padding-bottom: 96px; }
  .hero .store.xl, .trend-copy .store.lg { width: 100%; justify-content: center; }
  .store.xl { font-size: 28px; padding: 20px 24px; }
  .trend-poster { margin: 0 auto; }
  .trend-poster { max-width: 260px; }
  .trend-hero { padding-top: 28px; }
  .section-head { flex-direction: column; align-items: start; }
  .store.lg { font-size: 20px; }
}
