/* Shared SmartGT palette. Bike colors live inside the media. */
:root[data-theme] body[data-brand] {
  --paper: #f5f6f3;
  --surface: #fff;
  --frame: #e9edf3;
  --tint: #e9eff8;
  --accent: #245ac2;
  --action-accent: #245ac2;
}
:root[data-theme=dark] body[data-brand] {
  --paper: #101820;
  --surface: #17232e;
  --frame: #1b2935;
  --tint: #162539;
  --accent: #8bb5ff;
}

.hero.wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px 32px;
  padding-block: clamp(24px, 3vw, 45px) 30px;
}
.hero .hero-copy { min-width: 0; }
.hero h1 {
  margin: 0;
  font-size: clamp(34px, 4.6vw, 67px);
  line-height: 1.04;
  text-wrap: balance;
}
.hero .hero-intro {
  max-width: 60ch;
  margin-top: 12px;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.5;
}
.hero .brand-choice { display: flex; gap: 8px; margin: 0; max-width: none; }
.hero .brand-choice [data-brand-choice] {
  text-decoration: none;
  width: auto;
  min-width: 128px;
  min-height: 50px;
  padding: 7px 12px;
  gap: 10px;
  border-radius: 7px;
}
.hero .brand-choice [data-brand-choice] img { width: 27px; height: 24px; object-fit: contain; }
.hero .brand-choice [data-brand-choice] > span { font-size: 13px; }
.hero .brand-choice [data-brand-choice][aria-pressed=true] { background: var(--tint); box-shadow: none; }
.hero .hero-product-frame {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 24px #0716261a;
}
.hero .hero-media-stage {
  aspect-ratio: 2.25;
  max-height: 426px;
  background: #0c141f;
}
.hero .hero-media-stage:has(.tour-player:not([hidden]) .tour-start) {
  aspect-ratio: auto;
  max-height: none;
}
.hero .tour-start {
  display: flex;
  flex-direction: column-reverse;
  height: auto;
  background: #0c141f;
}
.hero .tour-start > img {
  width: 100%;
  height: auto;
  aspect-ratio: 2.25;
  max-height: 426px;
  transform: none;
}
.hero .tour-play-action {
  position: static;
  gap: 10px;
  width: max-content;
  max-width: calc(100% - 20px);
  min-height: 50px;
  margin: 10px auto;
  padding: 6px 16px 6px 8px;
  border: 1px solid #e6f0ff;
  border-radius: 8px;
  background: #bdd8ff;
  color: #101820;
}
.hero .tour-start:is(:hover, :focus-visible) .tour-play-action { background: #e6f0ff; }
.hero .tour-start:focus-visible { outline: 2px solid #fff; outline-offset: -3px; }
.hero .play-disc { width: 34px; height: 34px; background: #172e56; color: #fff; }
.hero .tour-play-action > span:last-child { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.hero .tour-play-action strong { font-size: clamp(15px, 1.6vw, 19px); }
.hero .tour-play-action small { margin: 0; color: #344665; font-size: 13px; }
.hero .product-frame-top { display: none; }
.hero .gallery-controls { display: flex; justify-content: space-between; gap: 5px 16px; padding: 4px 18px; }
.hero .gallery-controls > div { width: auto; gap: clamp(12px, 3vw, 34px); }
.hero .gallery-controls button { font-size: 14px; }
.hero .tour-youtube { margin: 0; min-height: 44px; align-content: center; }
.hero-fit {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.hero .eligibility, .hero .hero-actions { margin: 0; }
.hero-fit .button { border-radius: 6px; min-height: 48px; }

.appearance-section { padding-block: clamp(24px, 4vw, 44px) 8px; }
.appearance-section .section-heading { align-items: end; }
.appearance-section h2 { margin: 0; }
.appearance-section .section-heading > p { max-width: 43ch; }
.appearance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 22px);
}
.appearance-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.appearance-card :is(img, video) {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 960 / 352;
  object-fit: contain;
  background: #0c141f;
}
.appearance-card > div:not(.appearance-media) { padding: 14px 16px 16px; }
.appearance-media { position: relative; }
.appearance-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: end center;
  padding: 10px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.appearance-play-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding-inline: 14px;
  color: #101820;
  background: #bdd8ff;
  border: 1px solid #e6f0ff;
  border-radius: 999px;
  box-shadow: 0 3px 12px #0008;
  font-size: 14px;
  font-weight: 700;
}
.appearance-play[hidden] { display: none; }
.appearance-play:is(:hover, :focus-visible) .appearance-play-label { background: #e6f0ff; }
.appearance-play:focus-visible { outline: 2px solid #fff; outline-offset: -3px; }
.appearance-card h3 { margin: 0 0 6px; font-size: 17px; }
.appearance-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
@media (max-width: 680px) {
  .appearance-grid { grid-template-columns: minmax(0, 1fr); }
}

.dashboard-section { padding-block: clamp(34px, 5vw, 64px); }
.dashboard-section .section-heading { align-items: end; }
.dashboard-section h2 { margin: 0; }
.dashboard-section .section-heading > p { max-width: 36ch; }
.dashboard-section .dashboard-story {
  grid-template-columns: minmax(0, 1fr) minmax(180px, .32fr);
  align-items: start;
  gap: clamp(20px, 3vw, 42px);
  padding: clamp(14px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.dashboard-phone, .dashboard-result { margin: 0; }
.dashboard-phone { width: min(100%, 280px); }
.dashboard-story figcaption { margin: 0 0 10px; color: var(--ink); font-size: 14px; font-weight: 700; }
.dashboard-phone img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 8px; }
.dashboard-result > img { display: block; border-radius: 8px; }
.dashboard-caption { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: space-between; margin-top: 12px; font-size: 14px; color: var(--muted); }
.dashboard-caption small { font-size: 12px; }
.owner h2, .voice h2, .bike h2, .trial h2, .setup .section-heading h2 { margin-top: 0; }

@media (max-width: 900px) {
  .hero.wrap { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
@media (max-width: 640px) {
  .hero.wrap { padding-block: 22px; }
  .hero .brand-choice { flex-wrap: wrap; }
  .hero .brand-choice [data-brand-choice] { min-width: 0; flex: 1 1 118px; }
  .hero .hero-media-stage { aspect-ratio: 16 / 9; }
  .hero .gallery-controls { padding-inline: 10px; }
  .hero .gallery-controls button { font-size: 12px; }
  .dashboard-section .dashboard-story { grid-template-columns: minmax(0, 1fr); }
  .dashboard-section .section-heading > p { margin-top: 10px; }
}

.battery-help { padding-block: 0 32px; }
.battery-help a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--accent);
  text-underline-offset: 4px;
  font-weight: 700;
}
.final-cta .button { border-radius: 6px; min-height: 48px; }
.final-cta h2 { margin: 0; }

.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  margin-block: 0 28px;
  padding: clamp(16px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--tint);
}
.social-links h2 {
  margin: 0;
  font-size: clamp(19px, 2vw, 25px);
}
.social-links ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.social-links a {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.social-links svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: var(--accent);
}
.social-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.social-links a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
@media (max-width: 640px) {
  .social-links ul {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .social-links a { justify-content: flex-start; }
}

.ride-report {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
  align-items: center;
  gap: clamp(24px, 6vw, 86px);
  padding-block: clamp(28px, 5vw, 64px);
  border-top: 1px solid var(--line);
}
.report-copy h2 { font-size: clamp(32px, 4vw, 52px); }
.report-copy > p { max-width: 44ch; color: var(--muted); margin-top: 14px; }
.report-copy .button { border-radius: 6px; min-height: 48px; margin-top: 24px; }
.report-copy .report-note { font-size: 13px; }
.ride-report img {
  display: block;
  justify-self: end;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 7px;
}
@media (max-width: 640px) {
  .ride-report { grid-template-columns: minmax(0, 1fr); }
  .ride-report img { justify-self: start; max-width: 340px; }
}
.pricing .pricing-heading,
.pricing .pricing-plan-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}
.pricing .pricing-heading { margin-bottom: 22px; }
.pricing .pricing-heading h2,
.pricing .pricing-plan-heading h3 { margin: 0; }
.pricing .pricing-heading .store-link { flex: none; }
.pricing .pricing-overview,
.pricing .pricing-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.pricing .pricing-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 18px 20px;
  overflow-wrap: anywhere;
}
.pricing .pricing-card h3,
.pricing .pricing-card h4 { margin: 0; color: var(--ink); }
.pricing .pricing-card h3 { font-size: 21px; }
.pricing .pricing-card h4 { font-size: 16px; }
.pricing .pricing-card p,
.pricing .pricing-features {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}
.pricing .pricing-features {
  display: grid;
  gap: 7px;
  margin: 9px 0 0;
  padding-inline-start: 19px;
}
.pricing .pricing-features li::marker { color: var(--accent); }
.pricing .pricing-card p { margin: 7px 0 0; }
.pricing .pricing-plan-heading { margin: 24px 0 10px; }
.pricing .pricing-plan-heading p,
.pricing .pricing-checkout {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}
.pricing .pricing-plans {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}
.pricing .pricing-card .pricing-price {
  color: var(--ink);
  font-size: clamp(27px, 3.1vw, 42px);
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.pricing .pricing-checkout { margin-top: 11px; }

@media (max-width: 620px) {
  .pricing .pricing-overview,
  .pricing .pricing-plans { grid-template-columns: 1fr; gap: 8px; }
  .pricing .pricing-card { padding: 14px 16px; }
  .pricing .pricing-plans .pricing-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 2px 14px;
  }
  .pricing .pricing-plans .pricing-card p { margin: 0; }
  .pricing .pricing-plans .pricing-price { grid-column: 2; grid-row: 1 / 3; }
}
