/* ClawBlox — launch page */
:root {
  --bg: #0B0B0F;
  --bg-2: #101015;
  --card: rgba(255, 255, 255, .025);
  --line: rgba(255, 255, 255, .075);
  --line-2: rgba(255, 255, 255, .13);
  --text: #F5F5F4;
  --muted: #A1A1AA;
  --dim: #85858F;
  --lime: #C6FF3D;
  --lime-ink: #0B0B0F;
  --red: #E5484D;
  --blue: #3B82F6;
  --radius: 16px;
  --wrap: 1120px;
  --gutter: 20px;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--font); letter-spacing: -.006em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--lime); color: var(--lime-ink); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; visibility: hidden; }
.skip { position: absolute; left: 0; top: 0; z-index: 100; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; background: var(--lime); color: var(--lime-ink); border-radius: 8px; font-weight: 600; }
.skip:focus { left: 12px; top: 12px; width: auto; height: auto; margin: 0; padding: 8px 16px; overflow: visible; clip: auto; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.link { color: var(--text); border-bottom: 1px solid var(--line-2); transition: border-color .2s, color .2s; }
.link:hover { color: var(--lime); border-color: var(--lime); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 20px; border: 0; border-radius: 10px; cursor: pointer; white-space: nowrap;
  background: var(--lime); color: var(--lime-ink); font-weight: 600; font-size: 16px; letter-spacing: -.01em;
  box-shadow: 0 0 0 1px rgba(198, 255, 61, .35), 0 8px 30px -8px rgba(198, 255, 61, .45), inset 0 1px 0 rgba(255, 255, 255, .45);
  transition: transform .2s var(--ease), box-shadow .2s, background .2s;
}
.btn:hover { background: #D4FF66; box-shadow: 0 0 0 1px rgba(198, 255, 61, .5), 0 10px 36px -8px rgba(198, 255, 61, .6), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn:active { transform: translateY(1px); }
.btn-sm { height: 34px; padding: 0 12px; font-size: 14px; border-radius: 8px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 11, 15, .72); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { height: 64px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); }
.brand-mark { width: 26px; height: 26px; }
.brand-word { width: 112px; height: 15px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; color: var(--muted); }
.nav-links a:not(.btn) { transition: color .2s; }
.nav-links a:not(.btn):hover { color: var(--text); }
@media (max-width: 640px) { .nav-links a:not(.btn) { display: none; } .brand-word { width: 98px; height: 13px; } }

/* ---------- hero ---------- */
.hero { position: relative; padding: 76px 0 40px; isolation: isolate; }
@media (min-width: 900px) { .hero { padding-top: 84px; } }
.hero-bg {
  position: absolute; inset: -64px 0 0; z-index: -1; overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent);
}
.hero-bg .grid {
  position: absolute; inset: -60px;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 22%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 55% at 50% 22%, #000 25%, transparent 75%);
  animation: grid-drift 28s linear infinite;
}
@keyframes grid-drift { to { transform: translate3d(60px, 60px, 0); } }
.hero-bg .glow {
  position: absolute; left: 50%; top: -220px; width: 1100px; height: 640px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(198, 255, 61, .13), rgba(198, 255, 61, .04) 55%, transparent);
  filter: blur(10px);
}
body::after { /* film grain, whole page, no seams */
  content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .05; 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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-in { text-align: center; display: flex; flex-direction: column; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 28px;
  padding: 4px 12px 4px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03);
  font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(198, 255, 61, .6); animation: pulse 2.4s var(--ease) infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(198, 255, 61, .55); } 70%, 100% { box-shadow: 0 0 0 7px rgba(198, 255, 61, 0); } }

h1 {
  margin: 0; font-weight: 650; letter-spacing: -.045em; line-height: 1;
  font-size: 40px; text-wrap: balance;
}
@media (min-width: 560px) { h1 { font-size: 56px; } }
@media (min-width: 900px) { h1 { font-size: 64px; } }
@media (min-width: 1200px) { h1 { font-size: 76px; } }
.h1-2 {
  background: linear-gradient(180deg, #F5F5F4 0%, #A1A1AA 115%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { margin: 24px 0 0; max-width: 600px; font-size: 18px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
@media (min-width: 900px) { .lede { font-size: 20px; } }

/* ---------- waitlist form ---------- */
.waitlist { margin-top: 32px; width: 100%; max-width: 460px; }
.field {
  display: flex; gap: 4px; padding: 4px; border-radius: 14px;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .35);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 20px 50px -20px rgba(0, 0, 0, .8);
  transition: border-color .2s, box-shadow .2s;
}
.field:focus-within { border-color: rgba(198, 255, 61, .55); box-shadow: 0 0 0 4px rgba(198, 255, 61, .09), 0 20px 50px -20px rgba(0, 0, 0, .8); }
.field input[type=email] {
  flex: 1; min-width: 0; height: 46px; padding: 0 12px 0 12px; border: 0; background: transparent; outline: none; font-size: 16px;
}
.field input::placeholder { color: var(--dim); }
.field .btn { flex: none; }
.form-msg { min-height: 22px; margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.form-msg.ok { color: var(--lime); }
.form-msg.err { color: #FF8A8E; }
.waitlist.busy .btn { opacity: .7; pointer-events: none; }
.waitlist.done .field { border-color: rgba(198, 255, 61, .4); }
@media (max-width: 420px) { .field .btn { padding: 0 12px; } }

/* ---------- film ---------- */
.film-wrap { margin-top: 24px; }
.film {
  position: relative; margin: 0; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden;
  background: #0E0E12 url("poster.jpg?v=3") center / cover no-repeat;
  box-shadow: 0 0 0 1px var(--line-2), 0 40px 120px -40px rgba(0, 0, 0, .9), 0 0 120px -30px rgba(198, 255, 61, .18);
}
.film::after { /* top highlight */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}
.film video { width: 100%; height: 100%; object-fit: cover; background: transparent; }
.film-hit { position: absolute; inset: 0; border: 0; background: transparent; cursor: zoom-in; }
.film-hit:focus-visible { outline-offset: -4px; border-radius: 14px; }
.no-film .film-hit { cursor: default; }
.film-ui {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 12px; pointer-events: none;
}
.film-ui > * { pointer-events: auto; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px 0 12px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .14); background: rgba(11, 11, 15, .62); color: var(--text);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-size: 13px; font-weight: 500; transition: background .2s, border-color .2s, transform .2s var(--ease);
}
.chip:hover { background: rgba(11, 11, 15, .8); border-color: rgba(255, 255, 255, .26); }
.chip svg { width: 18px; height: 18px; }
.chip.icon { width: 38px; padding: 0; justify-content: center; }
.motion-paused .hero-bg .grid, .motion-paused .dot, .motion-paused .caret { animation-play-state: paused; }
.pp .i-play { display: none; }
.pp[aria-pressed="true"] .i-play { display: block; }
.pp[aria-pressed="true"] .i-pause { display: none; }
.film-ui-l { display: flex; gap: 8px; }
.sound .i-on { display: none; }
.unmuted .sound .i-on { display: block; }
.unmuted .sound .i-off { display: none; }
.film:not(.unmuted) .sound { border-color: rgba(198, 255, 61, .45); box-shadow: 0 0 24px -6px rgba(198, 255, 61, .4); }
.no-film .sound, .no-film .fs, .no-film .pp { display: none; }
.film-play {
  position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2); background: rgba(11, 11, 15, .55); color: var(--text); cursor: pointer;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  display: none; align-items: center; justify-content: center; transition: transform .25s var(--ease), background .2s;
}
.film-play svg { width: 28px; height: 28px; margin-left: 4px; }
.film-play:hover { transform: scale(1.06); background: rgba(11, 11, 15, .75); }
.paused:not(.no-film) .film-play { display: flex; }
@media (max-width: 560px) {
  .film { border-radius: 12px; }
  .film-ui { padding: 8px; }
  .chip { height: 32px; font-size: 12px; padding: 0 12px 0 8px; }
  .chip.icon { width: 32px; }
  .chip svg { width: 16px; height: 16px; }
  .film-play { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
}

/* ---------- sections ---------- */
.section { padding: 112px 0 0; }
@media (max-width: 719px) { .section { padding-top: 84px; } }
.sec-head { margin-bottom: 44px; }
.kicker { margin: 0 0 12px; font: 500 12px/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--lime); }
h2 { margin: 0; font-size: 32px; line-height: 1.08; letter-spacing: -.04em; font-weight: 620; text-wrap: balance; }
@media (min-width: 720px) { h2 { font-size: 40px; } }
@media (min-width: 1024px) { h2 { font-size: 48px; } }
h3 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }

.card {
  position: relative; border-radius: var(--radius); background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
  border: 1px solid var(--line); padding: 24px;
}
.card::before { /* hairline top sheen */
  content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .18), transparent);
}

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 880px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps .card { display: flex; flex-direction: column; }
.num { font: 500 12px/1.5 var(--mono); color: var(--dim); margin-bottom: 24px; }
.steps p { margin: 8px 0 24px; color: var(--muted); font-size: 16px; line-height: 1.55; }
.viz {
  margin-top: auto; border-radius: 10px; border: 1px solid var(--line); background: rgba(0, 0, 0, .35);
  padding: 12px 16px; font: 13px/1.7 var(--mono); color: var(--text); min-height: 92px;
}
.viz.term { letter-spacing: 0; }
.c-dim { color: var(--dim); }
.c-lime { color: var(--lime); }
.c-red { color: var(--red); }
.c-blue { color: var(--blue); }
.caret { display: inline-block; width: 7px; height: 15px; margin-left: 4px; vertical-align: -2px; background: var(--text); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.bar { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .07); overflow: hidden; margin: 12px 0 12px; }
.bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--red) 0 6%, var(--lime) 6% 94%, var(--blue) 94%); transition: width 1s var(--ease) .3s; }
.in .bar i, .no-io .bar i { width: var(--w); }
.bar-row { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); }

/* today / vision */
.split { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 880px) { .split { grid-template-columns: 1fr 1fr; } }
.list-card { padding: 28px 28px 8px; }
.tag {
  display: inline-flex; align-items: center; height: 26px; padding: 0 8px; border-radius: 999px;
  font: 500 12px/1.5 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-2);
}
.tag-live { color: var(--lime); border-color: rgba(198, 255, 61, .35); background: rgba(198, 255, 61, .06); }
.ticks { list-style: none; margin: 20px 0 0; padding: 0; }
.ticks li { position: relative; padding: 16px 0 16px 32px; border-top: 1px solid var(--line); color: var(--text); font-size: 16px; line-height: 1.5; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 19px; width: 16px; height: 16px; border-radius: 5px;
  background: rgba(198, 255, 61, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%23C6FF3D' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.ticks-soft li { color: var(--muted); }
.ticks-soft li::before { background: none; border: 1px dashed rgba(255, 255, 255, .25); width: 14px; height: 14px; top: 20px; left: 3px; }

/* FAQ */
.faq { display: grid; gap: 8px; grid-template-columns: 1fr; }
@media (min-width: 880px) { .faq { grid-template-columns: 5fr 7fr; gap: 48px; } .faq-head { position: sticky; top: 110px; align-self: start; } }
.faq-head p.small { margin: 16px 0 0; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 4px; font-size: 18px; font-weight: 500; letter-spacing: -.015em; transition: color .2s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: #fff; }
.faq-list summary::after {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 7px; border: 1px solid var(--line-2);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M11 6.5v9M6.5 11h9' stroke='%23A1A1AA' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 22px no-repeat;
  transition: transform .3s var(--ease), border-color .2s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); border-color: rgba(198, 255, 61, .45); }
.faq-list .a { padding: 0 44px 24px 4px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.faq-list .a p { margin: 0; max-width: 600px; }
.faq-list details[open] .a { animation: fade-down .35s var(--ease); }
@keyframes fade-down { from { opacity: 0; transform: translateY(-4px); } }

/* final CTA */
.cta { padding-bottom: 40px; }
.cta-in {
  position: relative; text-align: center; display: flex; flex-direction: column; align-items: center;
  padding-top: 72px; padding-bottom: 36px; border-radius: 24px; overflow: hidden;
}
.cta-in::before {
  content: ""; position: absolute; inset: 0 var(--gutter); border-radius: 24px; z-index: -1; border: 1px solid var(--line);
  background:
    radial-gradient(600px 260px at 50% 0%, rgba(198, 255, 61, .10), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .005));
}
.cta-mark { width: 44px; height: 44px; margin-bottom: 24px; filter: drop-shadow(0 8px 24px rgba(198, 255, 61, .35)); }
.cta-in p.muted { margin: 16px 0 0; font-size: 18px; }
.cta-in .waitlist { margin-top: 28px; }
@media (max-width: 560px) { .cta-in { padding: 56px calc(var(--gutter) + 16px) 28px; } }

/* footer */
.foot { padding: 44px 0 40px; border-top: 1px solid var(--line); margin-top: 56px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.foot-brand { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.foot .brand-mark { width: 22px; height: 22px; }
.foot .brand-word { width: 94px; height: 13px; }
.fine { margin: 0; font-size: 13px; color: var(--dim); }
.socials { display: flex; align-items: center; gap: 4px; margin-left: -9px; }
.socials a[data-social] {
  width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; color: var(--muted);
  transition: color .2s, background .2s;
}
.socials a[data-social]:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.socials svg { width: 18px; height: 18px; }
.foot-mail { margin-left: 12px; font-size: 14px; color: var(--muted); }
.legal { margin-top: 28px; max-width: 560px; font-size: 12px; line-height: 1.6; }

/* ---------- reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.steps [data-reveal]:nth-child(2), .split [data-reveal]:nth-child(2) { transition-delay: .08s; }
.steps [data-reveal]:nth-child(3) { transition-delay: .16s; }
.hero-in [data-reveal]:nth-child(2) { transition-delay: .06s; }
.hero-in [data-reveal]:nth-child(3) { transition-delay: .12s; }
.hero-in [data-reveal]:nth-child(4) { transition-delay: .18s; }
.film-wrap[data-reveal] { transition-delay: .26s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .bar i { width: var(--w); }
}

/* 404 */
.nf { min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 40px var(--gutter); text-align: center; }
.nf .brand { margin-bottom: 32px; }
.nf .kicker { margin: 0; }
.nf .muted { margin: 0 0 16px; }
