/* Hauliant — brand palette from the mark: midnight, teal, amber. */
:root {
  --midnight: #0b1a2e;
  --midnight-2: #102540;
  --teal: #14e0b0;
  --amber: #ffb020;
  --white: #f5f7fa;
  --slate: #5b6b80;
  --line: rgba(245, 247, 250, 0.14);
  --page: 1180px;
  --radius: 14px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--midnight);
  color: var(--white);
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand span, .tab, .button {
  font-family: "Bahnschrift", "DIN Alternate", "Segoe UI Semibold", system-ui, sans-serif;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); line-height: 1.08; margin: 0 0 1rem; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.15; margin: 0 0 0.6rem; }
h3 { font-size: 1.28rem; margin: 0 0 0.45rem; }
p { margin: 0 0 1rem; }

a { color: var(--teal); }

.wrap { width: 100%; max-width: var(--page); margin: 0 auto; padding-inline: 20px; }

.skip {
  position: absolute; left: -9999px; top: 0; background: var(--teal); color: var(--midnight);
  padding: 10px 16px; border-radius: 0 0 8px 0; font-weight: 600; z-index: 20;
}
.skip:focus { left: 0; }

/* -- header ---------------------------------------------------------------- */

.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 26, 46, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font-size: 1.5rem; font-weight: 700; }
.brand img { display: block; }
.top-nav { display: flex; align-items: center; gap: 22px; }
.top-nav a { color: var(--white); text-decoration: none; font-size: 0.98rem; opacity: 0.85; }
.top-nav a:hover { opacity: 1; color: var(--teal); }

/* -- buttons --------------------------------------------------------------- */

.button {
  display: inline-block; background: var(--teal); color: var(--midnight);
  padding: 14px 26px; border: 2px solid var(--teal); border-radius: 999px;
  font-size: 1.02rem; font-weight: 700; text-decoration: none; cursor: pointer;
  white-space: nowrap;
  transition: transform 0.12s ease, background 0.12s ease;
}
.button:hover { transform: translateY(-1px); background: #35f0c4; }
.button.ghost { background: transparent; color: var(--white); border-color: var(--line); }
.button.ghost:hover { background: rgba(245, 247, 250, 0.06); border-color: var(--teal); color: var(--teal); }
.button.small { padding: 10px 18px; font-size: 0.95rem; opacity: 1; }
.button.wide { width: 100%; text-align: center; border: none; font-size: 1.05rem; }

/* -- hero ------------------------------------------------------------------ */

.hero {
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(20, 224, 176, 0.16), transparent 60%),
    radial-gradient(700px 400px at 100% 0%, rgba(255, 176, 32, 0.12), transparent 62%),
    var(--midnight);
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start;
  padding-block: clamp(48px, 7vw, 92px) 0;
}
.eyebrow { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.82rem; color: var(--teal); font-weight: 600; margin-bottom: 0.9rem; }
.lead { font-size: 1.16rem; color: rgba(245, 247, 250, 0.82); max-width: 40ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 1.6rem 0 1.4rem; }
.hero-points {
  list-style: none;
  /* Keeps `.wrap`'s gutter and centring: zeroing them here pinned the list
     to the left edge while the rest of the page stayed in its column. */
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-flow: column;
  grid-template-rows: repeat(3, auto);
  column-gap: 48px;
  row-gap: 12px;
  padding-bottom: clamp(40px, 5vw, 72px);
  margin: 0 auto;
}
.hero-points li { position: relative; padding-left: 26px; color: rgba(245, 247, 250, 0.82); }
.hero-points strong { color: var(--white); }
.hero-points li::before {
  content: ""; position: absolute; left: 0; top: 0.62em; width: 12px; height: 3px;
  background: var(--amber); border-radius: 2px;
}
.hero-video video {
  width: 100%; border-radius: var(--radius); border: 1px solid var(--line); display: block;
  background: #000; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.caption { margin-top: 10px; font-size: 0.92rem; color: var(--slate); }

/* -- strip ----------------------------------------------------------------- */

.strip { background: var(--midnight-2); border-bottom: 1px solid var(--line); }
.strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-block: 26px; }
.strip-inner div { display: grid; gap: 2px; }
.strip-inner strong { font-size: 1.05rem; color: var(--teal); }
.strip-inner span { font-size: 0.95rem; color: rgba(245, 247, 250, 0.72); }

/* -- sections -------------------------------------------------------------- */

.section { padding-block: clamp(52px, 7vw, 88px); }
.section.alt { background: var(--midnight-2); border-block: 1px solid var(--line); }
.section-lead { font-size: 1.1rem; color: rgba(245, 247, 250, 0.78); max-width: 62ch; margin-bottom: 2rem; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: rgba(245, 247, 250, 0.045); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 22px;
}
.card h3 { color: var(--white); }
.card p { margin: 0; color: rgba(245, 247, 250, 0.76); }
.card:hover { border-color: rgba(20, 224, 176, 0.45); }

/* -- tabs and slides ------------------------------------------------------- */

.tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.tab {
  background: transparent; color: var(--white); border: 1px solid var(--line);
  border-radius: 999px; padding: 11px 22px; font-size: 1rem; cursor: pointer;
}
.tab.selected { background: var(--teal); color: var(--midnight); border-color: var(--teal); font-weight: 700; }

.slides { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.slide {
  background: rgba(11, 26, 46, 0.6); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px; border-top: 3px solid var(--amber);
}
.slide p { margin: 0; color: rgba(245, 247, 250, 0.76); }

/* -- getting started ------------------------------------------------------- */

.start-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 44px; align-items: start; }
.steps { margin: 0; padding-left: 1.1rem; display: grid; gap: 12px; color: rgba(245, 247, 250, 0.82); }
.steps strong { color: var(--white); }
.money {
  background: rgba(20, 224, 176, 0.07); border: 1px solid rgba(20, 224, 176, 0.3);
  border-radius: var(--radius); padding: 26px 24px;
}
.money h3 { color: var(--teal); }
.money p { color: rgba(245, 247, 250, 0.84); }
.money-note { font-size: 0.95rem; color: var(--slate); margin-bottom: 0; }

/* -- contact --------------------------------------------------------------- */

.contact { background: var(--midnight-2); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 44px; align-items: start; }
.contact-words p { color: rgba(245, 247, 250, 0.8); }
.promise { color: var(--white); }
.promise strong { color: var(--amber); }

.form { display: grid; gap: 14px; background: rgba(11, 26, 46, 0.65); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.field { display: grid; gap: 6px; }
label { font-size: 0.95rem; color: rgba(245, 247, 250, 0.86); font-weight: 600; }
input, select {
  background: rgba(245, 247, 250, 0.05); color: var(--white);
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px;
  font: inherit; font-size: 1rem; width: 100%;
}
input:focus, select:focus, .tab:focus-visible, .button:focus-visible {
  outline: 2px solid var(--teal); outline-offset: 2px;
}
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: #ff6b6b; }
.error { color: #ff9c9c; font-size: 0.88rem; }
.form-note { font-size: 0.88rem; color: var(--slate); margin: 0; }
.form-status { margin: 0; font-weight: 600; color: var(--teal); }

/* -- footer ---------------------------------------------------------------- */

.foot { background: var(--midnight); border-top: 1px solid var(--line); padding-block: 34px; }
.foot-inner { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.foot img { border-radius: 8px; }
.foot-legal p { margin: 0 0 4px; font-size: 0.92rem; color: rgba(245, 247, 250, 0.7); }
.foot-copy { color: var(--slate) !important; }

/* -- narrow ---------------------------------------------------------------- */

@media (max-width: 960px) {
  .hero-inner, .start-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-points { column-gap: 28px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .slides { grid-template-columns: repeat(2, 1fr); }
  .strip-inner { grid-template-columns: repeat(2, 1fr); }
  .top-nav a:not(.button) { display: none; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  /* Below this a two-column list is two narrow columns of wrapped fragments,
     so it becomes one column of six in reading order. */
  .hero-points { grid-template-columns: 1fr; grid-auto-flow: row; grid-template-rows: none; }
  .top-nav .button.small { padding: 9px 14px; font-size: 0.9rem; }
  .cards, .slides, .strip-inner { grid-template-columns: 1fr; }
  .cta-row .button { width: 100%; text-align: center; }
}

/* -- the legal pages, the consent box and the call-time fields ------------- */

.prose { padding-block: clamp(40px, 6vw, 72px); }
.prose h1 { max-width: 22ch; }
.prose h2 { font-size: 1.5rem; margin-top: 2.2rem; }
.prose p, .prose li { color: rgba(245, 247, 250, 0.82); max-width: 74ch; }
.prose ul { display: grid; gap: 8px; padding-left: 1.1rem; }
.prose .updated { color: var(--slate); font-size: 0.92rem; }
.wrap.narrow { max-width: 640px; }
.after { margin-top: 26px; color: rgba(245, 247, 250, 0.7); font-size: 0.95rem; max-width: 74ch; }

.table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.6rem; display: block; overflow-x: auto; }
.table th, .table td {
  border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top;
  font-size: 0.97rem; color: rgba(245, 247, 250, 0.82);
}
.table th { background: rgba(245, 247, 250, 0.05); color: var(--white); font-weight: 600; }

fieldset.times { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
fieldset.times legend { padding: 0 6px; font-size: 0.95rem; font-weight: 600; }
.choice { display: flex; align-items: center; gap: 10px; font-weight: 400; padding: 3px 0; }
.choice input { width: auto; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; }
.consent input { width: auto; margin-top: 4px; }
.consent span { font-size: 0.95rem; color: rgba(245, 247, 250, 0.82); }

.foot-links { margin-top: 8px; }
.foot-links a { color: var(--teal); text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }

.ticks { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: rgba(245, 247, 250, 0.82); }
.ticks li::before {
  content: "¹3"; position: absolute; left: 0; top: 0; color: var(--teal); font-weight: 700;
}
.ticks strong { color: var(--white); }

.strip-note {
  margin: 0; padding-bottom: 22px; max-width: 78ch;
  font-size: 0.85rem; line-height: 1.55; color: rgba(245, 247, 250, 0.55);
}
.caveat {
  margin: 0 0 1.4rem; padding: 14px 18px;
  border-left: 3px solid var(--amber); background: rgba(255, 176, 32, 0.07);
  font-size: 0.93rem; color: rgba(245, 247, 250, 0.78);
}

.card-note {
  margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--line);
  font-size: 0.85rem; line-height: 1.55; color: rgba(245, 247, 250, 0.58);
}

/* The honeypot. Off-screen rather than display:none, because some robots
   skip hidden fields and a screen reader should not announce it either. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
