/* =========================================================
   Keys — landing page
   Cinematic midnight + red. Fraunces / Schibsted / JetBrains.
   ========================================================= */

:root {
  --ink:        #08080A;
  --midnight:   #0D0D0D;
  --raise:      #141416;
  --raise-2:    #1B1B1E;

  --red:        #E24B4A;
  --red-bright: #FF5C54;
  --red-deep:   #B23533;

  --bone:       #F5F2EC;
  --text:       #ECE9E3;
  --muted:      #9A968F;
  --faint:      #5E5B57;

  --border:     rgba(245, 242, 236, 0.10);
  --border-2:   rgba(245, 242, 236, 0.06);

  --serif: "Fraunces", Georgia, serif;
  --sans:  "Schibsted Grotesk", system-ui, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, monospace;

  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--midnight);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}

/* No accidental zoom-on-double-tap for controls; let the page scroll freely */
button, a, .seg label { touch-action: manipulation; }

::selection { background: var(--red); color: #fff; }

a { color: inherit; text-decoration: none; }

em { font-style: italic; }

/* ---------- Atmosphere: grain + glow ---------- */
.grain {
  position: fixed; inset: 0; z-index: 9000; pointer-events: none;
  opacity: 0.045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.ambient { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.glow {
  position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.5;
}
.glow--a {
  width: 50vw; height: 50vw; top: -14vw; right: -10vw;
  background: radial-gradient(circle, rgba(226,75,74,0.55), transparent 65%);
}
.glow--b {
  width: 42vw; height: 42vw; bottom: -16vw; left: -12vw;
  background: radial-gradient(circle, rgba(226,75,74,0.22), transparent 68%);
}

/* ---------- Layout primitives ---------- */
main { position: relative; z-index: 1; }

.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(80px, 12vw, 160px) clamp(22px, 5vw, 56px);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-block;
}

.section__head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 72px); }
.section__head .eyebrow { margin-bottom: 20px; }

.section__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 5.2vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--bone);
}
.section__lede {
  margin-top: 22px; max-width: 560px;
  color: var(--muted); font-size: 1.08rem;
}

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: -0.01em;
  border: 0; cursor: pointer;
  padding: 15px 26px;
  border-radius: 100px;
  display: inline-flex; align-items: center; gap: 10px;
  transition: transform 0.4s var(--ease), background 0.3s, box-shadow 0.4s, color 0.3s;
  white-space: nowrap;
}
.btn--red {
  background: var(--red); color: #fff;
  box-shadow: 0 10px 30px -8px rgba(226,75,74,0.6);
}
.btn--red:hover {
  background: var(--red-bright);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -8px rgba(226,75,74,0.75);
}
.btn--red span { transition: transform 0.4s var(--ease); }
.btn--red:hover span { transform: translateX(4px); }
.btn--ghost {
  background: rgba(245,242,236,0.04);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(245,242,236,0.09); transform: translateY(-2px); }
.btn--block { width: 100%; justify-content: center; padding: 17px; font-size: 1rem; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 28px;
  padding: 18px clamp(18px, 5vw, 56px);
  padding-top: calc(18px + env(safe-area-inset-top));
  padding-left: max(clamp(18px, 5vw, 56px), env(safe-area-inset-left));
  padding-right: max(clamp(18px, 5vw, 56px), env(safe-area-inset-right));
  backdrop-filter: blur(14px) saturate(150%);
  background: linear-gradient(to bottom, rgba(13,13,13,0.82), rgba(13,13,13,0.35));
  border-bottom: 1px solid var(--border-2);
}
.nav__brand { display: flex; align-items: center; gap: 9px; margin-right: auto; }
.nav__mark {
  color: var(--red); font-size: 1.05rem;
  transform: translateY(-1px);
  text-shadow: 0 0 18px rgba(226,75,74,0.7);
}
.nav__word {
  font-family: var(--serif); font-weight: 600; font-size: 1.4rem;
  letter-spacing: -0.02em; color: var(--bone);
}
.nav__links { display: flex; gap: 30px; }
.nav__links a {
  font-size: 0.92rem; color: var(--muted);
  transition: color 0.25s; position: relative;
}
.nav__links a:hover { color: var(--text); }
.nav__cta { padding: 11px 20px; font-size: 0.9rem; }

/* ---------- Hero ---------- */
.hero {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(130px, 18vw, 190px) clamp(22px, 5vw, 56px) clamp(60px, 8vw, 90px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero__copy { max-width: 600px; }

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted);
  padding: 8px 15px; border-radius: 100px;
  border: 1px solid var(--border); background: rgba(245,242,236,0.03);
  margin-bottom: 30px;
}
.pill__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 0 0 rgba(226,75,74,0.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(226,75,74,0.55); }
  70% { box-shadow: 0 0 0 9px rgba(226,75,74,0); }
  100% { box-shadow: 0 0 0 0 rgba(226,75,74,0); }
}

.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.7rem, 7vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--bone);
}
.hero__title em {
  font-style: italic; color: var(--red);
  text-shadow: 0 0 50px rgba(226,75,74,0.45);
}
.hero__title .hot {
  font-style: normal; font-weight: 500; color: var(--red-bright);
  text-shadow:
    0 0 24px rgba(255,92,84,0.55),
    0 0 60px rgba(255,92,84,0.45),
    0 0 110px rgba(226,75,74,0.35);
}
.hero__lede {
  margin-top: 26px; max-width: 480px;
  color: var(--muted); font-size: 1.12rem; line-height: 1.65;
}

/* Join forms */
.join--inline {
  margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px;
  max-width: 470px;
}
.join__micro--inline { flex-basis: 100%; margin-top: 6px; }
.join__input {
  flex: 1; min-width: 0;
  background: var(--raise); border: 1px solid var(--border);
  color: var(--text); font-family: var(--sans); font-size: 1rem;
  padding: 15px 18px; border-radius: 100px;
  transition: border-color 0.25s, background 0.25s;
}
.join__input::placeholder { color: var(--faint); }
.join__input:focus {
  outline: none; border-color: var(--red);
  background: var(--raise-2);
  box-shadow: 0 0 0 4px rgba(226,75,74,0.12);
}
.join__micro {
  margin-top: 14px; font-size: 0.85rem; color: var(--faint);
  font-family: var(--mono); letter-spacing: 0.01em;
}
.join__micro.is-error { color: var(--red-bright); }

/* ---------- Phone + Hinge-style profile ---------- */
.hero__deck { display: flex; flex-direction: column; align-items: center; }
.phone {
  position: relative;
  width: min(330px, 82vw);
  aspect-ratio: 9 / 18.6;
  background: linear-gradient(160deg, #1a1a1d, #0c0c0e);
  border: 1px solid rgba(245,242,236,0.12);
  border-radius: 44px;
  padding: 14px;
  box-shadow:
    0 50px 100px -30px rgba(0,0,0,0.85),
    0 0 0 2px rgba(0,0,0,0.5) inset,
    0 1px 0 rgba(255,255,255,0.06) inset;
}
.phone__notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 108px; height: 24px; background: #000; border-radius: 0 0 16px 16px;
  z-index: 8;
}

/* app frame — pinned with insets (not height:100%) so it resolves
   against the phone's aspect-ratio box on iOS Safari too. */
.app {
  position: absolute; inset: 14px;
  border-radius: 32px; overflow: hidden;
  background: var(--midnight);
}

/* glass top bar */
.app__nav {
  position: absolute; top: 0; left: 0; right: 0; z-index: 6;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px 12px;
  background: linear-gradient(to bottom, rgba(13,13,13,0.7), rgba(13,13,13,0));
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent);
  mask-image: linear-gradient(to bottom, #000 60%, transparent);
}
.app__navIcon { color: var(--muted); font-size: 1rem; }
.app__brand {
  font-family: var(--sans); font-weight: 800; font-size: 0.95rem;
  letter-spacing: 0.02em; color: var(--bone);
}

/* scroll surface */
.app__scroll {
  position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden;
  scrollbar-width: none;
  padding-bottom: 92px;
}
.app__scroll::-webkit-scrollbar { display: none; }

/* profile hero */
.pf__hero {
  position: relative; height: 360px;
  background: #111 center/cover no-repeat;
  display: flex; align-items: flex-end;
}
.pf__hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, #0D0D0D 2%, rgba(13,13,13,0.1) 42%, rgba(0,0,0,0.3) 100%);
}
.pf__heroText { position: relative; z-index: 2; padding: 20px; }
.pf__name {
  font-family: var(--serif); font-weight: 600; font-size: 1.55rem;
  line-height: 1.02; letter-spacing: -0.02em; color: #fff;
  text-transform: uppercase;
  text-shadow: 0 4px 16px rgba(0,0,0,0.7);
}
.pf__meta {
  font-family: var(--sans); font-weight: 600; font-size: 0.82rem;
  color: #d3cfc8; margin-top: 6px;
}
.pf__loc {
  display: flex; align-items: center; gap: 5px; margin-top: 7px;
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
}
.pf__loc::before { content: "📍"; font-size: 9px; }

/* prompt + photo cards */
.pf__card {
  margin: 18px 16px 0; padding: 18px;
  background: rgba(18,18,18,0.7); border: 1px solid var(--border);
  border-radius: 22px;
}
.pf__label {
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.16em;
  text-transform: uppercase; color: #cfc4c5; margin-bottom: 9px;
}
.pf__quote {
  font-family: var(--serif); font-style: italic; font-size: 1.05rem;
  line-height: 1.36; color: var(--text);
}
.pf__photo {
  position: relative; margin: 18px 16px 0; height: 230px;
  border-radius: 22px; overflow: hidden;
  background: #111 center/cover no-repeat;
}
.pf__badge {
  position: absolute; top: 12px; right: 12px;
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase;
  color: #fff; padding: 5px 10px; border-radius: 100px;
  background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
}
.pf__chips {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  padding: 26px 16px 4px;
}
.pf__chip {
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text); padding: 8px 13px; border-radius: 100px;
  background: var(--raise-2); border: 1px solid var(--border-2);
}
.pf__end {
  text-align: center; padding: 22px 0 8px;
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--faint);
}

/* fixed action bar */
.app__actions {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 7;
  display: flex; align-items: center; justify-content: center; gap: 22px;
  padding: 14px 0 20px;
  background: linear-gradient(to top, #0D0D0D 30%, rgba(13,13,13,0));
}
.act {
  border-radius: 50%; cursor: pointer; display: grid; place-items: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.25s;
}
.act--pass {
  width: 54px; height: 54px; font-size: 1.2rem;
  background: rgba(53,53,53,0.9); color: var(--text);
  border: 1px solid var(--border);
}
.act--like {
  width: 64px; height: 64px; font-size: 1.55rem;
  background: var(--red); color: #fff; border: 0;
  box-shadow: 0 12px 30px -8px rgba(226,75,74,0.7);
}
.act:active { transform: scale(0.9); }
.act--pass:hover { transform: translateY(-2px); }
.act--like:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(226,75,74,0.85); }

/* match moment overlay */
.app__match {
  position: absolute; inset: 0; z-index: 10;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 10px; padding: 26px;
  background: rgba(6,6,8,0.94); backdrop-filter: blur(4px);
  animation: matchIn 0.5s var(--ease) both;
}
.app__match[hidden] { display: none; }
@keyframes matchIn { from { opacity: 0; } to { opacity: 1; } }
.match__kicker {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--red-bright);
}
.match__title {
  font-family: var(--serif); font-weight: 500; font-size: 1.8rem;
  line-height: 1.05; letter-spacing: -0.02em; color: var(--bone);
}
.match__photo {
  width: 150px; height: 150px; border-radius: 22px; margin: 8px 0;
  background: #111 center/cover no-repeat;
  border: 1px solid var(--red);
  box-shadow: 0 0 50px -8px rgba(226,75,74,0.6);
}
.match__car { font-family: var(--serif); font-size: 1.1rem; color: var(--bone); }
.match__sub { font-size: 0.82rem; color: var(--muted); max-width: 220px; }
.match__btn {
  margin-top: 10px; background: var(--red); color: #fff; border: 0; cursor: pointer;
  font-family: var(--sans); font-weight: 700; font-size: 0.9rem;
  padding: 12px 28px; border-radius: 100px;
  box-shadow: 0 10px 30px -8px rgba(226,75,74,0.6);
  transition: transform 0.3s var(--ease), background 0.25s;
}
.match__btn:hover { background: var(--red-bright); transform: translateY(-2px); }
.match__again {
  background: none; border: 0; cursor: pointer;
  font-family: var(--sans); font-weight: 600; font-size: 0.82rem;
  color: var(--muted); padding: 4px;
}
.match__again:hover { color: var(--text); }

.hero__hint {
  margin-top: 20px; font-family: var(--mono); font-size: 11.5px;
  letter-spacing: 0.06em; color: var(--faint); text-transform: uppercase;
}

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  border-top: 1px solid var(--border-2); border-bottom: 1px solid var(--border-2);
  padding: 30px 0; overflow: hidden; white-space: nowrap;
  background:
    radial-gradient(120% 140% at 50% 50%, rgba(226,75,74,0.06), transparent 70%),
    rgba(8,8,10,0.55);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.marquee__track {
  display: inline-flex; align-items: center; gap: 44px;
  animation: scroll 34s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee__track { animation-play-state: paused; }

.marquee__track .mq {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.7rem, 4.2vw, 2.9rem);
  color: var(--bone); letter-spacing: -0.02em; line-height: 1;
}
/* every other word rendered as an airy outline for rhythm */
.marquee__track .mq--out {
  color: transparent;
  -webkit-text-stroke: 1px rgba(245,242,236,0.45);
}
/* the payoff word glows in brand red */
.marquee__track .mq--hot {
  color: var(--red-bright);
  text-shadow: 0 0 28px rgba(255,92,84,0.45);
}
.marquee__track .dot {
  font-style: normal; font-size: 1.15rem;
  opacity: 0.65; transform: translateY(-2px);
}
@keyframes scroll { to { transform: translateX(calc(-100% / 3)); } }

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border-2);
  border: 1px solid var(--border-2); border-radius: 22px; overflow: hidden;
}
.step {
  background: var(--midnight); padding: 36px 28px 42px;
  transition: background 0.4s;
}
.step:hover { background: var(--raise); }
.step__num {
  font-family: var(--mono); font-size: 12px; color: var(--red);
  letter-spacing: 0.1em;
}
.step__title {
  font-family: var(--serif); font-weight: 500; font-size: 1.5rem;
  color: var(--bone); margin: 22px 0 12px; letter-spacing: -0.02em;
}
.step__body { color: var(--muted); font-size: 0.98rem; }
.step__body em { color: var(--red-bright); font-style: italic; }

/* ---------- Profiles ---------- */
.section--profiles { padding-top: clamp(40px, 6vw, 80px); }
.profiles {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.profile {
  background: var(--raise); border: 1px solid var(--border-2);
  border-radius: 26px; overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s;
}
.profile:hover {
  transform: translateY(-8px);
  border-color: var(--border);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.8);
}
.profile__photo {
  height: 230px; background-size: cover; background-position: center;
  position: relative;
}
.profile__photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--raise), transparent 55%);
}
.profile__vibe {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: #fff; padding: 6px 11px; border-radius: 100px;
  background: rgba(0,0,0,0.45); border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(6px);
}
.profile__body { padding: 22px 24px 28px; }
.profile__id { display: flex; flex-direction: column; gap: 5px; margin-bottom: 18px; }
.profile__id h3 {
  font-family: var(--serif); font-weight: 600; font-size: 1.3rem;
  color: var(--bone); letter-spacing: -0.02em;
}
.profile__meta { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.03em; }
.profile__label {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--red); display: block; margin-bottom: 8px;
}
.profile__quote {
  font-family: var(--serif); font-style: italic; font-size: 1.12rem;
  line-height: 1.4; color: var(--text);
}

/* ---------- Manifesto ---------- */
.manifesto {
  max-width: 980px; margin: 0 auto;
  padding: clamp(90px, 14vw, 180px) clamp(22px, 5vw, 56px);
  text-align: center;
}
.manifesto__line {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2rem, 6vw, 4.2rem);
  line-height: 1.08; letter-spacing: -0.03em; color: var(--bone);
}
.manifesto__line em { color: var(--red); font-style: italic; text-shadow: 0 0 60px rgba(226,75,74,0.4); }
.strike { position: relative; color: var(--faint); }
.strike::after {
  content: ""; position: absolute; left: -4%; right: -4%; top: 52%; height: 3px;
  background: var(--red); transform: rotate(-3deg); border-radius: 3px;
}
.manifesto__sub {
  margin-top: 34px; max-width: 540px; margin-inline: auto;
  color: var(--muted); font-size: 1.12rem;
}

/* ---------- Waitlist ---------- */
.waitlist {
  max-width: 720px;
}
.waitlist__inner {
  background: linear-gradient(160deg, rgba(226,75,74,0.10), rgba(20,20,22,0.6));
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: clamp(34px, 6vw, 64px);
  position: relative; overflow: hidden;
}
.waitlist__inner::before {
  content: ""; position: absolute; top: -40%; right: -20%;
  width: 60%; height: 120%; border-radius: 50%;
  background: radial-gradient(circle, rgba(226,75,74,0.22), transparent 70%);
  filter: blur(40px); pointer-events: none;
}
.waitlist .eyebrow { margin-bottom: 18px; position: relative; }
.waitlist__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.02;
  letter-spacing: -0.03em; color: var(--bone); position: relative;
}
.waitlist__lede { margin-top: 18px; color: var(--muted); max-width: 460px; position: relative; }

.join--full {
  margin-top: 34px; display: grid; gap: 18px;
  grid-template-columns: 1fr 1fr; position: relative;
}
.field { display: flex; flex-direction: column; gap: 9px; }
.field--wide { grid-column: 1 / -1; }
.field--toggle { grid-column: 1 / -1; }
.field label, .field__legend {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
}
.field input[type="email"], .field input[type="text"] {
  background: rgba(8,8,10,0.6); border: 1px solid var(--border);
  color: var(--text); font-family: var(--sans); font-size: 1rem;
  padding: 14px 16px; border-radius: 14px;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.field input::placeholder { color: var(--faint); }
.field input:focus {
  outline: none; border-color: var(--red); background: rgba(8,8,10,0.85);
  box-shadow: 0 0 0 4px rgba(226,75,74,0.12);
}
.join--full .btn--block { grid-column: 1 / -1; margin-top: 4px; }
.join--full .join__micro { grid-column: 1 / -1; margin-top: 0; text-align: center; }

/* segmented toggle */
.seg {
  display: inline-flex; gap: 4px; padding: 4px;
  background: rgba(8,8,10,0.6); border: 1px solid var(--border); border-radius: 100px;
  width: fit-content;
}
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label {
  font-family: var(--sans); font-size: 0.9rem; text-transform: none; letter-spacing: 0;
  color: var(--muted); padding: 9px 20px; border-radius: 100px; cursor: pointer;
  transition: background 0.25s, color 0.25s;
}
.seg input:checked + label { background: var(--red); color: #fff; }

/* success state */
.join.is-success { display: block; text-align: center; padding: 8px 0; }
.join.is-success > *:not(.success) { display: none !important; }
.success { display: none; }
.join.is-success .success { display: block; animation: rise 0.6s var(--ease) both; }
.success__key { font-size: 2.6rem; }
.success__title {
  font-family: var(--serif); font-size: 1.9rem; color: var(--bone);
  margin-top: 10px; letter-spacing: -0.02em;
}
.success__sub { color: var(--muted); margin-top: 8px; }
.success__num { color: var(--red-bright); font-family: var(--mono); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border-2);
  max-width: var(--maxw); margin: 0 auto;
  padding: 56px clamp(22px, 5vw, 56px) 64px;
  display: flex; flex-direction: column; gap: 18px; align-items: center; text-align: center;
}
.footer__brand {
  font-family: var(--serif); font-weight: 600; font-size: 1.5rem; color: var(--bone);
  display: flex; align-items: center; gap: 8px;
}
.footer__tag { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--muted); max-width: 420px; }
.footer__meta {
  display: flex; gap: 24px; flex-wrap: wrap; justify-content: center;
  font-family: var(--mono); font-size: 12px; color: var(--faint); letter-spacing: 0.04em;
}
.footer__meta a { transition: color 0.25s; }
.footer__meta a:hover { color: var(--red); }

/* ---------- Reveal animation ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
[data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 132px; }
  .hero__copy { max-width: 620px; }
  .hero__deck { margin-top: 30px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .profiles { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .nav__links { display: none; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }

  /* tighter rhythm so sections don't feel like long scroll tunnels on a phone */
  .section { padding: clamp(60px, 14vw, 90px) 20px; }
  .hero { padding: 120px 20px 56px; gap: 30px; }
  .hero__copy { max-width: 100%; }

  /* keep one always-visible action in the nav — just make it compact */
  .nav { gap: 14px; }
  .nav__cta { display: inline-flex; padding: 9px 16px; font-size: 0.85rem; }

  /* stacked forms, full-width tap targets */
  .join--inline { flex-direction: column; }
  .join--inline .btn { justify-content: center; width: 100%; }
  .join--full { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { padding: 30px 24px 34px; }

  .seg { width: 100%; }
  .seg label { flex: 1; text-align: center; padding: 11px 8px; }

  .footer { padding: 48px 20px calc(56px + env(safe-area-inset-bottom)); }
  .footer__meta { gap: 16px; }

  /* big blurred blobs are costly on mobile GPUs — shrink + soften */
  .glow { filter: blur(70px); opacity: 0.4; }
  .glow--a { width: 80vw; height: 80vw; top: -24vw; right: -30vw; }
  .glow--b { width: 70vw; height: 70vw; }
}

@media (max-width: 380px) {
  .hero__title { font-size: 2.55rem; }
  .phone { width: 88vw; }
}
