/* =========================================
   Tokens
   ========================================= */
:root {
  --red:        #C8102E;
  --red-dark:   #8B0A14;
  --slate:      #485267;
  --ink:        #0f172a;
  --ink-mid:    #1e293b;
  --ink-border: #334155;
  --white:      #ffffff;
  --gray-50:    #f8fafc;
  --gray-100:   #f1f5f9;
  --gray-200:   #e2e8f0;
  --gray-400:   #94a3b8;
  --gray-500:   #64748b;
  --gray-600:   #475569;
  --gray-700:   #334155;
  --gray-900:   #0f172a;
}

/* =========================================
   Base
   ========================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--white);
  color: var(--slate);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* =========================================
   Layout
   ========================================= */
.container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* =========================================
   Header
   ========================================= */
.site-header {
  background: var(--ink);
  padding: 1.25rem 0;
}

.logo img {
  display: block;
  height: 36px;
  width: auto;
}

/* =========================================
   Hero
   ========================================= */
.hero {
  background:
    radial-gradient(circle, rgba(148, 163, 184, 0.065) 1px, transparent 1px) 0 0 / 28px 28px,
    radial-gradient(ellipse 120% 70% at 55% 0%, #162236 0%, #070f1e 55%),
    #070f1e;
  padding: 5rem 0 5.5rem;
  position: relative;
  overflow: clip;
}

/* =========================================
   Buttons
   ========================================= */
.btn {
  display: inline-block;
  padding: 0.9375rem 2rem;
  background: var(--red);
  color: var(--white);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
  -webkit-appearance: none;
  letter-spacing: 0.01em;
}

.btn:hover {
  background: #a50d26;
}

.btn:active {
  background: var(--red-dark);
}

.btn--full {
  display: block;
  width: 100%;
  text-align: center;
  padding-top: 1.0625rem;
  padding-bottom: 1.0625rem;
}

/* =========================================
   Contrast Section
   ========================================= */
.contrast-strip {
  background: var(--ink-mid);
  border-top: 3px solid var(--red);
  padding: 5rem 0;
}

.contrast-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.contrast-col {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 2rem 2.25rem;
}

.contrast-col h3 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-500);
  margin-bottom: 1rem;
}

.contrast-col p {
  font-size: 1.0625rem;
  color: var(--gray-400);
  line-height: 1.7;
}

.contrast-col--here {
  border: 1px solid rgba(200, 16, 46, 0.3);
  border-top: 3px solid var(--red);
  background: rgba(200, 16, 46, 0.05);
}

.contrast-col--here h3 {
  color: var(--red);
}

.contrast-col--here p {
  color: #f1f5f9;
}

/* =========================================
   Content Sections
   ========================================= */
.section {
  padding: 4.5rem 0;
}

.section--tinted {
  background: var(--gray-50);
}

.section h2 {
  font-size: clamp(1.25rem, 2.75vw, 1.625rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 2rem;
  padding-bottom: 0;
  position: relative;
}

.section h2::after {
  content: '';
  display: block;
  width: 2rem;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
  margin-top: 0.75rem;
}

/* =========================================
   Feature List
   ========================================= */
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-list li {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.feature-list li::before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%23C8102E'/%3E%3Cpath d='M6 10.5l3 3 5-6' stroke='white' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* =========================================
   Body text blocks
   ========================================= */
.body-text p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.75;
}

.body-text p + p {
  margin-top: 1rem;
}

/* =========================================
   How It Works
   ========================================= */
.steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.steps li {
  display: flex;
  gap: 1.125rem;
  align-items: flex-start;
  position: relative;
}

.steps li:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 13px;
  top: 29px;
  height: 1.5rem;
  width: 2px;
  background: var(--gray-200);
  border-radius: 1px;
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.step-text {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.65;
  padding-top: 4px;
}

/* =========================================
   Form
   ========================================= */
.form-note {
  font-size: 0.9375rem;
  color: var(--gray-500);
  margin-bottom: 2rem;
}

.form-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 12px;
  padding: 2rem 2rem 1.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.05);
}

.form-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
}

label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #334155;
  margin-bottom: 0.4375rem;
}

.optional {
  font-weight: 400;
  color: var(--gray-400);
}

input[type="text"],
input[type="email"],
input[type="url"] {
  width: 100%;
  padding: 0.6875rem 0.875rem;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  -webkit-appearance: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.08);
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="url"]::placeholder {
  color: var(--gray-400);
}

.radio-group {
  display: flex;
  gap: 1.5rem;
  padding-top: 0.3125rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--gray-600);
  cursor: pointer;
  margin-bottom: 0;
}

input[type="radio"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: var(--red);
}

.fine-print {
  margin-top: 1.5rem;
  font-size: 0.8125rem;
  color: var(--gray-600);
  line-height: 1.65;
  padding-left: 0.875rem;
  border-left: 2px solid var(--gray-200);
}

.form-success {
  padding: 1.5rem;
  background: #f0fdf4;
  border: 1.5px solid #bbf7d0;
  border-radius: 8px;
  font-size: 0.9375rem;
  color: #15803d;
  line-height: 1.6;
}

/* =========================================
   Trust Footer
   ========================================= */
.trust-footer {
  background: var(--ink);
  padding: 2rem 0;
}

.trust-items {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0 2.5rem;
  justify-content: center;
  align-items: center;
}

.trust-items li {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-400);
  position: relative;
}

.trust-items li + li::before {
  content: '·';
  position: absolute;
  left: -1.375rem;
  color: var(--ink-border);
  font-weight: 400;
}

/* =========================================
   Desktop layout enhancements
   ========================================= */
@media (min-width: 640px) {
  /* Header: centered, slightly larger logo */
  .site-header .container {
    display: flex;
    justify-content: center;
  }

  .logo img {
    height: 44px;
  }

  /* Feature list: 2-column grid */
  .feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.875rem 3.5rem;
  }

  /* Steps: horizontal timeline */
  .steps {
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
  }

  .steps li {
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-right: 2rem;
  }

  .steps li:last-child {
    padding-right: 0;
  }

  .step-text {
    padding-top: 0;
    margin-top: 1rem;
    font-size: 0.875rem;
  }

  /* Horizontal connector line between steps */
  .steps li:not(:last-child)::after {
    top: 13px;
    left: 28px;
    right: 0;
    height: 2px;
    width: auto;
  }

  /* Form section: centered, capped width */
  .form-section-inner {
    max-width: 620px;
    margin: 0 auto;
  }

  /* Who Runs It: heading left, content right */
  .prose-grid {
    display: grid;
    grid-template-columns: 10rem 1fr;
    gap: 0 4rem;
    align-items: start;
  }

  .prose-grid > h2 {
    margin-bottom: 0;
  }

}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 600px) {
  .hero {
    padding: 3rem 0 3.5rem;
  }

  .contrast-strip {
    padding: 3rem 0;
  }

  .contrast-cols {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .section {
    padding: 3rem 0;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .trust-items {
    flex-direction: column;
    gap: 0.625rem;
    text-align: center;
  }

  .trust-items li + li::before {
    display: none;
  }
}
