:root {
  color-scheme: light;
  --ink: #101820;
  --muted: #566171;
  --paper: #f5f8fb;
  --surface: #ffffff;
  --line: #d9e1ea;
  --amber: #f7c531;
  --amber-dark: #8a6200;
  --green: #237a5a;
  --teal: #126c78;
  --red: #b84a3b;
  --navy: #0b1f3a;
  --navy-2: #12345a;
  --charcoal: #111820;
  --shadow: 0 22px 55px rgba(11, 31, 58, 0.18);
}

* {
  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);
}

body.mobile-nav-open {
  overflow: hidden;
}

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

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 12px clamp(16px, 3.4vw, 44px);
  color: #fff;
  background: linear-gradient(90deg, rgba(11, 31, 58, 0.98), rgba(18, 52, 90, 0.96));
  box-shadow: 0 10px 28px rgba(7, 18, 34, 0.22);
}

.menu-toggle {
  display: none;
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.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(247, 197, 49, 0.9);
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

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

.site-nav a {
  opacity: 0.9;
}

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

.header-cta {
  padding: 12px 18px;
  border: 1px solid #ffe18a;
  border-radius: 6px;
  background: var(--amber);
  color: #101820;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.24);
  font-weight: 800;
}

.header-cta:hover,
.header-cta:focus-visible {
  background: #ffda55;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-logout-form {
  margin: 0;
}

.header-logout {
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(247, 197, 49, 0.8);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.96);
  color: #181612;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
}

.header-logout:hover,
.header-logout:focus-visible {
  background: #fff;
}

.mobile-nav {
  position: fixed;
  top: 78px;
  right: 14px;
  left: 14px;
  z-index: 120;
  display: none;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(11, 31, 58, 0.98);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.35);
}

.mobile-nav a {
  display: block;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: #fff;
  font-weight: 700;
  line-height: 1.3;
}

.mobile-logout-form {
  margin: 0;
}

.mobile-nav-button {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #e0b37c;
  border-radius: 6px;
  background: #fff2df;
  color: #4a3013;
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.mobile-nav-button:hover,
.mobile-nav-button:focus-visible {
  background: #ffe8c4;
}

.mobile-nav[hidden] {
  display: none !important;
}

.hero {
  position: relative;
  min-height: 72svh;
  display: grid;
  align-items: center;
  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-video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 19, 38, 0.9) 0%, rgba(6, 19, 38, 0.7) 43%, rgba(6, 19, 38, 0.18) 80%),
    linear-gradient(0deg, rgba(6, 19, 38, 0.8), rgba(6, 19, 38, 0.02) 54%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(660px, calc(100% - 28px));
  margin: 0 0 clamp(84px, 10vh, 118px) clamp(16px, 4.6vw, 64px);
}

.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(2.3rem, 5.4vw, 5.25rem);
}

h2 {
  max-width: 680px;
  font-size: clamp(1.3rem, 2.35vw, 2rem);
}

h3 {
  font-size: clamp(0.98rem, 1.25vw, 1.18rem);
}

p {
  line-height: 1.52;
}

.hero-copy {
  max-width: 48ch;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
}

.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: 12px 18px;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

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

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

.button.full {
  width: 100%;
}

.hero-status {
  position: absolute;
  right: clamp(18px, 4vw, 56px);
  bottom: 14px;
  left: clamp(18px, 4vw, 56px);
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(247, 197, 49, 0.4);
  background: rgba(11, 31, 58, 0.72);
  backdrop-filter: blur(14px);
}

.hero-status div {
  min-height: 78px;
  padding: 14px;
  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: 5px;
  font-size: 0.92rem;
}

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

section {
  padding: clamp(22px, 3vw, 34px) clamp(14px, 3.3vw, 46px);
}

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

.section-heading {
  max-width: 760px;
  margin-bottom: 22px;
}

.section-heading p:not(.eyebrow) {
  max-width: 64ch;
  color: var(--muted);
  font-size: 0.98rem;
}

.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: 12px;
  padding: 19px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.lane-visual {
  display: block;
  min-height: 118px;
  border-radius: 6px;
  background-image:
    linear-gradient(180deg, rgba(11, 31, 58, 0.02), rgba(11, 31, 58, 0.34)),
    url("assets/drive-with-donnie-hero.png");
  background-size: cover;
  background-position: center;
}

.visual-training {
  background-position: 44% 54%;
}

.visual-road {
  background-position: 57% 50%;
}

.visual-owner {
  background-position: 70% 52%;
}

.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(--amber);
  color: var(--navy);
  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(20px, 3.5vw, 44px);
  background: #fff;
}

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

.story-panel p {
  max-width: 60ch;
}

.story-points {
  margin: 10px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.story-points li + li {
  margin-top: 6px;
}

.story-media {
  min-height: 190px;
  margin-top: 18px;
  border-radius: 8px;
  background-image:
    linear-gradient(180deg, rgba(11, 31, 58, 0.02), rgba(11, 31, 58, 0.42)),
    url("assets/drive-with-donnie-hero.png");
  background-size: cover;
  background-position: 66% center;
  box-shadow: 0 16px 34px rgba(11, 31, 58, 0.14);
}

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

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

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

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

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

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

.video-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  align-items: start;
  gap: clamp(20px, 3vw, 34px);
}

.video-card {
  display: grid;
  gap: 16px;
  min-width: 0;
  padding: clamp(16px, 2.4vw, 24px);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-top: 4px solid var(--amber);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    #142944;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.video-card h3 {
  padding-top: 2px;
  font-size: clamp(1.08rem, 1.6vw, 1.42rem);
}

.video-card p {
  margin: 0;
  padding-top: 2px;
}

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

.video-frame {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(247, 197, 49, 0.88), rgba(18, 52, 90, 0.86)),
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.36), transparent 26%);
  color: #fff;
  font-weight: 900;
}

.video-frame.compact {
  min-height: 0;
}

.video-frame.vertical {
  aspect-ratio: 9 / 16;
  width: min(100%, 360px);
  margin-inline: auto;
}

.video-frame iframe,
.video-frame video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
  border: 0;
  border-radius: 8px;
}

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

.blog-section {
  background: #fff;
}

.inline-link {
  color: var(--teal);
  font-weight: 800;
}

.inline-link:hover,
.inline-link:focus-visible {
  text-decoration: underline;
}

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

.blog-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(23, 24, 22, 0.06);
}

.blog-card.empty {
  grid-column: 1 / -1;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.blog-meta span,
.blog-meta time {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.blog-meta span {
  background: #fff2d8;
  color: var(--amber-dark);
}

.blog-meta time {
  background: #e9f3f0;
  color: var(--teal);
}

.forum-section {
  background: #eef5f1;
  padding-top: clamp(18px, 2.3vw, 28px);
  padding-bottom: clamp(18px, 2.3vw, 28px);
}

.forum-section,
[id^="topic-"] {
  scroll-margin-top: 94px;
}

.forum-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(14px, 2.8vw, 26px);
  align-items: start;
}

.forum-auth {
  display: grid;
  gap: 14px;
  max-width: 640px;
}

.forum-layout--no-topics {
  grid-template-columns: minmax(0, 1fr);
}

.forum-layout--no-topics .forum-auth {
  width: min(100%, 640px);
  margin: 0 auto;
}

.forum-auth-gate {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 2px solid #d8b98a;
  border-left: 6px solid var(--amber);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.98)),
    linear-gradient(120deg, rgba(217, 139, 36, 0.14), rgba(29, 111, 120, 0.12));
  box-shadow: 0 12px 30px rgba(23, 24, 22, 0.08);
}

.forum-auth-gate .eyebrow {
  margin-bottom: 2px;
}

.forum-auth-gate h3 {
  font-size: clamp(1.05rem, 1.4vw, 1.32rem);
}

.forum-gate-copy {
  margin: 0;
  color: #455049;
  font-size: 0.94rem;
}

.forum-auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.forum-auth-tab {
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #d8cab1;
  border-radius: 8px;
  background: #fff5e5;
  color: #6a4b21;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.forum-auth-tab:hover,
.forum-auth-tab:focus-visible {
  background: #ffe8c4;
  border-color: #c8872f;
}

.forum-auth-tab.is-active {
  border-color: #b6721b;
  background: var(--amber);
  color: #1a140d;
  box-shadow: 0 7px 20px rgba(157, 85, 20, 0.2);
}

.forum-auth-panel {
  display: grid;
  gap: 10px;
}

.forum-auth-panel[hidden] {
  display: none !important;
}

.forum-auth-gate .forum-auth-card {
  margin: 0;
}

.forum-auth-card,
.forum-topic-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(23, 24, 22, 0.06);
}

.forum-auth-card,
.forum-topic-form {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.forum-auth-card h3 {
  font-size: clamp(1.12rem, 1.5vw, 1.4rem);
}

.forum-auth-card p {
  margin: 0;
}

.forum-admin-flag {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: #dff1e8;
  color: var(--green);
  font-size: 0.84rem;
  font-weight: 800;
}

.forum-topics {
  display: grid;
  gap: 12px;
}

.forum-topic-card {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.forum-thread {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(23, 24, 22, 0.06);
  overflow: hidden;
}

.forum-thread-summary {
  display: grid;
  gap: 8px;
  padding: 12px;
  cursor: pointer;
  list-style: none;
}

.forum-thread-summary::-webkit-details-marker {
  display: none;
}

.forum-thread[open] .forum-thread-summary {
  border-bottom: 1px solid #e1e7e3;
}

.forum-thread-body {
  display: grid;
  gap: 10px;
  padding: 10px 12px 12px;
}

.forum-summary-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  align-items: center;
}

.forum-summary-count {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  background: #f0e6d3;
  color: #7a5729;
  font-size: 0.8rem;
  font-weight: 800;
}

.forum-summary-preview {
  margin: 0;
  color: #4f5a53;
  font-size: 0.93rem;
}

.forum-question-block {
  display: grid;
  gap: 8px;
  padding: 11px;
  border: 1px solid #cfddd4;
  border-left: 5px solid var(--teal);
  border-radius: 10px;
  background: #eef6f2;
}

.forum-topic-head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.forum-type-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.forum-type-pill.question {
  background: #dff0ea;
  color: #155a46;
}

.forum-topic-meta {
  margin: 0;
  color: #4f5a53;
  font-size: 0.87rem;
  font-weight: 700;
}

.forum-topic-card header p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.forum-topic-body {
  margin: 0;
}

.forum-comments {
  display: grid;
  gap: 10px;
}

.forum-answer-title {
  margin: 0;
  color: #5d4d31;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.forum-comment {
  padding: 8px 10px;
  border: 1px solid #e9dcc8;
  border-left: 4px solid var(--amber);
  border-radius: 7px;
  background: #fff8ee;
}

.forum-comment-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: baseline;
  justify-content: space-between;
}

.forum-comment strong,
.forum-comment span {
  display: inline-flex;
}

.forum-comment span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.forum-comment p {
  margin: 6px 0 0;
  color: #3e463f;
}

.forum-comment-form {
  display: grid;
  gap: 8px;
  margin-top: 2px;
}

.forum-login-note {
  margin: 0;
  padding: 10px 12px;
  border: 1px dashed #cfc7ba;
  border-radius: 7px;
  color: var(--muted);
  background: #fff;
  font-size: 0.92rem;
}

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

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

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

details p {
  margin: 0;
  padding: 0 18px 16px;
}

.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;
}

.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(16px, 3vw, 24px);
}

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;
}

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

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

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

.referral-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(29, 111, 120, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 1)),
    linear-gradient(135deg, rgba(217, 139, 36, 0.14), rgba(29, 111, 120, 0.16));
}

.referral-card-head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin: -4px 0 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.referral-card-head span,
.referral-card-head strong {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 900;
}

.referral-card-head span {
  padding: 7px 11px;
  background: #fff2d8;
  color: var(--amber-dark);
}

.referral-card-head strong {
  padding: 7px 12px;
  background: #e4f1ef;
  color: var(--teal);
}

.referral-steps {
  display: grid;
  gap: 10px;
  max-width: 520px;
  margin-top: 14px;
}

.referral-steps span {
  padding: 12px 14px;
  border-left: 4px solid var(--amber);
  background: #f7f4ee;
  color: var(--ink);
  font-weight: 800;
}

.inline-lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.wide-field,
.inline-lead-form .form-note {
  grid-column: 1 / -1;
}

.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;
}

.toast {
  position: fixed;
  right: clamp(16px, 4vw, 36px);
  top: clamp(82px, 9vw, 104px);
  z-index: 9999;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  width: min(460px, calc(100vw - 32px));
  padding: 20px 18px 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 18px;
  color: #fff;
  box-shadow: 0 24px 70px rgba(23, 24, 22, 0.34);
  animation: toast-in 340ms cubic-bezier(0.16, 1, 0.3, 1);
}

.toast::after {
  content: "";
  position: absolute;
  right: 28px;
  top: -10px;
  width: 20px;
  height: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  transform: rotate(45deg);
}

.toast.success {
  background: #236c4d;
}

.toast.success::after {
  background: #236c4d;
}

.toast.error {
  background: #9f3f33;
}

.toast.error::after {
  background: #9f3f33;
}

.toast strong,
.toast p {
  margin: 0;
}

.toast strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.toast p {
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.45;
}

.toast button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 1.4rem;
  line-height: 1;
  font-weight: 800;
}

.toast button:hover,
.toast button:focus-visible {
  background: rgba(255, 255, 255, 0.28);
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .site-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-nav:not([hidden]) {
    display: grid;
  }

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

  .story-panel {
    position: static;
  }

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

  .forum-layout--no-topics .forum-auth {
    margin: 0;
  }
}

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

  .forum-section,
  [id^="topic-"] {
    scroll-margin-top: 78px;
  }

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

  .menu-toggle {
    min-height: 40px;
    padding: 8px 12px;
    font-size: 0.9rem;
  }

  .header-cta {
    min-height: 44px;
    padding: 10px 12px;
    font-size: 0.88rem;
  }

  .header-logout-form {
    display: none;
  }

  .header-logout {
    min-height: 40px;
    padding: 9px 12px;
    font-size: 0.88rem;
  }

  .hero {
    min-height: 76svh;
  }

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

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

  h1 {
    max-width: 10ch;
    font-size: clamp(1.48rem, 8.2vw, 2.28rem);
  }

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

  .hero-actions .button {
    width: 100%;
    min-height: 52px;
  }

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

  .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: 20px 14px;
  }

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

  .timeline p {
    grid-column: 1;
  }

  .site-footer {
    display: grid;
  }

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

  .toast {
    right: 12px;
    left: 12px;
    width: auto;
    top: 72px;
  }
}
