:root {
  --blue: #003c6f;
  --ink: #123753;
  --muted: #49677e;
  --gold: #ffbd4a;
  --top: #f2f5f7;
  --soft: #e8f2f9;
  --line: #d9e6ef;
  --paper: #fbfdfe;
  --white: #fff;
  --radius: 18px;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.55 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

h1, h2, h3 {
  margin: 0;
  color: var(--blue);
  line-height: 1.13;
  letter-spacing: -.025em;
}

h1 { font-size: clamp(2.5rem, 5.15vw, 4.35rem); letter-spacing: -.055em; }
h2 { font-size: clamp(1.85rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 1.85vw, 1.4rem); }
p { margin: 0; }
a { color: var(--blue); text-underline-offset: .18em; }
img { display: block; max-width: 100%; height: auto; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.showroom a:focus-visible { outline-color: var(--gold); }

.container { width: min(1280px, calc(100% - 64px)); margin-inline: auto; }
.section { padding-block: 40px; }
.icon {
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}

.skip-link {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 8px;
  padding: 8px 14px;
  background: var(--white);
  transform: translateY(-150%);
}

.skip-link:focus { transform: none; }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}

.brand {
  display: inline-flex;
  align-items: end;
  flex: none;
  color: var(--blue);
  text-decoration: none;
  font-weight: 750;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.12;
}

.brand img { width: clamp(125px, 14vw, 169px); }
.header-links { display: flex; align-items: center; gap: clamp(8px, 2vw, 26px); }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  text-decoration: none;
  font-size: .91rem;
  font-weight: 650;
}

.nav-link:hover, .footer a:hover { text-decoration: underline; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: .91rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.button-primary { color: var(--white); background: var(--blue); }
.button-primary:hover { background: #0c5288; }
.button-soft { color: var(--blue); background: var(--soft); }
a.button-soft:hover, .video-link:hover .button-soft { background: #d7eaf6; }

.hero { background: var(--top); }
.hero-inner {
  display: grid;
  grid-template-columns: 1fr minmax(0, .87fr);
  align-items: center;
  gap: clamp(22px, 6vw, 84px);
  padding-block: clamp(28px, 4vw, 50px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 17px;
  height: 4px;
  background: var(--gold);
  border-radius: 99px;
  flex: none;
}

.hero h1 { max-width: 12ch; }
.hero-lead {
  max-width: 40ch;
  margin: 14px 0 17px;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.25rem);
}

.hero-art { width: 100%; }
.section-heading { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.section-heading p { margin-top: 8px; color: var(--muted); }
.badge {
  flex: none;
  margin-top: 4px;
  padding: 6px 13px;
  border-radius: 99px;
  background: var(--soft);
  color: var(--blue);
  font-size: .83rem;
  font-weight: 700;
}

.app-grid, .video-grid {
  display: grid;
  gap: 22px;
  margin-top: 22px;
}

.app-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.app-card { grid-column: span 3; }
.app-featured { grid-column: span 6; }
.app-card, .video-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.app-card:hover, .video-card:hover { border-color: #a8c5d9; box-shadow: 0 7px 18px #003c6f12; }
.card-link, .video-link {
  height: 100%;
  padding: 8px;
  color: inherit;
  border-radius: inherit;
  text-decoration: none;
}

.card-link { display: flex; flex-direction: column; }
.card-link > img { width: 100%; aspect-ratio: 2.35; object-fit: cover; border-radius: 12px; background: var(--soft); }
.app-featured .card-link > img { aspect-ratio: 2.55; }
.card-body { position: relative; padding: 14px 56px 15px 12px; }
.card-body p { margin-top: 6px; color: var(--muted); font-size: .94rem; }

.card-arrow, .video-play {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
}

.card-arrow {
  position: absolute;
  top: 14px;
  right: 10px;
  color: var(--blue);
  background: var(--soft);
}

.card-link:hover .card-arrow { background: #d7eaf6; }
.video-section { background: var(--top); }
.video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.video-link { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); align-items: center; gap: 18px; }
.video-media { display: block; position: relative; }
.video-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 11px; }
.video-play {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  color: var(--white);
  background: var(--blue);
}

.video-body { padding: 8px 12px 8px 0; }
.video-platform { display: inline-flex; align-items: center; gap: 7px; color: var(--blue); font-size: .83rem; font-weight: 700; }
.video-body h3 { margin: 5px 0 11px; }
.video-body .button { min-height: 36px; }

.showroom {
  display: grid;
  grid-template-columns: .95fr 1.1fr 1.1fr;
  gap: clamp(18px, 3vw, 40px);
  padding: clamp(24px, 3vw, 38px);
  border-radius: var(--radius);
  color: var(--white);
  background: var(--blue);
}

.showroom h2, .showroom h3 { color: var(--white); }
.showroom-intro > .icon { width: 27px; height: 27px; margin-bottom: 9px; color: var(--gold); }
.showroom-intro h2 { max-width: 12ch; }
.showroom-intro p { margin-top: 14px; color: #d5e6f3; }
.contact-column { display: grid; gap: 19px; padding-left: clamp(14px, 3vw, 36px); border-left: 1px solid #4c7697; }
.contact-item { display: flex; align-items: start; gap: 10px; }
.contact-item .icon { margin-top: 1px; color: var(--gold); }
.contact-item h3 { margin-bottom: 5px; font-size: 1rem; letter-spacing: 0; }
.contact-item p, .contact-item address { color: #e1eef7; font-style: normal; }
.contact-item a { color: inherit; }
.phones { display: flex; flex-wrap: wrap; gap: 3px 8px; }
.phones a { white-space: nowrap; }

.guide-section { padding-top: 10px; }
.guide { max-width: 83ch; margin-inline: auto; }
.guide h3 { margin-top: 1.65em; }
.guide > p:not(.eyebrow) { margin-top: .75em; line-height: 1.7; }
.guide a { font-weight: 650; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid var(--line); padding: 20px 0; }
.footer p, .footer nav, .footer nav a { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer p span { color: var(--muted); }
.footer a { font-weight: 700; text-decoration: none; }

@media (max-width: 1050px) {
  .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .app-card, .app-featured { grid-column: auto; }
  .card-link > img, .app-featured .card-link > img { aspect-ratio: 1200 / 631; }
}

@media (max-width: 1020px) {
  .showroom { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .showroom-intro { grid-column: 1 / -1; }
  .showroom-intro h2 { max-width: none; }
  .showroom-intro p { margin-top: 8px; }
  .contact-column { padding-left: 0; border-left: 0; }
}

@media (max-width: 800px) {
  .container { width: calc(100% - 40px); }
  .section { padding-block: 32px; }
  .header-inner { flex-wrap: wrap; padding-block: 12px; }
  .header-links { gap: 10px; flex-wrap: wrap; }
  .video-grid { gap: 16px; }
  .video-link { grid-template-columns: 1fr; gap: 5px; }
  .video-body { padding: 8px 12px 12px; }
  .guide-section { padding-top: 0; }
}

@media (max-width: 560px) {
  .container { width: calc(100% - 32px); }
  .header-inner { gap: 6px; }
  .header-links { width: 100%; justify-content: space-between; gap: 2px; }
  .nav-link { min-width: 44px; justify-content: center; }
  .nav-link span {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .nav-link .icon { width: 22px; height: 22px; }
  .store-link { padding-inline: 10px; font-size: .82rem; }
  .store-link .icon { width: 15px; }
  .hero-inner, .app-grid, .video-grid, .showroom { grid-template-columns: minmax(0, 1fr); }
  .hero-inner { gap: 18px; }
  .hero-art { max-height: 148px; object-fit: cover; border-radius: 12px; }
  .section-heading { flex-wrap: wrap; gap: 5px; }
  .section-heading .badge { display: none; }
  .app-grid, .video-grid { margin-top: 16px; }
  .card-body, .video-body { padding-bottom: 12px; }
  .showroom-intro { grid-column: auto; }
  .contact-column { gap: 16px; padding-top: 16px; border-top: 1px solid #4c7697; }
  .footer-inner { align-items: start; flex-direction: column; }
}

@media (max-width: 360px) {
  .nav-link { min-width: 40px; }
}
