/* ==========================================================================
   SeraBrowser — product site
   Local Poppins, dark by default, no external dependencies.
   ========================================================================== */

@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/Poppins-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/Poppins-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/Poppins-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------------------------------------------------------------- tokens */
:root {
  --bg: #07060a;
  --bg-elev: #0b0910;
  --surface: #100e17;
  --surface-2: #17131f;
  --surface-3: #1e1929;
  --text: #f5f2fa;
  --text-2: #c7c0d4;
  --text-3: #948ca4;
  --line: rgba(255, 255, 255, 0.075);
  --line-strong: rgba(255, 255, 255, 0.14);
  --accent: #a78bfa;
  --accent-2: #8b5cf6;
  --accent-3: #f472b6;
  --accent-ink: #c4b5fd;
  --accent-soft: rgba(167, 139, 250, 0.12);
  --success: #4ade80;
  --frame-bg: #0b0910;
  --frame-line: rgba(255, 255, 255, 0.1);
  --grad-hero: linear-gradient(104deg, #e4dcff 2%, #b7a2ff 38%, #a78bfa 62%, #f472b6 100%);
  --grad-primary: linear-gradient(135deg, #9d7bf8 0%, #7c4ddb 52%, #6b30c9 100%);
  --grad-wash: radial-gradient(circle at 30% 20%, rgba(167, 139, 250, 0.28), transparent 62%),
               radial-gradient(circle at 76% 74%, rgba(244, 114, 182, 0.16), transparent 58%);
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-lg: 0 40px 100px -40px rgba(0, 0, 0, 0.9);
  --shadow-md: 0 20px 50px -26px rgba(0, 0, 0, 0.8);
  --font: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  --shell: 1160px;
  --gutter: clamp(20px, 4.4vw, 42px);
  --header-h: 78px;
}

[data-theme="light"] {
  --bg: #f6f4fa;
  --bg-elev: #ffffff;
  --surface: #ffffff;
  --surface-2: #f1edf8;
  --surface-3: #e8e2f2;
  --text: #16111f;
  --text-2: #4c4559;
  --text-3: #6d657c;
  --line: rgba(22, 17, 31, 0.09);
  --line-strong: rgba(22, 17, 31, 0.16);
  --accent: #7b4fe0;
  --accent-2: #6d3fd1;
  --accent-3: #cf2d7c;
  --accent-ink: #6537d6;
  --accent-soft: rgba(123, 79, 224, 0.09);
  --success: #168a4a;
  --frame-bg: #0b0910;
  --frame-line: rgba(22, 17, 31, 0.14);
  --grad-hero: linear-gradient(104deg, #4a2a9e 0%, #6d3fd1 44%, #8b5cf6 68%, #c42a74 100%);
  --grad-primary: linear-gradient(135deg, #8757eb 0%, #6d3fd1 52%, #5a2bb0 100%);
  --grad-wash: radial-gradient(circle at 30% 20%, rgba(139, 92, 246, 0.2), transparent 62%),
               radial-gradient(circle at 76% 74%, rgba(219, 39, 119, 0.1), transparent 58%);
  --shadow-lg: 0 40px 90px -44px rgba(41, 24, 72, 0.35);
  --shadow-md: 0 20px 45px -30px rgba(41, 24, 72, 0.3);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color 0.35s ease, color 0.35s ease;
}

body.menu-open { overflow: hidden; }

h1, h2, h3, h4, p, figure, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }

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

::selection { background: rgba(167, 139, 250, 0.35); color: #fff; }

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

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--accent-2);
  color: #fff;
  font-size: 13px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}
.skip-link:focus-visible { transform: translateY(0); }

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

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

.section { position: relative; padding: clamp(76px, 9vw, 124px) 0; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(20px, 4vw, 60px);
  align-items: end;
  margin-bottom: clamp(34px, 4.6vw, 54px);
}
.section-head h2,
.section h2 {
  font-size: clamp(2rem, 3.9vw, 3.15rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.042em;
  text-wrap: balance;
}
.section-head p {
  max-width: 50ch;
  color: var(--text-2);
  font-size: 14.8px;
  line-height: 1.75;
  padding-bottom: 4px;
}
.section-head-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  padding-bottom: 4px;
}
.section-head-copy p { padding-bottom: 0; }

.section-lede {
  max-width: 48ch;
  color: var(--text-2);
  font-size: 15.2px;
  line-height: 1.78;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  color: var(--text-2);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow-dot {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(167, 139, 250, 0.12);
}
.eyebrow-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid rgba(167, 139, 250, 0.35);
  animation: ping 2.8s cubic-bezier(0.2, 0.7, 0.2, 1) infinite;
}

.status-dot {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--success) 16%, transparent);
}

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.006em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.22s ease, background-color 0.2s ease,
              border-color 0.2s ease, color 0.2s ease;
}
.btn .icon { width: 16px; height: 16px; }
.btn-primary {
  position: relative;
  overflow: hidden;
  background: var(--grad-primary);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 34px -14px rgba(124, 77, 219, 0.75),
              inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(108deg, transparent 25%, rgba(255, 255, 255, 0.22) 48%, transparent 68%);
  transform: translateX(-130%);
  transition: transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 20px 42px -16px rgba(124, 77, 219, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.2); }
.btn-primary:hover::after { transform: translateX(130%); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: color-mix(in srgb, var(--surface) 45%, transparent);
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover {
  background: var(--surface);
  border-color: color-mix(in srgb, var(--accent) 42%, var(--line-strong));
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent-ink);
  font-size: 12.5px;
  font-weight: 500;
  transition: color 0.18s ease;
}
.text-link .icon { width: 14px; height: 14px; transition: transform 0.2s ease; }
.text-link:hover { color: var(--accent); }
.text-link:hover .icon { transform: translateX(3px); }

/* ---------------------------------------------------------------- header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}
.site-header.scrolled,
.site-header.menu-open {
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  overflow: hidden;
  background:
    radial-gradient(120% 120% at 22% 12%, rgba(255, 255, 255, 0.38), transparent 46%),
    linear-gradient(145deg, #a78bfa 0%, #7c3aed 48%, #d946ef 115%);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.05em;
  box-shadow: 0 8px 22px -8px rgba(124, 58, 237, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}
.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: inherit;
  object-fit: cover;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 14px; font-weight: 600; letter-spacing: -0.018em; }
.brand-text small {
  margin-top: 2px;
  color: var(--text-3);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 30px);
  margin-left: auto;
}
.nav-links a {
  position: relative;
  padding: 6px 0;
  color: var(--text-2);
  font-size: 12.8px;
  font-weight: 450;
  transition: color 0.18s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--accent-3));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after,
.nav-links a.is-active::after { transform: scaleX(1); }
.nav-links a.is-active { color: var(--text); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: color-mix(in srgb, var(--surface) 40%, transparent);
  color: var(--text-2);
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.theme-toggle:hover { background: var(--surface-2); border-color: color-mix(in srgb, var(--accent) 36%, var(--line-strong)); color: var(--text); }
.theme-toggle .icon { width: 17px; height: 17px; }
.theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }

.btn-nav { min-height: 42px; padding: 0 17px; font-size: 12.5px; border-radius: 10px; }
.btn-nav .icon { width: 15px; height: 15px; }

.nav-menu-btn {
  display: none;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.mobile-menu {
  display: none;
  overflow: hidden;
  max-height: 0;
  padding-inline: var(--gutter);
  background: color-mix(in srgb, var(--bg) 97%, transparent);
  visibility: hidden;
  opacity: 0;
  transition: max-height 0.32s ease, opacity 0.24s ease, visibility 0s linear 0.32s;
}
.mobile-menu.open {
  max-height: 460px;
  visibility: visible;
  opacity: 1;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 50px -30px rgba(0, 0, 0, 0.9);
  transition: max-height 0.32s ease, opacity 0.24s ease, visibility 0s;
}
.menu-scrim {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 110;
  display: none;
  background: color-mix(in srgb, var(--bg) 48%, transparent);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
body.menu-open .menu-scrim { display: block; }
.mobile-menu a:not(.btn) {
  display: block;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
  color: var(--text-2);
  font-size: 14.5px;
}
.mobile-menu a:not(.btn):hover { color: var(--text); }
.mobile-menu .btn { width: 100%; margin: 16px 0 20px; }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(52px, 8vw, 96px));
  padding-bottom: clamp(60px, 7vw, 96px);
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% 0;
  background:
    radial-gradient(52% 52% at 76% 26%, rgba(139, 92, 246, 0.22), transparent 66%),
    radial-gradient(34% 34% at 94% 72%, rgba(244, 114, 182, 0.13), transparent 70%),
    radial-gradient(42% 38% at 6% 8%, rgba(99, 102, 241, 0.12), transparent 64%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 74px 74px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 20%, #000 0%, transparent 76%);
  mask-image: radial-gradient(ellipse 70% 60% at 60% 20%, #000 0%, transparent 76%);
  pointer-events: none;
}
[data-theme="light"] .hero::after {
  background-image:
    linear-gradient(to right, rgba(22, 17, 31, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(22, 17, 31, 0.045) 1px, transparent 1px);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  align-items: center;
  gap: clamp(34px, 5vw, 70px);
}
.hero-copy h1 {
  margin: 0 0 24px;
  font-size: clamp(2.85rem, 5.5vw, 4.85rem);
  font-weight: 600;
  line-height: 0.99;
  letter-spacing: -0.048em;
  text-wrap: balance;
}
.gradient {
  background: var(--grad-hero);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-copy .lede {
  max-width: 43ch;
  color: var(--text-2);
  font-size: clamp(14.5px, 1.3vw, 16.2px);
  line-height: 1.72;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
  margin-top: 32px;
}

.hero-copy > * { animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero-copy > :nth-child(1) { animation-delay: 0.02s; }
.hero-copy > :nth-child(2) { animation-delay: 0.09s; }
.hero-copy > :nth-child(3) { animation-delay: 0.16s; }
.hero-copy > :nth-child(4) { animation-delay: 0.23s; }

.hero-visual {
  position: relative;
  z-index: 1;
  padding: 10px 4px 0;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 10% 0% -6% 8%;
  z-index: 0;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(150deg, color-mix(in srgb, var(--surface-2) 70%, transparent), transparent 70%);
  transform: rotate(2.4deg);
  opacity: 0.7;
}
.hero-aura {
  position: absolute;
  inset: 4% -8% 8% 2%;
  z-index: 0;
  background: radial-gradient(circle at 60% 42%, rgba(139, 92, 246, 0.4), transparent 62%),
              radial-gradient(circle at 82% 80%, rgba(244, 114, 182, 0.2), transparent 58%);
  filter: blur(46px);
  opacity: 0.75;
  animation: drift 16s ease-in-out infinite alternate;
}
.hero-frame {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 7px;
  border-radius: 22px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.025) 42%, rgba(167, 139, 250, 0.2));
  box-shadow: 0 60px 110px -42px rgba(0, 0, 0, 0.92), 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.hero-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(142deg, rgba(196, 181, 253, 0.55), rgba(255, 255, 255, 0.04) 42%, rgba(244, 114, 182, 0.34));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}
.hero-frame img {
  width: 100%;
  border-radius: 16px;
  background: var(--frame-bg);
}
.hero-caption {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding-left: 4px;
  color: var(--text-2);
  font-size: 11.5px;
  letter-spacing: 0.005em;
}
.hero-caption .status-dot { width: 5px; height: 5px; }

.hero-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px 9px 9px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 13px;
  background: color-mix(in srgb, #0d0b13 86%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  backdrop-filter: blur(16px) saturate(130%);
  color: #f4f0fb;
  box-shadow: 0 20px 45px -18px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  animation: bob 7s ease-in-out infinite alternate;
}
.hero-chip > span:last-child { display: flex; flex-direction: column; line-height: 1.2; }
.hero-chip b { font-size: 11.5px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.hero-chip small { margin-top: 2px; color: #a79fb8; font-size: 8.2px; letter-spacing: 0.01em; white-space: nowrap; }
.hero-chip-icon {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  flex: none;
  border-radius: 9px;
  border: 1px solid rgba(167, 139, 250, 0.3);
  background: rgba(167, 139, 250, 0.14);
  color: #c4b5fd;
}
.hero-chip-icon .icon { width: 14px; height: 14px; }
.hero-chip-mark {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  flex: none;
  border-radius: 9px;
  background: linear-gradient(145deg, #a78bfa, #6d28d9);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: -0.02em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}
.hero-chip-ad { left: -20px; top: 15%; animation-delay: 0.8s; }
.hero-chip-fx { right: -12px; bottom: 62px; }

/* ---------------------------------------------------------------- stats */
.stats-strip {
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 48%, transparent), transparent);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.stat {
  padding: 25px clamp(14px, 2.6vw, 34px);
  border-left: 1px solid var(--line);
}
.stat:first-child { padding-left: 0; border-left: 0; }
.stat:last-child { padding-right: 0; }
.stat-value {
  display: block;
  font-size: clamp(1.55rem, 2.5vw, 2.05rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.038em;
  font-variant-numeric: tabular-nums;
}
.stat-value span {
  margin-left: 2px;
  color: var(--text-3);
  font-size: 0.52em;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.stat-label {
  display: block;
  margin-top: 5px;
  color: var(--text-3);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ---------------------------------------------------------------- bento */
.features { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--surface) 22%, transparent) 40%, transparent); }
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}
.feature {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 2.4vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.035), transparent 52%),
    var(--surface);
  box-shadow: var(--shadow-md);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.3s ease;
}
[data-theme="light"] .feature {
  background:
    linear-gradient(160deg, rgba(123, 79, 224, 0.045), transparent 52%),
    var(--surface);
}
.feature::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  top: -140px;
  right: -110px;
  border-radius: 50%;
  background: var(--grad-wash);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.feature:hover { border-color: var(--line-strong); box-shadow: 0 30px 60px -34px rgba(0, 0, 0, 0.85); }
.feature:hover::before { opacity: 0.55; }
[data-theme="light"] .feature:hover { box-shadow: 0 26px 50px -34px rgba(41, 24, 72, 0.35); }

.feature h3 {
  margin: 14px 0 9px;
  font-size: clamp(1.12rem, 1.5vw, 1.32rem);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -0.025em;
}
.feature p {
  max-width: 44ch;
  color: var(--text-2);
  font-size: 12.8px;
  line-height: 1.72;
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line));
  background: var(--accent-soft);
  color: var(--accent-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.feature-icon .icon { width: 18px; height: 18px; }

.feature-ad {
  grid-column: 1 / span 7;
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
}
.feature-ad .feature-copy { position: relative; z-index: 1; max-width: 46ch; }
.feature-ad p { max-width: 42ch; }

.ad-visual {
  position: relative;
  flex: 1;
  min-height: 246px;
  margin-top: 12px;
  display: grid;
  place-items: center;
}
.ad-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(167, 139, 250, 0.18);
}
.ad-ring-1 { width: 148px; height: 148px; border-color: rgba(167, 139, 250, 0.3); }
.ad-ring-2 { width: 224px; height: 224px; border-style: dashed; opacity: 0.72; }
.ad-ring-3 { width: 306px; height: 306px; border-color: rgba(244, 114, 182, 0.13); }
.ad-visual::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 68%, rgba(167, 139, 250, 0.3) 84%, transparent 96%);
  -webkit-mask: radial-gradient(circle, transparent 62%, #000 63%, #000 100%);
  mask: radial-gradient(circle, transparent 62%, #000 63%, #000 100%);
  animation: spin 16s linear infinite;
  opacity: 0.8;
}
.ad-core {
  position: relative;
  z-index: 1;
  display: grid;
  place-content: center;
  width: 148px;
  height: 148px;
  padding-top: 4px;
  border-radius: 50%;
  text-align: center;
  background:
    radial-gradient(circle at 34% 26%, rgba(167, 139, 250, 0.28), transparent 56%),
    linear-gradient(160deg, var(--surface-2), var(--bg-elev));
  border: 1px solid rgba(167, 139, 250, 0.34);
  box-shadow: 0 0 70px rgba(139, 92, 246, 0.26), inset 0 0 34px rgba(139, 92, 246, 0.12);
}
.ad-core b {
  display: block;
  font-size: 40px;
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.05em;
}
.ad-core small {
  color: var(--text-3);
  font-size: 12px;
  letter-spacing: 0.02em;
}
.ad-core em {
  display: block;
  margin-top: 6px;
  color: var(--accent-ink);
  font-style: normal;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
[data-theme="light"] .ad-ring { border-color: rgba(109, 63, 209, 0.24); }
[data-theme="light"] .ad-ring-1 { border-color: rgba(109, 63, 209, 0.46); }
[data-theme="light"] .ad-ring-3 { border-color: rgba(203, 45, 124, 0.24); }
[data-theme="light"] .ad-visual::before { display: none; }
[data-theme="light"] .ad-core {
  background:
    radial-gradient(circle at 34% 26%, rgba(139, 92, 246, 0.26), transparent 56%),
    linear-gradient(160deg, #ffffff, #ece4fc);
  border-color: rgba(109, 63, 209, 0.36);
  box-shadow: 0 0 70px rgba(139, 92, 246, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.85), inset 0 0 30px rgba(139, 92, 246, 0.09);
}

.feature-fx {
  grid-column: 8 / span 5;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 206px;
}
.feature-fx .text-link { margin-top: auto; padding-top: 18px; }
.feature-wash {
  position: absolute;
  right: -30px;
  bottom: -70px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.35), transparent 62%);
  filter: blur(18px);
  pointer-events: none;
}
[data-theme="light"] .feature-wash { opacity: 0.5; }
.fx-fps {
  display: none;
  position: absolute;
  right: 38px;
  top: 50%;
  width: 126px;
  height: 126px;
  place-content: center;
  justify-items: center;
  text-align: center;
  transform: translateY(-50%);
  border: 1px solid rgba(167, 139, 250, 0.3);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(167, 139, 250, 0.24), transparent 60%),
    color-mix(in srgb, var(--surface-2) 72%, transparent);
  box-shadow: 0 0 54px rgba(139, 92, 246, 0.22), inset 0 0 26px rgba(139, 92, 246, 0.12);
}
.fx-fps::before {
  content: "";
  position: absolute;
  inset: -15px;
  border: 1px dashed rgba(167, 139, 250, 0.22);
  border-radius: 50%;
}
.fx-fps b { font-size: 30px; font-weight: 600; line-height: 1; letter-spacing: -0.05em; }
.fx-fps small { margin-top: 3px; color: var(--text-3); font-size: 8.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
@media (min-width: 601px) and (max-width: 820px) {
  .fx-fps { display: grid; }
  .feature-fx .feature-copy { max-width: 64%; }
}

.feature-bw {
  grid-column: 8 / span 5;
  grid-row: 2;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}
.feature-bw .feature-copy h3 { margin-top: 0; }
.feature-bw .feature-copy p { font-size: 12.2px; }

.feature-side {
  grid-column: 1 / span 7;
  grid-row: 3;
  display: grid;
  grid-template-columns: 226px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
}
.feature-side .feature-copy h3 { margin-top: 0; }

.feature-private {
  grid-column: 8 / span 5;
  grid-row: 3;
  display: flex;
  flex-direction: column;
}
.feature-private .private-list { margin-top: auto; }
.private-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-top: 20px;
}
.private-list span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface-2) 60%, transparent);
  color: var(--text-3);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.private-list b { color: var(--accent-ink); font-weight: 600; }

/* ---------------------------------------------------------------- UI previews */
.ui-preview {
  --ui-bg: #0d0b13;
  --ui-surface: #15111d;
  --ui-surface-2: #1c1727;
  --ui-line: rgba(255, 255, 255, 0.09);
  --ui-text: #f2eef9;
  --ui-text-2: #a79fb8;
  --ui-accent: #a78bfa;
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 15px;
  background: linear-gradient(165deg, #16121f, #0b0910 72%);
  color: var(--ui-text);
  box-shadow: 0 24px 50px -22px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  color-scheme: dark;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.feature:hover .ui-preview { border-color: rgba(255, 255, 255, 0.18); }
.ui-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--ui-line);
  background: rgba(255, 255, 255, 0.022);
  font-size: 11px;
  font-weight: 500;
}
.ui-head b { font-weight: 600; letter-spacing: -0.01em; }
.ui-head small { display: block; margin-top: 1px; color: var(--ui-text-2); font-size: 8px; font-weight: 400; letter-spacing: 0.02em; }
.ui-logo {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  flex: none;
  border-radius: 7px;
  background: linear-gradient(145deg, #a78bfa, #6d28d9);
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.ui-logo .icon { width: 12px; height: 12px; stroke-width: 2; }
.ui-x { margin-left: auto; color: var(--ui-text-2); font-size: 13px; line-height: 1; }
.ui-soft { margin-left: auto; color: var(--ui-text-2); font-size: 8.5px; }

.ui-switch {
  position: relative;
  width: 30px;
  height: 17px;
  margin-left: auto;
  flex: none;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
  transition: background-color 0.2s ease;
}
.ui-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #f4f0fb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease;
}
.ui-switch.on { background: linear-gradient(90deg, #8b5cf6, #a78bfa); }
.ui-switch.on::after { transform: translateX(13px); }

/* Bitwarden mini */
.bw-mini { max-width: 190px; }
.bw-mini .ui-head { padding: 8px 10px; font-size: 10px; }
.bw-mini .ui-logo { width: 22px; height: 22px; border-radius: 6px; }
.bw-logo { background: linear-gradient(145deg, #7c9cf5, #3b5bdb); }
.bw-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 12px 13px;
  text-align: center;
}
.bw-body b { font-size: 10.5px; font-weight: 600; letter-spacing: -0.01em; }
.bw-body small { color: var(--ui-text-2); font-size: 8.4px; line-height: 1.45; }
.bw-lock {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 1px;
  border-radius: 10px;
  border: 1px solid rgba(167, 139, 250, 0.22);
  background: rgba(167, 139, 250, 0.1);
  color: var(--ui-accent);
}
.bw-lock .icon { width: 15px; height: 15px; }
.ui-field {
  width: 100%;
  margin-top: 4px;
  padding: 6px 8px;
  border: 1px solid var(--ui-line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--ui-text-2);
  font-size: 8.4px;
  text-align: left;
}
.ui-primary {
  width: 100%;
  padding: 6px;
  border-radius: 6px;
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
  color: #fff;
  font-size: 8.6px;
  font-weight: 600;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

/* Sidebar mini */
.side-mini { max-width: 218px; }
.side-rows { padding: 6px; }
.side-row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 8px;
  border-radius: 7px;
  color: var(--ui-text-2);
  font-size: 9.6px;
  font-weight: 450;
}
.side-row .icon { width: 11px; height: 11px; opacity: 0.8; }
.side-row.active {
  background: rgba(167, 139, 250, 0.12);
  color: var(--ui-text);
  box-shadow: inset 2px 0 0 var(--ui-accent);
}
.side-row.active .icon { color: var(--ui-accent); opacity: 1; }

/* FxVideo preview */
.fx-preview { max-width: 408px; }
.fx-preview .ui-head { padding: 11px 13px; }
.fx-preview .ui-head > div { display: flex; flex-direction: column; }
.fx-preview .ui-body { padding: 13px 14px 14px; }
.ui-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  color: var(--ui-text-2);
  font-size: 9.8px;
}
.ui-seg {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--ui-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}
.ui-seg button {
  appearance: none;
  padding: 5px 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ui-text-2);
  font-family: var(--font);
  font-size: 8.8px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}
.ui-seg button:hover { color: var(--ui-text); background: rgba(255, 255, 255, 0.05); }
.ui-seg button.active {
  background: linear-gradient(145deg, rgba(167, 139, 250, 0.95), rgba(124, 58, 237, 0.95));
  color: #fff;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.ui-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 11px;
  color: var(--ui-text-2);
  font-size: 9.2px;
}
.ui-label output { color: var(--ui-text); font-family: var(--mono); font-size: 8.8px; }
.ui-range {
  --fill: 55%;
  width: 100%;
  height: 4px;
  margin: 9px 0 2px;
  border-radius: 99px;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(90deg, #a78bfa 0 var(--fill), rgba(255, 255, 255, 0.13) var(--fill) 100%);
  outline: none;
  cursor: pointer;
}
.ui-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 13px;
  height: 13px;
  border: 0;
  border-radius: 50%;
  background: #f6f2ff;
  box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.24), 0 1px 4px rgba(0, 0, 0, 0.45);
  cursor: grab;
}
.ui-range::-webkit-slider-thumb:active { cursor: grabbing; }
.ui-range::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border: 0;
  border-radius: 50%;
  background: #f6f2ff;
  box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.24), 0 1px 4px rgba(0, 0, 0, 0.45);
}
.ui-meta { margin-top: 7px; color: rgba(167, 159, 184, 0.7); font-size: 7.8px; letter-spacing: 0.01em; }
.ui-video {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 11px;
  padding: 7px;
  border: 1px solid var(--ui-line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
}
.ui-video > div { display: flex; flex-direction: column; min-width: 0; }
.ui-video b { overflow: hidden; color: var(--ui-text); font-size: 9.4px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.ui-video small { color: var(--ui-text-2); font-size: 7.8px; }
.ui-video-art {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 32px;
  flex: none;
  border-radius: 6px;
  background: linear-gradient(140deg, #3b2b63, #1a1425);
  color: #e9e2fb;
  overflow: hidden;
}
.ui-video-art::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 10px;
  background: linear-gradient(140deg, rgba(167, 139, 250, 0.55), rgba(244, 114, 182, 0.28));
  filter: blur(8px);
  opacity: var(--ghost, 0.25);
  transition: opacity 0.18s ease;
}
.ui-video-art .icon { position: relative; width: 12px; height: 12px; z-index: 1; }
.ui-pill {
  margin-left: auto;
  padding: 3px 6px;
  border: 1px solid rgba(74, 222, 128, 0.24);
  border-radius: 99px;
  background: rgba(74, 222, 128, 0.08);
  color: #86efac;
  font-size: 6.6px;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.ui-actions { display: flex; justify-content: flex-end; gap: 6px; margin-top: 10px; }
.ui-actions span {
  padding: 5px 10px;
  border: 1px solid var(--ui-line);
  border-radius: 6px;
  color: var(--ui-text-2);
  font-size: 8.4px;
  font-weight: 500;
}
.ui-actions span.primary {
  border-color: transparent;
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
  color: #fff;
}

/* ---------------------------------------------------------------- split sections */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(34px, 6vw, 84px);
}
.split > * { min-width: 0; }
.search-split { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }
.search-copy h2,
.fx-copy h2,
.side-copy h2 { margin-bottom: 18px; }

.shot {
  position: relative;
  margin: 0;
  padding: 7px;
  border: 1px solid var(--frame-line);
  border-radius: 20px;
  background: var(--frame-bg);
  box-shadow: var(--shadow-lg);
  transform: rotate(-1.1deg);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.4s ease;
}
.shot::before {
  content: "";
  position: absolute;
  inset: -18% -14% -22% -10%;
  z-index: -1;
  border-radius: 40px;
  background: radial-gradient(circle at 60% 50%, rgba(139, 92, 246, 0.24), transparent 62%),
              radial-gradient(circle at 80% 80%, rgba(244, 114, 182, 0.12), transparent 60%);
  filter: blur(34px);
}
.shot img { border-radius: 13px; }
.search-visual:hover .shot { transform: rotate(0deg) translateY(-2px); }

/* Engine picker preview — the real picker, rendered at a readable size. */
.search-visual { justify-content: center; }
.picker-stage { position: relative; width: 100%; max-width: 500px; }
.picker-glow {
  position: absolute;
  inset: -8% -4% -12% 2%;
  border-radius: 50%;
  background: radial-gradient(circle at 46% 42%, rgba(139, 92, 246, 0.32), transparent 62%),
              radial-gradient(circle at 80% 84%, rgba(244, 114, 182, 0.14), transparent 60%);
  filter: blur(38px);
  pointer-events: none;
}
.picker-demo {
  min-height: 470px;
  border-radius: 20px;
  border-color: rgba(255, 255, 255, 0.13);
  box-shadow: 0 50px 90px -36px rgba(0, 0, 0, 0.92), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.picker-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 15px;
  border-bottom: 1px solid var(--ui-line);
  background: rgba(255, 255, 255, 0.018);
}
.picker-brand { display: flex; align-items: center; gap: 8px; }
.picker-brand .brand-mark {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  font-size: 11px;
  box-shadow: 0 4px 12px -4px rgba(124, 58, 237, 0.72), inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.picker-brand > span:last-child { display: flex; flex-direction: column; line-height: 1.15; }
.picker-brand b { font-size: 9.6px; font-weight: 600; letter-spacing: -0.015em; }
.picker-brand small { color: var(--ui-text-2); font-size: 6.3px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.picker-clock { color: var(--ui-text-2); font-family: var(--mono); font-size: 8.4px; letter-spacing: 0.02em; }
.picker-body { position: relative; min-height: 423px; padding: 26px 26px 30px; }
.picker-kicker {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  color: var(--ui-text-2);
  font-size: 7.6px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.picker-kicker .status-dot { width: 4px; height: 4px; box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.1); }
.picker-greeting {
  color: var(--ui-text);
  font-size: clamp(22px, 5.4vw, 27px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.045em;
}
.picker-greeting .gradient {
  background: linear-gradient(104deg, #d8ccff, #a78bfa 52%, #f472b6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.picker-sub { margin-top: 5px; color: var(--ui-text-2); font-size: 9px; line-height: 1.5; }
.picker-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  height: 48px;
  margin-top: 18px;
  padding: 0 6px 0 14px;
  border: 1px solid rgba(167, 139, 250, 0.34);
  border-radius: 13px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    var(--ui-surface);
  box-shadow: 0 0 32px rgba(139, 92, 246, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.picker-search > .icon { width: 14px; height: 14px; flex: none; color: var(--ui-text-2); }
.picker-placeholder {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: rgba(167, 159, 184, 0.72);
  font-size: 10.2px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.picker-engine {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 8px 0 4px;
  flex: none;
  border: 1px solid var(--ui-line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--ui-text);
  font-size: 9.4px;
  font-weight: 500;
  white-space: nowrap;
}
.picker-mark {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 7px;
  color: #fff;
  font-size: 8.6px;
  font-weight: 700;
  letter-spacing: -0.02em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.pm-google { background: linear-gradient(145deg, #4285f4, #1a73e8); }
.pm-ddg { background: linear-gradient(145deg, #de5833, #bf4322); }
.pm-brave { background: linear-gradient(145deg, #fb542b, #dd3f17); }
.pm-bing { background: linear-gradient(145deg, #0a9d95, #08736d); }
.pm-start { background: linear-gradient(145deg, #6573ff, #4b58e8); }
.pm-ecosia { background: linear-gradient(145deg, #2f8f4e, #1f6e39); }
.picker-chevron { width: 9px; height: 9px; color: var(--ui-text-2); transform: rotate(90deg); }
.picker-go {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 9px;
  background: linear-gradient(135deg, #e879f9, #8b5cf6 55%, #7c3aed);
  color: #fff;
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.picker-go .icon { width: 13px; height: 13px; stroke-width: 2.1; }
.picker-hint {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin-top: 9px;
  color: rgba(167, 159, 184, 0.72);
  font-size: 7.4px;
}
.picker-hint kbd {
  padding: 2px 5px;
  border: 1px solid var(--ui-line);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--ui-text-2);
  font-family: var(--font);
  font-size: 6.8px;
  font-weight: 500;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}
.dot-sep { opacity: 0.4; }
.picker-foot {
  position: absolute;
  left: 26px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ui-text-2);
  font-size: 7.6px;
  letter-spacing: 0.02em;
}
.picker-foot .status-dot { width: 4px; height: 4px; box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.09); }
.picker-menu {
  position: absolute;
  right: 18px;
  top: 165px;
  z-index: 2;
  width: 252px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(13, 11, 19, 0.97);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  backdrop-filter: blur(18px) saturate(130%);
  box-shadow: 0 28px 60px -18px rgba(0, 0, 0, 0.92), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.picker-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 7px;
  border-radius: 8px;
  color: var(--ui-text-2);
  font-size: 9.8px;
  font-weight: 450;
}
.picker-item > span:nth-child(2) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.picker-item .picker-mark { width: 23px; height: 23px; border-radius: 6px; font-size: 8px; }
.picker-item.selected { background: rgba(167, 139, 250, 0.13); color: var(--ui-text); }
.picker-check {
  width: 12px;
  height: 12px;
  flex: none;
  fill: none;
  stroke: var(--ui-accent);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
}
.picker-item.selected .picker-check { opacity: 1; }

.search-copy { position: relative; }
.number-list { margin-top: 26px; }
.number-list li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}
.number-list li:last-child { padding-bottom: 0; }
.number-list li > span {
  padding-top: 2px;
  color: var(--accent-ink);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
}
.number-list b { display: block; margin-bottom: 3px; font-size: 13.4px; font-weight: 500; letter-spacing: -0.01em; }
.number-list p { max-width: 46ch; color: var(--text-2); font-size: 12.4px; line-height: 1.68; }

/* ---------------------------------------------------------------- fx section */
.fx-section {
  border-block: 1px solid var(--line);
  background:
    radial-gradient(48% 60% at 78% 44%, rgba(139, 92, 246, 0.1), transparent 68%),
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 55%, transparent), transparent 80%);
}
.fx-split { grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr); }
.fx-copy .note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  max-width: 44ch;
  margin-top: 22px;
  padding: 11px 13px;
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line));
  border-radius: 11px;
  background: color-mix(in srgb, var(--accent-soft) 55%, transparent);
  color: var(--text-2);
  font-size: 11.2px;
  line-height: 1.6;
}
.fx-copy .note .icon { width: 14px; height: 14px; margin-top: 1px; color: var(--accent-ink); }
.fx-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 26px;
  max-width: 470px;
  margin-top: 26px;
}
.fx-specs > div {
  padding: 12px 0 13px;
  border-top: 1px solid var(--line);
}
.fx-specs span {
  display: block;
  margin-bottom: 3px;
  color: var(--text-3);
  font-size: 8.6px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.fx-specs b { display: block; font-size: 13.2px; font-weight: 500; letter-spacing: -0.01em; }
.fx-specs small { display: block; margin-top: 2px; color: var(--text-3); font-size: 10.2px; line-height: 1.5; }

.fx-visual { position: relative; display: flex; justify-content: flex-end; }
.fx-glow {
  position: absolute;
  inset: 4% 0 2% 20%;
  background: radial-gradient(circle at 62% 46%, rgba(139, 92, 246, 0.35), transparent 60%),
              radial-gradient(circle at 82% 78%, rgba(244, 114, 182, 0.16), transparent 58%);
  filter: blur(40px);
  opacity: 0.8;
  pointer-events: none;
}
.fx-visual .ui-preview { position: relative; z-index: 1; transform: rotate(0.8deg); }
.fx-visual:hover .ui-preview { transform: rotate(0deg); }

/* ---------------------------------------------------------------- performance */
.perf-head { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.perf-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid rgba(74, 222, 128, 0.2);
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.06);
  color: var(--text-2);
  font-size: 8.4px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.perf-badge .status-dot { width: 4px; height: 4px; box-shadow: none; }

.bench-card {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.032), transparent 50%),
    var(--surface);
  box-shadow: var(--shadow-md);
}
.bench-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(20px, 2.6vw, 30px);
}
.bench-eyebrow {
  display: block;
  margin-bottom: 5px;
  color: var(--text-3);
  font-size: 8.6px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.bench-head h3 {
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.bench-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.bench-table th {
  padding: 0 0 11px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--text-3);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-align: left;
}
.bench-table th:nth-child(1) { width: 29%; }
.bench-table th:nth-child(2) { width: 42%; text-align: right; }
.bench-table th:nth-child(3) { width: 29%; text-align: right; }
.bench-table td {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.bench-table tbody tr:last-child td { border-bottom: 0; }
.bench-browser { display: flex; align-items: center; gap: 10px; }
.bench-avatar {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  flex: none;
  border-radius: 9px;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}
.bench-avatar.sera { background: linear-gradient(145deg, #a78bfa, #7c3aed); }
.bench-avatar.chrome { background: conic-gradient(from 210deg, #ea4335, #fbbc05 25%, #34a853 52%, #4285f4 76%, #ea4335); }
.bench-avatar.brave { background: linear-gradient(145deg, #fb542b, #dd3f17); }
.bench-avatar.firefox { background: linear-gradient(145deg, #ff9d00, #e63c8c 58%, #6f4cff); }
.bench-name { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.bench-name b { font-size: 12.4px; font-weight: 500; letter-spacing: -0.012em; }
.bench-name small { margin-top: 2px; color: var(--text-3); font-size: 8.6px; font-weight: 400; letter-spacing: 0.01em; }
.bench-speed { text-align: right; }
.bench-score { font-family: var(--mono); font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
.bench-meter {
  display: block;
  height: 5px;
  margin-top: 7px;
  overflow: hidden;
  border-radius: 99px;
  background: color-mix(in srgb, var(--text-3) 20%, transparent);
}
.bench-meter span {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7c4ddb, #a78bfa);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.32);
  transform-origin: left center;
  transform: scaleX(1);
  transition: transform 1.05s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.bench-table tbody tr:not(.is-sera) .bench-meter span {
  background: linear-gradient(90deg, #8b8299, #b4abbf);
  box-shadow: none;
}
html.js .bench-card .bench-meter span { transform: scaleX(0); }
html.js .bench-card.in .bench-meter span { transform: scaleX(1); }
.bench-table tbody tr:nth-child(2) .bench-meter span { transition-delay: 0.1s; }
.bench-table tbody tr:nth-child(3) .bench-meter span { transition-delay: 0.19s; }
.bench-table tbody tr:nth-child(4) .bench-meter span { transition-delay: 0.28s; }
.bench-adblock { text-align: right; }
.bench-adblock b { font-family: var(--mono); font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; }
.bench-adblock small { display: block; margin-top: 2px; color: var(--text-3); font-size: 8.6px; }
.bench-pass { display: inline-flex; align-items: center; gap: 5px; color: var(--success); }
.bench-pass .icon { width: 11px; height: 11px; stroke-width: 2.4; }
.bench-table tbody tr.is-sera td { background: color-mix(in srgb, var(--accent-soft) 62%, transparent); }
.bench-table tbody tr.is-sera td:first-child { padding-left: 10px; border-radius: 10px 0 0 10px; }
.bench-table tbody tr.is-sera td:last-child { padding-right: 10px; border-radius: 0 10px 10px 0; }
.bench-table tbody tr.is-sera .bench-adblock small { color: var(--success); }
.bench-table tbody tr:not(.is-sera) td { transition: background-color 0.18s ease; }
.bench-table tbody tr:not(.is-sera):hover td { background: color-mix(in srgb, var(--surface-2) 50%, transparent); }
.bench-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: 9.2px;
}
.bench-sources { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.bench-sources a { display: inline-flex; align-items: center; gap: 3px; color: var(--accent-ink); transition: color 0.16s ease; }
.bench-sources a:hover { color: var(--accent); }
.bench-sources .icon { width: 10px; height: 10px; stroke-width: 1.8; }
.bench-note { max-width: 88ch; margin-top: 9px; color: var(--text-3); font-size: 9.2px; line-height: 1.6; }

.mode {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.mode > span { padding-top: 2px; color: var(--accent-ink); font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.05em; }
.mode b { display: block; margin-bottom: 3px; font-size: 13px; font-weight: 500; letter-spacing: -0.01em; }
.mode p { color: var(--text-2); font-size: 11.8px; line-height: 1.66; }

.mode-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(24px, 3vw, 34px);
  border-top: 1px solid var(--line);
}
.mode-strip .mode {
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  padding: 20px clamp(18px, 2.6vw, 30px);
  border-top: 0;
  border-left: 1px solid var(--line);
}
.mode-strip .mode:first-child { padding-left: 0; border-left: 0; }
.mode-strip .mode:last-child { padding-right: 0; }
.mode-strip .mode b { display: flex; align-items: center; gap: 8px; }
.mode-strip .mode em {
  padding: 2px 6px;
  border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line));
  border-radius: 999px;
  color: var(--accent-ink);
  font-family: var(--mono);
  font-size: 8.6px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.mode-strip .mode p { max-width: 34ch; }

/* ---------------------------------------------------------------- why us */
.why-section {
  position: relative;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(42% 52% at 84% 0%, rgba(139, 92, 246, 0.09), transparent 68%),
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 26%, transparent), transparent 68%);
}
.why-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.03), transparent 52%),
    var(--surface);
  box-shadow: var(--shadow-md);
}
.why-item {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.4vw, 28px);
  border-left: 1px solid var(--line);
  transition: background-color 0.22s ease;
}
.why-item:first-child { border-left: 0; }
.why-item:hover { background: color-mix(in srgb, var(--surface-2) 52%, transparent); }
.why-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}
.why-index {
  color: var(--text-3);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
}
.why-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line));
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.why-icon .icon { width: 16px; height: 16px; }
.why-item h3 {
  margin-bottom: 9px;
  font-size: clamp(1.02rem, 1.25vw, 1.14rem);
  font-weight: 600;
  line-height: 1.26;
  letter-spacing: -0.024em;
}
.why-item p {
  max-width: 36ch;
  color: var(--text-2);
  font-size: 12px;
  line-height: 1.68;
}
.why-metric {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.why-metric b {
  display: block;
  font-size: clamp(1.85rem, 2.5vw, 2.35rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}
.why-metric b span {
  margin-left: 1px;
  color: var(--text-3);
  font-size: 0.46em;
  font-weight: 500;
  letter-spacing: 0;
}
.why-metric small {
  display: block;
  margin-top: 5px;
  color: var(--text-3);
  font-size: 8.8px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.why-compare {
  display: block;
  margin-top: 9px;
  color: var(--text-3);
  font-family: var(--mono);
  font-size: 8.8px;
  letter-spacing: 0.01em;
}
.why-item:first-child .why-metric b { color: var(--accent-ink); }
.why-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 20px;
}
.why-foot p { max-width: 72ch; color: var(--text-3); font-size: 9.4px; line-height: 1.6; }
.why-foot .text-link { flex: none; }

/* ---------------------------------------------------------------- sidebar section */
.sidebar-section {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 32%, transparent), transparent 72%);
}
.side-split { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); }
.side-visual { display: flex; justify-content: flex-start; }
.sidebar-big { max-width: 420px; }
.sidebar-big-nav { padding: 7px; }
.sidebar-big-nav > span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border-radius: 7px;
  color: var(--ui-text-2);
  font-size: 10px;
}
.sidebar-big-nav .icon { width: 11px; height: 11px; opacity: 0.75; }
.sidebar-big-nav > span > span { flex: 1; }
.sidebar-big-nav small { color: inherit; font-size: 8px; opacity: 0.7; letter-spacing: 0.02em; }
.sidebar-big-nav > span.active {
  background: rgba(167, 139, 250, 0.11);
  color: var(--ui-text);
  box-shadow: inset 2px 0 0 var(--ui-accent);
}
.sidebar-big-nav > span.active .icon { color: var(--ui-accent); opacity: 1; }
.sidebar-big-list { padding: 11px 13px 13px; border-top: 1px solid var(--ui-line); }
.side-date {
  display: block;
  margin: 2px 0 6px;
  color: var(--ui-text-2);
  font-size: 7.6px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.side-site {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
}
.side-site + .side-site { border-top: 1px solid rgba(255, 255, 255, 0.05); }
.side-site > div { display: flex; flex-direction: column; min-width: 0; }
.side-site b { font-size: 9.6px; font-weight: 500; line-height: 1.3; }
.side-site small { color: var(--ui-text-2); font-size: 7.8px; }
.side-site time { color: var(--ui-text-2); font-family: var(--mono); font-size: 7.4px; }
.site-fav {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 7px;
  color: #fff;
  font-size: 9px;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.site-fav.g { background: linear-gradient(145deg, #3a3a44, #1e1e25); }
.site-fav.v { background: linear-gradient(145deg, #7c5cf0, #4c2ca8); }
.site-fav.p { background: linear-gradient(145deg, #e0518a, #a11e54); }

.check-list { margin-top: 22px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  color: var(--text-2);
  font-size: 12.8px;
  line-height: 1.65;
}
.check-list .icon {
  width: 15px;
  height: 15px;
  margin-top: 2px;
  padding: 3px;
  box-sizing: content-box;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-ink);
  stroke-width: 2.4;
}
.small-note {
  margin-top: 18px;
  padding-left: 12px;
  border-left: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line));
  color: var(--text-3);
  font-size: 11px;
  line-height: 1.65;
}

/* ---------------------------------------------------------------- privacy */
.privacy-section {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(40% 48% at 84% 100%, rgba(244, 114, 182, 0.06), transparent 70%),
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 25%, transparent), transparent);
}
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.privacy-item {
  position: relative;
  padding: clamp(22px, 2.6vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  transition: border-color 0.22s ease, background-color 0.22s ease;
}
.privacy-item:hover { border-color: var(--line-strong); background: var(--surface); }
.privacy-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 20px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--accent-ink);
}
.privacy-icon .icon { width: 17px; height: 17px; }
.privacy-item h3 { margin-bottom: 7px; font-size: 15px; font-weight: 500; letter-spacing: -0.015em; }
.privacy-item p { color: var(--text-2); font-size: 12.2px; line-height: 1.7; }

/* ---------------------------------------------------------------- download */
.download-section { padding-top: clamp(50px, 6vw, 86px); }
.download-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  padding: clamp(30px, 5.6vw, 62px);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line));
  border-radius: 30px;
  background:
    radial-gradient(120% 150% at 86% -18%, rgba(139, 92, 246, 0.3), transparent 56%),
    radial-gradient(80% 100% at 2% 112%, rgba(244, 114, 182, 0.1), transparent 60%),
    linear-gradient(160deg, var(--surface), var(--bg-elev));
  box-shadow: 0 50px 110px -50px rgba(0, 0, 0, 0.85);
}
[data-theme="light"] .download-panel {
  background:
    radial-gradient(120% 150% at 86% -18%, rgba(139, 92, 246, 0.16), transparent 56%),
    radial-gradient(80% 100% at 2% 112%, rgba(219, 39, 119, 0.07), transparent 60%),
    linear-gradient(160deg, var(--surface), #faf8ff);
  box-shadow: 0 44px 90px -52px rgba(41, 24, 72, 0.4);
}
.download-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.038) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.038) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 65% 90% at 80% 18%, #000, transparent 76%);
  mask-image: radial-gradient(ellipse 65% 90% at 80% 18%, #000, transparent 76%);
  pointer-events: none;
}
[data-theme="light"] .download-panel::before {
  background-image:
    linear-gradient(to right, rgba(22, 17, 31, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(22, 17, 31, 0.05) 1px, transparent 1px);
}
.download-aura {
  position: absolute;
  top: -160px;
  right: -60px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.34), transparent 62%);
  filter: blur(50px);
  pointer-events: none;
}
.download-copy { position: relative; z-index: 1; }
.download-copy .eyebrow { margin-bottom: 16px; }
.download-copy h2 {
  font-size: clamp(2.2rem, 4.4vw, 3.5rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.download-copy > p {
  max-width: 40ch;
  margin-top: 16px;
  color: var(--text-2);
  font-size: 13.6px;
  line-height: 1.7;
}
.download-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 26px;
}
.download-meta {
  position: relative;
  z-index: 1;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: color-mix(in srgb, var(--bg) 42%, transparent);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
[data-theme="light"] .download-meta { background: rgba(255, 255, 255, 0.62); }
.meta-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 10.8px;
}
.meta-row:first-child { padding-top: 0; }
.meta-row span {
  flex: none;
  color: var(--text-3);
  font-size: 8.6px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.meta-row b {
  max-width: 68%;
  text-align: right;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text);
}
.meta-note { margin-top: 13px; color: var(--text-3); font-size: 9.4px; line-height: 1.6; }

/* ---------------------------------------------------------------- footer */
.site-footer {
  margin-top: clamp(60px, 8vw, 100px);
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-elev) 72%, transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) repeat(2, minmax(0, 0.8fr)) minmax(0, 1.15fr);
  gap: clamp(24px, 4vw, 52px);
  padding-top: clamp(38px, 5vw, 58px);
}
.footer-brand p {
  max-width: 30ch;
  margin-top: 16px;
  color: var(--text-3);
  font-size: 11.5px;
  line-height: 1.7;
}
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-col > span {
  margin-bottom: 4px;
  color: var(--text-3);
  font-size: 8.6px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.footer-col a { color: var(--text-2); font-size: 11.8px; transition: color 0.16s ease; }
.footer-col a:hover { color: var(--text); }
.footer-note p { margin-top: 0; color: var(--text-3); font-size: 10.5px; line-height: 1.7; }
.footer-note > span { margin-bottom: 2px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: clamp(30px, 4vw, 46px);
  padding-top: 18px;
  padding-bottom: 26px;
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: 9.8px;
  letter-spacing: 0.01em;
}

/* ---------------------------------------------------------------- reveal + motion */
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes ping {
  0% { transform: scale(0.7); opacity: 0.8; }
  70%, 100% { transform: scale(1.8); opacity: 0; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to { transform: translate3d(3%, 2%, 0) scale(1.06); }
}
@keyframes bob {
  from { transform: translateY(0); }
  to { transform: translateY(-6px); }
}

html.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s cubic-bezier(0.2, 0.7, 0.2, 1),
              transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, transform;
}
html.js .reveal.in { opacity: 1; transform: none; will-change: auto; }
html.js .hero-visual.reveal { transition-duration: 0.9s; }
html.js .bento .feature.reveal:nth-child(2) { transition-delay: 0.06s; }
html.js .bento .feature.reveal:nth-child(3) { transition-delay: 0.12s; }
html.js .bento .feature.reveal:nth-child(4) { transition-delay: 0.06s; }
html.js .bento .feature.reveal:nth-child(5) { transition-delay: 0.12s; }
html.js .privacy-grid .privacy-item.reveal:nth-child(2) { transition-delay: 0.06s; }
html.js .privacy-grid .privacy-item.reveal:nth-child(3) { transition-delay: 0.12s; }
html.js .privacy-grid .privacy-item.reveal:nth-child(4) { transition-delay: 0.18s; }
html.js .why-board .why-item.reveal:nth-child(2) { transition-delay: 0.06s; }
html.js .why-board .why-item.reveal:nth-child(3) { transition-delay: 0.12s; }
html.js .why-board .why-item.reveal:nth-child(4) { transition-delay: 0.18s; }

/* ---------------------------------------------------------------- legal page */
.legal-hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(56px, 8vw, 92px));
  padding-bottom: clamp(30px, 4vw, 48px);
}
.legal-hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto;
  height: 520px;
  background: radial-gradient(46% 60% at 70% 30%, rgba(139, 92, 246, 0.18), transparent 68%),
              radial-gradient(30% 40% at 92% 60%, rgba(244, 114, 182, 0.1), transparent 70%);
  pointer-events: none;
}
.legal-hero .shell { position: relative; z-index: 1; }
.legal-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--accent-ink);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.legal-kicker .icon { width: 14px; height: 14px; }
.legal-hero h1 {
  max-width: 18ch;
  font-size: clamp(2.3rem, 4.6vw, 3.7rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.legal-hero p {
  max-width: 54ch;
  margin-top: 18px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.75;
}
.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 22px;
  color: var(--text-3);
  font-size: 10.5px;
}
.legal-meta span { display: inline-flex; align-items: center; gap: 6px; }
.legal-meta .icon { width: 13px; height: 13px; color: var(--success); }

.legal-wrap { padding-bottom: clamp(60px, 8vw, 100px); }
.legal-grid {
  display: grid;
  grid-template-columns: 234px minmax(0, 1fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: calc(var(--header-h) + 22px);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.legal-toc > span {
  display: block;
  margin-bottom: 10px;
  color: var(--text-3);
  font-size: 8.6px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.legal-toc a {
  display: block;
  padding: 5px 0;
  color: var(--text-2);
  font-size: 11.4px;
  line-height: 1.45;
  transition: color 0.16s ease;
}
.legal-toc a:hover { color: var(--accent-ink); }
.legal-toc .toc-back {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--accent-ink);
}

.legal-body { max-width: 730px; }
.legal-summary {
  position: relative;
  padding: 22px 24px;
  border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line));
  border-radius: 16px;
  background: color-mix(in srgb, var(--accent-soft) 48%, transparent);
}
.legal-summary b { display: block; margin-bottom: 6px; font-size: 13.5px; font-weight: 600; letter-spacing: -0.01em; }
.legal-summary p { color: var(--text-2); font-size: 12.8px; line-height: 1.7; }
.legal-section { padding: 30px 0; border-bottom: 1px solid var(--line); }
.legal-section:last-child { border-bottom: 0; padding-bottom: 0; }
.legal-section h2 {
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 2.2vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.legal-section h3 { margin: 18px 0 6px; font-size: 13.4px; font-weight: 500; }
.legal-section p { margin-bottom: 10px; color: var(--text-2); font-size: 13.2px; line-height: 1.78; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul { margin: 10px 0 12px; }
.legal-section li {
  position: relative;
  padding: 4px 0 4px 16px;
  color: var(--text-2);
  font-size: 13.2px;
  line-height: 1.72;
}
.legal-section li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 5px;
  height: 1px;
  background: var(--accent);
}
.legal-section b { color: var(--text); font-weight: 500; }
.legal-section code {
  padding: 1px 6px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface-2);
  color: var(--text);
  font-family: var(--mono);
  font-size: 11.2px;
}
.legal-table {
  width: 100%;
  margin: 14px 0 6px;
  border-collapse: collapse;
  font-size: 12.2px;
}
.legal-table-wrap { overflow-x: auto; }
.legal-table th {
  padding: 8px 12px 8px 0;
  border-bottom: 1px solid var(--line-strong);
  color: var(--text-3);
  font-size: 8.6px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-align: left;
}
.legal-table td {
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text-2);
  line-height: 1.6;
  vertical-align: top;
}
.legal-table td:first-child { width: 34%; color: var(--text); font-weight: 500; }
.legal-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 14px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text-3);
  font-size: 11px;
  line-height: 1.65;
}
.legal-note .icon { width: 14px; height: 14px; margin-top: 1px; color: var(--accent-ink); }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1120px) {
  :root { --shell: 1080px; }
  .nav-links { gap: 15px; }
  .nav-links a { font-size: 12.4px; }
  .hero-copy h1 { font-size: clamp(2.7rem, 5.2vw, 4.2rem); }
  .feature-bw { grid-template-columns: 136px minmax(0, 1fr); gap: 16px; }
  .feature-side { grid-template-columns: 208px minmax(0, 1fr); gap: 20px; }
  .bw-mini { max-width: 100%; }
  .side-mini { max-width: 100%; }
  .why-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-item:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .why-item:nth-child(4) { border-top: 1px solid var(--line); }
}

@media (max-width: 1024px) {
  .bento { gap: 14px; }
  .feature-ad {
    grid-column: 1 / -1;
    grid-row: auto;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
    align-items: center;
    gap: 18px;
  }
  .feature-ad .ad-visual { min-height: 226px; margin-top: 0; }
  .feature-fx { grid-column: 1 / span 6; grid-row: auto; }
  .feature-bw { grid-column: 7 / span 6; grid-row: auto; grid-template-columns: 146px minmax(0, 1fr); }
  .feature-side { grid-column: 1 / span 7; grid-row: auto; }
  .feature-private { grid-column: 8 / span 5; grid-row: auto; }
}

@media (max-width: 940px) {
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
  .btn-nav { display: none; }
  .nav-menu-btn { display: grid; }
  .mobile-menu { display: block; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 660px; }
  .hero-copy { max-width: 620px; }
  .hero-copy h1 { max-width: 13ch; }
  .section-head { grid-template-columns: 1fr; gap: 16px; align-items: start; }
  .section-head p { max-width: 56ch; }
  .split,
  .search-split,
  .fx-split,
  .side-split { grid-template-columns: 1fr; gap: 40px; }
  .search-visual { order: 2; max-width: 680px; }
  .search-copy { order: 1; }
  .fx-copy { order: 1; }
  .fx-visual { order: 2; justify-content: flex-start; max-width: 560px; }
  .side-visual { order: 2; max-width: 520px; }
  .side-copy { order: 1; }
  .download-panel { grid-template-columns: 1fr; gap: 28px; }
  .download-meta { align-self: start; width: 100%; }
  .footer-grid { grid-template-columns: 1.4fr 0.8fr 0.8fr; }
  .footer-note { grid-column: 1 / -1; max-width: 420px; }
  .legal-grid { grid-template-columns: 1fr; }
  .legal-toc { position: static; display: flex; flex-wrap: wrap; gap: 4px 18px; align-items: center; }
  .legal-toc > span { flex: 0 0 100%; margin-bottom: 4px; }
  .legal-toc a { padding: 3px 0; }
  .legal-toc .toc-back { margin-top: 0; padding-top: 0; border-top: 0; }
}

@media (max-width: 820px) {
  .feature-fx,
  .feature-bw,
  .feature-side,
  .feature-private { grid-column: 1 / -1; }
  .feature-bw { grid-template-columns: 170px minmax(0, 1fr); }
  .feature-side { grid-template-columns: 238px minmax(0, 1fr); }
  .feature-ad { grid-template-columns: minmax(0, 1.05fr) minmax(230px, 0.95fr); }
}

@media (max-width: 720px) {
  :root { --header-h: 70px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 20px 18px; border-left: 1px solid var(--line); }
  .stat:nth-child(odd) { padding-left: 0; border-left: 0; }
  .stat:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .stat:nth-child(even) { padding-right: 0; }
  .stat-value { font-size: 1.7rem; }
  .hero { padding-top: calc(var(--header-h) + 46px); }
  .cta-row .btn { flex: 1 1 auto; }
  .hero-visual::before { inset: 8% -1% -4% 5%; }
  .hero-chip-ad { left: 2px; top: 10px; }
  .hero-chip-fx { right: 2px; bottom: 52px; }
  .hero-chip { gap: 8px; padding: 7px 10px 7px 7px; }
  .hero-chip-icon,
  .hero-chip-mark { width: 25px; height: 25px; border-radius: 8px; }
  .hero-chip b { font-size: 10.5px; }
  .hero-chip small { font-size: 7.6px; }
  .privacy-grid { grid-template-columns: 1fr; }
  .fx-specs { gap: 0 20px; }
  .bench-card { padding: 22px 20px; }
  .bench-head h3 { font-size: 1.15rem; }
  .bench-table th { font-size: 8px; }
  .bench-table td { padding: 13px 0; }
  .bench-avatar { width: 26px; height: 26px; border-radius: 8px; font-size: 8px; }
  .bench-name b { font-size: 11.6px; }
  .bench-name small { font-size: 8px; }
  .bench-score { font-size: 12.5px; }
  .bench-adblock b { font-size: 11px; }
  .bench-adblock small { font-size: 8px; }
  .bench-foot { font-size: 8.8px; }
  .bench-note { font-size: 8.8px; }
  .why-item { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-note { grid-column: 1 / -1; }
  .download-panel { border-radius: 24px; }
  .legal-hero h1 { max-width: 100%; }
}

@media (max-width: 600px) {
  body { font-size: 15px; }
  .brand-text small { display: none; }
  .nav-inner { gap: 14px; }
  .hero-copy h1 { font-size: clamp(2.35rem, 10vw, 3.1rem); }
  .hero-copy .lede { font-size: 14.4px; }
  .cta-row { gap: 9px; }
  .cta-row .btn { width: 100%; }
  .hero-caption { font-size: 10px; }
  .section { padding: 62px 0; }
  .bento { gap: 12px; }
  .feature-ad { grid-template-columns: 1fr; gap: 4px; }
  .feature-ad .ad-visual { min-height: 210px; }
  .ad-visual::before { width: 230px; height: 230px; }
  .ad-ring-3 { width: 270px; height: 270px; }
  .feature-bw { grid-template-columns: 1fr; gap: 16px; }
  .feature-bw .ui-preview { max-width: 230px; }
  .feature-side { grid-template-columns: 1fr; gap: 16px; }
  .feature-side .ui-preview { max-width: 250px; }
  .feature-side .feature-copy h3 { margin-top: 4px; }
  .picker-demo { min-height: 438px; }
  .picker-body { min-height: 391px; padding: 22px 20px 28px; }
  .picker-search { height: 46px; margin-top: 15px; padding-left: 12px; gap: 8px; }
  .picker-hint { display: none; }
  .picker-menu { top: 152px; right: 12px; width: 232px; }
  .picker-foot { left: 20px; bottom: 18px; }
  .fx-specs { grid-template-columns: 1fr; max-width: none; }
  .fx-specs > div:first-child { border-top: 1px solid var(--line); }
  .fx-visual .ui-preview { transform: none; }
  .perf-badge { padding: 3px 7px; font-size: 7.4px; }
  .bench-card { padding: 20px 16px; border-radius: 20px; }
  .bench-head { gap: 12px; margin-bottom: 20px; }
  .bench-table th { padding-bottom: 9px; font-size: 7.2px; letter-spacing: 0.09em; }
  .bench-table th:nth-child(1) { width: 44%; }
  .bench-table th:nth-child(2) { width: 30%; }
  .bench-table th:nth-child(3) { width: 26%; }
  .bench-table td { padding: 12px 0; }
  .bench-browser { gap: 7px; }
  .bench-avatar { width: 23px; height: 23px; border-radius: 6px; font-size: 7.5px; }
  .bench-name b { font-size: 10.6px; }
  .bench-name small { font-size: 7.4px; line-height: 1.35; }
  .bench-score { font-size: 11.5px; }
  .bench-meter { height: 3px; margin-top: 5px; }
  .bench-adblock b { font-size: 9.8px; }
  .bench-adblock small { font-size: 7.4px; }
  .bench-pass { gap: 3px; }
  .bench-pass .icon { width: 9px; height: 9px; }
  .bench-foot { flex-direction: column; align-items: flex-start; gap: 8px; font-size: 8.6px; }
  .bench-note { font-size: 8.6px; }
  .mode-strip { grid-template-columns: 1fr; margin-top: 22px; }
  .mode-strip .mode { padding: 16px 0; border-left: 0; border-top: 1px solid var(--line); }
  .mode-strip .mode:first-child { padding-top: 0; border-top: 0; }
  .mode-strip .mode:last-child { padding-bottom: 0; }
  .why-board { grid-template-columns: 1fr; }
  .why-item { padding: 22px 20px; border-left: 0; border-top: 1px solid var(--line); }
  .why-item:first-child { border-top: 0; }
  .why-top { margin-bottom: 18px; }
  .why-metric { padding-top: 18px; }
  .why-foot { flex-direction: column; align-items: flex-start; }
  .privacy-item { padding: 22px 20px; }
  .privacy-icon { margin-bottom: 16px; }
  .download-panel { padding: 26px 20px; }
  .download-actions { gap: 14px; }
  .download-actions .btn { width: 100%; }
  .download-meta { padding: 17px 16px; }
  .meta-row { gap: 12px; }
  .meta-row b { font-size: 9.2px; }
  .footer-grid { gap: 26px 20px; }
  .footer-bottom { font-size: 9px; }
  .legal-summary { padding: 18px; }
  .legal-section { padding: 24px 0; }
  .legal-table td:first-child { width: 40%; }
}

@media (max-width: 420px) {
  .bench-name b { font-size: 10.2px; }
  .bench-name small { font-size: 7px; }
  .bench-score { font-size: 11px; }
  .bench-adblock b { font-size: 9.2px; }
  .bench-adblock small { font-size: 7px; }
  .bench-table tbody tr.is-sera td:first-child { padding-left: 7px; }
  .bench-table tbody tr.is-sera td:last-child { padding-right: 7px; }
  .why-item { padding: 20px 18px; }
  .download-copy h2 { font-size: 2.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  html.js .reveal { opacity: 1; transform: none; }
  html.js .bench-card .bench-meter span { transform: scaleX(1); }
}

@media (forced-colors: active) {
  .gradient {
    background: none;
    color: CanvasText;
    -webkit-text-fill-color: CanvasText;
  }
  .brand-mark,
  .btn-primary,
  .picker-go { border: 1px solid ButtonText; }
}
