/* QuickPin landing page. Legal pages keep /style.css. The CSP allows no inline styles:
   everything visual lives here, and site.js only sets custom properties and classes. */

@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/assets/fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

:root {
  --bg: #050d0a;
  --bg-2: #08140f;
  --bg-3: #0c1b16;
  --card: #0a1713;
  --ink: #eef6f0;
  --ink-2: #c7d6cd;
  --muted: #8ea59a;
  --faint: #708a7e;
  --line: rgba(214, 245, 170, 0.09);
  --line-2: rgba(214, 245, 170, 0.17);
  --lime: #cdef8b;
  --lime-2: #aee165;
  --lime-ink: #0a1a10;
  --teal: #153e39;
  --red: #e5544b;
  --red-btn: #b8332a;
  --green: #2fa36b;
  --green-btn: #19734a;
  --blue: #3b82f6;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .75, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --wrap: 1200px;
  --gutter: max(20px, env(safe-area-inset-left));
  interpolate-size: allow-keywords;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* Film grain over the whole page. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
code, pre { font-family: var(--mono); }
::selection { background: rgba(205, 239, 139, .35); color: #fff; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 8px; }
.i { width: 1.15em; height: 1.15em; flex: none; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { --wrap: 820px; }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 12px; background: var(--lime); color: var(--lime-ink); font-weight: 600; text-decoration: none;
  transition: top .2s;
}
.skip:focus { top: 16px; }

/* ------------------------------------------------------------------ type */
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.03em; text-wrap: balance; }
h2 { font-size: clamp(36px, 5vw, 64px); line-height: 1.02; letter-spacing: -.045em; }
h3 { font-size: 20px; line-height: 1.25; letter-spacing: -.02em; }
p { margin: 0; text-wrap: pretty; }
.lede { margin-top: 20px; max-width: 60ch; color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font: 500 12.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--lime);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); }
.grad {
  background: linear-gradient(100deg, var(--lime) 0%, #f6ffe0 30%, #8fe6b6 55%, var(--lime) 80%, #f6ffe0 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 7s linear infinite;
}
@keyframes shimmer { to { background-position: -220% 0; } }
.foot { margin-top: 28px; color: var(--faint); font-size: 14px; max-width: 70ch; }
.foot--center { margin-inline: auto; text-align: center; }

/* ------------------------------------------------------------------ buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 16px; letter-spacing: -.01em; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s;
  translate: var(--mag-x, 0) var(--mag-y, 0);
}
.btn--sm { height: 40px; padding: 0 18px; font-size: 14.5px; }
.btn--lime {
  background: var(--lime); color: var(--lime-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 10px 34px -10px rgba(205, 239, 139, .65);
}
.btn--lime:hover { background: #dcf7a6; transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 14px 40px -10px rgba(205, 239, 139, .8); }
.btn--ghost { background: rgba(255, 255, 255, .03); border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { background: rgba(255, 255, 255, .07); border-color: rgba(214, 245, 170, .3); }
.btn:active { transform: scale(.97); }
.i--down { rotate: 90deg; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.stores--center { justify-content: center; }
.store {
  display: inline-flex; align-items: center; gap: 12px; min-width: 196px; height: 60px; padding: 0 22px 0 16px;
  border-radius: 16px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  text-decoration: none; color: var(--ink);
  transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s;
  translate: var(--mag-x, 0) var(--mag-y, 0);
}
.store span { display: flex; flex-direction: column; line-height: 1.1; }
.store small { font-size: 11.5px; color: var(--muted); letter-spacing: .01em; }
.store b { font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.store__icon { width: 26px; height: 26px; flex: none; }
.store:hover { background: rgba(255, 255, 255, .08); border-color: rgba(214, 245, 170, .32); transform: translateY(-2px); }
.store--primary { background: #f4f8f3; color: #0a1410; border-color: transparent; box-shadow: 0 14px 40px -14px rgba(205, 239, 139, .55); }
.store--primary small { color: #4c5f56; }
.store--primary:hover { background: #fff; }
.store--soon { opacity: .62; border-style: dashed; cursor: default; }
.store--soon:hover { transform: none; background: rgba(255, 255, 255, .04); border-color: var(--line-2); }

.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px;
  font: 600 11.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase;
  border: 1px solid var(--line-2); color: var(--ink-2); background: rgba(255, 255, 255, .03);
}
.chip--pro { color: var(--lime-ink); background: var(--lime); border-color: transparent; }
.chip--free { color: var(--ink-2); }
.chip--live { color: var(--lime); }
.chip--live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.tag { display: inline-block; margin-bottom: 10px; font: 500 11.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--lime); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; margin-top: 32px; color: var(--lime); font-weight: 500; text-decoration: none; }
.link-arrow .i { transition: transform .25s var(--ease); }
.link-arrow:hover .i { transform: translateX(4px); }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(205, 239, 139, .6); animation: ping 2s infinite; flex: none; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(205, 239, 139, .55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(205, 239, 139, 0); } }

/* ------------------------------------------------------------------ progress + nav */
.progress {
  position: fixed; inset: 0 0 auto; z-index: 80; height: 2px; pointer-events: none;
  background: linear-gradient(90deg, var(--lime-2), var(--lime), #f4ffd6);
  transform-origin: 0 50%; transform: scaleX(var(--p, 0));
}
@supports (animation-timeline: scroll()) {
  .progress { animation: progress linear both; animation-timeline: scroll(root); }
  @keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

.nav { position: fixed; inset: 0 0 auto; z-index: 70; transition: background .3s, border-color .3s, -webkit-backdrop-filter .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(5, 13, 10, .66); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); border-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; font-size: 18px; letter-spacing: -.03em; }
.brand img { border-radius: 9px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); }
.nav__links { display: flex; gap: 4px; margin-inline: auto; }
.nav__links a { padding: 8px 12px; border-radius: 999px; color: var(--muted); text-decoration: none; font-size: 14.5px; transition: color .2s, background .2s; }
.nav__links a:hover { color: var(--ink); background: rgba(255, 255, 255, .05); }
.nav__end { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav__links + .nav__end { margin-left: 0; }

.lang { position: relative; }
.lang summary {
  display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 999px; cursor: pointer; list-style: none;
  border: 1px solid var(--line-2); color: var(--ink-2); font: 500 13px/1 var(--mono); letter-spacing: .05em;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { color: var(--ink); background: rgba(255, 255, 255, .05); }
.lang__chev { width: 14px; height: 14px; transition: transform .2s; }
.lang[open] .lang__chev { transform: rotate(180deg); }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 160px; padding: 6px; border-radius: 16px;
  background: rgba(10, 23, 19, .92); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8); display: grid;
}
.lang__item { padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ink-2); font-size: 14.5px; }
.lang__item:hover { background: rgba(255, 255, 255, .06); color: var(--ink); }
.lang__item[aria-current] { color: var(--lime); }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; isolation: isolate; min-height: min(100svh, 980px); display: flex; align-items: center; padding: 120px 0 72px; overflow: hidden; }
.topo {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 62% 45%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 70% at 62% 45%, #000 20%, transparent 75%);
}
.hero__glow {
  position: absolute; z-index: -1; width: 900px; height: 900px; right: -180px; top: 50%; translate: 0 -50%;
  background: radial-gradient(closest-side, rgba(205, 239, 139, .18), rgba(47, 163, 107, .08) 45%, transparent 70%);
  filter: blur(20px); pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0; height: 180px; z-index: -1;
  background: linear-gradient(transparent, var(--bg));
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: 32px; }
.hero__title { margin-top: 26px; font-size: clamp(46px, 5.9vw, 88px); line-height: .98; letter-spacing: -.055em; font-weight: 620; }
@media (min-width: 961px) { .hero__title .line { white-space: nowrap; } }
/* Spanish headline lines are longer. */
html[lang="es"] .hero__title { font-size: clamp(42px, 5.25vw, 80px); }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .line > span { display: inline-block; }
.hero__sub { margin: 26px 0 34px; max-width: 34em; color: var(--ink-2); font-size: clamp(17px, 1.55vw, 20px); line-height: 1.55; }
.hero__note { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 26px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 14.5px; }
.hero__note li { display: inline-flex; align-items: center; gap: 7px; }
.hero__note .i { color: var(--lime); width: 16px; height: 16px; }

.pill {
  display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 14px 0 5px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(205, 239, 139, .06); color: var(--ink-2); text-decoration: none; font-size: 14px;
  transition: border-color .25s, background .25s;
}
.pill:hover { border-color: rgba(214, 245, 170, .35); background: rgba(205, 239, 139, .1); }
.pill__tag { height: 28px; padding: 0 11px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--lime); color: var(--lime-ink); font-weight: 600; font-size: 12.5px; }
.pill__arrow { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.pill:hover .pill__arrow { transform: translateX(3px); }

/* Entrance: pure CSS so it also runs before site.js loads. */
[data-hero] { animation: rise 1.1s var(--ease) both; }
[data-hero="0"] { animation-delay: .05s; }
.hero__title .line > span { animation: lineUp 1.15s var(--ease) both; }
[data-hero="1"] { animation: none; }
[data-hero="1"] > span { animation-delay: .12s; }
[data-hero="2"] { animation: none; }
[data-hero="2"] > span { animation: lineUp 1.15s var(--ease) .22s both, shimmer 7s linear 1.4s infinite; }
[data-hero="3"] { animation-delay: .36s; }
[data-hero="4"] { animation-delay: .46s; }
[data-hero="5"] { animation-delay: .56s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); filter: blur(8px); } }
@keyframes lineUp { from { transform: translateY(105%); } }

.hero__visual { position: relative; height: clamp(520px, 52vw, 680px); perspective: 1400px; }
.hero__stage {
  position: absolute; inset: 0; transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  animation: stageIn 1.5s var(--ease) .2s backwards;
}
@keyframes stageIn { from { opacity: 0; transform: translateY(60px) rotateX(18deg) scale(.94); } }
.hero__stage > * { transform: translateZ(calc(var(--z, 0) * 1px)); }
[data-depth="-14"] { --z: -14; }
[data-depth="10"] { --z: 10; }
[data-depth="22"] { --z: 22; }
[data-depth="28"] { --z: 28; }
[data-depth="34"] { --z: 34; }

.device {
  position: absolute; padding: 9px; border-radius: 54px;
  background: linear-gradient(150deg, #34453f 0%, #121c19 38%, #0b1311 70%, #26332f 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), inset 0 0 0 3px #050908, 0 60px 120px -40px rgba(0, 0, 0, .9), 0 30px 80px -40px rgba(205, 239, 139, .22);
}
.device__screen { position: relative; overflow: hidden; border-radius: 45px; background: #000; aspect-ratio: 720 / 1564; }
.device__screen img { width: 100%; height: 100%; object-fit: cover; }
.device__island { position: absolute; top: 20px; left: 50%; translate: -50% 0; width: 30%; height: 27px; border-radius: 20px; background: #000; }
.device--ios { width: clamp(220px, 23vw, 300px); left: 4%; top: 3%; }
.device--android { width: clamp(190px, 20vw, 258px); right: -2%; top: 12%; border-radius: 40px; padding: 8px; opacity: .92; filter: saturate(.9) brightness(.82); }
.device--android .device__screen { border-radius: 33px; aspect-ratio: 720 / 1616; }
.device__cam { position: absolute; top: 20px; left: 50%; translate: -50% 0; width: 12px; height: 12px; border-radius: 50%; background: #000; box-shadow: 0 0 0 2px #0d1513; }

.float {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 18px;
  background: rgba(11, 25, 21, .74); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .85); white-space: nowrap;
  animation: bob 6s ease-in-out infinite;
}
@keyframes bob { 50% { translate: 0 -8px; } }
.float--toast { left: -12%; top: 9%; padding: 10px 16px 10px 10px; min-width: 250px; animation-delay: -1s; }
.float--toast img { border-radius: 10px; }
.float--toast div { display: flex; flex-direction: column; line-height: 1.25; }
.float--toast b { font-size: 13px; color: var(--muted); font-weight: 500; }
.float--toast span { font-size: 15px; font-weight: 600; }
.float--toast time { margin-left: auto; align-self: flex-start; font-size: 12px; color: var(--faint); }
.float--toast.bump span { animation: bump .6s var(--spring); }
@keyframes bump { 0% { opacity: 0; transform: translateY(8px); } }
.float--coords { left: -6%; bottom: 14%; font-size: 14px; color: var(--ink); animation-delay: -3s; }
.float--formats { right: 2%; bottom: 6%; gap: 6px; padding: 8px 10px 8px 14px; animation-delay: -4.5s; }
.float--formats span { font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-right: 4px; }
.float--formats b { padding: 5px 8px; border-radius: 8px; font: 600 12px/1 var(--mono); background: rgba(205, 239, 139, .1); color: var(--lime); }

/* ------------------------------------------------------------------ marquee */
.marquee { padding: 18px 0 8px; }
.marquee__label { text-align: center; margin-bottom: 22px; font: 500 12.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.marquee__viewport {
  display: flex; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track { display: flex; flex: none; gap: 12px; margin: 0; padding: 0 12px 0 0; list-style: none; animation: marquee 48s linear infinite; }
.marquee__track li {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px 0 14px; border-radius: 999px; white-space: nowrap;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .025); color: var(--ink-2); font-size: 15px;
}
.marquee__track .i { width: 15px; height: 15px; color: var(--lime); }
.marquee__viewport:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ------------------------------------------------------------------ stats */
.stats { padding-block: clamp(64px, 9vw, 120px) 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; border-block: 1px solid var(--line); }
.stat { display: flex; flex-direction: column; gap: 10px; padding: 34px 28px 32px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat__n {
  font-size: clamp(56px, 7vw, 92px); line-height: .9; font-weight: 600; letter-spacing: -.06em; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff 10%, var(--lime) 120%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { color: var(--muted); font-size: 15.5px; line-height: 1.45; max-width: 22ch; }

/* ------------------------------------------------------------------ sections */
.section { position: relative; padding-block: clamp(96px, 13vw, 168px) 0; }
.head { margin-bottom: clamp(40px, 5vw, 64px); max-width: 860px; }
.head--center { margin-inline: auto; text-align: center; }
.head--center .lede { margin-inline: auto; }

html.js [data-reveal] { opacity: 0; transform: translateY(28px); filter: blur(8px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
html.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }

[data-spot] { position: relative; }
[data-spot]::before {
  content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, -30%), rgba(205, 239, 139, .6), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity .35s;
}
[data-spot]::after {
  content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, -30%), rgba(205, 239, 139, .06), transparent 40%);
  opacity: 0; transition: opacity .35s;
}
[data-spot]:hover::before, [data-spot]:hover::after { opacity: 1; }

/* ------------------------------------------------------------------ demo */
.demo__app {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  border-radius: 30px; border: 1px solid var(--line-2); background: var(--bg-2); overflow: hidden;
  box-shadow: 0 60px 140px -60px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .4), 0 40px 120px -80px rgba(205, 239, 139, .25);
}
.demo__map { position: relative; min-height: 560px; overflow: hidden; background: #0a1713; }
.map { position: absolute; inset: 0; width: 100%; height: 100%; }
.m-land { fill: #0a1713; }
.m-block { fill: #0f201b; }
.m-bld { fill: #142923; }
.m-park { fill: #10291f; }
.m-tree { fill: #173c2b; }
.m-water { fill: none; stroke: #0b2530; stroke-width: 54; stroke-linecap: round; }
.m-road-edge { fill: none; stroke: #18302a; stroke-width: 17; }
.m-road { fill: none; stroke: #1b352e; stroke-width: 12; }
.m-ave-edge { fill: none; stroke: #1d3831; stroke-width: 26; }
.m-ave { fill: none; stroke: #244339; stroke-width: 19; }
.route { fill: none; stroke: rgba(205, 239, 139, .3); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 13; }
.route-done { fill: none; stroke: var(--lime); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 8px rgba(205, 239, 139, .55)); stroke-dasharray: 0 99999; }
.me__acc { fill: rgba(59, 130, 246, .12); stroke: rgba(96, 165, 250, .35); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: acc 2.4s ease-in-out infinite; }
@keyframes acc { 50% { transform: scale(.82); } }
.me__halo { fill: rgba(59, 130, 246, .35); }
.me__dot { fill: var(--blue); stroke: #fff; stroke-width: 3.5; }

.mp__body, .mp__ripple, .mp__shadow { transform-box: fill-box; }
.mp__body { transform-origin: 50% 100%; animation: pinDrop .75s var(--spring) both; }
@keyframes pinDrop { 0% { transform: translateY(-70px) scale(.6); opacity: 0; } 55% { opacity: 1; } 100% { transform: none; } }
.mp__shadow { fill: rgba(0, 0, 0, .45); transform-origin: center; animation: pinShadow .75s var(--ease) both; }
@keyframes pinShadow { from { transform: scale(.2); opacity: 0; } }
.mp__ripple { fill: none; stroke: var(--lime); stroke-width: 2; transform-origin: center; animation: ripple 1.1s var(--ease) .25s both; }
@keyframes ripple { from { transform: scale(.2); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }
.mp__head { fill: var(--lime); stroke: #0a1a10; stroke-width: 2.5; }
.mp--red .mp__head, .mp--green .mp__head { stroke: rgba(255, 255, 255, .9); }
.mp--red .mp__head { fill: var(--red-btn); }
.mp--green .mp__head { fill: var(--green-btn); }
.mp--red .mp__ripple { stroke: #ff8a80; }
.mp--green .mp__ripple { stroke: #7ee2a8; }
.mp__n { fill: var(--lime-ink); font: 700 14px/1 var(--font); text-anchor: middle; dominant-baseline: central; }
.mp--red .mp__n, .mp--green .mp__n { fill: #fff; }
.mp.is-out { animation: fadeOut .35s forwards; }
@keyframes fadeOut { to { opacity: 0; } }

.hud {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px;
  background: rgba(7, 17, 14, .78); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font: 500 13px/1 var(--mono); color: var(--ink-2);
}
.hud b { color: var(--ink); font-weight: 600; }
.hud--tl { left: 16px; top: 16px; }
.hud--bl { left: 16px; bottom: 16px; }
.hud--bl code { color: var(--ink); }
.hud--br { right: 16px; bottom: 16px; }
.scale { display: inline-flex; align-items: center; gap: 8px; }
.scale i { width: 70px; height: 7px; border: 2px solid var(--ink-2); border-top: 0; }
.demo__toast {
  position: absolute; left: 50%; top: 16px; translate: -50% -30px; opacity: 0; pointer-events: none;
  padding: 10px 16px; border-radius: 999px; background: rgba(7, 17, 14, .9); border: 1px solid var(--line-2);
  font-weight: 600; font-size: 14.5px; white-space: nowrap; transition: translate .45s var(--spring), opacity .3s;
}
.demo__toast.show { translate: -50% 0; opacity: 1; }
.demo__toast.warn { color: #ffc98a; }

.demo__panel { display: flex; flex-direction: column; gap: 20px; padding: 24px; border-left: 1px solid var(--line); min-width: 0; }
.demo__buttons { display: flex; gap: 10px; }
.drop {
  position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  height: 128px; border: 0; border-radius: 24px; cursor: pointer; overflow: hidden; color: #fff;
  background: linear-gradient(180deg, #2a6457 0%, #173f37 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), inset 0 -2px 0 rgba(0, 0, 0, .25), 0 18px 40px -18px rgba(0, 0, 0, .8);
  transition: transform .15s var(--ease), filter .2s;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.drop .i { width: 30px; height: 30px; }
.drop span { font-size: 18px; font-weight: 600; }
.drop small { font: 500 12px/1 var(--mono); opacity: .75; }
.drop:hover { filter: brightness(1.1); }
.drop:active, .drop.is-pressed { transform: scale(.96); }
.drop::after { content: ""; position: absolute; left: var(--rx, 50%); top: var(--ry, 50%); width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: rgba(255, 255, 255, .45); opacity: 0; }
.drop.is-ripple::after { animation: btnRipple .6s var(--ease); }
@keyframes btnRipple { from { opacity: .7; transform: scale(1); } to { opacity: 0; transform: scale(30); } }
.drop--red { background: linear-gradient(180deg, #d4473d 0%, #9f2a22 100%); }
.drop--green { background: linear-gradient(180deg, #24935d 0%, #145c3b 100%); }
.drop.is-shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { translate: -5px 0; } 40%, 80% { translate: 5px 0; } }
.drop[hidden] { display: none; }

.switch { display: flex; align-items: center; gap: 12px; margin-top: 16px; cursor: pointer; font-size: 15px; color: var(--ink-2); user-select: none; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__ui { width: 46px; height: 28px; border-radius: 999px; background: #1b2f29; border: 1px solid var(--line-2); position: relative; transition: background .25s; flex: none; }
.switch__ui::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #dfe9e3; transition: transform .35s var(--spring); box-shadow: 0 2px 6px rgba(0, 0, 0, .4); }
.switch input:checked + .switch__ui { background: var(--lime-2); }
.switch input:checked + .switch__ui::after { transform: translateX(18px); background: #fff; }
.switch input:focus-visible + .switch__ui { outline: 2px solid var(--lime); outline-offset: 3px; }
.demo__hint { margin-top: 10px; color: var(--faint); font-size: 13px; }

.demo__log { min-height: 0; }
.demo__log-head, .demo__export-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.demo__log h3, .demo__export h3 { font-size: 13px; font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.demo__log-head span { font: 500 12.5px/1 var(--mono); color: var(--faint); }
.demo__log ol { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; max-height: 168px; overflow: auto; scrollbar-width: thin; }
.demo__log li {
  display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px;
  background: rgba(255, 255, 255, .025); border: 1px solid var(--line); font: 500 12.5px/1.3 var(--mono); color: var(--ink-2);
  animation: rowIn .5s var(--ease);
}
@keyframes rowIn { from { opacity: 0; transform: translateY(-8px); background: rgba(205, 239, 139, .14); } }
.demo__log .n { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--lime); color: var(--lime-ink); font-weight: 700; }
.demo__log .n--red, .demo__log .n--green { color: #fff; }
.demo__log .n--red { background: var(--red-btn); }
.demo__log .n--green { background: var(--green-btn); }
.demo__log .t { color: var(--faint); }
.demo__empty { color: var(--faint); font-size: 14px; padding: 12px 0 4px; }
.demo__empty[hidden] { display: none; }

.tabs { display: inline-flex; gap: 2px; padding: 3px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.tabs button { height: 28px; padding: 0 10px; border: 0; border-radius: 9px; background: none; color: var(--muted); font: 600 12px/1 var(--mono); cursor: pointer; transition: background .2s, color .2s; }
.tabs button[aria-selected="true"] { background: var(--lime); color: var(--lime-ink); }
.tabs button:hover:not([aria-selected="true"]) { color: var(--ink); }
.code {
  margin: 0; height: 150px; overflow: auto; padding: 12px 14px; border-radius: 14px; background: #050e0b; border: 1px solid var(--line);
  font-size: 11.5px; line-height: 1.6; color: #b9c9c0; white-space: pre; scrollbar-width: thin; tab-size: 2;
}
.code .tk-tag { color: #9fd8ff; }
.code .tk-attr { color: var(--lime); }
.code .tk-str { color: #ffd59a; }
.code .tk-num { color: #c8b6ff; }
.code .tk-dim { color: var(--faint); }
.demo__actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }

/* ------------------------------------------------------------------ bento */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.card {
  position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 28px; isolation: isolate;
  background: linear-gradient(180deg, #0c1c17 0%, #091410 100%); border: 1px solid var(--line);
}
.card--lock { grid-column: span 4; }
.card--island { grid-column: span 2; }
.card--back { grid-column: span 2; }
.card--float { grid-column: span 4; }
.card--notify { grid-column: span 3; }
.card--more { grid-column: span 3; }
.card__visual { position: relative; z-index: 1; height: 290px; overflow: hidden; display: grid; place-items: center; border-bottom: 1px solid var(--line); background: radial-gradient(120% 90% at 50% 0%, rgba(205, 239, 139, .07), transparent 60%); }
.card__body { position: relative; z-index: 1; padding: 22px 26px 26px; }
.card__body h3 { margin-bottom: 8px; }
.card__body p { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.card .is-paused, .card:not(.is-live) * { animation-play-state: paused !important; }

/* Lock Screen */
.lock {
  position: absolute; left: 50%; top: 18px; translate: -50% 0; width: min(330px, 86%); height: 330px; border-radius: 40px 40px 0 0; padding: 22px 18px 0;
  background: radial-gradient(130% 80% at 20% 0%, #2d6b5c 0%, transparent 60%), radial-gradient(120% 90% at 100% 40%, #5c7a2a 0%, transparent 55%), linear-gradient(170deg, #1a3b34, #0b1714 70%);
  box-shadow: inset 0 0 0 8px #0b1311, inset 0 0 0 9px rgba(255, 255, 255, .08); text-align: center;
}
.lock__time { font-size: 64px; line-height: 1; font-weight: 600; letter-spacing: -.04em; color: rgba(240, 255, 245, .92); }
.lock__date { margin-top: 6px; font-size: 14px; color: rgba(240, 255, 245, .7); font-weight: 500; }
.la { margin-top: 18px; padding: 12px 14px 14px; border-radius: 22px; text-align: left; background: rgba(8, 18, 15, .62); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .08); }
.la__top { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.la__top img { border-radius: 6px; }
.la__top time { margin-left: auto; font: 500 13px/1 var(--mono); color: var(--ink-2); }
.la__status { display: flex; align-items: center; gap: 6px; margin: 8px 0 10px; font-size: 12.5px; color: var(--ink-2); }
.la__status .ok { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--green); color: #fff; }
.la__status .ok .i { width: 11px; height: 11px; }
.la__btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 40px; border-radius: 14px; background: linear-gradient(180deg, #2a6457, #173f37); font-weight: 600; font-size: 14.5px; transition: transform .15s; }
.la__btn .i { width: 18px; height: 18px; }
.la__btn.press { transform: scale(.94); filter: brightness(1.2); }
.la.flash .la__status { animation: bump .5s var(--spring); }

/* Dynamic Island */
.island-demo { position: absolute; inset: 0; }
.mini { position: absolute; inset: 0; width: 100%; height: 100%; }
.mini--dim { opacity: .55; }
.isl {
  position: absolute; left: 50%; top: 28px; translate: -50% 0; display: flex; align-items: center; gap: 10px; overflow: hidden;
  width: 120px; height: 36px; padding: 0 6px; border-radius: 20px; background: #000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 20px 40px -10px rgba(0, 0, 0, .9);
  animation: island 5.5s var(--ease) infinite;
}
.isl__pin { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--lime); color: var(--lime-ink); flex: none; }
.isl__pin .i { width: 15px; height: 15px; }
.isl__text { font-size: 13.5px; font-weight: 600; white-space: nowrap; opacity: 0; animation: islandText 5.5s var(--ease) infinite; }
.isl__btn { margin-left: auto; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(180deg, #2a6457, #173f37); flex: none; opacity: 0; animation: islandText 5.5s var(--ease) infinite; }
.isl__btn .i { width: 20px; height: 20px; }
@keyframes island {
  0%, 18% { width: 120px; height: 36px; border-radius: 20px; top: 28px; }
  30%, 78% { width: 280px; height: 62px; border-radius: 32px; top: 22px; }
  90%, 100% { width: 120px; height: 36px; border-radius: 20px; top: 28px; }
}
@keyframes islandText { 0%, 26% { opacity: 0; } 34%, 74% { opacity: 1; } 82%, 100% { opacity: 0; } }

/* Back Tap */
.back { position: absolute; inset: 0; display: grid; place-items: center; }
.back__phone {
  position: relative; width: 150px; height: 300px; margin-top: 90px; border-radius: 36px;
  background: linear-gradient(160deg, #2a3e38, #12201c 60%, #1d2d28);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 30px 60px -20px rgba(0, 0, 0, .9);
  animation: backShake 3.2s infinite;
}
.back__cam { position: absolute; left: 12px; top: 12px; width: 58px; height: 58px; border-radius: 18px; background: #0d1714; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); display: grid; grid-template-columns: 1fr 1fr; padding: 6px; gap: 4px; }
.back__cam i { width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #3b4f5a, #05090b 60%); box-shadow: 0 0 0 2px #1d2a26; }
.back__logo { position: absolute; left: 50%; top: 52%; translate: -50% -50%; color: rgba(205, 239, 139, .45); }
.back__logo .i { width: 26px; height: 26px; }
.back__tap { position: absolute; left: 50%; top: 52%; width: 70px; height: 70px; margin: -35px 0 0 -35px; border-radius: 50%; border: 2px solid var(--lime); opacity: 0; animation: tap 3.2s var(--ease) infinite; }
.back__tap--2 { animation-delay: .28s; }
@keyframes tap { 0% { opacity: 0; transform: scale(.3); } 6% { opacity: 1; } 22%, 100% { opacity: 0; transform: scale(1.6); } }
@keyframes backShake { 0%, 100% { transform: none; } 3% { transform: translateY(2px); } 6% { transform: none; } 12% { transform: translateY(2px); } 15% { transform: none; } }
.back__chip {
  position: absolute; left: min(calc(50% + 62px), calc(100% - 134px)); top: 112px; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px;
  background: var(--lime); color: var(--lime-ink); font-weight: 600; font-size: 14px; animation: chipPop 3.2s var(--spring) infinite;
}
.back__chip .i { width: 16px; height: 16px; }
@keyframes chipPop { 0%, 22% { opacity: 0; transform: translateY(14px) scale(.8); } 30%, 80% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(-6px); } }

/* Floating button */
.float-demo { position: absolute; inset: 0; touch-action: none; }
.float-demo__pins { position: absolute; inset: 0; pointer-events: none; }
.fpin { position: absolute; left: var(--px, 50%); top: var(--py, 50%); width: 32px; height: 40px; margin: -40px 0 0 -16px; color: var(--lime); filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .5)); animation: fpin .7s var(--spring) both; }
.fpin svg { width: 100%; height: 100%; }
.fpin::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 30px; height: 30px; margin-left: -15px; margin-bottom: -15px; border-radius: 50%; border: 2px solid var(--lime); animation: ripple 1s var(--ease) .2s both; }
@keyframes fpin { from { transform: translateY(-50px) scale(.6); opacity: 0; } }
.fab {
  position: absolute; left: 0; top: 0; width: 64px; height: 64px; border-radius: 50%; border: 0; cursor: grab; display: grid; place-items: center;
  transform: translate(var(--fx, 70%), var(--fy, 40%)); color: var(--lime-ink); background: var(--lime);
  box-shadow: 0 0 0 6px rgba(205, 239, 139, .16), 0 18px 34px -10px rgba(0, 0, 0, .9);
  transition: box-shadow .3s; touch-action: none; -webkit-tap-highlight-color: transparent;
}
.fab .i { width: 28px; height: 28px; }
.fab.is-drag { cursor: grabbing; box-shadow: 0 0 0 10px rgba(205, 239, 139, .2), 0 26px 44px -10px rgba(0, 0, 0, .95); }
.fab.is-tap { animation: fabTap .35s var(--spring); }
@keyframes fabTap { 40% { scale: .88; } }
.fab.hint { animation: hint 2.4s ease-in-out infinite; }
@keyframes hint { 0%, 100% { box-shadow: 0 0 0 6px rgba(205, 239, 139, .16), 0 18px 34px -10px rgba(0, 0, 0, .9); } 50% { box-shadow: 0 0 0 16px rgba(205, 239, 139, .06), 0 18px 34px -10px rgba(0, 0, 0, .9); } }
.float-demo__me { position: absolute; left: 34%; top: 58%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--blue); border: 3px solid #fff; box-shadow: 0 0 0 10px rgba(59, 130, 246, .2); animation: meWalk 14s ease-in-out infinite alternate; }
@keyframes meWalk { 0% { left: 18%; top: 66%; } 35% { left: 40%; top: 66%; } 60% { left: 40%; top: 42%; } 100% { left: 64%; top: 42%; } }
.float-demo__count { position: absolute; left: 16px; top: 16px; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; background: rgba(7, 17, 14, .85); border: 1px solid var(--line-2); font: 600 13px/1 var(--mono); }
.float-demo__count .i { width: 14px; height: 14px; color: var(--lime); }

/* Notification */
.notif { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; background: linear-gradient(180deg, rgba(255, 255, 255, .03), transparent); }
.notif__card { width: min(380px, 100%); padding: 16px 18px; border-radius: 26px; background: #1c2724; border: 1px solid rgba(255, 255, 255, .07); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .9); }
.notif__head { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12.5px; }
.notif__head img { border-radius: 50%; }
.notif__card b { display: block; margin-top: 10px; font-size: 15.5px; }
.notif__card p { margin-top: 4px; color: var(--ink-2); font-size: 13.5px; line-height: 1.45; }
.notif__actions { display: flex; gap: 18px; margin-top: 14px; font-size: 14px; font-weight: 600; color: #a8d8c4; }
.notif__actions span { position: relative; padding: 6px 2px; transition: color .2s; }
.notif__actions span::before { content: ""; position: absolute; inset: -2px -10px; border-radius: 10px; background: rgba(205, 239, 139, .16); opacity: 0; transform: scale(.7); transition: opacity .2s, transform .3s var(--spring); }
.notif__actions span.tap::before { opacity: 1; transform: none; }
.notif__actions span[data-act="red"].tap { color: #ff9e95; }
.notif__actions span[data-act="green"].tap { color: #8ff0b8; }
.notif.flash b { animation: bump .5s var(--spring); }

/* Siri, Action button, Controls */
.trio { position: absolute; inset: 0; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 14px; padding: 22px; }
.trio > div { position: relative; border-radius: 20px; background: rgba(255, 255, 255, .025); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.siri { align-content: center; gap: 12px; padding: 14px; text-align: center; }
.siri__orb { width: 64px; height: 64px; border-radius: 50%; background: conic-gradient(from var(--angle), #cdef8b, #3bd6c6, #6a8bff, #ff7ab8, #cdef8b); filter: blur(1px) saturate(1.2); animation: spin 4s linear infinite; box-shadow: 0 0 40px rgba(124, 212, 190, .45); }
@keyframes spin { to { --angle: 360deg; } }
.siri__wave { display: flex; align-items: center; gap: 4px; height: 22px; }
.siri__wave i { width: 4px; height: 100%; border-radius: 2px; background: var(--lime); animation: wave 1.1s ease-in-out infinite; }
.siri__wave i:nth-child(2) { animation-delay: -.15s; }
.siri__wave i:nth-child(3) { animation-delay: -.3s; }
.siri__wave i:nth-child(4) { animation-delay: -.45s; }
.siri__wave i:nth-child(5) { animation-delay: -.6s; }
.siri__wave i:nth-child(6) { animation-delay: -.75s; }
.siri__wave i:nth-child(7) { animation-delay: -.9s; }
@keyframes wave { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
.siri q { font-size: 13px; color: var(--ink-2); line-height: 1.35; quotes: none; }
.action__phone { position: relative; width: 70px; height: 140px; border-radius: 20px; border: 2px solid #3a4c46; background: #0d1714; }
.action__btn { position: absolute; left: -6px; top: 28px; width: 5px; height: 22px; border-radius: 3px; background: #9cb0a7; animation: actionPress 2.6s infinite; }
.action__glow { position: absolute; inset: 0; display: grid; place-items: center; color: var(--lime); opacity: 0; animation: actionGlow 2.6s infinite; }
.action__glow .i { width: 28px; height: 28px; }
@keyframes actionPress { 0%, 18%, 40%, 100% { transform: none; } 24%, 34% { transform: translateX(3px); background: var(--lime); } }
@keyframes actionGlow { 0%, 26% { opacity: 0; transform: scale(.6); } 38%, 70% { opacity: 1; transform: none; } 90%, 100% { opacity: 0; } }
.ctrl { grid-template-columns: repeat(2, 44px); gap: 10px; align-content: center; justify-content: center; }
.ctrl__tile { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--lime); color: var(--lime-ink); animation: ctrlPulse 2.6s infinite; }
.ctrl__tile .i { width: 22px; height: 22px; }
.ctrl__tile--off { background: rgba(255, 255, 255, .08); animation: none; }
@keyframes ctrlPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(205, 239, 139, .5); } 50% { box-shadow: 0 0 0 10px rgba(205, 239, 139, 0); } }

/* ------------------------------------------------------------------ how it works */
.how__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); }
.how__visual { position: relative; }
.how__sticky { position: sticky; top: calc(50vh - 340px); display: grid; place-items: center; padding-block: 20px; }
.how__sticky::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(closest-side, rgba(205, 239, 139, .14), transparent); filter: blur(10px); }
.device--lg { position: relative; width: 320px; }
.device--lg .device__screen img { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.device--lg .device__screen img.is-active { opacity: 1; transform: none; }
.steps { position: relative; margin: 0; padding: 0; list-style: none; }
.steps::before { content: ""; position: absolute; left: 23px; top: 10px; bottom: 10px; width: 1px; background: var(--line-2); }
.step { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 26px; min-height: 52vh; padding-bottom: 40px; opacity: .32; transition: opacity .6s var(--ease); }
.step.is-active { opacity: 1; }
.step__n { position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-2); font: 600 14px/1 var(--mono); color: var(--muted); transition: all .5s var(--ease); }
.step.is-active .step__n { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); box-shadow: 0 0 30px rgba(205, 239, 139, .4); }
.step h3 { font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.035em; margin: 6px 0 12px; }
.step p { color: var(--muted); font-size: 17px; line-height: 1.6; max-width: 46ch; }
.step__img { display: none; }

/* ------------------------------------------------------------------ export */
.export__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 20px; align-items: start; }
.record { padding: 24px; border-radius: 28px; background: linear-gradient(180deg, #0d1e19, #091410); border: 1px solid var(--line-2); box-shadow: 0 40px 100px -50px rgba(205, 239, 139, .3); }
.record__head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.record__head b { font-size: 20px; letter-spacing: -.02em; }
.record__head .chip { margin-left: auto; }
.record__pin { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: var(--lime); color: var(--lime-ink); }
.record__rows { margin: 0; display: grid; gap: 2px; }
.record__rows div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line-2); }
.record__rows dt { color: var(--muted); font-size: 14.5px; }
.record__rows dd { margin: 0; text-align: right; }
.record__rows code { font-size: 14.5px; color: var(--ink); }
.record__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; color: var(--lime); text-decoration: none; font-weight: 500; font-size: 15px; }
.record__link:hover { text-decoration: underline; text-underline-offset: 4px; }
.formats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.format {
  display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 14px; padding: 16px; border-radius: 20px;
  background: rgba(255, 255, 255, .02); border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.format:hover { transform: translateY(-3px); border-color: var(--line-2); background: rgba(255, 255, 255, .035); }
.format b { display: block; font-size: 16px; font-weight: 600; }
.format div span { color: var(--muted); font-size: 13.5px; }
.fmt { position: relative; display: grid; place-items: center; width: 48px; height: 48px; color: var(--lime); }
.fmt__file { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.fmt b { position: relative; margin-top: 8px; font: 700 10.5px/1 var(--mono); letter-spacing: .02em; color: var(--ink); }
.fmt__grid { width: 34px; height: 34px; }
.formats li:last-child:nth-child(odd) { grid-column: span 2; }

/* ------------------------------------------------------------------ privacy */
.privacy__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.radar { position: relative; width: min(460px, 100%); aspect-ratio: 1; margin-inline: auto; border-radius: 50%; }
.radar > span:not(.radar__sweep):not(.radar__blip) { position: absolute; border-radius: 50%; border: 1px solid var(--line-2); }
.radar > span:nth-child(1) { inset: 0; }
.radar > span:nth-child(2) { inset: 17%; }
.radar > span:nth-child(3) { inset: 34%; }
.radar__sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from var(--angle), rgba(205, 239, 139, .28), transparent 22%); animation: spin 5s linear infinite; -webkit-mask-image: radial-gradient(closest-side, transparent 30%, #000 31%); mask-image: radial-gradient(closest-side, transparent 30%, #000 31%); }
.radar__core { position: absolute; inset: 39%; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 30% 30%, #e4fbb2, var(--lime) 50%, #8bc94a); color: var(--lime-ink); box-shadow: 0 0 80px rgba(205, 239, 139, .5), inset 0 -6px 16px rgba(0, 0, 0, .2); }
.radar__core .i { width: 42%; height: 42%; }
.radar__blip { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 16px var(--lime); opacity: 0; animation: blip 5s infinite; }
.radar__blip--1 { left: 76%; top: 26%; animation-delay: .4s; }
.radar__blip--2 { left: 22%; top: 70%; animation-delay: 2.8s; }
.radar__blip--3 { left: 80%; top: 72%; animation-delay: 1.6s; }
@keyframes blip { 0%, 100% { opacity: 0; transform: scale(.5); } 8% { opacity: 1; transform: scale(1); } 40% { opacity: 0; } }
.points { display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; }
.points li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: start; }
.points .i { width: 48px; height: 48px; padding: 12px; border-radius: 16px; background: rgba(205, 239, 139, .08); border: 1px solid var(--line-2); color: var(--lime); }
.points h3 { margin-bottom: 4px; }
.points p { color: var(--muted); font-size: 16px; line-height: 1.55; }

/* ------------------------------------------------------------------ pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 960px; margin-inline: auto; }
.plan { position: relative; display: flex; flex-direction: column; padding: 34px; border-radius: 30px; background: linear-gradient(180deg, #0c1c17, #091410); border: 1px solid var(--line); }
.plan h3 { font-size: 18px; color: var(--ink-2); font-weight: 500; letter-spacing: -.01em; }
.plan__price { display: flex; flex-direction: column; gap: 6px; margin: 14px 0 26px; font-size: clamp(32px, 3.4vw, 42px); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; }
.plan__price small { font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.plan ul { display: grid; gap: 14px; margin: 0 0 32px; padding: 0; list-style: none; flex: 1; }
.plan li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--ink-2); font-size: 15.5px; line-height: 1.45; }
.plan li .i { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(205, 239, 139, .1); color: var(--lime); }
.plan .btn { width: 100%; }
.plan--pro { border-color: transparent; background: linear-gradient(180deg, #11261f, #0a1612) padding-box, conic-gradient(from var(--angle), rgba(205, 239, 139, .9), rgba(205, 239, 139, .1) 25%, rgba(47, 163, 107, .6) 50%, rgba(205, 239, 139, .1) 75%, rgba(205, 239, 139, .9)) border-box; border: 1px solid transparent; animation: spin 8s linear infinite; box-shadow: 0 50px 120px -60px rgba(205, 239, 139, .45); }
.plan--pro h3 { color: var(--lime); }
.plan__badge { position: absolute; top: 28px; right: 28px; height: 28px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--lime); color: var(--lime-ink); font-weight: 600; font-size: 13px; }

/* ------------------------------------------------------------------ faq */
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 4px; cursor: pointer; list-style: none; font-size: clamp(17px, 1.7vw, 20px); font-weight: 500; letter-spacing: -.015em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .i { width: 22px; height: 22px; color: var(--lime); transition: transform .35s var(--ease); }
.qa[open] summary .i { transform: rotate(45deg); }
.qa summary:hover { color: #fff; }
.qa__a { padding: 0 48px 26px 4px; color: var(--muted); font-size: 16.5px; line-height: 1.65; }
.qa__a a { color: var(--lime); }
.qa::details-content { block-size: 0; overflow: hidden; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
.qa[open]::details-content { block-size: auto; }

/* ------------------------------------------------------------------ CTA + footer */
.cta { position: relative; isolation: isolate; overflow: hidden; margin-top: clamp(96px, 13vw, 168px); padding: clamp(100px, 12vw, 160px) 0; text-align: center; border-top: 1px solid var(--line); background: radial-gradient(70% 60% at 50% 100%, rgba(205, 239, 139, .14), transparent 70%); }
.cta .topo { -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 60%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 60% 70% at 50% 60%, #000 10%, transparent 70%); }
.cta__inner { display: flex; flex-direction: column; align-items: center; }
.cta h2 { font-size: clamp(44px, 7vw, 96px); letter-spacing: -.055em; }
.cta .lede { margin: 20px auto 40px; }
.cta__pin { position: relative; width: 96px; height: 96px; margin-bottom: 40px; }
.cta__pin img { position: relative; border-radius: 26px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 30px 80px -10px rgba(205, 239, 139, .5); animation: float 5s ease-in-out infinite; }
.cta__pin span { position: absolute; inset: 0; border-radius: 30px; border: 1px solid rgba(205, 239, 139, .5); animation: halo 3.6s var(--ease) infinite; }
.cta__pin span:nth-child(2) { animation-delay: 1.2s; }
.cta__pin span:nth-child(3) { animation-delay: 2.4s; }
@keyframes halo { from { transform: scale(1); opacity: .8; } to { transform: scale(2.6); opacity: 0; } }
@keyframes float { 50% { transform: translateY(-8px); } }

.footer { border-top: 1px solid var(--line); padding: 56px 0 40px; background: var(--bg); }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 32px; align-items: start; }
.footer__brand p { margin-top: 12px; color: var(--muted); font-size: 15px; }
.footer__links { display: grid; gap: 10px; }
.footer__links a, .footer__langs a { color: var(--ink-2); text-decoration: none; font-size: 15px; }
.footer__links a:hover, .footer__langs a:hover { color: var(--lime); }
.footer__langs { display: flex; gap: 16px; }
.footer__langs a[aria-current] { color: var(--lime); }
.footer__legal { display: flex; justify-content: space-between; gap: 24px; margin-top: 48px; padding-top: 24px; background: linear-gradient(var(--line), var(--line)) content-box top / 100% 1px no-repeat; color: var(--faint); font-size: 13px; }

.lang-banner {
  position: fixed; left: 50%; bottom: 20px; translate: -50% 0; z-index: 75; display: flex; align-items: center; gap: 4px; padding: 6px 6px 6px 18px; border-radius: 999px;
  background: rgba(10, 23, 19, .9); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .9);
  animation: rise .6s var(--ease); white-space: nowrap; max-width: calc(100vw - 32px);
}
.lang-banner[hidden] { display: none; }
.lang-banner a { color: var(--ink); text-decoration: none; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; }
.lang-banner a b { color: var(--lime); font-weight: 600; }
.lang-banner button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .06); cursor: pointer; font-size: 18px; line-height: 1; flex: none; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .card--lock, .card--float { grid-column: span 6; }
  .card--island, .card--back { grid-column: span 3; }
}
@media (max-width: 960px) {
  .hero { padding-top: 104px; min-height: 0; }
  .hero__grid { grid-template-columns: 1fr; gap: 24px; }
  .hero__visual { height: 560px; max-width: 560px; width: 100%; margin-inline: auto; }
  .device--ios { left: 18%; }
  .demo__app { grid-template-columns: 1fr; }
  .demo__map { min-height: 420px; }
  .demo__panel { border-left: 0; border-top: 1px solid var(--line); }
  .how__grid { grid-template-columns: 1fr; }
  .how__visual { display: none; }
  .step { min-height: 0; opacity: 1; padding-bottom: 56px; }
  .step .step__n { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); }
  .step__img { display: block; grid-column: 2; margin-top: 24px; width: min(260px, 70%); border-radius: 34px; padding: 7px; background: linear-gradient(150deg, #34453f, #0b1311); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); }
  .step__img img { border-radius: 28px; }
  .export__grid, .privacy__grid { grid-template-columns: 1fr; }
  .privacy__visual { max-width: 340px; margin-inline: auto; width: 100%; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__langs { grid-column: span 2; }
}
@media (max-width: 720px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .stat { padding: 26px 18px; }
  .bento { grid-template-columns: 1fr; }
  .bento > .card { grid-column: auto; }
  .card__visual { height: 260px; }
  .trio { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
  .siri { grid-row: span 2; }
  .formats { grid-template-columns: 1fr; }
  .formats li:last-child:nth-child(odd) { grid-column: auto; }
  .plans { grid-template-columns: 1fr; }
  .plan { padding: 28px 24px; }
  .plan__badge { top: 24px; right: 22px; }
  .footer__legal { flex-direction: column; }
}
@media (max-width: 560px) {
  .nav__inner { gap: 12px; }
  .nav .btn--sm { padding: 0 14px; }
  .lang summary span { display: none; }
  .hero__title { font-size: clamp(42px, 12.5vw, 64px); }
  .hero__visual { height: 470px; }
  .device--ios { width: 200px; left: 8%; }
  .device--android { width: 170px; right: 2%; }
  .float--toast { left: 0; top: 4%; min-width: 0; }
  .float--coords { left: 2%; bottom: 10%; }
  .float--formats { right: 0; bottom: 2%; }
  .float--formats b:nth-of-type(4) { display: none; }
  .stores { flex-direction: column; align-items: stretch; }
  .stores--center { align-items: stretch; }
  .store { width: 100%; justify-content: center; }
  .demo__map { min-height: 340px; }
  .hud { font-size: 11.5px; padding: 7px 9px; }
  .hud--br { display: none; }
  .drop { height: 108px; }
  .demo__panel { padding: 18px; }
  .lock { width: 92%; }
  .record { padding: 20px; }
  .record__rows code { font-size: 13px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__langs { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html.js [data-reveal] { opacity: 1; transform: none; filter: none; }
  .marquee__track { animation: none; }
  .marquee__viewport { flex-wrap: wrap; justify-content: center; -webkit-mask-image: none; mask-image: none; }
  .marquee__track[aria-hidden] { display: none; }
  .marquee__track { flex-wrap: wrap; justify-content: center; padding: 0 var(--gutter); }
  .isl { width: 280px; height: 62px; border-radius: 32px; top: 22px; }
  .isl__text, .isl__btn, .back__chip { opacity: 1; transform: none; }
}
