:root {
  --bg: #0a0a0b;
  --surface: #161618;
  --surface-3: #222225;
  --surface-4: #2c2c30;
  --primary: #ffffff;
  --on-primary: #0a0a0b;
  --green: #34d399;
  --amber: #fbbf24;
  --coral: #ff6b5e;
  --error: #ff6b5e;
  --link-blue: #6ea8fe;
  --bezel: #000000;
  --mesh-blur: 34px;
  --mesh-alpha: 0.62;
  --dur-orbit: 26s;
  --text: #ffffff;
  --muted: #a1a1a6;
  --muted-2: #a1a1a6;
  --line: rgba(255, 255, 255, 0.12);
  --divider: rgba(255, 255, 255, 0.08);
  --outline: #6e6e73;
  --mask-on: #000;
  --font: "Lexend", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-h1: clamp(2.35rem, 5.4vw, 3.9rem);
  --fs-h2: clamp(2.21rem, 4.42vw, 3.25rem);
  --fs-lede: clamp(1.15rem, 1.7vw, 1.35rem);
  --fs-label: 1rem;
  --nums: lining-nums tabular-nums;
  --r-panel: 32px;
  --r-card: 24px;
  --r-pill: 999px;
  --r-tile: 16px;
  --r-mesh: 44px;
  --r-device: 48px;
  --r-device-inner: 38px;
  --fs-404: clamp(5.5rem, 19vw, 11.5rem);
  --wrap: 1160px;
  --gutter: clamp(29px, 7.5vw, 46px);
  --sect: clamp(44px, 6.9vw, 84px);
  --el-1: 0 0 0 2px var(--line);
  --el-2: 0 0 0 2px var(--line);
  --el-3: 0 26px 55px -22px rgba(0, 0, 0, 0.55);
  --ease-std: cubic-bezier(0.2, 0, 0, 1);
  --dur-fast: 150ms;
  --dur-med: 220ms;
  --hover-grow: 1.037;
  --hover-grow-sm: 1.025;
  --glass-fill: rgba(255, 255, 255, 0.08);
  --glass-highlight: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #f4f4f6;
  --surface: #ffffff;
  --surface-3: #ececef;
  --surface-4: #e3e3e7;
  --primary: #0a0a0b;
  --on-primary: #ffffff;
  --text: #0a0a0b;
  --muted: #5c5c62;
  --muted-2: #5c5c62;
  --line: rgba(0, 0, 0, 0.08);
  --divider: rgba(0, 0, 0, 0.08);
  --error: #d93a2b;
  --link-blue: #1d4ed8;
  --outline: #87878c;
  --mesh-alpha: 0.9;
  --el-1: 0 0 0 1px var(--line);
  --el-2: 0 0 0 1px var(--line);
  --el-3: 0 26px 55px -22px rgba(0, 0, 0, 0.2);
  --glass-fill: rgba(0, 0, 0, 0.04);
  --glass-highlight: none;
  color-scheme: light;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f4f4f6;
    --surface: #ffffff;
    --surface-3: #ececef;
    --surface-4: #e3e3e7;
    --primary: #0a0a0b;
    --on-primary: #ffffff;
    --text: #0a0a0b;
    --muted: #5c5c62;
    --muted-2: #5c5c62;
    --line: rgba(0, 0, 0, 0.08);
    --divider: rgba(0, 0, 0, 0.08);
    --error: #d93a2b;
    --link-blue: #1d4ed8;
    --outline: #87878c;
    --mesh-alpha: 0.9;
    --el-1: 0 0 0 1px var(--line);
    --el-2: 0 0 0 1px var(--line);
    --el-3: 0 26px 55px -22px rgba(0, 0, 0, 0.2);
    --glass-fill: rgba(0, 0, 0, 0.04);
    --glass-highlight: none;
    color-scheme: light;
  }
}

@font-face {
  font-family: "Lexend";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(assets/fonts/lexend-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Lexend";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(assets/fonts/lexend-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
    U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: var(--text);
  color: var(--on-primary);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Inline text links styled exactly like the footer links (.footer-meta a). */
.link-accent {
  color: var(--muted-2);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
  padding-block: 6px;
  transition:
    color var(--dur-fast) var(--ease-std),
    text-underline-offset var(--dur-fast) var(--ease-std);
}

.link-accent:hover,
.link-accent:focus-visible {
  text-underline-offset: 4px;
  cursor: pointer;
}

h1,
h2 {
  margin: 0 0 3rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-wrap: balance;
  background: -webkit-linear-gradient(var(--primary), var(--muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h1 {
  font-size: var(--fs-h1);
}

h2 {
  font-size: var(--fs-h2);
}

body,
p {
  margin: 0;
}

strong {
  font-weight: 500;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  inset-inline-start: 12px;
  top: -60px;
  z-index: 100;
  background: var(--primary);
  color: var(--on-primary);
  font-weight: 500;
  padding: 10px 16px;
  border-radius: var(--r-pill);
}

.skip-link:focus {
  top: 12px;
}

.section {
  padding: calc(var(--sect) * 0.6) 0;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: var(--primary);
  color: var(--on-primary);
  font-family: var(--font);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  border-radius: var(--r-pill);
  padding: 12px 24px;
  cursor: pointer;
  box-shadow: var(--el-1);
  transition:
    background var(--dur-fast) var(--ease-std),
    box-shadow var(--dur-fast) var(--ease-std),
    transform var(--dur-fast) var(--ease-std);
}

.btn-primary:hover {
  background: color-mix(in srgb, var(--primary) 92%, var(--on-primary));
  box-shadow: var(--el-2);
  transform: translateY(-1px) scale(var(--hover-grow));
  cursor: pointer;
}

.btn-primary:active {
  background: color-mix(in srgb, var(--primary) 88%, var(--on-primary));
  box-shadow: var(--el-1);
  transform: translateY(0);
}

.glyph {
  width: 22px;
  height: 22px;
  flex: none;
}

.btn-store {
  padding-block: 10px;
  padding-inline: 16px 22px;
  text-align: start;
}

.btn-store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.btn-store-text small {
  font-size: var(--fs-label);
  font-weight: 600;
  opacity: 0.75;
}

.btn-soon,
.btn-store-text strong {
  font-size: 1rem;
  font-weight: 600;
}

.btn-soon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-family: var(--font);
  font-size: 1rem;
  border-radius: var(--r-pill);
  border: 2px solid var(--line);
  background: 0 0;
  color: var(--muted);
  cursor: default;
}

.btn-soon .glyph {
  opacity: 0.7;
}

.btn-soon .btn-store-text small {
  opacity: 1;
}

.btn-web {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-family: var(--font);
  font-size: 1rem;
  border: 2px solid var(--outline);
  border-radius: var(--r-pill);
  color: var(--text);
  transition:
    border-color var(--dur-fast) var(--ease-std),
    background var(--dur-fast) var(--ease-std);
}

.btn-web:hover {
  border-color: var(--text);
  background: var(--surface);
  cursor: pointer;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 20px;
  margin: 40px 0;
}

.btn-store {
  height: 66px;
}

.flags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
}

.flag {
  width: 32px;
  height: 32px;
  border-radius: var(--r-tile);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line);
}

.flag svg,
.spark svg {
  display: block;
  height: 100%;
}

.flag-more {
  display: flex;
  align-items: center;
  border: 2px solid var(--line);
  border-radius: var(--r-pill);
  font-size: var(--fs-label);
  font-weight: 600;
  color: var(--muted);
  padding: 10px;
  width: auto;
  height: 38px;
}

.band {
  border-radius: var(--r-panel);
  padding: clamp(24px, 3.5vw, 44px);
  box-shadow: var(--el-1);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  /* Przezroczyste tło z półprzezroczystością (np. 70-80%) */
  background: color-mix(in srgb, var(--bg) 75%, transparent);
  /* Rozmycie elementów znajdujących się pod paskiem */
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid var(--divider);
  transition:
    box-shadow var(--dur-fast) var(--ease-std),
    transform var(--dur-med) var(--ease-std),
    background-color var(--dur-fast) var(--ease-std);
}

.nav.is-scrolled {
  box-shadow: none;
}

.nav.nav-hide {
  transform: translateY(-100%);
  box-shadow: none;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-weight: 600;
}

.brand img {
  border-radius: var(--r-tile);
}

.brand-name {
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.nav-links {
  display: inline-flex;
  align-items: center;
  gap: clamp(14px, 3vw, 22px);
}

.nav-link {
  position: relative;
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  padding: 8px 4px;
  transition: color var(--dur-fast) var(--ease-std);
}


.footer-meta a:hover,
.nav-link:hover,
.link-accent:hover {
  color: var(--text);
  cursor: pointer;
}


.nav-tools {
  display: inline-flex;
  align-items: center;
  gap: 20px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 8px;
  border: 2px solid transparent;
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition:
    color var(--dur-fast) var(--ease-std),
    background var(--dur-fast) var(--ease-std),
    border-color var(--dur-fast) var(--ease-std);
}

.theme-toggle:hover {
  color: var(--text);
  cursor: pointer;
}

.theme-toggle .glyph {
  width: 20px;
  height: 20px;
}

.theme-toggle .icon-moon {
  display: none;
}

:root[data-theme="light"] .theme-toggle .icon-sun {
  display: none;
}

:root[data-theme="light"] .theme-toggle .icon-moon {
  display: inline-flex;
}

.hero,
.hero-grid {
  position: relative;
  display: grid;
}

.hero {
  overflow: hidden;
  isolation: isolate;
  min-height: min(84vh, 760px);
  align-content: center;
  align-items: stretch;
  grid-template-columns: minmax(0, 1fr);
  padding: clamp(48px, 7vw, 96px) 0 var(--sect);
}

.hero>.wrap {
  width: 100%;
}

.hero-grid {
  z-index: 1;
  grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero-copy .lede {
  font-size: var(--fs-lede);
  color: color-mix(in srgb, var(--text) 24%, var(--muted));
  margin-top: 16px;
  max-width: 40ch;
  text-wrap: pretty;
}

.hero-wash {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}


.hero-neon {
  --cycle: 12s;
  --z: 0%;
  --pos: 70% 50%;
  --blur: 0px;

  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: screen;
  will-change: opacity;
  animation: neon-cycle var(--cycle) cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.hero-neon::before {
  content: "";
  position: absolute;
  inset: calc(var(--z) * -1);
  background: url("assets/neon.jpeg?v=20260930") var(--pos) / cover no-repeat;
  filter: blur(var(--blur));
  /* rozmycie TYLKO na obrazie, nie na maskach */
  transform: translateZ(0);
  /* wymusza własną warstwę, rasteryzacja raz */
}

.hero-neon::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, var(--bg) 0%, transparent 24%),
    linear-gradient(to bottom, transparent 58%, var(--bg) 97%);
}

/* mniejszy zoom + rozmycie rosnące razem z zoomem */
.hero-neon.n1 {
  --z: 0%;
  --blur: 0px;
  --pos: 70% 50%;
  animation-delay: 0s;
}

.hero-neon.n2 {
  --z: 7%;
  --blur: 1.5px;
  --pos: 62% 44%;
  animation-delay: calc(var(--cycle) / -3);
  filter: hue-rotate(-25deg);
}

.hero-neon.n3 {
  --z: 14%;
  --blur: 3px;
  --pos: 78% 56%;
  animation-delay: calc(var(--cycle) / -3 * 2);
  filter: hue-rotate(30deg) saturate(1.2);
}

@keyframes neon-cycle {
  0% {
    opacity: 0;
  }

  33.333% {
    opacity: 0.5;
  }

  66.666% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

/* Stacked hero: the wave sits center stage instead of behind the device.
   Explicit vw sizing downsamples (never upscales), so no pixel crawl. */
@media (max-width: 920px) {
  .hero-neon {
    background:
      linear-gradient(to bottom, var(--bg) 0%, transparent 24%),
      linear-gradient(to bottom, transparent 58%, var(--bg) 97%),
      url("assets/neon.jpeg?v=20260930") 50% 0% / 400vw auto no-repeat;
  }
}

.hero-stage {
  z-index: 1;
  width: min(320px, 82vw);
  margin-inline: auto;
}

.hero-device,
.hero-stage {
  position: relative;
}

.hero-mesh {
  z-index: 0;
  overflow: hidden;
  box-shadow: var(--el-1);
  isolation: isolate;
  contain: paint;
}

.blob,
.hero-mesh,
.orbit {
  position: absolute;
}

.orbit {
  inset: 0;
}

.blob {
  aspect-ratio: 1;
  border-radius: var(--r-pill);
  filter: blur(var(--mesh-blur));
  opacity: var(--mesh-alpha);
}

@keyframes orbit {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  50% {
    transform: translate(3%, -4%) rotate(6deg);
  }

  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

.blob-a {
  width: 82%;
  background: radial-gradient(circle,
      color-mix(in srgb, var(--text), transparent 52%) 0%,
      color-mix(in srgb, var(--text), transparent 72%) 46%,
      transparent 72%);
  inset: -6%auto auto -4%;
}

.blob-b {
  width: 90%;
  background: radial-gradient(circle,
      color-mix(in srgb, var(--text), transparent 56%) 0%,
      color-mix(in srgb, var(--text), transparent 74%) 46%,
      transparent 74%);
  inset: auto -8% -6%auto;
}

.blob-c {
  width: 74%;
  background: radial-gradient(circle,
      color-mix(in srgb, var(--text), transparent 50%) 0%,
      color-mix(in srgb, var(--text), transparent 72%) 46%,
      transparent 72%);
  inset: 10% 2%auto auto;
}

.blob-d {
  width: 80%;
  background: radial-gradient(circle,
      color-mix(in srgb, var(--text), transparent 60%) 0%,
      color-mix(in srgb, var(--text), transparent 76%) 46%,
      transparent 76%);
  inset: auto auto -8% -6%;
}

html.js-motion .blob-a {
  animation: orbit var(--dur-orbit) var(--ease-std) infinite;
}

html.js-motion .blob-b {
  animation: orbit var(--dur-orbit) var(--ease-std) infinite;
  animation-delay: calc(var(--dur-orbit) / -4);
}

html.js-motion .blob-c {
  animation: orbit var(--dur-orbit) var(--ease-std) infinite reverse;
  animation-delay: calc(var(--dur-orbit) / -2);
}

html.js-motion .blob-d {
  animation: orbit var(--dur-orbit) var(--ease-std) infinite;
  animation-delay: calc(var(--dur-orbit) / -3);
}

.hero-shot {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 10px;
  border-radius: var(--r-device);
  background: var(--bezel);
  box-shadow:
    inset 0 0 0 1.5px color-mix(in srgb, var(--surface-4), white 14%),
    inset 0 0 0 4px color-mix(in srgb, var(--bezel), black 40%),
    var(--el-2),
    var(--el-3);
}

.hero-shot::after,
.hero-shot::before {
  content: "";
  position: absolute;
  right: -2.5px;
  width: 3.5px;
  border-radius: 0 3px 3px 0;
  background: color-mix(in srgb, var(--surface-4), black 30%);
  box-shadow: inset 0.5px 0.5px 0 color-mix(in srgb, var(--surface-4), white 12%);
}

.hero-shot::before {
  top: 20%;
  height: 76px;
}

.hero-shot::after {
  top: calc(20% + 90px);
  height: 42px;
}

.cam {
  position: absolute;
  z-index: 2;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 11px;
  height: 11px;
  border-radius: var(--r-pill);
  background: radial-gradient(circle at 38% 34%,
      color-mix(in srgb, var(--surface-4), transparent 35%) 0%,
      color-mix(in srgb, var(--bg), black 90%) 58%);
}

.shot-track {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-radius: var(--r-device-inner);
}

.shot-track::-webkit-scrollbar {
  display: none;
}

.shot-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
}

.shot-slide picture {
  display: block;
}

.shot-slide img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-device-inner);
}

.shot-nav {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.shot-dots {
  display: flex;
  align-items: center;
  gap: 20px;
}

.shot-dot {
  width: 24px;
  height: 24px;
  padding: 8px;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--muted);
  background-clip: content-box;
  opacity: 1;
  cursor: pointer;
  transition:
    width var(--dur-fast) var(--ease-std),
    opacity var(--dur-fast) var(--ease-std),
    background var(--dur-fast) var(--ease-std);
}

.shot-dot:hover:not(.is-on) {
  background: var(--text);
  cursor: pointer;
}

.shot-dot.is-on {
  width: 36px;
  border-radius: var(--r-pill);
  background: var(--text);
  background-clip: content-box;
  opacity: 1;
}

.shot-pause {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-inline-start: 8px;
  padding: 5px;
  border: 2px solid transparent;
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  transition:
    color var(--dur-fast) var(--ease-std),
    background var(--dur-fast) var(--ease-std);
}

.shot-pause:hover {
  color: var(--text);
  cursor: pointer;
}

.shot-pause .glyph {
  width: 14px;
  height: 14px;
}

.shot-pause .icon-play {
  display: none;
}

.shot-pause.is-paused .icon-pause {
  display: none;
}

.shot-pause.is-paused .icon-play {
  display: inline-flex;
}

.spark {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  opacity: 0.55;
}

.spark svg path {
  fill: currentColor;
}

.spark-1 {
  width: 22px;
  height: 22px;
  top: 3%;
  left: -7%;
  color: var(--text);
}

.spark-2 {
  width: 13px;
  height: 13px;
  top: 16%;
  right: -5%;
  color: var(--text);
}

.spark-3 {
  width: 17px;
  height: 17px;
  bottom: 8%;
  left: -6%;
  color: var(--text);
}

@keyframes twinkle {

  0%,
  100% {
    opacity: 0.25;
    transform: scale(0.85);
  }

  50% {
    opacity: 0.75;
    transform: scale(1);
  }
}

html.js-motion .spark-1 {
  animation: twinkle calc(var(--dur-orbit) / 3) var(--ease-std) infinite;
}

html.js-motion .spark-2 {
  animation: twinkle calc(var(--dur-orbit) / 3) var(--ease-std) infinite;
  animation-delay: calc(var(--dur-orbit) / -9);
}

html.js-motion .spark-3 {
  animation: twinkle calc(var(--dur-orbit) / 3) var(--ease-std) infinite;
  animation-delay: calc(var(--dur-orbit) / -6);
}

@media (prefers-contrast: more) {

  .blob,
  .hero-wash,
  .spark,
  .page-wash,
  .page-spark,
  .privacy-band::before {
    display: none;
  }

  .hero-mesh {
    background: var(--surface-3);
  }
}

.eyebrow {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--muted);
  margin: 20px 0;
}

.value>h2 {
  text-wrap: balance;
  background: linear-gradient(to right,
      var(--primary) 0%,
      var(--muted) 25%,
      var(--primary) 50%,
      var(--muted) 75%,
      var(--primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  background-size: 200% auto;
  animation: textShine 4s linear infinite;
}

.value-grid {
  list-style: none;
  margin: clamp(28px, 4vw, 44px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.value-item {
  border: 2px solid var(--line);
  border-radius: var(--r-card);
  padding: clamp(20px, 3vw, 30px);
  position: relative;
}

/* Stronger selector keeps the card transitions (border/shadow) alongside
   the scroll-reveal transition instead of losing to it. */
html.js-motion .value-item.reveal,
.value-item {
  transition:
    transform var(--dur-med) var(--ease-std),
    border-color var(--dur-fast) var(--ease-std),
    box-shadow var(--dur-med) var(--ease-std),
    opacity var(--dur-med) var(--ease-std);
}

/* Higher-specificity second selector wins over html.js-motion .reveal.in. */
.value-item:hover,
html.js-motion .value-item.reveal.in:hover {
  z-index: 2;
  transform: translateY(-4px) scale(var(--hover-grow));
  border-color: color-mix(in srgb, white 22%, transparent);
  box-shadow: 0 12px 36px -12px color-mix(in srgb, white 5%, transparent);
  cursor: pointer;
}

.value-icon {
  display: block;
  width: 30px;
  height: 30px;
  margin-bottom: 14px;
  color: var(--text);
}

.value-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value-item:nth-child(2) .value-icon {
  color: var(--text);
}

.value-item:nth-child(3) .value-icon {
  color: var(--text);
}

.prose h2,
.value-item h3 {
  margin: 0 0 8px;
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.value-item p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.value-item .nums {
  font-variant-numeric: var(--nums);
}

.cta-band {
  position: relative;
  text-align: center;
  overflow: hidden;
  scroll-margin-top: 84px;
}

.cta-band .cta-row {
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-band .btn-store {
  padding-block: 14px;
  padding-inline: 22px 30px;
}

.cta-sub {
  max-width: 46ch;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 1.5rem;
  font-weight: bold;
}

.ph-badge {
  display: inline-flex;
  align-items: center;
  margin-top: clamp(20px, 3vw, 28px);
  padding: 10px 18px;
  border: 2px solid rgb(255 97 84);
  border-radius: var(--r-panel);
  color: var(--text);
  line-height: 0;
  direction: ltr;
  transition:
    opacity var(--dur-fast) var(--ease-std),
    transform var(--dur-fast) var(--ease-std);
}

.ph-badge svg {
  display: block;
  width: 210px;
  height: 44px;
  color: rgb(255 97 84);
}

.ph-mark-circle {
  fill: currentColor;
}

.ph-mark-glyph {
  fill: var(--surface-3);
}

.ph-mark-eyebrow,
.ph-mark-word {
  fill: currentColor;
}

.ph-mark-eyebrow {
  font-size: var(--fs-label);
  font-weight: 600;
}

.ph-mark-word {
  font-size: 16px;
  font-weight: 600;
}

.ph-badge:hover {
  opacity: 0.88;
  transform: translateY(-1px) scale(var(--hover-grow));
  cursor: pointer;
}

.ph-badge:active {
  transform: translateY(0) scale(0.99);
}

.ph-badge:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.cta-row .ph-badge {
  margin-top: 0;
}

.footer-wrap {
  margin-top: var(--sect);
  border-top: 1px solid var(--divider);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: clamp(22px, 3vw, 32px);
}

.footer .brand-name {
  font-size: 1rem;
}

.footer-meta,
.made {
  color: var(--muted-2);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  font-size: var(--fs-label);
}

.footer-meta a {
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
  padding-block: 6px;
  transition:
    color var(--dur-fast) var(--ease-std),
    text-underline-offset var(--dur-fast) var(--ease-std);
}

.footer-meta a:hover,
.footer-meta a:focus-visible {
  text-underline-offset: 4px;
  cursor: pointer;
}

.footer-meta span[aria-hidden] {
  color: var(--outline);
}

.legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  flex-basis: 100%;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--divider);
}

.made {
  text-align: center;
  font-size: var(--fs-label);
  margin: 0;
  padding: 0 var(--gutter) clamp(16px, 3vw, 24px);
}

.page {
  padding-block: clamp(40px, 7vw, 88px);
  min-height: 62vh;
}

.page-features,
.page-faq,
.page-about,
.page-contact,
.page-privacy,
.page-404 {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.page-features>.wrap,
.page-faq>.wrap,
.page-about>.wrap,
.page-contact>.wrap,
.page-privacy>.wrap,
.page-404>.wrap {
  position: relative;
  z-index: 1;
}

.page-wash {
  position: absolute;
  inset: 0 0 auto 0;
  height: min(320px, 44vh);
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.5;
}

.page-wash::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(44% 44% at 74% 18%,
      color-mix(in srgb, var(--text) 16%, transparent) 0%,
      color-mix(in srgb, var(--text) 5%, transparent) 42%,
      transparent 66%),
    radial-gradient(46% 44% at 14% 70%,
      color-mix(in srgb, var(--text) 12%, transparent) 0%,
      color-mix(in srgb, var(--text) 4%, transparent) 44%,
      transparent 66%);
}

.page-wash::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, var(--bg) 100%);
}

.page-spark {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  opacity: 0.4;
}

.page-spark svg path {
  fill: currentColor;
}

.page-spark-1 {
  width: 15px;
  height: 15px;
  top: 6%;
  right: 6%;
  color: var(--text);
}

.page-spark-2 {
  width: 11px;
  height: 11px;
  top: 46%;
  left: 3%;
  color: var(--text);
}

html.js-motion .page-spark-1 {
  animation: twinkle calc(var(--dur-orbit) / 3) var(--ease-std) infinite;
}

html.js-motion .page-spark-2 {
  animation: twinkle calc(var(--dur-orbit) / 3) var(--ease-std) infinite;
  animation-delay: calc(var(--dur-orbit) / -9);
}

.prose {
  max-width: 62ch;
  margin-inline: auto;
}

.prose h1 {
  font-size: var(--fs-h2);
  margin: 10px 0 0;
}

.prose h2 {
  font-size: 1.3rem;
  margin: 32px 0 0;
}

.prose>p:not([class]) {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-top: 18px;
}

.prose a:not(.btn-primary),
.page-contact .wrap>p a:not([class]),
.page-privacy .wrap a:not([class]),
.faq-item>p a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--text);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.page-about .wrap>p a:not([class]) {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: var(--muted);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition:
    color var(--dur-fast) var(--ease-std),
    text-decoration-color var(--dur-fast) var(--ease-std);
}

.prose a:not(.btn-primary):hover,
.page-contact .wrap>p a:not([class]):hover,
.page-privacy .wrap a:not([class]):hover,
.faq-item>p a:hover {
  text-decoration-color: var(--muted);
  color: var(--muted);
  cursor: pointer;
}

.page-about .wrap>p a:not([class]):hover,
.page-about .wrap>p a:not([class]):focus-visible {
  color: white;
  text-decoration-color: white;
  cursor: pointer;
}

p.inline-note a {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: var(--muted);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition:
    color var(--dur-fast) var(--ease-std),
    text-decoration-color var(--dur-fast) var(--ease-std);
}

p.inline-note a:hover,
p.inline-note a:focus-visible {
  color: white;
  text-decoration-color: white;
  cursor: pointer;
}

.page-privacy h2 {
  font-size: 1.15rem;
  margin: 2.5rem 0 0;
  padding-top: 1.5rem;
  background-origin: content-box;
  border-top: 1px solid var(--line);
}

.page-privacy h2:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.page-privacy .wrap>p:not([class]) {
  color: var(--muted);
  line-height: 1.65;
  margin-top: 1rem;
}

.page-privacy h3 {
  font-size: 1rem;
  margin: 1.5rem 0 0;
}

.page-privacy>.wrap>h1 {
  font-size: clamp(1.9rem, 4vw, 2.5rem);
}

.page-about h1 {
  font-size: clamp(1.9rem, 4.2vw, 2.75rem);
  line-height: 1.15;
  max-width: 20ch;
  text-wrap: balance;
}

.prose .prose-sig {
  margin-top: 24px;
  color: var(--text);
  font-weight: 500;
}

.prose-cta {
  margin-top: 28px;
}

.page[class*="page-"] .eyebrow {
  position: relative;
  padding-bottom: 14px;
}

.page[class*="page-"] .eyebrow::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 32px;
  height: 1px;
  background: currentColor;
}

.err-code {
  font-size: var(--fs-404);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: color-mix(in srgb, var(--text) 12%, transparent);
  font-variant-numeric: var(--nums);
  margin: 0 0 6px;
}

.err-hairlines {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 0 20px;
}

.err-hairline {
  height: 5px;
  border-radius: var(--r-pill);
}

.err-hairline-1 {
  width: 64px;
  background: var(--text);
}

.err-hairline-2 {
  width: 44px;
  background: var(--text);
}

.err-hairline-3 {
  width: 26px;
  background: var(--text);
}

.faq-list {
  margin-top: clamp(26px, 4vw, 38px);
}

.faq-item {
  border-top: 1px solid var(--divider);
  scroll-margin-top: 84px;
  transition:
    background var(--dur-med) var(--ease-std),
    box-shadow var(--dur-med) var(--ease-std);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--divider);
}

.faq-item:target {
  background: color-mix(in srgb, var(--text) 8%, transparent);
  border-inline-start: 3px solid var(--text);
  margin-inline-start: -3px;
}

.faq-item:target summary {
  padding-inline-start: 13px;
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 2px;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item .faq-q {
  flex: 1;
  margin: 0;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: var(--text);
}

.faq-item summary::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  margin-inline-end: 5px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition:
    transform var(--dur-med) var(--ease-std),
    border-color var(--dur-fast) var(--ease-std);
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
}

.faq-item summary:hover .faq-q {
  color: var(--text);
  cursor: pointer;
}

.faq-item summary:hover::after {
  border-color: var(--text);
  cursor: pointer;
}

.faq-item>p {
  margin: 0 0 20px;
  padding-inline-end: 25px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

html.js-motion .faq-item>p {
  transition:
    opacity var(--dur-med) var(--ease-std),
    display var(--dur-med) var(--ease-std) allow-discrete;
}

@starting-style {
  html.js-motion .faq-item[open]>p {
    opacity: 0;
  }
}

.contact-form {
  margin-top: 30px;
  display: grid;
  gap: 20px;
  max-width: 32rem;
}

.field {
  display: grid;
  gap: 20px;
}

.field-label {
  font-size: var(--fs-label);
  font-weight: 600;
  color: var(--muted);
}

.input {
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text);
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: var(--r-tile);
  padding: 12px 14px;
  width: 100%;
  transition: border-color var(--dur-fast) var(--ease-std);
}

.input:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.input:user-invalid {
  border-color: var(--error);
}

textarea.input {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn-primary {
  justify-self: start;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy .lede {
    margin-inline: auto;
  }



  .flags {
    justify-content: center;
  }

  .cta-row {
    justify-content: center;
    margin-inline: auto;
  }

  .hero-stage {
    order: 2;
    margin-top: clamp(20px, 6vw, 40px);
  }
}

@media (max-width: 720px) {
  .footer {
    justify-content: center;
    text-align: center;
  }

  .value-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .nav-inner {
    flex-wrap: wrap;
    row-gap: 2px;
    padding-block: 8px;
    padding-inline: 14px;
  }

  .nav-links {
    order: 3;
    flex-basis: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px 7px;
  }

  .nav-link {
    padding: 8px 3px;
  }
}

@media (max-width: 560px) {
  .cta-row {
    grid-template-columns: 1fr;
  }
}

html.js-motion .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity var(--dur-med) var(--ease-std),
    transform var(--dur-med) var(--ease-std);
}

html.js-motion .reveal.in {
  opacity: 1;
  transform: none;
}

@media print {
  body {
    background: white;
    color: black;
  }

  .nav,
  .hero-mesh,
  .hero-wash,
  .spark,
  .page-wash,
  .page-spark {
    display: none;
  }
}

/* ---- showcase components (home + features) ---- */
.section-compact {
  padding: calc(var(--sect) * 0.6) 0;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 56px);
}

.feature-row-flip .feature-shot {
  order: 2;
}

.feature-row-flip .feature-copy {
  order: 1;
}

.feature-copy>p:not(.eyebrow) {
  margin-block-start: 14px;
  color: var(--primary);
  font-size: 1.2rem;
  line-height: 2;
  max-width: 46ch;
}

#feat-budgets-title {
  text-wrap: inherit;
}

.feature-shot {
  max-inline-size: 338px;
  margin-inline: auto;
}

.feature-shot picture {
  display: block;
}

.feature-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-device-inner);
}

.feature-list {
  list-style: none;
  margin: 40px 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-list li {
  font-size: 0.9rem;
  line-height: 1.5;
  border: 2px solid var(--line);
  border-radius: var(--r-card);
  padding: 20px;
  position: relative;
  color: var(--text);
  text-align: left;
  text-wrap: balance;
  font-weight: bold;
  transition:
    transform var(--dur-med) var(--ease-std),
    border-color var(--dur-fast) var(--ease-std),
    box-shadow var(--dur-med) var(--ease-std);
}

/* Same hover lift as .value-item. */
.feature-list li:hover {
  z-index: 2;
  transform: translateY(-4px) scale(var(--hover-grow));
  border-color: color-mix(in srgb, white 22%, transparent);
  box-shadow: 0 12px 36px -12px color-mix(in srgb, white 5%, transparent);
  cursor: pointer;
}

.feature-list>li:nth-child(3) {
  grid-column: span 2;
  /* lub: grid-column: 1 / -1; */
}

.feature-note {
  margin-block-start: 16px;
  color: var(--muted);
  font-size: var(--fs-label);
}

@media (max-width: 720px) {
  .feature-row {
    grid-template-columns: 1fr;
  }

  .feature-row .feature-shot {
    order: -1;
  }

  .feature-row .feature-copy {
    order: 0;
    text-align: center;
  }

  .feature-copy>p:not(.eyebrow) {
    margin-inline: auto;
  }
}

.privacy-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--r-panel);
  box-shadow: var(--el-1);
  text-align: center;
}

.privacy-band> :not(.mesh-grain):not(.energy-lines) {
  position: relative;
  z-index: 1;
}

/* Energy-lines backdrop (BackEasy artwork, self-hosted first-party PNG):
   scroll parallax — the field stays pinned to the viewport while the
   card travels, for free depth without JS. `screen` blend drops the
   black field (and dissolves the layer on the light theme); a slow
   breathe keeps it alive. Note: transform drift would break the fixed
   attachment, so motion here is opacity-only. */
.energy-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
  background: url("assets/energy-lines.png?v=20260930") center / cover no-repeat fixed;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(78% 96% at 50% 42%, var(--mask-on) 55%, transparent 100%);
  mask-image: radial-gradient(78% 96% at 50% 42%, var(--mask-on) 55%, transparent 100%);
  animation: energy-breathe 8s ease-in-out infinite;
}

@keyframes energy-breathe {

  0%,
  100% {
    opacity: 0.8;
  }

  50% {
    opacity: 1;
  }
}

#privacy-title {
  width: 60%;
  margin: 0 auto;
}

.privacy-band .privacy-lede {
  max-width: 52ch;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 1.5rem;
  line-height: 1.6;
  padding: 20px;
}

.privacy-band a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--dur-fast) var(--ease-std);
}

.privacy-band a:hover,
.privacy-band a:focus-visible {
  color: white;
}

.privacy-box {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  gap: 40px;
  padding: 2rem;
}

.privacy-figure {
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: var(--nums);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
}

.privacy-caption {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: var(--fs-label);
  text-align: right;
}

.privacy-facts {
  list-style: none;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 0;
  font-size: 1.3rem;
  font-weight: 600;
  color: white;
  text-align: left;
}

.privacy-facts li {
  display: inline-flex;
  align-items: center;
  gap: 20px;
}

.privacy-facts li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: var(--r-pill);
  background: white;
  flex: none;
}

.privacy-band .privacy-link {
  margin: 20px 0;
  font-size: var(--fs-label);
  color: var(--muted-2);
}

.gallery {
  display: flex;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 12px;
  -webkit-overflow-scrolling: touch;
  gap: 20px;
  margin: clamp(24px, 4vw, 40px) 0 0;
  padding-block: 18px;
  padding-inline: 12px;
  scrollbar-width: thin;
  border-radius: var(--r-tile);
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-x;
  will-change: scroll-position;
  scroll-behavior: smooth;
}

.gallery.grabbing {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.gallery img,
.gallery a {
  -webkit-user-drag: none;
  pointer-events: none;
}

.gallery::-webkit-scrollbar {
  height: 6px;
}

.gallery::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: var(--r-pill);
}

.gallery:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}

.gallery-item {
  flex: 0 0 clamp(240px, 28vw, 360px);
  scroll-snap-align: start;
  margin: 0;
}

.gallery-item picture {
  display: block;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-device-inner);
}

.gallery-item figcaption {
  margin-block-start: 10px;
  text-align: center;
  font-size: var(--fs-label);
  color: var(--muted);
}

.sample-note {
  margin-block-start: 14px;
  color: var(--muted);
  font-size: var(--fs-label);
}

/* ---- features page ---- */
/* A row that pairs two topics (offline + languages) stacks a second h2 under the first list. */
.feature-copy>h2:not(:first-of-type) {
  margin-block-start: 48px;
}

/* The features hero is now a short intro above many sections; the sub-page 62vh floor would
   leave a blank band under the chip nav. */
.page-features {
  min-height: 0;
}

:target {
  scroll-margin-top: 84px;
}

.chip-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-block-start: clamp(24px, 3.4vw, 34px);
}

.chip {
  display: inline-flex;
  align-items: center;
  font-size: var(--fs-label);
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: var(--surface);
  box-shadow: var(--el-1);
  transition:
    background var(--dur-fast) var(--ease-std),
    box-shadow var(--dur-fast) var(--ease-std);
}

.chip:hover {
  background: var(--surface-3);
  cursor: pointer;
}

.chip:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.big-figure {
  margin: 0;
  text-align: center;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  font-variant-numeric: var(--nums);
}

.big-figure span {
  display: block;
  margin-block-start: 10px;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: normal;
  color: var(--muted);
}

/* ---- plan cards (Free vs Premium) ---- */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-block-start: 20px;
  padding: 0;
}

.plan-card h3 {
  margin: 0;
  padding-block-end: 14px;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.plan-price {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 1.1rem;
}

/* Premium header: title left, price right on one baseline (desktop). */
.plan-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  padding-block-end: 14px;
}

.plan-head h3 {
  padding-block-end: 0;
}

.plan-head .plan-price {
  margin: 0;
}

@media (max-width: 720px) {
  .plan-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

.plan-price .nums {
  color: var(--text);
  font-weight: 600;
  font-variant-numeric: var(--nums);
}

.plan-card ul {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 20px;
}

.plan-card li {
  display: flex;
  gap: 20px;
  background: var(--bg);
  border: 2px solid var(--line);
  border-radius: var(--r-tile);
  padding: 10px 14px;
  font-size: 1rem;
  line-height: 1.5;
  transition:
    transform var(--dur-med) var(--ease-std),
    border-color var(--dur-fast) var(--ease-std);
}

.plan-card li:hover {
  transform: translateY(-2px) scale(var(--hover-grow-sm));
  border-color: color-mix(in srgb, white 22%, transparent);
  cursor: pointer;
}

.plan-card li>[aria-hidden="true"] {
  flex: none;
}

.plan-card li.is-off {
  color: var(--muted);
}

/* Premium reads one tier up at rest; hover unifies both cards. */
.plan-grid> :last-child {
  border-color: var(--outline);
}

@media (max-width: 720px) {
  .plan-grid {
    grid-template-columns: 1fr;
  }
}

/* Inside the centered Get band, cards read start-aligned like on features. */
.cta-band .plan-grid {
  text-align: start;
}

/* ---- micro-motion: hover/press fluidity (transform + opacity only, no style change) ---- */
.btn-web {
  transition:
    border-color var(--dur-fast) var(--ease-std),
    background var(--dur-fast) var(--ease-std),
    box-shadow var(--dur-fast) var(--ease-std),
    transform var(--dur-fast) var(--ease-std);
}

.btn-web:hover {
  transform: translateY(-1px) scale(var(--hover-grow));
  cursor: pointer;
}

.btn-web:active {
  transform: translateY(0) scale(0.99);
}

.btn-primary:active {
  transform: translateY(0) scale(0.99);
}

.btn-primary:focus-visible,
.btn-web:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.chip {
  transition:
    background var(--dur-fast) var(--ease-std),
    box-shadow var(--dur-fast) var(--ease-std),
    transform var(--dur-fast) var(--ease-std);
}

.chip:hover {
  transform: translateY(-1px) scale(var(--hover-grow));
  cursor: pointer;
}

.chip:active {
  transform: translateY(0) scale(0.98);
}

.btn-copy {
  transition:
    background var(--dur-fast) var(--ease-std),
    border-color var(--dur-fast) var(--ease-std),
    transform var(--dur-fast) var(--ease-std);
}

.btn-copy:hover {
  transform: translateY(-1px) scale(var(--hover-grow));
  cursor: pointer;
}

.btn-copy:active {
  transform: translateY(0) scale(0.96);
}

.theme-toggle {
  transition:
    color var(--dur-fast) var(--ease-std),
    background var(--dur-fast) var(--ease-std),
    border-color var(--dur-fast) var(--ease-std),
    transform var(--dur-fast) var(--ease-std);
}

.theme-toggle:hover {
  transform: scale(1.08);
}

.theme-toggle:active {
  transform: scale(0.94);
}

.theme-toggle .glyph {
  transition: transform var(--dur-med) var(--ease-std);
}

.theme-toggle:hover .glyph {
  transform: rotate(24deg) scale(1.06);
}

.theme-toggle:active .glyph {
  transform: rotate(0deg) scale(0.94);
}

.shot-dot {
  transition:
    width var(--dur-fast) var(--ease-std),
    opacity var(--dur-fast) var(--ease-std),
    background var(--dur-fast) var(--ease-std),
    transform var(--dur-fast) var(--ease-std);
}

.shot-dot:hover:not(.is-on) {
  transform: scale(1.2);
}

.shot-dot:active {
  transform: scale(0.9);
}

.shot-pause {
  transition:
    color var(--dur-fast) var(--ease-std),
    background var(--dur-fast) var(--ease-std),
    transform var(--dur-fast) var(--ease-std);
}

.shot-pause:hover {
  transform: scale(1.08);
}

.shot-pause:active {
  transform: scale(0.92);
}

.nav-link::after {
  content: "";
  position: absolute;
  inset-inline: 4px;
  bottom: 3px;
  height: 1px;
  background: currentColor;
  border-radius: 1px;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition:
    transform var(--dur-med) var(--ease-std),
    opacity var(--dur-fast) var(--ease-std);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.gallery-item {
  position: relative;
  transition: transform var(--dur-med) var(--ease-std);
}

.gallery-item:hover {
  z-index: 2;
  transform: translateY(-4px) scale(1.03);
}

/* Edge cards grow inward so the zoom never paints past the scrollport edge. */
.gallery-item:first-child {
  transform-origin: left center;
}

.gallery-item:last-child {
  transform-origin: right center;
}

/* No edge mask: a fade on the right clipped the last shot while swiping. */

.gallery-item picture {
  overflow: hidden;
  border-radius: var(--r-device-inner);
}

.gallery-item figcaption {
  transition: color var(--dur-fast) var(--ease-std);
}

.gallery-item:hover figcaption {
  color: var(--text);
}

.feature-shot {
  position: relative;
  transition:
    transform var(--dur-med) var(--ease-std),
    box-shadow var(--dur-med) var(--ease-std);
}

/* Higher-specificity second selector wins over html.js-motion .reveal.in (transform: none).
   Glow appended to the device-frame shadow stack (mirrors .hero-shot) so the frame survives. */
.feature-shot:hover,
html.js-motion .feature-shot.reveal.in:hover {
  z-index: 2;
  transform: scale(var(--hover-grow));
  cursor: pointer;
  box-shadow:
    inset 0 0 0 1.5px color-mix(in srgb, var(--surface-4), white 14%),
    inset 0 0 0 4px color-mix(in srgb, var(--bezel), black 40%),
    var(--el-2),
    var(--el-3),
    0 12px 36px -12px color-mix(in srgb, white 8%, transparent);
}

.faq-item .faq-q {
  transition:
    color var(--dur-fast) var(--ease-std),
    transform var(--dur-fast) var(--ease-std);
}

.faq-item summary:hover .faq-q {
  transform: translateX(3px);
}

/* ---- first-visit arrivals (LCP-safe: hero pictures never start at opacity 0,
   so the LCP image paints on the first frame; motion is transform/opacity only) ---- */
@keyframes mesh-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes shot-in {
  from {
    transform: scale(0.97);
  }

  to {
    transform: scale(1);
  }
}

@keyframes stat-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

html.js-motion .hero-mesh {
  animation: mesh-in 900ms var(--ease-std) both;
}

html.js-motion .hero-stage .hero-shot {
  animation: shot-in 700ms var(--ease-std) 100ms both;
}

html.js-motion .hero-stat {
  animation: stat-in 500ms var(--ease-std) 350ms both;
}

html.js-motion .hero-stat:nth-child(2) {
  animation-delay: 430ms;
}

html.js-motion .hero-stat:nth-child(3) {
  animation-delay: 510ms;
}

html.js-motion .hero-stat:nth-child(4) {
  animation-delay: 590ms;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  ::after,
  ::before {
    transition: none !important;
    animation: none !important;
  }
}

/* critical placeholder to avoid CLS */
body:not([data-parts-ready])::before {
  content: "";
  display: block;
  height: 64px;
}

.nav {
  min-height: 64px;
}

.ph-badge {
  margin-top: 16px;
}

/* ---- Hero stats strip ---- */
@property --ring-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.hero-stats {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: space-around;
  gap: 2rem;
  list-style: none;
  padding: 20px 0;
  border: 2px solid var(--line);
  border-radius: var(--r-card);
}

/* Travelling highlight over the hairline border. The base border stays
   underneath, so browsers without @property still show a plain frame. */
.hero-stats::before,
.value-item::before,
.how-step::before,
.plan-grid> :last-child::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(from var(--ring-angle),
      var(--line) 0%,
      var(--line) 78%,
      var(--muted) 87%,
      var(--primary) 92%,
      var(--muted) 97%,
      var(--line) 100%);
  -webkit-mask: linear-gradient(var(--mask-on) 0 0) content-box, linear-gradient(var(--mask-on) 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(var(--mask-on) 0 0) content-box, linear-gradient(var(--mask-on) 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

/* Single strip: endless spin. */
.hero-stats::before {
  animation: ring-spin 5s linear infinite;
}

/* Premium reads one tier up: the same travelling light, slower tempo,
   doubled — two dashes chase each other around the frame. */
.plan-grid> :last-child::before {
  animation: ring-spin 8s linear infinite;
  background: conic-gradient(from var(--ring-angle),
      var(--line) 0%,
      var(--line) 19%,
      var(--muted) 22%,
      var(--primary) 25%,
      var(--muted) 28%,
      var(--line) 31%,
      var(--line) 69%,
      var(--muted) 72%,
      var(--primary) 75%,
      var(--muted) 78%,
      var(--line) 81%,
      var(--line) 100%);
}

/* Card trios: full snake 1 → 2 → 3 → 3 → 2 → 1 across one 12s cycle.
   Forward leg rides the top edge rightward (every card exits right);
   the return leg rides the bottom edge leftward (every card exits left).
   Each handoff — including the turnarounds on cards 3 and 1 — lands on
   the same or an adjacent corner, so the light never jumps a gap.
   Phasing is baked into the keyframes. */
.value-item:nth-child(1)::before,
.how-step:nth-child(1)::before {
  animation: ring-c1 12s linear infinite;
}

.value-item:nth-child(2)::before,
.how-step:nth-child(2)::before {
  animation: ring-c2 12s linear infinite;
}

.value-item:nth-child(3)::before,
.how-step:nth-child(3)::before {
  animation: ring-c3 12s linear infinite;
}

@keyframes ring-spin {
  to {
    --ring-angle: 360deg;
  }
}

@keyframes ring-c1 {
  0% {
    --ring-angle: 270deg;
    opacity: 0;
  }

  2% {
    --ring-angle: 270deg;
    opacity: 1;
  }

  14% {
    --ring-angle: 450deg;
    opacity: 1;
  }

  16.5%,
  80% {
    --ring-angle: 450deg;
    opacity: 0;
  }

  81.5% {
    --ring-angle: 90deg;
    opacity: 0;
  }

  83.5% {
    --ring-angle: 90deg;
    opacity: 1;
  }

  97% {
    --ring-angle: 270deg;
    opacity: 1;
  }

  100% {
    --ring-angle: 270deg;
    opacity: 0;
  }
}

@keyframes ring-c2 {

  0%,
  15% {
    --ring-angle: 270deg;
    opacity: 0;
  }

  17% {
    --ring-angle: 270deg;
    opacity: 1;
  }

  30.5% {
    --ring-angle: 450deg;
    opacity: 1;
  }

  33%,
  64% {
    --ring-angle: 450deg;
    opacity: 0;
  }

  65% {
    --ring-angle: 90deg;
    opacity: 0;
  }

  67% {
    --ring-angle: 90deg;
    opacity: 1;
  }

  80.5% {
    --ring-angle: 270deg;
    opacity: 1;
  }

  83%,
  100% {
    --ring-angle: 270deg;
    opacity: 0;
  }
}

@keyframes ring-c3 {

  0%,
  31.5% {
    --ring-angle: 270deg;
    opacity: 0;
  }

  33.5% {
    --ring-angle: 270deg;
    opacity: 1;
  }

  47.5% {
    --ring-angle: 90deg;
    opacity: 1;
  }

  64% {
    --ring-angle: 270deg;
    opacity: 1;
  }

  66.5%,
  100% {
    --ring-angle: 270deg;
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {

  .hero-stats::before,
  .value-item::before,
  .how-step::before,
  .plan-grid> :last-child::before {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    grid-template-columns: 1fr;
    row-gap: 20px;
  }
}

.hero-stat {
  display: grid;
  gap: 20px;
  text-align: center;
}

.hero-stat-v {
  font-size: clamp(4rem, 3.4vw, 6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  background: -webkit-linear-gradient(var(--primary), var(--muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-stat-l {
  color: var(--muted);
}

@media (max-width: 720px) {
  .hero-stats {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    row-gap: 24px;
  }
}

/* ---- How it works ---- */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
  margin: clamp(28px, 4vw, 44px) 0 0;
  padding: 0;
}

.how-step,
.plan-card {
  border: 2px solid var(--line);
  border-radius: var(--r-card);
  padding: clamp(20px, 3vw, 30px);
  position: relative;
  transition:
    transform var(--dur-med) var(--ease-std),
    border-color var(--dur-fast) var(--ease-std),
    box-shadow var(--dur-med) var(--ease-std);
}

.how-step:hover,
.plan-card:hover {
  z-index: 2;
  transform: translateY(-4px) scale(var(--hover-grow));
  border-color: color-mix(in srgb, white 22%, transparent);
  box-shadow: 0 12px 36px -12px color-mix(in srgb, white 5%, transparent);
  cursor: pointer;
}

.how-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--r-pill);
  border: 2px solid var(--line);
  color: var(--text);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.how-step h3 {
  font-size: 1.6rem;
  font-weight: 600;
  margin: 0 0 8px;
}

.how-step p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 2;
  border-top: 1px solid var(--divider);
  padding: 10px 0;
}

@media (max-width: 720px) {
  .how-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Copy email (contact) ---- */
.copy-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
  color: var(--muted);
  font-size: var(--fs-label);
}

.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-family: var(--font);
  font-size: var(--fs-label);
  font-weight: 600;
  color: var(--text);
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: var(--r-pill);
  padding: 8px 14px;
  cursor: pointer;
  transition:
    background var(--dur-fast) var(--ease-std),
    border-color var(--dur-fast) var(--ease-std);
}

.btn-copy:hover {
  background: var(--surface-3);
  border-color: var(--outline);
  cursor: pointer;
}

.btn-copy:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.btn-copy .glyph {
  width: 16px;
  height: 16px;
}

.copy-status {
  color: var(--green);
}

.copy-legacy {
  position: fixed;
  left: -9999px;
  top: 0;
  opacity: 0;
}

/* ---- 404 rescue links ---- */
.err-where {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 34px 0 0;
}

.err-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  max-width: 560px;
}

.err-links a.err-link {
  text-decoration: none;
  color: var(--text);
}

.err-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: var(--r-tile);
  font-size: 1rem;
  font-weight: 600;
  transition:
    border-color var(--dur-fast) var(--ease-std),
    transform var(--dur-fast) var(--ease-std);
}

.err-link::after {
  content: "→";
  color: var(--muted);
}

.err-link:hover {
  border-color: var(--outline);
  transform: translateY(-1px) scale(var(--hover-grow-sm));
  cursor: pointer;
}

.err-link:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

@media (max-width: 480px) {
  .err-links {
    grid-template-columns: 1fr;
  }
}

@keyframes textShine {
  from {
    background-position: 0% center;
  }

  to {
    background-position: 200% center;
  }
}