/* ============================
   Relay — Stylesheet
   Dark industrial theme
   DM Serif Display + DM Sans
   ============================ */

/* ============================
   Reset & Core
   ============================ */

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

:root {
  /* Colors */
  --bg: #0c0b09;
  --bg-surface: #171512;
  --bg-surface-2: #1f1d19;
  --accent: #e8a020;
  --accent-muted: rgba(232, 160, 32, 0.12);
  --accent-border: rgba(232, 160, 32, 0.3);
  --text: #f0ede8;
  --text-muted: rgba(240, 237, 232, 0.5);
  --text-faint: rgba(240, 237, 232, 0.25);
  --border: rgba(240, 237, 232, 0.08);
  --border-strong: rgba(240, 237, 232, 0.14);
  --ko-orange: #e8601c;

  /* Fonts */
  --font-display: "DM Serif Display", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;

  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-full: 100px;

  /* Transitions */
  --transition: 0.2s ease-in-out;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ============================
   Typography
   ============================ */

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
}

h1 em {
  font-style: italic;
  color: var(--accent);
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 400;
}

h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
}

p {
  line-height: 1.7;
}

/* ============================
   Shared Patterns
   ============================ */

.section-tag {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 500px;
  margin-top: 0.5rem;
  margin-bottom: 2.5rem;
}

/* ============================
   Buttons
   ============================ */

button {
  font-family: var(--font-body);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: #0c0b09;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
}

.btn-primary:hover {
  background: #f0b030;
  transform: translateY(-1px);
}

.btn-primary:focus {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn-link {
  font-size: 0.875rem;
  font-family: var(--font-body);
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

.btn-link:hover {
  color: var(--text);
}

.nav-cta {
  background: var(--accent);
  color: #0c0b09;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
}

.nav-cta:hover {
  background: #f0b030;
  transform: translateY(-1px);
}

.nav-cta:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ============================
   Navigation
   ============================ */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.125rem 2.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.nav-logo {
  display: flex;
  align-items: baseline;
  gap: 0.625rem;
  text-decoration: none;
}

.nav-logo-relay {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.01em;
  text-decoration: none;
}

.nav-logo-relay:hover {
  color: var(--text);
  opacity: 0.85;
}

.nav-logo-by {
  font-size: 0.75rem;
  color: var(--text-faint);
  font-family: var(--font-body);
}

.nav-logo-ko {
  color: var(--ko-orange);
  text-decoration: none;
  transition: opacity var(--transition);
}

.nav-logo-ko:hover {
  opacity: 0.8;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.nav-link:hover {
  color: var(--text);
}

.nav-link:focus {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

/* CTA shown inside the mobile dropdown only */
.nav-menu-cta {
  display: none;
}

/* Hamburger toggle — hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 1.25rem;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Animate to an X when open */
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================
   Hero
   ============================ */

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 2.5rem 3.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-muted);
  color: var(--accent);
  font-size: 0.6875rem;
  font-weight: 600;
  font-family: var(--font-body);
  padding: 0.3125rem 0.875rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  letter-spacing: 0.75px;
  text-transform: uppercase;
  border: 1px solid var(--accent-border);
}

.hero-eyebrow-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.hero h1 {
  margin-bottom: 1.25rem;
  color: var(--text);
}

.hero-sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 430px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* ============================
   SMS Phone Mockup
   ============================ */

.hero-phone {
  position: relative;
}

.phone-shell {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-strong);
  border-radius: 2rem;
  padding: 1rem;
  max-width: 300px;
  margin: 0 auto;
  box-shadow:
    0 0 0 6px rgba(240, 237, 232, 0.03),
    0 32px 64px rgba(0, 0, 0, 0.5);
}

.phone-notch {
  width: 5rem;
  height: 0.375rem;
  background: var(--bg-surface-2);
  border-radius: var(--radius-full);
  margin: 0 auto 0.875rem;
}

.phone-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.25rem 0.75rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.875rem;
}

.phone-carrier {
  font-size: 0.6875rem;
  color: var(--text-faint);
  font-family: var(--font-body);
}

.phone-contact {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  font-family: var(--font-body);
}

.phone-time {
  font-size: 0.6875rem;
  color: var(--text-faint);
  font-family: var(--font-body);
}

.phone-body {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding: 0 0.25rem 0.25rem;
  min-height: 260px;
}

/* Missed call indicator */
.missed-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  font-size: 0.6875rem;
  color: rgba(239, 68, 68, 0.8);
  font-family: var(--font-body);
  font-weight: 500;
  opacity: 0;
  animation: bubble-in 0.4s ease forwards;
  animation-delay: 0.4s;
}

/* SMS bubbles */
.sms-msg {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  opacity: 0;
  animation: bubble-in 0.4s ease forwards;
}

.sms-out {
  align-items: flex-end;
}

.sms-in {
  align-items: flex-start;
}

.sms-bubble {
  font-size: 0.75rem;
  line-height: 1.45;
  padding: 0.5rem 0.75rem;
  border-radius: 1rem;
  max-width: 85%;
  font-family: var(--font-body);
}

.sms-out .sms-bubble {
  background: var(--accent);
  color: #0c0b09;
  border-bottom-right-radius: 0.25rem;
}

.sms-in .sms-bubble {
  background: var(--bg-surface-2);
  color: var(--text);
  border: 1px solid var(--border);
  border-bottom-left-radius: 0.25rem;
}

.sms-time {
  font-size: 0.5625rem;
  color: var(--text-faint);
  font-family: var(--font-body);
  padding: 0 0.25rem;
}

/* Booking confirmation */
.sms-confirm {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  font-size: 0.6875rem;
  color: #4ade80;
  font-family: var(--font-body);
  font-weight: 600;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.2);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  margin-top: 0.25rem;
  opacity: 0;
  animation: bubble-in 0.4s ease forwards;
  animation-delay: 5.1s;
}

/* Animation delays — each message appears in sequence */
.sms-msg--1 { animation-delay: 0.9s; }
.sms-msg--2 { animation-delay: 2.0s; }
.sms-msg--3 { animation-delay: 3.1s; }
.sms-msg--4 { animation-delay: 4.2s; }
.sms-msg--5 { animation-delay: 5.1s; }

@keyframes bubble-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.phone-caption {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-faint);
  font-family: var(--font-body);
  margin-top: 1rem;
  font-style: normal;
}

/* ============================
   Problem Section
   ============================ */

.problem {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4rem 2.5rem;
}

.problem-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.problem h2 {
  max-width: 640px;
  margin-bottom: 3rem;
  color: var(--text);
}

.problem-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  border-left: 3px solid var(--accent);
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.75rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  font-family: var(--font-body);
}

/* ============================
   How It Works
   ============================ */

.how {
  padding: 4rem 2.5rem;
}

.how-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.how h2 {
  color: var(--text);
  margin-bottom: 0.25rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 0.5rem;
}

.step {
  position: relative;
  padding-top: 1rem;
}

.step::before {
  content: "";
  display: block;
  width: 2px;
  height: 2.5rem;
  background: var(--accent);
  margin-bottom: 1rem;
  opacity: 0.6;
}

.step-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 400;
  color: var(--text-faint);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.step h3 {
  color: var(--text);
  margin-bottom: 0.625rem;
  font-size: 1.0625rem;
}

.step p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-family: var(--font-body);
}

/* ============================
   What's Included
   ============================ */

.included {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4rem 2.5rem;
}

.included-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.included h2 {
  color: var(--text);
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.included-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color var(--transition);
}

.included-card:hover {
  border-color: var(--accent-border);
}

.included-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--accent-muted);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1rem;
}

.included-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.included-card h3 {
  color: var(--text);
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
}

.included-card p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-family: var(--font-body);
}

/* ============================
   CTA Section
   ============================ */

.cta-section {
  padding: 4rem 2.5rem;
  text-align: center;
}

.cta-box {
  background: var(--accent);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  max-width: 760px;
  margin: 0 auto;
}

.cta-box h2 {
  color: #0c0b09;
  margin-bottom: 1rem;
}

.cta-box p {
  font-size: 1.0625rem;
  color: rgba(12, 11, 9, 0.72);
  margin-bottom: 2rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  font-family: var(--font-body);
}

.cta-submit {
  background: #0c0b09;
  color: var(--accent);
  border: none;
  border-radius: var(--radius-md);
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all var(--transition);
}

.cta-submit:hover {
  background: #1f1d19;
  transform: translateY(-1px);
}

.cta-submit:focus {
  outline: 2px solid #0c0b09;
  outline-offset: 3px;
}

/* ============================
   Footer
   ============================ */

.footer {
  border-top: 1px solid var(--border);
  padding: 1.75rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-brand {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.footer-relay {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--text);
}

.footer-by {
  font-size: 0.75rem;
  color: var(--text-faint);
  font-family: var(--font-body);
}

.footer-ko-link {
  color: var(--ko-orange);
  transition: opacity var(--transition);
}

.footer-ko-link:hover {
  opacity: 0.8;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-faint);
  font-family: var(--font-body);
}

/* ============================
   Modal
   ============================ */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12, 11, 9, 0.85);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

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

.modal-overlay.is-open {
  opacity: 1;
}

.modal {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  width: 100%;
  max-width: 460px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(16px);
  transition: transform 0.2s ease-in-out;
}

.modal-overlay.is-open .modal {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 2rem;
  height: 2rem;
  background: var(--bg-surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  padding: 0;
  cursor: pointer;
  transition: all var(--transition);
}

.modal-close:hover {
  background: var(--accent-muted);
  color: var(--accent);
  border-color: var(--accent-border);
  transform: none;
}

.modal-close:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.modal h2 {
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 0.375rem;
  padding-right: 2.5rem;
}

.modal-sub {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-family: var(--font-body);
}

.modal form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.modal-field label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  font-family: var(--font-body);
}

.field-optional {
  font-weight: 400;
  color: var(--text-muted);
}

.modal-field input,
.modal-field textarea {
  width: 100%;
  padding: 0.6875rem 0.875rem;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.modal-field input::placeholder {
  color: var(--text-faint);
}

.modal-field textarea::placeholder {
  color: var(--text-faint);
}

.modal-field input:focus,
.modal-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-muted);
}

.modal-field input[aria-invalid="true"] {
  border-color: #f87171;
}

.modal-field .field-error-msg {
  font-size: 0.8125rem;
  color: #f87171;
  font-family: var(--font-body);
}

.modal-submit {
  width: 100%;
  background: var(--accent);
  color: #0c0b09;
  border: none;
  border-radius: var(--radius-md);
  padding: 0.875rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-body);
  margin-top: 0.25rem;
  cursor: pointer;
  transition: all var(--transition);
}

.modal-submit:hover {
  background: #f0b030;
  transform: translateY(-1px);
}

.modal-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.modal-submit:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.modal-microcopy {
  font-size: 0.8125rem;
  color: var(--text-faint);
  text-align: center;
  font-family: var(--font-body);
}

.form-submission-error {
  font-size: 0.8125rem;
  color: #f87171;
  text-align: center;
  font-family: var(--font-body);
}

.modal-success {
  text-align: center;
  padding: 1.5rem 0 0.5rem;
}

.modal-success-icon {
  width: 3rem;
  height: 3rem;
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.3);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin: 0 auto 1rem;
  color: #4ade80;
}

.modal-success h3 {
  color: var(--text);
  margin-bottom: 0.5rem;
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
}

.modal-success p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-family: var(--font-body);
}

/* ============================
   Custom Lead Qualification
   ============================ */

.qualify {
  border-top: 1px solid var(--border);
  padding: 4rem 2.5rem;
}

.qualify-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.qualify-copy h2 {
  color: var(--text);
  margin-bottom: 0.25rem;
}

.qualify-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.qualify-point {
  padding-left: 1.25rem;
  border-left: 2px solid var(--accent-border);
}

.qualify-point h3 {
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 0.375rem;
}

.qualify-point p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-family: var(--font-body);
}

/* Lead summary card */
.qualify-visual {
  margin: 0;
}

.lead-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  max-width: 380px;
  margin: 0 auto;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

.lead-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.lead-card-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lead-badge {
  font-size: 0.625rem;
  font-weight: 600;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.1875rem 0.5rem;
  border-radius: var(--radius-full);
}

.lead-badge--urgent {
  color: #f87171;
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.25);
}

.lead-fields {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin: 0;
}

.lead-field {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.75rem;
  align-items: baseline;
}

.lead-field dt {
  font-size: 0.75rem;
  color: var(--text-faint);
  font-family: var(--font-body);
  font-weight: 500;
}

.lead-field dd {
  font-size: 0.8125rem;
  color: var(--text);
  font-family: var(--font-body);
  margin: 0;
  line-height: 1.45;
}

/* Custom (configurable) fields get a subtle accent marker */
.lead-field--custom dt {
  position: relative;
  color: var(--accent);
}

.lead-field--custom dt::before {
  content: "";
  position: absolute;
  left: -0.75rem;
  top: 0.4rem;
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 50%;
  background: var(--accent);
}

.lead-card-foot {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.6875rem;
  color: #4ade80;
  font-family: var(--font-body);
  font-weight: 600;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.2);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  margin-top: 1.25rem;
}

.qualify-caption {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  max-width: 380px;
  margin: 1rem auto 0;
  font-size: 0.75rem;
  color: var(--text-faint);
  font-family: var(--font-body);
  line-height: 1.5;
}

.qualify-caption-dot {
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 0.45rem;
}

/* ============================
   FAQ
   ============================ */

.faq {
  padding: 4rem 2.5rem;
}

.faq-inner {
  max-width: 760px;
  margin: 0 auto;
}

.faq h2 {
  color: var(--text);
  margin-bottom: 0.25rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition);
}

.faq-item[open] {
  border-color: var(--accent-border);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 1.375rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
  border-radius: var(--radius-md);
}

.faq-q {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.4;
}

.faq-icon {
  position: relative;
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--accent);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* Horizontal bar of the plus */
.faq-icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

/* Vertical bar of the plus — collapses to make a minus when open */
.faq-icon::after {
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.faq-item[open] .faq-icon::after {
  transform: translateX(-50%) scaleY(0);
  opacity: 0;
}

.faq-a {
  padding: 0 1.375rem 1.25rem;
}

.faq-a p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-family: var(--font-body);
}

.faq-a a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-a a:hover {
  color: #f0b030;
}

/* ============================
   Responsive
   ============================ */

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

@media (max-width: 768px) {
  .nav {
    padding: 1rem 1.5rem;
    position: relative;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-cta-desktop {
    display: none;
  }

  /* Dropdown panel */
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.5rem 1rem;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    z-index: 50;
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-link {
    display: block;
    padding: 0.875rem 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-menu-cta {
    display: block;
    margin-top: 1rem;
  }

  .nav-menu-cta .nav-cta {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.75rem 1.25rem;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 2.5rem 1.5rem 2rem;
    gap: 2.5rem;
  }

  .phone-shell {
    max-width: 260px;
  }

  .problem {
    padding: 3rem 1.5rem;
  }

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

  .how {
    padding: 3rem 1.5rem;
  }

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

  .qualify {
    padding: 3rem 1.5rem;
  }

  .qualify-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .qualify-visual {
    order: -1;
  }

  .included {
    padding: 3rem 1.5rem;
  }

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

  .faq {
    padding: 3rem 1.5rem;
  }

  .cta-section {
    padding: 3rem 1.5rem;
  }

  .cta-box {
    padding: 2.5rem 1.75rem;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 2rem 1rem 1.5rem;
  }

  .hero h1 {
    font-size: 1.875rem;
  }

  .problem {
    padding: 2.5rem 1rem;
  }

  .how {
    padding: 2.5rem 1rem;
  }

  .included {
    padding: 2.5rem 1rem;
  }

  .qualify {
    padding: 2.5rem 1rem;
  }

  .lead-field {
    grid-template-columns: 6.5rem 1fr;
    gap: 0.5rem;
  }

  .faq {
    padding: 2.5rem 1rem;
  }

  .faq-item summary {
    padding: 1rem 1.125rem;
  }

  .faq-a {
    padding: 0 1.125rem 1.125rem;
  }

  .cta-section {
    padding: 2.5rem 1rem;
  }

  .cta-box {
    padding: 2rem 1.25rem;
  }

  .footer {
    padding: 1.25rem 1rem;
  }

  .modal-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .modal {
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    max-width: 100%;
    max-height: 88vh;
    padding: 2rem 1.25rem 2.5rem;
  }
}

/* ============================
   ROI Math Section
   ============================ */

.roi {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4rem 2.5rem;
}

.roi-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.roi h2 {
  color: var(--text);
  max-width: 620px;
}

.roi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  margin-top: 1.5rem;
}

.roi-copy p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
  font-family: var(--font-body);
  max-width: 460px;
}

.roi-copy p:last-child {
  margin-bottom: 0;
}

.roi-copy strong {
  color: var(--text);
  font-weight: 600;
}

/* Receipt-style math card */
.roi-receipt {
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  max-width: 400px;
  margin: 0 auto;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

.roi-receipt-title {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-faint);
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
}

.roi-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px dashed var(--border);
}

.roi-line-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-family: var(--font-body);
}

.roi-line-value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text);
  white-space: nowrap;
}

.roi-line--total {
  border-bottom: none;
  border-top: 2px solid var(--accent-border);
  margin-top: 0.5rem;
  padding-top: 1rem;
}

.roi-line--total .roi-line-label {
  color: var(--text);
  font-weight: 600;
}

.roi-line--total .roi-line-value {
  color: var(--accent);
  font-size: 1.75rem;
}

.roi-receipt-note {
  font-size: 0.75rem;
  color: var(--text-faint);
  font-family: var(--font-body);
  line-height: 1.5;
  margin-top: 1rem;
}

/* ============================
   Launch Offer Band
   ============================ */

.launch {
  padding: 4rem 2.5rem;
}

.launch-box {
  max-width: 880px;
  margin: 0 auto;
  background:
    radial-gradient(
      circle at top right,
      rgba(232, 160, 32, 0.1),
      transparent 60%
    ),
    var(--bg-surface);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-xl);
  padding: 3rem;
}

.launch-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-muted);
  color: var(--accent);
  font-size: 0.6875rem;
  font-weight: 600;
  font-family: var(--font-body);
  padding: 0.3125rem 0.875rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.75px;
  text-transform: uppercase;
  border: 1px solid var(--accent-border);
  margin-bottom: 1.25rem;
}

.launch-box h2 {
  color: var(--text);
  margin-bottom: 0.75rem;
}

.launch-lede {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 2rem;
  font-family: var(--font-body);
}

.launch-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.5rem;
  margin-bottom: 2rem;
}

.launch-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
}

.launch-check {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--accent);
  margin-top: 0.05rem;
}

.launch-item-text {
  font-size: 0.9375rem;
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.45;
}

.launch-item-text strong {
  font-weight: 600;
}

.launch-item-text span {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.125rem;
}

.launch-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.launch-scarcity {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-family: var(--font-body);
}

.launch-scarcity strong {
  color: var(--accent);
  font-weight: 600;
}

.launch-trade {
  font-size: 0.8125rem;
  color: var(--text-faint);
  font-family: var(--font-body);
  line-height: 1.6;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

/* ============================
   Demo Band (embedded interactive text simulator)
   ============================ */

.demo {
  border-top: 1px solid var(--border);
  padding: 4rem 2.5rem;
  text-align: center;
}

.demo-inner {
  max-width: 640px;
  margin: 0 auto;
}

.demo h2 {
  color: var(--text);
  margin-bottom: 0.75rem;
}

.demo p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  font-family: var(--font-body);
}

.demo-loom {
  margin-top: 2rem;
  aspect-ratio: 16 / 9;
  width: 100%;
  background: var(--bg-surface);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
  font-size: 0.875rem;
  font-family: var(--font-body);
}

/* Embedded interactive simulator (demo.relay.kaizenoperations.ca). Taller than a
   16:9 video since it's a phone + activity panel; capped so it stays on-screen. */
.demo-sim {
  margin-top: 2rem;
  width: 100%;
}
.demo-sim-frame {
  width: 100%;
  height: min(720px, 85vh);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  display: block;
}

/* ============================
   Proof / Case Studies
   ============================ */

.proof {
  border-top: 1px solid var(--border);
  padding: 4rem 2.5rem;
}

.proof-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.proof h2 {
  color: var(--text);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.proof-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.proof-quote {
  font-family: var(--font-display);
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.proof-attr {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-family: var(--font-body);
}

.proof-stat {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .roi {
    padding: 3rem 1.5rem;
  }

  .roi-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .launch {
    padding: 3rem 1.5rem;
  }

  .launch-box {
    padding: 2rem 1.5rem;
  }

  .launch-list {
    grid-template-columns: 1fr;
  }

  .demo {
    padding: 3rem 1.5rem;
  }

  .proof {
    padding: 3rem 1.5rem;
  }

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

/* Cookie consent banner */
.ko-consent {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  z-index: 1000;
  width: calc(100% - 2rem);
  max-width: 640px;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 1.25rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

.ko-consent__text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.ko-consent__link {
  color: var(--accent);
  text-decoration: underline;
}

.ko-consent__link:hover {
  filter: brightness(1.08);
}

.ko-consent__actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.ko-consent__btn {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.ko-consent__btn--solid {
  background: var(--accent);
  color: var(--bg);
}

.ko-consent__btn--solid:hover {
  filter: brightness(1.08);
}

.ko-consent__btn--ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border-strong);
}

.ko-consent__btn--ghost:hover {
  border-color: var(--text-muted);
  color: var(--text);
}

@media (max-width: 560px) {
  .ko-consent {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .ko-consent__actions {
    justify-content: flex-end;
  }
}
