/* Driverwatcher — site styles */
:root {
  --paper: #f4f1ea;
  --paper-2: #ebe7dd;
  --ink: #111111;
  --ink-2: #444444;
  --ink-3: #777777;
  --line: #d9d4c7;
  --orange: #ff7a00;
  --orange-dark: #cc6200;
  --navy: #0b1f52;
  --navy-2: #173070;
  --white: #ffffff;
  --bim-blue: #00267f;
  --bim-gold: #ffc726;
  --radius: 14px;
  --max: 1160px;
  --sans: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Space Mono', 'Courier New', monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 18px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--orange-dark); text-decoration: none; }
a:hover { color: var(--orange); }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(44px, 6vw, 84px); letter-spacing: -0.03em; }
h2 { font-size: clamp(34px, 4vw, 52px); }
h3 { font-size: 24px; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow { font-family: var(--mono); font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.lead { font-size: 22px; color: var(--ink-2); max-width: 620px; }
.muted { color: var(--ink-2); }
.mono { font-family: var(--mono); }

/* buttons */
.btn { white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border-radius: 999px; font-weight: 700; font-size: 17px; border: 2px solid var(--ink); color: var(--ink); background: transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, color .15s ease; }
.btn:hover { transform: translateY(-2px); color: var(--ink); }
.btn-primary { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.btn-primary:hover { background: #ff8c1f; border-color: #ff8c1f; }
.btn-dark { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn-dark:hover { color: var(--white); background: #2a2a2a; }
.btn-sm { padding: 10px 18px; font-size: 15px; }
.btn svg { width: 20px; height: 20px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(244,241,234,0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.nav .logo img { height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: 17px; }
.nav-links a:hover, .nav-links a.active { color: var(--orange-dark); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle svg { width: 28px; height: 28px; }

/* promo bar */
.promo-bar { background: var(--bim-blue); color: var(--white); font-size: 15px; padding: 10px 0; border-bottom: 4px solid var(--bim-gold); }
.promo-bar .wrap { display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; text-align: center; }
.promo-bar strong { color: var(--bim-gold); }
.promo-bar .short { display: none; }
.promo-bar a { color: var(--bim-gold); text-decoration: underline; text-underline-offset: 3px; }

/* sections */
section { padding: 96px 0; }
section.tight { padding: 64px 0; }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 720px; margin-bottom: 48px; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.card h3 { font-size: 22px; }
.card p { color: var(--ink-2); font-size: 17px; }
.icon { width: 44px; height: 44px; border-radius: 12px; background: #fff1e3; display: flex; align-items: center; justify-content: center; }
.icon svg { width: 24px; height: 24px; stroke: var(--orange); }

/* hero */
.hero { padding: 72px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-proof { display: flex; gap: 28px; flex-wrap: wrap; font-family: var(--mono); font-size: 14px; color: var(--ink-3); }
.hero-proof span::before { content: "—"; margin-right: 8px; color: var(--orange); }

/* phone mock */
.phone { width: 340px; margin: 0 auto; background: #e6e2d8; border: 1px solid #cfc9bb; border-radius: 48px; padding: 14px; box-shadow: 0 40px 80px rgba(0,0,0,0.22); }
.phone-screen { position: relative; border-radius: 36px; overflow: hidden; background: #eef2f8; height: 640px; }
.phone-screen svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.phone-card { position: absolute; left: 16px; right: 16px; background: var(--white); border-radius: 16px; box-shadow: 0 8px 24px rgba(11,31,82,0.12); padding: 14px 16px; display: flex; align-items: center; gap: 12px; font-size: 14px; }
.phone-card.top { top: 22px; }
.phone-card.bottom { bottom: 22px; flex-direction: column; align-items: stretch; gap: 8px; }
.phone-card img { width: 32px; }
.phone-card .row { display: flex; justify-content: space-between; color: var(--ink-3); font-size: 13px; }
.phone-card .cta { background: var(--orange); border-radius: 10px; padding: 10px; text-align: center; font-weight: 700; font-size: 14px; margin-top: 4px; }
.live { color: #1f9d4b; font-weight: 500; font-size: 13px; }
@keyframes ping { 0% { transform: scale(0.5); opacity: 0.8; } 100% { transform: scale(2.6); opacity: 0; } }
.ping { transform-origin: center; transform-box: fill-box; animation: ping 2.2s ease-out infinite; }

/* promo card — Independence theme */
.promo { position: relative; overflow: hidden; background: var(--bim-blue); color: var(--white); border-radius: 24px; padding: 48px; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; }
.promo::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 14px; background: linear-gradient(to bottom, var(--bim-blue) 0 33.3%, var(--bim-gold) 33.3% 66.6%, var(--bim-blue) 66.6%); border-right: 2px solid rgba(255,255,255,0.15); }
.promo .trident { position: absolute; right: -30px; top: -10px; height: 115%; opacity: 0.1; }
.promo .trident path { stroke: var(--bim-gold); }
.promo-copy { position: relative; display: flex; flex-direction: column; gap: 18px; }
.promo .eyebrow { color: var(--bim-gold); }
.promo .big { font-size: clamp(64px, 8vw, 120px); line-height: 0.9; letter-spacing: -0.04em; color: var(--bim-gold); }
.promo p { color: #dfe6ff; max-width: 560px; }
.promo-note { font-family: var(--mono); font-size: 13px; color: #aab6e0; }
.btn-gold { background: var(--bim-gold); border-color: var(--bim-gold); color: var(--ink); align-self: flex-start; }
.btn-gold:hover { background: #ffd24d; border-color: #ffd24d; }
.promo-list { position: relative; list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-family: var(--mono); font-size: 15px; }
.promo-list li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed rgba(255,255,255,0.3); padding-bottom: 10px; }
.promo-list li span:last-child { color: var(--bim-gold); text-align: right; }
.promo-list.light li { border-bottom-color: var(--line); color: var(--ink-2); }
.promo-list.light li span:last-child { color: var(--ink); font-weight: 700; }

/* 'Including:' label */
.promo-side { position: relative; display: flex; flex-direction: column; gap: 12px; }
.promo-side-label { font-family: var(--mono); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bim-gold); }
.price-card .promo-side-label { margin-bottom: -8px; }

/* steps */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 72px; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: -4px; font-family: var(--mono); font-size: 40px; font-weight: 700; color: var(--orange); }

/* pricing */
.price-card { background: var(--white); border: 2px solid var(--ink); border-radius: 24px; padding: 40px; display: flex; flex-direction: column; gap: 20px; }
.price-card.accent { position: relative; overflow: hidden; background: var(--bim-blue); color: var(--white); border-color: var(--bim-blue); }
.price-card.accent .tag { background: var(--bim-gold); }
.price-card.accent .btn-primary { background: var(--bim-gold); border-color: var(--bim-gold); }
.price-card.accent p, .price-card.accent li { color: #d6d6d6; }
.price { display: flex; align-items: baseline; gap: 8px; }
.price .amount { font-size: 72px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.price .per { font-family: var(--mono); font-size: 15px; color: var(--ink-3); }
.price-card.accent .amount { color: var(--bim-gold); }
.price-card.accent .check-list li::before { background: var(--bim-gold); }
.check-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; color: var(--ink-2); }
.check-list li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--orange); margin-top: 2px; -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M4 10.5 8.5 15 16 6' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/14px no-repeat, linear-gradient(#000 0 0); mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M4 10.5 8.5 15 16 6' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/14px no-repeat, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.tag { display: inline-block; font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--orange); color: var(--ink); align-self: flex-start; }

/* trackers */
.tracker { display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: start; }
.tracker .device { width: 96px; height: 96px; border-radius: 18px; background: var(--paper-2); display: flex; align-items: center; justify-content: center; }
.tracker .device svg { width: 56px; height: 56px; }
.tracker ul { margin: 6px 0 0; padding-left: 18px; color: var(--ink-2); font-size: 16px; display: flex; flex-direction: column; gap: 4px; }

/* faq */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 20px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 26px; color: var(--orange); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; color: var(--ink-2); max-width: 760px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-list { display: flex; flex-direction: column; gap: 22px; }
.contact-list .item { display: flex; gap: 16px; }
.contact-list .item strong { display: block; font-size: 15px; font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); margin-bottom: 4px; }
.contact-list .item a, .contact-list .item span { font-size: 19px; color: var(--ink); }
form.form { display: flex; flex-direction: column; gap: 14px; background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 32px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); }
.form input, .form select, .form textarea { font: inherit; font-family: var(--sans); font-size: 17px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--orange); border-color: var(--orange); }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* cta band */
.cta-band { background: var(--orange); }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(28px, 3.4vw, 44px); }

/* footer */
.site-footer { background: var(--ink); color: #bdbdbd; padding: 64px 0 32px; font-size: 15px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.site-footer img { height: 44px; width: auto; margin-bottom: 16px; }
.site-footer h4 { color: var(--white); font-size: 14px; font-family: var(--mono); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer a { color: #bdbdbd; }
.site-footer a:hover { color: var(--orange); }
.site-footer .bottom { border-top: 1px solid #2c2c2c; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--mono); font-size: 13px; }

/* page hero (inner pages) */
.page-hero { padding: 72px 0 40px; }
.page-hero .wrap { display: flex; flex-direction: column; gap: 16px; max-width: 820px; }

/* responsive */
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .phone { width: 300px; }
  .phone-screen { height: 560px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promo { grid-template-columns: 1fr; padding: 36px; }
  .contact-grid { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  section { padding: 64px 0; }
  .nav { height: 72px; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 72px; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 16px; }
  .nav-links li a { display: block; padding: 12px 0; font-size: 18px; }
  .nav.open .nav-links { display: flex; }
  .nav-cta .btn-sm.hide-m { display: none; }
  .nav-toggle { display: block; }
  .promo-bar .long { display: none; }
  .promo-bar .short { display: inline; }
  .nav-cta .btn-sm { padding: 10px 14px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form .two { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .step { padding-left: 0; padding-top: 44px; }
  .tracker { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
}
