/* Hairpin · hairpinride.com
   One stylesheet, no build step, no scripts. It follows the brand book's
   Landing (1440 wide) and LandingPhone (390 wide) boards: desktop from
   1024 px, a tablet layout from 760 px, the phone layout below that.
   No inline styles anywhere, so the Content-Security-Policy in _headers can
   keep style-src at 'self'. Every text is written once and reads at every
   width: nothing is swapped for a shorter twin on a phone. */

/* ---------- Fonts: self-hosted, SIL OFL 1.1 (see /fonts/LICENSE.txt) ---------- */

@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url(/fonts/big-shoulders-display-v24-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url(/fonts/big-shoulders-display-v24-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/fonts/manrope-v20-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/fonts/manrope-v20-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Chakra Petch';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/chakra-petch-v13-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Chakra Petch';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/chakra-petch-v13-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens: the brand book's four colours and their neutrals ---------- */

:root {
  --asphalt: #101216;   /* the ground, the app's own background */
  --bone: #F4F1EA;      /* the road and the type */
  --apex: #EF4B3F;      /* one red thing per layout */
  --earth: #C08A4D;     /* Trail only */
  --deep-earth: #8A5A2B; /* Trail lines and text on light grounds */
  --kerb: #191C22;      /* panels */
  --graphite: #2C313C;  /* lines and borders */
  --fog: #8A919E;       /* secondary text on dark */
  --mist: #D6DAE2;      /* body text on dark */
  --chalk: #D9D4C8;     /* lines on bone */
  --stone: #5C5A55;     /* secondary text on bone */
  --deep-apex: #C2352B; /* red text and links on bone */
  --night: #0B0D10;     /* footer */
  --paper: #FBFAF6;     /* raised surface on bone */
  --kerb-up: #21252E;   /* the app's raised panel (the corner card's tip) */
  --warn: #D29922;      /* the app's verdict amber: worth a look */
  --display: 'Big Shoulders Display', sans-serif;
  --text: 'Manrope', sans-serif;
  --num: 'Chakra Petch', sans-serif;
  --gutter: clamp(40px, 4.4445vw, 64px);
  color-scheme: dark;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--asphalt); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--asphalt); color: var(--bone); font-family: var(--text); }
h1, h2, h3, p, ul, ol, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--apex); }
:focus-visible { outline: 2px solid var(--focus, var(--bone)); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: absolute; z-index: 100; left: 16px; top: 12px; padding: 12px 18px; border-radius: 22px;
  background: var(--bone); color: var(--asphalt); font-weight: 800; transform: translateY(-160%);
}
.skip:focus { transform: none; }
.skip:hover { color: var(--asphalt); }

/* ---------- Type and buttons ---------- */

.display { font-family: var(--display); font-weight: 800; line-height: 0.9; letter-spacing: 0.02em; text-transform: uppercase; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--apex); }
.wordmark { font-family: var(--display); font-weight: 800; line-height: 0.8; letter-spacing: 0.02em; text-transform: uppercase; margin-bottom: -0.0145em; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 24px; border-radius: 27px;
  font-size: 16px; font-weight: 800; white-space: nowrap;
}
button.btn { border: 0; font-family: inherit; cursor: pointer; }
.btn svg { flex-shrink: 0; }
.btn-primary { background: var(--apex); color: var(--asphalt); }
.btn-primary:hover { background: #F2675C; color: var(--asphalt); }
.btn-outline { border: 1.5px solid var(--bone); color: var(--bone); }
.btn-outline:hover { border-color: var(--apex); color: var(--apex); }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 20; background: var(--asphalt); border-bottom: 1px solid var(--graphite);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
}
.nav-bar {
  max-width: 1440px; height: 79px; margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: flex-end; gap: 8px; color: var(--bone); }
.brand:hover { color: var(--bone); }
.brand svg { flex-shrink: 0; }
.brand .wordmark { font-size: 32px; }
.nav-links ul { display: flex; gap: clamp(22px, 2.3612vw, 34px); font-size: 15px; font-weight: 700; }
.nav-links a, .nav-signin { color: var(--mist); }
.nav-links a:hover, .nav-signin:hover { color: var(--apex); }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-signin { font-size: 15px; font-weight: 700; }
.btn-nav { height: 44px; padding: 0 20px; border-radius: 22px; font-size: 15px; }

/* The top bar STAYS (owner 2026-10-01). Once the page moves it settles into frosted glass (translucent
   asphalt, a blur, a soft shadow) and on a wide screen slims from 79 to 64 px, driven by the scroll itself:
   CSS scroll-driven animations, as the site runs no script. A browser without them keeps the plain sticky
   bar; reduced motion keeps it too. Anchors land below the bar (scroll-padding). */
html { scroll-padding-top: 88px; }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    html { scroll-padding-top: 72px; }
    .site-header { animation: header-glass linear both; animation-timeline: scroll(root block); animation-range: 0 140px; }
  }
  @media (prefers-reduced-motion: no-preference) and (min-width: 1024px) {
    html { scroll-padding-top: 76px; }
    .nav-bar { animation: bar-compact linear both; animation-timeline: scroll(root block); animation-range: 0 140px; }
    .brand { transform-origin: 0 100%; animation: brand-compact linear both; animation-timeline: scroll(root block); animation-range: 0 140px; }
  }
}
@keyframes header-glass {
  to {
    background-color: color-mix(in srgb, var(--asphalt) 74%, transparent);
    border-bottom-color: color-mix(in srgb, var(--graphite) 55%, transparent);
    box-shadow: 0 12px 32px -14px rgb(0 0 0 / 0.6);
  }
}
@keyframes bar-compact { to { height: 64px; } }
@keyframes brand-compact { to { transform: scale(0.86); } }

/* Below 1024 px the links fold into a native disclosure: no script needed. */
.menu { display: none; }
.menu-toggle {
  width: 44px; height: 44px; border-radius: 22px; list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.menu-toggle::-webkit-details-marker { display: none; }
.menu[open] .icon-open, .menu:not([open]) .icon-close { display: none; }
.menu-panel {
  position: absolute; left: 0; right: 0; top: calc(100% + 1px);
  padding: 4px var(--gutter) 24px; background: var(--asphalt); border-bottom: 1px solid var(--graphite);
  display: flex; flex-direction: column; gap: 20px;
}
.menu-panel a:not(.btn) {
  display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--graphite);
  font-size: 17px; font-weight: 700;
}

/* Language switch "EN · HU": both are links, the page's own language is
   aria-current, bone and underlined (the red stays the CTA's). In the nav
   and in the menu, where its first label lines up with the links above. */
.lang-switch { display: flex; align-items: center; font-size: 13px; font-weight: 800; letter-spacing: 0.08em; }
.lang-switch a {
  display: flex; align-items: center; justify-content: center; min-width: 30px; height: 44px;
  color: var(--fog);
}
.lang-switch a[aria-current="true"] {
  color: var(--bone);
  text-decoration-line: underline; text-decoration-thickness: 2px; text-underline-offset: 6px;
}
.lang-switch a:hover { color: var(--apex); }
.lang-sep { padding: 0 2px; color: var(--graphite); }
.menu-panel .lang-switch { align-self: flex-start; margin: -6px 0 0 -11px; }
.menu-panel .lang-switch a {
  min-width: 44px; min-height: 44px; height: auto; border-bottom: 0;
  font-size: 15px; font-weight: 800;
}

/* ---------- Hero ---------- */

.hero { position: relative; overflow: hidden; background: var(--asphalt); }
.hero-inner {
  --copy-left: clamp(48px, 5.556vw, 80px);
  --copy-w: clamp(460px, 41.667vw, 600px);
  position: relative; max-width: 1440px; min-height: 760px; margin: 0 auto;
}
.hero-copy {
  position: relative; z-index: 1; width: var(--copy-w); margin-left: var(--copy-left); padding: 104px 0 64px;
  display: flex; flex-direction: column; gap: 26px;
}
.hero h1 { font-size: clamp(104px, 8.889vw, 128px); line-height: 0.88; }
.h1-kicker { display: block; margin-bottom: 0.3em; font-size: 0.3125em; line-height: 1; letter-spacing: 0.04em; color: var(--apex); }
/* The lede in two lines: what Hairpin is for, then what it does. */
.lede-pair { display: flex; flex-direction: column; gap: 12px; }
.lede-concept { font-size: clamp(21px, 1.667vw, 24px); line-height: 1.3; font-weight: 800; color: var(--bone); }
.lede { font-size: clamp(18px, 1.389vw, 20px); line-height: 1.6; color: var(--mist); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
/* The door to Hairpin Trail: a quiet text link, never in Trail earth here. */
.hero-door {
  align-self: flex-start; margin-top: -10px;
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-size: 16px; font-weight: 700; color: var(--bone);
  text-decoration: underline; text-decoration-color: var(--fog); text-decoration-thickness: 1px; text-underline-offset: 5px;
}
.hero-door:hover { text-decoration-color: var(--apex); }
.avail { margin-top: -12px; font-size: 14px; color: var(--fog); }
/* The art keeps the board's spacing to the copy and never runs under it:
   anchored right when there is room, pushed right of the copy when not. */
.hero-art {
  position: absolute; top: 0; width: 740px; height: 760px;
  left: max(var(--copy-left) + var(--copy-w) - 80px, 100% - 740px);
}
.hero-art > svg, .hero-art > .phone { position: absolute; }
.hero-road-wide { left: 0; top: 0; }
.hero-road-narrow { display: none; }
.hero-phone-a { left: 120px; top: 110px; }
.hero-phone-b { left: 340px; top: 190px; }

/* ---------- Phone frames: the app screens (390 × 844 ratio) ---------- */

.phone {
  position: relative; flex-shrink: 0; isolation: isolate; overflow: hidden;
  width: 242px; height: 523px; border-radius: 32px;
}
/* The screens are real app screenshots (android/scripts/site_shots.py), cut to the frame's ratio: they fill it. */
.phone > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bezel-dark { box-shadow: 0 0 0 6px #000, 0 0 0 7px var(--graphite); }
.bezel-asphalt { box-shadow: 0 0 0 6px var(--asphalt); }
.phone-how { width: 195px; height: 422px; border-radius: 26px; box-shadow: 0 0 0 5px var(--asphalt); }

/* ---------- How it works: Find · Ride · Read ---------- */

.how { --focus: var(--asphalt); background: var(--bone); color: var(--asphalt); }
.how-inner {
  max-width: 1440px; min-height: 820px; margin: 0 auto; padding: 72px var(--gutter) 56px;
  display: flex; flex-direction: column; gap: 40px;
}
.how-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.how-head h2 { font-size: 80px; }
.how-head p { max-width: 460px; font-size: 18px; line-height: 1.55; color: var(--stone); }
.how-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.how-step { display: flex; flex-direction: column; gap: 22px; }
.how-step .phone { align-self: center; }
.step-text { display: flex; flex-direction: column; gap: 6px; }
.step-text h3 { font-size: 22px; font-weight: 800; }
.step-no { color: var(--deep-apex); }
.step-text p { font-size: 16px; line-height: 1.55; color: var(--stone); }
/* The phone board's step switch: radios, so it works without script. */
.how-tabs {
  display: none; min-width: 0; height: 52px; padding: 3px;
  border: 1px solid var(--chalk); border-radius: 22px; background: var(--paper);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.how-tab {
  position: relative; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 19px;
  font-size: 14px; font-weight: 700; color: var(--stone); cursor: pointer;
}
.how-tab:has(:checked) { background: var(--asphalt); color: var(--bone); font-weight: 800; }
.how-tab:has(:focus-visible) { outline: 2px solid var(--asphalt); outline-offset: 2px; }

/* ---------- Corner Coach: the centrepiece ---------- */

.coach { background: var(--asphalt); }
.coach-inner {
  max-width: 1440px; margin: 0 auto; padding: 104px var(--gutter) 96px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(48px, 6.667vw, 96px); row-gap: 40px;
  grid-template-areas:
    "head head"
    "fig card"
    "phases card"
    "blocks blocks"
    "sensor sensor";
}
.coach-head { grid-area: head; display: flex; flex-direction: column; gap: 20px; }
.coach-title { font-size: 96px; }
.coach-stand { max-width: 760px; font-size: clamp(22px, 1.944vw, 28px); line-height: 1.35; font-weight: 700; color: var(--bone); }
/* The mark and the card meet in the middle: the corner drawn as the logo,
   and the same corner as the app reads it back. */
.coach-fig { grid-area: fig; justify-self: end; align-self: end; width: 100%; max-width: 440px; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.coach-mark { display: block; width: 100%; max-width: 360px; height: auto; }
.coach-cap { font-size: 16px; font-weight: 700; color: var(--mist); }
.phases { grid-area: phases; justify-self: end; width: 100%; max-width: 440px; display: flex; flex-direction: column; gap: 10px; }
.phases li { display: grid; grid-template-columns: 34px 110px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.ph-no { font-family: var(--num); font-weight: 700; font-size: 20px; color: var(--apex); }
.ph-name { font-size: 17px; font-weight: 800; }
.ph-verdicts { font-size: 16px; color: var(--mist); }
.coach-blocks {
  grid-area: blocks; padding-top: 36px; border-top: 1px solid var(--graphite);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px;
}
.coach-block { display: flex; flex-direction: column; gap: 8px; }
.coach-block h3 { font-size: 20px; font-weight: 800; }
.coach-block p { font-size: 16px; line-height: 1.6; color: var(--mist); }
.coach-sensor { grid-area: sensor; max-width: 880px; font-size: 16px; line-height: 1.6; color: var(--mist); }

/* The corner card at a size you can read: the app's card, drawn in HTML. Its
   three phase tiles sit side by side while the card is wide enough, and
   become rows when it is not. */
.cc {
  grid-area: card; justify-self: start; align-self: center; width: 100%; max-width: 440px;
  margin: 0; padding: 20px; border: 1px solid var(--graphite); border-radius: 24px; background: var(--kerb);
  display: flex; flex-direction: column; gap: 18px; container-type: inline-size;
}
.cc-name { font-size: 26px; font-weight: 800; line-height: 1.2; color: var(--bone); }
.cc-ref { margin-top: 4px; font-size: 15px; color: var(--fog); }
.cc-stats { margin: 0; display: flex; flex-wrap: wrap; gap: 10px 32px; }
.cc-stats div { display: flex; flex-direction: column-reverse; gap: 4px; }
.cc-stats dt { font-size: 13px; color: var(--fog); }
.cc-stats dd { margin: 0; font-family: var(--num); font-weight: 700; font-size: 34px; line-height: 1; color: var(--bone); }
.cc-u { font-family: var(--text); font-size: 15px; font-weight: 600; color: var(--fog); }
.cc-phases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cc-ph {
  padding: 12px 11px; border: 1px solid var(--graphite); border-radius: 16px; background: var(--asphalt);
  display: flex; flex-direction: column; gap: 8px;
}
.cc-ph-warn { border-color: var(--warn); }
.cc-ph-name {
  display: flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fog);
}
.cc-ph-name svg { flex-shrink: 0; width: 18px; height: 18px; }
.cc-ph-v { font-size: 16px; font-weight: 800; line-height: 1.25; color: var(--bone); }
.cc-ph-n { margin-top: auto; font-family: var(--num); font-weight: 700; font-size: 20px; line-height: 1.2; color: var(--mist); }
.cc-ph-n .cc-u { display: block; margin-top: 2px; font-size: 12px; }
.cc-try {
  padding: 14px 16px; border-radius: 16px; background: var(--kerb-up);
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  font-size: 16px; line-height: 1.55; color: var(--bone);
}
.cc-try-badge {
  display: inline-flex; align-items: center; height: 24px; padding: 0 11px; border-radius: 12px;
  background: var(--warn); color: var(--night); font-size: 13px; font-weight: 800;
}
@container (max-width: 379.98px) {
  .cc-phases { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .cc-ph { display: grid; grid-template-columns: 112px minmax(0, 1fr); column-gap: 10px; row-gap: 2px; align-items: center; padding: 12px 14px; }
  .cc-ph-name { grid-row: span 2; }
  .cc-ph-n { margin-top: 0; font-size: 18px; }
  .cc-ph-n .cc-u { display: inline; margin-top: 0; }
}

/* ---------- Hairpin Trail: the Trail band, its own colours ---------- */

.trail { --focus: var(--asphalt); overflow: hidden; background: var(--earth); color: var(--asphalt); }
.trail-inner {
  max-width: 1440px; margin: 0 auto; padding: 96px var(--gutter);
  display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: clamp(48px, 5.556vw, 80px); row-gap: 28px;
  grid-template-areas:
    "head head"
    "art caps"
    "art cover"
    "art close";
  grid-template-rows: auto auto auto 1fr;
}
.trail-head { grid-area: head; margin-bottom: 20px; display: flex; flex-direction: column; gap: 22px; }
.trail-lockup { display: flex; align-items: flex-end; gap: 10px; }
.trail-lockup svg { flex-shrink: 0; }
.trail-lockup .wordmark { font-size: 36px; }
.trail-head h2 { font-size: 80px; }
.trail-text { max-width: 720px; font-size: 18px; line-height: 1.6; font-weight: 600; }
.trail-art { grid-area: art; display: flex; align-items: flex-start; gap: 36px; }
.trail-art .phone + .phone { margin-top: 64px; }
.caps { grid-area: caps; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 36px; }
.cap dt { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 800; line-height: 1.3; }
.cap dt svg { flex-shrink: 0; }
.cap dd { margin: 4px 0 0 32px; font-size: 15px; line-height: 1.5; font-weight: 600; }
.trail-cover { grid-area: cover; padding-top: 22px; border-top: 1.5px solid var(--deep-earth); font-size: 15px; line-height: 1.55; font-weight: 600; }
.trail-close { grid-area: close; align-self: end; font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 0.95; letter-spacing: 0.02em; text-transform: uppercase; }

/* ---------- Everything in Hairpin ---------- */

.more { background: var(--asphalt); }
.more-inner {
  max-width: 1440px; margin: 0 auto; padding: 80px var(--gutter) 72px;
  display: flex; flex-direction: column; gap: 32px;
}
.more h2 { font-size: 64px; }
.more-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.more-col { padding: 22px 26px 8px; border: 1px solid var(--graphite); border-radius: 20px; background: var(--kerb); }
.more-head {
  display: flex; align-items: baseline; gap: 12px; padding-bottom: 6px;
  font-family: var(--display); font-weight: 800; font-size: 36px; line-height: 1; letter-spacing: 0.02em; text-transform: uppercase;
}
.more-no { font-family: var(--num); font-weight: 700; font-size: 20px; color: var(--apex); }
.more-list { margin: 0; }
.more-promise { margin: 0; padding-bottom: 14px; border-bottom: 1px solid var(--graphite); font-size: 15px; line-height: 1.4; color: var(--fog); }
.more-list div { padding: 10px 0; border-bottom: 1px solid var(--graphite); }
.more-list div:last-child { border-bottom: 0; }
/* Each stage shows its three strongest new features; the rest wait behind a native disclosure (no script). */
.more-more { border-top: 1px solid var(--graphite); }
.more-more > summary { display: flex; align-items: center; gap: 10px; min-height: 48px; cursor: pointer; list-style: none; font-size: 15px; font-weight: 800; color: var(--mist); }
.more-more > summary::-webkit-details-marker { display: none; }
.more-more > summary::before { content: "+"; width: 14px; font-family: var(--num); font-weight: 700; font-size: 20px; line-height: 1; color: var(--apex); }
.more-more[open] > summary::before { content: "\2212"; }
.more-more > summary:hover { color: var(--bone); }
.more-more > summary:focus-visible { outline: 2px solid var(--bone); outline-offset: 2px; border-radius: 6px; }
.more-more > .more-list { border-top: 1px solid var(--graphite); }
.more-list dt { font-size: 16px; font-weight: 800; }
.more-list dd { margin: 2px 0 0; font-size: 15px; line-height: 1.45; color: var(--mist); }
.more-note { max-width: 900px; font-size: 14px; line-height: 1.55; color: var(--fog); }

/* ---------- Early access: the form posts to the app server, no script ---------- */

.early { --focus: var(--asphalt); background: var(--bone); color: var(--asphalt); }
.early-inner {
  max-width: 1440px; margin: 0 auto; padding: 80px var(--gutter);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: start;
}
.early-copy { grid-column: span 5; display: flex; flex-direction: column; gap: 14px; }
.early h2 { font-size: 80px; }
.early-copy p { font-size: 18px; line-height: 1.55; color: var(--stone); }
.get-list { grid-column: 7 / span 6; margin: 0; padding: 0; list-style: none; }
.get-item { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px 0; border-top: 1px solid rgba(16, 18, 22, 0.14); }
.get-item:first-child { padding-top: 0; border-top: 0; }
.get-name { font-size: 22px; font-weight: 800; color: var(--asphalt); }
.get-item p { font-size: 16px; line-height: 1.55; color: var(--stone); }
.btn-dark { background: var(--asphalt); color: var(--bone); }
.btn-dark:hover { background: var(--deep-apex); color: var(--bone); }
.play-badge { display: inline-block; align-self: flex-start; line-height: 0; border-radius: 10px; }
.play-badge img { display: block; height: 54px; width: auto; }
.ea-form { position: relative; grid-column: 7 / span 6; display: flex; flex-direction: column; gap: 24px; }
.ea-field { display: flex; flex-direction: column; gap: 8px; }
.ea-label, .ea-legend { font-size: 15px; font-weight: 800; color: var(--asphalt); }
.ea-input {
  width: 100%; height: 54px; padding: 0 22px; border: 1.5px solid var(--asphalt); border-radius: 27px;
  background: var(--asphalt); color: var(--bone); font-family: inherit; font-size: 17px; font-weight: 600;
}
.ea-input::placeholder { color: var(--fog); opacity: 1; }
.ea-groups { display: flex; flex-wrap: wrap; gap: 22px 40px; }
.ea-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.ea-legend { padding: 0 0 10px; }
.ea-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ea-chip { position: relative; display: inline-flex; }
.ea-chip input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; margin: 0; opacity: 0; }
.ea-chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1.5px solid var(--asphalt); border-radius: 22px;
  font-size: 15px; font-weight: 700; cursor: pointer;
}
.ea-chip:hover span { background: var(--paper); }
.ea-chip input:checked + span { background: var(--asphalt); color: var(--bone); }
.ea-chip input:focus-visible + span { outline: 2px solid var(--asphalt); outline-offset: 3px; }
/* The honeypot: off screen, out of the tab order, hidden from assistive tech. */
.ea-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.ea-submit { align-self: flex-start; }
.ea-note { max-width: 560px; font-size: 14px; line-height: 1.55; color: var(--stone); }
.ea-note a { color: var(--deep-apex); text-decoration: underline; text-underline-offset: 3px; }
.ea-note a:hover { color: var(--asphalt); }

/* ---------- Questions ---------- */

.faq { background: var(--asphalt); }
.faq-inner {
  max-width: 1440px; margin: 0 auto; padding: 72px var(--gutter);
  display: flex; flex-direction: column; gap: 30px;
}
.faq h2 { font-size: 56px; }
/* One exclusive accordion: <details name="faq"> keeps one answer open at a time, no script. */
.faq-list { max-width: 880px; border-top: 1px solid var(--graphite); }
.qa { border-bottom: 1px solid var(--graphite); }
.qa > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 14px 0; cursor: pointer; list-style: none; font-size: 18px; font-weight: 800; line-height: 1.35; color: var(--bone); }
.qa > summary::-webkit-details-marker { display: none; }
.qa > summary::after { content: "+"; flex: none; width: 18px; text-align: center; font-family: var(--num); font-weight: 700; font-size: 24px; line-height: 1; color: var(--apex); }
.qa[open] > summary::after { content: "\2212"; }
.qa > summary:focus-visible { outline: 2px solid var(--bone); outline-offset: 4px; border-radius: 6px; }
.qa p { margin: 0; padding: 0 44px 20px 0; font-size: 16px; line-height: 1.6; color: var(--mist); }

/* ---------- Footer ---------- */

.site-footer { background: var(--night); border-top: 1px solid var(--graphite); }
.footer-inner {
  max-width: 1440px; margin: 0 auto; padding: 56px var(--gutter) 40px;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 1fr; column-gap: 32px; row-gap: 16px;
}
.footer-brand { grid-column: 1 / span 5; grid-row: 1; display: flex; flex-direction: column; gap: 16px; }
.footer-lockup { display: flex; align-items: flex-end; gap: 10px; }
.footer-lockup svg { flex-shrink: 0; }
.footer-lockup .wordmark { font-size: 40px; }
.footer-tag { font-size: 16px; font-weight: 700; color: var(--mist); }
.footer-legal { grid-column: 1 / span 5; grid-row: 2; align-self: start; font-size: 13px; line-height: 1.6; color: var(--fog); }
.footer-nav {
  grid-column: 6 / span 7; grid-row: 1 / span 2; align-self: start;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
}
.fcol { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.fcol ul { display: flex; flex-direction: column; gap: 10px; }
.fcol a { color: var(--bone); }
.fcol a:hover { color: var(--apex); }
.flabel { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fog); }

/* ---------- Page not found ---------- */

.nf {
  max-width: 1440px; min-height: calc(100vh - 80px); min-height: calc(100svh - 80px); margin: 0 auto;
  padding: 72px var(--gutter) 96px;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 24px;
}
.nf h1 { font-size: clamp(72px, 8.889vw, 128px); line-height: 0.88; }
.nf-text { max-width: 560px; font-size: 18px; line-height: 1.6; color: var(--mist); }

/* ========== Narrower desktops: 1024-1279 px ========== */

@media (min-width: 1024px) and (max-width: 1279.98px) {
  /* The two Trail screens overlap here, as the hero's do, so the capabilities keep two readable columns. */
  .trail-art { position: relative; display: block; width: 300px; height: 500px; }
  .trail-art .phone { position: absolute; width: 195px; height: 422px; border-radius: 26px; }
  .trail-art .phone:first-child { left: 0; top: 0; }
  .trail-art .phone + .phone { left: 105px; top: 72px; margin-top: 0; }
  .coach-title { font-size: 88px; }
}

/* ========== Tablet and phone: below 1024 px ========== */

@media (max-width: 1023.98px) {
  :root { --gutter: 40px; }

  .nav-bar { height: 63px; padding-right: 20px; }
  .nav-links, .nav-actions { display: none; }
  .menu { display: block; }

  .hero-inner { min-height: 0; display: flex; flex-direction: column; }
  .hero-copy { width: auto; max-width: 720px; margin: 0; padding: 64px var(--gutter) 0; }
  .hero h1 { font-size: 104px; }
  .lede { font-size: 19px; }
  .hero-art { position: relative; left: auto; top: auto; width: 100%; height: 580px; margin-top: 48px; overflow: hidden; }
  .hero-road-wide { left: calc(50% - 370px); top: -150px; }
  .hero-phone-a { left: calc(50% - 250px); top: 40px; }
  .hero-phone-b { left: calc(50% - 30px); top: 120px; }

  .how-inner { min-height: 0; padding: 64px var(--gutter) 56px; gap: 36px; }
  .how-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .how-head h2 { font-size: 72px; }
  .how-steps { gap: 24px; }
  .step-text h3 { font-size: 19px; }
  .step-text p { font-size: 15px; }

  .coach-inner {
    padding: 80px var(--gutter) 72px; row-gap: 36px; column-gap: 40px;
    grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
    grid-template-areas: "head head" "fig phases" "card card" "blocks blocks" "sensor sensor";
  }
  .coach-title { font-size: 72px; }
  .coach-fig { justify-self: start; align-self: center; }
  .coach-mark { max-width: 260px; }
  .phases { justify-self: start; align-self: center; }
  .cc { max-width: 480px; }
  .coach-blocks { gap: 24px; }

  .trail-inner {
    padding: 72px var(--gutter) 64px; row-gap: 28px;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "head" "art" "caps" "cover" "close";
    grid-template-rows: none;
  }
  .trail-head { margin-bottom: 0; }
  .trail-head h2 { font-size: 72px; }
  .trail-art { justify-content: center; margin-bottom: 8px; }
  .trail-close { align-self: auto; }

  .more-inner { padding: 72px var(--gutter); }
  .more-cols { gap: 16px; }
  .more-col { padding: 20px 20px 8px; }
  .more-head { font-size: 34px; }

  .early-inner { display: flex; flex-direction: column; align-items: stretch; gap: 28px; }
  .ea-form { max-width: 560px; }
  .get-list { max-width: 560px; }


  .footer-inner { display: flex; flex-direction: column; gap: 32px; }
  .footer-nav, .footer-legal { align-self: stretch; }
  .footer-nav { max-width: 640px; }
}

/* ========== Tablet, single column: 760-899 px ========== */

@media (min-width: 760px) and (max-width: 899.98px) {
  .more-cols { grid-template-columns: minmax(0, 1fr); }
  .more-list { columns: 2; column-gap: 28px; }
  .more-list div { break-inside: avoid; }
}

/* ========== Phone: below 760 px (the LandingPhone board) ========== */

@media (max-width: 759.98px) {
  :root { --gutter: 20px; }

  .nav-bar { padding: 0 12px 0 20px; }
  .brand { gap: 7px; }
  .brand svg { width: 18px; height: 24px; }
  .brand .wordmark { font-size: 24px; }

  .eyebrow { font-size: 12px; }
  .hero-copy { max-width: none; padding: 28px var(--gutter) 0; gap: 18px; }
  .hero h1 { font-size: 64px; }
  .qa > summary { font-size: 17px; }
  .qa p { padding-right: 8px; font-size: 15px; }
  .lede-concept { font-size: 20px; }
  .lede { font-size: 16px; }
  .cta-row { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 4px; }
  .cta-row .btn { height: 52px; border-radius: 26px; }
  .hero-door { margin-top: -4px; font-size: 15px; }
  .avail { margin-top: -8px; font-size: 13px; }
  .hero-art { height: 434px; margin: 0; }
  .hero-road-wide, .hero-phone-b { display: none; }
  .hero-road-narrow { display: block; left: calc(50% - 585px); top: 4px; }
  .hero-phone-a { left: calc(50% - 121px); top: 74px; }

  .how-inner { min-height: 880px; padding: 48px var(--gutter); gap: 22px; }
  .how-head h2 { font-size: 52px; }
  .how-head p { font-size: 16px; }
  .how-steps { display: flex; flex-direction: column; gap: 48px; }
  .phone-how { width: 242px; height: 523px; border-radius: 32px; box-shadow: 0 0 0 6px var(--asphalt); }
  .step-pre { display: none; }
  .step-text h3 { font-size: 20px; }
  .step-text p { font-size: 16px; }
  @supports selector(:has(*)) {
    .how-tabs { display: grid; }
    .how-step { display: none; }
    .how:has([value="1"]:checked) .how-step:nth-child(1),
    .how:has([value="2"]:checked) .how-step:nth-child(2),
    .how:has([value="3"]:checked) .how-step:nth-child(3) { display: flex; }
  }

  .coach-inner {
    padding: 56px var(--gutter); row-gap: 24px;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "head" "fig" "phases" "card" "blocks" "sensor";
  }
  .coach-title { font-size: 52px; }
  .coach-stand { font-size: 20px; }
  .coach-fig { justify-self: center; }
  .coach-mark { max-width: 240px; }
  .coach-mark .mark-arrows { display: none; }
  .phases { gap: 8px; }
  .phases li { grid-template-columns: 24px 64px minmax(0, 1fr); gap: 8px; }
  /* Behajtás / Kihajtás need a few more pixels than Entry / Exit. */
  .phases li:lang(hu) { grid-template-columns: 24px 72px minmax(0, 1fr); }
  .ph-no { font-size: 17px; }
  .ph-name { font-size: 15px; }
  .ph-verdicts { font-size: 14px; }
  .cc { padding: 18px; border-radius: 20px; }
  .cc-name { font-size: 22px; }
  .cc-stats { gap: 10px 24px; }
  .cc-stats dd { font-size: 28px; }
  .coach-blocks { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 28px; }
  .coach-block h3 { font-size: 18px; }
  .coach-block p, .coach-sensor { font-size: 15px; }

  .trail-inner { padding: 48px var(--gutter) 56px; row-gap: 24px; }
  .trail-head { gap: 16px; }
  .trail-lockup { gap: 8px; }
  .trail-lockup svg { width: 21px; height: 28px; }
  .trail-lockup .wordmark { font-size: 28px; }
  .trail-head h2 { font-size: 52px; }
  .trail-text { font-size: 16px; }
  .trail-art { gap: 12px; }
  .trail-art .phone { width: 168px; height: 363px; border-radius: 22px; }
  .trail-art .phone + .phone { margin-top: 0; }
  .caps { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .cap dt { font-size: 16px; }
  .cap dt svg { width: 20px; height: 20px; }
  .cap dd { margin-left: 30px; font-size: 15px; }
  .trail-close { font-size: 32px; }

  .more-inner { padding: 48px var(--gutter); gap: 22px; }
  .more h2 { font-size: 52px; }
  .more-cols { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .more-col { padding: 18px 18px 6px; border-radius: 18px; }
  .more-head { font-size: 32px; padding-bottom: 12px; }
  .more-list div { padding: 12px 0; }
  .more-list dt { font-size: 15px; }
  .more-list dd { font-size: 14px; }

  .early-inner { padding: 48px var(--gutter); gap: 24px; }
  .early-copy { gap: 12px; }
  .early h2 { font-size: 52px; }
  .early-copy p { font-size: 16px; }
  .ea-form { max-width: none; gap: 20px; }
  .ea-groups { flex-direction: column; gap: 18px; }
  .ea-submit { align-self: stretch; }

  .faq-inner { padding: 48px var(--gutter); gap: 22px; }
  .faq h2 { font-size: 52px; }

  .footer-inner { padding: 44px var(--gutter) 32px; gap: 22px; }
  .footer-brand { gap: 22px; }
  .footer-lockup { gap: 8px; }
  .footer-lockup svg { width: 24px; height: 32px; }
  .footer-lockup .wordmark { font-size: 32px; }
  .footer-tag { font-size: 15px; }
  /* One set of columns at every width: on a phone the addresses get a row of
     their own, and every link is a 44 px row. */
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "product legal" "talk talk"; gap: 18px 22px; }
  .fcol-product { grid-area: product; }
  .fcol-talk { grid-area: talk; }
  .fcol-legal { grid-area: legal; }
  .fcol { gap: 2px; }
  .fcol ul { gap: 0; }
  .fcol a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-legal { font-size: 12px; }
}

/* The smallest phones: the two Trail screens still side by side. */
@media (max-width: 379.98px) {
  .trail-art .phone { width: 148px; height: 321px; border-radius: 20px; }
}

/* contact addresses: the "@" is drawn here, not in the page source (address harvesters); js/mx.js swaps in plain text */
.mx-at::before { content: "@"; }
