/* The same two-typeface hierarchy as the app: racing titles, Inter for reading. */
h2, h3 {
  font-family: var(--design-body-font, Inter, system-ui, sans-serif);
  font-weight: 600;
  font-style: normal;
  letter-spacing: normal;
  text-transform: none;
}
.section-heading h2, .final-cta h2, .ride-start h2, .how-tour-copy h2 {
  font-family: var(--heading);
  font-weight: 400;
  font-style: normal;
  letter-spacing: var(--tracking-dirtlore-display);
  font-kerning: normal;
  font-synthesis: none;
  text-transform: uppercase;
}
.button, .text-link { font-weight: 600; letter-spacing: normal; }
.button { min-height: 52px; font-size: .9rem; }
.button-small { min-height: 44px; font-size: .8rem; }
.button .design-text, .text-link .design-text { font-size: inherit; }
.eyebrow, .section-kicker { font-weight: 600; letter-spacing: .08em; font-size: .72rem; }
.home-page .section-heading h2 { font-size: clamp(2.2rem, 3.7vw, 3.4rem); line-height: 1.16; }
.home-page .section-heading > p { max-width: 45ch; font-size: .95rem; line-height: 1.75; }
.home-page .section-pad { padding-block: var(--design-section-spacing); }
.home-page .hero {
  padding-block: 68px 0;
  background: radial-gradient(ellipse at 80% 35%, #22417126, transparent 57%), var(--ink);
  border-bottom: 1px solid var(--line);
}
.home-page .hero::before { content: none; }
.home-page .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 36px; }
.home-page .hero h1 { font-size: calc(clamp(3.4rem, 5.3vw, 5rem) * var(--design-hero-scale, 1) * var(--design-heading-scale, 1)); line-height: 1.08; }
.home-page .hero h1 em { color: var(--blue-bright); }
.home-page .hero-lede { max-width: 39ch; font-size: 1.04rem; line-height: 1.75; }
.home-page .eyebrow { margin-bottom: 24px; }
.hero-bike-stage { min-width: 0; margin: 0; }
.hero-bike-stage > .design-image-frame { border-radius: 20px; background: #0c1015; }
.hero-bike-stage img { width: 100%; height: auto; object-fit: contain; }
.hero-bike-stage figcaption { padding: 16px 8px 0; color: var(--muted); font-size: .76rem; }
.hero-features { padding-block: 26px; margin-top: 46px; border-top: 1px solid var(--line); color: #8993a5; font-size: .8rem; word-spacing: .12em; }

.ride-showcase { background: var(--ink); }
.ride-screen-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.ride-screen-card { min-width: 0; margin: 0; padding: 0 12px 12px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(140deg, #1b2535, #11151b 62%); }
.ride-screen-card figcaption { min-height: 150px; padding: 26px 12px 20px; text-align: left; }
.ride-screen-card h3 { margin: 0 0 12px; color: var(--text); font-size: 1.1rem; line-height: 1.35; }
.ride-screen-card figcaption p { color: var(--muted); font-size: .85rem; line-height: 1.7; }
.ride-screen-link { display: block; border: 1px solid #ffffff1c; border-radius: 18px; overflow: hidden; background: #000; }
.ride-screen-link img { width: 100%; height: auto; object-fit: contain; }
.ride-screen-link:focus-visible { outline-offset: 4px; }
.ride-showcase-footer { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 28px; }
.ride-showcase-footer p { margin: 0 0 8px; color: #ced8e8; font-size: .8rem; }
.ride-showcase-footer .ride-data-note { max-width: 64ch; margin: 0; color: #8993a5; font-size: .74rem; }
.ride-showcase-footer .button { flex-shrink: 0; }

.home-page #what-is-dirtlore { padding-top: 20px; }
.home-page #what-is-dirtlore .intro-points { gap: 16px; border: 0; }
.home-page #what-is-dirtlore .intro-point {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(135deg, #182233, #11151b 72%);
}
.home-page #what-is-dirtlore .intro-point p { font-size: .9rem; line-height: 1.75; }
.home-page #what-is-dirtlore .intro-point .mini-label { font-size: 1.02rem; font-weight: 600; }
.home-page .intro-arrow { color: var(--blue-bright); }
.home-page .ride-start { padding-top: 0; }
.ride-start-panel { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); padding: clamp(28px, 4vw, 52px); border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(120deg, #1b2535, #11151b); }
.ride-start-heading h2 { font-size: clamp(2.1rem, 3.1vw, 3rem); line-height: 1.18; }
.ride-start-heading > p:not(.section-kicker) { max-width: 38ch; color: var(--muted); font-size: .95rem; }
.ride-start-heading .text-link { margin-top: 12px; }
.ride-start-steps { list-style: none; padding: 0; margin: 0; counter-reset: ride-step; }
.ride-start-steps li { position: relative; counter-increment: ride-step; padding: 0 0 24px 46px; }
.ride-start-steps li:last-child { padding-bottom: 0; }
.ride-start-steps li::before { content: counter(ride-step); position: absolute; top: 1px; left: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #2f6bff26; border: 1px solid #84a8ff30; color: #a8c2ff; font-size: .8rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.ride-start-steps h3 { margin: 0 0 8px; font-size: 1.04rem; }
.ride-start-steps p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.7; }
.home-page .featured-bikes { background: var(--ink); }
.home-page .featured-bike-card { background: var(--panel); }
.home-page .featured-bike-card h3 { line-height: 1.45; font-size: 1.05rem; }
.home-page .final-cta { background: linear-gradient(115deg, #1b2d50, #111b2c 75%); border-block: 1px solid var(--line); }
.home-page .final-cta h2 { line-height: 1.2; }
.home-page .design-product-card { background: linear-gradient(135deg, #1b2535, #11151b 55%); }
.content-page .device-intro h2 { font-size: 1.5rem; }
.content-page .device-connection h3, .content-page .device-experience h3 { font-size: .9rem; font-weight: 600; letter-spacing: normal; text-transform: none; }
.home-page .availability-label { padding: 6px 9px; border-radius: 8px; font-size: .66rem; font-weight: 600; letter-spacing: .02em; text-transform: none; }
.how-tour-number { font-family: var(--design-number-font); font-variant-numeric: tabular-nums; }
.how-tour-row { border-radius: 24px; }

@media (max-width: 1000px) {
  .home-page .hero { padding-top: 48px; }
  .home-page .hero h1 { font-size: calc(3.4rem * var(--design-hero-scale, 1) * var(--design-heading-scale, 1)); }
  .ride-screen-grid { gap: 14px; }
  .ride-screen-card { padding: 0 8px 8px; }
  .ride-screen-card figcaption { padding: 22px 8px 16px; min-height: 168px; }
}
@media (max-width: 800px) {
  .home-page .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero-bike-stage { width: min(100%, 560px); justify-self: center; }
  .home-page .hero-copy { max-width: 620px; }
  .home-page .hero-lede { max-width: 47ch; }
  .hero-features { margin-top: 32px; }
  .ride-screen-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .ride-screen-card { display: grid; grid-template-columns: 1fr minmax(0, 1.1fr); align-items: start; gap: 24px; padding: 20px; }
  .ride-screen-card figcaption { min-height: 0; padding: 20px 0; }
  .ride-screen-card h3 { font-size: 1.25rem; }
  .ride-showcase-footer { align-items: start; flex-direction: column; gap: 20px; }
  .ride-start-panel { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .home-page .section-heading { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 560px) {
  .home-page .hero h1 { font-size: calc(clamp(2.6rem, 9.6vw, 3.4rem) * var(--design-hero-scale, 1) * var(--design-heading-scale, 1)); }
  .home-page .hero-lede { font-size: .95rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-features { font-size: .72rem; word-spacing: normal; line-height: 1.9; }
  .ride-screen-card { display: block; padding: 0 12px 12px; }
  .ride-screen-card figcaption { padding: 24px 8px; }
  .ride-screen-card h3 { font-size: 1.1rem; }
  .ride-screen-card figcaption p { max-width: 34ch; }
  .ride-showcase-footer .button { width: 100%; }
  .home-page #what-is-dirtlore .intro-point { padding: 24px; }
  .home-page #what-is-dirtlore .intro-arrow { right: 24px; top: 18px; }
  .home-page .section-heading h2 { font-size: 2.1rem; }
  .ride-start-panel { padding: 24px; }
  .ride-start-heading h2 { font-size: 2rem; }
}

.garmin-connect-tile { margin: 16px 0; border-radius: 12px; }
.device-brand-mark { display: flex; align-items: center; min-height: 48px; margin: 20px 0 12px; }
.device-brand-logo { display: block; width: auto; height: 26px; max-width: 100%; object-fit: contain; object-position: left center; }
.device-brand-mark .garmin-connect-tile { width: 40px; height: 40px; margin: 0; }
