:root {
  --dark: #141416;
  --dark-2: #212125;
  --dark-3: #2C2C31;
  --line: #3A3A3F;
  --cream: #F3F1EC;
  --cream-2: #E9E6DF;
  --muted: #9A978F;
  --soft: #C9C7C2;
  --accent: #D7262E;
  --accent-text: #F3F1EC;
  /* Selected / added / continue = green, never the OEM red (Sam, 17 Oct: red reads as cancel/back). */
  --go: #2E8B57;
  --go-text: #FFFFFF;
  --go-tint: #1B2A21;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; background: #0B0B0C; overflow: hidden; }
body { font-family: 'Karla', Arial, sans-serif; color: var(--cream); -webkit-tap-highlight-color: transparent; user-select: none; }

#viewport { position: fixed; inset: 0; overflow: hidden; }
#stage {
  width: 1080px; height: 1920px; position: relative; overflow: hidden;
  background: var(--dark); position: absolute; left: 50%; top: 50%; transform-origin: center center;
  box-shadow: 0 0 80px rgba(0,0,0,0.6);
}

h1, h2, .bebas { font-family: 'Bebas Neue', sans-serif; font-weight: 400; letter-spacing: 2px; line-height: 1; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ---------- shell ---------- */
.screen { position: absolute; inset: 0; display: flex; flex-direction: column; animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.topbar {
  height: 150px; flex: 0 0 auto; display: flex; align-items: center; gap: 28px;
  padding: 0 56px; border-top: 10px solid var(--accent); background: var(--dark);
}
.topbar .logos { display: flex; align-items: center; gap: 28px; }
.topbar .logos img.skda { height: 46px; }
.topbar .logos .div { width: 2px; height: 60px; background: var(--line); }
.topbar .logos img.oem { height: 76px; }
.topbar .spacer { flex: 1; }
.topbar .restart { font-size: 26px; font-weight: 700; color: var(--soft); padding: 18px 28px; border: 2px solid var(--line); border-radius: 999px; }

.steps { display: flex; gap: 10px; padding: 0 56px 28px; flex: 0 0 auto; }
.steps .s { flex: 1; height: 8px; border-radius: 4px; background: var(--dark-3); }
.steps .s.on { background: var(--accent); }

.body { flex: 1; overflow: hidden; padding: 24px 56px 0; display: flex; flex-direction: column; gap: 32px; }
.eyebrow { font-size: 26px; font-weight: 700; letter-spacing: 5px; text-transform: uppercase; color: var(--accent); }
.title { font-size: 104px; color: var(--cream); }
.sub { font-size: 32px; line-height: 1.4; color: var(--soft); }

/* bottom bar: cart summary + nav */
.bottombar { flex: 0 0 auto; background: var(--dark-2); border-top: 1px solid var(--line); padding: 28px 56px 44px; display: flex; flex-direction: column; gap: 24px; }
.cart { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.cart .thumb { width: 112px; height: 74px; border-radius: 10px; object-fit: cover; background: var(--cream); flex: 0 0 auto; }
.cart .lines { flex: 1; min-width: 0; }
.cart .l1 { font-size: 28px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart .l2 { font-size: 22px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 4px; }
.cart .total { text-align: right; }
.cart .total .t { font-family: 'Bebas Neue'; font-size: 60px; letter-spacing: 1px; line-height: 1; }
.cart .total .n { font-size: 20px; color: var(--muted); }
.cart.empty .l1 { color: var(--muted); font-weight: 500; }

.nav { display: flex; gap: 20px; }
.btn { height: 120px; border-radius: 18px; font-size: 36px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 16px; transition: transform .08s ease, opacity .2s; }
.btn:active { transform: scale(0.98); }
.btn.back { width: 260px; background: var(--dark-3); color: var(--soft); }
.btn.next { flex: 1; background: var(--go); color: var(--go-text); }
.btn.next[disabled] { opacity: 0.3; pointer-events: none; }

/* ---------- attract ---------- */
.attract { background: var(--dark); cursor: pointer; }
.attract .hero { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(0.6); opacity: 0;
  animation: herofade 18s linear infinite, slowzoom 18s linear infinite; }
/* 3 photos, 6s each, 1s crossfade. Each layer is delayed 6s from the last. */
@keyframes herofade { 0% { opacity: 0; } 5.5% { opacity: 1; } 33.3% { opacity: 1; } 38.8% { opacity: 0; } 100% { opacity: 0; } }
@keyframes slowzoom { 0% { transform: scale(1.0); } 38.8% { transform: scale(1.08); } 100% { transform: scale(1.08); } }
.attract .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,20,22,0.85) 0%, rgba(20,20,22,0.1) 35%, rgba(20,20,22,0.2) 55%, rgba(20,20,22,0.95) 85%); }
.attract .top { position: absolute; top: 0; left: 0; right: 0; border-top: 10px solid var(--accent); padding: 72px 72px; display: flex; align-items: center; gap: 36px; }
.attract .top img.skda { height: 70px; }
.attract .top .div { width: 2px; height: 96px; background: rgba(243,241,236,0.3); }
.attract .top img.oem { height: 120px; }
.attract .copy { position: absolute; left: 72px; right: 72px; bottom: 300px; }
.attract .copy .eyebrow { font-size: 30px; margin-bottom: 24px; }
.attract .copy h1 { font-size: 200px; line-height: 0.9; }
.attract .copy p { font-size: 40px; color: var(--soft); margin-top: 28px; line-height: 1.35; max-width: 860px; }
.attract .cta { position: absolute; left: 72px; right: 72px; bottom: 96px; height: 150px; border-radius: 22px; background: var(--go); color: var(--go-text); display: flex; align-items: center; justify-content: center; font-size: 46px; font-weight: 700; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.0); } 50% { box-shadow: 0 0 0 18px rgba(255,255,255,0.08); } }

/* ---------- bike ---------- */
.bikes { display: flex; flex-direction: column; gap: 24px; }
.bikecard { display: flex; align-items: center; gap: 32px; padding: 20px; border-radius: 22px; background: var(--dark-2); border: 3px solid transparent; text-align: left; }
.bikecard.sel { border-color: var(--go); }
.bikecard img { width: 380px; height: 236px; object-fit: cover; border-radius: 14px; background: var(--cream); }
.bikecard .meta .type { font-size: 24px; letter-spacing: 4px; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.bikecard .meta .nm { font-family: 'Bebas Neue'; font-size: 88px; letter-spacing: 2px; line-height: 1; margin-top: 6px; }
.bikecard .meta .ct { font-size: 26px; color: var(--soft); margin-top: 8px; }

.years h3 { font-size: 30px; font-weight: 700; color: var(--soft); margin-bottom: 18px; }
.chips { display: flex; gap: 12px; }
.chip { flex: 1; min-width: 0; height: 96px; padding: 0 8px; border-radius: 16px; background: var(--dark-2); border: 3px solid var(--line); font-size: 36px; font-weight: 700; }
.chip.sel { background: var(--go); border-color: var(--go); color: var(--go-text); }

/* ---------- liveries ---------- */
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; overflow-y: auto; padding-bottom: 24px; flex: 1; min-height: 0; align-content: start; scrollbar-width: none; }
.grid::-webkit-scrollbar { display: none; }
.liv { border-radius: 20px; background: var(--dark-2); border: 3px solid transparent; overflow: hidden; text-align: left; }
.liv.sel { border-color: var(--go); }
.liv img { width: 100%; height: 236px; object-fit: cover; background: var(--cream); display: block; }
.liv .info { padding: 16px 22px 20px; }
.liv .tag { font-size: 20px; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.liv .nm { font-size: 32px; font-weight: 700; margin-top: 6px; line-height: 1.2; }
.liv .pr { font-size: 28px; color: var(--soft); margin-top: 10px; }

/* ---------- customise ---------- */
.preview { position: relative; border-radius: 22px; overflow: hidden; background: var(--cream); height: 470px; flex: 0 0 auto; }
.preview img { width: 100%; height: 100%; object-fit: cover; }
.preview .plate { position: absolute; right: 28px; top: 28px; padding: 16px 26px; border-radius: 14px; font-family: 'Bebas Neue'; font-size: 64px; letter-spacing: 2px; line-height: 1; box-shadow: 0 8px 24px rgba(0,0,0,0.25); text-align: center; min-width: 140px; }
.preview .plate small { display: block; font-family: 'Karla'; font-weight: 700; font-size: 20px; letter-spacing: 3px; margin-top: 6px; }
.preview .finishtag { position: absolute; left: 28px; bottom: 24px; background: rgba(20,20,22,0.85); padding: 10px 18px; border-radius: 999px; font-size: 22px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { background: var(--dark-2); border: 3px solid var(--line); border-radius: 18px; padding: 18px 24px; text-align: left; }
.field.active { border-color: var(--go); }
.field .lb { font-size: 22px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.field .val { font-size: 46px; font-weight: 700; margin-top: 6px; min-height: 56px; }
.field .val .ph { color: #55555B; }
.field .val .caret { display: inline-block; width: 3px; height: 44px; background: var(--go); vertical-align: -6px; margin-left: 4px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.row { display: flex; align-items: center; gap: 20px; }
.row .lb { width: 150px; font-size: 24px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); font-weight: 700; flex: 0 0 auto; }
.swatch { width: 84px; height: 84px; border-radius: 50%; border: 4px solid var(--line); }
.swatch.sel { border-color: var(--cream); box-shadow: 0 0 0 4px var(--go); }
.seg { flex: 1; height: 84px; border-radius: 16px; background: var(--dark-2); border: 3px solid var(--line); font-size: 30px; font-weight: 700; }
.seg small { font-size: 22px; color: var(--muted); font-weight: 500; margin-left: 8px; }
.seg.sel { border-color: var(--go); background: var(--dark-3); }

.keyboard { display: flex; flex-direction: column; gap: 10px; }
.keyboard .kr { display: flex; gap: 10px; justify-content: center; }
.key { width: 88px; height: 72px; border-radius: 12px; background: var(--dark-3); font-size: 32px; font-weight: 700; }
.key:active { background: var(--line); }
.key.wide { width: 200px; font-size: 26px; }

/* ---------- option cards (delivery, pay) ---------- */
.opts { display: flex; flex-direction: column; gap: 24px; }
.opt { display: flex; align-items: center; gap: 30px; padding: 36px 40px; border-radius: 22px; background: var(--dark-2); border: 3px solid var(--line); text-align: left; }
.opt.sel { border-color: var(--go); background: var(--dark-3); }
.opt .ic { width: 96px; height: 96px; border-radius: 50%; background: var(--dark-3); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.opt.sel .ic { background: var(--go); }
.opt .ic svg { width: 48px; height: 48px; stroke: var(--cream); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.opt.sel .ic svg { stroke: var(--go-text); }
.opt .tx { flex: 1; }
.opt .nm { font-size: 40px; font-weight: 700; }
.opt .nt { font-size: 27px; color: var(--soft); margin-top: 8px; line-height: 1.35; }
.opt .pr { font-family: 'Bebas Neue'; font-size: 64px; letter-spacing: 1px; }

/* ---------- pay flows ---------- */
.payflow { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; text-align: center; padding-bottom: 40px; }
.payflow .big { font-family: 'Bebas Neue'; font-size: 120px; letter-spacing: 2px; line-height: 1; }
.payflow p { font-size: 34px; color: var(--soft); line-height: 1.4; max-width: 820px; }
.terminal { width: 360px; height: 440px; border-radius: 36px; background: var(--dark-2); border: 3px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; position: relative; }
.terminal .waves { width: 140px; height: 140px; border-radius: 50%; border: 6px solid var(--go); animation: ring 1.6s ease-out infinite; }
@keyframes ring { 0% { transform: scale(0.6); opacity: 1; } 100% { transform: scale(1.3); opacity: 0; } }
.terminal .amt { font-family: 'Bebas Neue'; font-size: 72px; }
.qr { width: 420px; height: 420px; background: var(--cream); border-radius: 20px; padding: 28px; }
.qr svg { width: 100%; height: 100%; }
.code { font-family: 'Bebas Neue'; font-size: 96px; letter-spacing: 8px; background: var(--dark-2); border: 3px dashed var(--accent); border-radius: 20px; padding: 18px 48px; }
.spinner { width: 90px; height: 90px; border-radius: 50%; border: 8px solid var(--dark-3); border-top-color: var(--go); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- confirm ---------- */
.confirm .body { text-align: center; }
.tick { width: 200px; height: 200px; border-radius: 50%; background: var(--go); display: flex; align-items: center; justify-content: center; margin-top: 60px; animation: pop .4s cubic-bezier(.2,1.6,.4,1); }
@keyframes pop { from { transform: scale(0.4); } to { transform: scale(1); } }
.tick svg { width: 110px; height: 110px; stroke: var(--go-text); fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.summary { width: 100%; background: var(--dark-2); border-radius: 22px; padding: 36px 44px; text-align: left; display: flex; flex-direction: column; gap: 16px; }
.summary .r { display: flex; justify-content: space-between; gap: 24px; font-size: 30px; }
.summary .r span:first-child { color: var(--muted); }
.summary .r.tot { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 6px; font-weight: 700; font-size: 36px; }
.summary .r.tot span:first-child { color: var(--cream); }
.countdown { font-size: 26px; color: var(--muted); }

/* idle overlay */
.idle { position: absolute; inset: 0; background: rgba(11,11,12,0.88); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 36px; z-index: 10; text-align: center; }
.idle h2 { font-size: 110px; }
.idle p { font-size: 34px; color: var(--soft); }
.idle .btn { width: 600px; }
.idle .btn.next { flex: 0 0 auto; }
.note { background: var(--dark-2); border-left: 6px solid var(--accent); border-radius: 12px; padding: 24px 28px; font-size: 30px; line-height: 1.4; color: var(--soft); }
.row .lb { width: 190px; }


/* ---------- bike picker (brand > model > variant > year) ---------- */
.trail { display: flex; align-items: center; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.crumb { font-size: 26px; font-weight: 700; padding: 12px 22px; border-radius: 999px; background: var(--dark-2); border: 2px solid var(--line); color: var(--soft); }
.trail .sep { color: var(--muted); font-size: 30px; }
.brandpick { display: flex; flex-direction: column; gap: 28px; margin-top: 12px; }
.brandtile { height: 420px; border-radius: 26px; background: var(--dark-2); border: 3px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; }
.brandtile img { height: 200px; }
.brandtile span { font-size: 40px; font-weight: 700; color: var(--soft); }
.brandtile.other { height: 300px; }
.brandtile .big { font-family: 'Bebas Neue'; font-size: 120px; letter-spacing: 3px; color: var(--cream); line-height: 1; }
.famgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.famcard { border-radius: 20px; background: var(--dark-2); border: 3px solid transparent; overflow: hidden; text-align: left; }
.famcard.sel { border-color: var(--go); }
.famcard img { width: 100%; height: 200px; object-fit: cover; background: var(--cream); display: block; }
.famcard .meta { padding: 14px 22px 18px; }
.famcard .nm { font-family: 'Bebas Neue'; font-size: 60px; letter-spacing: 2px; line-height: 1; }
.famcard .type { font-size: 22px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-top: 4px; }
.vargroups { display: flex; flex-direction: column; gap: 26px; }
.vg h3 { font-size: 24px; letter-spacing: 4px; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 14px; }
.vgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.vgrid.wide { grid-template-columns: 1fr; }
.vgrid.wide .vtile { height: 150px; font-size: 64px; }
.yeargrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.vtile { height: 110px; border-radius: 16px; background: var(--dark-2); border: 3px solid var(--line); font-family: 'Bebas Neue'; font-size: 46px; letter-spacing: 2px; }
.vtile.sel { background: var(--go); border-color: var(--go); color: var(--go-text); }

/* ---------- attract: how it works ---------- */
.attract .cta { border: 0; }
.attract .howbtn { position: absolute; left: 72px; right: 72px; bottom: 270px; height: 100px; border-radius: 22px; border: 3px solid rgba(243,241,236,0.5); background: rgba(20,20,22,0.55); font-size: 36px; font-weight: 700; color: var(--cream); }
.attract .copy { bottom: 420px; }

/* ---------- FAQ ---------- */
.faqtabs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.faqtab { min-height: 110px; padding: 16px 24px; border-radius: 16px; background: var(--dark-2); border: 3px solid var(--line); font-size: 28px; font-weight: 700; text-align: left; line-height: 1.25; color: var(--soft); }
.faqtab.sel { border-color: var(--go); background: var(--dark-3); color: var(--cream); }
.faqans { flex: 0 1 auto; min-height: 0; overflow-y: auto; background: var(--dark-2); border-radius: 22px; padding: 40px 44px; display: flex; flex-direction: column; gap: 24px; scrollbar-width: none; }
.faqans img { width: 100%; height: 340px; object-fit: cover; border-radius: 14px; background: var(--cream); flex: 0 0 auto; }
.faqans p { font-size: 32px; line-height: 1.45; color: var(--soft); }
.faqans p b { color: var(--cream); }
.faqcols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.faqcol { background: var(--dark-3); border-radius: 16px; padding: 26px 28px; display: flex; flex-direction: column; gap: 12px; }
.faqcol h3 { font-family: 'Bebas Neue'; font-weight: 400; font-size: 48px; letter-spacing: 2px; color: var(--cream); }
.faqcol p { font-size: 27px; }
.faq .bottombar { padding-top: 32px; }
/* tighter picker grids so every Honda family / variant fits on one screen */
.famgrid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
.famcard img { height: 190px; }
.famcard .nm { font-size: 50px; }
.famcard .type { font-size: 19px; letter-spacing: 2px; }
.vargroups { gap: 18px; }
.vg h3 { margin-bottom: 10px; }
.vgrid { gap: 12px; }
.vtile { height: 88px; font-size: 40px; }
.yeargrid .vtile { height: 110px; font-size: 48px; }
.body { overflow-y: auto; scrollbar-width: none; }
.body::-webkit-scrollbar { display: none; }
.hatch { align-self: stretch; height: 96px; border-radius: 16px; border: 2px dashed var(--line); background: transparent; font-size: 30px; font-weight: 700; color: var(--soft); flex: 0 0 auto; }
.hatch span { color: var(--accent); margin-left: 8px; }
.vtile { height: 82px; }
.vargroups { gap: 14px; }

/* ---------- centre-aligned layout (Sam, 17 Oct) ---------- */
.body > div:first-child { text-align: center; }
.trail { justify-content: center; }
.vg h3, .years h3 { text-align: center; }
.famcard, .liv { text-align: center; }
.opt { text-align: left; }
.payflow, .confirm .body { text-align: center; }
.row { justify-content: center; }
.row .lb { text-align: right; }
.cart .lines { text-align: left; }
.keyboard .kr { justify-content: center; }
.faqtab { text-align: center; }
.faqans { text-align: center; }
.faqcol { text-align: left; }
.sub { text-align: center; }
/* centre partial rows too */
.vgrid, .yeargrid, .famgrid { display: flex; flex-wrap: wrap; justify-content: center; }
.vgrid .vtile, .yeargrid .vtile { width: calc((100% - 36px) / 4); flex: 0 0 auto; }
.vgrid.wide .vtile { width: 100%; }
.famgrid .famcard { width: calc((100% - 32px) / 3); flex: 0 0 auto; }
/* 6 families = clean 3 x 2; single-line labels so every card is the same height */
.famcard .type { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.famcard img { height: 280px; }
/* model page: 3 rows of 2 (Sam) */
.famgrid .famcard { width: calc((100% - 20px) / 2); }
.famgrid { gap: 20px; }
.famcard img { height: 215px; }
.famcard .nm { font-size: 56px; }
.famcard img { object-fit: contain; background: #fff; }

/* ---------- calmer variant + year pages (Sam, 17 Oct) ---------- */
.vtabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.vtab { height: 76px; padding: 0 30px; border-radius: 999px; background: transparent; border: 2px solid var(--line); font-size: 27px; font-weight: 700; color: var(--soft); }
.vtab.sel { background: var(--cream); border-color: var(--cream); color: var(--dark); }
.vlist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.vlist.wide { grid-template-columns: 1fr; max-width: 760px; width: 100%; align-self: center; }
.vtile2 { height: 120px; border-radius: 18px; background: var(--dark-2); border: 2px solid transparent; font-family: 'Karla', Arial, sans-serif; font-size: 36px; font-weight: 700; color: var(--cream); letter-spacing: 0.5px; }
.vtile2:active { background: var(--dark-3); }
.vtile2.sel { border-color: var(--go); background: var(--dark-3); }
.yeargrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.yeargrid .vtile2 { width: auto; }

/* variant page v3: all on one screen, 3 wide, Karla (Sam, 17 Oct) */
.vgroups2 { display: flex; flex-direction: column; gap: 18px; }
.vg2 h3 { font-size: 22px; letter-spacing: 4px; text-transform: uppercase; color: var(--muted); font-weight: 700; text-align: center; margin-bottom: 10px; }
.vgroups2.many .vlist { gap: 12px; }
.vgroups2.many .vtile2 { height: 74px; font-size: 31px; border-radius: 14px; }
.vgroups2 .vlist:not(.wide) { display: flex; flex-wrap: wrap; justify-content: center; }
.vgroups2 .vlist:not(.wide) .vtile2 { width: calc((100% - 24px) / 3); flex: 0 0 auto; }

/* size split (CR / CRF) */
.sizepick { display: flex; flex-direction: column; gap: 28px; }
.sizetile { height: 300px; border-radius: 26px; background: var(--dark-2); border: 3px solid transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
.sizetile.sel { border-color: var(--go); }
.sizetile .big { font-family: 'Bebas Neue'; font-size: 104px; letter-spacing: 3px; line-height: 1; color: var(--cream); }
.sizetile .eg { font-size: 28px; font-weight: 700; color: var(--muted); }
/* size tiles in Karla so "cc" stays lower case (Bebas is caps only) */
.sizetile .big { font-family: 'Karla', Arial, sans-serif; font-weight: 700; font-size: 84px; letter-spacing: 0; }
.vgroups2 { gap: 12px; }
/* model card sub-labels in sentence case so "125cc & under" reads naturally */
.famcard .type { text-transform: none; letter-spacing: 0.5px; font-size: 22px; }
.famcard img { height: 205px; }
.vgroups2.many .vtile2 { height: 98px; font-size: 34px; border-radius: 16px; }
/* livery page scrolls through the full range */
.count { font-size: 26px; color: var(--muted); margin-top: 14px; }
.grid { -webkit-overflow-scrolling: touch; overscroll-behavior: contain; scroll-behavior: smooth;
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 calc(100% - 90px), transparent 100%);
          mask-image: linear-gradient(180deg, #000 0, #000 calc(100% - 90px), transparent 100%);
  padding-bottom: 90px; cursor: grab; }
.grid:active { cursor: grabbing; }
.grid { grid-auto-rows: max-content; }

/* ---------- fixed-size livery cards (Sam, 17 Oct) ---------- */
.liv { display: flex; flex-direction: column; height: 440px; }
.liv img { height: 250px; flex: 0 0 auto; object-fit: contain; background: #fff; }
.liv .info { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; padding: 14px 18px; }
.liv .nm { margin-top: 0; font-size: 30px; line-height: 1.2; height: 72px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; align-content: center; }
.liv .pr { margin-top: 0; }

/* ---------- add-ons ---------- */
.addons { display: flex; flex-direction: column; gap: 22px; }
.addon { background: var(--dark-2); border-radius: 22px; padding: 28px 30px; display: flex; flex-direction: column; gap: 18px; }
.ahead h3 { font-family: 'Bebas Neue'; font-weight: 400; font-size: 54px; letter-spacing: 2px; line-height: 1; }
.ahead p { font-size: 24px; color: var(--muted); margin-top: 6px; }
.achoices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.achoices.many { grid-template-columns: repeat(3, 1fr); }
.achip { min-height: 96px; padding: 12px 16px; border-radius: 16px; background: var(--dark-3); border: 2px solid transparent; font-size: 26px; font-weight: 700; line-height: 1.2; color: var(--cream); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.achip small { font-size: 22px; color: var(--muted); font-weight: 700; }
.achip.sel { border-color: var(--go); background: var(--go-tint); }
.achip.sel small { color: var(--cream); }
.achoices.many { grid-template-columns: repeat(4, 1fr); }
.achip { min-height: 80px; font-size: 24px; }
.addon { padding: 24px 26px; gap: 14px; }
.addons { gap: 18px; }
.ahead h3 .aprice { font-family: 'Karla', Arial, sans-serif; font-size: 26px; font-weight: 700; color: var(--muted); letter-spacing: 0; vertical-align: middle; margin-left: 8px; }

/* ---------- Make it yours v2: gallery + labelled sections (Sam, 17 Oct) ---------- */
.screen.still { animation: none; }
.gallery { display: flex; flex-direction: column; gap: 14px; flex: 0 0 auto; }
.gmain { position: relative; border-radius: 22px; overflow: hidden; background: #fff; touch-action: pan-y; user-select: none; }
.gmain img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.gmain .plate { position: absolute; right: 28px; top: 28px; padding: 16px 26px; border-radius: 14px; font-family: 'Bebas Neue'; font-size: 64px; letter-spacing: 2px; line-height: 1; box-shadow: 0 8px 24px rgba(0,0,0,0.25); text-align: center; min-width: 140px; }
.gmain .plate small { display: block; font-family: 'Karla'; font-weight: 700; font-size: 20px; letter-spacing: 3px; margin-top: 6px; }
.garrow { position: absolute; top: 50%; transform: translateY(-50%); width: 84px; height: 84px; border-radius: 50%; background: rgba(20,20,22,0.75); color: var(--cream); font-size: 64px; line-height: 1; display: flex; align-items: center; justify-content: center; padding-bottom: 8px; }
.garrow.l { left: 20px; } .garrow.r { right: 20px; }
.gcount { position: absolute; right: 22px; bottom: 18px; background: rgba(20,20,22,0.75); padding: 8px 16px; border-radius: 999px; font-size: 22px; font-weight: 700; }
.gthumbs { display: flex; gap: 12px; justify-content: center; }
.gthumb { width: 132px; height: 92px; border-radius: 12px; overflow: hidden; background: #fff; border: 3px solid transparent; opacity: 0.6; flex: 0 0 auto; }
.gthumb img { width: 100%; height: 100%; object-fit: contain; }
.gthumb.sel { border-color: var(--go); opacity: 1; }
.sec { display: flex; flex-direction: column; gap: 14px; }
.sechead { display: flex; align-items: center; justify-content: center; gap: 14px; font-size: 24px; letter-spacing: 4px; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.ibtn { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--soft); color: var(--cream); font-family: Georgia, serif; font-style: italic; font-weight: 700; font-size: 26px; letter-spacing: 0; display: flex; align-items: center; justify-content: center; text-transform: none; }
.tiles { display: grid; gap: 14px; }
.tiles.c2 { grid-template-columns: repeat(2, 1fr); } .tiles.c3 { grid-template-columns: repeat(3, 1fr); }
.tile { min-height: 110px; padding: 14px 16px; border-radius: 18px; background: var(--dark-2); border: 3px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.tile b { font-size: 32px; font-weight: 700; color: var(--cream); line-height: 1.15; }
.tile small { font-size: 22px; color: var(--muted); font-weight: 700; }
.tile.sel { border-color: var(--go); background: var(--dark-3); }
.tile.sel small { color: var(--cream); }
.lb2 { font-size: 24px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); font-weight: 700; }

/* info pop-out */
.modal { position: absolute; inset: 0; background: rgba(8,8,10,0.78); display: flex; align-items: center; justify-content: center; padding: 56px; z-index: 50; animation: fade .25s ease; }
.mcard { background: var(--dark-2); border-radius: 28px; padding: 48px; width: 100%; max-height: 100%; overflow-y: auto; display: flex; flex-direction: column; gap: 22px; text-align: center; }
.mcard h2 { font-family: 'Bebas Neue'; font-weight: 400; font-size: 84px; letter-spacing: 2px; line-height: 1; }
.mintro { font-size: 28px; line-height: 1.4; color: var(--soft); }
.mitem { display: grid; grid-template-columns: 340px 1fr; gap: 26px; align-items: center; text-align: left; background: var(--dark-3); border: 3px solid transparent; border-radius: 20px; padding: 16px; }
.mitem.sel { border-color: var(--go); }
.mitem img { width: 340px; height: 230px; object-fit: cover; border-radius: 14px; }
.mitem h3 { font-family: 'Bebas Neue'; font-weight: 400; font-size: 52px; letter-spacing: 1.5px; line-height: 1; }
.mitem h3 span { font-family: 'Karla'; font-size: 22px; color: var(--muted); font-weight: 700; letter-spacing: 0; margin-left: 8px; }
.mitem p { font-size: 26px; line-height: 1.4; color: var(--soft); margin-top: 10px; }
.mhero { width: 100%; height: 420px; object-fit: contain; background: #fff; border-radius: 18px; }
.mlist { list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 28px; color: var(--soft); }
.mdone { flex: 0 0 auto; height: 120px; }

/* ---------- add-ons v2: images, helper text, fork wrap carousel ---------- */
.addons { gap: 20px; }
.addon { padding: 24px; gap: 14px; }
.ahead h3, .abody h3 { font-family: 'Bebas Neue'; font-weight: 400; font-size: 50px; letter-spacing: 2px; line-height: 1; }
.ahelp { font-size: 23px; line-height: 1.35; color: var(--muted); margin-top: 6px; }
.addon.row2 { display: grid; grid-template-columns: 250px 1fr; gap: 24px; align-items: center; }
.avis { width: 250px; height: 250px; border-radius: 16px; overflow: hidden; background: #fff; }
.avis img { width: 100%; height: 100%; object-fit: cover; }
.aswatch { width: 100%; height: 100%; }
.abody { display: flex; flex-direction: column; gap: 14px; text-align: left; }
.abody .achoices { display: flex; gap: 10px; }
.abody .achip { flex: 1; min-height: 84px; font-size: 24px; padding: 8px 10px; }
.abody .achoices.n5 .achip, .abody .achoices.n6 .achip { font-size: 21px; }
.achip .dot { display: inline-block; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); margin-bottom: 2px; }
.carousel { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; margin: 0 -24px; padding: 4px 24px 6px; }
.carousel::-webkit-scrollbar { display: none; }
.fwcard { flex: 0 0 220px; scroll-snap-align: start; border-radius: 18px; background: var(--dark-3); border: 3px solid transparent; padding: 12px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.fwcard.sel { border-color: var(--go); background: var(--go-tint); }
.fwimg { width: 100%; height: 190px; border-radius: 12px; background: #fff; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.fwimg img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.fwcard.none .fwimg { background: var(--dark-2); }
.fwcard.none .fwimg span { font-size: 64px; color: var(--muted); }
.fwcard b { font-size: 23px; font-weight: 700; color: var(--cream); line-height: 1.2; text-align: center; }
.fwcard small { font-size: 20px; color: var(--muted); font-weight: 700; }

/* number plate colour swatches */
.swrow { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.asshown { height: 66px; padding: 0 24px; border-radius: 999px; background: var(--dark-2); border: 3px solid var(--line); font-size: 24px; font-weight: 700; color: var(--cream); }
.asshown.sel { border-color: var(--go); background: var(--dark-3); }
.sw2 { width: 66px; height: 66px; border-radius: 50%; border: 3px solid var(--line); box-shadow: inset 0 0 0 2px rgba(0,0,0,0.25); }
.sw2.ol { background: #77777c; border-width: 8px; }
.sw2.sel { outline: 4px solid var(--go); outline-offset: 4px; }

/* number style carousel */
.nscard { flex: 0 0 250px; scroll-snap-align: start; border-radius: 16px; background: var(--dark-2); border: 3px solid var(--line); padding: 10px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.nscard.sel { border-color: var(--go); background: var(--dark-3); }
.nsimg { width: 100%; height: 76px; border-radius: 10px; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.nsimg img { width: 100%; height: 100%; object-fit: contain; padding: 6px 8px; pointer-events: none; }
.nsimg span { font-family: 'Bebas Neue'; font-size: 40px; color: #141416; letter-spacing: 1px; }
.nscard b { font-size: 21px; font-weight: 700; color: var(--cream); text-align: center; line-height: 1.2; }
.carousel.ns { margin: 0; padding: 4px 0 6px; }

.brandtile.other .big { font-size: 96px; }
.brandtile img { height: 230px; }

/* slide-up keyboard */
.kbsheet { position: absolute; left: 0; right: 0; bottom: 0; background: var(--dark-2); border-top: 1px solid var(--line); border-radius: 28px 28px 0 0; padding: 32px 56px 44px; display: flex; flex-direction: column; gap: 22px; z-index: 40; box-shadow: 0 -20px 60px rgba(0,0,0,0.5); animation: sheetup .25s ease; }
@keyframes sheetup { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.kbdone { flex: 0 0 auto; height: 120px; }
.sw2 { width: 60px; height: 60px; }
.asshown { height: 60px; }

.mdone, .kbdone { flex: 0 0 120px !important; min-height: 120px; }

/* add-ons: tighter so all four fit (Sam, 17 Oct) */
.addons { gap: 16px; }
.addon { padding: 20px 22px; gap: 12px; }
.addon.row2 { grid-template-columns: 260px 1fr; gap: 22px; }
.avis { width: 260px; height: 180px; }
.ahead h3, .abody h3 { font-size: 44px; }
.ahelp { font-size: 21px; margin-top: 4px; }
.abody { gap: 10px; }
.abody .achip { min-height: 70px; }
.fwimg { height: 150px; }
.fwcard { flex-basis: 200px; padding: 10px; gap: 8px; }

/* seat cover: wider image so the whole seat shows */
.addon.row2.wide { grid-template-columns: 380px 1fr; }
.addon.row2.wide .avis { width: 380px; height: 220px; }
.addon.row2.wide .avis img { object-fit: contain; }

/* breathing room under the last item on scrolling pages */
.body { padding-bottom: 48px; }
.grid { padding-bottom: 40px; }

/* end of the kit list: soft landing to skda.com */
.morecard { grid-column: 1 / -1; display: flex; align-items: center; gap: 34px; padding: 34px 38px; border-radius: 20px; border: 3px dashed var(--line); background: transparent; text-align: left; }
.morecard .qr { width: 200px; height: 200px; flex: 0 0 auto; padding: 14px; }
.morecard h3 { font-family: 'Bebas Neue'; font-weight: 400; font-size: 56px; letter-spacing: 2px; line-height: 1; }
.morecard p { font-size: 26px; line-height: 1.4; color: var(--soft); margin-top: 10px; }
/* subtler end-of-list nudge (Sam, 17 Oct) */
.morecard { justify-content: center; gap: 20px; padding: 18px 0 8px; border: 0; }
.morecard .qr { width: 96px; height: 96px; padding: 8px; border-radius: 10px; opacity: 0.85; }
.morecard p { font-size: 22px; color: var(--muted); margin-top: 0; }

/* 2-3 model choices: side by side, full width, centred (Sam, 17 Oct) */
.vlist.wide { display: flex; max-width: none; width: 100%; gap: 20px; }
.vlist.wide .vtile2 { flex: 1; height: 180px; font-size: 44px; }

/* seat cover or kit? */
.whatpick { display: flex; flex-direction: column; gap: 24px; }
.whattile { display: grid; grid-template-columns: 460px 1fr; align-items: center; gap: 30px; border-radius: 24px; background: var(--dark-2); border: 3px solid var(--line); overflow: hidden; text-align: left; height: 330px; }
.whattile img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.whattile .nm { font-family: 'Bebas Neue'; font-size: 84px; letter-spacing: 2px; line-height: 1; color: var(--cream); }
.whattile .type { font-size: 28px; color: var(--muted); margin-top: 10px; font-weight: 700; }
/* the keyboard sheet only slides in once, not on every key */
.kbsheet.steady, .modal.steady { animation: none; }
.key.sym { font-size: 34px; }

/* calmer Make it yours: more air between sections (Sam, 17 Oct) */
.sec + .sec, .gallery + .sec, .sec + .fields, .fields + .sec { margin-top: 22px; }
.sec .swrow { margin-top: 6px; }

/* one row per choice: opened choice + X to cancel (Sam, 17 Oct) */
.openline { display: flex; align-items: center; gap: 16px; min-height: 110px; }
.openline > .fields, .openline > .swrow { flex: 1; }
.openline .swrow { gap: 10px; }
.openline .sw2 { width: 54px; height: 54px; }
.xbtn { flex: 0 0 auto; width: 76px; height: 76px; border-radius: 50%; background: var(--dark-2); border: 2px solid var(--line); color: var(--soft); font-size: 30px; display: flex; align-items: center; justify-content: center; }
.kbsheet { gap: 16px; padding-top: 26px; }
.kbsheet .sec + .sec { margin-top: 4px; }

/* colour picker: 2 even rows, the X takes the last spot (Sam, 17 Oct) */
.swgrid { display: grid; gap: 14px 0; justify-items: center; align-items: center; }
.swgrid .sw2 { width: 70px; height: 70px; }
.swgrid .xbtn { width: 70px; height: 70px; }

/* add-ons v3: one tidy layout for every extra (Sam, 17 Oct) */
.addon { padding: 22px 24px; gap: 10px; }
.ahead2 { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ahead2 h3 { font-family: 'Bebas Neue'; font-weight: 400; font-size: 46px; letter-spacing: 2px; line-height: 1; }
.ptag { font-size: 26px; font-weight: 700; color: var(--cream); background: var(--dark-3); border: 2px solid var(--line); padding: 6px 16px; border-radius: 999px; white-space: nowrap; }
.addon .ahelp { font-size: 22px; margin-top: 0; }
.arow { display: grid; grid-template-columns: 300px 1fr; gap: 18px; align-items: stretch; margin-top: 4px; }
.avis2 { height: 150px; border-radius: 14px; overflow: hidden; background: #fff; }
.avis2 img { width: 100%; height: 100%; object-fit: cover; }
.achoices2 { display: grid; gap: 10px; align-content: center; }
.achoices2 .achip { min-height: 66px; font-size: 24px; padding: 6px 10px; }
.achoices2 .achip small { font-size: 19px; }
.fwimg { height: 130px; }
.fwcard { flex-basis: 190px; }
.addons { gap: 12px; }
.addon { padding: 18px 22px; gap: 8px; }
.avis2 { height: 124px; }
.achoices2 .achip { min-height: 57px; }
.fwimg { height: 112px; }
.fwcard { gap: 6px; padding: 8px; }
.swgrid { gap: 10px 0; }
.swgrid .sw2, .swgrid .xbtn { width: 60px; height: 60px; }

/* ---------- extras v4: one clean row per extra + picker sheet (Sam, 17 Oct) ---------- */
.xlist { display: flex; flex-direction: column; gap: 18px; }
.xrow { display: grid; grid-template-columns: 230px 1fr 190px; align-items: center; gap: 22px; padding: 18px; border-radius: 22px; background: var(--dark-2); border: 3px solid transparent; }
.xrow.on { border-color: var(--go); }
.ximg { width: 230px; height: 170px; border-radius: 14px; overflow: hidden; background: #fff; }
.ximg img { width: 100%; height: 100%; object-fit: cover; }
.xtxt { text-align: left; display: flex; flex-direction: column; gap: 10px; }
.xt { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.xt h3 { font-family: 'Bebas Neue'; font-weight: 400; font-size: 46px; letter-spacing: 2px; line-height: 1; color: var(--cream); }
.xtxt p { font-size: 22px; line-height: 1.35; color: var(--muted); }
.xtxt p u { color: var(--cream); }
.xadd { height: 96px; border-radius: 18px; background: var(--dark-3); border: 2px solid var(--line); font-size: 28px; font-weight: 700; color: var(--cream); }
.xadd.on { background: var(--go); border-color: var(--go); color: var(--go-text); }
.xsheet { gap: 24px; }
.xgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.xopt { background: var(--dark-3); border: 3px solid transparent; border-radius: 18px; padding: 14px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.xopt.sel { border-color: var(--go); }
.xoimg { width: 100%; height: 190px; border-radius: 12px; overflow: hidden; background: #fff; display: flex; align-items: center; justify-content: center; }
.xoimg img { width: 100%; height: 100%; object-fit: contain; }
.xopt b { font-size: 26px; color: var(--cream); }
.xopt small { font-size: 22px; color: var(--muted); font-weight: 700; }
.xsheet .nav { display: flex; gap: 16px; }
.xsheet .nav .btn { height: 110px; flex: 1; }
.modal.steady2 { animation: fade .2s ease; }
.xt { flex-wrap: nowrap; }
.xt h3 { font-size: 40px; white-space: nowrap; }

/* MX front plate preview (Sam, 17 Oct) */
.gmain .mxplate { position: absolute; right: 26px; top: 20px; width: 168px; height: 184px; filter: drop-shadow(0 8px 18px rgba(0,0,0,0.3)); }
/* softer green: tinted, not solid, for "Added"; calmer solid for Continue (Sam: full green is harsh) */
.xadd.on { background: var(--go-tint); border-color: var(--go); color: #7FD3A2; }
.btn.next { background: var(--go); }
.btn.next:disabled { background: var(--dark-3); }
.body.noscroll, .grid.noscroll { overflow: hidden !important; }

/* one-row bottom bar (Sam, 17 Oct): Back · summary · Continue */
.bottombar.one { flex-direction: row; align-items: center; gap: 20px; padding: 22px 56px 30px; }
.bottombar.one .btn { height: 104px; }
.bottombar.one .btn.back { width: 180px; flex: 0 0 auto; }
.bottombar.one .btn.next { flex: 0 0 auto; width: 400px; font-size: 30px; padding: 0 20px; }
.bottombar.one .cart { flex: 1; min-width: 0; gap: 16px; }
.bottombar.one .cart .thumb { width: 88px; height: 58px; }
.bottombar.one .cart .total .t { font-size: 48px; }
.bottombar.one .cart .l1 { font-size: 24px; }
.bottombar.one .cart .l2 { font-size: 19px; }
.bottombar.one:has(.btn.next) .cart .thumb { display: none; }
.bottombar.one .btn.back { width: 160px; }
.bottombar.one .btn.next { width: 360px; font-size: 28px; }

/* prices are always Karla, never the title font (Sam, 17 Oct) */
.cart .total .t, .bottombar.one .cart .total .t { font-family: 'Karla', Arial, sans-serif; font-weight: 800; font-size: 42px; letter-spacing: 0; }
.opt .pr { font-family: 'Karla', Arial, sans-serif; font-weight: 800; font-size: 44px; letter-spacing: 0; }
.terminal .amt { font-family: 'Karla', Arial, sans-serif; font-weight: 800; font-size: 56px; }
/* price lives in the Add button, two lines (Sam, 17 Oct) */
.xadd { height: 110px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.xadd b { font-size: 28px; font-weight: 700; }
.xadd small { font-size: 21px; font-weight: 700; color: var(--muted); }
.xadd.on small { color: #7FD3A2; }

/* FAQ: DIY vs dealer install stacked, not side by side (Sam, 17 Oct) */
.faqcols { display: flex !important; flex-direction: column; gap: 18px; }
.faqcols .faqcol { width: 100%; }
/* FAQ: ordering as numbered steps (Sam, 17 Oct) */
.faqsteps { list-style: none; counter-reset: st; display: flex; flex-direction: column; gap: 14px; text-align: left; }
.faqsteps li { counter-increment: st; display: flex; align-items: center; gap: 20px; font-size: 28px; line-height: 1.35; color: var(--cream); background: var(--dark-3); border-radius: 14px; padding: 16px 20px; }
.faqsteps li::before { content: counter(st); flex: 0 0 auto; width: 52px; height: 52px; border-radius: 50%; background: var(--go); color: #fff; font-weight: 800; font-size: 26px; display: flex; align-items: center; justify-content: center; }
/* FAQ install options: centred text (Sam, 17 Oct) */
.faqcols .faqcol { text-align: center; align-items: center; }
/* FAQ: the bold line always stands alone; the rest starts on a new line (Sam, 17 Oct) */
.faqans b { display: block; margin-bottom: 6px; }

/* your details step */
.dfields { display: flex; flex-direction: column; gap: 18px; }
.dfields .field { width: 100%; text-align: left; }
.kbsheet > .field { width: 100%; text-align: left; }

/* "How it all works": a solid cream button so it reads as tappable, second to the green Start (Sam, 17 Oct) */
.attract .howbtn { background: var(--cream); color: var(--dark); border: 0; display: flex; align-items: center; justify-content: center; gap: 18px; box-shadow: 0 10px 30px rgba(0,0,0,0.35); }
.attract .howbtn::before { content: '?'; width: 52px; height: 52px; border-radius: 50%; background: var(--dark); color: var(--cream); font-size: 32px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
/* softer: frosted glass instead of solid cream (Sam, 17 Oct) */
.attract .howbtn { background: rgba(243,241,236,0.16); color: var(--cream); border: 2px solid rgba(243,241,236,0.35); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 10px 30px rgba(0,0,0,0.25); }
.attract .howbtn::before { background: transparent; color: var(--cream); border: 2px solid rgba(243,241,236,0.6); width: 46px; height: 46px; font-size: 26px; font-weight: 700; }

/* CRF size-first picker */
.ccgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cctile { height: 210px; border-radius: 22px; background: var(--dark-2); border: 3px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.cctile.sel { border-color: var(--go); }
.cctile .big { font-family: 'Bebas Neue'; font-size: 104px; line-height: 0.9; color: var(--cream); letter-spacing: 2px; }
.cctile .big small { font-size: 52px; margin-left: 4px; color: var(--soft); }
.cctile .eg { font-size: 24px; font-weight: 700; color: var(--muted); }
.vshort { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.vtile3 { height: 140px; border-radius: 18px; background: var(--dark-2); border: 3px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.vtile3 b { font-size: 40px; font-weight: 700; color: var(--cream); }
.vtile3 small { font-size: 21px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.vtile3.sel { border-color: var(--go); background: var(--dark-3); }
/* "?" after the words on the welcome-screen FAQ button (Sam, 17 Oct) */
.attract .howbtn::before { order: 2; }

/* Netlify free-plan "Powered by Netlify" badge sat over the bottom bar on phones */
#nl-badge-frame { display: none !important; }
/* size tiles: numbers in Karla, no model hints (Sam, 17 Oct) */
.cctile { height: 180px; }
.cctile .big { font-family: 'Karla', Arial, sans-serif; font-weight: 800; font-size: 72px; letter-spacing: 0; line-height: 1; }
.cctile .big small { font-size: 40px; font-weight: 700; margin-left: 6px; }

/* never mix half and full width buttons: an odd last tile stays half width, centred (Sam, 17 Oct) */
.ccgrid, .vshort { display: flex; flex-wrap: wrap; justify-content: center; }
.ccgrid > .cctile { width: calc(50% - 10px); }
.vshort > .vtile3 { width: calc(50% - 9px); height: 120px; }
/* kit or seat: same cards as the model page, taller pictures (Sam, 17 Oct) */
.whatgrid .famcard img { height: 380px; }
/* kit or seat: SBB-style icon rows (Sam, 17 Oct) */
.sbbrows { display: flex; flex-direction: column; gap: 20px; }
.sbbrow { display: flex; align-items: center; gap: 30px; height: 170px; padding: 0 40px; border-radius: 22px; background: var(--dark-2); border: 3px solid var(--line); text-align: left; }
.sbbrow:active { background: var(--dark-3); }
.sbbico { width: 110px; height: 110px; border-radius: 50%; background: var(--dark-3); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; color: var(--cream); }
.sbbico svg { width: 64px; height: 64px; }
.sbbrow .nm { flex: 1; font-family: 'Bebas Neue'; font-size: 64px; letter-spacing: 2px; color: var(--cream); line-height: 1; }
.sbbrow .chev svg { width: 48px; height: 48px; color: var(--muted); }
.sbbrow .nm { font-family: 'Karla', Arial, sans-serif; font-weight: 700; font-size: 40px; letter-spacing: 0; }

/* page transitions: slide + fade, quick enough to never feel slow (Sam, 18 Oct) */
/* only the page content moves; the header and bottom bar stay put */
.screen.in-fwd, .screen.in-back { animation: none; }
.screen.in-fwd > .body { animation: slidefwd .28s cubic-bezier(.2,.8,.3,1); }
.screen.in-back > .body { animation: slideback .28s cubic-bezier(.2,.8,.3,1); }
@keyframes slidefwd { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: none; } }
@keyframes slideback { from { opacity: 0; transform: translateX(-60px); } to { opacity: 1; transform: none; } }
.screen.attract.in-fwd, .screen.attract.in-back { animation: fade .35s ease; }
/* stronger, visible transition: old page slides out, new page slides in (Sam: "still seems instant") */
.screen.leaving { pointer-events: none; animation: none; }
.screen.leaving > .body { animation: none; }
.screen.leaving.out-fwd > .body { animation: outfwd .3s ease-in forwards; }
.screen.leaving.out-back > .body { animation: outback .3s ease-in forwards; }
.screen.leaving.attract { animation: fadeout .3s ease-in forwards; }
@keyframes outfwd { to { opacity: 0; transform: translateX(-90px); } }
@keyframes outback { to { opacity: 0; transform: translateX(90px); } }
@keyframes fadeout { to { opacity: 0; } }
.screen.in-fwd > .body { animation: slidefwd2 .42s cubic-bezier(.25,.7,.3,1) .08s both; }
.screen.in-back > .body { animation: slideback2 .42s cubic-bezier(.25,.7,.3,1) .08s both; }
@keyframes slidefwd2 { from { opacity: 0; transform: translateX(120px); } to { opacity: 1; transform: none; } }
@keyframes slideback2 { from { opacity: 0; transform: translateX(-120px); } to { opacity: 1; transform: none; } }
/* the new page's own background must not hide the old one while it leaves */
.screen.in-fwd, .screen.in-back { background: transparent; }

/* review block on the pay screen */
.summary.review { padding: 24px 32px; gap: 10px; }
.summary.review .r { font-size: 26px; }
.summary.review .r.tot { font-size: 32px; padding-top: 12px; }

/* iPhone-style keyboard: 10 keys across, delete on the third row, 123/ABC + space on the bottom */
.keyboard.ios { gap: 10px; }
.keyboard.ios .key { width: 86px; height: 76px; font-size: 32px; }
.keyboard.ios .key.wide { width: 130px; font-size: 26px; }
.keyboard.ios .key.wide2 { width: 130px; font-size: 26px; }
.keyboard.ios .key.del { font-size: 34px; }
.keyboard.ios .key.mode, .keyboard.ios .key.del { background: var(--dark-2); border: 2px solid var(--line); }
.keyboard.ios .key.space { width: 520px; font-size: 24px; color: var(--muted); }
.keyboard.ios .key.sym { font-size: 34px; }

/* quiet "CRF 450 R · 2025" in the header once a bike is picked (replaces the breadcrumb chips, Sam 18 Oct) */
.hdrbike { margin-left: 28px; padding-left: 28px; border-left: 2px solid var(--line); font-size: 26px; font-weight: 700; color: var(--muted); white-space: nowrap; letter-spacing: 0.5px; }

/* Make it yours: one question at a time, sliding (Sam, 18 Oct) */
.qwrap { overflow: hidden; margin: 0 -56px; padding: 6px 56px; }
.qcard.q-fwd { animation: qfwd .32s cubic-bezier(.2,.8,.3,1); }
.qcard.q-back { animation: qback .32s cubic-bezier(.2,.8,.3,1); }
@keyframes qfwd { from { opacity: 0; transform: translateX(160px); } to { opacity: 1; transform: none; } }
@keyframes qback { from { opacity: 0; transform: translateX(-160px); } to { opacity: 1; transform: none; } }
.qnav { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.qbtn { height: 64px; padding: 0 28px; border-radius: 999px; border: 2px solid var(--line); background: transparent; color: var(--soft); font-size: 24px; font-weight: 700; }
.qbtn[disabled] { opacity: 0.25; }
.qdots { display: flex; gap: 12px; }
.qdots i { width: 16px; height: 16px; border-radius: 50%; background: var(--dark-3); border: 2px solid var(--line); }
.qdots i.on { background: var(--go); border-color: var(--go); }
.qdots i.done { background: var(--line); }
.qcard .sechead span { font-size: 28px; }
.qcard .tile { min-height: 130px; }
.qcard .tile b { font-size: 36px; }

/* nothing snaps: pop-outs, pickers, the keyboard and the idle prompt all ease in and out (Sam, 18 Oct) */
.modal { animation: fade .22s ease; }
.modal:not(.steady) .mcard { animation: popin .28s cubic-bezier(.2,.8,.3,1); }
@keyframes popin { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
.modal.closing { animation: fadeout .22s ease forwards; pointer-events: none; }
.modal.closing .mcard { animation: popout .22s ease forwards; }
@keyframes popout { to { opacity: 0; transform: translateY(16px) scale(.98); } }
.kbsheet.closing { animation: sheetdown .26s ease-in forwards; pointer-events: none; }
@keyframes sheetdown { to { transform: translateY(60px); opacity: 0; } }
.idle { animation: fade .3s ease; }
.idle.closing { animation: fadeout .25s ease forwards; pointer-events: none; }
/* things that open inside a card fade in rather than popping */
.swgrid, .openline, .fields, .tiles { animation: fade .2s ease; }
.xrow, .xadd { transition: border-color .2s, background .2s, color .2s; }
.tile, .achip, .sw2, .vtile2, .vtile3, .cctile, .liv, .famcard, .opt { transition: border-color .18s, background .18s, transform .08s; }

/* Make it yours cards use the space: explainer line, tall tiles with a helper inside, photos on finishes (Sam, 18 Oct) */
.qwrap { flex: 1; display: flex; flex-direction: column; }
.qcard { display: flex; flex-direction: column; gap: 18px; }
.qcard .sechead span { font-size: 36px; letter-spacing: 3px; }
.qhelp { font-size: 27px; line-height: 1.4; color: var(--soft); text-align: center; margin: -4px auto 6px; max-width: 880px; }
.qcard .tiles { gap: 18px; }
.qcard .tile { min-height: 230px; padding: 26px 22px; gap: 10px; justify-content: center; }
.qcard .tile b { font-size: 36px; }
.qcard .tile small { font-size: 23px; line-height: 1.3; color: var(--muted); white-space: normal; text-align: center; }
.qcard .tile.sel small { color: var(--soft); }
.qcard .tile em { font-style: normal; font-size: 23px; font-weight: 700; color: var(--cream); background: var(--dark-3); border: 2px solid var(--line); padding: 4px 14px; border-radius: 999px; margin-top: 4px; }
.qcard .tiles.photo .tile { min-height: 360px; padding: 14px 14px 22px; justify-content: flex-start; }
.qcard .tiles.photo .tile img { width: 100%; height: 150px; object-fit: cover; border-radius: 14px; margin-bottom: 6px; }
.qcard .swgrid { gap: 18px 0; margin-top: 10px; }
.qcard .swgrid .sw2, .qcard .swgrid .xbtn { width: 82px; height: 82px; }
.qcard .openline .sw2 { width: 72px; height: 72px; }
.qnav { margin-top: auto; padding-top: 18px; }
.qcard .tiles.c2 .tile { min-height: 320px; }
.qcard .tiles.c2 .tile b { font-size: 40px; }
.qcard .tiles.c2 .tile small { font-size: 25px; max-width: 380px; }
.qcard .swgrid { gap: 26px 0; margin-top: 18px; }
.qcard .swgrid .sw2, .qcard .swgrid .xbtn { width: 96px; height: 96px; }

/* say why Continue is locked (Sam, 18 Oct: "doesn't tell me why, bad UX") */
.why { font-size: 25px; font-weight: 700; color: #F2B84B; text-align: center; margin-top: -6px; }
.why.shake { animation: shake .4s ease; }
@keyframes shake { 0%,100% { transform: none; } 20% { transform: translateX(-10px); } 40% { transform: translateX(10px); } 60% { transform: translateX(-6px); } 80% { transform: translateX(6px); } }
.btn.next.off { opacity: 0.35; }
.field { position: relative; }
.field .hint { font-size: 20px; color: var(--muted); margin-top: 6px; }
.field .hint.bad { color: #F2B84B; }
.field .hint.ok { color: var(--go); }
.kbsheet .field .hint { display: none; }
