:root {
  --accent: #1457ff;
  --accent-deep: color-mix(in srgb, var(--accent), #172033 32%);
  --accent-soft: color-mix(in srgb, var(--accent), white 74%);
  --accent-wash: color-mix(in srgb, var(--accent), white 91%);
  --ink: #172033;
  --muted: #617080;
  --line: rgba(23, 32, 51, 0.12);
  --paper: color-mix(in srgb, var(--accent), white 96%);
  --card: rgba(255, 255, 255, 0.86);
  --container: min(1200px, calc(100% - 2.5rem));
  --header-height: 68px;
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; min-width: 320px; overflow-x: hidden; line-height: 1.65; background: var(--paper); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: var(--container); margin-inline: auto; }
main { overflow: clip; }

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--accent), rgba(255,255,255,.88) 94%);
  border-bottom: 1px solid color-mix(in srgb, var(--accent), transparent 84%);
  backdrop-filter: blur(18px);
}
.header-inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: 0.75rem; font-weight: 750; }
.brand-mark { display: block; width: 38px; height: 38px; border-radius: 12px; object-fit: cover; box-shadow: 0 8px 22px color-mix(in srgb, var(--accent), transparent 66%); }
.brand small { display: block; color: var(--muted); font-size: 0.62rem; letter-spacing: 0.14em; }
.nav { display: flex; gap: 1.4rem; font-size: 0.84rem; color: var(--muted); }
.nav a:hover { color: var(--accent); }
.back-link { padding: 0.55rem 0.9rem; border: 1px solid color-mix(in srgb, var(--accent), transparent 72%); border-radius: 999px; color: var(--accent-deep); background: color-mix(in srgb, var(--accent), white 93%); font-size: 0.78rem; }
.back-link:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent), white 87%); }

.hero {
  display: grid;
  width: 100%;
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100svh - var(--header-height));
  padding: clamp(1.75rem, 4vh, 3.25rem) 0;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.eyebrow, .section-kicker { font: 0.7rem/1.4 "Cascadia Code", monospace; letter-spacing: 0.12em; color: var(--accent-deep); text-transform: uppercase; }
.hero h1 { margin: 0.8rem 0; color: var(--hero-ink); font-size: clamp(3rem, 6vw, 5.5rem); line-height: 1; letter-spacing: -0.065em; }
.hero-title-line { display: block; }
[data-app="snipkap"] .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); gap: clamp(2rem, 4vw, 4rem); }
[data-app="snipkap"] .hero h1.has-title-lines { margin: .9rem 0 1.25rem; font-size: clamp(3rem, 5.35vw, 5.1rem); line-height: .98; }
.hero-lead { max-width: 42rem; color: color-mix(in srgb, var(--hero-ink), transparent 22%); font-size: clamp(1rem, 1.5vw, 1.16rem); line-height: 1.85; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 46px; padding: 0 1.25rem; border-radius: 999px; font-weight: 650; font-size: 0.88rem; }
.button-primary { color: var(--hero-button-text); background: var(--hero-ink); box-shadow: 0 14px 34px rgba(9,22,45,.24); }
.button-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(9,22,45,.32); }
.button-secondary { border: 1px solid color-mix(in srgb, var(--hero-ink), transparent 54%); color: var(--hero-ink); background: color-mix(in srgb, var(--hero-ink), transparent 90%); }
.button-secondary:hover { border-color: var(--hero-ink); background: color-mix(in srgb, var(--hero-ink), transparent 82%); }
.hero-download { margin-top: 1.7rem; }
.hero-actions { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; }
.download-button { min-width: 13rem; }
.download-button[aria-disabled="true"] { pointer-events: none; opacity: .55; }
.platform-picker { display: flex; align-items: center; gap: .75rem; margin-top: .8rem; color: color-mix(in srgb, var(--hero-ink), transparent 24%); font-size: .68rem; }
.platform-picker > div { display: flex; gap: .35rem; flex-wrap: wrap; }
.platform-picker button { padding: .25rem .55rem; border: 1px solid color-mix(in srgb, var(--hero-ink), transparent 66%); border-radius: 999px; color: var(--hero-ink); background: color-mix(in srgb, var(--hero-ink), transparent 90%); cursor: pointer; font-size: .68rem; }
.platform-picker button[aria-pressed="true"] { color: var(--hero-button-text); border-color: var(--hero-ink); background: var(--hero-ink); }

.showcase-stage { position: relative; min-height: clamp(320px, 54vh, 460px); min-height: clamp(320px, 54svh, 460px); display: grid; place-items: center; overflow: visible; }
.showcase-stage figure { width: 100%; margin: 0; }
.showcase-stage figcaption { margin-top: 1.1rem; text-align: center; color: color-mix(in srgb, var(--hero-ink), transparent 24%); font-size: .68rem; }
.device-model {
  --model-rx: -4deg;
  --model-ry: -10deg;
  --model-scale: 1;
  position: relative;
  width: 100%;
  padding: 1rem 0 2.75rem;
  perspective: 1200px;
  perspective-origin: 50% 44%;
  touch-action: pan-y;
  outline: none;
}
.device-model:focus-visible { border-radius: 1.25rem; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent), transparent 54%); }
.device-model-orbit {
  width: 100%;
  transform: rotateX(var(--model-rx)) rotateY(var(--model-ry)) scale(var(--model-scale));
  transform-origin: 50% 52%;
  transform-style: preserve-3d;
  transition: transform .32s cubic-bezier(.2,.7,.2,1);
  cursor: grab;
  user-select: none;
}
.device-model.is-interacting .device-model-orbit {
  transition: none;
  will-change: transform;
  cursor: grabbing;
}
.model-toolbar {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: .3rem;
  min-height: 34px;
  padding: .25rem;
  border: 1px solid color-mix(in srgb, var(--accent), transparent 76%);
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 10px 26px rgba(23,32,51,.1);
  backdrop-filter: blur(12px);
  transform: translateX(-50%);
}
.model-hint { padding: 0 .55rem; color: var(--accent-deep); font: .62rem "Cascadia Code", monospace; white-space: nowrap; }
.model-toolbar button {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--accent-deep);
  background: color-mix(in srgb, var(--accent), white 91%);
  cursor: pointer;
  line-height: 1;
}
.model-toolbar button:hover { color: #fff; background: var(--accent-deep); }
.model-toolbar button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.device-screen { position: relative; width: 100%; height: 100%; overflow: hidden; background: var(--accent-wash); }
.device-screen > img { width: 100%; height: 100%; object-fit: cover; }
.device-laptop {
  position: relative;
  width: min(100%, 580px);
  margin-inline: auto;
  padding-bottom: 2.5rem;
  filter: drop-shadow(0 30px 26px rgba(8,18,34,.28));
  transform-style: preserve-3d;
}
.laptop-lid {
  position: relative;
  z-index: 5;
  width: 86%;
  aspect-ratio: 16 / 10;
  margin: auto;
  padding: 15px 15px 20px;
  border: 1px solid #4b5565;
  border-radius: 1.05rem 1.05rem .5rem .5rem;
  background: linear-gradient(145deg, #313a48, #111722 72%);
  box-shadow:
    inset 1px 1px 0 rgba(255,255,255,.16),
    inset -8px -10px 18px rgba(0,0,0,.24),
    0 8px 0 #080d15;
  transform: translateZ(22px);
  transform-style: preserve-3d;
}
.laptop-lid::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(145deg, #7a8492, #202936 36%, #0b111a);
  transform: translateZ(-16px);
  box-shadow: 10px 0 18px rgba(5,12,22,.32);
}
.laptop-lid::after {
  content: "";
  position: absolute;
  top: 4%;
  right: -10px;
  width: 10px;
  height: 92%;
  border-radius: 0 6px 6px 0;
  background: linear-gradient(90deg, #111824, #657080);
  transform: rotateY(90deg);
  transform-origin: left center;
}
.laptop-camera { position: absolute; top: 5px; left: calc(50% - 2px); width: 4px; height: 4px; border-radius: 50%; background: #748296; box-shadow: 0 0 0 1px #060a10, 0 0 5px rgba(88,156,255,.5); transform: translateZ(3px); }
.laptop-lid .device-screen { border: 1px solid #05080d; border-radius: .3rem; box-shadow: 0 0 0 1px rgba(255,255,255,.06), inset 0 0 18px rgba(0,0,0,.18); transform: translateZ(3px); backface-visibility: hidden; }
.laptop-hinge {
  position: relative;
  z-index: 6;
  display: flex;
  justify-content: space-between;
  width: 64%;
  height: 12px;
  margin: -4px auto 0;
  padding-inline: 8%;
  border-radius: 3px 3px 7px 7px;
  background: linear-gradient(180deg, #727c89, #242c38 54%, #0a1019);
  box-shadow: inset 0 1px rgba(255,255,255,.3), 0 4px 7px rgba(0,0,0,.4);
  transform: translateZ(17px);
}
.laptop-hinge i { width: 27%; height: 7px; border-radius: 999px; background: linear-gradient(90deg, #111824, #8c96a2 48%, #151c27); }
.laptop-deck {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 118px;
  margin: -2px auto -52px;
  overflow: hidden;
  border: 1px solid #929aa4;
  border-radius: .35rem .35rem 1.1rem 1.1rem;
  background: linear-gradient(150deg, #f5f7f8 0%, #bdc4cc 50%, #747e89 100%);
  box-shadow: inset 0 2px 1px rgba(255,255,255,.88), inset 0 -10px 16px rgba(69,78,89,.28);
  clip-path: polygon(7% 0, 93% 0, 100% 100%, 0 100%);
  transform: rotateX(64deg) translateZ(13px);
  transform-origin: 50% 0;
  transform-style: preserve-3d;
}
.laptop-deck::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, rgba(255,255,255,.44), transparent 28%, rgba(37,48,61,.16) 76%, rgba(255,255,255,.25));
}
.laptop-keyboard {
  position: absolute;
  top: 11%;
  left: 17%;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 3px;
  width: 66%;
  height: 45%;
  padding: 4px;
  border-radius: 5px;
  background: rgba(46,55,67,.35);
}
.laptop-keyboard i {
  min-width: 0;
  border: 1px solid rgba(6,11,18,.68);
  border-radius: 2px;
  background: linear-gradient(145deg, #424c59, #151c26);
  box-shadow: inset 0 1px rgba(255,255,255,.18);
}
.laptop-trackpad {
  position: absolute;
  left: 37%;
  bottom: 6%;
  width: 26%;
  height: 28%;
  border: 1px solid rgba(78,87,98,.42);
  border-radius: 4px;
  background: rgba(221,225,229,.38);
  box-shadow: inset 0 1px rgba(255,255,255,.55);
}
.laptop-front-edge {
  position: relative;
  z-index: 4;
  width: 100%;
  height: 17px;
  margin: -1px auto 0;
  border-radius: 2px 2px 50% 50%;
  background: linear-gradient(180deg, #aeb5bd 0%, #707985 48%, #303a46 100%);
  box-shadow: inset 0 1px #f5f7f8, 0 6px 8px rgba(6,13,22,.28);
  transform: translateZ(-1px);
}
.laptop-front-edge::after {
  content: "";
  position: absolute;
  inset: 8px 2.5% -7px;
  z-index: -1;
  border-radius: 0 0 50% 50%;
  background: #252e39;
  transform: translateZ(-11px);
}
.laptop-front-edge i { position: absolute; top: 0; left: calc(50% - 38px); width: 76px; height: 6px; border-radius: 0 0 9px 9px; background: #7b8490; box-shadow: inset 0 1px rgba(255,255,255,.35); }
.laptop-ground-shadow { position: absolute; z-index: -1; left: 6%; right: 6%; bottom: 10px; height: 28px; border-radius: 50%; background: rgba(4,12,24,.32); filter: blur(16px); transform: translateZ(-30px); }
.device-model-webgl .device-model-orbit { transform: none; }
.device-model-webgl .device-model-orbit { cursor: grab; }
.device-model-webgl.is-interacting .device-model-orbit { cursor: grabbing; }
.device-laptop {
  width: min(100%, 620px);
  height: clamp(320px, 44svh, 410px);
  padding: 0;
  filter: none;
}
.device-laptop canvas {
  display: block;
  width: 100%;
  height: 100%;
  outline: none;
}
.webgl-fallback { display: none; place-items: center; height: 100%; color: var(--hero-ink); font-size: .78rem; }
.device-laptop.webgl-unavailable canvas { display: none; }
.device-laptop.webgl-unavailable .webgl-fallback { display: grid; }
.device-phone { position: relative; width: min(220px, 62%); aspect-ratio: 9 / 19; margin: auto; padding: 9px; border: 1px solid #556171; border-radius: 2.2rem; background: linear-gradient(145deg, #2e3847, #101721 70%); box-shadow: 0 24px 48px rgba(8,18,34,.34), inset 1px 1px rgba(255,255,255,.16); transform: translateZ(12px); transform-style: preserve-3d; }
.device-phone::before { content: ""; position: absolute; inset: 2px; z-index: -1; border-radius: 2rem; background: linear-gradient(145deg, #707b89, #111925 54%, #050a11); transform: translateZ(-15px); }
.device-phone::after { content: ""; position: absolute; top: 9%; right: -8px; width: 8px; height: 82%; border-radius: 0 5px 5px 0; background: linear-gradient(90deg, #111925, #737f8e); transform: rotateY(90deg); transform-origin: left center; }
.phone-island { position: absolute; z-index: 3; top: 15px; left: calc(50% - 29px); width: 58px; height: 14px; border-radius: 999px; background: #070b11; box-shadow: inset 0 0 0 1px rgba(255,255,255,.04); transform: translateZ(4px); }
.phone-volume, .phone-power { position: absolute; z-index: 4; width: 3px; border-radius: 3px; background: #687484; box-shadow: inset 1px 0 rgba(255,255,255,.26); }
.phone-volume { top: 24%; left: -4px; height: 17%; }
.phone-power { top: 29%; right: -4px; height: 13%; }
.device-phone .device-screen { border: 1px solid #05080d; border-radius: 1.65rem; box-shadow: inset 0 0 12px rgba(0,0,0,.16); transform: translateZ(3px); backface-visibility: hidden; }
.phone-home-indicator { position: absolute; z-index: 3; bottom: 6px; left: calc(50% - 25px); width: 50px; height: 4px; border-radius: 999px; background: rgba(255,255,255,.72); }
.device-mixed { position: relative; min-height: 360px; display: flex; align-items: center; }
.device-mixed .device-laptop { width: 88%; }
.device-mixed .device-phone { position: absolute; right: 0; bottom: -1rem; width: 30%; }
.screen-placeholder { position: relative; height: 100%; display: grid; place-content: center; justify-items: center; gap: .45rem; padding: 1.5rem; text-align: center; background: radial-gradient(circle at 76% 18%, color-mix(in srgb, var(--accent), transparent 60%), transparent 34%), linear-gradient(145deg, #fff, var(--accent-wash) 54%, var(--accent-soft)); }
.screen-placeholder::after { content: ""; position: absolute; inset: 8%; border: 1px solid color-mix(in srgb, var(--accent), transparent 72%); border-radius: 1rem; pointer-events: none; }
.screen-placeholder span { color: var(--accent-deep); font: .58rem "Cascadia Code", monospace; letter-spacing: .12em; }
.screen-placeholder strong { color: var(--accent-deep); font-size: 1.15rem; }
.screen-placeholder small { color: var(--muted); font-size: .66rem; }
.screen-product-logo { width: clamp(64px, 18%, 94px) !important; height: auto !important; margin: .45rem 0 .2rem; border-radius: 22%; object-fit: contain !important; filter: drop-shadow(0 12px 20px color-mix(in srgb, var(--accent), transparent 56%)); }

.scroll-section {
  --parallax-shift: 0px;
  --content-shift: 0px;
  --section-glow: color-mix(in srgb, var(--accent), transparent 84%);
  position: relative;
  isolation: isolate;
  overflow: clip;
}
.scroll-section::before {
  content: "";
  position: absolute;
  z-index: -2;
  width: min(58vw, 760px);
  aspect-ratio: 1;
  top: -24%;
  right: -12%;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, var(--section-glow), transparent 68%);
  filter: blur(2px);
  transform: translate3d(0, var(--parallax-shift), 0);
  will-change: transform;
}
.scroll-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.32), transparent 40%, rgba(255,255,255,.14));
}
.scroll-section > .container {
  position: relative;
  z-index: 1;
  transform: translate3d(0, var(--content-shift), 0);
  will-change: transform;
}
.section-hero {
  --hero-pointer-x: 72%;
  --hero-pointer-y: 38%;
  background: var(--accent);
}
.section-hero::before {
  display: block;
  z-index: 0;
  inset: 0;
  width: auto;
  aspect-ratio: auto;
  border-radius: 0;
  opacity: .58;
  background:
    radial-gradient(
      circle 150px at var(--hero-pointer-x) var(--hero-pointer-y),
      color-mix(in srgb, var(--accent), white 76%),
      transparent 72%
    ),
    radial-gradient(
      circle 420px at var(--hero-pointer-x) var(--hero-pointer-y),
      color-mix(in srgb, var(--accent), white 34%),
      transparent 74%
    );
  filter: blur(14px);
  mix-blend-mode: screen;
  transform: none;
  transition: opacity .35s ease;
  will-change: background;
}
.section-hero.has-pointer-glow::before { opacity: .9; }
.section-hero::after { display: none; }
.section-hero .eyebrow { color: color-mix(in srgb, var(--hero-ink), transparent 18%); }
.section-features {
  --section-glow: color-mix(in srgb, var(--accent), transparent 74%);
  background: linear-gradient(155deg, #fff, color-mix(in srgb, var(--accent), white 91%));
}
.section-features::before { top: 8%; right: auto; left: -18%; }
.section-releases {
  --section-glow: color-mix(in srgb, var(--accent), transparent 70%);
  background: linear-gradient(145deg, color-mix(in srgb, var(--accent), white 84%), #fff 58%, var(--accent-wash));
}
.section-releases::before { top: 20%; right: -18%; }
.section-faq {
  --section-glow: color-mix(in srgb, var(--accent), transparent 76%);
  background: linear-gradient(155deg, #fff, color-mix(in srgb, var(--accent), white 92%));
}
.section-faq::before { top: -8%; right: auto; left: -14%; }
.section-privacy {
  --section-glow: rgba(23,32,51,.1);
  background: linear-gradient(145deg, #e9eceb, #f5f6f2);
}
.section-privacy::before { top: -45%; right: 5%; width: min(46vw, 560px); }

.motion-ready [data-scroll-section] .section-head,
.motion-ready [data-scroll-section] .highlight,
.motion-ready [data-scroll-section] .release-row,
.motion-ready [data-scroll-section] details,
.motion-ready [data-scroll-section] .privacy > *,
.motion-ready .section-hero .hero-grid > * {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition:
    opacity .7s cubic-bezier(.2,.7,.2,1),
    transform .85s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--reveal-delay, 0ms);
}
.motion-ready [data-scroll-section].is-visible .section-head,
.motion-ready [data-scroll-section].is-visible .highlight,
.motion-ready [data-scroll-section].is-visible .release-row,
.motion-ready [data-scroll-section].is-visible details,
.motion-ready [data-scroll-section].is-visible .privacy > *,
.motion-ready .section-hero.is-visible .hero-grid > * {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.section {
  display: grid;
  align-items: center;
  min-height: min(860px, calc(100svh - var(--header-height)));
  padding: clamp(4.5rem, 9vh, 7rem) 0;
  border-top: 1px solid rgba(23,32,51,.08);
}
.section-head { max-width: 48rem; margin-bottom: clamp(2rem, 5vh, 3.5rem); }
.section h2 { margin: 0.6rem 0 0; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.1; letter-spacing: -0.05em; }
.section-intro { max-width: 42rem; color: var(--muted); }
#features { min-height: min(760px, calc(100svh - var(--header-height))); padding-block: clamp(3.5rem, 7vh, 5.5rem); }
#features .section-head { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(320px, 1.2fr); align-items: end; max-width: none; gap: 2rem; margin-bottom: 1.35rem; }
#features .section-kicker { grid-column: 1 / -1; margin: 0; }
#features .section-intro { margin: 0; }
#features h2 { font-size: clamp(1.8rem, 3.2vw, 2.8rem); }
.highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.highlight { min-height: 140px; padding: 1.3rem; border-radius: 1.2rem; background: linear-gradient(145deg, rgba(255,255,255,.92), color-mix(in srgb, var(--accent), rgba(255,255,255,.82) 92%)); border: 1px solid color-mix(in srgb, var(--accent), transparent 82%); box-shadow: 0 16px 42px color-mix(in srgb, var(--accent), transparent 92%); transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.highlight:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--accent), transparent 55%); box-shadow: 0 22px 48px rgba(23,32,51,.1); }
.highlight b { display: block; margin-bottom: 1.35rem; color: var(--accent); font: 0.68rem "Cascadia Code", monospace; }
.highlight h3 { margin: 0; font-size: 1.05rem; }

.release-card { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2rem; padding: clamp(1.4rem, 4vw, 2.5rem); border-radius: 1.8rem; background: var(--ink); color: #fff; }
.release-version { margin: 0; font-size: clamp(2.6rem, 6vw, 5.5rem); line-height: 1; letter-spacing: -0.06em; }
.release-date { color: #aeb8c7; font-size: 0.8rem; }
.download-list { display: grid; gap: 0.7rem; }
.download { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem; border-radius: 1rem; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.12); }
.download:hover { background: rgba(255,255,255,.16); }
.download small { display: block; color: #b6c0cd; }
.coming { padding: 3rem; border: 1px dashed var(--line); border-radius: 1.5rem; text-align: center; color: var(--muted); background: rgba(255,255,255,.45); }

.release-history { position: relative; display: grid; gap: 1.5rem; }
.release-history::before { content: ""; position: absolute; top: 1.15rem; bottom: 1.15rem; left: 171px; width: 2px; border-radius: 999px; background: linear-gradient(to bottom, var(--accent), color-mix(in srgb, var(--accent), transparent 72%)); }
.release-row { position: relative; display: grid; grid-template-columns: 140px 32px minmax(0, 1fr); grid-template-areas: "meta marker body"; column-gap: 1rem; align-items: start; }
.release-meta { grid-area: meta; padding-top: .85rem; text-align: right; }
.release-meta h3 { margin: .25rem 0 .1rem; font-size: 1.35rem; }
.release-meta time { color: var(--muted); font-size: 0.76rem; }
.release-current { display: inline-flex; padding: .2rem .55rem; border-radius: 999px; color: var(--accent); background: color-mix(in srgb, var(--accent), white 90%); font-size: .65rem; font-weight: 700; }
.release-marker { grid-area: marker; position: relative; z-index: 1; display: block; width: 16px; height: 16px; margin: 1.3rem auto 0; border: 4px solid color-mix(in srgb, var(--accent), white 82%); border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent), transparent 86%); }
.release-row:not(.is-latest) .release-marker { width: 12px; height: 12px; margin-top: 1.45rem; border-width: 3px; background: color-mix(in srgb, var(--accent), white 34%); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent), transparent 90%); }
.release-body { grid-area: body; min-width: 0; padding: clamp(1.5rem, 3vw, 2.25rem); border: 1px solid rgba(23,32,51,.1); border-radius: 1.35rem; background: rgba(255,255,255,.72); box-shadow: 0 18px 48px rgba(23,32,51,.06); }
.release-row.is-latest .release-body { border-color: color-mix(in srgb, var(--accent), transparent 66%); background: color-mix(in srgb, var(--accent), white 95%); }
.release-body > p { margin-top: 0; }
.change-columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.change-columns h4 { margin: 0 0 0.5rem; font-size: 0.82rem; }
.change-columns ul { margin: 0; padding-left: 1.1rem; color: var(--muted); font-size: 0.86rem; }
.change-columns li { margin-bottom: .55rem; padding-left: .1rem; }
.change-text { vertical-align: middle; }
.proposer-badge { display: inline-flex; align-items: center; margin-left: .55rem; padding: .12rem .48rem; border: 1px solid color-mix(in srgb, var(--accent), transparent 62%); border-radius: 999px; color: var(--accent); background: color-mix(in srgb, var(--accent), white 92%); font-size: .62rem; font-weight: 700; line-height: 1.45; vertical-align: middle; white-space: nowrap; }
.release-downloads { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1.25rem; }
.release-download { display: inline-flex; align-items: center; justify-content: space-between; gap: 1rem; min-width: 210px; padding: 0.75rem 0.9rem; border: 1px solid var(--line); border-radius: 0.85rem; background: var(--card); font-size: 0.82rem; font-weight: 650; }
.release-download:hover { border-color: var(--accent); color: var(--accent); }
.release-download span { color: var(--accent); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; counter-reset: steps; }
.step { counter-increment: steps; padding: 1.5rem; border-left: 2px solid var(--accent); background: rgba(255,255,255,.48); }
.step::before { content: "0" counter(steps); display: block; margin-bottom: 2rem; color: var(--accent); font: 0.72rem "Cascadia Code", monospace; }
.faq { display: grid; grid-template-columns: repeat(2, 1fr); align-items: start; gap: 1rem; }
details { padding: 1.2rem 1.3rem; border: 1px solid rgba(23,32,51,.1); border-radius: 1rem; background: rgba(255,255,255,.68); box-shadow: 0 12px 32px rgba(23,32,51,.04); transition: border-color .25s ease, background .25s ease, transform .25s ease; }
details:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent), transparent 60%); }
details[open] { border-color: color-mix(in srgb, var(--accent), transparent 52%); background: rgba(255,255,255,.9); }
summary { cursor: pointer; font-weight: 650; }
details p { margin: 0.8rem 0 0; color: var(--muted); font-size: 0.88rem; }

.ad-shell { min-height: 90px; margin: 2rem auto; display: grid; place-items: center; }
.ad-shell::before { content: "ADVERTISEMENT"; color: var(--muted); font: 0.58rem "Cascadia Code", monospace; letter-spacing: .12em; }
.ad-shell .adsbygoogle { width: 100%; }
.section-privacy { min-height: min(560px, 68svh); }
.privacy { max-width: 820px; color: var(--muted); font-size: 0.9rem; }
.privacy h2 { color: var(--ink); }
.site-footer { padding: 3rem 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--muted); font-size: 0.76rem; }
.footer-links { display: flex; gap: 1rem; }
.consent {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 50;
  width: min(420px, calc(100% - 2rem)); padding: 1.2rem;
  color: #fff; background: var(--ink); border-radius: 1.2rem;
  box-shadow: 0 18px 60px rgba(23,32,51,.28);
}
.consent[hidden] { display: none; }
.consent p { margin: 0 0 1rem; color: #c8d0da; font-size: .82rem; }
.consent-actions { display: flex; gap: .6rem; justify-content: flex-end; }
.consent button { padding: .55rem .9rem; border: 0; border-radius: 999px; cursor: pointer; }
.consent-accept { color: #fff; background: var(--accent); }

.section-discovery { min-height: auto; }
.seo-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.seo-card { display: block; padding: clamp(1.3rem, 3vw, 2rem); border: 1px solid rgba(23,32,51,.1); border-radius: 1.35rem; background: rgba(255,255,255,.74); box-shadow: 0 18px 48px rgba(23,32,51,.05); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.seo-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent), transparent 56%); box-shadow: 0 22px 52px rgba(23,32,51,.09); }
.seo-card span { color: var(--accent); font: 700 .64rem "Cascadia Code", monospace; letter-spacing: .12em; text-transform: uppercase; }
.seo-card h3 { margin: .7rem 0 .55rem; font-size: clamp(1.15rem, 2vw, 1.45rem); }
.seo-card p { margin: 0; color: var(--muted); font-size: .88rem; }
.seo-card b { display: inline-block; margin-top: 1.2rem; color: var(--accent); font-size: .78rem; }

.seo-page { background: linear-gradient(180deg, color-mix(in srgb, var(--accent), white 96%), var(--bg) 35rem); }
.seo-article { padding-block: clamp(2rem, 5vw, 4rem) clamp(5rem, 9vw, 8rem); }
.breadcrumbs { display: flex; gap: .6rem; align-items: center; margin-bottom: clamp(2.5rem, 6vw, 5rem); color: var(--muted); font-size: .78rem; }
.breadcrumbs a:hover { color: var(--accent); }
.seo-article-head { max-width: 900px; margin-bottom: clamp(3rem, 7vw, 5rem); }
.seo-article-head h1 { max-width: 860px; margin: .7rem 0 1.2rem; font-size: clamp(2.5rem, 6vw, 5.4rem); line-height: .98; letter-spacing: -.06em; }
.seo-article-head > p:not(.section-kicker) { max-width: 760px; color: var(--muted); font-size: clamp(1rem, 2vw, 1.2rem); line-height: 1.85; }
.seo-article-head time { display: block; margin-top: 1rem; color: var(--muted); font-size: .76rem; }
.seo-prose { max-width: 860px; margin-inline: auto; }
.seo-prose section { padding: clamp(2rem, 5vw, 3.5rem) 0; border-top: 1px solid var(--line); }
.seo-prose h2, .seo-faq > h2, .seo-sources h2, .seo-related > h2, .seo-cta h2 { margin: 0 0 1.2rem; font-size: clamp(1.75rem, 3.5vw, 2.7rem); letter-spacing: -.04em; }
.seo-prose p, .seo-prose li, .seo-sources { color: var(--muted); line-height: 1.85; }
.seo-prose ul { padding-left: 1.25rem; }
.seo-prose li { margin-block: .55rem; }
.seo-table-wrap { margin: 0 0 clamp(3rem, 7vw, 5rem); overflow-x: auto; border: 1px solid var(--line); border-radius: 1.35rem; background: rgba(255,255,255,.82); box-shadow: 0 18px 48px rgba(23,32,51,.05); }
.seo-table { width: 100%; min-width: 760px; border-collapse: collapse; text-align: left; }
.seo-table caption { padding: 1.3rem 1.5rem; color: var(--muted); font-size: .78rem; text-align: left; }
.seo-table th, .seo-table td { padding: 1rem 1.2rem; border-top: 1px solid var(--line); vertical-align: top; font-size: .84rem; line-height: 1.65; }
.seo-table thead th { color: #fff; background: var(--ink); }
.seo-table tbody th { width: 17%; color: var(--ink); background: color-mix(in srgb, var(--accent), white 95%); }
.seo-faq, .seo-sources, .seo-related, .seo-cta { margin-top: clamp(3.5rem, 8vw, 6rem); padding-top: clamp(2.5rem, 6vw, 4rem); border-top: 1px solid var(--line); }
.seo-sources { max-width: 860px; margin-inline: auto; }
.seo-sources ul { padding-left: 1.2rem; }
.seo-sources a { color: var(--accent); text-decoration: underline; text-underline-offset: .18em; }
.seo-related .seo-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.seo-cta { padding: clamp(2rem, 5vw, 3.5rem); border: 0; border-radius: 1.6rem; color: #fff; background: var(--ink); }
.seo-cta p { max-width: 720px; color: #c8d0da; line-height: 1.75; }
.seo-cta .button { margin-top: 1rem; }

@media (max-width: 820px) {
  :root { --container: min(100% - 2rem, 680px); }
  .nav { display: none; }
  .section { min-height: auto; padding-block: 4.5rem; }
  .section-head { margin-bottom: 2rem; }
  .seo-card-grid, .seo-related .seo-card-grid { grid-template-columns: 1fr; }
  .scroll-section::before { width: 90vw; right: -36%; opacity: .8; }
  .scroll-section > .container { transform: none; }
  .hero { min-height: calc(100svh - var(--header-height)); padding: 1.75rem 0 2.25rem; overflow: clip; }
  .hero-grid, .release-card { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  [data-app="snipkap"] .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .hero h1 { font-size: clamp(2.75rem, 10vw, 4.5rem); }
  [data-app="snipkap"] .hero h1.has-title-lines { font-size: clamp(2.75rem, 10vw, 4.5rem); }
  .hero-title-line { display: inline; }
  .hero-title-line + .hero-title-line::before { content: " "; }
  .hero-lead { max-width: 38rem; margin-block: .75rem 0; line-height: 1.7; }
  .hero-download { margin-top: 1.25rem; }
  .showcase-stage { min-height: clamp(280px, 36svh, 360px); }
  .device-laptop { width: min(86%, 520px); }
  .device-laptop { height: 300px; }
  #features { min-height: auto; padding-block: 4rem; }
  #features .section-head { grid-template-columns: 1fr; gap: .7rem; }
  .highlights, .steps { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; }
  .section-privacy { min-height: auto; }
}
@media (max-width: 560px) {
  :root { --container: calc(100% - 1.25rem); --header-height: 60px; }
  .header-inner { gap: .75rem; }
  .brand-mark { width: 34px; height: 34px; border-radius: 10px; }
  .brand small { display: none; }
  .back-link { display: none; }
  .hero { min-height: calc(100svh - var(--header-height)); padding: 1.25rem 0 1.75rem; }
  .hero-grid { gap: 1.15rem; }
  .eyebrow { margin: 0; font-size: .6rem; }
  .hero h1 { margin: .45rem 0; font-size: clamp(2.55rem, 14vw, 3.6rem); }
  [data-app="snipkap"] .hero h1.has-title-lines { margin: .45rem 0; font-size: clamp(2.55rem, 14vw, 3.6rem); line-height: 1; }
  .hero-lead { margin: 0; font-size: .92rem; line-height: 1.58; }
  .hero-download { margin-top: 1rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; min-height: 43px; }
  .platform-picker { align-items: flex-start; flex-direction: column; gap: .45rem; margin-top: .65rem; }
  .showcase-stage { min-height: clamp(210px, 29svh, 280px); }
  .showcase-stage figcaption { margin-top: .55rem; }
  .device-model { padding: .5rem 0 2.45rem; perspective: 900px; }
  .model-toolbar { min-height: 32px; }
  .model-hint { font-size: .56rem; }
  .model-toolbar button { width: 26px; height: 26px; }
  .device-laptop { width: min(94%, 430px); }
  .device-laptop { height: 230px; }
  .device-phone { width: min(132px, 36vw); }
  .device-mixed { min-height: 230px; }
  .device-mixed .device-laptop { width: 88%; }
  .device-mixed .device-phone { width: 28%; }
  .section { padding-block: 3.75rem; }
  .section h2 { font-size: clamp(1.9rem, 10vw, 2.65rem); }
  .highlight { min-height: 118px; }
  .release-history { gap: 1.25rem; }
  .release-history::before { top: .55rem; bottom: .55rem; left: 11px; }
  .release-row { grid-template-columns: 24px minmax(0, 1fr); grid-template-areas: "marker meta" "marker body"; column-gap: .85rem; row-gap: .75rem; }
  .release-meta { padding-top: 0; text-align: left; }
  .release-meta h3 { display: inline; margin-right: .45rem; }
  .release-current { margin-right: .45rem; }
  .release-marker { margin-top: .25rem; }
  .release-row:not(.is-latest) .release-marker { margin-top: .35rem; }
  .release-body { padding: 1.25rem; }
  .change-columns { grid-template-columns: 1fr; }
  .release-download { width: 100%; min-width: 0; }
}
@media (max-height: 700px) and (min-width: 821px) {
  .hero { padding-block: 1.25rem; }
  .hero h1 { font-size: clamp(3rem, 8vh, 4.5rem); }
  [data-app="snipkap"] .hero h1.has-title-lines { font-size: clamp(3rem, 8vh, 4.5rem); }
  .hero-lead { line-height: 1.6; }
  .hero-download { margin-top: 1rem; }
  .showcase-stage { min-height: clamp(280px, 50svh, 360px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-section::before,
  .scroll-section > .container { transform: none !important; }
  .device-model-orbit { transition: none; }
  .motion-ready [data-scroll-section] .section-head,
  .motion-ready [data-scroll-section] .highlight,
  .motion-ready [data-scroll-section] .release-row,
  .motion-ready [data-scroll-section] details,
  .motion-ready [data-scroll-section] .privacy > *,
  .motion-ready .section-hero .hero-grid > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
