:root {
  color-scheme: light;
  --ink: #171816;
  --muted: #5e655f;
  --paper: #f7f4ee;
  --surface: #ffffff;
  --line: #ded8cd;
  --amber: #d98b24;
  --amber-dark: #9d5514;
  --green: #2f7d5a;
  --teal: #1d6f78;
  --red: #b84a3b;
  --charcoal: #22221f;
  --shadow: 0 22px 55px rgba(23, 24, 22, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
}

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

img {
  max-width: 100%;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: #fff;
  background: linear-gradient(180deg, rgba(11, 12, 10, 0.82), rgba(11, 12, 10, 0.16));
}

.brand,
.site-nav,
.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  justify-self: start;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
}

.site-nav {
  justify-self: center;
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.86;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  opacity: 1;
}

.header-cta {
  justify-self: end;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.14);
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url("assets/drive-with-donnie-hero.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 11, 9, 0.86) 0%, rgba(10, 11, 9, 0.66) 36%, rgba(10, 11, 9, 0.24) 78%),
    linear-gradient(0deg, rgba(10, 11, 9, 0.86), rgba(10, 11, 9, 0.02) 48%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 36px));
  margin: 0 0 clamp(126px, 17vh, 190px) clamp(18px, 6vw, 76px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3.1rem, 8.8vw, 6.5rem);
}

h2 {
  max-width: 760px;
  font-size: clamp(2rem, 4.2vw, 4rem);
}

h3 {
  font-size: clamp(1.18rem, 1.8vw, 1.55rem);
}

p {
  line-height: 1.65;
}

.hero-copy {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.7vw, 1.22rem);
}

.hero-actions,
.question-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  background: var(--amber);
  color: #16120d;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.36);
}

.button.full {
  width: 100%;
}

.hero-status {
  position: absolute;
  right: clamp(18px, 4vw, 56px);
  bottom: 22px;
  left: clamp(18px, 4vw, 56px);
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(15, 16, 14, 0.56);
  backdrop-filter: blur(14px);
}

.hero-status div {
  min-height: 92px;
  padding: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-status div:last-child {
  border-right: 0;
}

.hero-status strong,
.hero-status span {
  display: block;
}

.hero-status strong {
  margin-bottom: 8px;
  font-size: 1.02rem;
}

.hero-status span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  line-height: 1.45;
}

section {
  padding: clamp(64px, 9vw, 112px) clamp(18px, 5vw, 72px);
}

.intro-band,
.faq-section,
.saved-section {
  background: var(--paper);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 32px;
}

.section-heading p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.05rem;
}

.lane-grid,
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.lane-card,
.video-card,
.apply-box,
.question-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 14px 35px rgba(23, 24, 22, 0.06);
}

.lane-card {
  display: grid;
  min-height: 250px;
  align-content: start;
  gap: 18px;
  padding: 26px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.lane-card:hover,
.lane-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.lane-number {
  width: fit-content;
  padding-bottom: 6px;
  border-bottom: 3px solid var(--green);
  color: var(--green);
  font-weight: 900;
}

.lane-card p,
.timeline p,
.video-card p,
.faq-list p,
.apply-section p,
.question-copy p,
.site-footer p {
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  background: #fff;
}

.story-panel {
  align-self: start;
  position: sticky;
  top: 96px;
}

.story-panel p {
  max-width: 680px;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline article {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px 22px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.timeline span {
  color: var(--red);
  font-weight: 900;
}

.timeline p {
  grid-column: 2;
  margin: 0;
}

.video-section {
  background: var(--charcoal);
  color: #fff;
}

.video-section .section-heading p:not(.eyebrow),
.video-card p {
  color: rgba(255, 255, 255, 0.7);
}

.video-grid {
  grid-template-columns: 1.35fr 1fr 1fr;
}

.video-card {
  display: grid;
  gap: 16px;
  padding: 16px;
  background: #2f302b;
  border-color: rgba(255, 255, 255, 0.12);
}

.featured-video {
  grid-row: span 2;
}

.video-frame {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(217, 139, 36, 0.84), rgba(29, 111, 120, 0.82)),
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.36), transparent 26%);
  color: #fff;
  font-weight: 900;
}

.video-frame.compact {
  min-height: 160px;
}

.video-frame iframe,
.video-frame video {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 6px;
}

.video-frame video {
  background: #000;
  object-fit: contain;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 980px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

summary {
  padding: 22px;
  font-weight: 900;
  cursor: pointer;
}

details p {
  margin: 0;
  padding: 0 22px 22px;
}

.question-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  background: #eef5f1;
}

.confirm-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  background: var(--paper);
}

.question-topics span {
  padding: 10px 12px;
  border: 1px solid rgba(47, 125, 90, 0.35);
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  font-weight: 800;
}

.question-form {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 4vw, 32px);
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #cfc7ba;
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  background: #fff;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus,
.button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(217, 139, 36, 0.45);
  outline-offset: 3px;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 800;
}

.apply-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  background: #fff;
}

.apply-box {
  padding: 28px;
  border-top: 6px solid var(--amber);
}

.inline-lead-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.secondary-link {
  display: block;
  margin-top: 14px;
  color: var(--teal);
  font-weight: 800;
  text-align: center;
}

.saved-list {
  display: grid;
  gap: 12px;
  max-width: 960px;
}

.saved-question {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.saved-question strong {
  display: block;
  margin-bottom: 4px;
}

.saved-question p {
  margin: 0;
  color: var(--muted);
}

.empty-state {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 72px);
  background: #171816;
  color: #fff;
}

.site-footer p {
  max-width: 560px;
  margin-bottom: 0;
}

.footer-links {
  align-self: start;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-weight: 800;
}

@media (max-width: 940px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .lane-grid,
  .video-grid,
  .split-section,
  .question-section,
  .confirm-section,
  .apply-section {
    grid-template-columns: 1fr;
  }

  .story-panel {
    position: static;
  }

  .featured-video {
    grid-row: auto;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 12px 14px;
    gap: 12px;
  }

  .brand span:last-child {
    display: none;
  }

  .header-cta {
    padding: 11px 12px;
    font-size: 0.86rem;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-bg {
    background-position: 63% center;
  }

  .hero-content {
    width: calc(100% - 28px);
    margin: 0 14px 286px;
  }

  h1 {
    max-width: 10ch;
    font-size: clamp(2.72rem, 15vw, 4.6rem);
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-status {
    grid-template-columns: 1fr;
    right: 14px;
    left: 14px;
    bottom: 14px;
  }

  .hero-status div {
    min-height: auto;
    padding: 13px 14px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .hero-status div:last-child {
    border-bottom: 0;
  }

  section {
    padding: 54px 16px;
  }

  .timeline article {
    grid-template-columns: 1fr;
  }

  .timeline p {
    grid-column: 1;
  }

  .site-footer {
    display: grid;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
