/* ELDTtraining.com — site styles
   Plain CSS, no build step. Edit and re-upload.
   Design language: highway signage, done quietly.
   - guide-sign green for the brand, exit-plaque yellow for the one action
   - asphalt and concrete for everything else                              */

:root {
  --green: #00664f;        /* guide-sign green */
  --green-deep: #004a39;
  --yellow: #ffcd00;       /* exit-only plaque yellow */
  --yellow-deep: #e6b800;
  --asphalt: #23282a;
  --ink: #16191a;
  --steel: #54605c;        /* secondary text */
  --line: #cfd5d2;
  --concrete: #eceeec;     /* page background */
  --paper: #ffffff;

  --sans: "Overpass", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Source Serif 4", "Lora", Georgia, "Times New Roman", serif;

  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--concrete);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { font-family: var(--sans); font-weight: 800; line-height: 1.1; letter-spacing: -0.012em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.6rem); }
h3 { font-size: 1.3rem; line-height: 1.2; }
p { margin: 0 0 1.1em; max-width: 64ch; }
p:last-child { margin-bottom: 0; }
a { color: var(--green); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--green-deep); text-decoration-thickness: 2px; }
strong { font-weight: 700; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--paper { background: var(--paper); }
.lede { font-size: 1.25rem; line-height: 1.55; color: var(--ink); }
.muted { color: var(--steel); }
.ui { font-family: var(--sans); }
.small { font-size: 0.9375rem; line-height: 1.5; }
.section-head { margin-bottom: clamp(1.75rem, 4vw, 3rem); max-width: 46rem; }
.section-head p { margin-top: 1rem; }

.skip { position: absolute; left: -999px; top: 0; background: var(--yellow); color: var(--ink); padding: 0.75rem 1rem; font-family: var(--sans); font-weight: 700; z-index: 100; }
.skip:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 800; font-size: 1.0625rem; line-height: 1.1;
  padding: 0.95rem 1.4rem 0.85rem; border-radius: 8px; border: 2px solid var(--ink);
  background: var(--yellow); color: var(--ink); text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--yellow-deep); color: var(--ink); }
.btn--quiet { background: transparent; border-color: var(--ink); font-weight: 700; }
.btn--quiet:hover { background: var(--ink); color: var(--paper); }
.btn--small { font-size: 0.95rem; padding: 0.6rem 0.95rem 0.5rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--concrete); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--sans); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 2rem; height: 2rem; flex: none; }
.nav { display: none; gap: 1.75rem; font-family: var(--sans); font-weight: 600; font-size: 1rem; }
.nav a { color: var(--ink); text-decoration: none; padding-block: 0.4rem; }
.nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
@media (min-width: 56rem) { .nav { display: flex; } }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(1.5rem, 4vw, 3rem) clamp(2.5rem, 6vw, 4.5rem); }
.hero-grid { display: grid; gap: clamp(1.25rem, 3vw, 2rem); align-items: stretch; }
@media (min-width: 62rem) { .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(22rem, 0.85fr); } }

/* The guide sign: green panel, white line set in from the edge, generous radius */
.sign {
  background: var(--green); color: #fff; border-radius: 22px;
  outline: 3px solid #fff; outline-offset: -12px;
  padding: clamp(2rem, 5vw, 3.75rem);
  display: flex; flex-direction: column; justify-content: center;
}
.sign h1 { font-size: clamp(2.1rem, 1.2rem + 3.4vw, 3.5rem); line-height: 1.04; letter-spacing: -0.02em; text-wrap: wrap; }
.sign p { margin-top: 1.5rem; font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem); line-height: 1.5; max-width: 40ch; color: #fff; }
.sign a { color: #fff; }
.sign-routes { list-style: none; margin: 2rem 0 0; padding: 1.25rem 0 0; border-top: 2px solid rgba(255,255,255,0.55); display: grid; grid-template-columns: 1fr 1fr; gap: 0.35rem 1.5rem; font-family: var(--sans); font-weight: 700; font-size: 1.0625rem; }
@media (min-width: 40rem) { .sign-routes { grid-template-columns: repeat(4, auto); justify-content: start; gap: 0.35rem 2.25rem; } }

/* The order panel: a white regulatory sign, black line set in from the edge */
.order {
  background: var(--paper); border-radius: 18px;
  outline: 2px solid var(--ink); outline-offset: -9px;
  padding: clamp(1.6rem, 4vw, 2.1rem);
  font-family: var(--sans);
}
.order h2 { font-size: 1.5rem; }
.order fieldset { border: 0; padding: 0; margin: 1.25rem 0 0; min-width: 0; }
.order legend { padding: 0; font-weight: 700; font-size: 0.95rem; color: var(--steel); margin-bottom: 0.5rem; }

.choice { position: relative; display: block; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: flex; justify-content: space-between; align-items: baseline; gap: 0.75rem; padding: 0.7rem 0.85rem 0.6rem; border: 1.5px solid var(--line); border-radius: 8px; font-weight: 600; line-height: 1.2; }
.choice b { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.choice input:checked + span { border-color: var(--green); background: #e7f1ee; box-shadow: inset 0 0 0 1px var(--green); }
.choice input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.courses-pick { display: grid; gap: 0.4rem; }
.seats-pick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.4rem; }
.seats-pick .choice span { flex-direction: column; align-items: center; gap: 0.1rem; padding-inline: 0.25rem; text-align: center; }
.seats-pick small { font-weight: 600; font-size: 0.8rem; color: var(--steel); }

.field { margin-top: 1.25rem; }
.field label { display: block; font-weight: 700; font-size: 0.95rem; color: var(--steel); margin-bottom: 0.4rem; }
.field input { width: 100%; font: inherit; font-weight: 600; padding: 0.65rem 0.8rem 0.55rem; border: 1.5px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); text-transform: uppercase; }
.field input::placeholder { text-transform: none; color: #8a9591; font-weight: 500; }

.total { margin-top: 1.25rem; padding-top: 1rem; border-top: 2px solid var(--ink); display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.total-label { font-weight: 700; }
.total-amount { font-weight: 800; font-size: 2rem; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.total-note { margin: 0.35rem 0 1rem; font-size: 0.9375rem; color: var(--steel); font-weight: 600; text-align: right; }
.order-foot { margin: 0.9rem 0 0; font-size: 0.875rem; line-height: 1.45; color: var(--steel); font-weight: 500; }

/* ---------- Lane band ---------- */
.lane { background: var(--asphalt); color: #fff; font-family: var(--sans); }
.lane ul { list-style: none; margin: 0; padding: clamp(1.75rem, 4vw, 2.5rem) 0; display: grid; gap: 1.25rem 2rem; grid-template-columns: 1fr; }
@media (min-width: 36rem) { .lane ul { grid-template-columns: 1fr 1fr; } }
@media (min-width: 62rem) { .lane ul { grid-template-columns: repeat(4, 1fr); } }
.lane li { font-weight: 600; font-size: 1rem; line-height: 1.35; }
.lane b { display: block; font-weight: 800; font-size: 1.2rem; margin-bottom: 0.15rem; }
.lane a { color: #fff; }
.stripe { height: 5px; background-image: repeating-linear-gradient(90deg, #fff 0 3rem, transparent 3rem 6.5rem); opacity: 0.9; }
.lane .stripe-pad { padding-bottom: clamp(1.25rem, 3vw, 1.75rem); }

/* ---------- Definition block ---------- */
.explain { display: grid; gap: clamp(1.75rem, 4vw, 3.5rem); }
@media (min-width: 58rem) { .explain { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: start; } }
.facts { margin: 0; font-family: var(--sans); border-top: 2px solid var(--ink); }
.facts div { display: grid; grid-template-columns: minmax(7.5rem, 0.8fr) 1.6fr; gap: 1rem; padding: 0.8rem 0 0.7rem; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 700; color: var(--steel); font-size: 0.95rem; }
.facts dd { margin: 0; font-weight: 600; font-size: 1rem; line-height: 1.4; }
.reviewed { margin-top: 1rem; font-family: var(--sans); font-size: 0.875rem; color: var(--steel); }

/* ---------- Difference ---------- */
.diff-grid { display: grid; gap: 0 clamp(2rem, 5vw, 4rem); }
@media (min-width: 52rem) { .diff-grid { grid-template-columns: 1fr 1fr; } }
.diff-item { padding: 1.5rem 0; border-top: 1px solid var(--line); }
.diff-item h3 { margin-bottom: 0.6rem; }
.story { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); margin-bottom: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 58rem) { .story { grid-template-columns: 1fr 1fr; } }

/* ---------- Courses ---------- */
.course { display: grid; gap: 0.75rem 2rem; padding: 1.6rem 0; border-top: 1px solid var(--line); align-items: center; }
.course:first-of-type { border-top: 2px solid var(--ink); }
.course:last-of-type { border-bottom: 1px solid var(--line); }
@media (min-width: 52rem) { .course { grid-template-columns: minmax(0, 1fr) 11rem 6rem 10.5rem; } .course .btn { width: 100%; } }
.course p { margin: 0.4rem 0 0; font-size: 1.0625rem; }
.course-meta { font-family: var(--sans); font-weight: 600; font-size: 1rem; color: var(--steel); line-height: 1.35; }
.course-price { font-family: var(--sans); font-weight: 800; font-size: 1.75rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1; }
.course-price small { display: block; margin-top: 0.3rem; font-size: 0.875rem; font-weight: 600; color: var(--steel); letter-spacing: 0; }

/* ---------- Employers ---------- */
.split { display: grid; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: start; }
@media (min-width: 58rem) { .split { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.tiers { width: 100%; border-collapse: collapse; font-family: var(--sans); font-variant-numeric: tabular-nums; }
.tiers caption { text-align: left; font-weight: 700; font-size: 0.95rem; color: var(--steel); padding-bottom: 0.6rem; }
.tiers th, .tiers td { text-align: right; padding: 0.8rem 0 0.7rem 0.75rem; border-bottom: 1px solid var(--line); font-weight: 600; white-space: nowrap; }
.tiers th:first-child, .tiers td:first-child { text-align: left; padding-left: 0; }
.tiers thead th { font-size: 0.95rem; color: var(--steel); font-weight: 700; border-bottom: 2px solid var(--ink); }
.tiers tbody th { font-weight: 800; white-space: normal; }
@media (max-width: 26rem) { table.tiers { font-size: 0.95rem; } }
.checks { list-style: none; padding: 0; margin: 1.25rem 0 1.75rem; }
.checks li { position: relative; padding: 0.5rem 0 0.5rem 1.9rem; border-top: 1px solid var(--line); }
.checks li::before { content: ""; position: absolute; left: 0.15rem; top: 0.95rem; width: 0.95rem; height: 0.5rem; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg); }
.next-exit { margin-top: clamp(2.5rem, 6vw, 4rem); background: var(--green); color: #fff; border-radius: 18px; outline: 2px solid #fff; outline-offset: -10px; padding: clamp(1.75rem, 4vw, 2.75rem); display: grid; gap: 1.25rem 2.5rem; align-items: center; }
@media (min-width: 52rem) { .next-exit { grid-template-columns: 1fr auto; } }
.next-exit h3 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); margin-bottom: 0.7rem; }
.next-exit p { color: #fff; max-width: 60ch; }

/* ---------- Steps as mile markers ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.75rem 2rem; }
@media (min-width: 46rem) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 70rem) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.steps p { font-size: 1.0625rem; margin-top: 0.5rem; }
.marker { width: 3rem; padding: 0.35rem 0 0.3rem; background: var(--green); color: #fff; border-radius: 6px; outline: 1.5px solid #fff; outline-offset: -4px; font-family: var(--sans); text-align: center; line-height: 1; }
.marker small { display: block; font-size: 0.6rem; font-weight: 800; letter-spacing: 0.06em; }
.marker b { display: block; font-size: 1.6rem; font-weight: 800; margin-top: 0.15rem; }

/* ---------- Guarantees ---------- */
.promises { display: grid; gap: 0 clamp(2rem, 4vw, 3rem); }
@media (min-width: 52rem) { .promises { grid-template-columns: repeat(3, 1fr); } }
.promise { padding: 1.5rem 0; border-top: 2px solid var(--ink); }
.promise h3 { margin-bottom: 0.6rem; }
.promise p { font-size: 1.0625rem; }

.quote { margin: clamp(2.5rem, 6vw, 4rem) 0 0; padding-left: clamp(1.25rem, 3vw, 2rem); border-left: 5px solid var(--yellow); max-width: 52rem; }
.quote blockquote { margin: 0; font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.5rem); line-height: 1.45; }
.quote figcaption { margin-top: 0.9rem; font-family: var(--sans); font-weight: 700; font-size: 1rem; color: var(--steel); }

/* ---------- FAQ ---------- */
.faq { max-width: 52rem; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1.25rem; align-items: baseline; padding: 1.15rem 0 1.05rem; font-family: var(--sans); font-weight: 700; font-size: 1.1875rem; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 600; font-size: 1.5rem; line-height: 1; color: var(--green); flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 2.5rem 1.4rem 0; }

/* ---------- Closing + footer ---------- */
.closing { background: var(--asphalt); color: #fff; }
.closing .wrap { display: grid; gap: 1.5rem 3rem; align-items: center; }
@media (min-width: 52rem) { .closing .wrap { grid-template-columns: 1fr auto; } }
.closing p { color: #d9dedc; margin-top: 0.9rem; }
.site-footer { background: var(--asphalt); color: #c5ccc9; font-family: var(--sans); font-size: 0.9375rem; line-height: 1.55; border-top: 1px solid #3a4144; padding-block: 2.25rem 2.75rem; }
.site-footer .wrap { display: grid; gap: 1.5rem 3rem; }
@media (min-width: 52rem) { .site-footer .wrap { grid-template-columns: 1.3fr 1fr; } }
.site-footer p { max-width: 58ch; margin-bottom: 0.7em; }
.site-footer a { color: #fff; }
.site-footer .brand { color: #fff; margin-bottom: 0.9rem; }

/* Logo lockup: "Dedicated" large, "ELDT Training" beneath, so the address reads as the rest of the name */
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-main { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.015em; }
.brand-sub { font-size: 0.8rem; font-weight: 700; margin-top: 0.2rem; color: var(--green); }
.site-footer .brand-sub { color: #c5ccc9; }
.brand-mark { width: 2.25rem; height: 2.25rem; }

/* ---------- Inside the course (screenshots) ---------- */
.inside { margin-top: clamp(2.5rem, 6vw, 4.5rem); padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--line); }
.inside h3 { font-size: 1.5rem; margin-bottom: 0.4rem; }
.inside > p { margin-bottom: 1.75rem; font-family: var(--sans); }
.inside-scenes, .inside-detail { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
.inside-detail { margin-top: clamp(1.25rem, 3vw, 2rem); align-items: center; }
@media (min-width: 52rem) {
  .inside-scenes { grid-template-columns: 1fr 1fr; }
  .inside-detail { grid-template-columns: 1.6fr 1fr; }
}
.shot { margin: 0; }
.shot img { display: block; width: 100%; height: auto; border-radius: 8px; background: var(--asphalt); box-shadow: 0 1px 2px rgba(0,0,0,.12), 0 8px 24px rgba(0,0,0,.10); }
.shot figcaption { margin-top: 0.75rem; font-family: var(--sans); font-size: 0.95rem; line-height: 1.45; color: var(--steel); }
.shot figcaption b { color: var(--ink); }
@media (max-width: 39.99rem) { .shot--wide { display: none; } }
.shot--quiz { margin-top: clamp(1.25rem, 3vw, 2rem); max-width: 56rem; }
