/* 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;
  /* CLAUDE 10-03: a solid, full-width bar. The old fade-to-clear let the waitlist note scroll up visibly behind the
     logo (the owner's screenshot: "...time. See our Privacy Policy." floating under the nav). */
  background: var(--bg);
  box-shadow:
    0 0 0 100vmax var(--bg),
    0 1px 0 100vmax rgba(255, 255, 255, 0.06);
  clip-path: inset(0 -100vmax -1px);
}
.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);
}

/* CLAUDE 10-11: "Try it free" points to the working app (app.ripclip.org); the waitlist form stays below it */
.nav-actions {
  display: inline-flex;
  gap: 8px;
}
.try {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin: 0;
}
.try span {
  color: var(--dim);
  font-size: 14px;
}
@media (max-width: 420px) {
  .nav-actions .btn-ghost {
    display: none; /* the logo and Try it free fit; the waitlist form is one scroll away */
  }
}

/* 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(--go);
}
.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);
}
/* CLAUDE 10-07: the four jobs under the lede, the offer over the field and the reassurance under it */
.steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps li {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px var(--hair2);
  font-size: 14px;
  font-weight: 700;
}
.perk {
  justify-self: center;
  margin: 0;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(83, 252, 24, 0.1);
  box-shadow: inset 0 0 0 1px rgba(83, 252, 24, 0.35);
  font-size: 14px;
  color: var(--ink);
}
.perk b {
  color: var(--go);
}
.trust {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--soft);
}
.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,
.join.done > .perk,
.join.done > .trust,
.join.done > .hint {
  display: none;
}

/* CLAUDE 10-08: the referral offer: a line by the form, then (after sign-up) the share box with their link */
.hint {
  margin: 0;
  font-size: 14px;
  color: var(--soft);
}
.hint b {
  color: var(--ink);
}
.share {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 20px 18px;
  border-radius: 20px;
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--hair2);
}
.share[hidden] {
  display: none;
}
.share-h {
  margin: 0;
  font-size: clamp(1.2rem, 3.4vw, 1.5rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.share-sub {
  margin: 0;
  max-width: 44ch;
  font-size: 14.5px;
  color: var(--soft);
  text-wrap: pretty;
}
.share .field {
  width: 100%;
  text-align: left;
}
.share .field input {
  text-overflow: ellipsis;
  font-size: 15px;
}
.progress {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--soft);
}
.bar {
  width: 96px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.bar i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--go);
  transition: width 400ms var(--ease);
}
.progress.full {
  color: var(--go);
}

/* 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;
}

/* CLAUDE 10-04: the editor: a real recording of it, then the spec grid (the app landing's #lp-editor) */
.editor {
  width: var(--wrap);
  margin: clamp(72px, 10vw, 120px) auto 0;
}
.ed-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 14px 40px;
  margin-bottom: 28px;
}
.ed-head h2 {
  margin: 0;
}
.ed-head p {
  margin: 0;
  max-width: 46ch;
  color: var(--soft);
}
.ed-stage {
  margin: 0;
  padding: 6px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px var(--hair);
}
.ed-stage video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  background: #000;
}
.ed-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 28px;
  margin: 36px 0 0;
}
.ed-grid > div {
  display: grid;
  gap: 6px;
  align-content: start;
  padding: 18px 0 22px;
  border-top: 1px solid var(--hair);
}
.ed-grid dt {
  font-size: 17px;
  font-weight: 750;
  font-stretch: 112%;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.ed-grid dd {
  margin: 0;
  font-size: 14.5px;
  color: var(--soft);
}
.ed-foot {
  max-width: 78ch;
  margin: 16px 0 0;
  font-size: 14.5px;
  color: var(--soft);
}
.ed-foot span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--dim);
}

/* 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);
}
.four p a {
  color: var(--go);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* CLAUDE 10-11 (SEO-PLAN.md): the sources line, plans and FAQ */
.sources {
  max-width: 560px;
  margin: -8px 0 0; /* sits under the lede, inside the hero's 22px gap */
  font-size: 14.5px;
  color: var(--dim);
}
.sources a,
.faq a,
.plans-fine a {
  color: var(--soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.plans .price {
  margin: 10px 0 0;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.plans .price small {
  font-size: 14px;
  font-weight: 500;
  color: var(--dim);
}
.four .plans-fine {
  max-width: 760px;
  margin: 18px 0 0;
  font-size: 14px;
  color: var(--dim);
}
.faq {
  width: var(--wrap);
  max-width: 820px;
  margin: clamp(72px, 10vw, 120px) auto 0;
}
.faq details {
  border-top: 1px solid var(--hair);
}
.faq details:last-child {
  border-bottom: 1px solid var(--hair);
}
.faq summary {
  padding: 18px 0;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}
.faq summary:focus-visible {
  outline: 2px solid var(--go);
  outline-offset: 4px;
}
.faq details p {
  margin: 0 0 20px;
  color: var(--soft);
}

/* CLAUDE 10-11: guides (kick-stream-to-tiktok.html) */
.guide {
  width: var(--wrap);
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(40px, 7vw, 88px) 0 0;
}
.guide h1 {
  max-width: none;
  margin: 18px 0 16px;
  font-size: clamp(2.2rem, 5.6vw, 3.6rem);
}
.guide h2 {
  margin: 44px 0 14px;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
}
.guide p,
.guide li {
  color: var(--soft);
  line-height: 1.6;
}
.guide li {
  margin: 0 0 10px;
}
.answer {
  margin: 22px 0 0;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--hair);
}
.answer b {
  color: var(--ink);
}
.guide li b {
  color: var(--ink);
}
.guide a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.glossary dt {
  margin: 22px 0 4px;
  color: var(--ink);
  font-weight: 700;
  scroll-margin-top: 90px;
}
.glossary dd {
  margin: 0;
  color: var(--soft);
  line-height: 1.6;
}

/* CLAUDE 10-11: comparison pages (*-alternative.html, unlisted) */
.cmp-wrap {
  margin: 18px 0 0;
  overflow-x: auto;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px var(--hair);
}
.cmp {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
@media (max-width: 520px) {
  .cmp {
    font-size: 13px; /* all three columns stay in view on a phone instead of scrolling sideways */
  }
  .cmp th,
  .cmp td {
    padding: 10px 8px;
  }
}
.cmp th,
.cmp td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--hair);
  color: var(--soft);
}
.cmp thead th {
  color: var(--ink);
  background: var(--panel);
}
.cmp tbody th {
  width: 22%;
  color: var(--ink);
  font-weight: 650;
}
.cmp tr:last-child > * {
  border-bottom: 0;
}
.sources-list {
  font-size: 13.5px;
}
.sources-list li {
  margin: 0 0 6px;
}

/* CLAUDE 10-11: "Why streamers try RipClip" (site/src/_why-ripclip.html, placed at build) */
.why {
  width: var(--wrap);
  margin: clamp(56px, 8vw, 96px) auto 0;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 24px;
  background: radial-gradient(120% 140% at 0% 0%, rgba(83, 252, 24, 0.08), rgba(83, 252, 24, 0) 55%), var(--panel);
  box-shadow: inset 0 0 0 1px var(--hair);
}
.why h2 {
  margin: 0 0 20px;
}
.why-grid {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 24px;
}
.why-grid li {
  color: var(--soft);
  font-size: 15px;
  line-height: 1.55;
}
.why-grid b {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 16.5px;
}
.why .fine {
  margin: 0 0 18px;
}
@media (max-width: 860px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* 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));
  }
  .ed-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
  }
}
@media (max-width: 520px) {
  .field {
    flex-direction: column;
    border-radius: 22px;
  }
  .field input {
    flex: none; /* in a column, flex: 1 (basis 0) overrode the 48px height and squashed the field */
    height: 48px; /* the button's height */
  }
  .field .btn {
    width: 100%;
  }
  .four ol,
  .ed-grid {
    grid-template-columns: 1fr;
  }
  .ed-grid > div {
    padding: 14px 0 16px;
  }
  .ed-stage {
    padding: 4px;
    border-radius: 16px;
  }
  .ed-stage video {
    border-radius: 12px;
  }
}
@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;
  }
  .bar i {
    transition: none;
  }
}
