@view-transition { navigation: auto; }

:root {
  color-scheme: dark light;
  --bg: light-dark(oklch(98.5% 0.006 85), oklch(15% 0.012 265));
  --bg-elev: light-dark(oklch(100% 0 0 / 0.78), oklch(22% 0.015 265 / 0.62));
  --bg-soft: light-dark(oklch(95% 0.01 85), oklch(20% 0.014 265));
  --line: light-dark(oklch(88% 0.012 85), oklch(32% 0.018 265 / 0.7));
  --text: light-dark(oklch(22% 0.02 265), oklch(95% 0.008 85));
  --muted: light-dark(oklch(45% 0.02 265), oklch(74% 0.015 265));
  --accent: oklch(78% 0.16 75);
  --accent-strong: light-dark(oklch(58% 0.15 65), oklch(82% 0.16 78));
  --accent-ink: oklch(22% 0.04 65);
  --violet: oklch(66% 0.19 300);
  --teal: oklch(74% 0.13 185);
  --rose: oklch(70% 0.18 15);
  --good: oklch(72% 0.17 150);
  --bad: oklch(66% 0.2 25);
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 0 oklch(100% 0 0 / 0.04) inset, 0 20px 50px -24px oklch(0% 0 0 / 0.45);
  --max: 1120px;
  --font: "Inter", "SF Pro Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "SF Pro Display", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.09rem);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: -20vmax;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(40vmax 40vmax at 12% 8%, oklch(78% 0.16 75 / 0.18), transparent 60%),
    radial-gradient(38vmax 38vmax at 92% 18%, oklch(66% 0.19 300 / 0.16), transparent 60%),
    radial-gradient(42vmax 42vmax at 60% 100%, oklch(74% 0.13 185 / 0.12), transparent 60%);
  filter: saturate(1.1);
  animation: drift 28s ease-in-out infinite alternate;
}

@keyframes drift {
  to { transform: translate3d(-3vmax, 2vmax, 0) rotate(4deg); }
}

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

a { color: var(--accent-strong); text-underline-offset: 3px; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}

h1, h2, h3 {
  font-family: var(--display);
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 1.6rem + 4vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 1.3rem + 1.8vw, 2.6rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }

p { margin: 0 0 1em; text-wrap: pretty; }

.skip {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.7rem 1rem;
  border-radius: 12px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
}
.skip:focus { top: 1rem; }

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  view-transition-name: site-header;
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  background: color-mix(in oklch, var(--bg) 72%, transparent);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), oklch(70% 0.17 50));
  color: var(--accent-ink);
  box-shadow: 0 6px 20px -6px oklch(78% 0.16 75 / 0.7);
}

.brand-mark svg { width: 18px; height: 18px; }

.top-nav {
  display: flex;
  gap: 0.25rem;
  padding: 0.3rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-elev);
}

.top-nav a {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}

.top-nav a:hover { color: var(--text); }

.top-nav a[aria-current="page"] {
  color: var(--accent-ink);
  background: var(--accent);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text);
  font-weight: 650;
  font-size: 0.92rem;
  text-decoration: none;
  background: var(--bg-elev);
}

.header-cta:hover { border-color: var(--accent); }

.tabbar { display: none; }

@media (max-width: 860px) {
  .top-nav, .header-cta { display: none; }

  .tabbar {
    position: fixed;
    inset: auto 0.75rem calc(0.75rem + env(safe-area-inset-bottom)) 0.75rem;
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 0.35rem;
    view-transition-name: tabbar;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: color-mix(in oklch, var(--bg) 78%, transparent);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    box-shadow: 0 18px 40px -18px oklch(0% 0 0 / 0.6);
  }

  .tabbar a {
    display: grid;
    justify-items: center;
    gap: 2px;
    padding: 0.45rem 0.2rem;
    border-radius: 18px;
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 650;
    text-decoration: none;
  }

  .tabbar svg { width: 22px; height: 22px; }

  .tabbar a[aria-current="page"] {
    color: var(--accent-strong);
    background: color-mix(in oklch, var(--accent) 16%, transparent);
  }

  main { padding-bottom: 6.5rem; }
}

.hero {
  padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(2.5rem, 5vw, 4rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
  padding: 0.35rem 0.85rem 0.35rem 0.4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-elev);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.eyebrow .dot {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: color-mix(in oklch, var(--good) 22%, transparent);
}

.eyebrow .dot::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--good);
  box-shadow: 0 0 0 0 var(--good);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 oklch(72% 0.17 150 / 0.6); }
  70%, 100% { box-shadow: 0 0 0 10px oklch(72% 0.17 150 / 0); }
}

.gradient-text {
  background: linear-gradient(100deg, var(--accent) 0%, oklch(76% 0.17 40) 45%, var(--violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 40rem;
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.2s cubic-bezier(.2,.8,.2,1), box-shadow 0.2s, background 0.2s;
}

.btn svg { width: 20px; height: 20px; }

.btn-primary {
  color: var(--accent-ink);
  background: linear-gradient(135deg, var(--accent), oklch(72% 0.17 55));
  box-shadow: 0 12px 30px -12px oklch(78% 0.16 75 / 0.8);
}

.btn-ghost {
  color: var(--text);
  border-color: var(--line);
  background: var(--bg-elev);
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }

.section { padding: clamp(2.5rem, 6vw, 5rem) 0; }

.section-head { max-width: 44rem; margin-bottom: 2rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

.kicker {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card {
  position: relative;
  padding: clamp(1.3rem, 2.5vw, 1.9rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elev);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: 1.1rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 1.1rem;
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), border-color 0.3s;
}

.feature::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(500px 220px at 0% 0%, var(--tint, var(--accent)), transparent 70%);
  opacity: 0.13;
  pointer-events: none;
  transition: opacity 0.3s;
}

.feature:hover { transform: translateY(-4px); border-color: color-mix(in oklch, var(--tint, var(--accent)) 60%, var(--line)); }
.feature:hover::after { opacity: 0.24; }

.feature p { color: var(--muted); margin-bottom: 0.6rem; }

.feature .more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: light-dark(color-mix(in oklch, var(--tint, var(--accent)) 62%, black), var(--tint, var(--accent)));
  font-weight: 700;
}

.feature .more svg { width: 18px; height: 18px; transition: transform 0.25s; }
.feature:hover .more svg { transform: translateX(4px); }

.icon-tile {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 0.8rem;
  border-radius: 16px;
  color: light-dark(color-mix(in oklch, var(--tint, var(--accent)) 75%, black), var(--tint, var(--accent)));
  background: color-mix(in oklch, var(--tint, var(--accent)) 16%, transparent);
  border: 1px solid color-mix(in oklch, var(--tint, var(--accent)) 30%, transparent);
}

.icon-tile svg { width: 26px; height: 26px; }

.tint-amber { --tint: var(--accent); }
.tint-violet { --tint: var(--violet); }
.tint-teal { --tint: var(--teal); }
.tint-rose { --tint: var(--rose); }

.flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 1rem;
  counter-reset: flow;
  padding: 0;
  margin: 0;
  list-style: none;
}

.flow li {
  position: relative;
  counter-increment: flow;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elev);
}

.flow li::before {
  content: counter(flow);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 0.9rem;
  border-radius: 12px;
  font-weight: 800;
  color: var(--accent-ink);
  background: var(--accent);
}

.flow h3 { margin-bottom: 0.3rem; }
.flow p { margin: 0; color: var(--muted); }

.page-hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 1.5rem; }
.page-hero h1 { font-size: clamp(2.1rem, 1.5rem + 3vw, 3.6rem); view-transition-name: page-title; }

.device-picker {
  position: sticky;
  top: 80px;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
  max-width: 560px;
  margin: 1.5rem 0 2.5rem;
  padding: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: color-mix(in oklch, var(--bg) 80%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.device-picker button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.6rem;
  border: 0;
  border-radius: 15px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}

.device-picker button svg { width: 20px; height: 20px; flex: none; }

.device-picker button[aria-selected="true"] {
  color: var(--accent-ink);
  background: var(--accent);
  box-shadow: 0 8px 22px -10px oklch(78% 0.16 75 / 0.9);
}

.device-panel[hidden] { display: none; }

.device-panel { animation: rise 0.45s cubic-bezier(.2,.8,.2,1); }

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
}

.steps {
  display: grid;
  gap: 1rem;
  padding: 0;
  margin: 0 0 2rem;
  list-style: none;
  counter-reset: step;
}

.steps > li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  align-items: start;
  counter-increment: step;
}

.steps > li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--accent-ink);
  background: linear-gradient(135deg, var(--accent), oklch(72% 0.17 55));
}

.steps h3 { margin: 0.45rem 0 0.35rem; }
.steps p { color: var(--muted); }
.steps p:last-child { margin-bottom: 0; }

.path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin: 0.4rem 0 0.8rem;
}

.path span {
  padding: 0.25rem 0.65rem;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  font-size: 0.9rem;
  font-weight: 650;
}

.path svg { width: 14px; height: 14px; color: var(--muted); }

.setting-list {
  display: grid;
  gap: 0.5rem;
  padding: 0;
  margin: 0.5rem 0 0;
  list-style: none;
}

.setting-list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.4rem 1rem;
  padding: 0.7rem 0.95rem;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}

.setting-list .name { font-weight: 650; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 750;
  white-space: nowrap;
}

.pill-on { color: oklch(30% 0.08 150); background: oklch(85% 0.12 150); }
.pill-off { color: oklch(30% 0.08 25); background: oklch(86% 0.08 25); }
.pill-value { color: var(--accent-ink); background: var(--accent); }

.callout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  margin: 1.5rem 0;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid color-mix(in oklch, var(--tint, var(--accent)) 45%, transparent);
  background: color-mix(in oklch, var(--tint, var(--accent)) 10%, var(--bg-elev));
}

.callout svg { width: 24px; height: 24px; color: var(--tint, var(--accent)); margin-top: 2px; }
.callout p { margin: 0; }
.callout strong { color: var(--text); }

.golden {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.golden li {
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg-elev);
}

.golden strong { display: block; margin-bottom: 0.2rem; font-size: 1.02rem; }
.golden span { color: var(--muted); font-size: 0.95rem; }

.compare {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1rem;
}

.compare .card h3 { display: flex; align-items: center; gap: 0.55rem; }
.compare .card h3 svg { width: 22px; height: 22px; }
.compare .good h3 { color: var(--good); }
.compare .bad h3 { color: var(--bad); }
.compare p { color: var(--muted); margin: 0; }

.timeline {
  position: relative;
  display: grid;
  gap: 1.3rem;
  margin: 0;
  padding: 0 0 0 2.4rem;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(var(--accent), var(--violet), var(--teal));
}

.timeline li { position: relative; }

.timeline li::before {
  content: "";
  position: absolute;
  left: calc(-2.4rem + 7px);
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 3px solid var(--bg);
  background: var(--accent);
  box-shadow: 0 0 0 2px var(--accent);
}

.timeline .when {
  display: inline-block;
  margin-bottom: 0.2rem;
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.timeline h3 { margin-bottom: 0.25rem; }
.timeline p { margin: 0; color: var(--muted); }

.demo-poster {
  position: relative;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.2rem;
  align-items: center;
  max-width: 520px;
}

.poster {
  aspect-ratio: 2 / 3;
  border-radius: 14px;
  background:
    radial-gradient(circle at 30% 25%, oklch(80% 0.15 75 / 0.9), transparent 45%),
    linear-gradient(160deg, oklch(45% 0.14 300), oklch(25% 0.08 265));
  box-shadow: 0 18px 40px -18px oklch(0% 0 0 / 0.7);
}

.fake-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.6rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  font-weight: 700;
  font-size: 0.95rem;
}

.fake-btn svg { width: 18px; height: 18px; color: var(--accent); }

.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 0.9rem;
}

.status {
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg-elev);
}

.status .badge {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  color: oklch(20% 0.03 265);
}

.status p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.badge-processing { background: oklch(80% 0.11 250); }
.badge-partial { background: oklch(82% 0.1 185); }
.badge-available { background: oklch(82% 0.15 150); }

.faq { display: grid; gap: 0.75rem; }

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-elev);
  overflow: hidden;
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  border-right: 2.5px solid var(--muted);
  border-bottom: 2.5px solid var(--muted);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.25s;
}

.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }

.faq details[open] { border-color: color-mix(in oklch, var(--accent) 45%, var(--line)); }

.faq .answer { padding: 0 1.25rem 1.2rem; color: var(--muted); }
.faq .answer p:last-child, .faq .answer ul:last-child { margin-bottom: 0; }
.faq .answer strong { color: var(--text); }

@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq details::details-content {
    height: 0;
    overflow: clip;
    transition: height 0.3s ease, content-visibility 0.3s allow-discrete;
  }
  .faq details[open]::details-content { height: auto; }
}

.big-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid color-mix(in oklch, var(--accent) 40%, var(--line));
  background:
    radial-gradient(600px 300px at 100% 0%, oklch(66% 0.19 300 / 0.25), transparent 70%),
    radial-gradient(500px 300px at 0% 100%, oklch(78% 0.16 75 / 0.22), transparent 70%),
    var(--bg-elev);
}

.big-cta p { color: var(--muted); max-width: 36rem; font-size: 1.1rem; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  font-size: 0.9rem;
  font-weight: 600;
}

.next-page {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  color: inherit;
  text-decoration: none;
}

.next-page small { display: block; color: var(--muted); font-weight: 600; }
.next-page strong { font-size: 1.2rem; font-family: var(--display); }
.next-page svg { width: 28px; height: 28px; color: var(--accent); transition: transform 0.25s; }
.next-page:hover svg { transform: translateX(5px); }

kbd {
  padding: 0.1rem 0.45rem;
  border-radius: 6px;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  background: var(--bg-soft);
  font-family: inherit;
  font-size: 0.9em;
  font-weight: 650;
}

.site-footer {
  margin-top: 3rem;
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer a { color: var(--muted); }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
    @keyframes reveal {
      from { opacity: 0; transform: translateY(28px) scale(0.98); }
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.28s; }

.inline-icon { display: inline; width: 18px; height: 18px; vertical-align: -3px; }
.muted { color: var(--muted); }
.tight { margin: 0; }

@media (max-width: 480px) {
  .device-picker { top: 76px; gap: 0.2rem; }
  .device-picker button { gap: 0.3rem; padding: 0.5rem 0.3rem; font-size: 0.88rem; }
  .device-picker button svg { width: 17px; height: 17px; }
}

@media (max-width: 360px) {
  .device-picker button svg { display: none; }
}
