/* Veer site. Black and lime, system type, one accent. Motion only where it explains, off for reduced motion. */
:root {
  --bg: #000;
  --raised: #111113;
  --raised-2: #1a1a1d;
  --line: rgba(245, 245, 247, .1);
  --text: #f5f5f7;
  --text-2: #a1a1a6;
  --text-3: #86868b;
  --lime: #c6f64a;
  --ink: #121314;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --r-control: 980px;
  --r-card: 20px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lime); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.02em; line-height: 1.08; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: min(1120px, 100% - 48px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 48px); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 10; background: var(--lime); color: var(--ink); padding: 8px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 5; background: rgba(0, 0, 0, .72); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 52px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; font-size: 19px; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand svg { width: 28px; height: 28px; border-radius: 7px; }
.brand.small svg { width: 24px; height: 24px; border-radius: 6px; }
.nav nav { display: flex; align-items: center; gap: 24px; }
.nav ul { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; font-size: 14px; }
.nav .links a { color: var(--text-2); }
.nav .links a:hover { color: var(--text); text-decoration: none; }
.langs { gap: 4px !important; }
.langs a, .langs span { display: inline-block; padding: 4px 8px; border-radius: 8px; color: var(--text-3); font-size: 12px; font-weight: 500; letter-spacing: .02em; }
.langs span { color: var(--text); background: var(--raised-2); }
.langs a:hover { color: var(--text); text-decoration: none; }

/* Store badge */
.store-badge { display: inline-block; line-height: 0; border-radius: 9px; transition: transform .2s var(--ease), opacity .2s var(--ease); }
.store-badge:hover { opacity: .85; }
.store-badge:active { transform: scale(.97); }
.store-badge img { display: block; height: 44px; width: auto; }
.store-badge.big img { height: 54px; }
.text-link { color: var(--lime); font-size: 17px; }

/* Phone: a bezel that borders the screen. The screen keeps the screenshot's aspect ratio (iPhone 6.9"),
   corner radii scale with the phone's own width (container units). */
.phone { --w: 300px; width: var(--w); padding: calc(var(--w) * 0.034); border-radius: calc(var(--w) * 0.170); position: relative;
  background: linear-gradient(145deg, #3a3a3e 0%, #1b1b1d 18%, #0c0c0d 50%, #1b1b1d 82%, #2e2e31 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), inset 0 0 0 calc(var(--w) * 0.024) #050506, 0 40px 90px -20px rgba(0, 0, 0, .85); }
.phone::before, .phone::after { content: ""; position: absolute; left: calc(var(--w) * -0.011); width: calc(var(--w) * 0.014); border-radius: calc(var(--w) * 0.010) 0 0 calc(var(--w) * 0.010); background: #26262a; }
.phone::before { top: 22%; height: 7%; }
.phone::after { top: 32%; height: 12%; }
.screen { position: relative; aspect-ratio: 1320 / 2868; border-radius: calc(var(--w) * 0.136); overflow: hidden; background: #f2f2f7; isolation: isolate; }
.screen img, .screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.island { position: absolute; top: 2.6%; left: 50%; width: 30%; height: 3.9%; transform: translateX(-50%); background: #000; border-radius: 99px; z-index: 2; }
/* Recordings already show the real Dynamic Island, so the drawn one is only for still screens. */
.screen:has(> video:not(.layer)) .island, .screen:has(> video.layer.on) .island { display: none; }

/* Hero: big type, then the phone rising out of perspective as you scroll */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 0; text-align: center; --p: 0; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(44px, 6.2vw, 88px); letter-spacing: -.045em; line-height: 1.03; max-width: 15ch; margin-inline: auto; }
.hero .lede { margin: 24px auto 0; font-size: clamp(18px, 1.6vw, 22px); color: var(--text-2); max-width: 42ch; line-height: 1.45; }
.actions { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 32px; }
.stage { position: relative; height: clamp(560px, 64vw, 860px); margin-top: clamp(36px, 4vw, 56px); perspective: 1800px; }
.glow { position: absolute; left: 50%; top: 4%; width: min(1100px, 120vw); aspect-ratio: 1.6; transform: translateX(-50%) scale(calc(.8 + var(--p) * .3)); opacity: calc(.55 + var(--p) * .45);
  background: radial-gradient(closest-side, rgba(198, 246, 74, .5), rgba(198, 246, 74, .2) 40%, rgba(198, 246, 74, .06) 62%, transparent 78%); pointer-events: none; will-change: transform, opacity; }
.stage .phone { position: absolute; left: 50%; top: 0; will-change: transform, opacity; backface-visibility: hidden; }
.hero-phone { --w: clamp(270px, 27vw, 380px); z-index: 2; transform-origin: 50% 0;
  transform: translateX(-50%) translateY(calc((1 - var(--p)) * 60px)) rotateX(calc((1 - var(--p)) * 26deg)) scale(calc(.9 + var(--p) * .1)); }
.side { --w: clamp(220px, 21vw, 300px); z-index: 1; top: 12%; opacity: calc(.35 + var(--p) * .65); }
.side.left { transform: translateX(calc(-50% - var(--w) * (.62 + var(--p) * .32))) rotate(calc(-9deg + var(--p) * 4deg)) scale(.92); }
.side.right { transform: translateX(calc(-50% + var(--w) * (.62 + var(--p) * .32))) rotate(calc(9deg - var(--p) * 4deg)) scale(.92); }
.stage::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(to bottom, transparent, var(--bg)); z-index: 3; pointer-events: none; }

/* Facts */
.facts { border-block: 1px solid var(--line); }
.facts dl { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
.facts div { padding: 32px 24px 32px 0; display: flex; flex-direction: column-reverse; gap: 6px; }
.facts div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.facts dd { margin: 0; font-size: clamp(30px, 3.4vw, 44px); font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--text); }
.facts dt { color: var(--text-2); font-size: 15px; }


/* Tour: the phone stays put while the text scrolls; its screen changes with each step */
.tour { position: relative; padding: clamp(40px, 6vw, 80px) 0; overflow: clip; }
.tour-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 120px); }
.step { min-height: 88vh; display: flex; flex-direction: column; justify-content: center; opacity: .28; transition: opacity .6s var(--ease); }
.step.on { opacity: 1; }
.step-n { font-size: 15px; font-weight: 500; color: var(--lime); font-variant-numeric: tabular-nums; }
.step h2 { margin-top: 12px; font-size: clamp(36px, 4.6vw, 64px); letter-spacing: -.035em; }
.step p { margin-top: 20px; font-size: clamp(18px, 1.5vw, 22px); color: var(--text-2); max-width: 30ch; line-height: 1.5; }
.step-phone { display: none; }
.tour-stick { position: sticky; top: calc(50vh - min(42vh, 380px)); height: min(84vh, 760px); display: flex; justify-content: center; align-items: center; }
.tour-phone { --w: min(340px, calc(84vh * .44)); }
.tour-phone .layer { opacity: 0; transform: scale(1.04); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.tour-phone .layer.on { opacity: 1; transform: none; }
.road-line { position: absolute; left: 50%; top: -20%; bottom: -20%; width: 6px; margin-left: -3px; z-index: -1; opacity: .5;
  background: repeating-linear-gradient(to bottom, var(--lime) 0 32px, transparent 32px 64px); will-change: transform;
  -webkit-mask: linear-gradient(transparent, #000 25%, #000 75%, transparent); mask: linear-gradient(transparent, #000 25%, #000 75%, transparent); }

/* Basics */
.basics, .pricing, .faq, .from-blog { padding: clamp(64px, 9vw, 120px) 0; border-top: 1px solid var(--line); }
.basics h2, .pricing h2, .faq h2, .from-blog h2 { font-size: clamp(32px, 4vw, 48px); letter-spacing: -.03em; }
.basics ul { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.basics li { background: var(--raised); border-radius: var(--r-card); padding: 28px; }
.basics h3 { font-size: 21px; }
.basics li p { margin-top: 8px; color: var(--text-2); }

/* Pricing */
.plans { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.plan { background: var(--raised); border-radius: var(--r-card); padding: 32px; }
.plan.full { background: var(--lime); color: var(--ink); }
.plan h3 { font-size: 21px; }
.plan .price { margin: 12px 0 16px; font-size: 44px; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.plan p:last-child { color: var(--text-2); }
.plan.full p:last-child { color: rgba(18, 19, 20, .78); }
.note { margin-top: 20px; color: var(--text-3); font-size: 15px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); max-width: 820px; }
.faq h2 + details { margin-top: 32px; border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3, .support summary h2 { font-size: 19px; font-weight: 500; letter-spacing: -.01em; line-height: 1.35; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 1.5px solid var(--text-2); border-bottom: 1.5px solid var(--text-2); transform: rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.answer { padding: 0 0 24px; color: var(--text-2); max-width: 62ch; }

/* Cards */
.cards { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card a { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 28px; background: var(--raised); border-radius: var(--r-card); color: var(--text); transition: background-color .2s var(--ease); }
.card a:hover { text-decoration: none; background: var(--raised-2); }
.card .meta { color: var(--text-3); font-size: 13px; }
.card .ttl { font-size: 21px; font-weight: 600; letter-spacing: -.015em; line-height: 1.25; }
.card .dsc { color: var(--text-2); font-size: 15px; }
.from-blog .text-link { display: inline-block; margin-top: 28px; }

/* Final */
.final { padding: clamp(80px, 12vw, 160px) 0; border-top: 1px solid var(--line); text-align: center; }
.final-in { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.final-mark svg { width: 96px; height: 96px; border-radius: 22px; }
.final h2 { font-size: clamp(36px, 5vw, 64px); letter-spacing: -.035em; max-width: 16ch; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 40px 0 56px; font-size: 14px; }
.foot-in { display: grid; grid-template-columns: auto 1fr; gap: 20px 40px; align-items: center; }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: flex-end; }
.foot a:not(.brand) { color: var(--text-2); }
.foot a:not(.brand):hover { color: var(--text); }
.fine { grid-column: 1 / -1; color: var(--text-3); font-size: 13px; }

/* Content pages */
.page-head { padding: clamp(48px, 8vw, 96px) 0 32px; }
.page-head h1 { font-size: clamp(40px, 6vw, 64px); letter-spacing: -.035em; }
.page-head .lede, .post-head .lede { margin-top: 16px; font-size: 21px; color: var(--text-2); line-height: 1.45; }
.meta { margin-top: 12px; color: var(--text-3); font-size: 14px; }
.mail { font-weight: 500; }
.support .faq, .support > .faq { padding: 0; border: 0; }
.support details:first-child { border-top: 1px solid var(--line); }
.prose { font-size: 18px; line-height: 1.65; color: #e3e3e6; padding-bottom: 64px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.2em; font-size: 30px; letter-spacing: -.025em; color: var(--text); scroll-margin-top: 72px; }
.prose h3 { margin-top: 1.8em; font-size: 21px; letter-spacing: -.015em; color: var(--text); scroll-margin-top: 72px; }
.prose .lede { font-size: 21px; color: var(--text); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose strong { color: var(--text); font-weight: 600; }
.prose blockquote { margin-inline: 0; padding: 16px 20px; background: var(--raised); border-radius: 14px; color: var(--text); }
.prose code { font-size: .9em; }
.table { overflow-x: auto; margin-inline: -4px; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 1.45; font-variant-numeric: tabular-nums; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--text-2); font-weight: 500; }
.prose img { border-radius: 12px; }

/* Post */
.post { width: min(720px, 100% - 48px); }
.crumbs { padding-top: 40px; font-size: 14px; }
.post-head { padding: 16px 0 32px; }
.post-head h1 { font-size: clamp(36px, 5.4vw, 56px); letter-spacing: -.035em; }
.toc { background: var(--raised); border-radius: 16px; padding: 20px 24px; margin-bottom: 40px; font-size: 15px; }
.toc p { color: var(--text-3); font-size: 13px; }
.toc ul { margin: 8px 0 0; padding: 0; list-style: none; }
.toc li + li { margin-top: 4px; }
.toc a { color: var(--text); }
.post-app { background: var(--raised); border-radius: var(--r-card); padding: 28px; display: grid; gap: 16px; justify-items: start; }
.post-app p { color: var(--text-2); }
.related { padding: 64px 0 24px; }
.related h2 { font-size: 28px; }
.related .cards { grid-template-columns: 1fr; margin-top: 20px; }
.nf .ru { margin-top: 32px; color: var(--text-2); }

/* Motion: content is visible without JS; with JS, sections rise in once. */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .hero-copy > * { animation: rise .9s var(--ease) both; }
.js .hero-copy > :nth-child(2) { animation-delay: .08s; }
.js .hero-copy > :nth-child(3) { animation-delay: .16s; }
.js .stage { animation: rise 1.2s var(--ease) .15s both; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .hero-copy > *, .js .stage { opacity: 1 !important; transform: none; animation: none !important; transition: none !important; }
  .hero { --p: 1 !important; }
  .step { opacity: 1; }
  .tour-phone .layer { transition: none; }
}

/* Small screens */
@media (max-width: 900px) {
  .tour-in { grid-template-columns: 1fr; }
  .tour-stick { display: none; }
  .step { min-height: 0; opacity: 1; padding: 48px 0; }
  .step-phone { display: flex; justify-content: center; margin-top: 40px; }
  .step-phone .phone { --w: min(68vw, 300px); }
  .stage { height: clamp(520px, 150vw, 700px); }
  .hero-phone { --w: min(64vw, 300px); }
  .side { --w: min(50vw, 230px); }
  .facts dl { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .basics ul, .plans, .cards { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr; }
  .foot ul { justify-content: flex-start; }
}
@media (max-width: 520px) {
  .nav .links { display: none; }
  .wrap, .narrow, .post { width: calc(100% - 40px); }
  .facts div { padding: 24px 16px 24px 0; }
  .facts div + div { padding-left: 16px; }
  .facts div:nth-child(3) { padding-left: 0; }
  .plan, .basics li, .card a { padding: 24px; }
}

/* Sign figures in posts */
.prose .signs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.prose .signs figure { margin: 0; background: var(--raised); border-radius: 16px; padding: 20px; display: grid; gap: 12px; align-content: start; }
.prose .signs img { width: 72px; height: 72px; object-fit: contain; border-radius: 0; }
.prose .signs figcaption { font-size: 14px; line-height: 1.45; color: var(--text-2); }
.prose .credit { font-size: 13px; color: var(--text-3); }
.prose .credit a { color: var(--text-2); }
.tour-stick::before { content: ""; position: absolute; left: 50%; top: 50%; width: 760px; height: 760px; transform: translate(-50%, -50%); z-index: -2;
  background: radial-gradient(closest-side, rgba(198, 246, 74, .22), rgba(198, 246, 74, .06) 55%, transparent 75%); pointer-events: none; }
.final { position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; left: 50%; top: 50%; width: 900px; height: 600px; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(198, 246, 74, .18), transparent 70%); pointer-events: none; }
.final-in { position: relative; }
.road-line { opacity: .8; }
.facts dd { white-space: nowrap; }
@media (max-width: 520px) { .facts dd { font-size: 28px; } }

/* Licence card: the app's training licence, drawn in SVG, with hologram layers driven by --tx / --ty (-1..1). */
.licence { padding: clamp(64px, 9vw, 120px) 0; border-top: 1px solid var(--line); overflow: hidden; }
.licence-in { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.licence h2 { font-size: clamp(36px, 4.6vw, 64px); letter-spacing: -.035em; }
.licence-copy p { margin-top: 20px; font-size: clamp(18px, 1.5vw, 22px); color: var(--text-2); max-width: 28ch; line-height: 1.5; }
.licence-card { position: relative; }
.licence-card .glow { top: 50%; width: 130%; aspect-ratio: 1.5; transform: translate(-50%, -50%); opacity: .5; }
.lc { --tx: 0; --ty: 0; --m: 0; position: relative; width: 100%; max-width: 560px; margin-inline: auto; aspect-ratio: 340 / 214; perspective: 1100px; touch-action: pan-y; cursor: grab; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.lc-in { position: absolute; inset: 0; border-radius: 4.12% / 6.54%; overflow: hidden; isolation: isolate; will-change: transform;
  transform: rotateX(calc(var(--ty) * -14deg)) rotateY(calc(var(--tx) * 18deg));
  box-shadow: calc(var(--tx) * -22px) calc(26px + var(--ty) * -16px) 60px -12px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08); }
.lc-face { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.lc-face text { font-family: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; fill: #121314; }
.lc-t { font-size: 13.5px; font-weight: 800; }
.lc-b { font-size: 7.5px; font-weight: 700; letter-spacing: 1.2px; fill-opacity: .6; font-family: var(--font) !important; }
.lc-l { font-size: 6px; font-weight: 600; letter-spacing: .6px; fill-opacity: .72; font-family: var(--font) !important; }
.lc-n { font-size: 7px; font-weight: 800; letter-spacing: 0; }
.lc-v { font-size: 12.5px; font-weight: 700; }
.lc-face .lc-s { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 13px; font-weight: 800; letter-spacing: .6px; fill: #C2410C; }
.lc-in i { position: absolute; pointer-events: none; }
.lc-photo { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
/* The watermark V in foil: faint head-on, rainbow when tilted. */
.lc-mark { left: 60.3%; top: 27.1%; width: 44.1%; aspect-ratio: 1; opacity: calc(.16 + .3 * var(--m));
  background: conic-gradient(from calc(var(--tx) * 140deg + var(--ty) * 90deg), #FF8AC8, #FFD66B, #7CF0B5, #6CC8FF, #B68CFF, #FF8AC8);
  -webkit-mask: var(--lc-glyph) center / contain no-repeat; mask: var(--lc-glyph) center / contain no-repeat; }
.lc-foil { inset: 0; opacity: calc(.3 + .3 * var(--m)); mix-blend-mode: color;
  background: repeating-linear-gradient(118deg, #ff7ac3 0%, #ffd35c 7%, #6ff0ad 14%, #5fc2ff 21%, #b184ff 28%, #ff7ac3 35%) calc(50% + var(--tx) * 70%) calc(50% + var(--ty) * 70%) / 320% 320%; }
.lc-glitter { inset: 0; opacity: calc(.25 + .6 * var(--m)); mix-blend-mode: overlay; background: var(--lc-grain) 0 0 / 180px 180px;
  -webkit-mask: radial-gradient(circle at calc(50% + var(--tx) * 55%) calc(50% + var(--ty) * 55%), #000 0, transparent 48%); mask: radial-gradient(circle at calc(50% + var(--tx) * 55%) calc(50% + var(--ty) * 55%), #000 0, transparent 48%); }
.lc-glare { inset: 0; mix-blend-mode: soft-light;
  background: radial-gradient(circle at calc(50% + var(--tx) * 60%) calc(50% + var(--ty) * 60%), rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 55%), linear-gradient(calc(110deg + var(--tx) * 40deg), transparent 35%, rgba(255, 255, 255, .5) 50%, transparent 65%); }
:root {
  --lc-glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill-rule='evenodd' d='M32.634 29.134 44.279 47.329 31.411 64.149 13.098 29.134ZM63.115 70.866 86.902 29.134 65.843 29.134 33.917 70.866ZM75.232 33.473 65.815 48.348 61.28 48.348 71.719 33.473ZM63.512 51.983 54.304 66.527 48.52 66.527 58.727 51.983Z'/%3E%3C/svg%3E");
  --lc-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 9 -5.2'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (max-width: 900px) {
  .licence-in { grid-template-columns: 1fr; }
  .licence-copy { text-align: center; }
  .licence-copy p { margin-inline: auto; }
}

/* Hero scroll: where the browser can tie an animation to the scroll position, the phones move on the compositor
   (no script, no style recalculation per frame). Elsewhere site.js sets --p and the calc() transforms above apply. */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-phone, .side.left, .side.right, .hero .glow { animation-duration: 1ms; animation-timing-function: linear; animation-fill-mode: both; animation-timeline: scroll(root block); animation-range: 0px 70vh; }
    .hero-phone { animation-name: hero-rise; }
    .side.left { animation-name: hero-left; }
    .side.right { animation-name: hero-right; }
    .hero .glow { animation-name: hero-glow; }
  }
}
@keyframes hero-rise { from { transform: translateX(-50%) translateY(60px) rotateX(26deg) scale(.9); } to { transform: translateX(-50%) translateY(0) rotateX(0deg) scale(1); } }
@keyframes hero-left { from { opacity: .35; transform: translateX(calc(-50% - var(--w) * .62)) rotate(-9deg) scale(.92); } to { opacity: 1; transform: translateX(calc(-50% - var(--w) * .94)) rotate(-5deg) scale(.92); } }
@keyframes hero-right { from { opacity: .35; transform: translateX(calc(-50% + var(--w) * .62)) rotate(9deg) scale(.92); } to { opacity: 1; transform: translateX(calc(-50% + var(--w) * .94)) rotate(5deg) scale(.92); } }
@keyframes hero-glow { from { opacity: .55; transform: translateX(-50%) scale(.8); } to { opacity: 1; transform: translateX(-50%) scale(1.1); } }

/* Reference pages: road signs by group, road guides */
.ref > .post-head:first-child { padding-top: 56px; }
.ref .def { margin: 24px 0 0; padding: 18px 22px; background: var(--raised); border-radius: 16px; color: var(--text); }
.ref .def p { margin: 0; }
.ref .def footer { margin-top: 8px; font-size: 13px; color: var(--text-3); }
.ref .groups { grid-template-columns: 1fr; margin-top: 8px; }
.ref .groups img { width: 64px; height: 64px; object-fit: contain; margin-bottom: 8px; }
.ref .more { margin: 32px 0; display: flex; flex-wrap: wrap; gap: 12px 28px; }
.signs-list .sign { display: grid; grid-template-columns: 112px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 80px; }
.signs-list .sign h3 { font-size: 18px; line-height: 1.35; margin: 0; }
.signs-list .sign p { margin: 8px 0 0; color: var(--text-2); }
.signs-list .code { color: var(--text-3); font-variant-numeric: tabular-nums; margin-right: 6px; white-space: nowrap; }
.signs-list .pics { display: flex; flex-wrap: wrap; gap: 8px; align-content: start; }
.signs-list .pics img { width: 96px; height: 96px; object-fit: contain; border-radius: 0; }
.signs-list .pics.many img { width: 52px; height: 52px; }
.signs-list .note { color: var(--text-2); font-size: 15px; }
.signs-list h2 { margin-top: 48px; }
.ref details.credit { margin-top: 12px; font-size: 13px; color: var(--text-3); }
.ref details.credit ul { margin: 8px 0 0; padding-left: 18px; columns: 2; column-gap: 24px; }
.ref details.credit a, .ref .credit a { color: var(--text-2); }
.ref .credit { font-size: 13px; color: var(--text-3); }
.ref .post-app { margin-top: 40px; }
.guides section { scroll-margin-top: 80px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.guides .steps li + li { margin-top: 8px; }
.guides .sos { font-weight: 600; }
.guides .sos a { color: var(--lime); }
@media (max-width: 520px) {
  .signs-list .sign { grid-template-columns: 72px 1fr; gap: 14px; }
  .signs-list .pics img { width: 72px; height: 72px; }
  .signs-list .pics.many img { width: 34px; height: 34px; }
  .ref details.credit ul { columns: 1; }
}

/* Press kit */
.press { padding-bottom: 80px; }
.actions.left { justify-content: flex-start; margin-top: 28px; }
.kit-sec { padding: 40px 0; border-top: 1px solid var(--line); }
.kit-sec h2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.025em; }
.kit-note { margin-top: 10px; color: var(--text-2); font-size: 15px; max-width: 62ch; }
.kit-facts { margin: 24px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border-radius: var(--r-card); overflow: hidden; }
.kit-facts div { background: var(--raised); padding: 18px 20px; min-width: 0; }
.kit-facts dt { color: var(--text-3); font-size: 13px; }
.kit-facts dd { margin: 6px 0 0; font-size: 17px; line-height: 1.4; overflow-wrap: anywhere; }
.kit-text { margin-top: 24px; background: var(--raised); border-radius: var(--r-card); padding: 22px 24px; max-width: 760px; }
.kit-text-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.kit-text h3 { font-size: 15px; color: var(--text-3); font-weight: 500; letter-spacing: 0; }
.kit-text p { font-size: 17px; line-height: 1.6; color: #e3e3e6; }
.kit-text p + p { margin-top: .9em; }
.copy { font: 500 14px var(--font); color: var(--ink); background: var(--lime); border: 0; border-radius: var(--r-control); padding: 7px 16px; cursor: pointer; white-space: nowrap; }
.copy:active { transform: scale(.97); }
.kit-stats { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 18px; max-width: 760px; }
.kit-stats p { font-size: 19px; line-height: 1.45; }
.kit-stats b { color: var(--lime); font-weight: 600; }
.kit-stats .src { display: inline-block; margin-top: 4px; font-size: 13px; color: var(--text-3); }
.kit-shots { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 16px; }
.kit-shots li { display: grid; gap: 10px; align-content: start; font-size: 14px; color: var(--text-2); }
.kit-shots a { position: relative; display: block; border-radius: 18px; overflow: hidden; background: var(--raised); transition: transform .2s var(--ease); }
.kit-shots a:hover { transform: translateY(-2px); }
.kit-shots img { width: 100%; height: auto; }
.kit-shots .play { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: rgba(0, 0, 0, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.kit-shots .play::after { content: ""; position: absolute; left: 20px; top: 16px; border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent var(--text); }
.kit-logos { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.kit-logos a { display: grid; gap: 4px; color: var(--text); }
.kit-logos a:hover { text-decoration: none; }
.kit-logos .tile { display: grid; place-items: center; aspect-ratio: 1; background: var(--raised); border-radius: var(--r-card); padding: 22%; margin-bottom: 8px; }
.kit-logos .tile.wide { padding: 6%; }
.kit-logos .lbl { font-size: 15px; }
.kit-logos .fmt { font-size: 13px; color: var(--text-3); }
.kit-contact { font-size: 19px; max-width: 62ch; margin-top: 16px; }
@media (max-width: 900px) { .kit-shots, .kit-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kit-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 520px) { .kit-facts { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .kit-shots a { transition: none; } .kit-shots a:hover { transform: none; } }

