/* Flagstop marketing site — plain CSS, no build step.
   Light-first (directors print things); dark supported via media query.
   Accent: flag orange — deliberately not transit-agency blue. */

:root {
  --ink: #24303f;
  --sub: #5b6979;
  --bg: #fdfcfa;
  --surface: #ffffff;
  --line: #e4e0d8;
  --accent: #bf4e1a;
  --accent-ink: #a03e10;
  --callout-bg: #f4ede4;
  --chrome: #eee9e1;
  --shadow: 0 24px 60px -24px rgba(36, 48, 63, .28), 0 6px 18px -8px rgba(36, 48, 63, .14);
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e9edf2;
    --sub: #9aa7b5;
    --bg: #14181e;
    --surface: #1b212a;
    --line: #2b3441;
    --accent: #e06a30;
    --accent-ink: #ec7c45;
    --callout-bg: #221c15;
    --chrome: #232a34;
    --shadow: 0 24px 60px -24px rgba(0, 0, 0, .6), 0 6px 18px -8px rgba(0, 0, 0, .4);
  }
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px; line-height: 1.65;
  color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* ---------- header ---------- */
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 1080px; margin: 0 auto; padding: 18px 22px;
}
.brand {
  display: flex; align-items: center; gap: 8px;
  font-weight: 750; font-size: 20px; letter-spacing: .01em;
  color: var(--ink); text-decoration: none;
}
.flag { width: 22px; height: 22px; fill: var(--accent); stroke: var(--accent); stroke-width: 2; }
.flag path:first-child { fill: none; stroke: var(--ink); }
.top nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.top nav a {
  color: var(--sub); text-decoration: none; font-size: 14.5px; font-weight: 550;
  padding: 6px 10px; border-radius: 8px;
}
.top nav a:hover { color: var(--ink); }
.top nav a.pill { color: var(--accent-ink); border: 1.5px solid var(--accent); border-radius: 999px; padding: 5px 14px; }
.top nav a.pill:hover { background: var(--accent); color: #fff; }

/* ---------- layout ---------- */
main { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
section { padding: 56px 0; border-bottom: 1px solid var(--line); }
section:last-of-type { border-bottom: none; }
h1 { font-size: clamp(34px, 5vw, 50px); line-height: 1.08; letter-spacing: -0.015em; }
h2 { font-size: clamp(23px, 3.5vw, 30px); line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 18px; }
h3 { font-size: 17px; margin: 10px 0 6px; }
p { max-width: 68ch; }
.prose p + p { margin-top: 14px; }
.center { text-align: center; }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: minmax(320px, 5fr) 6fr;
  gap: 44px; align-items: center;
  padding: 56px 0 64px;
}
.eyebrow {
  color: var(--accent-ink); font-weight: 700; font-size: 13.5px;
  text-transform: uppercase; letter-spacing: .09em; margin-bottom: 14px;
}
.lede { font-size: 19px; color: var(--sub); margin-top: 16px; max-width: 58ch; }
.hero-actions { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-block; background: var(--accent); color: #fff;
  font-weight: 650; font-size: 15.5px; text-decoration: none;
  padding: 11px 22px; border-radius: 10px;
}
.btn:hover { background: var(--accent-ink); }
.btn.ghost { background: transparent; color: var(--accent-ink); border: 1.5px solid var(--accent); }
.btn.ghost:hover { background: var(--accent); color: #fff; }

/* ---------- framed screenshots ---------- */
.shot {
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--surface);
}
.shot img { display: block; width: 100%; height: auto; }
.chrome {
  display: flex; align-items: center; gap: 6px;
  background: var(--chrome); padding: 9px 12px;
  border-bottom: 1px solid var(--line);
}
.chrome span { width: 10px; height: 10px; border-radius: 999px; background: var(--line); }
.chrome span:first-child { background: #e8886a; }
.chrome i {
  font-style: normal; font-size: 12px; color: var(--sub);
  background: var(--bg); border-radius: 6px; padding: 2px 14px; margin-left: 10px;
}
.hero-shot { transform: rotate(.4deg); }

/* ---------- cards ---------- */
.cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px; margin-top: 26px;
}
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 20px 20px 18px;
  transition: transform .12s ease, border-color .12s ease;
}
.card:hover { transform: translateY(-2px); border-color: var(--accent); }
.card svg {
  width: 26px; height: 26px; fill: none;
  stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.card p { font-size: 15.5px; color: var(--sub); }
.card.ask { border-color: var(--accent); border-width: 1.5px; }
.aside { margin-top: 26px; color: var(--sub); font-size: 15.5px; }

/* ---------- showcase ---------- */
.showcase { padding-top: 48px; }
.show-row {
  display: grid; grid-template-columns: 7fr 5fr;
  gap: 44px; align-items: center;
  margin-bottom: 56px;
}
.show-row.flip { grid-template-columns: 5fr 7fr; }
.show-row.flip .shot { order: 2; }
.show-copy h2 { margin-bottom: 12px; }
.show-copy p { color: var(--sub); font-size: 16.5px; }
.showcase .fine { margin-bottom: 0; }

/* ---------- steps ---------- */
.steps { margin: 20px 0 22px; padding-left: 0; counter-reset: step; list-style: none; }
.steps li {
  counter-increment: step; position: relative;
  padding: 0 0 18px 52px; max-width: 68ch;
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 1px;
  width: 34px; height: 34px; border-radius: 999px;
  display: grid; place-items: center;
  background: var(--accent); color: #fff; font-weight: 750; font-size: 16px;
}

/* ---------- callout (privacy) ---------- */
.callout {
  background: var(--callout-bg);
  border-radius: 16px; padding: 40px 34px; margin: 42px 0;
  border-bottom: none;
}
.callout h2 { color: var(--accent-ink); }

/* ---------- contact ---------- */
.contact { text-align: left; }
.contact-line { margin-top: 20px; }

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--line);
  max-width: 1080px; margin: 0 auto; padding: 34px 22px 46px;
  color: var(--sub); font-size: 15px;
}
footer div { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
footer .flag { width: 18px; height: 18px; }
.fine { margin-top: 14px; font-size: 13.5px; color: var(--sub); }
.fine a { color: var(--accent-ink); }

/* ---------- small screens ---------- */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 32px; padding: 40px 0 48px; }
  .hero-shot { transform: none; }
  .show-row, .show-row.flip { grid-template-columns: 1fr; gap: 20px; margin-bottom: 44px; }
  .show-row.flip .shot { order: 0; }
}
@media (max-width: 560px) {
  .top { flex-direction: column; align-items: flex-start; }
  section { padding: 40px 0; }
  .callout { padding: 30px 22px; }
}
