:root {
  --bg: #0B0B0C;
  --bg-2: #111112;
  --ink: #E8E8E8;
  --ink-white: #FFFFFF;
  --muted: #8A8A8D;
  --accent: #FF4500;
  --accent-dim: #cc3700;
  --line: rgba(255, 255, 255, 0.08);
  --card: rgba(255, 255, 255, 0.02);
  --font: "Reddit Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Busted-wall texture: inline SVG impact cracks, off to the right, under the glow.
   Radial mask fades them out over the headline / subhead / form so text wins. */
.cracks {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.09;
  -webkit-mask-image: radial-gradient(ellipse 68% 74% at 78% 26%, #000 0%, #000 32%, rgba(0, 0, 0, 0) 70%);
  mask-image: radial-gradient(ellipse 68% 74% at 78% 26%, #000 0%, #000 32%, rgba(0, 0, 0, 0) 70%);
}
.cracks svg { width: 100%; height: 100%; display: block; }
.cracks .crk-r { stroke-width: 1.1; }
.cracks .crk-w { stroke: #b7b7c0; stroke-width: 0.8; }

/* Restrained radial glow behind the hero — underground, not neon */
.glow {
  position: fixed;
  top: -18vh;
  left: 50%;
  transform: translateX(-50%);
  width: min(120vw, 900px);
  height: 700px;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 69, 0, 0.16) 0%,
    rgba(255, 69, 0, 0.06) 32%,
    rgba(255, 69, 0, 0) 68%
  );
  pointer-events: none;
  z-index: 0;
  filter: blur(6px);
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  padding: 28px 22px 56px;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12vh;
}
.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(255, 69, 0, 0.7);
}
.brand-name {
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.15rem;
  color: var(--ink-white);
}

/* Hero */
.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin: 0 0 18px;
}
h1 {
  font-size: clamp(2.1rem, 8vw, 3.9rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
  font-weight: 900;
  color: var(--ink-white);
  margin: 0 0 20px;
  text-wrap: balance;
}
.h1-line2 { color: var(--accent); }
.subhead {
  font-size: clamp(1.05rem, 3.6vw, 1.28rem);
  color: var(--muted);
  max-width: 34ch;
  margin: 0 0 34px;
}

/* Form */
.signup { margin: 0 0 8px; }
.hp { position: absolute; left: -9999px; }
.field {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.field input[type="email"] {
  flex: 1 1 240px;
  min-width: 0;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: inherit;
  font-size: 1.05rem;
  padding: 15px 16px;
  border-radius: 12px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input[type="email"]::placeholder { color: #5a5a5d; }
.field input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 69, 0, 0.18);
}
.field input.invalid {
  border-color: #e5484d;
  box-shadow: 0 0 0 3px rgba(229, 72, 77, 0.16);
}
.field button {
  flex: 0 0 auto;
  background: var(--accent);
  color: #1a0800;
  font-family: inherit;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  border: none;
  padding: 15px 24px;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.08s ease, background 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 6px 22px rgba(255, 69, 0, 0.28);
}
.field button:hover { background: #ff5a1f; }
.field button:active { transform: translateY(1px); }
.field button:disabled { opacity: 0.65; cursor: default; }

.form-msg {
  min-height: 1.1em;
  margin: 12px 2px 0;
  font-size: 0.92rem;
  color: #e5484d;
}

/* Success */
.success {
  border: 1px solid rgba(255, 69, 0, 0.35);
  background: linear-gradient(180deg, rgba(255, 69, 0, 0.08), rgba(255, 69, 0, 0.02));
  border-radius: 14px;
  padding: 22px 20px;
  animation: pop 0.35s ease;
}
.success-title {
  margin: 0 0 4px;
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--ink-white);
  letter-spacing: -0.02em;
}
.success-sub { margin: 0; color: var(--muted); }
@keyframes pop {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Manifesto — prose block replacing the value-prop cards.
   Readable measure (~60-70 chars/line via max-width 34em), left-aligned,
   muted body with a white heading. No boxes, borders, or accent bars. */
.manifesto {
  margin-top: 6vh;
  max-width: 34em;
}
.manifesto h2 {
  font-size: clamp(1.5rem, 5vw, 1.9rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink-white);
  margin: 0 0 16px;
}
.manifesto p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}
.manifesto p:last-child { margin: 0; }
.manifesto p.kicker {
  margin-top: 24px;
  color: var(--ink-white);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

/* Footer */
.foot {
  margin-top: 6vh;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.tagline {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.copy { margin: 0; color: #5a5a5d; font-size: 0.85rem; }

/* Larger screens */
@media (min-width: 720px) {
  .brand { margin-bottom: 14vh; }
}

@media (prefers-reduced-motion: reduce) {
  .success { animation: none; }
  * { scroll-behavior: auto; }
}
