:root {
  /* Palette: The Kinetic Dossier */
  --bg-paper: #F4F3EF;
  --bg-card: #FFFFFF;
  --ink-main: #0A0A0A;
  --ink-muted: #555555;

  --flame-red: #FF3311;
  --electric-blue: #2B4CFF;
  --highlighter: #FFE500;

  /* Structural variables */
  --border-thick: 4px solid var(--ink-main);
  --border-thin: 2px solid var(--ink-main);
  --shadow-hard: 8px 8px 0px var(--ink-main);
  --shadow-hover: 12px 12px 0px var(--ink-main);

  /* Typography */
  --font-impact: 'Bebas Neue', Impact, sans-serif;
  --font-ui: 'Outfit', sans-serif;
}

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

body {
  background-color: var(--bg-paper);
  color: var(--ink-main);
  font-family: var(--font-ui);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  /* Subtle dot grid */
  background-image: radial-gradient(#D0D0D0 2px, transparent 2px);
  background-size: 24px 24px;
  background-position: 0 0;
}

/* Utility Classes */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.marker {
  background-color: var(--highlighter);
  padding: 0 0.2em;
  border-radius: 2px;
}

.tag {
  display: inline-block;
  font-family: var(--font-impact);
  font-size: 1.25rem;
  padding: 0.2rem 0.75rem;
  background: var(--ink-main);
  color: white;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.tag.red { background: var(--flame-red); }
.tag.blue { background: var(--electric-blue); }
.tag.tag-highlighter {
  background: var(--highlighter);
  color: var(--ink-main);
}

/* Brutalist Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: var(--flame-red);
  color: white;
  font-family: var(--font-impact);
  font-size: 1.5rem;
  letter-spacing: 1px;
  text-decoration: none;
  padding: 1rem 2rem;
  border: var(--border-thick);
  box-shadow: var(--shadow-hard);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
  text-transform: uppercase;
}

.btn:hover {
  transform: translate(-4px, -4px);
  box-shadow: var(--shadow-hover);
}

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

.btn-alt { background: var(--bg-card); color: var(--ink-main); }

button.btn {
  font-family: inherit;
  appearance: none;
}

/* Lead form modal */
body.modal-open {
  overflow: hidden;
}

.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(10, 10, 10, 0.72);
}

.lead-modal[hidden] {
  display: none;
}

.lead-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: calc(100vh - 3rem);
  overflow-y: auto;
  background: var(--bg-card);
  border: var(--border-thick);
  box-shadow: var(--shadow-hover);
  padding: 2rem 1.5rem 1.5rem;
}

.lead-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.5rem;
  height: 2.5rem;
  border: var(--border-thin);
  background: var(--bg-paper);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--ink-main);
}

.lead-modal__close:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink-main);
}

.lead-modal__title {
  font-family: var(--font-impact);
  font-size: 2.5rem;
  line-height: 0.95;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.lead-modal__intro {
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: var(--ink-muted);
}

.lead-form {
  display: grid;
  gap: 1rem;
}

.lead-form__field {
  display: grid;
  gap: 0.35rem;
}

.lead-form__field label {
  font-weight: 700;
  font-size: 0.95rem;
}

.lead-form__optional {
  font-weight: 500;
  color: var(--ink-muted);
}

.lead-form__field input,
.lead-form__field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: var(--border-thin);
  background: var(--bg-paper);
  font: inherit;
  color: var(--ink-main);
}

.lead-form__field input:focus,
.lead-form__field textarea:focus {
  outline: 3px solid var(--highlighter);
  outline-offset: 1px;
}

.lead-form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.lead-form__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 0.5rem;
}

.lead-form-status {
  min-height: 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.lead-form-status--success {
  color: var(--electric-blue);
}

.lead-form-status--error {
  color: var(--flame-red);
}

@media (min-width: 768px) {
  .lead-modal__dialog {
    padding: 2.5rem 2rem 2rem;
  }

  .lead-modal__title {
    font-size: 3rem;
  }

  .lead-form__actions {
    grid-template-columns: 1fr 1.2fr;
  }
}

/* Navigation */
header {
  padding: 1.5rem 0;
  border-bottom: var(--border-thick);
  background: var(--bg-paper);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-impact);
  font-size: 3rem;
  line-height: 0.8;
  letter-spacing: 1px;
  color: var(--ink-main);
  text-decoration: none;
}
.logo span { color: var(--flame-red); }

.header-cta { display: none; }

/* Hazard Stripe Divider */
.hazard-stripe {
  height: 24px;
  width: 100%;
  background: repeating-linear-gradient(
    -45deg,
    var(--ink-main),
    var(--ink-main) 10px,
    var(--highlighter) 10px,
    var(--highlighter) 20px
  );
  border-top: var(--border-thick);
  border-bottom: var(--border-thick);
}

/* --- Section 1: Hero --- */
.hero {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.hero h1 {
  font-family: var(--font-impact);
  font-size: 4rem;
  line-height: 0.9;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero h1 span { color: var(--electric-blue); }

.hero p {
  font-size: 1.25rem;
  font-weight: 600;
  max-width: 600px;
  margin-bottom: 2.5rem;
}

/* --- Section 2: Problem --- */
.problem {
  background: var(--ink-main);
  color: white;
  padding: 5rem 0;
  border-top: var(--border-thick);
  border-bottom: var(--border-thick);
}

.problem h2 {
  font-family: var(--font-impact);
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 2rem;
  color: var(--flame-red);
}

.problem p {
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  max-width: 700px;
  color: #DDDDDD;
}

.problem .punchline {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  margin-top: 3rem;
  padding-left: 1rem;
  border-left: 4px solid var(--flame-red);
}

/* --- Section 3: Solution (The Dossiers) --- */
.solution {
  padding: 6rem 0;
}

.solution h2 {
  font-family: var(--font-impact);
  font-size: 3.5rem;
  line-height: 1;
  margin-bottom: 1rem;
}

.solution > p {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 4rem;
}

.lens-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.dossier-card {
  background: var(--bg-card);
  border: var(--border-thick);
  box-shadow: var(--shadow-hard);
  padding: 2rem;
  position: relative;
}

.dossier-card::before {
  content: '';
  position: absolute;
  top: -15px;
  right: -15px;
  width: 50px;
  height: 50px;
  background: repeating-linear-gradient(45deg, transparent, transparent 4px, var(--ink-main) 4px, var(--ink-main) 6px);
  z-index: 0;
}

.card-content { position: relative; z-index: 1; }

.lens-list {
  list-style: none;
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
}

.lens-item {
  padding: 1rem;
  border: var(--border-thin);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.lens-item::before {
  content: '→';
  font-family: var(--font-impact);
  color: var(--flame-red);
  font-size: 1.5rem;
  line-height: 1;
}

.playbook-callout {
  margin-top: 3rem;
  background: var(--electric-blue);
  color: white;
  padding: 2rem;
  border: var(--border-thick);
  font-weight: 700;
  font-size: 1.5rem;
  transform: rotate(-1deg);
  box-shadow: var(--shadow-hard);
}

/* --- Section 4: How it works --- */
.how-it-works {
  padding: 6rem 0;
  background: var(--bg-card);
  border-top: var(--border-thick);
  border-bottom: var(--border-thick);
}

.how-it-works h2 {
  font-family: var(--font-impact);
  font-size: 3.5rem;
  line-height: 1;
  margin-bottom: 1rem;
  text-align: center;
}

.how-it-works .container > p {
  text-align: center;
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 4rem;
}

.steps-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  position: relative;
  padding-top: 1.5rem;
}

.step-card {
  background: var(--bg-paper);
  border: var(--border-thick);
  padding: 2rem;
  position: relative;
  box-shadow: 4px 4px 0px var(--ink-main);
}

.step-number {
  position: absolute;
  top: -20px;
  left: -20px;
  background: var(--highlighter);
  border: var(--border-thick);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-impact);
  font-size: 2rem;
  box-shadow: 4px 4px 0px var(--ink-main);
}

.step-title {
  font-family: var(--font-impact);
  font-size: 2rem;
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
}

.step-desc { font-weight: 500; font-size: 1.1rem; }

/* --- Section 5: Test Drive --- */
.test-drive {
  padding: 6rem 0;
}

.ticket {
  background: var(--ink-main);
  color: white;
  border: 4px solid var(--highlighter);
  padding: 3rem 2rem;
  box-shadow: 10px 10px 0px var(--highlighter);
  text-align: center;
}

.ticket h2 {
  font-family: var(--font-impact);
  font-size: 3.5rem;
  color: var(--highlighter);
  margin-bottom: 1rem;
}

.ticket p {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.ticket-list {
  list-style: none;
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.ticket-list li {
  font-size: 1.1rem;
  font-weight: 700;
  border-bottom: 2px solid var(--ink-muted);
  padding-bottom: 0.5rem;
}

/* --- Section 6: FAQ --- */
.faq {
  padding: 6rem 0;
  background: var(--bg-card);
  border-top: var(--border-thick);
}

.faq h2 {
  font-family: var(--font-impact);
  font-size: 3.5rem;
  margin-bottom: 3rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.faq-card {
  border: var(--border-thick);
  padding: 2rem;
  background: var(--bg-paper);
  box-shadow: 4px 4px 0 var(--ink-main);
  transition: transform 0.2s, box-shadow 0.2s;
}

.faq-card:hover {
  transform: translateY(-4px);
  box-shadow: 8px 8px 0 var(--ink-main);
}

.faq-card--blue {
  border-color: var(--electric-blue);
  box-shadow: 4px 4px 0 var(--electric-blue);
}

.faq-q {
  font-family: var(--font-impact);
  font-size: 2rem;
  color: var(--flame-red);
  margin-bottom: 1rem;
  line-height: 1.1;
}

.faq-q--blue { color: var(--electric-blue); }

.faq-a {
  font-size: 1.1rem;
  font-weight: 500;
}

.faq-a strong {
  font-family: var(--font-impact);
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.5rem;
  color: var(--ink-main);
}

/* --- Section 7: Final CTA --- */
.final-cta {
  padding: 8rem 0;
  text-align: center;
  background: var(--highlighter);
  border-top: var(--border-thick);
  border-bottom: var(--border-thick);
}

.final-cta h2 {
  font-family: var(--font-impact);
  font-size: 4rem;
  line-height: 0.9;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.final-cta p {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
}

/* --- Footer --- */
footer {
  padding: 3rem 0;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Media Queries (Tablet & Desktop) --- */
@media (min-width: 768px) {
  .header-cta { display: block; }

  .hero { padding: 8rem 0; }
  .hero h1 { font-size: 6rem; }
  .hero p { font-size: 1.5rem; }

  .problem h2 { font-size: 4.5rem; }
  .problem p { font-size: 1.5rem; }

  .solution h2 { font-size: 4.5rem; }

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

  .steps-container {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding-top: 0;
  }

  /* Connect the steps visually */
  .steps-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--ink-main);
    z-index: 0;
  }

  .step-card { z-index: 1; margin-top: 2rem; }

  .faq-grid { grid-template-columns: repeat(2, 1fr); }

  .final-cta h2 { font-size: 6rem; }
}
