:root {
  --ink: #0d1b2f;
  --muted: #62728a;
  --line: #dfe8f2;
  --soft: #f4f8fc;
  --blue: #0b75ef;
  --blue-dark: #075fc3;
  --navy: #0a1b31;
  --white: #ffffff;
  --shadow: 0 14px 36px rgba(25, 60, 95, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #f7faff;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: min(1210px, calc(100% - 40px)); margin: 0 auto; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #edf2f7;
}
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { text-decoration: none; display: inline-flex; flex-direction: column; line-height: 1; }
.brand-word { font-size: 30px; font-weight: 800; letter-spacing: -1.2px; color: #132642; }
.brand-word::first-letter { color: #0c67c9; }
.brand-tag { margin-top: 5px; font-size: 8px; letter-spacing: 3px; color: #71839a; }
.nav { display: flex; align-items: stretch; gap: 36px; min-height: 78px; }
.nav a { display: inline-flex; align-items: center; text-decoration: none; color: #24344b; font-size: 14px; border-bottom: 2px solid transparent; padding-top: 2px; }
.nav a.active { color: var(--blue); border-color: var(--blue); }

.hero { position: relative; overflow: hidden; min-height: 310px; background: linear-gradient(105deg, #e9f4ff 0%, #f9fcff 48%, #d8e9f7 100%); border-bottom: 1px solid #e4edf7; }
.hero-photo { position: absolute; inset: 0 0 0 auto; width: 57%; background: url('./assets/hero-car.jpg') center / cover no-repeat; }
.hero-fade { position: absolute; inset: 0; background: linear-gradient(90deg, #f7fbff 0%, rgba(247,251,255,.98) 41%, rgba(247,251,255,.5) 65%, rgba(247,251,255,.08) 100%); }
.hero-content { position: relative; z-index: 2; padding: 68px 0 58px; }
.eyebrow { margin: 0 0 16px; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: 3px; }
h1 { margin: 0; max-width: 680px; font-size: clamp(38px, 5vw, 58px); letter-spacing: -2px; line-height: 1.02; }
.hero-sub { max-width: 630px; margin: 18px 0 0; color: #586a82; font-size: clamp(18px, 2vw, 24px); line-height: 1.45; }
.hero-note { margin: 26px 0 0; color: #6b7e96; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; }

.content { padding: 44px 0 52px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 20px; }
.section-heading h2 { margin: 0; font-size: 29px; letter-spacing: -.6px; }
.section-heading p { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
.status-pill { flex: none; border: 1px solid #cfe0f2; background: #f0f7ff; color: #2d5f95; border-radius: 999px; padding: 8px 12px; font-size: 12px; }
.model-panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.model-group { padding: 25px 26px 27px; }
.old-group { border-top: 1px solid var(--line); background: #fbfdff; }
.group-label-row { display: flex; align-items: baseline; gap: 14px; margin-bottom: 16px; }
.group-label-row h3 { margin: 0; font-size: 18px; }
.group-label-row p { margin: 0; color: #78879b; font-size: 13px; }
.model-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.model-button {
  min-height: 70px;
  border: 1px solid #dbe6f1;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  padding: 14px 15px;
  text-align: left;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease, background .15s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
}
.model-button:hover { border-color: #9ec8f6; box-shadow: 0 8px 20px rgba(31,99,170,.09); transform: translateY(-1px); }
.model-button:focus-visible { outline: 3px solid rgba(11,117,239,.22); outline-offset: 2px; }
.model-button.selected { border-color: var(--blue); background: #f3f8ff; box-shadow: inset 0 0 0 1px var(--blue); }
.model-name { font-size: 17px; font-weight: 750; letter-spacing: -.2px; }
.model-arrow { color: #6d7d92; font-size: 12px; }
.model-badge { align-self: flex-start; border-radius: 999px; background: #eef2f6; color: #68778b; padding: 4px 8px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }

.software-panel { margin-top: 22px; background: #fff; border: 1px solid #d9e5f2; border-radius: 18px; box-shadow: var(--shadow); padding: 26px; opacity: 0; transform: translateY(5px); transition: opacity .14s ease, transform .14s ease; }
.software-panel.visible { opacity: 1; transform: translateY(0); }
.software-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.panel-kicker { margin: 0 0 5px; color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: 2.4px; }
.software-head h2 { margin: 0; font-size: 30px; letter-spacing: -.6px; }
.text-button { border: 0; background: transparent; color: #6d7b8f; font-size: 13px; cursor: pointer; padding: 8px 0; }
.download-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.download-card { border: 1px solid #dce7f2; border-radius: 14px; padding: 20px; min-height: 205px; display: flex; flex-direction: column; background: linear-gradient(180deg,#fff,#fbfdff); }
.download-title-row { display: flex; align-items: flex-start; gap: 12px; }
.platform-mark { flex: 0 0 auto; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: #e9f4ff; color: #076bcf; font-size: 12px; font-weight: 850; }
.download-card.ios .platform-mark { background: #eff2f6; color: #1c2836; }
.download-card.windows .platform-mark { background: #e8f2ff; color: #045ebd; }
.download-card h3 { margin: 0; font-size: 15px; }
.software-name { margin: 4px 0 0; color: #6b7b90; font-size: 12px; line-height: 1.35; }
.version-row { margin-top: 18px; color: #52657d; font-size: 13px; }
.download-button { margin-top: auto; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-radius: 9px; background: var(--blue); color: #fff; padding: 0 14px; font-size: 13px; font-weight: 700; text-decoration: none; transition: background .15s ease, transform .15s ease; }
.download-button:hover { background: var(--blue-dark); transform: translateY(-1px); }
.download-card.ios .download-button { background: #192433; }
.download-card.ios .download-button:hover { background: #0d1621; }
.download-note { margin: 18px 0 0; color: #7a899c; font-size: 12px; line-height: 1.55; }

.help-strip { margin-top: 22px; border: 1px solid #dae7f3; background: #f2f8fe; border-radius: 16px; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.help-copy { display: flex; align-items: flex-start; gap: 14px; }
.help-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #dceeff; color: #096dd1; font-weight: 800; }
.help-strip h3 { margin: 0; font-size: 16px; }
.help-strip p { margin: 6px 0 0; color: #63758c; font-size: 13px; }
.secondary-button { flex: none; border: 1px solid #bfd4ea; border-radius: 9px; background: #fff; color: #315675; text-decoration: none; padding: 11px 14px; font-size: 12px; font-weight: 700; }
.footer { border-top: 1px solid #e1e9f1; background: #fff; }
.footer-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #7a899b; font-size: 12px; }
.footer-inner > div { display: flex; align-items: baseline; gap: 14px; }
.footer strong { color: #243650; font-size: 19px; }

@media (max-width: 900px) {
  .shell { width: min(100% - 28px, 1210px); }
  .nav { gap: 20px; }
  .hero { min-height: 300px; }
  .hero-photo { width: 70%; opacity: .62; }
  .hero-fade { background: linear-gradient(90deg, #f8fcff 0%, rgba(248,252,255,.97) 55%, rgba(248,252,255,.55) 100%); }
  .model-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .download-grid { grid-template-columns: 1fr; }
  .download-card { min-height: 180px; }
}
@media (max-width: 620px) {
  .shell { width: min(100% - 22px, 1210px); }
  .nav-wrap { min-height: 66px; }
  .brand-word { font-size: 25px; }
  .brand-tag { font-size: 7px; letter-spacing: 2.1px; }
  .nav { min-height: 66px; }
  .nav a { font-size: 12px; }
  .nav a:not(.active) { display: none; }
  .hero { min-height: 270px; }
  .hero-photo { width: 100%; opacity: .32; background-position: 65% center; }
  .hero-fade { background: linear-gradient(90deg, rgba(248,252,255,.98) 0%, rgba(248,252,255,.9) 73%, rgba(248,252,255,.55) 100%); }
  .hero-content { padding: 48px 0 42px; }
  h1 { font-size: 39px; }
  .hero-sub { font-size: 17px; max-width: 90%; }
  .content { padding-top: 30px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .section-heading h2 { font-size: 25px; }
  .model-group { padding: 20px 16px 22px; }
  .group-label-row { align-items: flex-start; flex-direction: column; gap: 4px; }
  .model-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .model-button { min-height: 66px; padding: 12px; }
  .model-name { font-size: 15px; }
  .software-panel { padding: 20px 15px; }
  .software-head h2 { font-size: 25px; }
  .download-card { padding: 17px; }
  .help-strip { align-items: flex-start; flex-direction: column; padding: 20px; }
  .secondary-button { width: 100%; text-align: center; }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding: 20px 0; }
}
