@font-face { font-family: 'Barlow Condensed'; font-weight: 600; font-style: normal; font-display: swap; src: url(assets/fonts/barlow-condensed-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 700; font-style: normal; font-display: swap; src: url(assets/fonts/barlow-condensed-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 800; font-style: normal; font-display: swap; src: url(assets/fonts/barlow-condensed-latin-800-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 600; font-style: italic; font-display: swap; src: url(assets/fonts/barlow-condensed-latin-600-italic.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 700; font-style: italic; font-display: swap; src: url(assets/fonts/barlow-condensed-latin-700-italic.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 800; font-style: italic; font-display: swap; src: url(assets/fonts/barlow-condensed-latin-800-italic.woff2) format('woff2'); }

:root {
  --bg: #07080b;
  --panel: #12151b;
  --line: #232831;
  --text: #f2f4f7;
  --muted: #9aa1ad;
  --red: #e11d2e;
  --purple: #a855f7;
  --green: #22c55e;
  --yellow: #eab308;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.55 system-ui, 'Segoe UI', -apple-system, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-style: italic; font-weight: 800; letter-spacing: 0.01em; line-height: 0.95; margin: 0; }

/* top bar */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px clamp(16px, 4vw, 40px); background: rgba(7, 8, 11, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-style: italic; font-size: 22px; letter-spacing: 0.02em; }
.nav nav { display: flex; gap: clamp(12px, 3vw, 28px); font-size: 14px; }
.nav nav a { text-decoration: none; color: var(--muted); }
.nav nav a:hover { color: var(--text); }
/* ☰ button, shown on phones only; turns into an × when the menu is open */
.menu-btn { display: none; place-content: center; gap: 5px; width: 44px; height: 44px; margin: -6px -10px -6px 0; padding: 0; border: 0; background: none; cursor: pointer; }
.menu-btn i { display: block; width: 22px; height: 2px; border-radius: 1px; background: var(--text); transition: transform 0.2s, opacity 0.2s; }
.nav.open .menu-btn i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .menu-btn i:nth-child(2) { opacity: 0; }
.nav.open .menu-btn i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* every scroll scene: a tall section whose content stays pinned while --p runs from 0 to 1 */
.scene { position: relative; height: var(--len, 300vh); }
.pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.section-title { font-size: clamp(34px, 6vw, 76px); text-align: center; padding: 0 16px; }

/* 1. hero */
/* the full-bleed 16:9 frame; JS scales it down into a card (transform only, so nothing is laid out again while scrolling) */
.hero-video { position: absolute; left: 50%; top: 50%; width: max(100vw, 100svh * 16 / 9); aspect-ratio: 16 / 9; transform: translate(-50%, -50%); overflow: hidden; will-change: transform; }
.hero .pin { background: radial-gradient(ellipse at 50% 60%, #1a1015, var(--bg) 65%); }
.hero-frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(0,0,0,0.25), rgba(0,0,0,0.75)); opacity: calc(1 - min(1, var(--p, 0) * 3)); }
.hero-stickers { position: absolute; inset: 0; }
/* only on upright screens, where the 16:9 card leaves room below it */
.hero-caption { display: none; position: absolute; left: 0; right: 0; bottom: 12vh; margin: 0; padding: 0 16px; text-align: center; font-family: var(--display); font-style: italic; font-weight: 700; font-size: clamp(26px, 5vw, 44px); opacity: calc((var(--p, 0) - 0.75) * 5); }
.hero-caption span { color: var(--red); }
.hero-stickers img { position: absolute; will-change: transform, opacity; }
.hero-title { position: relative; will-change: transform, opacity; text-align: center; padding: 0 16px; opacity: calc(1 - var(--p, 0) * 3.2); transform: translateY(calc(var(--p, 0) * -120px)) scale(calc(1 + var(--p, 0) * 0.15)); }
.hero-title h1 { font-size: clamp(64px, 14vw, 190px); text-shadow: 0 8px 40px rgba(0,0,0,0.5); }
.kicker { margin: 0 0 10px; font-family: var(--display); font-style: italic; font-weight: 700; font-size: clamp(16px, 2vw, 22px); color: #ffb3ba; letter-spacing: 0.08em; text-transform: uppercase; }
.lede { margin: 18px auto 0; max-width: 34ch; font-size: clamp(18px, 2.2vw, 26px); color: #e8eaee; text-shadow: 0 2px 20px rgba(0,0,0,0.6); }
/* landing: the frame settles, then the title rises in line by line */
.hero-frame { animation: settle 1.8s cubic-bezier(.2,.7,.2,1) both; }
.hero-title > * { animation: rise 0.9s cubic-bezier(.2,.8,.2,1) both; }
.hero-title .kicker { animation-delay: 0.35s; }
.hero-title h1 { animation-delay: 0.5s; }
.hero-title .lede { animation-delay: 0.75s; }
@keyframes settle { from { transform: scale(1.12); filter: brightness(0.3); } to { transform: none; filter: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }

/* scroll cue: appears once the title is in, fades as soon as the page moves */
.scroll-cue { position: absolute; bottom: max(24px, 4vh); left: 0; right: 0; display: grid; justify-items: center; opacity: calc(1 - var(--p, 0) * 8); pointer-events: none; }
.cue-in { display: grid; justify-items: center; gap: 8px; animation: rise 0.8s 1.5s cubic-bezier(.2,.8,.2,1) both; }
.mouse { width: 26px; height: 42px; border: 2px solid rgba(255,255,255,0.85); border-radius: 14px; position: relative; }
.mouse i { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--red); animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 0; } 25% { opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
.chevs { display: grid; justify-items: center; margin-top: -2px; }
.chevs i { width: 12px; height: 12px; margin-top: -4px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); animation: chev 1.6s ease-in-out infinite; opacity: 0; }
.chevs i:nth-child(2) { animation-delay: 0.2s; }
@keyframes chev { 0% { opacity: 0; translate: 0 -4px; } 40% { opacity: 1; } 80%, 100% { opacity: 0; translate: 0 6px; } }
.cue-label { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.8); text-shadow: 0 1px 10px rgba(0,0,0,0.7); }
.for-touch { display: none; }
@media (pointer: coarse) { .nav { background: rgba(7, 8, 11, 0.94); backdrop-filter: none; -webkit-backdrop-filter: none; } .mouse { display: none; } .for-mouse { display: none; } .for-touch { display: inline; } .chevs i { width: 16px; height: 16px; border-width: 3px; } }
/* still at the top a few seconds later: the cue bounces to get attention */
.hero.nudge .cue-in { animation: nudge 1.4s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: none; } 30% { transform: translateY(-10px); } 55% { transform: none; } 70% { transform: translateY(-4px); } }

/* 2. how it works */
.how .pin { grid-template-columns: 1fr 1fr; gap: clamp(16px, 5vw, 80px); padding: 80px clamp(16px, 6vw, 90px) 24px; align-items: center; background: radial-gradient(ellipse at 25% 50%, #1a1015, var(--bg) 60%); }
.how-map { justify-self: center; will-change: transform; width: min(40vw, 460px); transform: rotate(calc(-12deg + 12deg * var(--p, 0))) scale(calc(0.7 + 0.3 * var(--p, 0))); filter: drop-shadow(0 20px 60px rgba(225, 29, 46, 0.35)); }
.how-map img { width: 100%; }
.how-steps h2 { font-size: clamp(36px, 5vw, 68px); margin-bottom: 26px; }
.how-steps ol { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 18px; }
.how-steps li { counter-increment: s; position: relative; padding-left: 52px; color: #d5d9e0; font-size: clamp(16px, 1.6vw, 19px); }
.how-steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: #fff; font-family: var(--display); font-weight: 800; font-style: italic; font-size: 20px; }
.how-steps b { color: #fff; }
.step { opacity: 0.12; transform: translateY(16px); transition: opacity 0.5s, transform 0.5s; }
.step.on { opacity: 1; transform: none; }
.legend { display: grid; gap: 8px; margin-top: 28px; font-size: 15px; color: #c9ced8; }
.legend span { display: flex; align-items: center; gap: 10px; }
.sw { width: 14px; height: 14px; border-radius: 4px; flex: none; }
.sw.purple { background: #7e22ce; } .sw.green { background: #15803d; } .sw.yellow { background: #a16207; }

.st-card .art { height: clamp(150px, 20vw, 230px); border-radius: 14px; display: flex; align-items: center; justify-content: center; background: url(assets/img/frame-hero.jpg) center / cover; position: relative; overflow: hidden; }
.st-card .art::before { content: ''; position: absolute; inset: 0; background: rgba(5, 6, 9, 0.55); }
.st-card .art img { position: relative; max-height: 82%; max-width: 88%; object-fit: contain; filter: drop-shadow(0 10px 24px rgba(0,0,0,0.55)); }
.st-card h3 { font-size: 30px; }
.st-card p { margin: 0; color: var(--muted); font-size: 15px; }

/* 4. presets */
.presets .pin { grid-template-columns: 1fr 1fr; padding: 80px clamp(16px, 6vw, 90px) 24px; gap: 4vw; background: radial-gradient(ellipse at 70% 50%, #10161e, var(--bg) 60%); }
/* the two words and the two lines stack in the same grid cells and cross-fade */
.preset-copy { display: grid; grid-template-areas: 'title' 'text'; gap: 18px; }
.preset-copy h2 { grid-area: title; display: grid; font-size: clamp(54px, 8vw, 110px); }
.preset-copy h2 span { grid-area: 1 / 1; }
.preset-copy p { grid-area: text; margin: 0; max-width: 30ch; color: #c9ced8; font-size: clamp(17px, 1.8vw, 21px); }
.preset-copy h2 span, .preset-copy p { transition: opacity 0.4s, transform 0.4s; }
.preset-stage { position: relative; width: min(42vw, 440px); aspect-ratio: 1; justify-self: center; }
.preset-stage img { position: absolute; transition: opacity 0.5s, transform 0.6s cubic-bezier(.2,.8,.2,1); filter: drop-shadow(0 20px 50px rgba(0,0,0,0.6)); }
.preset-stage .moto { inset: 6%; width: 88%; }
.preset-stage .car-speedo { left: 0; top: 10%; width: 62%; }
.preset-stage .car-pedals { right: 0; top: 30%; width: 34%; }
.presets[data-step="0"] .car-word, .presets[data-step="0"] .car-text { opacity: 0; transform: translateY(24px); }
.presets[data-step="1"] .moto-word, .presets[data-step="1"] .moto-text { opacity: 0; transform: translateY(-24px); }
.presets[data-step="0"] .car-speedo, .presets[data-step="0"] .car-pedals { opacity: 0; transform: scale(0.6) rotate(-20deg); }
.presets[data-step="1"] .moto { opacity: 0; transform: scale(0.6) rotate(25deg); }



/* ---- carousels (stickers, themes, fonts): swipe on touch screens; arrows and mouse drag on desktop ---- */
.band { position: relative; padding: clamp(80px, 12vh, 130px) 0; overflow: hidden; scroll-margin-top: 40px; }
.carousel { position: relative; --sw: min(78vw, 400px); }
.slides { display: flex; gap: clamp(14px, 2.5vw, 32px); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding: 18px calc(50% - var(--sw) / 2); scrollbar-width: none; outline: none; }
.slides::-webkit-scrollbar { display: none; }
.slides > * { flex: none; width: var(--sw); scroll-snap-align: center; }
.slides:focus-visible { box-shadow: inset 0 0 0 2px rgba(225, 29, 46, 0.6); border-radius: 12px; }
.slides img { -webkit-user-drag: none; user-select: none; }
/* mouse drag: no snapping while the hand moves the row */
.slides.dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.car-btn { position: absolute; top: 50%; z-index: 2; width: 52px; height: 52px; margin-top: -26px; display: none; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(16, 18, 24, 0.82); color: #fff; cursor: pointer; transition: background 0.2s, opacity 0.2s, transform 0.2s; }
.car-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.car-btn:hover { background: var(--red); transform: scale(1.06); }
.car-btn:disabled { opacity: 0.25; cursor: default; background: rgba(16, 18, 24, 0.82); transform: none; }
.car-btn.prev { left: clamp(12px, 3vw, 40px); }
.car-btn.next { right: clamp(12px, 3vw, 40px); }
/* arrows and drag only where there is a mouse; touch screens swipe */
@media (hover: hover) and (pointer: fine) {
  .car-btn { display: grid; }
  .slides { cursor: grab; }
}
.progress { width: min(60vw, 520px); height: 3px; margin: 18px auto 0; border-radius: 2px; background: var(--line); overflow: hidden; }
.progress i { display: block; height: 100%; width: 100%; background: var(--red); transform: scaleX(var(--p, 0)); transform-origin: left; transition: transform 0.15s linear; }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: background 0.2s, transform 0.2s; }
.dots i.on { background: var(--red); transform: scale(1.25); }

/* stickers: the centred card is lit, its neighbours dimmed */
.stickers .section-title { margin-bottom: 10px; }
.st-card { border-radius: 22px; padding: 22px; background: linear-gradient(160deg, #191d25, #0e1015); border: 1px solid var(--line); display: grid; gap: 16px; transform: scale(0.92); opacity: 0.5; transition: transform 0.35s cubic-bezier(.2,.8,.2,1), opacity 0.35s; }
.st-card.on { transform: none; opacity: 1; }

/* themes: the on-board frame behind, the timing cluster in each theme */
.themes-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.themes-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,8,11,0.92) 0%, rgba(7,8,11,0.55) 45%, rgba(7,8,11,0.85) 100%); }
.themes-head { position: relative; z-index: 1; text-align: center; padding: 0 16px; }
.themes-head h2 { font-size: clamp(54px, 8vw, 110px); }
.chips { list-style: none; margin: 18px auto 6px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 980px; }
.chips button { font: 500 14px/1 system-ui, 'Segoe UI', sans-serif; padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(10, 12, 16, 0.6); color: rgba(255, 255, 255, 0.7); cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.chips button:hover { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.chips button[aria-current='true'] { background: var(--red); border-color: var(--red); color: #fff; }
.themes .carousel { z-index: 1; --sw: min(78vw, 760px); }
.fonts { background: radial-gradient(ellipse at 50% 60%, #171019, var(--bg) 65%); }
.fonts .carousel { --sw: min(78vw, 820px); }
.shot { margin: 0; display: grid; gap: 14px; justify-items: center; transition: opacity 0.35s, transform 0.35s cubic-bezier(.2,.8,.2,1); opacity: 0.35; transform: scale(0.94); }
.shot.on { opacity: 1; transform: none; }
.shot img { width: 100%; aspect-ratio: 1459 / 475; object-fit: contain; filter: drop-shadow(0 18px 40px rgba(0,0,0,0.5)); }
.shot figcaption { font-family: var(--display); font-style: italic; font-weight: 700; font-size: clamp(24px, 3vw, 36px); color: var(--red); }
.fonts .shot figcaption { font-family: system-ui, 'Segoe UI', sans-serif; font-style: normal; font-weight: 600; font-size: clamp(18px, 2.2vw, 26px); color: #d5d9e0; }

/* 7. mobile */
.mobile .pin { grid-template-columns: 1fr auto; gap: 5vw; padding: 80px clamp(16px, 7vw, 110px) 24px; background: radial-gradient(ellipse at 70% 50%, #121a20, var(--bg) 62%); }
.mobile-copy, .follow-copy { max-width: 540px; }
.mobile-copy h2 { font-size: clamp(46px, 6.5vw, 92px); }
.mobile-line { max-width: 34ch; color: #c9ced8; font-size: clamp(17px, 1.8vw, 21px); }
.mobile-style { font-family: var(--display); font-style: italic; font-weight: 700; font-size: clamp(26px, 3vw, 36px); color: var(--red); margin: 0; min-height: 1.2em; }
/* the phone slot never changes size; the wide frame inside is clipped down to it, then the phone styles fade in */
.device { --h: min(72vh, 680px); position: relative; height: var(--h); width: calc(var(--h) * 0.5625); justify-self: center; }
.device-frame { position: absolute; top: 0; left: 50%; height: 100%; width: calc(var(--h) * 1.7778); background: #0d0f13; transform: translateX(-50%); clip-path: inset(0 round 10px); will-change: transform, clip-path; }
.device-frame img { width: 100%; height: 100%; object-fit: cover; }
.bezel { position: absolute; inset: 0; border-radius: 36px; box-shadow: 0 0 0 10px #1c2028, 0 40px 90px rgba(0,0,0,0.6); opacity: 0; pointer-events: none; will-change: opacity; }
.mobile-copy { will-change: opacity; }
.device .m { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 36px; transition: opacity 0.45s; }
.device .m { opacity: 0; }
.device .m.on { opacity: 1; }

/* 8. follow corners */
.follow .pin { grid-template-columns: 1fr auto; gap: 5vw; padding: 80px clamp(16px, 7vw, 110px) 24px; }
.follow-copy h2 { font-size: clamp(46px, 6.5vw, 92px); margin-bottom: 18px; }
.follow-copy p { max-width: 38ch; color: #c9ced8; font-size: clamp(17px, 1.8vw, 21px); }
.follow-phone { position: relative; height: min(72vh, 680px); aspect-ratio: 9 / 16; border-radius: 36px; overflow: hidden; box-shadow: 0 0 0 10px #1c2028, 0 40px 90px rgba(0,0,0,0.6); }
.follow-phone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.4s; }
.follow-phone img.on { opacity: 1; }

/* 9. the app */
.app .pin { align-content: center; gap: 3vh; background: radial-gradient(ellipse at 50% 70%, #151820, var(--bg) 60%); }
.app .section-title { margin-top: 50px; }
.screen { position: relative; will-change: transform; width: min(88vw, 1180px); aspect-ratio: 1600 / 912; border-radius: 14px; overflow: hidden; border: 1px solid #2a2f3a; box-shadow: 0 50px 120px rgba(0,0,0,0.7); transform: perspective(1400px) rotateX(calc(18deg - 18deg * min(1, var(--p, 0) * 2.5))) scale(calc(0.86 + 0.14 * min(1, var(--p, 0) * 2.5))); transform-origin: 50% 100%; }
.screen .ui { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.45s; }
.screen .ui.on { opacity: 1; }
.ui-caption { margin: 0; color: var(--muted); font-size: 15px; letter-spacing: 0.06em; }
.ui-caption b { color: #fff; }

/* 10–11. plain sections */
.block { scroll-margin-top: 40px; padding: clamp(80px, 12vh, 140px) clamp(16px, 6vw, 90px); max-width: 1240px; margin: 0 auto; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 44px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.card h3 { font-size: 32px; margin-bottom: 10px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.note { text-align: center; color: var(--muted); font-size: 15px; margin-top: 28px; }
.grid { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 28px 32px; }
.grid li { color: var(--muted); font-size: 15px; border-top: 2px solid var(--red); padding-top: 14px; }
.grid b { display: block; color: var(--text); font-family: var(--display); font-style: italic; font-weight: 800; font-size: 24px; margin-bottom: 6px; }
.outro { text-align: center; display: grid; justify-items: center; gap: 14px; }
.outro h2 { font-size: clamp(56px, 9vw, 120px); }
.soon { margin: 0; font-family: var(--display); font-style: italic; font-weight: 700; font-size: clamp(24px, 3vw, 36px); color: var(--red); letter-spacing: 0.04em; }
.compat-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; margin-top: 44px; align-items: start; }
.compat-grid .card:first-child { grid-row: span 3; }
@media (max-width: 760px) { .compat-grid { grid-template-columns: 1fr; } .compat-grid .card:first-child { grid-row: auto; } }
.compat-grid .card p + p { margin-top: 10px; }
.models { list-style: none; padding: 0; margin: 12px 0 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.models li { padding: 4px 10px; border-radius: 999px; background: #1b1f27; border: 1px solid var(--line); font-size: 13px; color: var(--text); }
.models small { color: var(--muted); }
.downloads {text-align: center; display: grid; justify-items: center; gap: 18px; padding-top: 0; }
.downloads .note { margin-top: 4px; }
.dl-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 10px; }
.dl { display: flex; align-items: center; gap: 12px; min-width: 220px; padding: 12px 22px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); color: var(--text); text-decoration: none; text-align: left; transition: border-color 0.2s, transform 0.2s; }
.dl:hover { border-color: var(--red); transform: translateY(-2px); }
.dl svg { width: 28px; height: 28px; flex: none; }
.dl span { display: grid; font-family: var(--display); font-style: italic; font-weight: 700; font-size: 22px; line-height: 1.1; }
.dl small { font-family: system-ui, 'Segoe UI', sans-serif; font-style: normal; font-weight: 400; font-size: 12px; color: var(--muted); }
.dl.store { background: #fff; color: #0b0d12; border-color: #fff; }
.dl.store small { color: #555b66; }
/* not released yet: shown, but clearly not clickable */
.dl.soon { cursor: default; opacity: 0.6; }
.dl.soon:hover { border-color: var(--line); transform: none; }
.dl.store.soon:hover { border-color: #fff; }
/* free trial vs paid licence */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); justify-content: center; gap: 16px; margin-top: 8px; text-align: left; }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; }
.plan.paid { border-color: rgba(225, 29, 46, 0.6); background: linear-gradient(160deg, #22131a, var(--panel) 60%); }
.plan h3 { font-size: 30px; margin-bottom: 12px; }
.plan.paid h3 { color: #ff4d5e; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; color: #d5d9e0; }
.plan li { position: relative; padding-left: 22px; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 0.45em; width: 9px; height: 5px; border-left: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(-45deg); }
.plan.paid li::before { border-color: #ff4d5e; }
.plan p { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
@media (max-width: 640px) { .plans { grid-template-columns: minmax(0, 1fr); width: 100%; } }
.notify { margin: 0; color: var(--muted); font-size: 15px; }
.notify a { color: var(--text); }
.contact {text-align: center; display: grid; justify-items: center; gap: 18px; padding-top: 0; }
.contact-line { margin: 0; color: var(--muted); }
.button { display: inline-block; padding: 14px 28px; border-radius: 999px; background: var(--red); color: #fff; text-decoration: none; font-weight: 600; }
.button:hover { background: #f0283a; }
.foot {padding: 28px clamp(16px, 6vw, 90px) 40px; border-top: 1px solid var(--line); color: #6b7280; font-size: 13px; text-align: center; }
.foot p { margin: 4px 0; }

/* phones and narrow windows: stack the two-column scenes */
@media (max-width: 760px) {
  /* phones: the section links fold into a menu under the ☰ button */
  .menu-btn { display: grid; }
  .nav nav { position: absolute; top: 100%; left: 0; right: 0; display: grid; gap: 0; padding: 6px 16px 14px; background: rgba(7, 8, 11, 0.97); border-bottom: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 24px 40px rgba(0, 0, 0, 0.5); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.2s, transform 0.2s, visibility 0s 0.2s; }
  .nav.open nav { opacity: 1; visibility: visible; transform: none; transition: opacity 0.2s, transform 0.2s; }
  .nav nav a { padding: 13px 4px; font-size: 18px; color: var(--text); border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
  .nav nav a:last-child { border-bottom: 0; }
  .how .pin, .presets .pin, .mobile .pin, .follow .pin { grid-template-columns: 1fr; align-content: center; gap: 24px; padding-top: 72px; }
  .how-map { width: 46vw; order: 2; }
  .preset-stage { width: 70vw; }
  .mobile-copy h2, .follow-copy h2 { font-size: 48px; }
  .follow-phone { justify-self: center; height: 52vh; }
  .device { --h: 52vh; }
}

/* tablets held upright (iPad portrait and similar): text above, a larger visual below */
@media (orientation: portrait) and (min-width: 761px) {
  .how .pin, .presets .pin, .mobile .pin, .follow .pin { grid-template-columns: 1fr; align-content: center; justify-items: center; gap: 5vh; padding: 90px 8vw 40px; text-align: center; }
  .how-steps { max-width: 620px; text-align: left; }
  .how-steps h2 { text-align: center; }
  .how-map { order: 2; width: min(36vw, 340px); }
  .legend { justify-content: center; }
  .preset-copy { justify-items: center; }
  .preset-stage { width: min(56vw, 440px); }
  .mobile-copy h2, .follow-copy h2 { font-size: clamp(60px, 9vw, 96px); }
  .mobile-copy, .follow-copy { max-width: 620px; }
  .mobile-line, .follow-copy p { margin-left: auto; margin-right: auto; }
  .follow-phone { height: min(54vh, 700px); }
  .device { --h: min(54vh, 700px); }
  .screen { width: 92vw; }
}

@media (orientation: portrait) { .hero-caption { display: block; } }

/* motion off: no pinned animations, everything simply shown */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-frame, .hero-title > *, .cue-in, .hero.nudge .cue-in, .mouse i, .chevs i { animation: none; }
  .chevs i { opacity: 1; }
  .step { opacity: 1; transform: none; }
}
