/* CLAUDE 10-03: the waitlist at ripclip.org. The landing's world (alpha/web/landing.css): near-black, Mona Sans,
   neon green only for the main action. */
@font-face {
  font-family: 'Mona Sans';
  src: url('/ui-fonts/MonaSans-VF.woff2') format('woff2');
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-display: swap;
}
:root {
  --bg: #08080a;
  --panel: #121215;
  --panel2: #19191d;
  --hair: rgba(255, 255, 255, 0.075);
  --hair2: rgba(255, 255, 255, 0.14);
  --ink: #f3f2ee;
  --soft: #b3b2bc;
  --dim: #8a8994;
  --go: #53fc18;
  --go-ink: #061000;
  --bad: #ff7a70;
  --wrap: min(1120px, 100% - 32px);
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    400 16px/1.55 'Mona Sans',
    ui-sans-serif,
    system-ui,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
}
.sr,
.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 10;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--go);
  color: var(--go-ink);
}
.skip:focus {
  top: 12px;
}
:focus-visible {
  outline: 2px solid var(--go);
  outline-offset: 3px;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font: 650 15px/1 inherit;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 160ms var(--ease),
    background-color 160ms ease,
    box-shadow 160ms ease;
}
.btn:active {
  transform: scale(0.97);
}
.btn-go {
  background: var(--go);
  color: var(--go-ink);
  box-shadow: 0 0 0 0 rgba(83, 252, 24, 0);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--hair2);
}
.btn-sm {
  height: 38px;
  padding: 0 16px;
  font-size: 14px;
}
.btn:disabled {
  opacity: 0.6;
  cursor: progress;
}
@media (hover: hover) {
  .btn-go:hover {
    box-shadow: 0 8px 28px -8px rgba(83, 252, 24, 0.55);
  }
  .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
  }
}

/* nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--wrap);
  margin: 0 auto;
  padding: 16px 0;
  background: linear-gradient(var(--bg) 60%, rgba(8, 8, 10, 0));
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.logo b {
  font-weight: 800;
}
.logo span {
  color: var(--go);
}

/* hero */
.hero {
  width: var(--wrap);
  margin: 0 auto;
  padding: clamp(48px, 9vw, 112px) 0 40px;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 22px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px var(--hair2);
  font-size: 13px;
  font-weight: 600;
  color: var(--soft);
}
.eyebrow i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--go);
  box-shadow: 0 0 10px var(--go);
}
h1 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(2.6rem, 7.4vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 850;
  font-stretch: 110%;
  text-wrap: balance;
}
h1 span {
  color: var(--soft);
}
.lede {
  margin: 0;
  max-width: 54ch;
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  color: var(--soft);
  text-wrap: pretty;
}

/* the form */
.join {
  width: min(560px, 100%);
  display: grid;
  gap: 12px;
  margin-top: 6px;
  scroll-margin-top: 90px;
}
.field {
  display: flex;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 0 0 1px var(--hair2);
  transition: box-shadow 200ms ease;
}
.field:focus-within {
  box-shadow: inset 0 0 0 1px rgba(83, 252, 24, 0.6);
}
.field input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 18px;
  border: 0;
  background: none;
  color: var(--ink);
  font: 400 16px inherit;
  outline: none;
}
.field input::placeholder {
  color: var(--dim);
}
.join.bad .field {
  box-shadow: inset 0 0 0 1px var(--bad);
}
.opt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 14px;
  color: var(--soft);
  cursor: pointer;
}
.opt input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--go);
}
.fine {
  margin: 0;
  font-size: 13px;
  color: var(--dim);
}
.status {
  margin: 0;
  min-height: 1.4em;
  font-weight: 600;
}
.status.ok {
  color: var(--go);
}
.status.err {
  color: var(--bad);
}
.join.done .field,
.join.done .opt,
.join.done .fine {
  display: none;
}

/* long video -> clips */
.demo {
  width: var(--wrap);
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) auto minmax(0, 0.62fr) minmax(0, 0.62fr);
  align-items: start;
  gap: 16px;
}
.demo .arrow {
  align-self: center;
}
.demo figure {
  margin: 0;
  display: grid;
  gap: 10px;
}
.demo video {
  width: 100%;
  display: block;
  border-radius: 18px;
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--hair);
}
.long video {
  aspect-ratio: 16 / 9;
}
.short video {
  aspect-ratio: 9 / 16;
}
.demo figcaption {
  display: grid;
  font-size: 13px;
  color: var(--dim);
}
.demo figcaption b {
  font-size: 14px;
  color: var(--ink);
  font-weight: 650;
}
.arrow {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--go);
  background: rgba(83, 252, 24, 0.08);
}
.arrow svg {
  width: 20px;
  height: 20px;
}
.host {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 12px;
  color: var(--dim);
  text-align: center;
}

/* four tools */
.four {
  width: var(--wrap);
  margin: clamp(72px, 10vw, 120px) auto 0;
}
h2 {
  margin: 0 0 28px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 800;
  text-wrap: balance;
}
h2 span {
  color: var(--soft);
}
.four ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  counter-reset: step;
}
.four li {
  counter-increment: step;
  padding: 22px;
  border-radius: 18px;
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--hair);
}
.four li::before {
  content: '0' counter(step);
  display: block;
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--go);
}
.four b {
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.02em;
}
.four p {
  margin: 6px 0 0;
  font-size: 14.5px;
  color: var(--soft);
}

/* closing call */
.again {
  width: var(--wrap);
  margin: clamp(72px, 10vw, 120px) auto 0;
  padding: clamp(36px, 6vw, 64px) 20px;
  display: grid;
  justify-items: center;
  gap: 16px;
  text-align: center;
  border-radius: 28px;
  background: radial-gradient(120% 140% at 50% 0%, rgba(83, 252, 24, 0.1), rgba(83, 252, 24, 0) 60%), var(--panel);
  box-shadow: inset 0 0 0 1px var(--hair);
}
.again h2 {
  margin: 0;
}

/* footer */
.foot {
  width: var(--wrap);
  margin: 72px auto 0;
  padding: 24px 0 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--hair);
  font-size: 13.5px;
  color: var(--dim);
}
.foot p {
  margin: 0;
}
.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.foot a {
  text-decoration: none;
}
.foot a:hover {
  color: var(--ink);
}

@media (max-width: 860px) {
  .demo {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .long {
    grid-column: 1 / -1;
  }
  .arrow {
    grid-column: 1 / -1;
    justify-self: center;
    transform: rotate(90deg);
  }
  .four ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .field {
    flex-direction: column;
    border-radius: 22px;
  }
  .field .btn {
    width: 100%;
  }
  .four ol {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero > * {
    animation: rise 800ms var(--ease) both;
  }
  .hero > :nth-child(2) {
    animation-delay: 60ms;
  }
  .hero > :nth-child(3) {
    animation-delay: 120ms;
  }
  .hero > :nth-child(n + 4) {
    animation-delay: 180ms;
  }
  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(14px);
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
