/* JobMiles site. Same brand as the app: navy, road-line yellow, the icon's blue,
   Barlow Condensed for headings (self-hosted, so no page view reaches a font CDN). */
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("/assets/fonts/BarlowCondensed-Bold.ttf") format("truetype"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("/assets/fonts/BarlowCondensed-SemiBold.ttf") format("truetype"); }

:root {
  --navy: #14325C;
  --navy-deep: #0E2645;
  --yellow: #FFC72C;
  --blue: #2E8BE6;
  --page: #F5F6F8;
  --card: #FFFFFF;
  --line: #E1E5EB;
  --text: #111316;
  --muted: #5D6570;
  --link: #1D4F91;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --page: #0B0D10; --card: #181C22; --line: #2A303A; --text: #FFFFFF; --muted: #AEB5C0; --link: #8DB8F0; }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--text); font: 17px/1.6 var(--body); }
a { color: var(--link); }
img, svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.05; letter-spacing: 0.2px; margin: 0; }
p { margin: 0 0 12px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--card); padding: 8px 12px; z-index: 10; }

/* Road line: the dashed center line, decoration only. */
.road { height: 4px; background: repeating-linear-gradient(90deg, var(--yellow) 0 16px, transparent 16px 26px); border-radius: 2px; }
.road.short { width: min(320px, 70%); }
.road.gold { background: repeating-linear-gradient(90deg, #E0A800 0 16px, transparent 16px 26px); opacity: 0.8; }

/* Header */
.top { background: var(--navy); color: #fff; }
.top .wrap { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 24px; }
.brand img { width: 32px; height: 32px; }
.top nav { margin-left: auto; display: flex; gap: 18px; flex-wrap: wrap; }
.top nav a { color: #D6E2F2; text-decoration: none; font-size: 15px; }
.top nav a:hover, .top nav a[aria-current="page"] { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

/* Hero */
.hero { background: var(--navy); color: #fff; padding: 40px 0 56px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(42px, 7vw, 68px); }
.hero .road { margin: 18px 0 20px; }
.hero p.lead { font-size: 19px; color: #D6E2F2; max-width: 34em; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; align-items: center; }
.btn { display: inline-block; border-radius: 10px; padding: 12px 18px; font-weight: 600; text-decoration: none; font-size: 16px; }
.btn.yellow { background: var(--yellow); color: var(--navy); }
.btn.ghost { border: 1.5px solid rgba(255, 255, 255, 0.6); color: #fff; }
.soon { font-size: 14px; color: #D6E2F2; }

/* Phone drawn in HTML (no screenshots yet) */
.phone { width: min(300px, 100%); margin: 0 auto; border: 9px solid #1B1D21; border-radius: 34px; background: #F5F6F8; color: #111316; overflow: hidden; font-size: 13px; }
.phone .bar { background: #fff; border-bottom: 1px solid #E1E5EB; padding: 12px 14px; display: flex; gap: 6px; align-items: center; color: #1D4F91; }
.phone .bar b { margin: 0 auto; font-family: var(--display); font-size: 18px; color: #111316; }
.phone .body { padding: 14px; display: grid; gap: 10px; }
.badge { justify-self: start; display: inline-flex; align-items: center; gap: 6px; background: #E3EDF9; color: #1D4F91; border-radius: 99px; padding: 3px 10px; font-weight: 600; font-size: 12px; }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #1D4F91; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.stat { background: #fff; border: 1px solid #E1E5EB; border-radius: 12px; padding: 10px; }
.stat small { color: #5D6570; display: block; }
.stat strong { font-family: var(--display); font-size: 28px; display: block; line-height: 1.1; }
.stat span { color: #1D4F91; font-weight: 600; font-size: 12px; }
.pbtns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pbtns div { background: #14325C; color: #fff; border-radius: 12px; text-align: center; padding: 11px 0; font-weight: 600; }
.trip { background: #fff; border: 1px solid #E1E5EB; border-radius: 12px; padding: 10px; }
.trip em { font-style: normal; font-size: 11px; font-weight: 700; color: #1D4F91; letter-spacing: 0.4px; }
.trip div { display: flex; justify-content: space-between; font-weight: 600; }
.trip div span:last-child { font-family: var(--display); font-size: 17px; }

/* Sections */
section.band { padding: 56px 0; }
section.band h2 { font-size: clamp(32px, 5vw, 44px); margin-bottom: 8px; }
section.band .intro { color: var(--muted); max-width: 40em; margin-bottom: 28px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.steps .card::before { counter-increment: step; content: counter(step); display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--display); font-size: 20px; margin-bottom: 10px; }
.card h3 { font-size: 24px; margin-bottom: 6px; }
.card p { color: var(--muted); margin: 0; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.private { background: var(--navy-deep); color: #fff; }
.private .intro { color: #D6E2F2; }
.private ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.private li { padding-left: 26px; position: relative; }
.private li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 12px; height: 12px; transform: rotate(45deg); border: 2.5px solid var(--blue); border-radius: 2px; }
.private a { color: #fff; }

/* Text pages (privacy, support) */
.doc { max-width: 720px; margin: 0 auto; padding: 40px 16px 64px; }
.doc h1 { font-size: clamp(38px, 6vw, 52px); }
.doc .road { margin: 14px 0 22px; }
.doc h2 { font-size: 28px; margin: 36px 0 10px; }
.doc h3 { font-size: 21px; margin: 22px 0 6px; }
.doc li { margin-bottom: 8px; }
.muted { color: var(--muted); }
.note { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--navy); border-radius: 0 10px 10px 0; padding: 14px 16px; margin: 16px 0; }
@media (prefers-color-scheme: dark) { .note { border-left-color: var(--blue); } }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
footer nav { display: flex; gap: 18px; }
footer .fine { flex-basis: 100%; font-size: 13px; }

@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .steps, .grid { grid-template-columns: minmax(0, 1fr); }
  .private ul { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .top nav { gap: 12px; }
  .top nav a.hide-sm { display: none; }
}
