/* PostQuake marketing site */

:root {
  --ink: #0b0a0f;
  --ink-2: #121118;
  --ink-3: #1a1922;
  --ink-4: #24232e;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f6f3ee;
  --muted: #a39faa;
  --dim: #6f6b78;

  --hot-1: #ff7a1a;
  --hot-2: #ff3d3d;
  --hot-3: #f0247f;
  --grad: linear-gradient(115deg, var(--hot-1) 0%, var(--hot-2) 55%, var(--hot-3) 100%);
  --ok: #3ddc97;
  --warn: #ffc53d;

  --display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --radius: 20px;
  --radius-sm: 12px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

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

:focus-visible {
  outline: 2px solid var(--hot-1);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Type ---------- */

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 0;
}

h2 {
  font-size: clamp(36px, 5.4vw, 64px);
}

h3 {
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

p {
  margin: 0;
}

.hot {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
}

.section-head {
  display: grid;
  gap: 18px;
  max-width: 760px;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section-head p {
  color: var(--muted);
  font-size: 19px;
  max-width: 620px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  justify-items: center;
}

section {
  position: relative;
  padding: clamp(80px, 11vw, 140px) 0;
}

/* ---------- Buttons ---------- */

.btn {
  --h: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--h);
  padding: 0 24px;
  border-radius: 999px;
  border: 0;
  font: 600 16px/1 var(--body);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn-hot {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(255, 61, 61, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-hot:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -12px rgba(255, 61, 61, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-2);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
}

.btn-sm {
  --h: 40px;
  padding: 0 18px;
  font-size: 14.5px;
}

.btn .arrow {
  transition: transform 0.2s ease;
}

.btn:hover .arrow {
  transform: translateX(3px);
}

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.nav.scrolled {
  background: rgba(11, 10, 15, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--line);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.brand svg {
  width: 34px;
  height: 34px;
}

.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 15px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
}

/* ---------- Hero ---------- */

.hero {
  padding: 140px 0 0;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 900px;
  background:
    radial-gradient(40% 50% at 72% 38%, rgba(255, 61, 61, 0.22), transparent 70%),
    radial-gradient(30% 40% at 88% 20%, rgba(240, 36, 127, 0.18), transparent 70%),
    radial-gradient(35% 45% at 20% 10%, rgba(255, 122, 26, 0.1), transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 60% at 60% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 60% at 60% 30%, #000 20%, transparent 75%);
  opacity: 0.55;
  pointer-events: none;
}

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
}

.pill b {
  flex: none;
  white-space: nowrap;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-weight: 600;
  font-size: 12.5px;
}

.hero h1 {
  margin: 26px 0 24px;
  font-size: clamp(52px, 8.2vw, 104px);
  line-height: 0.94;
  letter-spacing: -0.045em;
}

.hero h1 .shake {
  display: inline-block;
  animation: shake 5s ease-in-out infinite;
  transform-origin: 50% 80%;
}

@keyframes shake {
  0%, 84%, 100% { transform: translate(0, 0) rotate(0); }
  86% { transform: translate(-3px, 1px) rotate(-1.5deg); }
  88% { transform: translate(4px, -1px) rotate(1.5deg); }
  90% { transform: translate(-3px, 0) rotate(-1deg); }
  92% { transform: translate(2px, 1px) rotate(0.6deg); }
  94% { transform: translate(-1px, 0) rotate(0); }
}

.lede {
  font-size: clamp(18px, 1.6vw, 21px);
  color: var(--muted);
  max-width: 560px;
}

.lede strong {
  color: var(--text);
  font-weight: 600;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--muted);
}

.hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-facts li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(61, 220, 151, 0.15);
}

/* Stage with phones */

.stage {
  position: relative;
  height: 640px;
  display: grid;
  place-items: center;
}

.stage .card-tilt {
  position: absolute;
  width: 210px;
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px var(--line-2);
  background: var(--ink-3);
}

.stage .card-tilt img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stage .card-left {
  transform: translate(-190px, 30px) rotate(-9deg);
  animation: floatL 9s ease-in-out infinite;
}

.stage .card-right {
  transform: translate(190px, 40px) rotate(8deg);
  animation: floatR 10s ease-in-out infinite;
}

@keyframes floatL {
  0%, 100% { transform: translate(-190px, 30px) rotate(-9deg); }
  50% { transform: translate(-196px, 14px) rotate(-10deg); }
}

@keyframes floatR {
  0%, 100% { transform: translate(190px, 40px) rotate(8deg); }
  50% { transform: translate(196px, 26px) rotate(9.5deg); }
}

.chip {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 14px;
  background: rgba(22, 21, 29, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px var(--line-2), 0 18px 40px -16px rgba(0, 0, 0, 0.9);
  font-size: 13.5px;
  white-space: nowrap;
}

.chip .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 10px var(--ok);
}

.chip .dot.warn {
  background: var(--warn);
  box-shadow: 0 0 10px var(--warn);
}

.chip .dot.hot {
  background: var(--hot-2);
  box-shadow: 0 0 10px var(--hot-2);
}

.chip small {
  color: var(--muted);
  font-size: 12.5px;
}

.chip-1 { top: 70px; left: -6px; animation: bob 6s ease-in-out infinite; }
.chip-2 { top: 300px; right: -18px; animation: bob 7s ease-in-out -2s infinite; }
.chip-3 { bottom: 70px; left: 10px; animation: bob 6.5s ease-in-out -4s infinite; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Phone */

.phone {
  position: relative;
  z-index: 3;
  width: 290px;
  padding: 10px;
  border-radius: 44px;
  background: linear-gradient(160deg, #2b2a33, #0f0e13 40%, #1c1b22);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 50px 100px -30px rgba(0, 0, 0, 0.9),
    0 0 120px -30px rgba(255, 61, 61, 0.45);
}

.phone .screen {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 34px;
  overflow: hidden;
  background: #000;
}

.slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.45s ease, transform 2.9s ease-out;
}

.slides img.on {
  opacity: 1;
  transform: scale(1);
}

.progress {
  position: absolute;
  z-index: 3;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  gap: 4px;
}

.progress span {
  flex: 1;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.3);
  overflow: hidden;
}

.progress span i {
  display: block;
  height: 100%;
  width: 0;
  background: #fff;
}

.progress span.done i {
  width: 100%;
}

.progress span.run i {
  animation: fill var(--dur, 2.5s) linear forwards;
}

@keyframes fill {
  to { width: 100%; }
}

.feed-ui {
  position: absolute;
  z-index: 3;
  inset: auto 0 0 0;
  padding: 60px 64px 16px 14px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
  font-size: 11.5px;
  line-height: 1.4;
  pointer-events: none;
}

.feed-ui b {
  display: block;
  font-size: 12.5px;
  margin-bottom: 3px;
}

.feed-ui .tags {
  color: rgba(255, 255, 255, 0.75);
}

.feed-ui .ai {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 7px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 10px;
  letter-spacing: 0.02em;
}

.rail {
  position: absolute;
  z-index: 3;
  right: 10px;
  bottom: 70px;
  display: grid;
  gap: 14px;
  justify-items: center;
  pointer-events: none;
}

.rail span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.25);
}

.rail svg {
  width: 22px;
  height: 22px;
  fill: #fff;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

/* Seismograph strip */

.seismo {
  position: relative;
  height: 150px;
  margin-top: 40px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.seismo svg {
  position: absolute;
  top: 0;
  left: 0;
  height: 150px;
  width: 200%;
  max-width: none;
  animation: scroll 26s linear infinite;
}

@keyframes scroll {
  to { transform: translateX(-50%); }
}

.seismo .base {
  position: absolute;
  left: 0;
  right: 0;
  top: 75px;
  height: 1px;
  background: var(--line);
}

/* ---------- Platforms ---------- */

.platforms {
  padding: 28px 0 0;
}

.platforms .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 40px;
  color: var(--muted);
  font-size: 15px;
}

.platforms .label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}

.platforms .p {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--text);
  opacity: 0.8;
}

.platforms .p svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* ---------- Problem ---------- */

.problem h2 {
  font-size: clamp(40px, 6.4vw, 84px);
  max-width: 1000px;
}

.problem h2 span {
  color: var(--dim);
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 56px;
}

.pain {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line);
}

.pain .n {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--hot-1);
}

.pain h3 {
  margin: 14px 0 10px;
}

.pain p {
  color: var(--muted);
  font-size: 16px;
}

.jobs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.jobs span {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--muted);
}

/* ---------- How it works ---------- */

.how {
  background:
    radial-gradient(50% 60% at 100% 50%, rgba(240, 36, 127, 0.08), transparent 70%),
    var(--ink);
}

.how-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 22px 22px 22px 18px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.25s, box-shadow 0.25s;
}

.step:hover {
  background: rgba(255, 255, 255, 0.025);
}

.step.active {
  background: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line-2);
}

.step .num {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 15px;
  background: var(--ink-3);
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: background 0.25s, color 0.25s;
}

.step.active .num {
  background: var(--grad);
  color: #fff;
  box-shadow: none;
}

.step h3 {
  font-size: 21px;
  margin-bottom: 6px;
}

.step p {
  color: var(--muted);
  font-size: 16px;
}

.tag {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 6px;
  font: 600 11px/1.6 var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: 3px;
  background: rgba(255, 197, 61, 0.12);
  color: var(--warn);
}

.tag.ok {
  background: rgba(61, 220, 151, 0.12);
  color: var(--ok);
}

.tag.soon {
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
}

.terminal {
  position: sticky;
  top: 100px;
  border-radius: var(--radius);
  background: #0e0d12;
  box-shadow: 0 0 0 1px var(--line-2), 0 40px 80px -30px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.75;
}

.terminal .bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--dim);
  font-size: 12.5px;
}

.terminal .bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #2c2b33;
}

.terminal .bar span {
  margin-left: auto;
}

.terminal pre {
  margin: 0;
  padding: 22px 22px 26px;
  white-space: pre-wrap;
  word-break: break-word;
  min-height: 410px;
}

.t-you { color: var(--text); }
.t-you::before { content: "› "; color: var(--hot-1); }
.t-dim { color: var(--dim); }
.t-ok { color: var(--ok); }
.t-tool { color: #ffb38a; }
.t-hot { color: var(--hot-3); }

.caret {
  display: inline-block;
  width: 8px;
  height: 1.1em;
  vertical-align: -3px;
  background: var(--hot-1);
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.agents {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
}

.agents span {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--text);
}

/* ---------- Output showcase ---------- */

.output {
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.output::before {
  content: "";
  position: absolute;
  width: 700px;
  height: 700px;
  left: -200px;
  top: 10%;
  background: radial-gradient(closest-side, rgba(255, 61, 61, 0.14), transparent);
  pointer-events: none;
}

.output-grid {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}

.output .phone {
  width: 330px;
}

.breakdown {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breakdown button {
  all: unset;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 16px;
  align-items: baseline;
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}

.breakdown button:hover {
  background: rgba(255, 255, 255, 0.03);
}

.breakdown button:focus-visible {
  outline: 2px solid var(--hot-1);
}

.breakdown button[aria-current="true"] {
  background: var(--ink-3);
  box-shadow: inset 0 0 0 1px var(--line-2);
}

.breakdown .role {
  font: 600 12px/1 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
}

.breakdown button[aria-current="true"] .role {
  color: var(--hot-1);
}

.breakdown .txt {
  font-size: 17px;
  font-weight: 500;
}

.breakdown .txt em {
  font-style: normal;
  color: var(--muted);
  font-weight: 400;
}

.meta-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.meta {
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}

.meta dt {
  font: 600 11.5px/1 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 8px;
}

.meta dd {
  margin: 0;
  font-size: 15px;
}

.honest {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 22px;
  font-size: 14.5px;
  color: var(--muted);
}

.honest svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  stroke: var(--ok);
}

/* ---------- Formats ---------- */

.formats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.format {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.format:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}

.format .preview {
  position: relative;
  height: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  background:
    radial-gradient(80% 70% at 50% 100%, rgba(255, 61, 61, 0.14), transparent 70%),
    var(--ink-3);
  overflow: hidden;
}

.format .body {
  padding: 22px 22px 26px;
}

.format h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.format p {
  color: var(--muted);
  font-size: 15px;
}

.format .seq {
  margin-top: 14px;
  font: 500 12px/1.5 var(--mono);
  color: var(--dim);
}

/* Mini slides (pure CSS, no images) */

.mini {
  flex: none;
  width: min(100px, 29%);
  aspect-ratio: 9 / 16;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 16px 30px -12px rgba(0, 0, 0, 0.8);
  display: grid;
  place-items: center;
  padding: 8px;
  text-align: center;
  font: 800 10px/1.15 var(--display);
  letter-spacing: -0.01em;
  transform: translateY(10px);
}

.mini:nth-child(2) {
  transform: translateY(-4px) scale(1.12);
  z-index: 2;
}

.mini.photo {
  background-size: cover;
  background-position: center;
}

.mini .outline {
  color: #fff;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000, 0 2px 6px rgba(0, 0, 0, 0.6);
}

.mini .box {
  display: inline;
  background: #fff;
  color: #111;
  padding: 1px 4px;
  border-radius: 3px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  line-height: 1.55;
}

.mini.grad-a { background: linear-gradient(170deg, #3a2b52, #16121f 60%, #2a1a2b); }
.mini.grad-b { background: linear-gradient(170deg, #1d3140, #10141c 60%, #20262f); }
.mini.grad-c { background: linear-gradient(170deg, #4a2a20, #1a1210 60%, #2a1a14); }
.mini.card-slide { background: radial-gradient(90% 60% at 50% 35%, #3b1a6b, #0c0a1a 80%); }

.mini .num-badge {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 11px;
}

.mini .icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: radial-gradient(circle, #5fe0ff 0 18%, #1f6a9a 20% 38%, #1a1440 40%);
  margin: 0 auto 6px;
}

.mini .cta {
  display: block;
  margin-top: 6px;
  padding: 3px 0;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 7px;
}

.mini.chat {
  background: #0d0d10;
  place-items: start stretch;
  padding: 18px 7px 8px;
  font: 500 7.5px/1.3 var(--body);
  text-align: left;
  gap: 4px;
  align-content: start;
}

.mini.chat .b {
  max-width: 80%;
  padding: 4px 6px;
  border-radius: 8px;
  background: #26252c;
  color: #eee;
}

.mini.chat .b.me {
  justify-self: end;
  background: #2f7bf6;
  color: #fff;
}

.mini.chat .drama {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  font: 600 6px/1 var(--mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
}

.mini.notif {
  background: linear-gradient(170deg, #2b3a55, #121521);
  place-items: start stretch;
  padding: 30px 6px 8px;
  align-content: start;
  gap: 5px;
}

.mini.notif .n {
  padding: 5px 6px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(4px);
  font: 500 6.5px/1.3 var(--body);
  text-align: left;
  color: #fff;
}

.mini.notif .n b {
  display: block;
  font-size: 7px;
}

/* ---------- Why / features ---------- */

.feat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feat {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line);
  position: relative;
  overflow: hidden;
}

.feat.wide {
  grid-column: span 2;
}

.feat .ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 61, 61, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 61, 61, 0.22);
  margin-bottom: 18px;
}

.feat .ico svg {
  width: 22px;
  height: 22px;
  stroke: #ff8a6a;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feat h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.feat p {
  color: var(--muted);
  font-size: 15px;
}

.validator {
  margin-top: 18px;
  display: grid;
  gap: 6px;
  font: 13px/1.5 var(--mono);
}

.validator div {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}

.validator .k {
  flex: none;
  width: 16px;
  font-weight: 700;
}

.validator .k.ok { color: var(--ok); }
.validator .k.no { color: var(--hot-2); }
.validator .k.w { color: var(--warn); }
.validator span:last-child { color: var(--muted); }

.label-demo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.label-demo div {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 13.5px;
}

.label-demo b {
  display: block;
  font: 600 11px/1 var(--mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 8px;
}

.label-demo .res {
  display: inline-block;
  margin-top: 8px;
  padding: 2px 8px;
  border-radius: 6px;
  font: 600 11.5px/1.6 var(--mono);
}

.label-demo .res.ai { background: rgba(255, 197, 61, 0.12); color: var(--warn); }
.label-demo .res.clean { background: rgba(61, 220, 151, 0.12); color: var(--ok); }

/* ---------- Roadmap ---------- */

.road-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.col {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line);
}

.col.now {
  background: linear-gradient(var(--ink-2), var(--ink-2)) padding-box, var(--grad) border-box;
  border: 1px solid transparent;
  box-shadow: 0 30px 80px -40px rgba(255, 61, 61, 0.5);
}

.col header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.col h3 {
  font-size: 24px;
}

.col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.col li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  font-size: 15.5px;
  color: var(--muted);
}

.col li b {
  color: var(--text);
  font-weight: 600;
}

.col li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin: 8px 0 0 4px;
  border-radius: 50%;
  background: var(--dim);
}

.col.now li::before {
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(61, 220, 151, 0.15);
}

.col.next li::before {
  background: var(--hot-2);
}

/* Seismograph preview */

.seis-card {
  margin-top: 16px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line);
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
  gap: 32px;
  align-items: center;
}

.seis-card p {
  color: var(--muted);
  font-size: 16px;
  margin-top: 10px;
}

.seis-card dl {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  font-size: 14.5px;
}

.seis-card dt {
  display: inline;
  font-weight: 600;
}

.seis-card dd {
  display: inline;
  margin: 0;
  color: var(--muted);
}

.seis-chart {
  position: relative;
  border-radius: var(--radius-sm);
  background: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
  padding: 16px 16px 12px;
}

.seis-chart svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.seis-chart .preview-tag {
  position: absolute;
  top: 14px;
  right: 14px;
}

/* ---------- Cost calculator ---------- */

.cost {
  background:
    radial-gradient(40% 60% at 0% 50%, rgba(255, 122, 26, 0.08), transparent 70%),
    var(--ink);
}

.cost-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border-radius: 28px;
  background: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line-2);
  overflow: hidden;
}

.cost-inputs {
  padding: clamp(24px, 4vw, 44px);
  display: grid;
  gap: 44px;
  align-content: center;
}

.range label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-weight: 600;
  margin-bottom: 14px;
}

.range output {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.range small {
  display: block;
  color: var(--muted);
  font-weight: 400;
  font-size: 14px;
  margin-top: 10px;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--hot-1), var(--hot-3)) 0 / var(--pct, 50%) 100% no-repeat, var(--ink-4);
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 5px rgba(255, 61, 61, 0.3), 0 4px 10px rgba(0, 0, 0, 0.5);
}

input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 5px rgba(255, 61, 61, 0.3), 0 4px 10px rgba(0, 0, 0, 0.5);
}

.cost-out {
  padding: clamp(24px, 4vw, 44px);
  background:
    radial-gradient(70% 80% at 80% 0%, rgba(255, 61, 61, 0.2), transparent 70%),
    var(--ink-3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.cost-out .big {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(64px, 9vw, 104px);
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.cost-out .big small {
  font-size: 0.32em;
  letter-spacing: -0.02em;
  color: var(--muted);
  font-weight: 700;
}

.cost-lines {
  display: grid;
  gap: 10px;
  margin: 0;
  font-size: 15px;
}

.cost-lines div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line-2);
}

.cost-lines dt {
  color: var(--muted);
}

.cost-lines dd {
  margin: 0;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.fine {
  font-size: 13.5px;
  color: var(--dim);
}

/* ---------- Access CTA ---------- */

.access {
  text-align: center;
  overflow: hidden;
}

.access .glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 900px;
  height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255, 61, 61, 0.22), transparent);
  pointer-events: none;
}

.access h2 {
  font-size: clamp(44px, 7vw, 92px);
  max-width: 900px;
  margin: 22px auto 20px;
}

.access .sub {
  color: var(--muted);
  font-size: 19px;
  max-width: 560px;
  margin: 0 auto;
}

.signup {
  display: flex;
  gap: 8px;
  max-width: 520px;
  margin: 36px auto 0;
  padding: 6px;
  border-radius: 999px;
  background: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 60px -30px rgba(0, 0, 0, 0.9);
}

.signup input {
  flex: 1;
  min-width: 0;
  height: 52px;
  padding: 0 20px;
  border: 0;
  background: transparent;
  color: var(--text);
  font: 16px var(--body);
  outline: none;
}

.signup input::placeholder {
  color: var(--dim);
}

.signup:focus-within {
  box-shadow: inset 0 0 0 1px var(--hot-2), 0 0 0 4px rgba(255, 61, 61, 0.15);
}

.signup-note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--dim);
  min-height: 1.6em;
}

.signup-note.ok {
  color: var(--ok);
}

.perks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 15px;
}

.perks li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--ok);
  font-weight: 700;
}

/* ---------- FAQ ---------- */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border-radius: var(--radius-sm);
  background: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 0.2s;
}

.faq-list details[open] {
  box-shadow: inset 0 0 0 1px var(--line-2);
}

.faq-list summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  font-weight: 600;
  font-size: 17px;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  font-weight: 400;
  font-size: 20px;
  transition: transform 0.25s;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list details p {
  padding: 0 22px 22px;
  color: var(--muted);
  font-size: 16px;
}

/* ---------- Footer ---------- */

footer {
  padding: 64px 0 40px;
  border-top: 1px solid var(--line);
}

.foot {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
}

.foot p {
  color: var(--muted);
  font-size: 15px;
  margin-top: 14px;
  max-width: 300px;
}

.foot h4 {
  margin: 0 0 14px;
  font: 600 12px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}

.foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 15px;
}

.foot ul a {
  color: var(--muted);
  text-decoration: none;
}

.foot ul a:hover {
  color: var(--text);
}

.legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--dim);
}

/* ---------- Cookie banner ---------- */

.cookie {
  position: fixed;
  z-index: 60;
  left: 20px;
  bottom: 20px;
  max-width: 400px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(22, 21, 29, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 0 0 1px var(--line-2), 0 30px 60px -20px rgba(0, 0, 0, 0.9);
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--muted);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cookie.in {
  opacity: 1;
  transform: none;
}

.cookie b {
  color: var(--text);
}

.cookie-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.cookie-actions .btn {
  flex: 1;
}

.linkish {
  all: unset;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.linkish:hover {
  color: var(--text);
}

.linkish:focus-visible {
  outline: 2px solid var(--hot-1);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (max-width: 620px) {
  .cookie {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }
}

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .feat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .formats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .hero .wrap,
  .how-grid,
  .output-grid,
  .faq-grid,
  .seis-card,
  .cost-card {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 120px;
  }

  .stage {
    height: 600px;
  }

  .terminal {
    position: relative;
    top: 0;
  }

  .output-grid {
    justify-items: center;
  }

  .output-grid > div:last-child {
    width: 100%;
  }

  .road-grid,
  .pain-grid {
    grid-template-columns: 1fr;
  }

  .foot {
    grid-template-columns: 1fr 1fr;
  }

  .foot > div:first-child {
    grid-column: 1 / -1;
  }
}

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

  .nav .btn {
    display: none;
  }

  .stage {
    height: 520px;
    transform: scale(0.86);
    margin: -30px 0;
  }

  .stage .card-tilt {
    width: 160px;
  }

  .stage .card-left,
  .stage .card-right {
    animation: none;
  }

  .stage .card-left {
    transform: translate(-120px, 30px) rotate(-9deg);
  }

  .stage .card-right {
    transform: translate(120px, 40px) rotate(8deg);
  }

  .phone {
    width: 250px;
  }

  .chip-1 { left: 0; }
  .chip-2 { right: 0; }

  .output .phone {
    width: 280px;
  }

  .feat-grid,
  .formats-grid,
  .meta-row,
  .label-demo {
    grid-template-columns: 1fr;
  }

  .feat.wide {
    grid-column: auto;
  }

  .breakdown button {
    grid-template-columns: 60px 1fr;
    padding: 12px 14px;
  }

  .signup {
    flex-direction: column;
    border-radius: 22px;
  }

  .signup .btn {
    width: 100%;
  }

  .hero-cta .btn {
    flex: 1 1 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
