/* =========================================================
   homepage
   ========================================================= */

:root {
  --bg: #07080d;
  --ink: #eef2f8;
  --muted: #98a2b5;
  --dim: #6a7487;
  --line: #ffffff14;
  --line-2: #ffffff26;
  --card: #0e1119;
  --card-2: #141825;
  --accent: #7c5cff;
  --accent-2: #43e8ff;
  --good: #3ddc97;
  --bad: #ff5d6c;
  --radius: 16px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { margin: 0; font-family: 'Syne', 'Inter', sans-serif; font-weight: 800; letter-spacing: -.02em; line-height: 1.08; }
p { margin: 0; }
a { color: inherit; }
[hidden] { display: none !important; }

/* the live effect canvases sit behind everything */
.fx { position: fixed; inset: 0; z-index: 0; pointer-events: none; display: none; }
.cursor-fx { z-index: 3; }
.backdrop {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(70% 50% at 50% -10%, #2a1d6b55 0%, transparent 70%),
    radial-gradient(50% 40% at 100% 0%, #0b4a5f44 0%, transparent 70%);
}

main, .top { position: relative; z-index: 2; }

/* ------------------------------------------------------------- chrome */

.top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px clamp(16px, 4vw, 40px);
  max-width: var(--wrap); margin: 0 auto;
}
.brand {
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 19px;
  text-decoration: none; letter-spacing: -.02em;
  display: inline-flex; align-items: center; gap: 9px;
}
.brand img { border-radius: 8px; display: block; }
.top-right { display: flex; align-items: center; gap: 10px; }
.members { font-size: 13px; color: var(--muted); margin-right: 4px; }
.members b { color: var(--ink); }

/* ------------------------------------------------------------ buttons */

.btn {
  padding: 10px 18px;
  border-radius: 11px;
  border: 1px solid var(--line-2);
  background: var(--card-2);
  color: var(--ink);
  font: inherit; font-size: 14px; font-weight: 600;
  cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: transform .14s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover { background: #1b2030; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn.primary {
  background: linear-gradient(135deg, var(--accent), #6447ff);
  border-color: transparent; color: #fff;
  box-shadow: 0 10px 30px -12px var(--accent);
}
.btn.primary:hover { box-shadow: 0 14px 34px -12px var(--accent); }
.btn.ghost { background: transparent; }
.btn.ghost:hover { background: #ffffff0d; }
.btn.big { padding: 14px 26px; font-size: 15.5px; border-radius: 13px; }
.btn.wide { width: 100%; }
.btn:disabled { opacity: .5; cursor: default; transform: none; }

.linkish {
  background: none; border: none; padding: 0;
  color: var(--accent); font: inherit; font-weight: 600; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}

/* --------------------------------------------------------------- hero */

section { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }

/* ------------------------------------------------- hero: "the wall" */

/*
 * The hero is a wall of pages drifting past, with one empty slot left in the
 * middle of it. The argument for signing up is the gap in the wall with your
 * name missing from it, not a feature list.
 *
 * The wall lives INSIDE the hero (absolute, not fixed) so it scrolls away with
 * it and never bleeds under the rest of the page.
 */
.hero {
  position: relative; width: 100%; max-width: none;
  padding: clamp(20px, 3vw, 38px) clamp(16px, 4vw, 40px) clamp(40px, 5vw, 64px);
  min-height: min(82vh, 780px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.wall {
  position: absolute; inset: -14% -8%; z-index: 0;
  display: flex; gap: 16px;
  transform: perspective(1400px) rotateX(13deg) rotateZ(-6deg) scale(1.2);
  transform-origin: 50% 42%;
  filter: saturate(.8);
}
/* every column drifts at its own speed, so the wall never reads as a loop */
.wall .col { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.wall .col:nth-child(1) { animation: wallUp 44s linear infinite; }
.wall .col:nth-child(2) { animation: wallDown 56s linear infinite; }
.wall .col:nth-child(3) { animation: wallUp 38s linear infinite; }
.wall .col:nth-child(4) { animation: wallDown 62s linear infinite; }
.wall .col:nth-child(5) { animation: wallUp 50s linear infinite; }
.wall .col:nth-child(6) { animation: wallDown 46s linear infinite; }
@keyframes wallUp { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes wallDown { from { transform: translateY(-50%); } to { transform: translateY(0); } }

.mini {
  flex: none; border-radius: 15px; padding: 13px 12px; text-align: center;
  background: #ffffff0f; border: 1px solid #ffffff1a;
  box-shadow: 0 10px 30px -18px #000;
}
.mini-av {
  width: 36px; height: 36px; border-radius: 50%; margin: 0 auto 10px;
}
.mini-rows { display: flex; flex-direction: column; gap: 6px; }
.mini-row { height: 7px; border-radius: 99px; background: #ffffff1f; }
.mini-row.thin { height: 5px; background: #ffffff14; }
.mini-row.w2 { width: 70%; margin: 0 auto; }
.mini-row.w3 { width: 46%; margin: 0 auto; }
.mini-links { display: flex; justify-content: center; gap: 5px; margin-top: 11px; }
.mini-links span { width: 11px; height: 11px; border-radius: 4px; background: #ffffff1a; }

/* the wall is scenery: dimmed hard through the middle so words can live there */
.wall-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(58% 50% at 50% 46%, #07080df2 0%, #07080de6 50%, #07080d66 82%, transparent 100%),
    linear-gradient(180deg, #07080dd9 0%, transparent 20%, transparent 62%, var(--bg) 100%);
}

.hero-inner { position: relative; z-index: 2; width: 100%; max-width: 940px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 12px; border-radius: 99px;
  background: #ffffff0f; border: 1px solid var(--line-2);
  font-size: 12.5px; color: var(--muted);
  margin-bottom: clamp(16px, 2.4vw, 26px);
}
.eyebrow .members { font-size: inherit; color: inherit; margin: 0; }
.eyebrow b { color: var(--ink); font-variant-numeric: tabular-nums; }
.eyebrow-sep { color: #3a4254; }
.live-dot {
  width: 7px; height: 7px; border-radius: 50%; flex: none;
  background: var(--good);
  animation: livePulse 2.4s ease-out infinite;
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 #3ddc9799; }
  70% { box-shadow: 0 0 0 9px #3ddc9700; }
  100% { box-shadow: 0 0 0 0 #3ddc9700; }
}

.hero h1 { font-size: clamp(2.2rem, 6vw, 4rem); line-height: .97; letter-spacing: -.04em; }
.grad {
  background: linear-gradient(100deg, var(--accent), var(--accent-2) 55%, var(--accent));
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sweep 7s linear infinite;
}
@keyframes sweep { to { background-position: -220% 0; } }

.sub {
  margin: 20px auto 0; max-width: 50ch;
  color: #aab3c4; font-size: clamp(1rem, 2.1vw, 1.12rem);
}

/* ---------------------------------------- the one empty slot in the wall */

.claim {
  position: relative; display: block;
  margin: clamp(26px, 4vw, 38px) auto 0; width: min(430px, 100%);
  padding: 25px 20px 20px;
  border-radius: 22px;
  /* the slot sits ON the wall, so it needs a floor of its own - otherwise
     somebody else's page shows through the thing you are typing into */
  background: linear-gradient(180deg, #140f2cee, #090814e8);
  border: 1.5px dashed #7c5cff8c;
  box-shadow: 0 0 70px -20px var(--accent);
  transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.claim:focus-within {
  border-style: solid; border-color: var(--accent);
  background: linear-gradient(180deg, #1c143cf7, #0b0918f2);
  box-shadow: 0 0 100px -16px var(--accent);
}
.claim-tag {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  padding: 3px 11px; border-radius: 99px;
  background: var(--accent); color: #fff;
  font-size: 10.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  white-space: nowrap;
}
.claim-av {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 12px;
  display: grid; place-items: center;
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 22px; color: #fff;
  background: linear-gradient(140deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 28px -10px var(--accent);
  transition: transform .3s cubic-bezier(.2,1.5,.4,1);
}
.claim-av.pop { transform: scale(1.08); }

/* the name reads as one line of the address, not as a form field */
.claim-box {
  display: flex; align-items: baseline; justify-content: center;
  background: none; border: none; border-radius: 0; padding: 0;
  min-width: 0; cursor: text;
}
.claim-box:focus-within { border-color: transparent; box-shadow: none; }
.claim-box .domain {
  color: var(--dim); font-size: 17px; white-space: nowrap;
  font-family: 'JetBrains Mono', monospace;
}
.claim-box input {
  flex: 0 1 auto; width: 9ch; min-width: 0;
  border: none; background: transparent; color: var(--ink);
  font: 500 18px 'JetBrains Mono', monospace; padding: 2px 0;
  outline: none; caret-color: var(--accent);
}
.claim-box input::placeholder { color: #4b5366; }

.claim-status { margin: 9px 0 16px; min-height: 22px; font-size: 13px; }
.claim-status .hint { color: var(--dim); }
.claim-status .free { color: var(--good); font-weight: 600; }
.claim-status .taken { color: var(--bad); font-weight: 600; }
.claim-status .checking { color: var(--muted); }

/* the slot itself answers back as you type */
.claim.is-free { border-style: solid; border-color: #3ddc97; box-shadow: 0 0 80px -20px #3ddc97; }
.claim.is-taken { border-style: solid; border-color: var(--bad); box-shadow: 0 0 70px -24px var(--bad); }

.joinline { margin-top: 18px; color: var(--dim); font-size: 13.5px; }
.joinline b { color: var(--ink); }

/* a small nudge to say the page goes on */
.scroll-cue {
  position: relative; z-index: 2;
  margin-top: clamp(26px, 4vw, 44px);
  display: inline-flex; flex-direction: column; align-items: center; gap: 4px;
  color: var(--dim); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none;
  transition: color .2s ease;
}
.scroll-cue:hover { color: var(--muted); }
.scroll-cue svg { width: 20px; height: 20px; fill: currentColor; animation: cueBob 2.2s ease-in-out infinite; }
@keyframes cueBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

@media (max-width: 760px) {
  /* the wall stays texture on a phone: smaller cards, less tilt, nothing cropped */
  .wall { inset: -10% -4%; gap: 10px; transform: perspective(1400px) rotateX(9deg) rotateZ(-4deg) scale(1.16); }
  .wall .col { gap: 10px; }
  .wall .col:nth-child(6) { display: none; }
  .mini { padding: 9px 8px; border-radius: 11px; }
  .mini-av { width: 24px; height: 24px; margin-bottom: 7px; }
  .mini-row { height: 5px; }
  .mini-row.thin { height: 4px; }
  .mini-links { gap: 3px; margin-top: 7px; }
  .mini-links span { width: 7px; height: 7px; border-radius: 2px; }

  .hero { min-height: auto; padding-bottom: clamp(40px, 10vw, 60px); }
  .hero h1 { font-size: clamp(1.95rem, 10vw, 2.5rem); }
  .eyebrow { font-size: 11.5px; gap: 7px; padding: 6px 12px 6px 10px; }

  /* the header has three things in it and a phone is narrow */
  .top { gap: 8px; padding: 14px 16px; }
  .brand { font-size: 16px; gap: 7px; }
  .brand img { width: 22px; height: 22px; }
  .top .btn { padding: 9px 13px; font-size: 13.5px; }
}

/* --------------------------------------------------------------- demo */

.demo { padding-top: clamp(30px, 6vw, 60px); padding-bottom: clamp(30px, 6vw, 60px); }
.demo-head { text-align: center; margin-bottom: 28px; }
.demo-head h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); }
.demo-head p { margin-top: 10px; color: var(--muted); }

.demo-grid {
  display: grid; gap: 20px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
}
@media (max-width: 860px) { .demo-grid { grid-template-columns: 1fr; } }

.demo-controls {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
  display: flex; flex-direction: column; gap: 18px;
}
.ctrl { display: flex; flex-direction: column; gap: 9px; }
.ctrl > label { font-size: 13px; font-weight: 600; color: var(--muted); }
.tiny { font-size: 11.5px; font-weight: 400; color: var(--dim); }
.ctrl input[type=text] {
  padding: 11px 13px; border-radius: 10px;
  border: 1px solid var(--line-2); background: var(--card-2);
  color: var(--ink); font: inherit; font-size: 14.5px; outline: none;
}
.ctrl input[type=text]:focus { border-color: var(--accent); }

.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatches button {
  width: 30px; height: 30px; border-radius: 9px; cursor: pointer; padding: 0;
  border: 2px solid transparent;
  transition: transform .15s ease, border-color .15s ease;
}
.swatches button:hover { transform: scale(1.12); }
.swatches button.on { border-color: #fff; transform: scale(1.1); }

.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chips button {
  padding: 7px 13px; border-radius: 99px;
  border: 1px solid var(--line-2); background: var(--card-2);
  color: var(--muted); font: inherit; font-size: 13px; font-weight: 500;
  cursor: pointer; transition: all .18s ease;
}
.chips button:hover { color: var(--ink); background: #1b2030; }
.chips button.on { background: var(--accent); border-color: transparent; color: #fff; }

.reassure {
  margin-top: 2px; padding-top: 16px; border-top: 1px solid var(--line);
  font-size: 13.5px; color: var(--dim);
}

/* the mock page */
.demo-stage { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 10px 0; }
.demo-card {
  width: min(100%, 360px);
  border-radius: 18px;
  border: 1px solid var(--line-2);
  background: #0c1017cc;
  backdrop-filter: blur(14px);
  padding: 26px 24px 18px;
  text-align: center;
  transition: box-shadow .3s ease, border-color .3s ease;
  box-shadow: 0 24px 60px -24px #000, 0 0 50px -16px var(--accent);
}
.demo-card.bare { background: transparent; border-color: transparent; box-shadow: none; backdrop-filter: none; }
.demo-avatar {
  width: 76px; height: 76px; margin: 0 auto;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--accent), #2a2f44);
  color: #fff; font-size: 30px; font-weight: 700;
  border: 2px solid #ffffff1f;
  box-shadow: 0 0 26px -4px var(--accent);
  text-transform: lowercase;
}
.demo-card.square .demo-avatar { border-radius: 24%; }
.demo-name {
  margin-top: 14px; font-size: 25px; font-weight: 700;
  font-family: 'Syne', sans-serif;
  text-shadow: 0 0 20px var(--accent);
}
.demo-badges { display: flex; justify-content: center; gap: 5px; margin-top: 7px; }
.demo-badge {
  width: 22px; height: 22px; display: grid; place-items: center;
  border-radius: 7px; background: #ffffff0f;
}
.demo-badge svg { width: 13px; height: 13px; fill: var(--accent); }
.demo-bio { margin-top: 12px; font-size: 14px; color: #dbe2ee; opacity: .9; }
.demo-socials { display: flex; justify-content: center; gap: 14px; margin-top: 18px; }
.demo-socials svg { width: 22px; height: 22px; transition: transform .2s ease; }
.demo-socials a { display: block; }
.demo-socials a:hover svg { transform: translateY(-4px) scale(1.1); }
.demo-foot {
  margin-top: 18px; padding-top: 14px; border-top: 1px solid #ffffff12;
  display: flex; justify-content: center; gap: 16px;
  font-size: 12px; color: var(--dim);
}
.demo-stat { display: inline-flex; align-items: center; gap: 5px; }
.demo-stat svg { width: 12px; height: 12px; fill: currentColor; opacity: .8; }
.demo-caption { font-size: 12px; color: var(--dim); letter-spacing: .1em; text-transform: uppercase; }

/* -------------------------------------------------------------- steps */

.steps { padding: clamp(40px, 8vw, 80px) clamp(16px, 4vw, 40px); text-align: center; }
.steps h2, .features h2, .pricing h2, .faq h2, .closer h2 { font-size: clamp(1.7rem, 4.4vw, 2.5rem); }
.section-sub { margin: 12px auto 0; max-width: 52ch; color: var(--muted); }
.section-sub.small { font-size: 13.5px; }

.step-list {
  list-style: none; padding: 0; margin: 36px 0 0;
  display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  text-align: left;
}
.step-list li {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
  position: relative;
}
.step-n {
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--accent); color: #fff;
  font-weight: 700; font-size: 14px; margin-bottom: 14px;
}
.step-list h3 { font-size: 1.1rem; }
.step-list p { margin-top: 9px; color: var(--muted); font-size: 14.5px; }
.step-list code {
  font-family: 'JetBrains Mono', monospace; font-size: 13px;
  background: #ffffff0f; padding: 2px 6px; border-radius: 5px; color: var(--accent-2);
}

/* ----------------------------------------------------------- features */

.features { padding: clamp(30px, 6vw, 60px) clamp(16px, 4vw, 40px); text-align: center; }
.feature-grid {
  margin-top: 32px; display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  text-align: left;
}
.feature {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 18px;
  transition: transform .2s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-3px); border-color: var(--line-2); }
.feature .ico { font-size: 20px; margin-bottom: 10px; display: block; }
.feature h3 { font-size: 15px; }
.feature p { margin-top: 6px; font-size: 13.5px; color: var(--muted); }
.feature .lock {
  display: inline-block; margin-top: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); background: #7c5cff1f;
  padding: 3px 8px; border-radius: 99px;
}

/* ------------------------------------------------------------ pricing */

.pricing { padding: clamp(40px, 8vw, 80px) clamp(16px, 4vw, 40px); text-align: center; }
.plan-grid {
  margin-top: 34px; display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 820px; margin-left: auto; margin-right: auto;
  text-align: left; align-items: start;
}
.plan {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 18px; padding: 26px;
  position: relative;
}
.plan.best {
  border-color: #7c5cff55;
  background: linear-gradient(170deg, #190f3a 0%, var(--card) 55%);
  box-shadow: 0 26px 60px -30px var(--accent);
}
.plan-tag {
  position: absolute; top: -11px; right: 20px;
  background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 11px; border-radius: 99px;
}
.plan h3 { font-size: 1.25rem; display: flex; align-items: center; gap: 8px; }
.plan .price { margin-top: 14px; font-size: 2.4rem; font-weight: 800; font-family: 'Syne', sans-serif; }
.plan .price span { font-size: .95rem; font-weight: 500; color: var(--muted); font-family: 'Inter', sans-serif; }
.plan .price-note { margin-top: 4px; font-size: 13.5px; color: var(--accent); font-weight: 600; }
.plan .blurb { margin-top: 12px; color: var(--muted); font-size: 14px; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 9px; }
.plan li { display: flex; gap: 9px; font-size: 14px; align-items: flex-start; }
.plan li svg { width: 15px; height: 15px; flex: none; margin-top: 4px; fill: var(--accent); }
.plan li.no { color: var(--dim); }
.plan li.no svg { fill: #4a5365; }
.plan .btn { margin-top: 22px; }
.coin-line {
  margin-top: 14px; font-size: 12.5px; color: var(--dim);
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
}
.coin-pill {
  background: #ffffff0d; border: 1px solid var(--line);
  padding: 2px 8px; border-radius: 99px; font-family: 'JetBrains Mono', monospace; font-size: 11.5px;
}

/* ---------------------------------------------------------------- faq */

.faq { padding: clamp(30px, 6vw, 60px) clamp(16px, 4vw, 40px); max-width: 780px; }
.faq h2 { text-align: center; margin-bottom: 28px; }
.faq details {
  border: 1px solid var(--line); border-radius: 13px;
  background: var(--card); margin-bottom: 10px; overflow: hidden;
}
.faq summary {
  padding: 16px 18px; cursor: pointer; font-weight: 600; font-size: 15px;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--accent); font-size: 20px; font-weight: 400; }
.faq details[open] summary::after { content: '\2013'; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq p { padding: 14px 18px 18px; color: var(--muted); font-size: 14.5px; }

/* ------------------------------------------------------------- closer */

.closer { text-align: center; padding: clamp(50px, 9vw, 90px) clamp(16px, 4vw, 40px); }
.closer p { margin: 14px 0 26px; color: var(--muted); }

.foot {
  max-width: var(--wrap); margin: 0 auto;
  padding: 28px clamp(16px, 4vw, 40px) 50px;
  display: flex; gap: 10px; align-items: center; justify-content: center;
  color: var(--dim); font-size: 13.5px; border-top: 1px solid var(--line);
}
.foot a, .foot .linkish { color: var(--muted); text-decoration: none; font-weight: 500; }
.foot a:hover, .foot .linkish:hover { color: var(--ink); }
.dot { opacity: .4; }

/* -------------------------------------------------------------- sheet */

.sheet {
  position: fixed; inset: 0; z-index: 50;
  background: #05070baa; backdrop-filter: blur(6px);
  display: grid; place-items: center; padding: 20px;
  animation: fadeIn .2s ease;
}
@keyframes fadeIn { from { opacity: 0; } }
.sheet-card {
  width: min(100%, 420px);
  background: var(--card); border: 1px solid var(--line-2);
  border-radius: 20px; padding: 30px 28px;
  box-shadow: 0 40px 100px -30px #000;
  position: relative;
  animation: rise .28s cubic-bezier(.2,.9,.25,1);
}
@keyframes rise { from { transform: translateY(14px) scale(.98); opacity: 0; } }
.sheet-close {
  position: absolute; top: 14px; right: 16px;
  background: none; border: none; color: var(--dim);
  font-size: 26px; line-height: 1; cursor: pointer;
}
.sheet-close:hover { color: var(--ink); }
.sheet-card h2 { font-size: 1.5rem; }
.sheet-sub { margin-top: 8px; color: var(--muted); font-size: 14px; }
.sheet-card form { margin-top: 22px; display: flex; flex-direction: column; gap: 16px; }

.field { display: flex; flex-direction: column; gap: 7px; }
.field > label { font-size: 13px; font-weight: 600; color: var(--muted); }
.field input {
  padding: 12px 13px; border-radius: 11px;
  border: 1px solid var(--line-2); background: var(--card-2);
  color: var(--ink); font: inherit; font-size: 15px; outline: none;
}
.field input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px #7c5cff1f; }
.field-note { font-size: 12.5px; color: var(--dim); }
.field-note.bad { color: var(--bad); }
.field-note.good { color: var(--good); }

.prefixed {
  display: flex; align-items: center;
  border: 1px solid var(--line-2); border-radius: 11px;
  background: var(--card-2); padding-left: 13px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.prefixed:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px #7c5cff1f; }
.prefixed span { color: var(--dim); font-family: 'JetBrains Mono', monospace; font-size: 14px; white-space: nowrap; }
.prefixed input {
  border: none; background: transparent; box-shadow: none !important;
  font-family: 'JetBrains Mono', monospace; padding-left: 4px; min-width: 0;
}

.auth-error { color: var(--bad); font-size: 13.5px; min-height: 18px; }
.switcher-line { margin-top: 18px; text-align: center; font-size: 14px; color: var(--muted); }

/* sign in with someone else */
.providers { margin-top: 20px; }
.provider-buttons { display: flex; flex-direction: column; gap: 9px; }
.provider-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 16px; border-radius: 11px;
  border: 1px solid var(--line-2); background: var(--card-2);
  color: var(--ink); font: inherit; font-size: 14.5px; font-weight: 600;
  cursor: pointer; text-decoration: none;
  transition: background .18s ease, transform .14s ease;
}
.provider-btn:hover { background: #1b2030; transform: translateY(-1px); }
.provider-btn svg { width: 18px; height: 18px; }
.or {
  display: flex; align-items: center; gap: 12px;
  margin: 18px 0 2px; color: var(--dim); font-size: 12.5px;
}
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }

.join-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 99px;
  background: #ffffff0d; border: 1px solid var(--line);
  font-size: 13px; color: var(--muted); margin-bottom: 14px;
}
.join-badge svg { width: 15px; height: 15px; }

/* -------------------------------------------------------------- toast */

.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 80;
  transform: translate(-50%, 16px);
  padding: 11px 20px; border-radius: 99px;
  background: #151925; border: 1px solid var(--line-2);
  font-size: 14px; opacity: 0; pointer-events: none;
  transition: opacity .22s ease, transform .22s cubic-bezier(.2,.8,.2,1);
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.toast.bad { border-color: #ff5d6c55; color: #ffb3ba; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001s !important; transition-duration: .001s !important; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   the visual layer: aurora, grain, reveals, marquee
   ========================================================= */

/* slow drifting colour behind everything */
.aurora { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.aurora .blob {
  position: absolute;
  width: 58vw; height: 58vw;
  min-width: 420px; min-height: 420px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
  will-change: transform;
}
.aurora .b1 { background: radial-gradient(circle, #7c5cff 0%, transparent 65%); top: -22%; left: -12%; animation: drift1 26s ease-in-out infinite alternate; }
.aurora .b2 { background: radial-gradient(circle, #1c7fa8 0%, transparent 65%); top: -8%; right: -16%; animation: drift2 32s ease-in-out infinite alternate; }
.aurora .b3 { background: radial-gradient(circle, #c0369b 0%, transparent 65%); top: 36%; left: 28%; opacity: .32; animation: drift3 38s ease-in-out infinite alternate; }

@keyframes drift1 { to { transform: translate3d(14vw, 10vh, 0) scale(1.18); } }
@keyframes drift2 { to { transform: translate3d(-12vw, 16vh, 0) scale(1.1); } }
@keyframes drift3 { to { transform: translate3d(8vw, -12vh, 0) scale(1.22); } }

/* a whisper of film grain so the gradients do not band */
.grain {
  position: fixed; inset: -50%; z-index: 1; pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/></filter><rect width='120' height='120' filter='url(%23n)'/></svg>");
  animation: grainShift 7s steps(6) infinite;
}
@keyframes grainShift {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -4%); }
  60% { transform: translate(-3%, -3%); }
  80% { transform: translate(4%, 2%); }
  100% { transform: translate(0, 0); }
}

/* sections arrive as you scroll to them */
/*
 * Sections slide up as you reach them. Deliberately a transform only, never an
 * opacity fade: if a reveal ever misses its cue — an anchor jump, a throttled
 * tab, a stalled timer — the content is still fully readable, just not animated.
 * A missed animation is nothing. Invisible content is everything.
 */
.reveal { transform: translateY(26px); transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.seen { transform: none; }

/*
 * Hero entrance. Transforms only, for the same reason as .reveal above: if one
 * of these never runs, the words are still on the screen, only unanimated.
 */
.hero .eyebrow { animation: heroIn .8s cubic-bezier(.2,.9,.25,1) both; }
.hero h1 { animation: heroIn .9s cubic-bezier(.2,.9,.25,1) .06s both; }
.hero .sub { animation: heroIn .9s cubic-bezier(.2,.9,.25,1) .16s both; }
.hero .claim { animation: slotIn 1s cubic-bezier(.2,.9,.25,1) .26s both; }
.hero .joinline { animation: heroIn .9s cubic-bezier(.2,.9,.25,1) .4s both; }
.hero .scroll-cue { animation: heroIn .9s cubic-bezier(.2,.9,.25,1) .5s both; }
@keyframes heroIn { from { transform: translateY(24px); } to { transform: translateY(0); } }
/* the slot drops into the gap, so it arrives a touch small and settles */
@keyframes slotIn { from { transform: translateY(30px) scale(.965); } to { transform: translateY(0) scale(1); } }

/* buttons get a light sweep on hover */
.btn.primary { position: relative; overflow: hidden; }
.btn.primary::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -60%;
  width: 40%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, #ffffff40, transparent);
  transition: left .55s ease;
}
.btn.primary:hover::after { left: 130%; }

/* the platform marquee */
.marquee-wrap { padding: 10px clamp(16px, 4vw, 40px) clamp(20px, 4vw, 40px); text-align: center; }
.marquee-label { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 16px; }
.marquee-label b { color: var(--muted); }
.marquee {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; gap: 34px; width: max-content; animation: slide-left 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track svg {
  width: 26px; height: 26px; flex: none;
  opacity: .42; transition: opacity .25s ease, transform .25s ease;
}
.marquee-track svg:hover { opacity: 1; transform: scale(1.25); }
@keyframes slide-left { to { transform: translateX(-50%); } }

/* the mock card leans towards the pointer */
.demo-card { transform-style: preserve-3d; transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, border-color .3s ease; }
.demo-stage { perspective: 1000px; }

/* counters tick up on arrival */
.members b, .joinline b { font-variant-numeric: tabular-nums; }

/* plans lift */
.plan { transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, border-color .3s ease; }
.plan:hover { transform: translateY(-5px); }
.plan.best:hover { box-shadow: 0 34px 70px -28px var(--accent); }

@media (prefers-reduced-motion: reduce) {
  .aurora .blob, .grain, .marquee-track { animation: none !important; }
  .wall .col, .live-dot, .scroll-cue svg, .grad { animation: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero .eyebrow, .hero h1, .hero .sub, .hero .claim,
  .hero .joinline, .hero .scroll-cue { animation: none; }
}

/* =========================================================
   the rest of the page, lifted to match the hero
   ========================================================= */

/*
 * Every section gets the same small label above its heading, so scrolling has a
 * rhythm instead of being one long column of cards.
 */
.sec-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--dim);
  margin-bottom: 14px;
}
.sec-eyebrow::before, .sec-eyebrow::after {
  content: ''; width: 22px; height: 1px; background: var(--accent); opacity: .55;
}

.steps h2, .features h2, .pricing h2, .faq h2, .closer h2, .demo-head h2 {
  font-size: clamp(1.9rem, 5vw, 3rem); letter-spacing: -.035em;
}

/*
 * Cards inside a section arrive one after another rather than all at once.
 * Transform only, for the same reason as .reveal: if the cue is missed the
 * cards sit a few pixels low and nothing is ever hidden.
 */
.stagger > * { transform: translateY(20px); transition: transform .65s cubic-bezier(.2,.8,.2,1); }
.reveal.seen .stagger > * { transform: none; }
.reveal.seen .stagger > *:nth-child(1) { transition-delay: .04s; }
.reveal.seen .stagger > *:nth-child(2) { transition-delay: .10s; }
.reveal.seen .stagger > *:nth-child(3) { transition-delay: .16s; }
.reveal.seen .stagger > *:nth-child(4) { transition-delay: .22s; }
.reveal.seen .stagger > *:nth-child(5) { transition-delay: .28s; }
.reveal.seen .stagger > *:nth-child(6) { transition-delay: .34s; }
.reveal.seen .stagger > *:nth-child(7) { transition-delay: .40s; }
.reveal.seen .stagger > *:nth-child(8) { transition-delay: .46s; }
.reveal.seen .stagger > *:nth-child(n+9) { transition-delay: .52s; }

/* ------------------------------------------------------------- steps */

/*
 * The step number is repeated huge and faint behind the card, so the three
 * steps read as a sequence at a glance instead of as three similar boxes.
 */
.step-list li {
  overflow: hidden;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s ease, box-shadow .3s ease;
}
.step-list li::after {
  content: attr(data-n);
  position: absolute; right: 10px; bottom: -34px;
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 130px; line-height: 1;
  color: #ffffff07; pointer-events: none;
  transition: color .3s ease, transform .4s cubic-bezier(.2,.8,.2,1);
}
.step-list li:hover {
  transform: translateY(-4px);
  border-color: #7c5cff4d;
  box-shadow: 0 26px 60px -34px var(--accent);
}
.step-list li:hover::after { color: #7c5cff1f; transform: translateY(-6px); }
.step-n { box-shadow: 0 8px 20px -8px var(--accent); }

/* ---------------------------------------------------------- features */

.feature {
  position: relative; overflow: hidden;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), border-color .25s ease, box-shadow .25s ease;
}
/* a soft light that wipes across the card as the pointer arrives */
.feature::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(60% 70% at 20% 0%, #7c5cff26, transparent 70%);
  transform: translateY(-100%);
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
  pointer-events: none;
}
.feature:hover { transform: translateY(-5px); border-color: #7c5cff40; box-shadow: 0 24px 50px -32px var(--accent); }
.feature:hover::before { transform: translateY(0); }
.feature .ico { transition: transform .25s cubic-bezier(.2,1.4,.4,1); transform-origin: left center; }
.feature:hover .ico { transform: scale(1.22) rotate(-6deg); }
.feature h3, .feature p, .feature .lock { position: relative; }

/* ----------------------------------------------------------- pricing */

.plan.best::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit;
  background: linear-gradient(140deg, #7c5cff66, transparent 45%, #43e8ff33);
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  padding: 1px;
}
.plan .price { letter-spacing: -.03em; }

/* --------------------------------------------------------------- faq */

.faq details { transition: border-color .25s ease, background .25s ease; }
.faq details:hover { border-color: var(--line-2); }
.faq details[open] { border-color: #7c5cff3d; background: linear-gradient(180deg, #120e26, var(--card) 60%); }
.faq summary::after { transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(180deg); }

/* ------------------------------------------------------------ closer */

/*
 * The last word on the page gets the same glow as the slot at the top, so the
 * page closes where it opened.
 */
.closer {
  position: relative; max-width: none; width: 100%;
  padding: clamp(60px, 10vw, 110px) clamp(16px, 4vw, 40px);
  overflow: hidden;
}
.closer::before {
  content: ''; position: absolute; left: 50%; top: 50%;
  width: min(760px, 110%); aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(circle, #7c5cff2e 0%, transparent 62%);
  pointer-events: none;
}
.closer > * { position: relative; }
.closer h2 { font-size: clamp(2.1rem, 6vw, 3.6rem); }
.closer p { max-width: 44ch; margin-left: auto; margin-right: auto; }
.closer .btn { box-shadow: 0 18px 50px -18px var(--accent); }

@media (prefers-reduced-motion: reduce) {
  .stagger > * { transform: none; }
}
