/* My Story My Ride - plain CSS, no framework.
   Palette: terracotta + slate (one accent, rust). Type: Barlow Semi Condensed display + Barlow body.
   Shape rule: cards/photos 14px, buttons/inputs/options 8px. Light theme with dark tokens. */

:root {
  --bg: #F2F3F1;
  --surface: #FFFFFF;
  --surface-2: #E5E8E7;
  --ink: #1C252D;
  --body: #36424C;
  --muted: #56616B;
  --line: #D3D8D8;
  --accent: #B2401C;
  --accent-hover: #93310F;
  --accent-soft: #F6E3DB;
  --on-accent: #FFFFFF;
  --focus: #1F5FA8;
  --shadow: 0 1px 2px rgba(28, 37, 45, .06), 0 10px 30px rgba(28, 37, 45, .10);
  --r-card: 14px;
  --r-ctl: 8px;
  --display: "Barlow Semi Condensed", "Arial Narrow", Arial, sans-serif;
  --text: "Barlow", "Segoe UI", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #14191E;
    --surface: #1C232A;
    --surface-2: #222B33;
    --ink: #EEF1F2;
    --body: #C9D0D5;
    --muted: #9EA9B2;
    --line: #34404A;
    --accent: #E06A40;
    --accent-hover: #EE8560;
    --accent-soft: #3A2620;
    --on-accent: #14191E;
    --focus: #7FB2EE;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--body);
  font: 400 17px/1.6 var(--text);
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); font-weight: 700; line-height: 1.1; letter-spacing: -.01em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: var(--r-ctl); z-index: 50; }
.skip:focus { top: 12px; }
.shell { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .shell { padding: 0 32px; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--r-ctl); border: 0;
  font: 600 17px/1.2 var(--text); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, transform .1s ease;
}
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.btn-wide { width: 100%; margin-top: 18px; }
.btn[disabled] { opacity: .7; cursor: wait; }
.link-arrow { display: inline-flex; gap: 6px; font-weight: 600; text-decoration: none; }
.link-arrow:hover span { transform: translateX(3px); }
.link-arrow span { transition: transform .15s ease; }

/* Header */
.topbar { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); text-decoration: none; }
.logo span { font: 600 21px/1 var(--display); color: var(--ink); letter-spacing: -.005em; }
.logo b { font-weight: 700; color: var(--accent); }
.mark { width: 34px; height: 34px; flex: none; }
.mainnav { display: flex; align-items: center; gap: 26px; }
.mainnav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 16px; }
.mainnav a:not(.btn):hover, .mainnav a[aria-current] { color: var(--accent); }
.navbtn { display: none; }
@media (max-width: 899px) {
  .navbtn { display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; background: none; border: 1px solid var(--line); border-radius: var(--r-ctl); padding: 0 11px; cursor: pointer; }
  .navbtn i { display: block; height: 2px; background: var(--ink); border-radius: 2px; }
  .mainnav { position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 20px; display: none; }
  .nav-open .mainnav { display: flex; }
  .mainnav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .mainnav .btn { margin-top: 16px; }
}

/* Hero (photo is content, scrim keeps text legible in both themes) */
.hero { position: relative; overflow: hidden; background: #1C252D; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16, 21, 26, .86) 0%, rgba(16, 21, 26, .62) 46%, rgba(16, 21, 26, .30) 100%); }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 28px; padding-top: 40px; padding-bottom: 48px; }
.hero-copy h1 { color: #FFFFFF; font-size: clamp(36px, 3.5vw, 50px); line-height: 1.06; margin-bottom: 18px; }
.hero-copy h1 em { display: block; font-style: italic; font-weight: 600; color: #F4B39A; padding-bottom: 4px; line-height: 1.1; }
.hero-copy .lede { color: #E6EAEC; font-size: 19px; max-width: 34ch; margin: 0; }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.15fr 1fr; align-items: start; gap: 56px; padding-top: 72px; padding-bottom: 72px; min-height: calc(100dvh - 68px); }
  .hero-copy { padding-top: 120px; }
}
@media (max-width: 959px) {
  .hero::after { background: linear-gradient(180deg, rgba(16, 21, 26, .55) 0%, rgba(16, 21, 26, .85) 46%, rgba(16, 21, 26, .92) 100%); }
}

/* Survey card */
.survey { background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow); padding: 22px 20px 20px; color: var(--body); scroll-margin-top: 84px; }
@media (min-width: 600px) { .survey { padding: 28px 30px 26px; } }
.sv-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.sv-title { font: 700 18px/1.2 var(--display); color: var(--ink); margin: 0; }
.sv-step { font-size: 14px; color: var(--muted); margin: 0; white-space: nowrap; }
.sv-track { height: 4px; background: var(--surface-2); border-radius: 4px; overflow: hidden; margin-bottom: 20px; }
.sv-track span { display: block; height: 100%; width: 14%; background: var(--accent); border-radius: 4px; transition: width .3s ease; }
.qstep { border: 0; margin: 0; padding: 0; min-width: 0; }
.js .qstep { display: none; }
.js .qstep.is-active { display: block; animation: stepIn .25s ease both; }
@keyframes stepIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .js .qstep.is-active { animation: none; } }
.no-js .qstep + .qstep { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
legend { padding: 0; margin-bottom: 14px; }
.qtitle { display: block; font: 700 26px/1.15 var(--display); color: var(--ink); outline: none; }
.qhint { font-size: 15px; color: var(--muted); margin: -6px 0 14px; }
.pick { display: grid; gap: 10px; }
.pick label { position: relative; display: block; cursor: pointer; }
.pick input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pick span { display: flex; align-items: center; min-height: 52px; padding: 12px 16px 12px 46px; border: 1.5px solid var(--line); border-radius: var(--r-ctl); background: var(--surface); color: var(--ink); font-weight: 500; transition: border-color .12s ease, background-color .12s ease; }
.pick span::before { content: ""; position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border: 2px solid var(--muted); border-radius: 50%; background: var(--surface); }
.pick label:hover span { border-color: var(--accent); }
.pick input:checked + span { border-color: var(--accent); background: var(--accent-soft); }
.pick input:checked + span::before { border-color: var(--accent); box-shadow: inset 0 0 0 4px var(--surface); background: var(--accent); }
.pick input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.fld { display: block; font-weight: 600; color: var(--ink); font-size: 15px; margin: 14px 0 6px; }
.fld .opt { font-weight: 400; color: var(--muted); }
.inp { width: 100%; min-height: 50px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: var(--r-ctl); background: var(--surface); color: var(--ink); font: 400 17px/1.3 var(--text); }
.inp:focus { border-color: var(--accent); outline: 3px solid color-mix(in srgb, var(--focus) 35%, transparent); outline-offset: 0; }
.inp[aria-invalid="true"] { border-color: #B3261E; }
.two { display: grid; gap: 0 14px; }
@media (min-width: 520px) { .two { grid-template-columns: 1fr 1fr; } }
.field-err { display: block; color: #B3261E; font-size: 14px; font-weight: 500; min-height: 0; margin-top: 4px; }
@media (prefers-color-scheme: dark) { .field-err { color: #FF8A80; } .inp[aria-invalid="true"] { border-color: #FF8A80; } }
.field-err:empty { display: none; }
.consent-set { margin-top: 18px; display: grid; gap: 10px; }
.consent-row { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.consent-row input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); }
.consent-row label { font-size: 13.5px; line-height: 1.5; color: var(--body); }
.consent-fine { font-size: 12.5px; line-height: 1.5; color: var(--muted); margin: 4px 0 0; }
.sv-back { margin-top: 14px; background: none; border: 0; color: var(--muted); font: 500 15px var(--text); cursor: pointer; padding: 6px 0; }
.sv-back:hover { color: var(--accent); }

/* "What we are" band */
.plain { background: var(--surface); border-bottom: 1px solid var(--line); }
.plain-in { display: grid; gap: 14px; padding-top: 26px; padding-bottom: 26px; }
.plain-in p { margin: 0; color: var(--ink); font-size: 18px; max-width: 62ch; }
.plain-in ul { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; color: var(--muted); font-weight: 500; font-size: 15px; }
.plain-in li::before { content: "\2713"; color: var(--accent); margin-right: 7px; font-weight: 700; }
@media (min-width: 960px) { .plain-in { grid-template-columns: 1.4fr 1fr; align-items: center; } .plain-in ul { justify-content: flex-end; } }

/* Story split */
.story { padding: 72px 0; }
.story-grid { display: grid; gap: 32px; align-items: center; }
.story-img { margin: 0; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 11 / 9; }
.story-img img { width: 100%; height: 100%; object-fit: cover; }
.story-copy h2 { font-size: clamp(30px, 4vw, 42px); max-width: 18ch; }
.story-copy p { max-width: 58ch; }
@media (min-width: 900px) { .story-grid { grid-template-columns: 1fr 1fr; gap: 64px; } .story { padding: 104px 0; } }

/* Section titles */
.sec-title { font-size: clamp(30px, 4vw, 42px); margin-bottom: 28px; max-width: 24ch; }

/* Guide cards + bento */
.guides-rail { padding: 0 0 80px; }
.gcard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; text-decoration: none; color: var(--body); transition: transform .18s ease, box-shadow .18s ease; }
.gcard:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--body); }
.gcard-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.gcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gcard:hover .gcard-img img { transform: scale(1.03); }
.gcard-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; flex: 1; }
.gcard-title { font: 700 21px/1.15 var(--display); color: var(--ink); }
.gcard-desc { font-size: 15px; line-height: 1.5; color: var(--muted); }
.gcard-meta { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 600; color: var(--accent); }
.bento { display: grid; gap: 18px; margin-bottom: 26px; }
@media (min-width: 700px) { .bento { grid-template-columns: 1fr 1fr; } .bento .is-lead { grid-column: 1 / -1; } }
@media (min-width: 1024px) {
  .bento { grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: auto auto; }
  .bento .is-lead { grid-column: 1; grid-row: 1 / span 2; }
  .bento .is-lead .gcard-img { aspect-ratio: auto; flex: 1; min-height: 300px; }
  .bento .is-lead .gcard-title { font-size: 30px; }
  .bento .is-lead .gcard-body { flex: none; }
  .bento .is-lead .gcard-img img { position: absolute; inset: 0; }
  .bento .is-lead .gcard-img { position: relative; }
  .bento .gcard:not(.is-lead) .gcard-desc { display: none; }
}
@media (prefers-reduced-motion: reduce) { .gcard, .gcard-img img { transition: none; } }

/* FAQ */
.faq { padding: 72px 0; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.faq-grid { display: grid; gap: 12px; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: 1fr 1.6fr; gap: 64px; } }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative; font: 600 20px/1.3 var(--display); color: var(--ink); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font: 400 26px/1 var(--text); color: var(--accent); }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p { margin: 0 0 18px; max-width: 62ch; }

/* Closer */
.closer { padding: 64px 0; }
.closer-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; background: var(--accent-soft); border-radius: var(--r-card); padding: 32px; }
.closer-in p { margin: 0; font: 700 clamp(24px, 3vw, 32px)/1.15 var(--display); color: var(--ink); max-width: 26ch; }

/* Inner page hero (photo banner) */
.page-hero { padding: 48px 0 0; }
.page-hero h1 { font-size: clamp(34px, 4.6vw, 52px); max-width: 24ch; }
.page-hero .lede { font-size: 19px; max-width: 56ch; color: var(--body); }
.page-hero figure { margin: 28px 0 0; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 21 / 9; }
.page-hero figure img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 699px) { .page-hero figure { aspect-ratio: 4 / 3; } }

/* How it works */
.flow { padding: 64px 0; }
.flow-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: flow; }
.flow-list li { counter-increment: flow; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px 24px 22px 76px; position: relative; }
.flow-list li::before { content: counter(flow); position: absolute; left: 22px; top: 22px; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font: 700 20px/38px var(--display); text-align: center; }
.flow-list h2 { font-size: 24px; margin-bottom: 6px; }
.flow-list p { margin: 0; max-width: 64ch; }
@media (min-width: 900px) { .flow-list { grid-template-columns: 1fr 1fr; } .flow-list li:first-child { grid-column: 1 / -1; } }
.isnt { padding: 0 0 72px; }
.isnt-grid { display: grid; gap: 18px; }
.isnt-col { border-top: 3px solid var(--accent); padding-top: 18px; }
.isnt-col.no { border-top-color: var(--line); }
.isnt-col h2 { font-size: 26px; }
.isnt-col ul { margin: 0; padding-left: 20px; }
.isnt-col li { margin-bottom: 8px; }
@media (min-width: 800px) { .isnt-grid { grid-template-columns: 1fr 1fr; gap: 48px; } }

/* Prose (about, contact, guides) */
.prose { max-width: 70ch; }
.prose h2 { font-size: 30px; margin-top: 1.6em; }
.prose h3 { font-size: 22px; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1.1em; }
.prose li { margin-bottom: .45em; }
.prose .note { background: var(--accent-soft); border-left: 4px solid var(--accent); border-radius: 0 var(--r-ctl) var(--r-ctl) 0; padding: 16px 20px; margin: 1.4em 0; color: var(--ink); }
.prose .note p:last-child { margin: 0; }
.page-body { padding: 48px 0 80px; }
.contact-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.4fr 1fr; gap: 64px; } }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 26px; align-self: start; }
.contact-card h2 { font-size: 24px; }
.contact-card dl { margin: 0; }
.contact-card dt { font-weight: 600; color: var(--ink); margin-top: 14px; }
.contact-card dd { margin: 2px 0 0; overflow-wrap: anywhere; }

/* Article */
.article-head { padding: 40px 0 0; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.article-head h1 { font-size: clamp(34px, 4.6vw, 52px); max-width: 22ch; }
.article-meta { color: var(--muted); font-size: 15px; }
.article-hero { margin: 24px 0 36px; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 2 / 1; }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 699px) { .article-hero { aspect-ratio: 4 / 3; } }
.article-layout { display: grid; gap: 40px; padding-bottom: 72px; }
@media (min-width: 1024px) { .article-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; } }
.article-aside { align-self: start; position: sticky; top: 92px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; }
.article-aside h2 { font-size: 22px; }
.article-aside p { font-size: 15px; }
.article-aside .btn { width: 100%; }
@media (max-width: 1023px) { .article-aside { position: static; } }
.related { padding: 0 0 80px; }
.related-grid { display: grid; gap: 18px; }
@media (min-width: 760px) { .related-grid { grid-template-columns: repeat(3, 1fr); } }
.guides-list { display: grid; gap: 18px; padding-top: 40px; padding-bottom: 80px; }
@media (min-width: 700px) { .guides-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .guides-list { grid-template-columns: repeat(3, 1fr); } .guides-list .gcard:first-child, .guides-list .gcard:last-child { grid-column: span 2; } .guides-list .gcard:last-child .gcard-img { aspect-ratio: 32 / 10; } .guides-list .gcard:first-child .gcard-title { font-size: 28px; } }

/* Legal */
.legal { padding: 48px 0 80px; }
.legal-inner { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.legal-kicker { font-weight: 600; color: var(--accent); margin-bottom: 6px; }
.legal h1 { font-size: clamp(34px, 5vw, 48px); }
.legal h2 { font-size: 24px; margin-top: 1.8em; }
.legal-updated { color: var(--muted); }
.legal ul { padding-left: 22px; }

/* Thank you */
.ty { padding: 72px 0 96px; }
.ty .shell { max-width: 720px; }
.ty h1 { font-size: clamp(34px, 5vw, 50px); }
.ty ol { padding-left: 22px; margin-bottom: 28px; }
.ty li { margin-bottom: 10px; }

/* Footer */
.foot { background: var(--surface-2); border-top: 1px solid var(--line); padding: 56px 0 36px; font-size: 15px; }
.foot-grid { display: grid; gap: 32px; }
@media (min-width: 860px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr; gap: 48px; } }
.foot-brand p { margin-top: 14px; max-width: 56ch; color: var(--muted); }
.foot-col { display: flex; flex-direction: column; gap: 8px; }
.foot-col h2 { font: 700 16px/1.2 var(--display); color: var(--ink); margin: 0 0 4px; }
.foot-col a { color: var(--body); text-decoration: none; }
.foot-col a:hover { color: var(--accent); text-decoration: underline; }
.foot-sms { margin: 32px 0 8px; color: var(--muted); }
.foot-legal { margin: 0; color: var(--muted); }

/* Reveal (progressive: hidden only once JS confirms IntersectionObserver) */
.io [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.io [data-reveal].in { opacity: 1; transform: none; }

.small { font-size: 14px; color: var(--muted); }
.article-disclaimer { margin-top: 2em; padding-top: 1.2em; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
