/* /get-started only. Loaded after tools.css and built entirely from its tokens, so the palette,
 * the dark theme and the asphalt button are inherited rather than restated.
 *
 * The phone is drawn here rather than photographed: no image request, nothing to go stale, and it
 * follows the theme. Figures use the display face with tabular digits — these pages deliberately
 * load no monospace font (see the header of tools.css).
 */

.gs h1 {
  font-size: clamp(34px, 7vw, 54px);
  line-height: 1.04;
}

.gs-body {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  margin: 32px 0 8px;
}

/* ── the phone ─────────────────────────────────────────────────────────────────────────────── */
.gs-phone {
  margin: 0;
}
.gs-phone__screen {
  position: relative;
  background: var(--card);
  border: 9px solid var(--panel);
  border-radius: 38px;
  padding: 34px 16px 22px;
  box-shadow: 0 18px 40px rgba(23, 26, 31, 0.18);
}
/* the speaker notch */
.gs-phone__screen::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 84px;
  height: 16px;
  margin-left: -42px;
  border-radius: 10px;
  background: var(--panel);
}
.gs-phone__bar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
  color: var(--sub);
}
.gs-phone__bar strong {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ink);
}
.gs-phone__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
  margin: 14px 0 4px;
}
.gs-phone__stats div:last-child {
  grid-column: 1 / -1;
  background: var(--amber-bg);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
}
.gs-phone__stats dt {
  font-size: 12px;
  color: var(--sub);
}
.gs-phone__stats dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.gs-phone__note {
  font-size: 12px;
  color: var(--sub);
  margin: 0 0 12px;
}
.gs-phone__rows {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.gs-phone__rows li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--sub);
}
.gs-phone__rows b {
  color: var(--ink);
}
.gs-fig {
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  white-space: nowrap;
}
.gs-phone figcaption {
  font-size: 12px;
  color: var(--sub);
  text-align: center;
  margin-top: 12px;
}

/* ── the four features ─────────────────────────────────────────────────────────────────────── */
.gs-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 22px;
}
.gs-features li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.gs-icon {
  box-sizing: content-box;
  padding: 12px;
  border-radius: 50%;
  background: var(--amber-bg);
  color: var(--amber-text);
}
.gs-features h2 {
  font-size: 22px;
  margin: 0 0 4px;
}
.gs-features p {
  margin: 0;
  color: var(--sub);
}

/* ── QR and the way in ─────────────────────────────────────────────────────────────────────── */
.gs-start {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin: 40px 0 0;
  padding: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.gs-qr {
  display: block;
  width: 148px;
  height: 148px;
  border-radius: var(--radius-sm);
}
.gs-start h2 {
  margin: 0 0 8px;
}
.gs-start .cta {
  display: inline-block;
  min-width: 200px;
}
.gs-start .cta-note {
  text-align: left;
}

/* One sentence differs between the screen and the sheet; see the print block below. */
.gs-print-only {
  display: none;
}

.gs-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 28px;
  margin: 32px 0 8px;
  font-family: var(--font-display);
  font-size: 24px;
}
.gs-strip span + span {
  border-left: 1px solid var(--line);
  padding-left: 28px;
}

@media (max-width: 700px) {
  .gs-body {
    grid-template-columns: minmax(0, 1fr);
  }
  .gs-phone {
    max-width: 300px;
    margin: 0 auto;
  }
  .gs-start {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
  }
  .gs-start .cta {
    display: block;
  }
  .gs-start .cta-note {
    text-align: center;
  }
  .gs-strip span + span {
    border-left: 0;
    padding-left: 0;
  }
}

/* ── the flyer: print this page and it is one sheet ────────────────────────────────────────────
   No second page and no PDF to keep in step: the flyer IS /get-started, printed. Everything a
   sheet of paper cannot use goes — navigation, search, the footer's links, the Ask box — and the
   wordmark, the phone, the four features, the QR code and the disclaimer stay.

   LIGHT, WHATEVER THE READER'S THEME. The tokens are restated because a dark-mode reader would
   otherwise print light grey type on white paper. `print-color-adjust: exact` is on the few fills
   that carry meaning, since browsers drop backgrounds by default and the phone's notch, the amber
   tile and the icon discs are all backgrounds.

   The button becomes a line of text with the address in it: nobody can tap paper. */
@media print {
  @page {
    size: letter portrait;
    margin: 0.5in;
  }

  :root {
    --paper: #ffffff;
    --card: #ffffff;
    --ink: #171a1f;
    --sub: #5a6472;
    --line: #e2e6ea;
    --amber-bg: #fff7e0;
    --amber-text: #8a6100;
    --panel: #171a1f;
  }
  body {
    background: #ffffff;
    color: var(--ink);
  }

  .skip,
  .nav-actions,
  .site-search,
  footer.site .site-links,
  .ask-launch,
  .gs-screen-only {
    display: none !important;
  }
  .gs-print-only {
    display: block;
  }
  .wrap {
    max-width: none;
    padding: 0;
  }

  .gs h1 {
    font-size: 30pt;
    margin: 8pt 0 6pt;
  }
  .gs-body {
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 24px;
    margin: 10pt 0 0;
  }
  .gs-phone__screen {
    box-shadow: none;
    padding: 30px 14px 14px;
  }
  .gs-phone__stats dd {
    font-size: 24px;
  }
  .gs-features {
    gap: 12px;
  }
  .gs .lede {
    font-size: 12pt;
    margin-bottom: 0;
  }
  .gs-phone__screen::before,
  .gs-phone__stats div:last-child,
  .gs-icon,
  .brand-mark {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .gs-body,
  .gs-start,
  .gs-features li {
    break-inside: avoid;
  }
  .gs-start {
    grid-template-columns: 1.5in minmax(0, 1fr);
    margin-top: 12pt;
    padding: 12pt 14pt;
    text-align: left;
    justify-items: start;
  }
  .gs-qr {
    width: 1.5in;
    height: 1.5in;
  }
  .gs-start .cta {
    display: inline;
    min-width: 0;
    padding: 0;
    margin: 0;
    background: none;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 20pt;
  }
  .gs-start .cta::after {
    content: " at www.roadkept.com";
  }
  .gs-start .cta-note {
    text-align: left;
  }

  .nav {
    margin-bottom: 0;
    padding-bottom: 6pt;
  }
  .gs-phone__rows li {
    padding: 6px 0;
  }
  .gs-phone figcaption {
    margin-top: 6px;
  }
  .gs-features h2 {
    font-size: 15pt;
  }
  .gs-features p,
  .gs-start p {
    font-size: 10.5pt;
    line-height: 1.4;
    margin: 0 0 4pt;
  }
  .gs-start h2 {
    font-size: 17pt;
    margin: 0 0 4pt;
  }
  footer.site p {
    margin: 0 0 3pt;
  }
  .gs-strip {
    margin: 10pt 0 0;
    font-size: 16pt;
  }
  footer.site {
    margin-top: 8pt;
    padding: 6pt 0 0;
    font-size: 8pt;
  }
  footer.site .disclaimer {
    font-size: 8pt;
  }
  footer.site a {
    color: var(--sub);
    text-decoration: none;
  }
}
