/* Vision Business Solutions — tokens taken one-to-one from the client's design.md */
:root {
  /* colors */
  --primary: #0071e3;
  --secondary: #0066cc;
  --tertiary: #f5f5f7;
  --neutral-0: #ffffff;
  --neutral-50: #f5f5f7;
  --neutral-100: #e5e7eb;
  --neutral-900: #1d1d1f;
  --surface: #ffffff;
  --surface-muted: #f5f5f7;
  --on-surface: #1d1d1f;
  --on-surface-muted: #6e6e73;
  --on-surface-inverse: #ffffff;
  --error: #d92d20;

  /* typography */
  --font-display: "SF Pro Display", "SF Pro Icons", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-text: "SF Pro Text", "SF Pro Icons", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* shape */
  --rounded-sm: 4px;
  --rounded-md: 8px;
  --rounded-lg: 16px;
  --rounded-xl: 24px;
  --rounded-full: 980px;

  /* spacing */
  --space-xs: 4px;
  --space-sm: 12px;
  --space-md: 20px;
  --space-lg: 44px;
  --space-xl: 102px;

  --nav-height: 48px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--surface);
  color: var(--on-surface);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: var(--secondary); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: var(--rounded-sm); }

.skip-link {
  position: absolute; left: var(--space-sm); top: -100px;
  background: var(--surface); padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--neutral-100); border-radius: var(--rounded-md); z-index: 20;
}
.skip-link:focus { top: var(--space-sm); }

/* ---------- Type ---------- */
.headline-display { font-family: var(--font-display); font-size: 48px; font-weight: 700; line-height: 58px; letter-spacing: 0; }
.headline-lg { font-family: var(--font-display); font-size: 40px; font-weight: 600; line-height: 52px; letter-spacing: -0.096px; }
.headline-md { font-family: var(--font-display); font-size: 34px; font-weight: 600; line-height: 36px; letter-spacing: 0.064px; }
.body-lg { font-family: var(--font-display); font-size: 24px; font-weight: 400; line-height: 36px; letter-spacing: 0.216px; }
.body-md { font-size: 17px; line-height: 1.35; }
.headline-display, .headline-lg, .headline-md, .body-lg { text-wrap: balance; }
.muted { color: var(--on-surface-muted); }
.eyebrow { font-size: 17px; line-height: 1.35; color: var(--on-surface-muted); margin-bottom: var(--space-sm); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1024px; margin: 0 auto; padding: 0 22px; }
.container--center { text-align: center; }
.container--narrow { max-width: 780px; }
.section { padding: var(--space-xl) 0; }
.section--tint { background: var(--tertiary); }
.section__sub, .hero__sub { margin-top: var(--space-md); max-width: 720px; margin-left: auto; margin-right: auto; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-md); margin-top: var(--space-lg); }

.grid { display: grid; gap: var(--space-md); margin-top: var(--space-lg); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: var(--surface);
  border-bottom: 1px solid var(--neutral-100);
}
.nav__inner {
  max-width: 1024px; height: var(--nav-height); margin: 0 auto; padding: 0 22px;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-md);
}
.nav a { color: var(--on-surface); font-size: 13px; line-height: 1.4; white-space: nowrap; }
.nav a:hover { text-decoration: none; color: var(--on-surface-muted); }
.nav__brand { font-family: var(--font-display); font-weight: 600; font-size: 15px !important; }
.nav__links { display: flex; gap: 32px; }
.nav__call { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 11px 21px;
  border-radius: var(--rounded-full); border: 1px solid transparent;
  font-family: var(--font-text); font-size: 17px; font-weight: 400; line-height: 1.35; letter-spacing: 0;
  box-shadow: none; cursor: pointer; text-decoration: none;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--primary); color: var(--on-surface-inverse); }
.btn--primary:hover { background: #0077ed; }
.btn--secondary { background: transparent; color: var(--secondary); border-color: var(--secondary); }
.btn--secondary:hover { background: var(--secondary); color: var(--on-surface-inverse); }
.btn[disabled] { opacity: .5; cursor: default; }

/* ---------- Card ---------- */
.card {
  background: var(--surface); color: var(--on-surface);
  border: 1px solid var(--neutral-100); border-radius: var(--rounded-md);
  padding: 16px; box-shadow: none;
}

/* ---------- Hero ---------- */
.hero { padding-bottom: 0; overflow: hidden; }
.hero .headline-display { max-width: 760px; margin: 0 auto; }
.lineup {
  display: flex; align-items: flex-end; justify-content: center; gap: 4%;
  margin-top: var(--space-xl); padding-bottom: var(--space-xl);
}
.lineup img { flex: 0 1 auto; min-width: 0; }
.lineup__mini { width: 23%; }
.lineup__station { width: 50%; }
.lineup__flex { width: 19%; }

/* ---------- Pricing cards ---------- */
.cards .card { text-align: left; padding: 16px; min-height: 148px; display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-md); }
.card__figure { font-family: var(--font-display); font-size: 34px; font-weight: 600; line-height: 36px; letter-spacing: 0.064px; }
.card__text { font-size: 17px; line-height: 1.35; color: var(--on-surface-muted); }

/* ---------- Steps ---------- */
.steps { gap: var(--space-lg); counter-reset: step; }
.step { text-align: center; counter-increment: step; }
.step::before {
  content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-bottom: var(--space-md);
  border: 1px solid var(--neutral-100); border-radius: var(--rounded-full);
  background: var(--surface); color: var(--on-surface-muted); font-size: 17px;
}
.step .body-md { margin-top: var(--space-sm); color: var(--on-surface-muted); }

/* ---------- Product ---------- */
.product { width: min(100%, 460px); margin: var(--space-lg) auto 0; }

.about__body { margin-top: var(--space-md); max-width: 620px; margin-left: auto; margin-right: auto; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: var(--space-md); margin-top: var(--space-lg); align-items: start; }
.form { display: grid; gap: var(--space-md); padding: var(--space-md); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
.field { display: grid; gap: var(--space-xs); }
.field label { font-size: 15px; line-height: 1.4; color: var(--on-surface-muted); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea {
  width: 100%; min-height: 44px; padding: 10px 12px;
  border: 1px solid var(--neutral-100); border-radius: var(--rounded-md);
  background: var(--surface); color: var(--on-surface);
  font: inherit; -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--primary); outline-offset: 0; border-color: var(--primary); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--error); }
.field input[type="file"] { font: inherit; font-size: 15px; }
.hint { font-size: 13px; line-height: 1.4; color: var(--on-surface-muted); }
.form__status { font-size: 15px; line-height: 1.4; min-height: 0; }
.form__status:empty { display: none; }
.form__status.is-error { color: var(--error); }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.details { padding: var(--space-md); }
.details dl { display: grid; gap: var(--space-md); }
.details dt { font-size: 13px; line-height: 1.4; color: var(--on-surface-muted); }
.details dd { font-family: var(--font-display); font-size: 24px; line-height: 36px; letter-spacing: 0.216px; }
.details dd a { color: var(--on-surface); }

/* ---------- Footer ---------- */
.footer { background: var(--tertiary); color: var(--on-surface-muted); font-size: 13px; line-height: 1.4; padding: var(--space-lg) 0; }
.footer p { margin-top: var(--space-sm); }
.footer__brands { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-md); padding-bottom: var(--space-md); border-bottom: 1px solid var(--neutral-100); margin-bottom: var(--space-md); }
.footer__brands img { height: 20px; width: auto; }
.footer__brands .footer__cards { height: 56px; margin-left: auto; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-sm); margin-top: var(--space-md); padding-top: var(--space-md); border-top: 1px solid var(--neutral-100); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav__links { gap: 20px; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .contact { grid-template-columns: 1fr; }
}

@media (max-width: 734px) {
  :root { --space-xl: 68px; --space-lg: 32px; }
  .nav__links { display: none; }
  .container, .nav__inner { padding: 0 16px; }
  .headline-display { font-size: 36px; line-height: 44px; }
  .headline-lg { font-size: 30px; line-height: 38px; }
  .headline-md { font-size: 26px; line-height: 30px; }
  .body-lg { font-size: 20px; line-height: 30px; }
  .card__figure { font-size: 28px; line-height: 32px; }
  .grid--3 { grid-template-columns: 1fr; }
  .cards .card { min-height: 0; }
  .form__row { grid-template-columns: 1fr; }
  .cta-row { gap: var(--space-sm); }
  .lineup { gap: 3%; }
  .lineup__mini { width: 26%; }
  .lineup__station { width: 48%; }
  .lineup__flex { width: 20%; }
  .footer__brands .footer__cards { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
