/* Test Drive V1: a restrained, accessible companion to the Visware site style. */
:root {
  color-scheme: light;
  --bg: #fff;
  --text: #202124;
  --heading: #111827;
  --muted: #5f6368;
  --accent: #1967d2;
  --link: #1558b0;
  --line: #e1e6ed;
  --surface: #f8fafc;
  --visual: #edf3fa;
  --drawing: #7095c0;
  --car: #fff;
  --wheel: #25364b;
  --button: #1967d2;
  --button-hover: #1558b0;
  --button-text: #fff;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #0b0f14;
    --text: #e6eaee;
    --heading: #f1f5f9;
    --muted: #a5abb3;
    --accent: #8ab4f8;
    --link: #8ab4f8;
    --line: #293544;
    --surface: #111820;
    --visual: #142236;
    --drawing: #53769e;
    --car: #243e5c;
    --wheel: #b2c8e4;
    --button: #8ab4f8;
    --button-hover: #b8d1fb;
    --button-text: #0b0f14;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
main:focus { outline: none; }
h1, h2, h3 { color: var(--heading); line-height: 1.2; margin: 0 0 1rem; overflow-wrap: anywhere; }
h1 { font-size: clamp(2rem, 1.5rem + 1.7vw, 3rem); letter-spacing: -.035em; font-weight: 650; }
h2 { font-size: clamp(1.7rem, 1.4rem + 1vw, 2.25rem); letter-spacing: -.025em; font-weight: 650; }
h3 { font-size: 1.125rem; font-weight: 600; }
p { margin: 0 0 1rem; }
a { color: var(--link); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.container { width: min(1080px, 92%); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; left: -9999px; top: .5rem; }
.skip-link:focus { left: .5rem; padding: .65rem 1rem; border-radius: .4rem; background: var(--button); color: var(--button-text); }
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 10; }
.header-grid { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding-block: .85rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--heading); text-decoration: none; font-size: 1.55rem; letter-spacing: -.025em; font-weight: 500; white-space: nowrap; }
.brand img { flex: 0 0 auto; }
.nav { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.nav a { min-height: 44px; display: inline-flex; align-items: center; gap: .35rem; text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav a:hover { text-decoration: underline; }
.mission { padding-block: 3.5rem; background: linear-gradient(180deg, var(--surface), var(--bg)); border-bottom: 1px solid var(--line); }
.mission-grid, .about-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 3rem; }
.mission h1 { margin: 0; }
.eyebrow { color: var(--link); font-size: .9rem; font-weight: 600; margin-bottom: .75rem; }
.mission-text { color: var(--muted); font-size: 1.125rem; margin: 0; }
.product-section { padding-block: 2.5rem 1rem; }
.product-card { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); border: 1px solid var(--line); background: var(--surface); border-radius: .85rem; overflow: hidden; }
.product-copy { padding: 2.25rem; }
.product-copy h2 { font-size: 2.5rem; }
.product-intro { font-size: 1.0625rem; }
.product-action { display: flex; align-items: flex-start; gap: .75rem; flex-direction: column; margin-top: 1.5rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 2.5rem; min-height: 46px; max-width: 100%; border-radius: .45rem; padding: .7rem 1.15rem; font-weight: 600; color: var(--button-text); background: var(--button); text-decoration: none; }
.button:hover { background: var(--button-hover); }
.action-note { color: var(--muted); font-size: .875rem; }
.garage-visual { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem 1.75rem; background: var(--visual); border-left: 1px solid var(--line); }
.garage-sign { color: var(--link); border: 1px solid var(--drawing); border-radius: .25rem; font-weight: 600; letter-spacing: .3em; font-size: .85rem; padding: .25rem .6rem .25rem .85rem; margin-bottom: 1rem; }
.garage-drawing { width: 100%; max-width: 390px; height: auto; overflow: visible; }
.garage-structure { stroke: var(--drawing); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ground { opacity: .5; }
.car-fill { fill: var(--car); }
.car-line { stroke: var(--link); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.wheel { fill: var(--wheel); }
.hub { fill: var(--visual); }
.garage-visual p { color: var(--muted); margin: 1rem 0 0; font-size: .875rem; }
.details-section { padding-block: 1.5rem 3rem; }
.details-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.25rem; }
.details-grid article { border-top: 1px solid var(--line); padding-top: 1.25rem; }
.detail-number { display: block; color: var(--link); font-size: .8rem; font-weight: 600; letter-spacing: .08em; margin-bottom: .85rem; }
.details-grid p { color: var(--muted); font-size: .95rem; margin: 0; }
.about-section { border-top: 1px solid var(--line); padding-block: 2.75rem; }
.about-section h2 { font-size: 1.75rem; margin: 0; }
.about-copy p { color: var(--muted); }
.about-copy p:last-child { margin: 0; }
.site-footer { border-top: 1px solid var(--line); background: var(--surface); }
.footer-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem; padding-block: 1.75rem 1.25rem; }
.footer-grid strong { color: var(--heading); font-size: .95rem; font-weight: 600; }
.footer-location { display: block; color: var(--muted); font-size: .875rem; font-style: normal; margin-top: .3rem; }
.footer-grid nav { display: flex; gap: 1.5rem; flex-wrap: wrap; font-size: .9rem; }
.footer-grid nav a { display: inline-flex; align-items: center; min-height: 44px; }
.legal { border-top: 1px solid var(--line); color: var(--muted); padding-block: 1rem 1.5rem; }
.legal small { font-size: .8rem; }
.error-main { padding-block: 5rem; }
.error-main p { max-width: 38rem; color: var(--muted); }
.error-main .button { margin-top: 1rem; }
@media (max-width: 767px) {
  .mission-grid, .about-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .mission { padding-block: 2.25rem; }
  .product-card { grid-template-columns: 1fr; }
  .product-copy { padding: 1.75rem; }
  .garage-visual { border-left: 0; border-top: 1px solid var(--line); padding: 1.5rem; }
  .garage-drawing { max-width: 330px; }
  .details-grid { gap: 1.25rem; }
  .about-section { padding-block: 2.25rem; }
  .desktop-break { display: none; }
}
@media (max-width: 559px) {
  html { scroll-padding-top: 8rem; }
  .header-grid { align-items: flex-start; flex-direction: column; gap: .35rem; padding-block: .7rem .3rem; }
  .brand { font-size: 1.4rem; }
  .brand img { width: 36px; height: 36px; }
  .nav { gap: 1.5rem; }
  .nav a { font-size: .875rem; }
  .product-section { padding-top: 1.75rem; }
  .product-copy { padding: 1.5rem; }
  .details-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .details-section { padding-bottom: 2.25rem; }
  .footer-grid { flex-direction: column; gap: .5rem; }
}
@media (max-height: 500px) { .site-header { position: static; } }
@media (forced-colors: active) {
  .button { border: 1px solid ButtonText; }
  .garage-visual { display: none; }
  .product-card { grid-template-columns: 1fr; }
}
@media print {
  .site-header { position: static; }
  .garage-visual { display: none; }
  .product-card { grid-template-columns: 1fr; }
}
