/* ==========================================================================
   WAIVER RADAR — Landing Page
   ========================================================================== */

:root {
  --bg: #0b0b0c;
  --bg-alt: #131315;
  --paper: #f3efe4;
  --paper-dim: #e7e1d0;
  --ink: #17140f;
  --text: #f5f4f0;
  --muted: #a3a09a;
  --muted-dark: #6b6862;

  /* Brand palette (Pantone 381C / 2665C / 212C / 1495C / 7442C) */
  --lime: #cedc00;
  --lime-dim: #8f9900;
  --violet: #7d55c7;
  --violet-dim: #56399b;
  --pink: #f04e98;
  --pink-dim: #a83468;
  --orange: #ff8f1c;
  --orange-dim: #b3630f;
  --purple: #963cbd;
  --purple-dim: #672984;

  /* Legacy aliases so existing rules keep working */
  --yellow: var(--lime);
  --yellow-dim: var(--lime-dim);
  --red: var(--pink);
  --red-dim: var(--pink-dim);

  --line: rgba(245, 244, 240, 0.12);

  --font-display: "Anton", Impact, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", monospace;

  --wrap: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

a { color: inherit; text-decoration: none; }

/* Film grain overlay for texture */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 11, 12, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo.small { font-size: 15px; }

.logo-mark {
  color: var(--yellow);
  font-size: 12px;
}

.logo .accent { color: var(--red); }

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  padding: 16px 26px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--lime);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--pink);
  animation: cta-glow 2.2s ease-in-out infinite;
}

.btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--pink);
}

.btn-primary:active {
  transform: translate(0, 0);
  box-shadow: 2px 2px 0 var(--pink);
}

@keyframes cta-glow {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(206, 220, 0, 0)); }
  50% { filter: drop-shadow(0 0 14px rgba(206, 220, 0, 0.55)); }
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.btn-small {
  padding: 10px 18px;
  font-size: 12px;
}

.arrow { transition: transform 0.15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ==========================================================================
   TAPE STRIP (marquee)
   ========================================================================== */

.tape-strip {
  background: repeating-linear-gradient(
    45deg,
    var(--yellow),
    var(--yellow) 18px,
    var(--ink) 18px,
    var(--ink) 36px
  );
  color: var(--ink);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.15em;
  padding: 8px 0;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
}

.tape-strip span {
  display: inline-block;
  padding-left: 4px;
  background: var(--yellow);
  padding: 2px 10px;
  animation: marquee 28s linear infinite;
}

.tape-strip.thoughts span {
  animation-duration: 100s;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* ==========================================================================
   SECTION HEADS
   ========================================================================== */

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--red);
  margin-bottom: 14px;
}

.section-head.light .kicker { color: var(--red); }

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(28px, 4.5vw, 44px);
  line-height: 1.1;
  letter-spacing: 0.01em;
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  background:
    radial-gradient(ellipse 800px 500px at 50% -10%, rgba(125, 85, 199, 0.25), transparent),
    radial-gradient(ellipse 600px 400px at 85% 10%, rgba(240, 78, 152, 0.12), transparent),
    var(--bg);
  padding-bottom: 100px;
}

.hero-inner {
  padding-top: 84px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--yellow);
  border: 1px solid var(--yellow-dim);
  background: rgba(255, 204, 0, 0.07);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.eyebrow-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(34px, 6.4vw, 76px);
  line-height: 1.06;
  letter-spacing: 0.005em;
  max-width: 960px;
  margin-bottom: 26px;
}

.hero-headline .marked {
  position: relative;
  white-space: nowrap;
}

.hero-headline .marked::after {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: 6%;
  height: 0.34em;
  background: var(--red);
  z-index: -1;
  transform: rotate(-1deg);
  opacity: 0.85;
}

.hero-subhead {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--muted);
  max-width: 640px;
  line-height: 1.6;
  margin-bottom: 40px;
}

.hero-subhead strong { color: var(--text); font-weight: 700; }

.hero-proof {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted-dark);
  letter-spacing: 0.04em;
}

.evidence-tag {
  border: 1px dashed var(--muted-dark);
  padding: 4px 10px;
  border-radius: 3px;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.1em;
  transform: rotate(-2deg);
}

/* ==========================================================================
   FORMS
   ========================================================================== */

.signup-form {
  width: 100%;
  max-width: 520px;
}

.form-row {
  display: flex;
  gap: 10px;
  width: 100%;
}

.signup-form input[type="email"] {
  flex: 1;
  min-width: 0;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 16px 18px;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.15s ease;
}

.signup-form input[type="email"]::placeholder { color: var(--muted-dark); }

.signup-form input[type="email"]:focus {
  border-color: var(--yellow);
}

.form-note {
  font-size: 12px;
  color: var(--muted-dark);
  margin-top: 12px;
  font-family: var(--font-mono);
}

.signup-form.success .form-row { display: none; }

.signup-form .success-msg {
  display: none;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--yellow);
  border: 1px solid var(--yellow-dim);
  background: rgba(255, 204, 0, 0.08);
  padding: 16px 18px;
  border-radius: 4px;
}

.signup-form.success .success-msg { display: flex; }
.signup-form.success .form-note { display: none; }

/* Honeypot — real users never see this. Off-screen rather than
   display:none/visibility:hidden, since some bots skip fields hidden
   that way but still auto-fill anything else they find in the DOM. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ==========================================================================
   PROBLEM SECTION
   ========================================================================== */

.problem {
  background: var(--bg-alt);
  padding: 100px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.problem-card {
  background: var(--bg-alt);
  padding: 36px 28px;
  position: relative;
  transition: background 0.2s ease;
}

.problem-card:hover {
  background: rgba(224, 51, 47, 0.06);
}

.card-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 20px;
}

.problem-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 20px;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
}

.problem-card p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ==========================================================================
   PLAN SECTION
   ========================================================================== */

.plan {
  background: var(--paper);
  color: var(--ink);
  padding: 100px 0;
}

.plan .kicker { color: var(--red-dim); }

.plan-steps {
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: 1120px;
  margin: 0 auto;
}

.plan-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 14px;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  flex-shrink: 0;
}

.step-content h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 21px;
  margin-bottom: 10px;
}

.step-content p {
  color: var(--muted-dark);
  font-size: 14.5px;
  line-height: 1.6;
}

.step-connector {
  width: 60px;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--ink),
    var(--ink) 6px,
    transparent 6px,
    transparent 12px
  );
  align-self: center;
  margin-top: -78px;
  flex-shrink: 0;
}

/* ==========================================================================
   DIFFERENTIATOR
   ========================================================================== */

.differentiator {
  background:
    radial-gradient(ellipse 700px 450px at 50% 110%, rgba(150, 60, 189, 0.16), transparent),
    var(--bg);
  padding: 110px 0;
  text-align: center;
}

.diff-inner {
  max-width: 720px;
}

.diff-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #d191ea;
  border: 1px solid var(--purple-dim);
  background: rgba(150, 60, 189, 0.12);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.differentiator h2 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(28px, 4.6vw, 46px);
  line-height: 1.12;
  margin-bottom: 26px;
}

.differentiator p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 14px;
}

.differentiator p strong { color: var(--text); }

.diff-punch {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--yellow);
  font-size: 16px;
  letter-spacing: 0.02em;
  margin-top: 22px !important;
}

/* ==========================================================================
   WAITLIST / FOOTER CTA
   ========================================================================== */

.waitlist {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  position: relative;
}

.waitlist-inner {
  text-align: center;
  padding: 90px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.waitlist h2 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(30px, 5vw, 50px);
  line-height: 1.1;
  margin-bottom: 20px;
}

.waitlist-subhead {
  color: var(--muted);
  font-size: 17px;
  max-width: 540px;
  line-height: 1.6;
  margin-bottom: 40px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-inner p {
  color: var(--muted-dark);
  font-size: 12.5px;
}

/* ==========================================================================
   STICKY CTA BAR
   ========================================================================== */

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: var(--bg-alt);
  border-top: 2px solid var(--lime);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.sticky-cta.visible {
  transform: translateY(0);
}

.sticky-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 24px;
}

.sticky-cta-text {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  color: var(--text);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.sticky-form {
  max-width: 420px;
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.sticky-form .form-row { gap: 8px; }

.sticky-form input[type="email"] {
  padding: 12px 14px;
  font-size: 14px;
}

.sticky-form .btn { padding: 12px 20px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 860px) {
  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .plan-steps {
    flex-direction: column;
    gap: 40px;
  }

  .step-connector { display: none; }
}

@media (max-width: 560px) {
  .hero-inner { padding-top: 56px; }

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

  .problem, .plan, .differentiator { padding: 70px 0; }

  .waitlist-inner { padding: 70px 24px; }

  .form-row {
    flex-direction: column;
  }

  .btn-primary { width: 100%; }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-headline .marked { white-space: normal; }

  .sticky-cta-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 20px 16px;
  }

  .sticky-cta-text { text-align: center; white-space: normal; }

  .sticky-form { max-width: none; }
}
