/* RideON page CSS shared by the module pages (tasteskill 2.5.1 system; the palette as start.mjs brand printed it) */
:root {
  --p-bg: #fbfaf8; --p-surface: #efeeed; --p-ink: #2b2b2b; --p-muted: #676766;
  --p-accent: #ffa200; --p-accent-ink: #111111; --p-action: #2b2b2b; --p-action-ink: #fbfaf8;
  --p-inv-bg: #2b2b2b; --p-inv-surface: #373737; --p-inv-ink: #fbfaf8; --p-inv-muted: #a5a5a3;
  --p-inv-accent: #ffa200; --p-inv-accent-ink: #111111; --p-inv-action: #ffa200; --p-inv-action-ink: #111111;
  --font-display: "Urbanist", system-ui, sans-serif;
  --font-text: "Urbanist", system-ui, sans-serif;
  --font-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --display-weight: 500;
  --display-tracking: -0.03em;
  --display-tracking-xl: -0.04em;
}
.nav__logo img { height: 28px; width: auto; display: block; }
.hero__art > .ly-piece--note { left: var(--s-6); bottom: var(--s-6); width: 300px; z-index: 2; }
.d-note__line { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 13px; color: #3d4247; border-top: 1px solid rgb(0 0 0 / .06); }
.d-note__line:first-of-type { border-top: 0; }
.d-note__line i { width: 18px; height: 18px; border-radius: 50%; flex: none; display: grid; place-items: center; background: #e7f4ec; color: #17673f; font-style: normal; font-size: 13px; font-weight: 500; }
.d-note__line i.warn { background: #fff1d6; color: #8a5300; }
.d-note__line b { font-weight: 500; color: #16181a; }
.hero__proof { font-size: var(--t-small); color: var(--muted); }
.ly-piece--main .d-row { grid-template-columns: 36px minmax(0, 1fr) 112px; }
.ly-piece--main .d-main { padding-right: var(--ly-cut-room); }
.d-thumb--n { display: grid; place-items: center; font: 500 13px/1 var(--font-mono); color: #3d4247; background: #eef1f4; }
@media (max-width: 1279px) { .ly-piece--main .d-side { display: none; } .ly-piece--main .d-win__body { grid-template-columns: minmax(0, 1fr); } }
.hw-facts { list-style: none; padding: 0; margin-bottom: 0; }
.mod-shot { display: grid; place-items: center; aspect-ratio: 5 / 4; }
.mod-card { width: min(100% - 48px, 420px); font-size: 15px; }
.mod-card .d-note__line { font-size: 15px; padding: 12px 0; }
.mod-card h5 { font-size: 18px; }
.mod-rows { list-style: none; margin: 0; padding: 0; }
.mod-rows li { display: grid; gap: 2px; padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.mod-rows .rows__name { font-weight: 500; }
.mod-rows p { margin: 0; }
/* video and brochure pages: the heading row, then the file in its frame */
.page-media .section-head--split { margin-bottom: var(--s-7); }
.page-media h1 { font-size: var(--t-h2); }
.media-frame { --ratio: 56.25%; background: #10131a; }
.media-frame > video { object-fit: contain; }
.pdf-frame { background: var(--g-alt, #efeeed); height: min(708px, calc(100svh - 320px)); }
.pdf-frame > object { width: 100%; height: 100%; border: 0; display: block; }
/* legal pages: one reading column on the page's left line */
.legal { padding-top: calc(var(--nav) + var(--s-9)); padding-bottom: var(--s-9); }
.legal > * { max-width: 68ch; }
.legal h1 { font-size: var(--t-h2); margin-bottom: var(--s-3); }
.legal h2 { font-size: var(--t-h3); margin: var(--s-8) 0 var(--s-4); }
.legal p, .legal li { line-height: 1.7; }
.legal ul { padding-left: 1.2em; }
.legal__meta { color: var(--muted); margin-bottom: var(--s-7); }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.mod-card { width: min(100% - 48px, 440px); }
@media (max-width: 639px) {
  .ly-piece--main .d-tabs, .ly-piece--main .d-row:nth-child(n+3) { display: none; }
  .ly-piece--main .d-win__body { min-height: 0; }
}
.mod-rows li { grid-template-columns: 24px minmax(0, 1fr); column-gap: var(--s-4); }
.mod-rows li > img { grid-row: 1 / span 2; margin-top: 2px; }
.mod-rows li > :not(img) { grid-column: 2; }
@media (max-width: 359px) { header.nav .nav__actions { display: none !important; } }
.mod-set { display: grid; place-items: center; padding: var(--s-6); margin-top: var(--s-4); }
.mod-set .ui-toggles { width: min(100%, 380px); }
.hero__proof { color: var(--ink); }
.page-media .hero-text { display: grid; gap: var(--s-7); }
.page-media .section-head--split { margin-bottom: 0; }
.page-media .media-frame { height: calc(100svh - var(--nav) - 340px); padding: 0; }
.page-media .media-frame > video { width: 100%; height: 100%; }
.page-media .pdf-frame { height: calc(100svh - var(--nav) - 340px); }
.media-frame > video:focus-visible { outline: 2px solid var(--p-accent); outline-offset: -4px; }
@media (max-width: 639px) { .page-media .media-frame, .page-media .pdf-frame { height: auto; aspect-ratio: 4 / 5; } }
/* a desktop window shorter than 900px: a section grows rather than lie over the next one */
@media (min-width: 1280px) {
  main > :is(section, .section):not(.hero, .g2), footer.closing { height: auto; min-height: calc(var(--h, 1) * 100svh); display: flex; flex-direction: column; }
  main > :is(section, .section):not(.hero, .g2) > .wrap, footer.closing > .wrap { flex: 1 0 auto; height: auto; min-height: 0; }
}
.footer__legal .socials a { width: 44px; height: 44px; }
