/* clipnote.social beta pages: the homepage's design system (index.html), shared
   by /beta, /beta/join, /beta/confirm, /beta/review. One typeface (Inter), pure
   black, Clipnote Orange as the only accent, hairline borders, a dark-washed
   photo behind everything (the same rain-on-glass image as the app's sign-in). */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --dark: #000000;
  --red: #ff3210;
  --f: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
html, body { min-height: 100%; max-width: 100%; overflow-x: hidden; background: var(--dark); color: #fff; font-family: var(--f); -webkit-font-smoothing: antialiased; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
[hidden] { display: none !important; }

/* ── BACKGROUND (same treatment as the homepage) ── */
.page-bg { position: fixed; inset: 0; background: url('/assets/images/beta-bg.jpg') center / cover no-repeat; z-index: 0; }
.page-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.86) 38%, rgba(0,0,0,0.70) 66%, rgba(0,0,0,0.58) 100%),
    linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 34%, rgba(0,0,0,0.32) 100%);
}
.page-bg::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
}
.wrap { position: relative; z-index: 1; min-height: 100vh; display: flex; flex-direction: column; }

/* ── HEADER / FOOTER (homepage) ── */
header { padding: 28px 52px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,0.08); }
.logo svg { height: 26px; width: auto; display: block; }
.header-right { display: flex; align-items: center; gap: 12px; }
.cs-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--red); animation: blink 2.2s ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.cs-label { font-size: 9px; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(255,255,255,0.64); }
footer { padding: 18px 52px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255,255,255,0.07); }
.footer-copy { font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.58); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.72); }
.footer-links a:hover { color: #fff; text-decoration: none; }

/* ── HERO TYPE (homepage) ── */
main { flex: 1; }
.hero { display: grid; grid-template-columns: 55fr 45fr; min-height: calc(100vh - 140px); }
.hero.single { grid-template-columns: 1fr; }
.hero-left { display: flex; flex-direction: column; justify-content: center; padding: 80px 52px; border-right: 1px solid rgba(255,255,255,0.07); }
.hero.single .hero-left { border-right: 0; max-width: 820px; }
.hero-right { display: flex; flex-direction: column; justify-content: center; padding: 80px 52px; }
.eyebrow { font-size: 9px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--red); margin-bottom: 36px; }
.headline { line-height: 1; margin-bottom: 40px; font-weight: 300; }
.hl-small { display: block; font-size: clamp(30px, 6vw, 88px); letter-spacing: -0.03em; color: rgba(255,255,255,0.72); line-height: 0.95; margin-bottom: 2px; }
.hl-big { display: block; font-size: clamp(60px, 12vw, 176px); letter-spacing: -0.045em; line-height: 0.86; color: var(--red); }
.sub { font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.78); max-width: 380px; line-height: 1.72; border-left: 1px solid rgba(255,50,16,0.28); padding-left: 16px; margin-bottom: 44px; }
.steps { display: flex; gap: 28px; flex-wrap: wrap; }
.step { font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.62); }
.step b { color: var(--red); font-weight: 500; margin-right: 8px; }

/* ── FORM (the homepage waitlist's controls) ── */
.panel { width: 100%; max-width: 420px; }
.label { display: block; font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.65); margin-bottom: 11px; }
.field { display: block; margin-bottom: 22px; border: 0; }
.input { width: 100%; background: transparent; border: 1px solid rgba(255,255,255,0.35); outline: none; padding: 13px 18px; font: inherit; font-size: 14px; color: #fff; transition: border-color 0.2s; border-radius: 0; }
.input:focus { border-color: rgba(255,255,255,0.75); }
.input::placeholder { color: rgba(255,255,255,0.45); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid rgba(255,255,255,0.32); padding: 12px 14px; color: rgba(255,255,255,0.7); font-size: 12px; letter-spacing: 0.02em; transition: border-color 0.15s, color 0.15s, background 0.15s; }
.seg svg { width: 15px; height: 15px; fill: currentColor; }
.seg label:hover span { border-color: rgba(255,255,255,0.6); color: #fff; }
.seg input:checked + span { border-color: var(--red); background: rgba(255,50,16,0.12); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; line-height: 1.6; color: rgba(255,255,255,0.78); margin-bottom: 14px; cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--red); }
.hint { font-size: 11px; line-height: 1.65; color: rgba(255,255,255,0.55); margin: -6px 0 22px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cf-turnstile { margin: 2px 0 20px; min-height: 65px; }
.btn { display: inline-block; background: var(--red); border: 0; padding: 14px 24px; font: inherit; font-size: 9px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: #fff; cursor: pointer; transition: opacity 0.15s; }
.btn:hover { opacity: 0.85; text-decoration: none; }
.btn:disabled { opacity: 0.38; cursor: default; }
.btn.ghost { background: transparent; border: 1px solid rgba(255,255,255,0.35); color: rgba(255,255,255,0.85); }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
.msg { font-size: 12px; color: var(--red); margin-top: 12px; min-height: 1em; line-height: 1.6; }
.fine { font-size: 10px; line-height: 1.7; color: rgba(255,255,255,0.55); margin-top: 18px; }
.fine a { color: rgba(255,255,255,0.8); text-decoration: underline; text-underline-offset: 3px; }
.done-label { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.88); margin-bottom: 10px; }
.done-text { font-size: 13px; font-weight: 300; line-height: 1.72; color: rgba(255,255,255,0.78); }
.kv { width: 100%; border-collapse: collapse; margin-bottom: 26px; font-size: 13px; }
.kv td { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.1); vertical-align: top; }
.kv td:first-child { width: 38%; font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.55); padding-top: 15px; }

/* ── CONTENT SECTIONS (/beta) ── */
.content { max-width: 820px; padding: 0 52px 96px; }
.section { margin-bottom: 64px; }
.section-label { font-size: 9px; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255,255,255,0.6); padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 26px; }
.section-label .num { color: var(--red); margin-right: 12px; }
.section-intro { font-size: 13px; font-weight: 300; line-height: 1.72; color: rgba(255,255,255,0.72); margin-bottom: 20px; }
.platforms { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid rgba(255,255,255,0.12); }
.platform { padding: 28px 28px 24px; }
.platform + .platform { border-left: 1px solid rgba(255,255,255,0.12); }
.platform-label { font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 16px; }
.platform .btn { margin-bottom: 18px; }
.platform ol, .plain { margin-left: 18px; font-size: 13px; font-weight: 300; line-height: 1.72; color: rgba(255,255,255,0.78); }
.platform li, .plain li { margin-bottom: 6px; }
strong { color: #fff; font-weight: 500; }
.note { font-size: 12px; line-height: 1.7; color: rgba(255,255,255,0.6); margin-top: 18px; }
.checks { list-style: none; border-top: 1px solid rgba(255,255,255,0.1); }
.checks li { border-bottom: 1px solid rgba(255,255,255,0.1); }
.checks label { display: flex; gap: 16px; align-items: flex-start; padding: 16px 2px; cursor: pointer; }
.checks input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.box { flex: 0 0 16px; height: 16px; margin-top: 3px; border: 1px solid rgba(255,255,255,0.4); position: relative; }
.checks input:focus-visible + .box { outline: 2px solid var(--red); outline-offset: 2px; }
.checks input:checked + .box { background: var(--red); border-color: var(--red); }
.checks input:checked + .box::after { content: ""; position: absolute; left: 4px; top: 0; width: 5px; height: 10px; border: solid #fff; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.t { font-size: 13px; font-weight: 300; line-height: 1.65; color: rgba(255,255,255,0.72); }
.t b { display: block; color: #fff; font-weight: 500; font-size: 14px; margin-bottom: 2px; }
.checks input:checked ~ .t { opacity: 0.45; }
.progress { margin-top: 18px; font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.progress #done { color: var(--red); }
.report { border: 1px solid rgba(255,255,255,0.12); }
.report-item { padding: 22px 28px; }
.report-item + .report-item { border-top: 1px solid rgba(255,255,255,0.12); }
.report-label { font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.report p { font-size: 13px; font-weight: 300; line-height: 1.72; color: rgba(255,255,255,0.72); }

/* ── RESPONSIVE (homepage breakpoints) ── */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-left { border-right: 0; padding: 60px 32px 24px; }
  .hero-right { padding: 24px 32px 72px; }
  .content { padding: 0 32px 80px; }
  .page-bg::after { background: linear-gradient(to bottom, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.86) 45%, rgba(0,0,0,0.92) 100%); }
  header { padding: 24px 28px; }
  footer { padding: 18px 28px; }
}
@media (max-width: 540px) {
  header { padding: 20px; }
  .hero-left { padding: 48px 20px 20px; }
  .hero-right { padding: 20px 20px 64px; }
  .content { padding: 0 20px 64px; }
  .platforms { grid-template-columns: 1fr; }
  .platform + .platform { border-left: 0; border-top: 1px solid rgba(255,255,255,0.12); }
  .platform, .report-item { padding: 22px 20px; }
  footer { padding: 18px 20px; flex-wrap: wrap; }
}
