/* PullRows — marketing site styles. No build step. */

/* ---------- Tokens ---------- */
:root {
  --ink: #0B0B14;
  --ink-2: #13131F;
  --ink-3: #1D1D2C;
  --ink-line: rgba(255, 255, 255, .09);
  --paper: #FAFAF7;
  --surface: #FFFFFF;
  --surface-2: #F4F3EF;
  --surface-3: #ECEBE5;
  --muted: #62627A;
  --muted-2: #8A8A9C;
  --line: rgba(11, 11, 20, .09);
  --line-2: rgba(11, 11, 20, .15);

  --violet: #6A5CFF;
  --violet-ink: #4B3FE0;
  --violet-50: #F1EFFF;
  --violet-100: #E3DFFF;
  --mint: #14C9A4;
  --mint-ink: #0A7F67;
  --mint-50: #E2F9F3;
  --amber: #FFB020;
  --amber-ink: #8A5A00;
  --amber-50: #FFF5DE;
  --coral: #FF6B4A;
  --coral-ink: #C7401F;
  --coral-50: #FFEEE9;

  --grad: linear-gradient(135deg, #6A5CFF, #14C9A4);
  --grad-soft: linear-gradient(135deg, rgba(106, 92, 255, .14), rgba(20, 201, 164, .14));

  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --r-xs: 6px;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(11, 11, 20, .06), 0 1px 1px rgba(11, 11, 20, .03);
  --shadow: 0 1px 2px rgba(11, 11, 20, .05), 0 10px 30px -12px rgba(11, 11, 20, .16);
  --shadow-lg: 0 2px 6px rgba(11, 11, 20, .05), 0 30px 80px -24px rgba(36, 24, 120, .32);

  --gutter: clamp(16px, 4vw, 32px);
  --maxw: 1200px;
  --nav-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--violet-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
code, kbd, pre { font-family: var(--font-mono); font-size: .9em; }
::selection { background: var(--violet-100); color: var(--ink); }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  border-radius: 6px;
}
.on-dark :focus-visible, .dark :focus-visible { outline-color: var(--mint); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  padding: 10px 14px; border-radius: 10px;
  background: var(--ink); color: #fff; font-weight: 600; text-decoration: none;
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translateY(60px); }

.container {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(72px, 10vw, 128px); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 88px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--violet-ink);
}
.eyebrow::before {
  content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--grad);
}
.dark .eyebrow { color: #A79FFF; }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head h2 {
  font-size: clamp(32px, 4.6vw, 54px);
  font-weight: 750;
  letter-spacing: -.03em;
  margin-top: 14px;
}
.section-head p {
  margin-top: 16px;
  font-size: clamp(16px, 1.6vw, 18.5px);
  color: var(--muted);
  max-width: 640px;
}
.section-head--center p { margin-inline: auto; }
.dark .section-head p { color: #B4B4C6; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 0; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: 15.5px; letter-spacing: -.005em;
  text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .12) inset, 0 6px 18px -8px rgba(11, 11, 20, .45);
}
.btn:hover { transform: translateY(-1px); text-decoration: none; box-shadow: 0 1px 0 rgba(255, 255, 255, .12) inset, 0 12px 26px -10px rgba(11, 11, 20, .5); }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { --btn-bg: var(--violet); box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 10px 26px -10px rgba(106, 92, 255, .8); }
.btn--primary:hover { --btn-bg: #5B4CF5; box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 16px 34px -12px rgba(106, 92, 255, .9); }
.btn--ghost {
  --btn-bg: rgba(255, 255, 255, .7); --btn-fg: var(--ink);
  box-shadow: 0 0 0 1px var(--line-2) inset;
}
.btn--ghost:hover { --btn-bg: #fff; box-shadow: 0 0 0 1px rgba(11, 11, 20, .25) inset, 0 8px 20px -12px rgba(11, 11, 20, .3); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn--light:hover { --btn-bg: #fff; }
.btn--outline-dark { --btn-bg: transparent; --btn-fg: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25) inset; }
.btn--outline-dark:hover { --btn-bg: rgba(255, 255, 255, .06); box-shadow: 0 0 0 1px rgba(255, 255, 255, .45) inset; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14.5px; }
.btn--block { width: 100%; }
.btn .chrome-ico { width: 18px; height: 18px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(250, 250, 247, .72);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--line); background: rgba(250, 250, 247, .86); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none;
  font-family: var(--font-display); font-weight: 750; font-size: 20px; letter-spacing: -.025em;
}
.brand img { width: 30px; height: 30px; }
.brand:hover { text-decoration: none; }
.nav__links { display: flex; align-items: center; gap: 4px; margin-left: 16px; list-style: none; padding: 0; margin-block: 0; }
.nav__links a {
  display: inline-block; padding: 8px 12px; border-radius: 999px;
  color: #3C3C4E; text-decoration: none; font-size: 15px; font-weight: 500;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.nav__links a:hover { background: rgba(11, 11, 20, .05); color: var(--ink); }
.nav__links a[aria-current="page"] { color: var(--ink); background: rgba(11, 11, 20, .05); }
.nav__cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav__toggle {
  display: none;
  width: 44px; height: 44px; border-radius: 12px; border: 0;
  background: transparent; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav__toggle:hover { background: rgba(11, 11, 20, .05); }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink);
  transition: transform .25s var(--ease), opacity .2s;
  position: relative;
}
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; }
.nav__toggle span::before { transform: translateY(-6px); }
.nav__toggle span::after { transform: translateY(6px); }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: rotate(45deg); background: var(--ink); }
.nav__toggle[aria-expanded="true"] span::after { transform: rotate(-45deg); background: var(--ink); }
.nav__mobile { display: none; }

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__cta .btn { display: none; }
  .nav__mobile {
    display: block;
    position: fixed; inset: var(--nav-h) 0 auto 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 40px -20px rgba(11, 11, 20, .2);
    padding: 12px var(--gutter) 24px;
    transform: translateY(-8px);
    opacity: 0; visibility: hidden;
    transition: transform .25s var(--ease), opacity .2s var(--ease), visibility 0s .25s;
  }
  .nav__mobile.is-open { transform: none; opacity: 1; visibility: visible; transition: transform .25s var(--ease), opacity .2s var(--ease); }
  .nav__mobile ul { list-style: none; padding: 0; margin: 0 0 16px; }
  .nav__mobile li a {
    display: block; padding: 14px 4px; border-bottom: 1px solid var(--line);
    color: var(--ink); text-decoration: none; font-weight: 600; font-size: 17px;
  }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(56px, 8vw, 104px); overflow-x: clip; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero__grid {
  position: absolute; inset: -1px;
  background-image:
    linear-gradient(to right, rgba(11, 11, 20, .055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11, 11, 20, .055) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 28%, #000 30%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 60% at 50% 28%, #000 30%, transparent 78%);
}
.blob {
  position: absolute; border-radius: 50%;
  will-change: transform;
  opacity: .8;
}
.blob--1 { width: 780px; height: 780px; left: -18%; top: -34%; background: radial-gradient(circle at center, rgba(106, 92, 255, .34), rgba(106, 92, 255, 0) 66%); animation: drift1 22s ease-in-out infinite alternate; }
.blob--2 { width: 720px; height: 720px; right: -16%; top: -18%; background: radial-gradient(circle at center, rgba(20, 201, 164, .3), rgba(20, 201, 164, 0) 66%); animation: drift2 26s ease-in-out infinite alternate; }
.blob--3 { width: 560px; height: 560px; left: 30%; top: 26%; background: radial-gradient(circle at center, rgba(255, 176, 32, .17), rgba(255, 176, 32, 0) 66%); animation: drift3 30s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate3d(120px, 80px, 0) scale(1.12); } }
@keyframes drift2 { to { transform: translate3d(-140px, 110px, 0) scale(.92); } }
@keyframes drift3 { to { transform: translate3d(-90px, -70px, 0) scale(1.18); } }

.hero__copy { text-align: center; max-width: 920px; margin-inline: auto; }
.pill-link {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px; border-radius: 999px;
  background: rgba(255, 255, 255, .75);
  box-shadow: 0 0 0 1px var(--line) inset, var(--shadow-sm);
  color: var(--ink); font-size: 14px; font-weight: 500; text-decoration: none;
  transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}
.pill-link:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 0 0 1px var(--line-2) inset, var(--shadow); }
.pill-link__tag {
  padding: 3px 9px; border-radius: 999px;
  background: var(--ink); color: #fff;
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .02em;
}
.pill-link svg { width: 14px; height: 14px; color: var(--muted); transition: transform .2s var(--ease); }
.pill-link:hover svg { transform: translateX(2px); }

.hero h1 {
  margin-top: 26px;
  font-size: clamp(46px, 8.4vw, 104px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: .95;
}
.hero h1 .grad-text { padding-right: .04em; }
.hero__sub {
  margin: 24px auto 0;
  max-width: 660px;
  font-size: clamp(17px, 1.9vw, 20.5px);
  line-height: 1.55;
  color: #4A4A5E;
}
.hero__ctas { margin-top: 34px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero__trust {
  margin-top: 22px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px;
  font-size: 14px; color: var(--muted); list-style: none; padding: 0;
}
.hero__trust li { display: inline-flex; align-items: center; gap: 7px; }
.hero__trust svg { width: 16px; height: 16px; color: var(--mint-ink); }
.hero__note { margin-top: 10px; font-size: 13px; color: var(--muted-2); display: none; }
@media (max-width: 720px) { .hero__note { display: block; } }

/* ---------- Hero product mock ---------- */
.mock-wrap { margin-top: clamp(48px, 7vw, 80px); position: relative; }
.mock-wrap::before {
  content: ""; position: absolute; inset: 8% 4% -6%; z-index: -1;
  background: var(--grad); opacity: .28; filter: blur(70px); border-radius: 40px;
}
.mock {
  position: relative;
  max-width: 1120px; margin-inline: auto;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(11, 11, 20, .1), var(--shadow-lg);
  overflow: hidden;
  font-family: var(--font-body);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.35;
  user-select: none;
}
.mock__bar {
  display: flex; align-items: center; gap: 14px;
  height: 44px; padding: 0 14px;
  background: #F2F1EC; border-bottom: 1px solid var(--line);
}
.mock__dots { display: flex; gap: 7px; flex: none; }
.mock__dots i { width: 11px; height: 11px; border-radius: 50%; background: #DCDAD2; }
.mock__dots i:nth-child(1) { background: #FF6159; }
.mock__dots i:nth-child(2) { background: #FFBD2E; }
.mock__dots i:nth-child(3) { background: #28C941; }
.mock__url {
  flex: 1; min-width: 0; max-width: 560px; margin-inline: auto;
  height: 28px; border-radius: 8px; background: #fff;
  display: flex; align-items: center; gap: 8px; padding: 0 12px;
  color: #55556A; font-size: 12.5px;
  box-shadow: 0 0 0 1px var(--line) inset;
  white-space: nowrap; overflow: hidden;
}
.mock__url svg { width: 12px; height: 12px; flex: none; color: #8A8A9C; }
.mock__url span { overflow: hidden; text-overflow: ellipsis; }
.mock__ext { display: flex; gap: 6px; flex: none; }
.mock__ext img { width: 22px; height: 22px; border-radius: 6px; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--violet); }

.mock__body { display: grid; grid-template-columns: minmax(0, 1fr) 400px; grid-template-rows: minmax(0, 1fr); height: 560px; }

/* fake page */
.mp { position: relative; display: grid; grid-template-columns: 330px minmax(0, 1fr); min-width: 0; background: #fff; }
.mp__side { position: relative; border-right: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden; }
.mp__search {
  margin: 14px; height: 40px; border-radius: 999px; flex: none;
  display: flex; align-items: center; gap: 10px; padding: 0 14px;
  background: #fff; box-shadow: 0 1px 3px rgba(11, 11, 20, .14), 0 0 0 1px var(--line);
  color: var(--ink); font-size: 13.5px;
}
.mp__search svg { width: 15px; height: 15px; color: #8A8A9C; }
.mp__chips { display: flex; gap: 6px; padding: 0 14px 10px; flex: none; }
.mp__chips span { padding: 4px 10px; border-radius: 999px; box-shadow: 0 0 0 1px var(--line-2) inset; font-size: 11.5px; color: #44445A; white-space: nowrap; }
.mp__viewport { position: relative; flex: 1 1 0; min-height: 0; overflow: hidden; }
.mp__track { will-change: transform; transition: transform .7s var(--ease-out); }
.mp__card {
  height: 86px; padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: minmax(0, 1fr) 56px; gap: 12px; align-items: center;
}
.mp__name { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp__meta { margin-top: 3px; display: flex; align-items: center; gap: 5px; color: #55556A; font-size: 12px; white-space: nowrap; }
.mp__stars { color: #E8A100; letter-spacing: -1px; font-size: 11px; }
.mp__sub { margin-top: 3px; color: #6E6E82; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp__open { color: #0A7F67; font-weight: 500; }
.mp__thumb { width: 56px; height: 56px; border-radius: 10px; background: linear-gradient(135deg, #EDE5D8, #D9CBB4); position: relative; overflow: hidden; }
.mp__thumb::after { content: ""; position: absolute; inset: 30% 22% 18%; border-radius: 4px 4px 12px 12px; background: rgba(255, 255, 255, .55); }
.mp__card:nth-child(3n+2) .mp__thumb { background: linear-gradient(135deg, #D8E6E0, #B5CFC4); }
.mp__card:nth-child(3n) .mp__thumb { background: linear-gradient(135deg, #E4DEF2, #C7BEE3); }
.mp__hl {
  position: absolute; left: 6px; right: 6px; top: 0; height: 80px;
  border-radius: 12px;
  box-shadow: 0 0 0 2px var(--violet), 0 0 0 6px rgba(106, 92, 255, .16);
  background: rgba(106, 92, 255, .06);
  opacity: 0;
  transform: translateY(3px);
  transition: transform .45s var(--ease-out), opacity .3s var(--ease);
  pointer-events: none;
}
.mp__hl::before {
  content: "item"; position: absolute; top: 6px; right: 76px;
  padding: 1px 7px; border-radius: 6px;
  background: var(--violet); color: #fff;
  font-family: var(--font-mono); font-size: 10px; font-weight: 500;
}
.mp__ghosts { position: absolute; inset: 0; pointer-events: none; }
.mp__map { position: relative; overflow: hidden; background: #EEF0EA; }
.mp__map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pin { transform-box: fill-box; transform-origin: 50% 100%; transition: transform .35s var(--ease-out); }
.pin .pin__b { fill: #E8553A; transition: fill .3s var(--ease); }
.pin.is-hot { transform: scale(1.45); }
.pin.is-hot .pin__b { fill: var(--violet); }
.mp__zoom { position: absolute; right: 12px; bottom: 12px; display: grid; gap: 1px; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 3px rgba(11, 11, 20, .2); }
.mp__zoom i { display: grid; place-items: center; width: 30px; height: 30px; background: #fff; font-style: normal; color: #55556A; font-size: 16px; }

/* side panel */
.sp {
  display: flex; flex-direction: column; min-width: 0;
  background: #FCFCFA;
  border-left: 1px solid var(--line);
  box-shadow: -18px 0 40px -28px rgba(11, 11, 20, .25);
  position: relative;
}
.sp__head { display: flex; align-items: center; gap: 9px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.sp__head img { width: 22px; height: 22px; }
.sp__head b { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: -.02em; }
.sp__plan { margin-left: auto; padding: 2px 8px; border-radius: 6px; background: var(--mint-50); color: var(--mint-ink); font-size: 11px; font-weight: 600; }
.sp__tabs { display: flex; gap: 4px; padding: 10px 12px 0; border-bottom: 1px solid var(--line); }
.sp__tabs span { padding: 7px 10px; font-size: 12px; color: #6E6E82; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.sp__tabs span.is-on { color: var(--ink); font-weight: 600; border-bottom-color: var(--violet); }
.sp__status { margin: 12px 12px 0; padding: 12px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line) inset; }
.sp__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sp__preset { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; }
.sp__preset i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px rgba(20, 201, 164, .2); }
.sp__count { font-family: var(--font-mono); font-size: 11.5px; color: #55556A; font-variant-numeric: tabular-nums; }
.sp__msg { margin-top: 6px; font-size: 12px; color: #6E6E82; min-height: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp__bar { margin-top: 10px; height: 6px; border-radius: 6px; background: #EFEEE9; overflow: hidden; }
.sp__bar i { display: block; height: 100%; width: 100%; border-radius: 6px; background: var(--grad); transform-origin: 0 50%; transition: transform .5s var(--ease-out); }
.sp__table { flex: 1 1 auto; min-height: 0; margin: 12px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line) inset; overflow: hidden; position: relative; }
.sp__table table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 12px; }
.sp__table th { text-align: left; font-weight: 600; color: #55556A; font-size: 11px; padding: 8px 10px; background: #F7F6F2; border-bottom: 1px solid var(--line); white-space: nowrap; }
.sp__table th:nth-child(1) { width: 44%; }
.sp__table th:nth-child(2) { width: 16%; }
.sp__table th:nth-child(3) { width: 16%; }
.sp__table td { padding: 0 10px; height: 29px; border-bottom: 1px solid rgba(11, 11, 20, .06); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.sp__table td:first-child { font-weight: 500; }
.mock.anim .sp__table tr.r { opacity: 0; transform: translateY(6px); transition: opacity .35s var(--ease), transform .45s var(--ease-out); }
.mock.anim .sp__table tr.r.in { opacity: 1; transform: none; }
.sp__table tr.r.flash td { animation: rowflash 1.1s var(--ease) 1; }
@keyframes rowflash { 0% { background: rgba(20, 201, 164, .18); } 100% { background: transparent; } }
.sp__more { padding: 8px 10px; font-size: 11.5px; color: #6E6E82; transition: opacity .4s var(--ease); }
.mock.anim .sp__more { opacity: 0; }
.mock.anim .sp__more.in { opacity: 1; }
.sp__foot { display: flex; gap: 8px; padding: 0 12px 12px; }
.sp__btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  height: 34px; padding: 0 12px; border-radius: 9px;
  font-size: 12.5px; font-weight: 600; white-space: nowrap;
  background: #fff; box-shadow: 0 0 0 1px var(--line-2) inset; color: var(--ink);
}
.sp__btn svg { width: 14px; height: 14px; }
.sp__btn--main { background: var(--violet); color: #fff; box-shadow: 0 6px 14px -6px rgba(106, 92, 255, .8); transition: transform .15s var(--ease); }
.sp__btn--main::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(106, 92, 255, .55);
  opacity: 0;
}
.sp__btn--main.pulse::after { animation: ring 1.2s var(--ease) 2; }
.sp__btn--main.press { transform: scale(.94); }
@keyframes ring {
  0% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(106, 92, 255, .55); }
  100% { opacity: 0; transform: scale(1.35, 1.7); box-shadow: 0 0 0 6px rgba(106, 92, 255, 0); }
}
.sp__btn--ai { color: var(--coral-ink); }
.sp__toast {
  position: absolute; left: 12px; right: 12px; bottom: 56px;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 12px;
  background: var(--ink); color: #fff; font-size: 12.5px;
  box-shadow: 0 16px 30px -12px rgba(11, 11, 20, .5);
  opacity: 0; transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .4s var(--ease-out);
}
.sp__toast.in { opacity: 1; transform: none; }
.sp__toast svg { width: 18px; height: 18px; color: var(--mint); flex: none; }
.sp__toast code { font-size: 12px; color: #C9C3FF; }
.cursor {
  position: absolute; left: 0; top: 0; width: 22px; height: 22px; z-index: 5;
  opacity: 0; pointer-events: none;
  transition: transform .9s var(--ease-out), opacity .3s var(--ease);
  will-change: transform;
}
.cursor svg { width: 22px; height: 22px; filter: drop-shadow(0 2px 3px rgba(11, 11, 20, .35)); }

.mock-caption { margin-top: 18px; text-align: center; font-size: 13.5px; color: var(--muted); }
.mock-caption kbd { padding: 1px 6px; border-radius: 5px; background: #fff; box-shadow: 0 0 0 1px var(--line-2) inset; font-size: 12px; }

@media (max-width: 1100px) {
  .mock__body { grid-template-columns: minmax(0, 1fr) 360px; }
  .mp { grid-template-columns: minmax(0, 1fr) 160px; }
}
@media (max-width: 860px) {
  .mp { grid-template-columns: minmax(0, 1fr); }
  .mp__map { display: none; }
}
@media (max-width: 720px) {
  .mock { border-radius: 14px; }
  .mock__body { grid-template-columns: minmax(0, 1fr); grid-template-rows: 268px auto; height: auto; }
  .mp { min-height: 0; overflow: hidden; }
  .mp__card { height: 72px; padding: 9px 14px; }
  .mp__thumb { width: 46px; height: 46px; }
  .mp__card { grid-template-columns: minmax(0, 1fr) 46px; }
  .mp__hl { height: 66px; }
  .mp__search { margin: 10px; height: 36px; }
  .mp__chips { padding-bottom: 8px; }
  .sp { border-left: 0; border-top: 1px solid var(--line); box-shadow: 0 -18px 40px -28px rgba(11, 11, 20, .25); }
  .sp__table { min-height: 0; }
  .mock__ext { display: none; }
  .mock__dots i { width: 9px; height: 9px; }
}
@media (max-width: 420px) {
  .sp__table th:nth-child(4), .sp__table td:nth-child(4) { display: none; }
  .sp__table th:nth-child(1) { width: 56%; }
  .sp__table th:nth-child(2), .sp__table th:nth-child(3) { width: 22%; }
  .sp__btn--ai { display: none; }
  .sp__tabs span:nth-child(n+5) { display: none; }
}

/* ---------- Marquee ---------- */
.marquee-sec { padding-block: 8px 24px; }
.marquee-label { text-align: center; font-size: 13px; color: var(--muted); font-family: var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }
.marquee {
  margin-top: 18px; position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; gap: 12px; width: max-content; animation: marquee 48s linear infinite; padding-block: 4px; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track ul { display: flex; gap: 12px; list-style: none; margin: 0; padding: 0; }
.marquee__track li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px;
  background: #fff; box-shadow: 0 0 0 1px var(--line) inset, var(--shadow-sm);
  font-size: 14.5px; font-weight: 500; color: #33334A; white-space: nowrap;
}
.marquee__track li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c, var(--violet)); }
.marquee__track li:nth-child(4n+2) { --c: var(--mint); }
.marquee__track li:nth-child(4n+3) { --c: var(--amber); }
.marquee__track li:nth-child(4n+4) { --c: var(--coral); }
@keyframes marquee { to { transform: translate3d(calc(-50% - 6px), 0, 0); } }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step {
  position: relative; padding: 28px; border-radius: var(--r-lg);
  background: #fff; box-shadow: 0 0 0 1px var(--line) inset, var(--shadow-sm);
}
.step__num {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 11px;
  background: var(--ink); color: #fff; font-family: var(--font-mono); font-size: 14px; font-weight: 500;
}
.step h3 { margin-top: 20px; font-size: 22px; letter-spacing: -.02em; }
.step p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }
.step__viz { margin-top: 22px; height: 120px; border-radius: 14px; background: var(--surface-2); position: relative; overflow: hidden; box-shadow: 0 0 0 1px var(--line) inset; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 46px; right: -21px; width: 22px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 4px, transparent 4px 8px);
}
/* step visuals */
.viz-url { position: absolute; left: 14px; right: 14px; top: 16px; height: 30px; border-radius: 8px; background: #fff; box-shadow: 0 0 0 1px var(--line) inset; display: flex; align-items: center; gap: 8px; padding: 0 10px; font-size: 12.5px; color: #55556A; white-space: nowrap; overflow: hidden; }
.viz-url::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); flex: none; }
.viz-lines { position: absolute; left: 14px; right: 14px; top: 58px; display: grid; gap: 8px; }
.viz-lines i { height: 9px; border-radius: 5px; background: #E3E1DA; }
.viz-lines i:nth-child(2) { width: 78%; }
.viz-lines i:nth-child(3) { width: 56%; }
.viz-items { position: absolute; inset: 14px; display: grid; gap: 7px; }
.viz-items i { border-radius: 8px; background: #fff; box-shadow: 0 0 0 1px var(--line) inset; position: relative; }
.viz-items i::before { content: ""; position: absolute; left: 10px; top: 50%; width: 40%; height: 7px; margin-top: -3.5px; border-radius: 4px; background: #E3E1DA; }
.viz-items i:first-child { box-shadow: 0 0 0 2px var(--violet), 0 0 0 5px rgba(106, 92, 255, .15); }
.viz-items i:not(:first-child) { box-shadow: 0 0 0 1.5px rgba(106, 92, 255, .45) inset; }
.viz-click { position: absolute; left: 58%; top: 18px; width: 20px; height: 20px; }
.viz-export { position: absolute; inset: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; align-content: center; }
.viz-export span { display: grid; place-items: center; height: 40px; border-radius: 9px; background: #fff; box-shadow: 0 0 0 1px var(--line) inset; font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: #33334A; }
.viz-export span.hot { background: var(--violet); color: #fff; box-shadow: none; }
.viz-export span.ai { background: var(--coral-50); color: var(--coral-ink); box-shadow: 0 0 0 1px rgba(255, 107, 74, .3) inset; }
@media (max-width: 900px) {
  .steps { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; }
  .step:not(:last-child)::after { top: auto; bottom: -21px; right: auto; left: 46px; width: 2px; height: 22px; background: repeating-linear-gradient(180deg, var(--line-2) 0 4px, transparent 4px 8px); }
}

/* ---------- Tool grid ---------- */
.tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.card {
  --mx: 50%; --my: 0%;
  position: relative; isolation: isolate;
  padding: 24px; border-radius: 20px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line) inset, var(--shadow-sm);
  transition: transform .35s var(--ease-out), box-shadow .3s var(--ease);
  transform-style: preserve-3d;
  will-change: transform;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(106, 92, 255, .11), transparent 45%);
  opacity: 0; transition: opacity .3s var(--ease);
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  padding: 1px;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(106, 92, 255, .7), rgba(20, 201, 164, .35) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity .3s var(--ease);
}
.card:hover { box-shadow: 0 0 0 1px var(--line) inset, var(--shadow); }
.card:hover::before, .card:hover::after { opacity: 1; }
.ico {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--violet-50); color: var(--violet-ink);
  box-shadow: 0 0 0 1px rgba(106, 92, 255, .14) inset;
}
.ico svg { width: 22px; height: 22px; }
.ico--mint { background: var(--mint-50); color: var(--mint-ink); box-shadow: 0 0 0 1px rgba(20, 201, 164, .2) inset; }
.ico--amber { background: var(--amber-50); color: var(--amber-ink); box-shadow: 0 0 0 1px rgba(255, 176, 32, .25) inset; }
.ico--coral { background: var(--coral-50); color: var(--coral-ink); box-shadow: 0 0 0 1px rgba(255, 107, 74, .22) inset; }
.card h3 { margin-top: 18px; font-size: 19px; letter-spacing: -.015em; }
.card p { margin-top: 6px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.card--ai { background: linear-gradient(160deg, #FFF8F5, #fff 55%); }
.card--wide { grid-column: span 3; }
@media (max-width: 1100px) { .tools { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) { .tools { grid-template-columns: repeat(2, minmax(0, 1fr)); } .card--wide { grid-column: auto; } }
@media (max-width: 520px) {
  .tools { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .card { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; padding: 18px; }
  .card .ico { grid-row: span 2; }
  .card h3 { margin-top: 0; font-size: 17.5px; }
  .card p { margin-top: 4px; font-size: 14.5px; }
  .tag-ai { position: static; grid-column: 2; justify-self: start; margin-bottom: 6px; }
  .card--ai .ico { grid-row: span 3; }
}
.tag-ai {
  position: absolute; top: 20px; right: 20px;
  padding: 3px 8px; border-radius: 6px;
  background: var(--coral-50); color: var(--coral-ink);
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
}

/* ---------- Presets ---------- */
.presets { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
.preset { padding: 18px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line) inset; }
.preset__name { display: flex; align-items: flex-start; gap: 8px; font-weight: 650; font-size: 15.5px; line-height: 1.35; }
.preset__name::before { content: ""; flex: none; width: 9px; height: 9px; margin-top: 6px; border-radius: 3px; background: var(--c, var(--violet)); }
.preset:nth-child(2) { --c: var(--mint); }
.preset:nth-child(3) { --c: var(--coral); }
.preset:nth-child(4) { --c: var(--amber); }
.preset:nth-child(5) { --c: var(--ink); }
.preset__fields { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 5px; }
.preset__fields span { padding: 2px 7px; border-radius: 6px; background: var(--surface-2); font-family: var(--font-mono); font-size: 11.5px; color: #44445A; }
.presets-note { margin-top: 18px; font-size: 14.5px; color: var(--muted); }
@media (max-width: 1100px) { .presets { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .presets { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .presets { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Engine (pro-grade) ---------- */
.engine { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.bullets { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.bullets li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px; }
.bullets .tick { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--ink); color: #fff; }
.bullets .tick svg { width: 16px; height: 16px; }
.bullets b { display: block; font-weight: 650; font-size: 16.5px; letter-spacing: -.01em; }
.bullets span { display: block; margin-top: 2px; color: var(--muted); font-size: 15px; }

.scanner {
  position: relative; height: 460px; border-radius: 24px; overflow: hidden;
  background: var(--ink); color: #fff;
  box-shadow: var(--shadow-lg);
}
.scanner__list { position: absolute; left: 28px; right: 28px; top: 0; animation: scanlist 14s linear infinite; }
.scanner__item { height: 58px; margin-bottom: 10px; border-radius: 12px; background: var(--ink-3); display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 0 14px; box-shadow: 0 0 0 1px var(--ink-line) inset; }
.scanner__item i { width: 34px; height: 34px; border-radius: 9px; background: #2A2A3D; }
.scanner__item b { display: block; height: 8px; width: 70%; border-radius: 4px; background: #3A3A52; }
.scanner__item b + b { margin-top: 7px; width: 45%; background: #2E2E44; }
.scanner__item em { font-style: normal; font-family: var(--font-mono); font-size: 11px; color: #8D8DA6; }
.scanner__item.half b { background: #2A2A3D; }
.scanner__item.half em { color: #FFB020; }
.scanner__window {
  position: absolute; left: 14px; right: 14px; top: 96px; height: 206px;
  border-radius: 16px;
  box-shadow: 0 0 0 2px var(--mint), 0 0 0 8px rgba(20, 201, 164, .14), 0 0 60px rgba(20, 201, 164, .25);
  background: rgba(20, 201, 164, .05);
}
.scanner__window::before {
  content: "viewport"; position: absolute; top: -10px; left: 14px;
  padding: 1px 8px; border-radius: 6px; background: var(--mint); color: var(--ink);
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 600;
}
.scanner__fade-top, .scanner__fade-bot { position: absolute; left: 0; right: 0; height: 90px; pointer-events: none; }
.scanner__fade-top { top: 0; background: linear-gradient(var(--ink), rgba(11, 11, 20, 0)); }
.scanner__fade-bot { bottom: 0; background: linear-gradient(rgba(11, 11, 20, 0), var(--ink)); }
.scanner__hud {
  position: absolute; left: 20px; right: 20px; bottom: 18px;
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
  font-family: var(--font-mono); font-size: 12px; color: #B4B4C6;
}
.scanner__hud b { color: #fff; font-weight: 500; }
.scanner__hud .live { display: inline-flex; align-items: center; gap: 7px; }
.scanner__hud .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
@keyframes scanlist {
  0%, 8% { transform: translateY(0); }
  25%, 33% { transform: translateY(-204px); }
  50%, 58% { transform: translateY(-408px); }
  75%, 83% { transform: translateY(-612px); }
  100% { transform: translateY(-816px); }
}
@media (max-width: 900px) {
  .engine { grid-template-columns: minmax(0, 1fr); }
  .scanner { height: 380px; }
}

.stats {
  margin-top: clamp(56px, 8vw, 96px);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--line) inset;
  list-style: none; padding: 0;
}
.stat { padding: 28px 24px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat__num { font-family: var(--font-display); font-weight: 750; font-size: clamp(40px, 4.4vw, 56px); letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat__label { margin-top: 10px; color: var(--muted); font-size: 14.5px; line-height: 1.45; }
@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Dark section (Claude) ---------- */
.dark {
  background: var(--ink); color: #EDEDF5;
  position: relative; overflow: hidden; isolation: isolate;
}
.dark a { color: #C3BCFF; }
.dark a.btn { color: var(--btn-fg); }
.dark__glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.dark__glow::before, .dark__glow::after { content: ""; position: absolute; border-radius: 50%; }
.dark__glow::before { width: 900px; height: 900px; left: -300px; top: -400px; background: radial-gradient(circle, rgba(106, 92, 255, .32), transparent 62%); }
.dark__glow::after { width: 800px; height: 800px; right: -300px; bottom: -420px; background: radial-gradient(circle, rgba(20, 201, 164, .2), transparent 62%); }
.dark__grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(to right, rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(to bottom, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
}
.claude { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 72px); align-items: start; }
.claude h2 { font-size: clamp(34px, 4.8vw, 58px); font-weight: 750; letter-spacing: -.035em; margin-top: 14px; color: #fff; }
.claude__lead { margin-top: 18px; color: #B9B9CB; font-size: clamp(16px, 1.6vw, 18px); }
.csteps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 12px; }
.cstep { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, .035); box-shadow: 0 0 0 1px var(--ink-line) inset; }
.cstep__n { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(106, 92, 255, .2); color: #C9C3FF; font-family: var(--font-mono); font-size: 14px; }
.cstep b { color: #fff; font-weight: 600; display: block; }
.cstep div > span { display: block; margin-top: 3px; color: #A9A9BE; font-size: 14.5px; }
.cstep code { color: #E6E3FF; font-size: 12.5px; background: rgba(255, 255, 255, .07); padding: 1px 6px; border-radius: 5px; }
.cmd {
  margin-top: 16px; display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border-radius: 12px; background: #06060C; box-shadow: 0 0 0 1px var(--ink-line) inset;
  font-family: var(--font-mono); font-size: 13px; color: #D9D9E6; overflow-x: auto;
}
.cmd span.p { color: var(--mint); user-select: none; }
.cmd code { white-space: nowrap; font-size: 13px; }
@media (max-width: 520px) { .cmd { align-items: flex-start; } .cmd code { white-space: normal; overflow-wrap: anywhere; font-size: 12.5px; } }
.cmd code em { font-style: normal; color: #A79FFF; }
.works-with { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13.5px; color: #A9A9BE; }
.works-with span.chip { padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .06); box-shadow: 0 0 0 1px var(--ink-line) inset; color: #E3E3EE; font-weight: 500; }
.safety-note { margin-top: 18px; display: flex; gap: 10px; font-size: 14px; color: #A9A9BE; }
.safety-note svg { width: 18px; height: 18px; color: var(--mint); flex: none; margin-top: 2px; }

/* chat mock */
.chat {
  position: relative;
  border-radius: 20px; overflow: hidden;
  background: #16161F;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 80px -30px rgba(0, 0, 0, .8);
  font-size: 14px;
}
.chat__bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--ink-line); }
.chat__bar .mock__dots i { background: #33333F; }
.chat__title { font-size: 13px; color: #B4B4C6; margin-left: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat__conn { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; background: rgba(20, 201, 164, .12); color: #7BE8CF; font-size: 12px; font-weight: 500; white-space: nowrap; }
.chat__conn::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); }
.chat__body { padding: 20px; display: grid; gap: 16px; min-height: 560px; align-content: start; }
.msg-user {
  justify-self: end; max-width: 86%;
  padding: 12px 16px; border-radius: 16px 16px 4px 16px;
  background: #2A2A3A; color: #F2F2F8; line-height: 1.5;
}
.msg-user .caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 1px; vertical-align: -3px; background: #C9C3FF; animation: blink 1s steps(1) infinite; }
.msg-user .caret.off { display: none; }
.msg-ai { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; }
.ai-av { width: 30px; height: 30px; border-radius: 9px; background: #2A2A3A; display: grid; place-items: center; color: #E8E8F2; font-family: var(--font-mono); font-size: 11px; font-weight: 500; box-shadow: 0 0 0 1px var(--ink-line) inset; }
.msg-ai__text { color: #DCDCE8; line-height: 1.55; }
.tool-chips { display: grid; gap: 8px; margin-top: 12px; }
.tchip {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; border-radius: 10px;
  background: rgba(255, 255, 255, .04); box-shadow: 0 0 0 1px var(--ink-line) inset;
  font-size: 12.5px; color: #A9A9BE;
  min-width: 0;
}
.tchip code { color: #fff; font-size: 12.5px; flex: none; }
.tchip .arg { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 1; font-family: var(--font-mono); font-size: 11.5px; color: #8D8DA6; }
.tchip .st { margin-left: auto; width: 16px; height: 16px; flex: none; position: relative; }
.tchip .st::before { content: ""; position: absolute; inset: 1px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .15); border-top-color: #A79FFF; animation: spin .8s linear infinite; }
.tchip.done .st::before { animation: none; border: 0; background: var(--mint); inset: 0; }
.tchip.done .st::after { content: ""; position: absolute; left: 5px; top: 3px; width: 4px; height: 8px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.tchip .plug { width: 14px; height: 14px; color: #A79FFF; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.res-table { margin-top: 12px; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px var(--ink-line) inset; }
.res-table table { width: 100%; border-collapse: collapse; font-size: 12.5px; table-layout: fixed; }
.res-table th { text-align: left; color: #8D8DA6; font-weight: 500; padding: 8px 12px; background: rgba(255, 255, 255, .04); }
.res-table th:nth-child(2) { width: 22%; }
.res-table th:nth-child(3) { width: 34%; }
.res-table td { padding: 8px 12px; color: #E3E3EE; border-top: 1px solid var(--ink-line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.res-table td.rt { color: #FFCB66; font-variant-numeric: tabular-nums; }
.res-table .more td { color: #8D8DA6; }
.file-chip { margin-top: 12px; display: inline-flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: rgba(255, 255, 255, .05); box-shadow: 0 0 0 1px var(--ink-line) inset; font-size: 13px; color: #E3E3EE; max-width: 100%; }
.file-chip svg { width: 18px; height: 18px; color: var(--mint); flex: none; }
.file-chip span { color: #8D8DA6; font-size: 12px; }
.chat.anim [data-step] { opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .55s var(--ease-out); }
.chat.anim [data-step].in { opacity: 1; transform: none; }
.chat:not(.anim) .tchip .st::before { animation: none; border: 0; background: var(--mint); inset: 0; }
.chat:not(.anim) .tchip .st::after { content: ""; position: absolute; left: 5px; top: 3px; width: 4px; height: 8px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.chat__replay {
  position: absolute; right: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .08); color: #DCDCE8; font-size: 12.5px;
  opacity: 0; transition: opacity .3s var(--ease), background-color .2s;
  pointer-events: none;
}
.chat__replay.in { opacity: 1; pointer-events: auto; }
.chat__replay:hover { background: rgba(255, 255, 255, .14); }
.chat__replay svg { width: 14px; height: 14px; }
.mcp-tools { margin-top: 28px; }
.mcp-tools p { font-size: 13px; color: #8D8DA6; font-family: var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }
.mcp-tools ul { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.mcp-tools li { padding: 4px 9px; border-radius: 7px; background: rgba(255, 255, 255, .05); box-shadow: 0 0 0 1px var(--ink-line) inset; font-family: var(--font-mono); font-size: 12px; color: #CFCFE0; }
@media (max-width: 960px) {
  .claude { grid-template-columns: minmax(0, 1fr); }
  .chat__body { min-height: 0; }
}
@media (max-width: 480px) {
  .chat__body { padding: 14px; }
  .msg-user { max-width: 94%; }
  .msg-ai { grid-template-columns: minmax(0, 1fr); }
  .ai-av { display: none; }
  .res-table th:nth-child(3), .res-table td:nth-child(3) { display: none; }
  .res-table th:nth-child(2) { width: 30%; }
}

/* ---------- Use cases ---------- */
.uses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.use { padding: 24px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--line) inset; display: flex; flex-direction: column; }
.use__k { font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: .03em; }
.use h3 { margin-top: 10px; font-size: 20px; letter-spacing: -.015em; }
.use p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.use__flow { margin-top: auto; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-family: var(--font-mono); font-size: 11.5px; color: #44445A; }
.use__flow span { padding: 3px 8px; border-radius: 6px; background: var(--surface-2); }
.use__flow i { font-style: normal; color: var(--muted-2); }
@media (max-width: 960px) { .uses { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .uses { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Compare ---------- */
.compare-wrap { border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--line) inset, var(--shadow-sm); overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare caption { text-align: left; }
.compare th, .compare td { padding: 18px 22px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); font-size: 15px; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: 14px; font-weight: 600; color: var(--muted); background: var(--surface-2); }
.compare thead th.us { color: var(--ink); background: var(--violet-50); }
.compare thead th.us span { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 17px; font-weight: 750; letter-spacing: -.02em; }
.compare thead th.us img { width: 22px; height: 22px; }
.compare tbody th { font-weight: 600; width: 34%; }
.compare tbody th small { display: block; font-weight: 400; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.compare td.us { background: rgba(106, 92, 255, .045); font-weight: 600; }
.yes, .no, .meh { display: inline-flex; align-items: center; gap: 8px; }
.yes svg, .no svg, .meh svg { width: 20px; height: 20px; flex: none; }
.yes svg { color: var(--mint-ink); }
.no svg { color: #B4B4C2; }
.meh svg { color: var(--amber); }
.no, .meh { color: var(--muted); }
.compare-note { margin-top: 14px; font-size: 13.5px; color: var(--muted); }
@media (max-width: 720px) {
  .compare-wrap { overflow: visible; background: transparent; box-shadow: none; border-radius: 0; }
  .compare { min-width: 0; display: block; }
  .compare thead { display: none; }
  .compare tbody { display: grid; gap: 12px; }
  .compare tr { display: block; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line) inset; overflow: hidden; }
  .compare tbody th { display: block; width: auto; padding: 16px 18px 12px; border-bottom: 1px solid var(--line) !important; }
  .compare td { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 12px; align-items: center; padding: 10px 18px; font-size: 14.5px; border-bottom: 1px solid var(--line) !important; }
  .compare tr td:last-child { border-bottom: 0 !important; }
  .compare td::before { content: attr(data-label); font-size: 12.5px; color: var(--muted); font-weight: 500; }
  .compare td.us::before { color: var(--violet-ink); font-weight: 650; }
}

/* ---------- Pricing ---------- */
.price-controls { display: flex; justify-content: center; align-items: center; gap: 12px 16px; flex-wrap: wrap; margin-bottom: 36px; }
.seg {
  position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  padding: 4px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line-2) inset;
}
.seg button {
  position: relative; z-index: 1; border: 0; background: transparent; cursor: pointer;
  padding: 9px 18px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: #55556A;
  transition: color .25s var(--ease);
  white-space: nowrap;
}
.seg button[aria-pressed="true"] { color: #fff; }
.seg__thumb {
  position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px;
  width: calc((100% - 8px) / 2);
  border-radius: 999px; background: var(--ink);
  transition: transform .4s var(--ease-out);
  box-shadow: 0 4px 12px -4px rgba(11, 11, 20, .4);
}
.seg[data-pos="1"] .seg__thumb { transform: translateX(100%); }
.seg--sm button { padding: 6px 14px; font-size: 13px; font-family: var(--font-mono); font-weight: 500; }
.save-badge { margin-left: 6px; padding: 2px 7px; border-radius: 6px; background: var(--mint-50); color: var(--mint-ink); font-size: 11.5px; font-weight: 700; }
.seg button[aria-pressed="true"] .save-badge { background: var(--mint); color: var(--ink); }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan { position: relative; padding: 30px 28px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--line) inset, var(--shadow-sm); display: flex; flex-direction: column; }
.plan--pro { border: 1.5px solid transparent; background: linear-gradient(var(--ink), var(--ink)) padding-box, var(--grad) border-box; color: #EDEDF5; box-shadow: var(--shadow-lg); }
.plan__badge { position: absolute; top: -12px; left: 28px; padding: 4px 10px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.plan__name { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -.02em; }
.plan__desc { margin-top: 6px; color: var(--muted); font-size: 14.5px; min-height: 44px; }
.plan--pro .plan__desc { color: #A9A9BE; }
.plan__price { margin-top: 22px; display: flex; align-items: baseline; gap: 8px; min-height: 64px; flex-wrap: wrap; }
.amount { position: relative; display: inline-block; font-family: var(--font-display); font-weight: 750; font-size: 54px; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.amount.swap { animation: priceswap .45s var(--ease-out); }
@keyframes priceswap { 0% { opacity: 0; transform: translateY(12px); } 100% { opacity: 1; transform: none; } }
.per { color: var(--muted); font-size: 15px; }
.plan--pro .per { color: #A9A9BE; }
.strike { color: var(--muted-2); text-decoration: line-through; font-size: 20px; font-weight: 600; font-family: var(--font-display); }
.plan__sub { margin-top: 6px; font-size: 13.5px; color: var(--muted); min-height: 30px; display: flex; align-items: center; }
.plan--pro .plan__sub { color: #A9A9BE; }
.plan__cta { margin-top: 22px; }
.plan ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 11px; font-size: 14.5px; }
.plan li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; }
.plan li svg { width: 18px; height: 18px; margin-top: 2px; color: var(--mint-ink); }
.plan--pro li svg { color: var(--mint); }
.plan li b { font-weight: 600; }
.plan__fine { margin-top: auto; padding-top: 22px; font-size: 12.5px; color: var(--muted); }
.plan--pro .plan__fine { color: #8D8DA6; }
.counter-note { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; background: var(--amber-50); color: var(--amber-ink); font-size: 12.5px; font-weight: 600; }
.price-foot { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; font-size: 14px; color: var(--muted); list-style: none; padding: 0; }
.price-foot li { display: inline-flex; align-items: center; gap: 7px; }
.price-foot svg { width: 16px; height: 16px; color: var(--mint-ink); }
@media (max-width: 960px) {
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; gap: 26px; }
  .plan__desc { min-height: 0; }
}

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-layout .section-head { position: sticky; top: calc(var(--nav-h) + 32px); }
.faq { border-top: 1px solid var(--line-2); }
.faq__item { border-bottom: 1px solid var(--line-2); }
.faq__q { margin: 0; font-family: var(--font-body); font-size: inherit; letter-spacing: 0; }
.faq__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 2px; border: 0; background: transparent; cursor: pointer; text-align: left;
  font-size: 17.5px; font-weight: 600; letter-spacing: -.01em; color: var(--ink);
}
.faq__btn:hover { color: var(--violet-ink); }
.faq__icon { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line-2) inset; transition: background-color .25s var(--ease), transform .35s var(--ease-out); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.75px; margin: -.875px 0 0 -5.5px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease-out); }
.faq__icon::after { transform: rotate(90deg); }
.faq__btn[aria-expanded="true"] .faq__icon { background: var(--ink); color: #fff; transform: rotate(180deg); }
.faq__btn[aria-expanded="true"] .faq__icon::after { transform: rotate(0deg); }
.faq__panel { display: grid; grid-template-rows: 1fr; }
.faq__panel > div { overflow: hidden; min-height: 0; }
.faq.is-ready .faq__panel { grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease-out); }
.faq.is-ready .faq__panel.is-open { grid-template-rows: 1fr; }
.faq__a { padding: 0 2px 24px; color: #4A4A5E; font-size: 16px; max-width: 680px; }
.faq.is-ready .faq__a { opacity: 0; transform: translateY(-6px); transition: opacity .3s var(--ease), transform .4s var(--ease-out); }
.faq.is-ready .faq__panel.is-open .faq__a { opacity: 1; transform: none; }
.faq__a p + p { margin-top: 10px; }
@media (max-width: 900px) {
  .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .faq-layout .section-head { position: static; }
}

/* ---------- CTA band ---------- */
.cta-band { padding-block: clamp(80px, 11vw, 140px); text-align: center; }
.cta-band h2 { font-size: clamp(38px, 6vw, 76px); font-weight: 800; letter-spacing: -.045em; line-height: 1; color: #fff; }
.cta-band p { margin: 20px auto 0; max-width: 560px; color: #B9B9CB; font-size: 18px; }
.cta-band .hero__ctas { margin-top: 32px; }
.cta-band .logo-big { width: 72px; height: 72px; margin: 0 auto 28px; border-radius: 20px; box-shadow: 0 20px 50px -10px rgba(106, 92, 255, .6); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #A9A9BE; border-top: 1px solid var(--ink-line); padding-block: 56px 32px; font-size: 14.5px; }
.footer a { color: #D7D7E4; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer .brand { color: #fff; }
.footer__tag { margin-top: 14px; max-width: 320px; }
.footer h2 { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: #8D8DA6; }
.footer ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 9px; }
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--ink-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: #8D8DA6; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer__brand { grid-column: 1 / -1; } }

/* ---------- Reveal ---------- */
.rv { opacity: 0; transform: translateY(18px); }
.rv.rv-in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .9s var(--ease-out); }
.rv.d1.rv-in { transition-delay: .07s; }
.rv.d2.rv-in { transition-delay: .14s; }
.rv.d3.rv-in { transition-delay: .21s; }
.rv.d4.rv-in { transition-delay: .28s; }
.rv.d5.rv-in { transition-delay: .35s; }

/* ---------- Sub-page hero ---------- */
.page-hero { position: relative; padding-block: clamp(56px, 8vw, 96px) clamp(32px, 4vw, 48px); overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.page-hero .hero__grid { -webkit-mask-image: radial-gradient(ellipse 70% 90% at 30% 0%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse 70% 90% at 30% 0%, #000 20%, transparent 70%); }
.page-hero .blob--1 { width: 600px; height: 600px; top: -60%; left: -10%; animation: none; }
.page-hero .blob--2 { width: 500px; height: 500px; top: -50%; right: -10%; animation: none; }
.page-hero h1 { margin-top: 14px; font-size: clamp(38px, 5.6vw, 64px); font-weight: 800; letter-spacing: -.04em; }
.page-hero p.lead { margin-top: 14px; max-width: 640px; font-size: clamp(16px, 1.7vw, 19px); color: #4A4A5E; }
.page-hero .meta { margin-top: 14px; font-family: var(--font-mono); font-size: 13px; color: var(--muted); }

/* ---------- Prose (docs + legal) ---------- */
.prose { font-size: 16.5px; line-height: 1.72; color: #2A2A3C; max-width: 740px; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.025em; margin-top: 2.4em; padding-top: .2em; color: var(--ink); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; letter-spacing: -.015em; margin-top: 1.9em; color: var(--ink); }
.prose h4 { font-family: var(--font-body); font-size: 16.5px; font-weight: 650; letter-spacing: 0; margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--violet); }
.prose strong { color: var(--ink); font-weight: 650; }
.prose code { padding: .1em .38em; border-radius: 6px; background: var(--surface-3); color: #2A2A3C; font-size: .86em; word-break: break-word; }
.prose pre { padding: 16px 18px; border-radius: 14px; background: var(--ink); color: #E6E6F0; overflow-x: auto; font-size: 13.5px; line-height: 1.6; }
.prose pre code { padding: 0; background: none; color: inherit; font-size: inherit; word-break: normal; }
.prose kbd { padding: .1em .45em; border-radius: 6px; background: #fff; box-shadow: 0 0 0 1px var(--line-2) inset, 0 1px 0 var(--line-2); font-size: .82em; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2.2em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--surface-2); font-weight: 600; white-space: nowrap; }
.prose blockquote { margin: 1.4em 0 0; padding: 14px 18px; border-radius: 12px; background: var(--violet-50); box-shadow: 0 0 0 1px rgba(106, 92, 255, .16) inset; color: #2A2A3C; }
.callout { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding: 16px 18px; border-radius: 14px; background: var(--surface-2); box-shadow: 0 0 0 1px var(--line) inset; font-size: 15.5px; }
.callout svg { width: 20px; height: 20px; margin-top: 3px; color: var(--violet-ink); }
.callout--warn { background: var(--amber-50); box-shadow: 0 0 0 1px rgba(255, 176, 32, .35) inset; }
.callout--warn svg { color: var(--amber-ink); }
.callout--ok { background: var(--mint-50); box-shadow: 0 0 0 1px rgba(20, 201, 164, .3) inset; }
.callout--ok svg { color: var(--mint-ink); }
.callout p + p { margin-top: .5em; }

/* docs layout */
.docs { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); padding-block: 48px 120px; align-items: start; }
.toc { position: sticky; top: calc(var(--nav-h) + 24px); max-height: calc(100vh - var(--nav-h) - 48px); overflow-y: auto; font-size: 14px; padding-right: 8px; }
.toc__title { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.toc ul { list-style: none; padding: 0; margin: 0; }
.toc li ul { padding-left: 12px; margin: 2px 0 6px; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 5px 10px; border-radius: 8px; color: #4A4A5E; text-decoration: none; line-height: 1.4; transition: background-color .2s var(--ease), color .2s var(--ease); }
.toc a:hover { color: var(--ink); background: rgba(11, 11, 20, .04); }
.toc a.is-active { color: var(--violet-ink); background: var(--violet-50); font-weight: 600; }
.toc-mobile { display: none; }
.docs .prose { max-width: 780px; }
.docs .prose h2 { scroll-margin-top: calc(var(--nav-h) + 20px); }
.tool-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.tool-meta span { padding: 2px 9px; border-radius: 999px; background: var(--surface-2); box-shadow: 0 0 0 1px var(--line) inset; font-size: 12.5px; font-weight: 500; color: #44445A; }
@media (max-width: 960px) {
  .docs { grid-template-columns: minmax(0, 1fr); padding-top: 24px; }
  .toc { display: none; }
  .toc-mobile { display: block; margin-bottom: 8px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line) inset; }
  .toc-mobile summary { cursor: pointer; padding: 14px 16px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
  .toc-mobile summary::-webkit-details-marker { display: none; }
  .toc-mobile summary::after { content: "+"; font-size: 20px; color: var(--muted); }
  .toc-mobile[open] summary::after { content: "–"; }
  .toc-mobile .toc { display: block; position: static; max-height: none; padding: 0 8px 12px; }
}

/* legal layout */
.legal { padding-block: 48px 120px; }
.legal .prose { margin-inline: auto; }
.legal-toc { margin-inline: auto; max-width: 740px; padding: 18px 20px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line) inset; margin-bottom: 40px; }
.legal-toc p { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.legal-toc ol { margin: 10px 0 0; padding-left: 1.2em; columns: 2; column-gap: 32px; font-size: 14.5px; }
.legal-toc li { break-inside: avoid; padding-block: 2px; }
.legal-toc a { color: #3C3C4E; text-decoration: none; }
.legal-toc a:hover { color: var(--violet-ink); text-decoration: underline; }
@media (max-width: 560px) { .legal-toc ol { columns: 1; } }

/* changelog */
.release { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 32px; padding-block: 40px; border-top: 1px solid var(--line); max-width: 960px; margin-inline: auto; }
.release:first-child { border-top: 0; padding-top: 0; }
.release__meta { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; }
.release__v { font-family: var(--font-display); font-size: 26px; font-weight: 750; letter-spacing: -.03em; }
.release__d { margin-top: 4px; font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.release__tag { display: inline-block; margin-top: 10px; padding: 3px 9px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 700; }
.release .prose h3:first-child { margin-top: 0; }
@media (max-width: 720px) { .release { grid-template-columns: minmax(0, 1fr); gap: 12px; } .release__meta { position: static; } }

/* forms (uninstall) */
.form { max-width: 620px; margin-inline: auto; padding: clamp(22px, 4vw, 36px); border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--line) inset, var(--shadow); }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form legend { font-weight: 650; font-size: 17px; margin-bottom: 14px; }
.radio-list { display: grid; gap: 8px; }
.radio {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 14px; border-radius: 12px; cursor: pointer;
  box-shadow: 0 0 0 1px var(--line-2) inset;
  transition: box-shadow .2s var(--ease), background-color .2s var(--ease);
  font-size: 15.5px;
}
.radio:hover { background: var(--surface-2); }
.radio input { width: 18px; height: 18px; accent-color: var(--violet); margin: 0; flex: none; }
.radio:has(input:checked) { box-shadow: 0 0 0 2px var(--violet) inset; background: var(--violet-50); }
.radio:has(input:focus-visible) { outline: 2px solid var(--violet); outline-offset: 2px; }
.form label.field { display: block; margin-top: 22px; font-weight: 600; font-size: 15px; }
.form textarea {
  display: block; width: 100%; margin-top: 8px; min-height: 110px; resize: vertical;
  padding: 12px 14px; border-radius: 12px; border: 0;
  box-shadow: 0 0 0 1px var(--line-2) inset; background: var(--paper);
  font: inherit; font-size: 15.5px; color: var(--ink);
}
.form textarea:focus-visible { outline: 2px solid var(--violet); outline-offset: 0; }
.form .hint { margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.form .actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* 404 */
.nf { min-height: calc(100vh - var(--nav-h)); display: grid; place-items: center; text-align: center; padding-block: 80px; position: relative; overflow: hidden; isolation: isolate; }
.nf__code { font-family: var(--font-display); font-weight: 800; font-size: clamp(110px, 22vw, 240px); line-height: .9; letter-spacing: -.06em; }
.nf h1 { margin-top: 18px; font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -.03em; }
.nf p { margin: 12px auto 0; max-width: 460px; color: var(--muted); }
.nf__rows { margin: 28px auto 0; width: min(360px, 100%); display: grid; gap: 8px; }
.nf__rows i { height: 12px; border-radius: 6px; background: var(--surface-3); }
.nf__rows i:nth-child(2) { width: 72%; }
.nf__rows i:nth-child(3) { width: 44%; background: repeating-linear-gradient(90deg, var(--surface-3) 0 10px, transparent 10px 16px); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .blob { animation: none !important; }
  .marquee__track { animation: none !important; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee__track ul[aria-hidden="true"] { display: none; }
  .marquee__track ul { flex-wrap: wrap; justify-content: center; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .scanner__list { animation: none !important; transform: translateY(-110px); }
  .rv { opacity: 1 !important; transform: none !important; }
  .card { transform: none !important; }
}

/* icon sprite usage */
.i { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.form + .prose { margin-top: 56px; }
@media (max-width: 520px) { .card--ai { grid-auto-flow: dense; } }
.tool-chips + .msg-ai__text { margin-top: 14px; }
.toc-mobile + h2 { margin-top: 0; }
.legal .prose h2 { font-size: clamp(22px, 2.4vw, 28px); margin-top: 2em; }
.legal .prose h2:first-child { margin-top: 0; }

/* ---------- Footer wordmark ---------- */
.footer { overflow: hidden; }
.footer__mark {
  margin-top: 40px; margin-bottom: -0.32em;
  font-family: var(--font-display); font-weight: 800; letter-spacing: -.06em; line-height: .8;
  font-size: clamp(72px, 19vw, 260px); text-align: center; user-select: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, 0) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.plan__cta.is-soon { opacity: .6; cursor: default; pointer-events: none; font-size: 14px; }
