:root {
  --bg: #0b0b0c;
  --surface: #141415;
  --text: #f4f4f1;
  --muted: rgba(244, 244, 241, 0.62);
  --lime: #c6ff3d;
  --display: 'Space Grotesk', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --body: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

/* Viewfinder grid with a soft lime glow behind the hero; fades out before the features. */
body::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: min(1100px, 140vh);
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(45% 40% at 50% 30%, rgba(198, 255, 61, 0.13), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px) center top / 56px 56px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) center top / 56px 56px;
  -webkit-mask-image: radial-gradient(75% 65% at 50% 28%, #000 35%, transparent 100%);
  mask-image: radial-gradient(75% 65% at 50% 28%, #000 35%, transparent 100%);
}

.accent {
  color: var(--lime);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(32px, 8vh, 80px) clamp(20px, 5vw, 48px);
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: clamp(28px, 6vh, 48px);
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
}

.brand img {
  border-radius: 10px;
}

h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(34px, 8.5vw, 72px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.lede {
  max-width: 520px;
  margin: 24px auto 34px;
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.55;
  color: var(--muted);
}

form {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto;
}

input[type='email'] {
  flex: 1;
  min-width: 0;
  height: 52px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 16px;
}

input[type='email']:focus {
  outline: none;
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(198, 255, 61, 0.2);
}

button {
  height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 12px;
  background: var(--lime);
  color: #0b0b0c;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.2s ease;
}

button:hover {
  filter: brightness(1.08);
}

button:active {
  transform: scale(0.97);
}

button:disabled {
  opacity: 0.6;
  cursor: default;
}

.honeypot {
  display: none;
}

.form-status {
  min-height: 1.5em;
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.form-status.ok {
  color: var(--lime);
}

.form-status.error {
  color: #ff6b6b;
}

.perks {
  margin: 28px 0 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.45);
}

/* Features: screenshot beside its write-up, alternating sides. */
.features {
  display: flex;
  flex-direction: column;
  gap: clamp(72px, 12vw, 140px);
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(48px, 10vh, 120px) clamp(20px, 5vw, 48px) clamp(64px, 10vh, 120px);
}

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 8vw, 110px);
}

.feature:nth-child(even) .shot {
  order: 2;
}

.shot {
  justify-self: center;
  width: min(280px, 72vw);
  padding: 12px;
  border-radius: 44px;
  background: var(--surface);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 32px;
}

.eyebrow {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--lime);
}

.feature h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.feature-copy p:last-child {
  max-width: 400px;
  margin: 16px 0 0;
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.6;
  color: var(--muted);
}

@media (max-width: 760px) {
  .feature {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .feature:nth-child(even) .shot {
    order: 0;
  }

  .feature-copy p:last-child {
    margin-inline: auto;
  }
}

.footer {
  padding: 24px 16px 32px;
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.32);
}

.footer .sep {
  margin: 0 10px;
}

.footer a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--lime);
  border-color: var(--lime);
  outline: none;
}

@media (max-width: 460px) {
  form {
    flex-direction: column;
  }

  /* Stacked: don't let flex squash the field's height. */
  input[type='email'] {
    flex: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  button {
    transition: none;
  }
}
