/* Xoundly sales site.
   Palette from the road: signal yellow ground, asphalt ink, white cards,
   sea teal for the voice, brake red only for "live".
   Type: Big Shoulders Display (signage) for the few big lines,
   Instrument Sans for reading, DM Mono for small labels. */
:root {
  --yellow: #FFC933;
  --yellow-deep: #F2B705;
  --asphalt: #17191C;
  --asphalt-2: #23262B;
  --white: #FFFFFF;
  --paper: #F6F6F3;
  --teal: #0B7A75;
  --teal-bright: #38C6BC;
  --red: #E5383B;
  --muted: #55595F;
  --line: #17191C;
  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --r: 18px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.55 var(--body); color: var(--asphalt); background: var(--yellow); }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(760px, 100% - 40px); }

h1, h2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: 0.005em; line-height: 0.92; margin: 0; }
h1 { font-size: clamp(58px, 13.5vw, 92px); }
h2 { font-size: clamp(40px, 7vw, 68px); }
h3 { font-size: 19px; line-height: 1.25; margin: 0 0 6px; font-weight: 700; }
p { margin: 0 0 14px; }

/* Top bar */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: min(1120px, 100% - 40px); margin-inline: auto; padding: 18px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 900; font-size: 30px; letter-spacing: 0.02em; text-transform: uppercase; }
.mark { width: 34px; height: 34px; fill: none; stroke: var(--asphalt); stroke-width: 6; stroke-linecap: round; }
.mark path:last-child { stroke: var(--teal); }
.topnav { display: flex; align-items: center; gap: 22px; font-weight: 600; font-size: 15px; }
.topnav a { text-decoration: none; }
.topnav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.topnav .pill { padding: 9px 16px; border: 2px solid var(--asphalt); border-radius: 999px; }
.topnav .pill:hover { background: var(--asphalt); color: var(--yellow); text-decoration: none; }
@media (max-width: 720px) { .topnav a:not(.pill) { display: none; } }

/* Hero */
.hero { padding: 14px 0 56px; }
.hero-grid { display: grid; gap: 34px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; } .hero { padding: 30px 0 84px; } }
@media (min-width: 960px) and (max-width: 1180px) { h1 { font-size: 74px; } }
.status { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 18px; font: 500 13px/1.3 var(--mono); letter-spacing: 0.01em; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); flex: none; }
.lede { font-size: clamp(18px, 2.2vw, 21px); line-height: 1.5; max-width: 34em; margin: 22px 0 26px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.fine { font-size: 14px; color: var(--asphalt-2); margin: 14px 0 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 12px 24px; font: 700 17px/1 var(--body); color: var(--asphalt); background: transparent; border: 2.5px solid var(--asphalt); border-radius: 999px; text-decoration: none; cursor: pointer; transition: transform .12s ease, background .12s ease, color .12s ease; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.btn:hover { background: var(--asphalt); color: var(--yellow); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn.primary { background: var(--asphalt); color: var(--yellow); }
.btn.primary:hover { background: #000; }
.btn.small { min-height: 48px; padding: 10px 18px; font-size: 15px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn[disabled]:hover { background: transparent; color: var(--asphalt); }

/* Stage: two helmets, one sound line */
.stage { position: relative; background: var(--white); border: 2.5px solid var(--asphalt); border-radius: 28px; padding: 14px 14px 16px; box-shadow: 8px 8px 0 var(--asphalt); }
.stage canvas, .stage .helmets { width: 100%; height: auto; aspect-ratio: 2.4 / 1; }
.stage .helmets { position: absolute; inset: 14px 14px auto 14px; width: calc(100% - 28px); pointer-events: none; }
.helmet .shell { fill: var(--asphalt); }
.helmet .visor { fill: var(--teal-bright); }
.helmet.rider .shell { fill: var(--asphalt); }
.helmet.pillion .shell { fill: var(--yellow-deep); stroke: var(--asphalt); stroke-width: 5; }
.helmet .vent { stroke: var(--white); stroke-width: 6; stroke-linecap: round; opacity: .55; }
.helmet.pillion .vent { stroke: var(--asphalt); opacity: .35; }
.helmet .mic { fill: var(--red); }
.stage-tags { display: flex; justify-content: space-between; padding: 0 9% 0 11%; margin-top: -6px; font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.demo { margin-top: 14px; padding-top: 14px; border-top: 2px dashed #C9CBC7; }
.demo-line { margin: 0 0 12px; font-weight: 600; min-height: 1.55em; }
.demo-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn.talk { user-select: none; -webkit-user-select: none; }
.btn.talk.holding { background: var(--red); border-color: var(--red); color: var(--white); }
@media (max-width: 420px) { .demo-controls { grid-template-columns: 1fr; } }

/* Bands */
.band { padding: 72px 0; background: var(--white); }
.band.plain { background: var(--paper); }
.band.yellow { background: var(--yellow); }
.band.night { background: var(--asphalt); color: #ECEDE9; }
.band.night h2 { color: var(--yellow); }
.band-lede { font-size: 19px; max-width: 40em; margin: 16px 0 38px; color: #C9CBC7; }
.band h2 + .cards, .band h2 + details { margin-top: 30px; }

.phones { display: grid; gap: 26px; }
@media (min-width: 900px) { .phones { grid-template-columns: 1fr 1fr; gap: 34px; } }
.phonecard { display: grid; grid-template-columns: 132px 1fr; gap: 20px; align-items: center; background: var(--asphalt-2); border: 1.5px solid #34383E; border-radius: 24px; padding: 20px; }
@media (max-width: 480px) { .phonecard { grid-template-columns: 1fr; } .phone { margin-inline: auto; } }
.phonecard h3 { color: var(--white); font-size: 21px; }
.phonecard p { color: #C9CBC7; margin: 0; }
.tag { display: inline-block; margin: 0 0 10px !important; padding: 5px 10px; border-radius: 999px; font: 500 12px/1.2 var(--mono); letter-spacing: .02em; }
.tag.ok { background: var(--teal-bright); color: #04302D; }
.tag.soon { background: var(--yellow); color: var(--asphalt); }

.phone { width: 132px; aspect-ratio: 9 / 18.5; background: #000; border-radius: 22px; padding: 6px; border: 2px solid #4A4F56; }
.screen { height: 100%; border-radius: 17px; overflow: hidden; position: relative; font: 600 8px/1.25 var(--body); color: #E6EEEA; }
.ride-screen { background: #060B0A; padding: 9px 8px; display: flex; flex-direction: column; gap: 6px; }
.rs-top { display: flex; justify-content: space-between; align-items: center; color: #8FA39C; }
.rs-top b { color: #fff; letter-spacing: .12em; }
.rs-top i { font-style: normal; background: #7FAEA4; color: #06201B; padding: 2px 6px; border-radius: 99px; }
.rs-video { position: relative; aspect-ratio: 16 / 9; border-radius: 6px; background: linear-gradient(135deg, #3B1D5E, #B2307A 55%, #F2994A); display: grid; place-items: center; }
.rs-video em { position: absolute; left: 5px; bottom: 4px; font-style: normal; font-size: 7px; color: #fff; opacity: .9; }
.play { width: 0; height: 0; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.rs-title { font-size: 9px; color: #fff; }
.rs-row { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 3px; }
.rs-row span { text-align: center; padding: 5px 0; border: 1px solid #1D2B27; border-radius: 6px; }
.rs-sing { margin-top: auto; padding: 6px; border: 1px solid #2E6E64; border-radius: 6px; color: #7FAEA4; }
.map-screen { background: #E9EEE4; color: var(--asphalt); }
.map-road { position: absolute; left: -10%; top: 38%; width: 130%; height: 13px; background: #fff; border-block: 2px solid #C8CFBF; transform: rotate(-24deg); }
.map-road.two { top: 60%; left: 10%; width: 90%; transform: rotate(38deg); height: 9px; }
.map-pin { position: absolute; left: 50%; top: 52%; width: 14px; height: 14px; margin: -7px; border-radius: 50%; background: #1A73E8; border: 3px solid #fff; box-shadow: 0 0 0 5px rgba(26,115,232,.25); }
.map-turn { position: absolute; top: 8px; left: 7px; right: 7px; padding: 7px 8px; border-radius: 8px; background: #0F5132; color: #fff; font-size: 9px; }
.map-pillbar { position: absolute; left: 7px; right: 7px; bottom: 9px; display: flex; align-items: center; gap: 5px; padding: 6px 8px; border-radius: 99px; background: var(--asphalt); color: #fff; font-size: 8px; }
.map-pillbar small { margin-left: auto; color: var(--teal-bright); font-size: 7px; }
.map-pillbar .dot { width: 6px; height: 6px; }

/* Kilometre posts: a real sequence, so the numbering carries information */
.km { list-style: none; margin: 46px 0 0; padding: 0; display: grid; gap: 0; border-left: 3px dashed #4A4F56; }
.km li { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; padding: 0 0 26px 22px; position: relative; }
.km li:last-child { padding-bottom: 0; }
.post { display: inline-block; min-width: 62px; padding: 7px 8px 6px; text-align: center; font: 500 12px/1 var(--mono); letter-spacing: .06em; color: var(--asphalt); background: var(--yellow); border-radius: 6px 6px 2px 2px; border-bottom: 5px solid var(--white); }
.km h3 { color: var(--white); }
.km p { color: #C9CBC7; margin: 0; }
@media (min-width: 900px) { .km { grid-template-columns: repeat(4, 1fr); border-left: 0; border-top: 3px dashed #4A4F56; gap: 22px; } .km li { grid-template-columns: 1fr; padding: 22px 0 0; } .km .post { justify-self: start; margin-top: -40px; } }

/* Feature cards */
.cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); }
.card { background: var(--paper); border: 2px solid var(--asphalt); border-radius: var(--r); padding: 20px 20px 18px; }
.card svg { width: 44px; height: 44px; margin-bottom: 14px; fill: none; stroke: var(--asphalt); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.card:nth-child(3n+1) svg { stroke: var(--teal); }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

/* Questions */
details { border-top: 2px solid var(--asphalt); padding: 4px 0; }
details:last-of-type { border-bottom: 2px solid var(--asphalt); }
summary { cursor: pointer; list-style: none; padding: 16px 40px 16px 0; font-weight: 700; font-size: 19px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font: 500 28px/1 var(--mono); }
details[open] summary::after { content: "\2212"; }
details p { margin: 0 0 18px; color: var(--asphalt-2); max-width: 44em; }

/* Forms */
.wrap.two { display: grid; gap: 44px; }
@media (min-width: 900px) { .wrap.two { grid-template-columns: 1fr 1fr; gap: 56px; } }
.band.yellow h2 { margin-bottom: 14px; }
.form { display: grid; gap: 10px; margin-top: 20px; }
.form label, .form legend { font-weight: 700; font-size: 15px; }
.form em { font-style: normal; font-weight: 500; color: var(--asphalt-2); }
.form input[type="email"], .form textarea { width: 100%; padding: 14px 16px; font: 500 17px/1.4 var(--body); color: var(--asphalt); background: var(--white); border: 2.5px solid var(--asphalt); border-radius: 14px; }
.form textarea { resize: vertical; min-height: 116px; }
.choice { border: 0; margin: 4px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.choice legend { margin-bottom: 8px; padding: 0; }
.choice label { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 2px solid var(--asphalt); border-radius: 999px; background: rgba(255,255,255,.45); font-weight: 600; cursor: pointer; }
.choice input { accent-color: var(--asphalt); width: 18px; height: 18px; margin: 0; }
.choice label:has(input:checked) { background: var(--asphalt); color: var(--yellow); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form .btn { justify-self: start; margin-top: 6px; }
.form-note { margin: 2px 0 0; font-size: 14px; min-height: 1.55em; }
.form-note.bad { color: #9B1B1E; font-weight: 600; }
.form-note.good { font-weight: 700; }

/* Footer */
.foot { background: var(--asphalt); color: #C9CBC7; padding: 34px 0 44px; }
.foot .brand { color: var(--white); }
.foot .mark { stroke: var(--white); }
.foot .mark path:last-child { stroke: var(--teal-bright); }
.foot-grid { display: grid; gap: 18px; align-items: center; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: auto 1fr auto; gap: 34px; } }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 600; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { color: var(--yellow); }
.foot .fine { color: #8C9096; margin: 0; }

/* Simple pages (privacy, support, updates) */
.page { background: var(--white); padding: 40px 0 80px; min-height: 60vh; }
.page h1 { font-size: clamp(44px, 9vw, 84px); margin-bottom: 22px; }
.page h2 { font-size: clamp(26px, 4vw, 34px); margin: 34px 0 10px; }
.page .when { font: 500 13px/1 var(--mono); color: var(--muted); }
.page ul { padding-left: 22px; }
.page li { margin-bottom: 8px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
