/* Fonts from Google Fonts (Bricolage Grotesque and Inter Tight, SIL Open Font License), kept in this folder. */
@font-face { font-family: 'Bricolage Grotesque'; src: url(../fonts/bricolage.woff2) format('woff2'); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: 'Inter Tight'; src: url(../fonts/intertight.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #17131f;
  --ink-2: #4a4556;
  --ink-3: #8a8597;
  --pink: #ff3d8e;
  --purple: #8a4dff;
  --line: rgba(23, 19, 31, 0.09);
  --display: 'Bricolage Grotesque', 'Inter Tight', system-ui, sans-serif;
  --body: 'Inter Tight', system-ui, -apple-system, sans-serif;
  --pad: clamp(20px, 5vw, 88px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #f3f2ef;
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.defs { position: absolute; width: 0; height: 0; }

#gl { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh; display: block; z-index: 0; }

/* Smooth scroll: the content sits in a fixed box and is moved by code; the body keeps the real height. */
#viewport { position: relative; z-index: 1; }
html.smooth #viewport { position: fixed; inset: 0; overflow: hidden; }
html.smooth #content { will-change: transform; }

/* ------------------------------------------------------------------ glass */
.glass {
  position: relative;
  background: linear-gradient(160deg, rgba(255,255,255,0.30), rgba(255,255,255,0.06) 55%, rgba(255,255,255,0.16));
  -webkit-backdrop-filter: blur(16px) saturate(1.7) brightness(1.04);
  backdrop-filter: blur(16px) saturate(1.7) brightness(1.04);
  border: 1px solid rgba(255,255,255,0.75);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.95),
    inset 0 -1px 0 rgba(23,19,31,0.06),
    inset 0 0 0 0.5px rgba(255,255,255,0.4),
    0 1px 1px rgba(23,19,31,0.04),
    0 24px 48px -24px rgba(48,28,90,0.22);
}
.glass::after {
  /* the sharp highlight along the top edge, like light on a glass rim */
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(120% 60% at 18% -10%, rgba(255,255,255,0.75), transparent 46%),
    linear-gradient(180deg, rgba(255,255,255,0.0) 60%, rgba(255,255,255,0.18));
  mix-blend-mode: soft-light;
}
.glass-soft {
  background: rgba(255,255,255,0.35);
  -webkit-backdrop-filter: blur(10px) saturate(1.5);
  backdrop-filter: blur(10px) saturate(1.5);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 10px 30px -18px rgba(48,28,90,0.25);
}

/* ------------------------------------------------------------------ nav */
.nav {
  position: fixed; z-index: 10; top: 18px; left: var(--pad); right: var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  pointer-events: none;
}
.nav > * { pointer-events: auto; }
.nav-mark {
  display: inline-flex; align-items: center; gap: 4px;
  height: 44px; padding: 0 16px 0 12px; border-radius: 999px;
  font-family: var(--display); font-weight: 750; letter-spacing: -0.03em; font-size: 19px;
}
.nav-mark .eye {
  width: 13px; height: 13px; border-radius: 50%;
  background: radial-gradient(circle at 60% 55%, var(--ink) 0 34%, #fff 36%);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.nav-mark .eye + .eye { margin-right: 6px; }
.nav-links {
  display: flex; gap: 2px; padding: 5px; border-radius: 999px;
}
.nav-links a {
  font-size: 14px; font-weight: 500; padding: 8px 15px; border-radius: 999px; color: var(--ink-2);
  transition: background .3s, color .3s;
}
.nav-links a:hover { background: rgba(255,255,255,0.7); color: var(--ink); }
.sound {
  height: 44px; padding: 0 16px 0 14px; border-radius: 999px; font: 500 14px var(--body); color: var(--ink);
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
}
.sound-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.sound-bars i { display: block; width: 3px; height: 4px; border-radius: 2px; background: var(--ink); transition: height .3s; }
.sound[aria-pressed='true'] .sound-bars i { animation: bar 0.9s ease-in-out infinite; }
.sound[aria-pressed='true'] .sound-bars i:nth-child(2) { animation-delay: -0.3s; }
.sound[aria-pressed='true'] .sound-bars i:nth-child(3) { animation-delay: -0.6s; }
@keyframes bar { 0%,100% { height: 4px; } 50% { height: 14px; } }

/* ------------------------------------------------------------------ type */
.eyebrow {
  margin: 0 0 18px; font: 600 13px/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3);
}
.big, .huge, .hero-line {
  font-family: var(--display); font-weight: 700; letter-spacing: -0.045em; line-height: 0.92; margin: 0;
  font-variation-settings: 'opsz' 96;
}
.big { font-size: clamp(48px, 8.4vw, 150px); }
.huge { font-size: clamp(52px, 9.6vw, 176px); max-width: 12ch; margin: 0 auto; text-align: center; }
.lede { font-size: clamp(18px, 1.5vw, 22px); color: var(--ink-2); max-width: 32ch; margin: 22px 0 0; }
.warp-type { will-change: filter; }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; padding: 0 var(--pad); display: flex; flex-direction: column; }
.hero-word-space { flex: 1 1 auto; min-height: 50vh; }
.hero-foot { display: flex; align-items: flex-end; justify-content: space-between; padding-bottom: 9vh; }
.hero-copy { max-width: 560px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 9px 16px 9px 12px;
  border-radius: 999px; font-size: 14px; font-weight: 500;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 4px rgba(255,61,142,0.18); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(255,61,142,0.0); } }
.hero-line { font-size: clamp(34px, 3.9vw, 64px); line-height: 0.98; letter-spacing: -0.04em; }
.hero-sub { color: var(--ink-2); font-size: clamp(16px, 1.25vw, 19px); max-width: 44ch; margin: 18px 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; height: 54px; padding: 0 26px; border-radius: 999px;
  font: 600 16px var(--body); letter-spacing: -0.01em; transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.btn:hover { transform: translateY(-2px) scale(1.02); }
.btn-ghost { color: var(--ink-2); padding: 0 18px; }
.btn-ghost:hover { color: var(--ink); }
.btn-xl { height: 76px; padding: 0 44px; font-size: 20px; margin-top: 46px; }
.scroll-cue {
  position: absolute; right: var(--pad); bottom: 9vh; margin: 0; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3);
  display: flex; align-items: center; gap: 12px;
}
.scroll-cue span { width: 1px; height: 46px; background: linear-gradient(var(--ink-3), transparent); animation: cue 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ------------------------------------------------------------------ sections */
section { position: relative; padding: 20vh var(--pad); }
.section-head { margin-bottom: 8vh; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { border-radius: 34px; padding: 34px 32px 30px; min-height: 420px; display: flex; flex-direction: column; overflow: hidden; }
.step-num { font: 600 13px var(--body); letter-spacing: 0.1em; color: var(--ink-3); }
.step h3 { font: 700 clamp(30px, 2.6vw, 44px)/1 var(--display); letter-spacing: -0.04em; margin: auto 0 12px; }
.step p { margin: 0; color: var(--ink-2); max-width: 30ch; }
.step-art { position: absolute; top: 28px; right: 28px; width: 132px; height: 132px; }
.art-drop span { position: absolute; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, rgba(255,255,255,0.2) 45%, rgba(138,77,255,0.25)); box-shadow: inset -6px -8px 16px rgba(138,77,255,0.25), inset 4px 6px 10px #fff, 0 12px 24px -10px rgba(138,77,255,0.35); animation: bob 5s ease-in-out infinite; }
.art-drop span:nth-child(1) { width: 74px; height: 74px; left: 6px; top: 40px; }
.art-drop span:nth-child(2) { width: 46px; height: 46px; left: 74px; top: 8px; animation-delay: -1.6s; }
.art-drop span:nth-child(3) { width: 30px; height: 30px; left: 86px; top: 86px; animation-delay: -3.1s; }
@keyframes bob { 50% { transform: translateY(-9px) scale(1.04); } }
.art-peek span, .art-hold span {
  position: absolute; inset: 6px 20px; border-radius: 20px;
  background: linear-gradient(140deg, var(--pink), var(--purple) 60%, #38b6ff);
  filter: blur(9px); opacity: 0.85;
}
.art-hold span { filter: none; -webkit-mask: radial-gradient(circle at var(--hx, 50%) var(--hy, 50%), #000 0 26px, rgba(0,0,0,0.25) 27px); mask: radial-gradient(circle at var(--hx, 50%) var(--hy, 50%), #000 0 26px, rgba(0,0,0,0.25) 27px); }

.try-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 6vw; align-items: center; }
.try-meter { display: inline-block; margin-top: 30px; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-variant-numeric: tabular-nums; }
.post { margin: 0; border-radius: 36px; padding: 14px; background: #0b0b10; border-color: rgba(255,255,255,0.5); max-width: 520px; justify-self: end; width: 100%; }
.post-top { display: flex; align-items: center; gap: 10px; padding: 6px 8px 14px; font-size: 15px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: conic-gradient(from 200deg, var(--pink), var(--purple), #38b6ff, var(--pink)); box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px rgba(23,19,31,0.08); }
.post-who { display: flex; flex-direction: column; line-height: 1.15; }
.post-name { font-weight: 700; color: #fff; }
.post-meta { color: #a6a6bd; font-size: 12px; display: flex; align-items: center; gap: 6px; }
.ontime { font-weight: 700; color: #3ddc97; background: rgba(61,220,151,0.16); padding: 2px 8px; border-radius: 999px; }
.post-more { margin-left: auto; display: flex; gap: 4px; padding-right: 4px; }
.post-more i { width: 4px; height: 4px; border-radius: 50%; background: #a6a6bd; }
.post-media { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; background: #e9e7f0; }
#revealCanvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; }
#revealCanvas:active { cursor: grabbing; }
.post-actions { display: flex; gap: 16px; padding: 14px 8px 6px; }
.post-actions svg { fill: none; stroke: #fff; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.post-hint {
  position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); padding: 10px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 700; color: #fff; background: rgba(0,0,0,0.55); white-space: nowrap;
  pointer-events: none; transition: opacity .5s;
}

.marquee { margin: 0 calc(var(--pad) * -1) 10vh; overflow: hidden; display: grid; gap: 14px; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-row { display: flex; gap: 14px; width: max-content; }
.dare {
  flex: none; padding: 16px 24px; border-radius: 999px; font: 600 clamp(15px, 1.25vw, 19px) var(--body); letter-spacing: -0.01em; white-space: nowrap;
}
.dare b { color: var(--pink); font-weight: 700; margin-right: 10px; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tile { border-radius: 30px; padding: 30px; min-height: 230px; display: flex; flex-direction: column; justify-content: flex-end; }
.tile h3 { font: 700 32px/1 var(--display); letter-spacing: -0.04em; margin: 0 0 10px; }
.tile p { margin: 0; color: var(--ink-2); }

.table { border-radius: 34px; padding: 10px 0; }
.row {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr) auto; gap: 24px; align-items: center;
  padding: 24px 34px; border-top: 1px solid var(--line); transition: background .4s;
}
.row:first-child { border-top: 0; }
.row:hover { background: rgba(255,255,255,0.35); }
.row .k { font: 700 clamp(22px, 2vw, 32px)/1.05 var(--display); letter-spacing: -0.035em; }
.row span:nth-child(2) { color: var(--ink-2); }
.chip { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,0.4); }

.download { text-align: center; padding-top: 26vh; padding-bottom: 22vh; }
.download .eyebrow { text-align: center; }
.small { color: var(--ink-3); font-size: 14px; margin-top: 22px; }

.foot { position: relative; padding: 12vh var(--pad) 40px; }
.foot-mark { font: 800 clamp(80px, 21vw, 380px)/0.8 var(--display); letter-spacing: -0.07em; color: rgba(255,255,255,0.75); text-shadow: 0 1px 0 rgba(255,255,255,1), 0 -1px 0 rgba(23,19,31,0.06), 0 30px 60px rgba(48,28,90,0.10); margin-left: -0.04em; }
.foot-row { display: flex; flex-wrap: wrap; gap: 18px 40px; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 24px; color: var(--ink-3); font-size: 14px; }
.foot-row p { margin: 0; }
.foot-row nav { display: flex; gap: 24px; }
.foot-row a:hover { color: var(--ink); }

/* ------------------------------------------------------------------ phone width */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav { top: 12px; }
  .sound-label { display: none; }
  .sound { padding: 0 14px; }
  section { padding: 14vh var(--pad); }
  .hero-word-space { min-height: 56vh; }
  .hero-copy .pill { margin-bottom: 16px; }
  .hero-foot { padding-bottom: 6vh; }
  .scroll-cue { display: none; }
  .steps, .trio { grid-template-columns: 1fr; }
  .step { min-height: 300px; }
  .try-grid { grid-template-columns: 1fr; gap: 40px; }
  .post { justify-self: stretch; }
  .row { grid-template-columns: 1fr auto; padding: 20px 22px; gap: 6px 14px; }
  .row span:nth-child(2) { grid-column: 1 / -1; grid-row: 2; font-size: 15px; }
  .btn-xl { height: 64px; padding: 0 30px; font-size: 18px; }
}

/* ------------------------------------------------------------------ the main button: big, solid, in the middle */
.hero-foot { justify-content: center; }
.hero-copy { max-width: 580px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-sub { margin-left: auto; margin-right: auto; }
.hero-actions { flex-direction: column; align-items: center; gap: 6px; }
.btn-main {
  height: 72px; padding: 0 40px; font-size: 21px; font-weight: 700; color: #fff; gap: 12px;
  background: linear-gradient(100deg, #ff3d8e, #8a4dff);
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.55), inset 0 -10px 20px rgba(60,0,120,0.18), 0 18px 40px -12px rgba(255,61,142,0.6), 0 6px 14px -6px rgba(138,77,255,0.5);
  animation: main-pulse 2.8s ease-in-out infinite;
}
.btn-main .arrow { display: inline-block; transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.btn-main:hover .arrow { transform: translateX(6px); }
@keyframes main-pulse {
  50% { box-shadow: inset 0 1px 0 rgba(255,255,255,0.55), inset 0 -10px 20px rgba(60,0,120,0.18), 0 22px 54px -10px rgba(255,61,142,0.8), 0 0 0 10px rgba(255,61,142,0.10); }
}
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-get {
  height: 44px; padding: 0 18px; border-radius: 999px; display: inline-flex; align-items: center;
  font: 700 14px var(--body); color: #fff; background: linear-gradient(100deg, #ff3d8e, #8a4dff);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 10px 22px -10px rgba(255,61,142,0.7);
}
@media (prefers-reduced-motion: reduce) { .btn-main { animation: none; } }
@media (max-width: 860px) {
  .btn-main { height: 64px; padding: 0 28px; font-size: 19px; width: 100%; }
  .hero-actions { width: 100%; }
}
