/* Phase 2 bridge — loaded after each phase-2 page's own <style> by deploy/build.py.

   The 50 pages not rebuilt in phase 1 (makes, cities, blog, policies) keep
   their own layout until phase 2, but take the new palette and type now.
   This file is temporary: it goes when the last of them is rebuilt.

   1. Type: their styles name Inter, Inter Tight and IBM Plex Mono. Those names
      are pointed at the self-hosted new faces, so every rule on those pages
      picks them up without being rewritten. (Inter -> IBM Plex Sans,
      Inter Tight -> Barlow Condensed, IBM Plex Mono -> IBM Plex Mono 500.)
   2. Colour: their blue tokens become graphite, steel and crate — structure,
      not action — and only the things you can act on are set in Signal. */

@font-face { font-family: 'Inter'; font-weight: 300 450; font-display: swap; src: url(/fonts/ibm-plex-sans-400-latin.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 451 550; font-display: swap; src: url(/fonts/ibm-plex-sans-500-latin.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 551 900; font-display: swap; src: url(/fonts/ibm-plex-sans-600-latin.woff2) format('woff2'); }
@font-face { font-family: 'Inter Tight'; font-weight: 300 650; font-display: swap; src: url(/fonts/barlow-condensed-600-latin.woff2) format('woff2'); }
@font-face { font-family: 'Inter Tight'; font-weight: 651 900; font-display: swap; src: url(/fonts/barlow-condensed-700-latin.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-weight: 300 900; font-display: swap; src: url(/fonts/ibm-plex-mono-500-latin.woff2) format('woff2'); }

:root {
  --ink: #1F2328; --ink-mid: #5B6670; --ink-soft: #5B6670;
  --line: #C9CED3; --line-soft: #E4E7EA;
  --bg: #FAF8F4; --bg-soft: #FAF8F4; --bg-soft2: #FAF8F4;
  /* the old blue was used for decoration as much as action: it becomes graphite */
  --blue-1: #1F2328; --blue-2: #5B6670; --blue-soft: #F3E7D3;
  --grad-blue: linear-gradient(#1F2328, #1F2328);
  --grad-blue-btn: linear-gradient(#FF9D00, #FF9D00);
  --green-1: #1E7B45; --green-soft: #E8F6EE;
  --shadow-sm: none; --shadow-md: none;
  --r-sm: 3px; --r-md: 3px; --r-lg: 3px;
}
body.ot { background: #FAF8F4; }

/* Condensed headlines don't want the tight tracking set for Inter Tight. */
body.ot h1, body.ot h2, body.ot h3, body.ot .section-title, body.ot .hero-title, body.ot .page-title { letter-spacing: 0 !important; }

/* Gradient text (kickers) becomes plain graphite. */
body.ot .kicker, body.ot .section-kicker, body.ot .eyebrow-pill { background: none !important; -webkit-text-fill-color: currentColor !important; color: #5B6670 !important; }
body.ot .eyebrow-pill { border-color: #C9CED3 !important; }
body.ot .note, body.ot .callout, body.ot .pull { background: #F3E7D3 !important; border-color: #E8D3B0 !important; }

/* No hover lift, no soft shadow on cards. */
body.ot [class]:hover { transform: none !important; }
body.ot .unit, body.ot .brand, body.ot .card, body.ot .post { box-shadow: none !important; }

/* Things you can act on: Signal, with graphite text. */
body.ot a.btn, body.ot .btn-primary, body.ot .vinbar button, body.ot .pr-send, body.ot button[type="submit"]:not(.ot-btn) {
  background: #FF9D00 !important; color: #1F2328 !important; border: 2px solid #FF9D00 !important; border-radius: 3px !important; box-shadow: none !important; }
body.ot a.btn:hover, body.ot .btn-primary:hover, body.ot .vinbar button:hover, body.ot .pr-send:hover { background: #FFB33D !important; }
body.ot .pr-open { border: 2px solid #FF9D00 !important; color: #9C5B00 !important; background: #FFFFFF !important; border-radius: 3px !important; }
body.ot .pr-open[aria-pressed="true"] { background: #FF9D00 !important; color: #1F2328 !important; }
body.ot .pr-go { background: #FF9D00 !important; color: #1F2328 !important; border: 2px solid #1F2328 !important; border-radius: 3px !important; }
body.ot .vinbar input:focus { border-color: #FF9D00 !important; box-shadow: 0 0 0 3px rgba(255, 157, 0, .35) !important; }

/* Plain text links in content: Signal ink, underlined. */
body.ot main a:not([class]), body.ot article a:not([class]), body.ot section p a:not([class]), body.ot li a:not([class]):not(.site-footer a), body.ot .help a, body.ot .soon-alt a, body.ot .post .more {
  color: #9C5B00 !important; text-decoration: underline !important; text-underline-offset: 3px; }

/* The VIN form's button says more now ("Get a quote for this VIN"): on a phone,
   the box and the button each take the full width instead of squeezing. */
@media (max-width: 600px) {
  body.ot .vinbar { flex-wrap: wrap; }
  body.ot .vinbar input { flex: 1 1 100%; min-width: 0; }
  body.ot .vinbar button { flex: 1 1 100%; min-height: 48px; white-space: nowrap; }
}

/* Labels above headings: no shouted, letter-spaced capitals. */
body.ot .kicker, body.ot .section-kicker, body.ot .eyebrow-pill { text-transform: none !important; letter-spacing: 0 !important; font-size: 15px !important; }

/* Browsers don't pass the page font into form controls: without this the
   VIN button and Request photos rendered in Arial on these pages. */
body.ot button, body.ot input, body.ot select, body.ot textarea { font-family: inherit; }
body.ot .vinbar input, body.ot input.mono { font-family: 'IBM Plex Mono', ui-monospace, monospace; }
