/* 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'. */

/* ---------- 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 */
  --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 */
  --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); }

/* Copy that the phone board words differently: one of each pair renders. */
@media (max-width: 759.98px) { .show-wide { display: none !important; } }
@media (min-width: 760px) { .show-narrow { display: none !important; } }

/* ---------- 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;
}
.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: relative; z-index: 20; background: var(--asphalt); border-bottom: 1px solid var(--graphite); }
.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; }

/* 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;
}

/* The Hungarian labels run longer, so that nav folds into the menu 76 px
   earlier: at 1024-1099 px its links and actions would not fit one row. */
@media (min-width: 1024px) and (max-width: 1099.98px) {
  .nav-bar:lang(hu) .nav-links, .nav-bar:lang(hu) .nav-actions { display: none; }
  .nav-bar:lang(hu) .menu { display: block; }
}

/* ---------- 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-top: 120px;
  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); }
.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; }
.avail { 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 at 390 × 844, scaled ---------- */

.phone {
  --s: 0.62;
  position: relative; flex-shrink: 0; isolation: isolate; overflow: hidden;
  width: 242px; height: 523px; border-radius: 32px;
}
.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 { --s: 0.5; width: 195px; height: 422px; border-radius: 26px; box-shadow: 0 0 0 5px var(--asphalt); }

/* ---------- Feature strip ---------- */

.strip { background: var(--kerb); border-top: 1px solid var(--graphite); border-bottom: 1px solid var(--graphite); }
.strip-list {
  max-width: 1440px; height: 108px; margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; align-items: center;
}
.strip-list:focus-visible { outline-offset: -4px; }
.feat { display: flex; align-items: center; gap: 12px; }
.feat svg { flex-shrink: 0; }
.feat-text { display: flex; flex-direction: column; }
.feat-title { font-size: 15px; font-weight: 800; }
.feat-sub { font-size: 13px; color: var(--fog); }

/* ---------- How it works ---------- */

.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 ---------- */

.coach { background: var(--asphalt); }
.coach-inner {
  max-width: 1440px; min-height: 720px; margin: 0 auto; padding: 80px var(--gutter);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; row-gap: 22px; align-content: center;
}
.coach-inner > * { grid-column: 6 / span 7; }
.coach-inner > .coach-mark {
  grid-column: 1 / span 5; grid-row: 1 / span 5; align-self: center; justify-self: center;
  width: 100%; max-width: 480px; height: auto;
}
.coach-title { font-size: 80px; }
.coach-text { font-size: 18px; line-height: 1.6; color: var(--mist); }
.phases { 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-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 6px; }
.card {
  background: var(--kerb); border: 1px solid var(--graphite); border-radius: 16px; padding: 16px 18px;
  display: flex; flex-direction: column; gap: 5px;
}
.card h3 { font-size: 15px; font-weight: 800; }
.card p { font-size: 14px; line-height: 1.5; color: var(--mist); }

/* ---------- Trail ---------- */

.trail { --focus: var(--asphalt); overflow: hidden; background: var(--earth); color: var(--asphalt); }
.trail-inner {
  max-width: 1440px; min-height: 680px; margin: 0 auto;
  padding: 0 var(--gutter) 0 clamp(64px, 10.417vw, 150px);
  display: grid; grid-template-columns: 242px minmax(0, 800px); column-gap: clamp(64px, 11.667vw, 168px);
  justify-content: start; align-items: start;
}
.trail-copy { grid-column: 2; grid-row: 1; margin-top: 90px; display: flex; flex-direction: column; gap: 22px; }
.trail-art { grid-column: 1; grid-row: 1; margin-top: 78px; }
.trail-lockup { display: flex; align-items: flex-end; gap: 10px; }
.trail-lockup svg { flex-shrink: 0; }
.trail-lockup .wordmark { font-size: 36px; }
.trail-copy h2 { font-size: 80px; }
.trail-text { max-width: 680px; font-size: 18px; line-height: 1.6; font-weight: 600; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; max-width: 760px; }
.checks li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; line-height: 1.5; font-weight: 600; }
.checks svg { flex-shrink: 0; margin-top: 2px; }

/* ---------- Built for the whole day ---------- */

.more { background: var(--asphalt); }
.more-inner {
  max-width: 1440px; min-height: 400px; margin: 0 auto; padding: 72px var(--gutter);
  display: flex; flex-direction: column; gap: 32px;
}
.more h2 { font-size: 56px; }
.more-grid { flex-grow: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.more-card {
  background: var(--kerb); border: 1px solid var(--graphite); border-radius: 18px; padding: 20px 22px;
  display: flex; flex-direction: column; gap: 8px;
}
.more-card h3 { font-size: 17px; font-weight: 800; }
.more-card p { font-size: 15px; line-height: 1.55; color: var(--mist); }

/* ---------- Early access ---------- */

.early { --focus: var(--asphalt); background: var(--bone); color: var(--asphalt); }
.early-inner {
  max-width: 1440px; min-height: 320px; margin: 0 auto; padding: 64px var(--gutter);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: center;
}
.early-copy { grid-column: span 6; 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); }
.early-action { grid-column: span 6; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.early-line { font-size: 18px; line-height: 1.55; }
.early-line a { color: var(--deep-apex); text-decoration: underline; text-underline-offset: 3px; }
.early-line a:hover { color: var(--asphalt); }
.btn-early { height: 56px; padding: 0 26px; border-radius: 28px; margin-top: 4px; }
.early-note { font-size: 13px; line-height: 1.5; color: var(--stone); }

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

.faq { background: var(--asphalt); }
.faq-inner {
  max-width: 1440px; min-height: 520px; margin: 0 auto; padding: 72px var(--gutter);
  display: flex; flex-direction: column; gap: 30px;
}
.faq h2 { font-size: 56px; }
.faq-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 36px; }
.qa { display: flex; flex-direction: column; gap: 6px; }
.qa h3 { font-size: 17px; font-weight: 800; }
.qa p { font-size: 15px; line-height: 1.55; color: var(--mist); }
/* The phone board's accordion: native details, the first one open. */
.faq-acc { border-top: 1px solid var(--graphite); }
.faq-acc details { border-bottom: 1px solid var(--graphite); }
.faq-acc summary {
  min-height: 58px; list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 16px; font-weight: 800;
}
.faq-acc summary::-webkit-details-marker { display: none; }
.faq-acc summary svg { flex-shrink: 0; }
.faq-acc details[open] summary svg { transform: rotate(180deg); }
.faq-acc details p { margin-top: -10px; padding-bottom: 16px; font-size: 14px; line-height: 1.55; 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); }

/* ========== 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; }

  .strip-list { height: auto; padding: 24px var(--gutter); grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 20px; }

  .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 { min-height: 0; padding: 72px var(--gutter); display: flex; flex-direction: column; gap: 22px; }
  .coach-inner > .coach-mark { align-self: center; max-width: 320px; }
  .coach-title { font-size: 72px; }

  .trail-inner { min-height: 0; padding: 0; display: flex; flex-direction: column; align-items: stretch; }
  .trail-copy { margin: 0; padding: 64px var(--gutter) 0; }
  .trail-copy h2 { font-size: 72px; }
  .trail-art { position: relative; height: 406px; margin-top: 48px; }
  .trail-art .phone { position: absolute; top: 6px; left: calc(50% - 121px); }

  .more-inner { min-height: 0; }
  .more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .early-inner { min-height: 0; display: flex; flex-direction: column; align-items: stretch; gap: 24px; }
  .early-action { max-width: 560px; }

  .faq-inner { min-height: 0; }
  .faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

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

/* ========== 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: 16px; }
  .hero h1 { font-size: 64px; }
  .lede { font-size: 17px; }
  .cta-row { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 4px; }
  .cta-row .btn { height: 52px; border-radius: 26px; }
  .avail { 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; }

  /* The strip becomes the board's chip row; it scrolls sideways. */
  .strip-list {
    height: 108px; padding: 0 var(--gutter); display: flex; gap: 10px;
    overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain;
  }
  .strip-list::-webkit-scrollbar { display: none; }
  .feat { flex-shrink: 0; height: 42px; padding: 0 16px; border: 1px solid var(--graphite); border-radius: 20px; }
  .feat svg, .feat-sub { display: none; }
  .feat-title { font-size: 14px; font-weight: 700; white-space: nowrap; }

  .how-inner { min-height: 880px; padding: 48px var(--gutter); gap: 22px; }
  .how-head h2 { font-size: 52px; }
  .how-steps { display: flex; flex-direction: column; gap: 48px; }
  .phone-how { --s: 0.62; 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 { min-height: 900px; padding: 48px var(--gutter); gap: 16px; }
  .coach-title { font-size: 52px; }
  .coach-text { font-size: 16px; }
  .coach-inner > .coach-mark { max-width: 280px; }
  .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; }
  .card { padding: 14px 16px; gap: 4px; }

  .trail-copy { padding: 48px var(--gutter) 0; gap: 16px; }
  .trail-lockup { gap: 8px; }
  .trail-lockup svg { width: 21px; height: 28px; }
  .trail-lockup .wordmark { font-size: 28px; }
  .trail-copy h2 { font-size: 52px; }
  .trail-text { font-size: 16px; }
  .checks { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .checks li { gap: 10px; font-size: 15px; }
  .checks svg { width: 20px; height: 20px; }
  .trail-art { height: 406px; margin-top: 46px; }

  .more-inner { min-height: 700px; padding: 48px var(--gutter); gap: 18px; }
  .more h2 { font-size: 52px; }
  .more-grid { flex-grow: 0; grid-template-columns: minmax(0, 1fr); }
  .more-card { border-radius: 16px; padding: 16px 18px; gap: 5px; }
  .more-card h3 { font-size: 16px; }
  .more-card p { font-size: 14px; line-height: 1.5; }

  .early-inner { padding: 48px var(--gutter); gap: 12px; }
  .early-copy { gap: 12px; }
  .early h2 { font-size: 52px; }
  .early-copy p, .early-line { font-size: 16px; }
  .early-action { max-width: none; margin-top: 6px; align-items: stretch; }
  .btn-early { height: 54px; border-radius: 27px; }

  .faq-inner { min-height: 630px; padding: 48px var(--gutter); gap: 18px; }
  .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; }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .footer-legal { font-size: 12px; }
}

/* ========== App screens (illustrations) ==========
   Ported one to one from the brand book's Screen boards: each class is one of
   the board's inline styles, so the screens keep their exact 390 × 844 layout
   and are scaled by their frame. They were drawn with content-box sizing. */

.scr {
  width: 390px; height: 844px; position: relative; overflow: hidden;
  transform: scale(var(--s)); transform-origin: 0 0;
  background: #13161B; color: #D6DAE2; font-family: 'Manrope', sans-serif;
  font-size: 16px; font-weight: 400; line-height: normal; letter-spacing: normal; text-align: left; text-transform: none;
}
.scr-trail { background: #141815; }
.scr, .scr * { box-sizing: content-box; }
.scr .s-abs { position: absolute; left: 0; top: 0; }
.scr .s-grab { align-self: center; width: 40px; height: 5px; border-radius: 3px; background: #3A404C; }
.scr .s-grab-bar { width: 40px; height: 5px; border-radius: 3px; background: #3A404C; }
.scr .s-grow { flex-grow: 1; }
.scr .s-ring { width: 44px; height: 44px; border-radius: 22px; border: 1px solid #2C313C; display: flex; align-items: center; justify-content: center; }
.scr .s-fog12 { font-size: 12px; color: #8A919E; }
.scr .s-row6 { display: flex; align-items: center; gap: 6px; }
.scr .s-row10 { display: flex; align-items: center; gap: 10px; }
.scr .s-fog { color: #8A919E; }
.scr .s-u22 { font-size: 22px; color: #8A919E; }
.scr .s-u14 { font-size: 14px; color: #8A919E; }
.scr .s-u11 { font-size: 11px; color: #8A919E; }
.scr .s-n26 { font-family: 'Chakra Petch', sans-serif; font-weight: 700; font-size: 26px; line-height: 1; color: #F4F1EA; }
.scr .s-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.scr .s-navcard { position: absolute; left: 10px; right: 10px; top: 12px; background: #191C22; border: 1px solid #2C313C; border-radius: 20px; padding: 12px 16px; display: flex; flex-direction: column; gap: 8px; }
.scr .s-turn { display: flex; align-items: center; gap: 14px; }
.scr .s-dist { flex-grow: 1; font-family: 'Chakra Petch', sans-serif; font-weight: 700; font-size: 40px; line-height: 1; color: #F4F1EA; }
.scr .s-prog { height: 4px; border-radius: 2px; background: #2C313C; }
.scr .s-status { display: flex; align-items: center; gap: 10px; border-top: 1px solid #2C313C; padding-top: 8px; }
.scr .s-status-text { flex-grow: 1; font-size: 13px; font-weight: 700; color: #D6DAE2; white-space: nowrap; }
.scr .s-dots { display: flex; gap: 5px; }
.scr .s-dot-on { width: 6px; height: 6px; border-radius: 3px; background: #D6DAE2; }
.scr .s-dot { width: 6px; height: 6px; border-radius: 3px; background: #3A404C; }
.scr .s-speed-val { font-family: 'Chakra Petch', sans-serif; font-weight: 700; font-size: 36px; line-height: 1; color: #F4F1EA; }
.scr .s-speed-unit { font-size: 11px; font-weight: 700; color: #8A919E; }
.scr .s-peek { position: absolute; left: 0; right: 0; bottom: 0; height: 44px; background: #191C22; border-top: 1px solid #2C313C; border-radius: 16px 16px 0 0; display: flex; align-items: center; justify-content: center; }
.scr .p-chips { position: absolute; left: 14px; top: 16px; display: flex; gap: 8px; }
.scr .p-chip { height: 36px; padding: 0 14px; border-radius: 18px; background: #191C22; border: 1px solid #2C313C; display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: #D6DAE2; }
.scr .p-tools { position: absolute; right: 14px; top: 16px; display: flex; flex-direction: column; gap: 10px; }
.scr .p-tool { width: 44px; height: 44px; border-radius: 22px; background: #191C22; border: 1px solid #2C313C; display: flex; align-items: center; justify-content: center; }
.scr .p-sheet { position: absolute; left: 0; right: 0; top: 428px; bottom: 0; background: #191C22; border-top: 1px solid #2C313C; border-radius: 22px 22px 0 0; padding: 10px 16px 0; display: flex; flex-direction: column; gap: 12px; }
.scr .p-actions { display: flex; align-items: center; gap: 8px; }
.scr .p-start { height: 44px; padding: 0 20px; border-radius: 22px; background: #4DA3FF; color: #0B0D10; display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; }
.scr .p-save { height: 44px; padding: 0 18px; border-radius: 22px; border: 1px solid #2C313C; display: flex; align-items: center; font-size: 15px; font-weight: 700; color: #D6DAE2; }
.scr .p-modes { height: 40px; border-radius: 20px; background: #101216; border: 1px solid #2C313C; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 3px; font-size: 13px; font-weight: 700; }
.scr .p-mode { display: flex; align-items: center; justify-content: center; color: #8A919E; }
.scr .p-mode-on { display: flex; align-items: center; justify-content: center; border-radius: 17px; background: #4DA3FF; color: #0B0D10; font-weight: 800; }
.scr .p-stops { display: flex; flex-direction: column; }
.scr .p-stop { height: 46px; border-radius: 12px; background: #21252E; display: flex; align-items: center; gap: 12px; padding: 0 12px; }
.scr .p-stop-name { font-size: 15px; font-weight: 700; color: #F4F1EA; }
.scr .p-leg { height: 30px; display: flex; align-items: center; gap: 12px; padding-left: 22px; }
.scr .p-leg-line { width: 2px; height: 30px; background: #2C313C; }
.scr .p-leg-text { font-size: 12px; font-weight: 600; color: #8A919E; }
.scr .p-leg-add { width: 22px; height: 22px; margin-right: 12px; border-radius: 11px; border: 1px solid #3A404C; display: flex; align-items: center; justify-content: center; font-size: 14px; line-height: 1; color: #8A919E; }
.scr .p-cands { display: flex; gap: 10px; margin-right: -16px; }
.scr .p-cand-on { width: 158px; flex-shrink: 0; border-radius: 14px; border: 2px solid #4DA3FF; background: #101216; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; }
.scr .p-cand { width: 158px; flex-shrink: 0; border-radius: 14px; border: 1px solid #2C313C; background: #101216; padding: 11px 13px; display: flex; flex-direction: column; gap: 6px; }
.scr .p-cand-km-on { font-family: 'Chakra Petch', sans-serif; font-weight: 700; font-size: 18px; color: #F4F1EA; }
.scr .p-cand-km { font-family: 'Chakra Petch', sans-serif; font-weight: 700; font-size: 18px; color: #D6DAE2; }
.scr .p-bars { display: flex; gap: 2px; }
.scr .p-bar-on { width: 12px; height: 6px; border-radius: 2px; background: #4DA3FF; }
.scr .p-bar { width: 12px; height: 6px; border-radius: 2px; background: #2C313C; }
.scr .p-score { font-family: 'Chakra Petch', sans-serif; font-weight: 700; font-size: 13px; color: #D6DAE2; }
.scr .c-street { flex-grow: 1; font-size: 16px; font-weight: 700; color: #F4F1EA; white-space: nowrap; }
.scr .c-then { height: 28px; padding: 0 10px; border-radius: 14px; background: #21252E; display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #8A919E; white-space: nowrap; }
.scr .c-prog { width: 38%; height: 4px; border-radius: 2px; background: #4DA3FF; }
.scr .c-lean { display: flex; align-items: center; gap: 12px; }
.scr .c-lean-val { flex-grow: 1; font-family: 'Chakra Petch', sans-serif; font-weight: 700; font-size: 38px; line-height: 1; color: #F4F1EA; }
.scr .c-lean-max { font-family: 'Chakra Petch', sans-serif; font-weight: 700; font-size: 14px; color: #8A919E; white-space: nowrap; }
.scr .c-speed { position: absolute; left: 16px; bottom: 76px; width: 92px; height: 92px; border-radius: 46px; background: #101216; border: 3px solid #2C313C; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.scr .c-limit { position: absolute; top: -12px; right: -14px; width: 42px; height: 42px; box-sizing: border-box; border-radius: 21px; background: #FFFFFF; border: 5px solid #E5332A; display: flex; align-items: center; justify-content: center; font-family: 'Chakra Petch', sans-serif; font-weight: 700; font-size: 16px; color: #101216; }
.scr .c-ctrls { position: absolute; right: 16px; bottom: 76px; display: flex; gap: 12px; }
.scr .c-ctrl { width: 60px; height: 60px; border-radius: 30px; background: #191C22; border: 1px solid #2C313C; display: flex; align-items: center; justify-content: center; }
.scr .k-sheet { position: absolute; left: 0; right: 0; top: 368px; bottom: 0; background: #191C22; border-top: 1px solid #2C313C; border-radius: 22px 22px 0 0; padding: 10px 16px 16px; display: flex; flex-direction: column; gap: 12px; }
.scr .k-step { width: 36px; height: 36px; border-radius: 18px; border: 1px solid #2C313C; display: flex; align-items: center; justify-content: center; }
.scr .k-title { flex-grow: 1; display: flex; flex-direction: column; gap: 2px; }
.scr .k-name { font-size: 21px; font-weight: 800; color: #F4F1EA; }
.scr .k-ref { font-size: 13px; color: #8A919E; }
.scr .k-stats { display: flex; gap: 22px; padding: 2px 4px; }
.scr .k-stat { display: flex; flex-direction: column; gap: 1px; }
.scr .k-phase { background: #101216; border: 1px solid #2C313C; border-radius: 14px; padding: 10px 10px; display: flex; flex-direction: column; gap: 6px; }
.scr .k-phase-warn { background: #101216; border: 1px solid #D29922; border-radius: 14px; padding: 10px 10px; display: flex; flex-direction: column; gap: 6px; }
.scr .k-phase-label { font-size: 11px; font-weight: 800; letter-spacing: 0.1em; color: #8A919E; }
.scr .k-verdict { font-size: 13px; font-weight: 800; color: #F4F1EA; }
.scr .k-verdict-2 { font-size: 13px; font-weight: 800; line-height: 1.15; color: #F4F1EA; }
.scr .k-phase-num { font-family: 'Chakra Petch', sans-serif; font-weight: 700; font-size: 15px; color: #D6DAE2; }
.scr .k-try { background: #21252E; border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 7px; }
.scr .k-try-badge { align-self: flex-start; height: 22px; padding: 0 10px; border-radius: 11px; background: #D29922; color: #0B0D10; display: flex; align-items: center; font-size: 12px; font-weight: 800; }
.scr .k-try-text { font-size: 15px; line-height: 1.5; color: #F4F1EA; }
.scr .k-hist { display: flex; align-items: center; gap: 8px; padding: 0 4px; }
.scr .k-hist-text { font-size: 13px; line-height: 1.45; color: #D6DAE2; }
.scr .t-street { font-size: 16px; font-weight: 700; color: #F4F1EA; white-space: nowrap; }
.scr .t-prog { width: 54%; height: 4px; border-radius: 2px; background: #4DA3FF; }
.scr .t-compass { display: flex; align-items: center; gap: 7px; }
.scr .t-n26 { font-family: 'Chakra Petch', sans-serif; font-weight: 700; font-size: 26px; line-height: 1; color: #F4F1EA; align-self: center; }
.scr .t-speed { position: absolute; left: 16px; bottom: 76px; width: 92px; height: 92px; box-sizing: border-box; border-radius: 46px; background: #101216; border: 3px solid #2C313C; display: flex; flex-direction: column; align-items: center; justify-content: center; }
