/* Colour schemes: html[data-theme] picks one (set in the site admin → Website → Colour scheme). Every colour below comes from these. */
:root, [data-theme="indigo"] {
  --a1: #6366f1; --a1-rgb: 99,102,241; --a2: #06b6d4; --a2-rgb: 6,182,212; --a2l: #67e8f9; --accent: #818cf8; --accent-rgb: 129,140,248; --accent2: #22d3ee;
  --soft: #a5b4fc; --soft-rgb: 165,180,252; --code: #a5f3fc; --btn-fg: #fff;
  --bg: #07080c; --bg-rgb: 7,8,12; --bg2: #0e1017; --bg2-rgb: 14,16,23; --fg: #eef0f6; --muted: #9aa3b8; --strong: #fff; --tint: 255,255,255;
  --good: #34d399; --warn: #fbbf24; --radius: 20px; color-scheme: dark;
}
[data-theme="ember"] {
  --a1: #f97316; --a1-rgb: 249,115,22; --a2: #f59e0b; --a2-rgb: 245,158,11; --a2l: #fbbf24; --accent: #fb923c; --accent-rgb: 251,146,60; --accent2: #fbbf24;
  --soft: #fdba74; --soft-rgb: 253,186,116; --code: #fed7aa; --btn-fg: #1a0d02;
  --bg: #0b0a09; --bg-rgb: 11,10,9; --bg2: #151311; --bg2-rgb: 21,19,17; --fg: #f4f1ec; --muted: #a8a29e;
}
[data-theme="emerald"] {
  --a1: #10b981; --a1-rgb: 16,185,129; --a2: #06b6d4; --a2-rgb: 6,182,212; --a2l: #67e8f9; --accent: #34d399; --accent-rgb: 52,211,153; --accent2: #22d3ee;
  --soft: #6ee7b7; --soft-rgb: 110,231,183; --code: #a7f3d0; --btn-fg: #03140d;
  --bg: #060908; --bg-rgb: 6,9,8; --bg2: #0d1413; --bg2-rgb: 13,20,19; --fg: #ecf5f2; --muted: #94a8a3;
}
[data-theme="violet"] {
  --a1: #8b5cf6; --a1-rgb: 139,92,246; --a2: #ec4899; --a2-rgb: 236,72,153; --a2l: #f9a8d4; --accent: #a78bfa; --accent-rgb: 167,139,250; --accent2: #f472b6;
  --soft: #c4b5fd; --soft-rgb: 196,181,253; --code: #f5d0fe; --btn-fg: #fff;
  --bg: #0a0710; --bg-rgb: 10,7,16; --bg2: #130e1c; --bg2-rgb: 19,14,28; --fg: #f3effa; --muted: #a59cb8;
}
[data-theme="light"] {
  --a1: #4f46e5; --a1-rgb: 79,70,229; --a2: #0891b2; --a2-rgb: 8,145,178; --a2l: #06b6d4; --accent: #4f46e5; --accent-rgb: 79,70,229; --accent2: #0891b2;
  --soft: #4338ca; --soft-rgb: 67,56,202; --code: #a5f3fc; --btn-fg: #fff;
  --bg: #f6f7fb; --bg-rgb: 246,247,251; --bg2: #ffffff; --bg2-rgb: 255,255,255; --fg: #111827; --muted: #5b6475; --strong: #0b1020; --tint: 15,23,42;
  --good: #059669; --warn: #b45309; color-scheme: light;
}
[data-theme="ocean"] {
  --a1: #3b82f6; --a1-rgb: 59,130,246; --a2: #14b8a6; --a2-rgb: 20,184,166; --a2l: #5eead4; --accent: #60a5fa; --accent-rgb: 96,165,250; --accent2: #2dd4bf;
  --soft: #93c5fd; --soft-rgb: 147,197,253; --code: #99f6e4; --btn-fg: #fff;
  --bg: #060a10; --bg-rgb: 6,10,16; --bg2: #0c1320; --bg2-rgb: 12,19,32; --fg: #eaf1fb; --muted: #93a3b8;
}
[data-theme="rose"] {
  --a1: #f43f5e; --a1-rgb: 244,63,94; --a2: #fb923c; --a2-rgb: 251,146,60; --a2l: #fdba74; --accent: #fb7185; --accent-rgb: 251,113,133; --accent2: #fdba74;
  --soft: #fda4af; --soft-rgb: 253,164,175; --code: #fecdd3; --btn-fg: #fff;
  --bg: #0d0709; --bg-rgb: 13,7,9; --bg2: #170e11; --bg2-rgb: 23,14,17; --fg: #f9eff1; --muted: #ab9aa0;
}
[data-theme="graphite"] {
  --a1: #e4e4e7; --a1-rgb: 228,228,231; --a2: #a1a1aa; --a2-rgb: 161,161,170; --a2l: #d4d4d8; --accent: #e4e4e7; --accent-rgb: 228,228,231; --accent2: #d4d4d8;
  --soft: #f4f4f5; --soft-rgb: 244,244,245; --code: #e4e4e7; --btn-fg: #0a0a0b;
  --bg: #09090b; --bg-rgb: 9,9,11; --bg2: #131316; --bg2-rgb: 19,19,22; --fg: #f4f4f5; --muted: #a1a1aa;
}
[data-theme="sand"] {
  --a1: #c2410c; --a1-rgb: 194,65,12; --a2: #b45309; --a2-rgb: 180,83,9; --a2l: #d97706; --accent: #c2410c; --accent-rgb: 194,65,12; --accent2: #b45309;
  --soft: #9a3412; --soft-rgb: 154,52,18; --code: #fed7aa; --btn-fg: #fff;
  --bg: #faf7f2; --bg-rgb: 250,247,242; --bg2: #fffdf9; --bg2-rgb: 255,253,249; --fg: #1c1917; --muted: #6b625a; --strong: #0c0a09; --tint: 41,37,36;
  --good: #15803d; --warn: #b45309; color-scheme: light;
}
[data-theme="sanddark"] {
  --a1: #c96a2b; --a1-rgb: 201,106,43; --a2: #b98a3e; --a2-rgb: 185,138,62; --a2l: #e3c38a; --accent: #e8a46a; --accent-rgb: 232,164,106; --accent2: #d6b37a;
  --soft: #f0bf8f; --soft-rgb: 240,191,143; --code: #f5d7a8; --btn-fg: #1a1007;
  --bg: #17130f; --bg-rgb: 23,19,15; --bg2: #211b15; --bg2-rgb: 33,27,21; --fg: #f2e8d9; --muted: #ab9d89;
}
[data-theme="slateorange"] {
  --a1: #f28a26; --a1-rgb: 242,138,38; --a2: #6366f1; --a2-rgb: 99,102,241; --a2l: #818cf8; --accent: #f5922f; --accent-rgb: 245,146,47; --accent2: #7c83f5;
  --soft: #fbb26b; --soft-rgb: 251,178,107; --code: #fdba74; --btn-fg: #1a0d02;
  --bg: #13141c; --bg-rgb: 19,20,28; --bg2: #1a1b25; --bg2-rgb: 26,27,37; --fg: #e6e7ee; --muted: #8a8ea3;
}
[data-theme="charcoal"] {
  --a1: #e8892c; --a1-rgb: 232,137,44; --a2: #e8892c; --a2-rgb: 232,137,44; --a2l: #f0a85c; --accent: #e8892c; --accent-rgb: 232,137,44; --accent2: #e8892c;
  --soft: #f0a85c; --soft-rgb: 240,168,92; --code: #f0a85c; --btn-fg: #1a0d02;
  --bg: #262626; --bg-rgb: 38,38,38; --bg2: #2e2e2e; --bg2-rgb: 46,46,46; --fg: #ececec; --muted: #b3b3b3;
}
[data-theme="vault"] {
  /* the tint colours are white, so every soft gradient on the site becomes a neutral grey sheen on black; solid colours stay orange */
  --a1: #d84d18; --a1-rgb: 255,255,255; --a2: #d84d18; --a2-rgb: 255,255,255; --a2l: #dd683e; --accent: #e85d27; --accent-rgb: 232,93,39; --accent2: #dd683e;
  --soft: #f08a5d; --soft-rgb: 240,138,93; --code: #f0a37f; --btn-fg: #fff;
  --bg: #060606; --bg-rgb: 6,6,6; --bg2: #101010; --bg2-rgb: 16,16,16; --fg: #fafafa; --muted: #8a8a8a;
}
[data-theme="sapphire"] {
  --a1: #2563eb; --a1-rgb: 37,99,235; --a2: #7c3aed; --a2-rgb: 124,58,237; --a2l: #a78bfa; --accent: #60a5fa; --accent-rgb: 96,165,250; --accent2: #a78bfa;
  --soft: #93c5fd; --soft-rgb: 147,197,253; --code: #c4b5fd; --btn-fg: #fff;
  --bg: #05070f; --bg-rgb: 5,7,15; --bg2: #0b1020; --bg2-rgb: 11,16,32; --fg: #e9eefb; --muted: #94a0b8;
}
[data-theme="teal"] {
  --a1: #0d9488; --a1-rgb: 13,148,136; --a2: #65a30d; --a2-rgb: 101,163,13; --a2l: #a3e635; --accent: #2dd4bf; --accent-rgb: 45,212,191; --accent2: #a3e635;
  --soft: #5eead4; --soft-rgb: 94,234,212; --code: #ccfbf1; --btn-fg: #fff;
  --bg: #050b0a; --bg-rgb: 5,11,10; --bg2: #0b1615; --bg2-rgb: 11,22,21; --fg: #e8f6f3; --muted: #90a9a4;
}
[data-theme="sunset"] {
  --a1: #f97316; --a1-rgb: 249,115,22; --a2: #ec4899; --a2-rgb: 236,72,153; --a2l: #f9a8d4; --accent: #fb923c; --accent-rgb: 251,146,60; --accent2: #f472b6;
  --soft: #fdba74; --soft-rgb: 253,186,116; --code: #fbcfe8; --btn-fg: #fff;
  --bg: #0d0808; --bg-rgb: 13,8,8; --bg2: #181011; --bg2-rgb: 24,16,17; --fg: #f8eeec; --muted: #ad9c9b;
}
[data-theme="aurora"] {
  --a1: #16a34a; --a1-rgb: 22,163,74; --a2: #9333ea; --a2-rgb: 147,51,234; --a2l: #c084fc; --accent: #4ade80; --accent-rgb: 74,222,128; --accent2: #c084fc;
  --soft: #86efac; --soft-rgb: 134,239,172; --code: #e9d5ff; --btn-fg: #fff;
  --bg: #06090a; --bg-rgb: 6,9,10; --bg2: #0e1416; --bg2-rgb: 14,20,22; --fg: #ecf4f1; --muted: #95a7a2;
}
[data-theme="gold"] {
  --a1: #d97706; --a1-rgb: 217,119,6; --a2: #eab308; --a2-rgb: 234,179,8; --a2l: #fde047; --accent: #fbbf24; --accent-rgb: 251,191,36; --accent2: #facc15;
  --soft: #fcd34d; --soft-rgb: 252,211,77; --code: #fef08a; --btn-fg: #1a1202;
  --bg: #0b0a07; --bg-rgb: 11,10,7; --bg2: #16130d; --bg2-rgb: 22,19,13; --fg: #f6f2e8; --muted: #a9a28f;
}
[data-theme="crimson"] {
  --a1: #dc2626; --a1-rgb: 220,38,38; --a2: #f59e0b; --a2-rgb: 245,158,11; --a2l: #fcd34d; --accent: #f87171; --accent-rgb: 248,113,113; --accent2: #fbbf24;
  --soft: #fca5a5; --soft-rgb: 252,165,165; --code: #fecaca; --btn-fg: #fff;
  --bg: #0d0707; --bg-rgb: 13,7,7; --bg2: #180f0f; --bg2-rgb: 24,15,15; --fg: #f8eded; --muted: #ad9999;
}
[data-theme="midnight"] {
  --a1: #4338ca; --a1-rgb: 67,56,202; --a2: #0ea5e9; --a2-rgb: 14,165,233; --a2l: #7dd3fc; --accent: #818cf8; --accent-rgb: 129,140,248; --accent2: #38bdf8;
  --soft: #a5b4fc; --soft-rgb: 165,180,252; --code: #bae6fd; --btn-fg: #fff;
  --bg: #03040a; --bg-rgb: 3,4,10; --bg2: #090c19; --bg2-rgb: 9,12,25; --fg: #e6e9f7; --muted: #8d94b0;
}
[data-theme="forest"] {
  --a1: #15803d; --a1-rgb: 21,128,61; --a2: #84cc16; --a2-rgb: 132,204,22; --a2l: #bef264; --accent: #4ade80; --accent-rgb: 74,222,128; --accent2: #a3e635;
  --soft: #86efac; --soft-rgb: 134,239,172; --code: #d9f99d; --btn-fg: #fff;
  --bg: #050805; --bg-rgb: 5,8,5; --bg2: #0c140d; --bg2-rgb: 12,20,13; --fg: #ebf3ea; --muted: #93a690;
}
[data-theme="mint"] {
  --a1: #059669; --a1-rgb: 5,150,105; --a2: #0891b2; --a2-rgb: 8,145,178; --a2l: #06b6d4; --accent: #047857; --accent-rgb: 4,120,87; --accent2: #0e7490;
  --soft: #065f46; --soft-rgb: 6,95,70; --code: #a7f3d0; --btn-fg: #fff;
  --bg: #f3faf7; --bg-rgb: 243,250,247; --bg2: #ffffff; --bg2-rgb: 255,255,255; --fg: #0f1f19; --muted: #56685f; --strong: #09130f; --tint: 15,31,25;
  --good: #15803d; --warn: #b45309; color-scheme: light;
}
[data-theme="lavender"] {
  --a1: #7c3aed; --a1-rgb: 124,58,237; --a2: #db2777; --a2-rgb: 219,39,119; --a2l: #ec4899; --accent: #6d28d9; --accent-rgb: 109,40,217; --accent2: #be185d;
  --soft: #5b21b6; --soft-rgb: 91,33,182; --code: #f5d0fe; --btn-fg: #fff;
  --bg: #f7f5fd; --bg-rgb: 247,245,253; --bg2: #ffffff; --bg2-rgb: 255,255,255; --fg: #1c1530; --muted: #655c78; --strong: #110d1d; --tint: 28,21,48;
  --good: #15803d; --warn: #b45309; color-scheme: light;
}
[data-theme="nord"] {
  --a1: #5e81ac; --a1-rgb: 94,129,172; --a2: #88c0d0; --a2-rgb: 136,192,208; --a2l: #8fbcbb; --accent: #88c0d0; --accent-rgb: 136,192,208; --accent2: #81a1c1;
  --soft: #81a1c1; --soft-rgb: 129,161,193; --code: #a3be8c; --btn-fg: #fff;
  --bg: #2e3440; --bg-rgb: 46,52,64; --bg2: #3b4252; --bg2-rgb: 59,66,82; --fg: #eceff4; --muted: #a4adbf;
}
[data-theme="gruvbox"] {
  --a1: #d65d0e; --a1-rgb: 214,93,14; --a2: #d79921; --a2-rgb: 215,153,33; --a2l: #fabd2f; --accent: #fe8019; --accent-rgb: 254,128,25; --accent2: #fabd2f;
  --soft: #fe8019; --soft-rgb: 254,128,25; --code: #b8bb26; --btn-fg: #1d2021;
  --bg: #282828; --bg-rgb: 40,40,40; --bg2: #32302f; --bg2-rgb: 50,48,47; --fg: #ebdbb2; --muted: #a89984;
}
[data-theme="dracula"] {
  --a1: #bd93f9; --a1-rgb: 189,147,249; --a2: #ff79c6; --a2-rgb: 255,121,198; --a2l: #ff79c6; --accent: #bd93f9; --accent-rgb: 189,147,249; --accent2: #ff79c6;
  --soft: #bd93f9; --soft-rgb: 189,147,249; --code: #50fa7b; --btn-fg: #1e1f29;
  --bg: #282a36; --bg-rgb: 40,42,54; --bg2: #303241; --bg2-rgb: 48,50,65; --fg: #f8f8f2; --muted: #a2a7c4;
}
[data-theme="catppuccin"] {
  --a1: #cba6f7; --a1-rgb: 203,166,247; --a2: #89b4fa; --a2-rgb: 137,180,250; --a2l: #89dceb; --accent: #cba6f7; --accent-rgb: 203,166,247; --accent2: #89b4fa;
  --soft: #f5c2e7; --soft-rgb: 245,194,231; --code: #a6e3a1; --btn-fg: #1e1e2e;
  --bg: #1e1e2e; --bg-rgb: 30,30,46; --bg2: #262637; --bg2-rgb: 38,38,55; --fg: #cdd6f4; --muted: #a6adc8;
}
[data-theme="tokyonight"] {
  --a1: #7aa2f7; --a1-rgb: 122,162,247; --a2: #bb9af7; --a2-rgb: 187,154,247; --a2l: #bb9af7; --accent: #7aa2f7; --accent-rgb: 122,162,247; --accent2: #bb9af7;
  --soft: #7dcfff; --soft-rgb: 125,207,255; --code: #9ece6a; --btn-fg: #1a1b26;
  --bg: #1a1b26; --bg-rgb: 26,27,38; --bg2: #24283b; --bg2-rgb: 36,40,59; --fg: #c0caf5; --muted: #9aa5ce;
}
[data-theme="solarized"] {
  --a1: #268bd2; --a1-rgb: 38,139,210; --a2: #2aa198; --a2-rgb: 42,161,152; --a2l: #2aa198; --accent: #268bd2; --accent-rgb: 38,139,210; --accent2: #2aa198;
  --soft: #6c71c4; --soft-rgb: 108,113,196; --code: #859900; --btn-fg: #fff;
  --bg: #002b36; --bg-rgb: 0,43,54; --bg2: #073642; --bg2-rgb: 7,54,66; --fg: #eee8d5; --muted: #93a1a1;
}
[data-theme="solarlight"] {
  --a1: #268bd2; --a1-rgb: 38,139,210; --a2: #2aa198; --a2-rgb: 42,161,152; --a2l: #2aa198; --accent: #268bd2; --accent-rgb: 38,139,210; --accent2: #2aa198;
  --soft: #6c71c4; --soft-rgb: 108,113,196; --code: #93a1a1; --btn-fg: #fff;
  --bg: #fdf6e3; --bg-rgb: 253,246,227; --bg2: #fffbef; --bg2-rgb: 255,251,239; --fg: #073642; --muted: #586e75; --strong: #042028; --tint: 7,54,66;
  --good: #15803d; --warn: #b45309; color-scheme: light;
}
[data-theme="rosepine"] {
  --a1: #c4a7e7; --a1-rgb: 196,167,231; --a2: #ebbcba; --a2-rgb: 235,188,186; --a2l: #f6c177; --accent: #c4a7e7; --accent-rgb: 196,167,231; --accent2: #ebbcba;
  --soft: #9ccfd8; --soft-rgb: 156,207,216; --code: #9ccfd8; --btn-fg: #191724;
  --bg: #191724; --bg-rgb: 25,23,36; --bg2: #1f1d2e; --bg2-rgb: 31,29,46; --fg: #e0def4; --muted: #908caa;
}
[data-theme="everforest"] {
  --a1: #a7c080; --a1-rgb: 167,192,128; --a2: #83c092; --a2-rgb: 131,192,146; --a2l: #7fbbb3; --accent: #a7c080; --accent-rgb: 167,192,128; --accent2: #83c092;
  --soft: #dbbc7f; --soft-rgb: 219,188,127; --code: #a7c080; --btn-fg: #2d353b;
  --bg: #2d353b; --bg-rgb: 45,53,59; --bg2: #343f44; --bg2-rgb: 52,63,68; --fg: #d3c6aa; --muted: #9da9a0;
}
[data-theme="monokai"] {
  --a1: #f92672; --a1-rgb: 249,38,114; --a2: #fd971f; --a2-rgb: 253,151,31; --a2l: #e6db74; --accent: #66d9ef; --accent-rgb: 102,217,239; --accent2: #a6e22e;
  --soft: #f92672; --soft-rgb: 249,38,114; --code: #a6e22e; --btn-fg: #fff;
  --bg: #272822; --bg-rgb: 39,40,34; --bg2: #2f302a; --bg2-rgb: 47,48,42; --fg: #f8f8f2; --muted: #a59f85;
}
/* shared: built from the scheme's colours */
:root, [data-theme] {
  --surface: rgba(var(--tint),.035); --surface2: rgba(var(--tint),.06); --border: rgba(var(--tint),.08); --border2: rgba(var(--tint),.14);
  --grad: linear-gradient(90deg, var(--soft), var(--a2l));
}
[data-mode="light"] .trust article, [data-mode="light"] .steps li, [data-mode="light"] .safety article, [data-mode="light"] .tile, [data-mode="light"] .feature-grid div,
[data-mode="light"] .conn, [data-mode="light"] .plan, [data-mode="light"] .post-card, [data-mode="light"] .docs-sec, [data-mode="light"] .ai-card,
[data-mode="light"] .slider, [data-mode="light"] .tslider, [data-mode="light"] .area-show, [data-mode="light"] .explore a {
  background: #fff; box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 10px 30px rgba(15,23,42,.06); }
[data-mode="light"] .hero-chat, [data-mode="light"] .video-frame, [data-mode="light"] .shot { box-shadow: 0 30px 80px rgba(15,23,42,.16); }
[data-mode="light"] .foot { background: #fff; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 Inter, system-ui, sans-serif; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -.02em; }
.wrap { width: min(1200px, 100% - 40px); margin: 0 auto; }
section { padding: 44px 0; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.glow { position: fixed; width: 620px; height: 620px; border-radius: 50%; filter: blur(140px); opacity: .22; z-index: -1; pointer-events: none; }
.g1 { background: var(--a1); top: -200px; left: -160px; } .g2 { background: var(--a2); bottom: -260px; right: -200px; opacity: .14; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 28px; padding: 14px max(20px, calc((100% - 1200px) / 2));
  background: rgba(var(--bg-rgb),.72); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; }
.brand img, .brand-mark svg { width: 32px; height: 32px; } .brand-mark { display: inline-flex; }
.links { display: flex; gap: 26px; margin-left: auto; color: var(--muted); font-size: 15px; }
.links a:hover { color: var(--fg); }
.burger { display: none; background: none; border: 0; padding: 6px; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; background: var(--fg); margin: 5px 0; border-radius: 2px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 12px; font-weight: 600;
  background: linear-gradient(135deg, var(--a1), var(--a2)); color: var(--strong); border: 0; cursor: pointer; transition: transform .15s, box-shadow .15s;
  box-shadow: 0 8px 30px rgba(var(--a1-rgb),.35); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(var(--a1-rgb),.5); }
.btn.ghost { background: var(--surface); border: 1px solid var(--border); box-shadow: none; }
.btn.ghost:hover { border-color: rgba(var(--accent-rgb),.6); }
.btn.sm { padding: 9px 16px; font-size: 14px; }
.btn.full { width: 100%; }

/* hero */
.hero { padding-top: 80px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 99px; border: 1px solid var(--border); background: var(--surface); color: var(--muted); font-size: 14px; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 10px var(--good); }
.hero h1 { font-size: clamp(38px, 5vw, 62px); font-weight: 800; margin: 22px 0 20px; }
.lead { font-size: 19px; color: var(--muted); max-width: 560px; }
.lead b { color: var(--fg); }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.cta-row.center { justify-content: center; }
.hero-stats { list-style: none; display: flex; gap: 40px; padding: 0; margin: 40px 0 0; }
.hero-stats b { display: block; font-size: 32px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; color: transparent; }
.hero-stats span { color: var(--muted); font-size: 14px; }
.hero-chat { border-radius: 20px; border: 1px solid var(--border); background: rgba(var(--bg2-rgb),.75); backdrop-filter: blur(18px); box-shadow: 0 30px 80px rgba(0,0,0,.5); overflow: hidden; }
.chat-top { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.chat-top i { width: 11px; height: 11px; border-radius: 50%; background: #f87171; } .chat-top i:nth-child(2) { background: #fbbf24; } .chat-top i:nth-child(3) { background: #34d399; }
.chat-top span { margin-left: 8px; }
.chat-body { height: 360px; padding: 18px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 14px; animation: in .35s ease both; }
.msg.me { align-self: flex-end; background: rgba(var(--a1-rgb),.2); border: 1px solid rgba(var(--accent-rgb),.3); border-bottom-right-radius: 4px; }
.msg.ai { background: var(--surface); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.msg code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; color: var(--accent2); }
.steps-mini { margin: 6px 0 0; padding: 0; list-style: none; font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; color: var(--muted); }
.steps-mini li { padding: 2px 0; } .steps-mini .ok { color: var(--good); } .steps-mini .wip { color: var(--warn); }
.approve { display: inline-flex; gap: 8px; margin-top: 8px; } .approve span { padding: 5px 12px; border-radius: 8px; font-size: 12px; font-weight: 600; background: var(--good); color: #052e1f; } .approve span + span { background: var(--surface); color: var(--muted); border: 1px solid var(--border); }
@keyframes in { from { opacity: 0; transform: translateY(8px); } }

/* logo strip */
.strip { padding: 30px 0 10px; text-align: center; }
.strip p { color: var(--muted); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 18px; }
.marquee { 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); }
.track { display: flex; gap: 18px; width: max-content; animation: scroll 320s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.logo-chip { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); white-space: nowrap; font-size: 14px; color: var(--muted); }
.logo-chip .lg { width: 30px; height: 30px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* sections */
.section-head { text-align: center; max-width: 760px; margin: 0 auto 30px; }
.section-head h2 { font-size: clamp(26px, 3.1vw, 36px); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 18px; margin: 14px 0 0; }
.video-frame { border-radius: 22px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 30px 90px rgba(0,0,0,.55); background: #000; }
.video-frame video { width: 100%; display: block; aspect-ratio: 16/9; }

/* slider */
.slider { position: relative; border-radius: 24px; border: 1px solid var(--border); background: rgba(var(--bg2-rgb),.7); overflow: hidden; }
.slides { display: flex; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.slide { min-width: 100%; display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; align-items: center; padding: 50px; }
.slide .kicker { color: var(--accent2); font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.slide h3 { font-size: 34px; font-weight: 800; margin: 10px 0 14px; }
.slide p { color: var(--muted); font-size: 17px; }
.slide ul { padding-left: 18px; color: var(--muted); } .slide li { margin: 6px 0; }
.shot { border-radius: 14px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 20px 60px rgba(0,0,0,.5); background: var(--bg2); aspect-ratio: 16/9; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.nav-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border); background: rgba(var(--bg-rgb),.8); color: var(--fg); font-size: 26px; cursor: pointer; }
.nav-btn:hover { border-color: var(--accent); } .prev { left: 14px; } .next { right: 14px; }
.dots { display: flex; gap: 8px; justify-content: center; padding: 0 0 24px; }
.dots button { width: 9px; height: 9px; border-radius: 9px; border: 0; background: rgba(var(--tint),.2); cursor: pointer; transition: all .3s; padding: 0; }
.dots button.on { width: 28px; background: var(--grad); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 30px; }
.feature-grid div { padding: 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); }
.feature-grid b { display: block; margin-bottom: 4px; } .feature-grid span { color: var(--muted); font-size: 14px; }

.ex { display: grid; grid-template-columns: 280px 1fr; gap: 24px; align-items: start; }
.ex-tabs { display: flex; flex-direction: column; gap: 6px; max-height: 520px; overflow-y: auto; padding-right: 4px; }
.ex-tabs button { display: flex; align-items: center; gap: 10px; text-align: left; padding: 9px 12px; border-radius: 12px; border: 1px solid transparent; background: none; color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; }
.ex-tabs button .lg { width: 28px; height: 28px; border-radius: 8px; }
.ex-tabs button:hover { color: var(--fg); background: var(--surface); }
.ex-tabs button.on { color: var(--fg); background: rgba(var(--accent-rgb),.15); border-color: rgba(var(--accent-rgb),.45); }
.ex-chat .chat-body { height: 470px; }
@media (max-width: 960px) { .ex { grid-template-columns: 1fr; } .ex-tabs { flex-direction: row; overflow-x: auto; max-height: none; } .ex-tabs button { white-space: nowrap; } }
/* how */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 1200px) { .steps { grid-template-columns: repeat(2, 1fr); } }
.steps li { padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.steps span { display: inline-flex; width: 40px; height: 40px; border-radius: 12px; align-items: center; justify-content: center; font-weight: 800; background: linear-gradient(135deg, var(--a1), var(--a2)); }
.steps h3 { margin: 18px 0 8px; font-size: 22px; } .steps p { color: var(--muted); margin: 0; }

/* safety */
.safety { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.safety article { padding: 28px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(var(--accent-rgb),.08), transparent); border: 1px solid var(--border); }
.safety .ic { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; background: rgba(var(--accent-rgb),.15); }
.safety h3 { margin: 16px 0 8px; font-size: 20px; } .safety p { color: var(--muted); margin: 0; font-size: 15px; }

/* connectors */
.conn-tools { display: flex; flex-direction: column; gap: 16px; align-items: center; margin-bottom: 28px; }
#connSearch { width: min(520px, 100%); padding: 14px 18px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); color: var(--fg); font: inherit; outline: none; }
#connSearch:focus { border-color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chips button { padding: 7px 14px; border-radius: 99px; border: 1px solid var(--border); background: transparent; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; }
.chips button.on { background: rgba(var(--accent-rgb),.18); border-color: rgba(var(--accent-rgb),.6); color: var(--fg); }
.conn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.conn { display: flex; gap: 14px; padding: 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); transition: border-color .2s, transform .2s; }
.conn:hover { border-color: rgba(var(--accent-rgb),.5); transform: translateY(-2px); }
.lg { width: 44px; height: 44px; flex: none; border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.lg img { width: 72%; height: 72%; object-fit: contain; }
.lg.letter { background: linear-gradient(135deg, var(--a1), var(--a2)); color: var(--strong); font-weight: 800; }
.conn b { display: flex; align-items: center; gap: 8px; font-size: 15px; } .conn small { display: block; color: var(--accent2); font-size: 12px; margin: 1px 0 4px; }
.conn p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.conn-grid .more { grid-column: 1 / -1; justify-self: center; margin-top: 10px; }
.free-tag { font-size: 11px; font-weight: 700; color: #052e1f; background: var(--good); padding: 1px 7px; border-radius: 6px; }

/* ai */
.ai-card { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; padding: 50px; border-radius: 26px; border: 1px solid rgba(var(--accent-rgb),.35);
  background: radial-gradient(circle at 0% 0%, rgba(var(--a1-rgb),.25), transparent 50%), radial-gradient(circle at 100% 100%, rgba(var(--a2-rgb),.18), transparent 50%), var(--bg2); }
.ai-card h2 { font-size: 32px; font-weight: 800; } .ai-card p { color: var(--muted); font-size: 18px; }
.ai-badges { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.ai-badges span { padding: 12px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); font-weight: 600; }
.ticks { list-style: none; padding: 0; margin: 18px 0; } .ticks li { padding: 6px 0 6px 28px; position: relative; color: var(--muted); font-size: 15px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--good); font-weight: 800; } .ticks li b { color: var(--fg); }
.ticks li.no::before { content: "–"; color: var(--muted); }

/* assist tools */
.tslider { border-radius: 24px; border: 1px solid var(--border); background: rgba(var(--bg2-rgb),.7); overflow: hidden; }
.tbar { height: 3px; background: rgba(var(--tint),.06); } .tbar i { display: block; height: 100%; width: 0; background: var(--grad); }
.ttop { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.ttop .nav-btn { position: static; transform: none; width: 38px; height: 38px; font-size: 22px; flex: none; }
#tjump { flex: 1; max-width: 360px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg2); color: var(--fg); font: inherit; font-size: 14px; }
.tcount { color: var(--muted); font-size: 13px; margin-left: auto; } .tpause { background: none; border: 1px solid var(--border); color: var(--muted); border-radius: 8px; padding: 6px 10px; cursor: pointer; font-size: 12px; }
.tslides { display: flex; align-items: flex-start; transition: transform .7s cubic-bezier(.2,.8,.2,1), height .45s ease; }
.tslide { min-width: 100%; padding: 26px 36px 24px; }
.thead { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; } .thead .lg { width: 56px; height: 56px; border-radius: 14px; }
.thead h3 { font-size: 28px; font-weight: 800; } .thead p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.tcols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.tcols h4 { margin: 0 0 10px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent2); }
.tcols h4.chg { color: var(--warn); }
.tcols ul { list-style: none; margin: 0; padding: 0; } .tcols li { position: relative; padding: 5px 0 5px 20px; color: var(--fg); font-size: 14px; line-height: 1.45; border-bottom: 1px solid rgba(var(--tint),.04); }
.tcols li::before { content: "•"; position: absolute; left: 4px; color: var(--muted); }
.tcols .more { margin-top: 10px; background: none; border: 0; color: var(--accent); cursor: pointer; font: inherit; font-size: 13px; padding: 0; }
@media (max-width: 960px) { .tcols { grid-template-columns: 1fr; } .tslide { padding: 22px 18px; } .thead h3 { font-size: 22px; } }
/* pricing */
.billing { display: flex; width: fit-content; margin: 0 auto 34px; padding: 4px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); }
.billing button { padding: 9px 18px; border-radius: 9px; border: 0; background: none; color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; }
.billing button.on { background: rgba(var(--accent-rgb),.2); color: var(--fg); } .billing em { font-style: normal; color: var(--good); font-size: 12px; margin-left: 4px; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 330px)); gap: 22px; justify-content: center; }
@media (max-width: 1400px) { .plans { grid-template-columns: repeat(2, minmax(0, 380px)); } }
.plan { position: relative; padding: 30px; border-radius: 24px; background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; }
.plan.pro { border-color: rgba(var(--accent-rgb),.6); background: linear-gradient(180deg, rgba(var(--a1-rgb),.14), rgba(var(--a2-rgb),.04)); box-shadow: 0 30px 80px rgba(var(--a1-rgb),.2); }
.plan h3 { font-size: 22px; } .price { margin: 12px 0 4px; } .price b { font-size: 48px; font-weight: 800; } .price span { color: var(--muted); margin-left: 6px; }
.plan .sub { color: var(--muted); margin: 0; } .plan .ticks { flex: 1; }
.ribbon { position: absolute; top: -13px; right: 24px; padding: 4px 12px; border-radius: 99px; font-size: 12px; font-weight: 700; background: var(--grad); color: var(--btn-fg); }
.compare { max-width: 880px; margin: 34px auto 0; text-align: center; }
/* "Compare plans in detail": a pill that pulses and bounces its arrow until it is opened, so visitors notice there is a full comparison */
.compare summary { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; list-style: none; color: var(--accent); font-weight: 700; font-size: 16px; padding: 11px 22px; border-radius: 999px;
  border: 1px solid rgba(var(--accent-rgb), .5); background: rgba(var(--accent-rgb), .1); animation: cmp-pulse 2.2s ease-out infinite; transition: background .2s, transform .2s; }
.compare summary::-webkit-details-marker { display: none; }
.compare summary::after { content: ""; width: 9px; height: 9px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(45deg) translateY(-2px); animation: cmp-bounce 1.3s ease-in-out infinite; }
.compare summary:hover { background: rgba(var(--accent-rgb), .2); transform: translateY(-1px); }
.compare[open] summary { animation: none; }
.compare[open] summary::after { animation: none; transform: rotate(-135deg) translate(-2px, -2px); }
.compare[open] .table-wrap { animation: cmp-open .45s ease-out both; text-align: left; }
@keyframes cmp-pulse { 0% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .55); } 70%, 100% { box-shadow: 0 0 0 16px rgba(var(--accent-rgb), 0); } }
@keyframes cmp-bounce { 0%, 100% { transform: rotate(45deg) translate(-2px, -3px); } 50% { transform: rotate(45deg) translate(1px, 1px); } }
@keyframes cmp-open { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .compare summary, .compare summary::after, .compare[open] .table-wrap { animation: none !important; } }
.table-wrap { overflow-x: auto; margin-top: 18px; }
.compare table { width: 100%; border-collapse: collapse; font-size: 15px; } .compare th, .compare td { padding: 11px 14px; border-bottom: 1px solid var(--border); text-align: left; }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; } .compare th { color: var(--muted); font-weight: 600; }

/* faq */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--border); padding: 18px 4px; } .faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; } .faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin: 12px 0 0; }

/* final */
.final { text-align: center; } .final h2 { font-size: clamp(26px, 3.1vw, 36px); font-weight: 800; } .final > p { color: var(--muted); font-size: 18px; }
.code { position: relative; max-width: 820px; margin: 26px auto 0; padding: 18px 90px 18px 20px; border-radius: 14px; background: #05060a; border: 1px solid var(--border); text-align: left; overflow-x: auto; font-size: 14px; color: var(--code); }
.copy { position: absolute; top: 12px; right: 12px; padding: 6px 12px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); color: var(--fg); cursor: pointer; font: inherit; font-size: 13px; }

/* footer */
.foot { border-top: 1px solid var(--border); padding: 50px 0 30px; margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; } .foot h4 { margin: 0 0 12px; font-size: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.foot a { display: block; color: var(--muted); padding: 3px 0; } .foot a:hover { color: var(--fg); } .foot p { color: var(--muted); }
.legal { text-align: center; font-size: 13px; margin-top: 30px; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; } .reveal.seen { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .hero-grid, .slide, .ai-card { grid-template-columns: 1fr; } .slide { padding: 30px 24px 10px; } .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps, .safety, .plans { grid-template-columns: 1fr; } .foot-grid { grid-template-columns: 1fr 1fr; }
  .links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; padding: 10px 20px; background: var(--bg2); border-bottom: 1px solid var(--border); }
  .links.open { display: flex; } .links a { padding: 12px 0; } .burger { display: block; margin-left: auto; } .nav .btn.sm { display: none; }
  .hero-stats { gap: 24px; } section { padding: 60px 0; } .nav-btn { display: none; }
}
@media (prefers-reduced-motion: reduce) { .track, .msg, .slides { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; } }

.hero .consoles { margin: 14px 0 0; max-width: 560px; color: var(--muted); font-size: 16px; line-height: 1.55; padding-left: 14px; border-left: 3px solid var(--accent); }
.hero .consoles b { color: var(--fg); }

/* ---- multi-page layout ---- */
.links a[aria-current="page"] { color: var(--fg); background: rgba(var(--tint),.08); }
.page-head { padding-top: 56px; text-align: center; } .page-head h1 { font-size: clamp(30px, 4vw, 42px); margin: 0 0 8px; } .page-head p { color: var(--muted); margin: 0 auto 22px; max-width: 620px; }
.subtabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 0 6px; position: sticky; top: 64px; z-index: 5; padding: 10px 0; backdrop-filter: blur(10px); }
.subtabs a { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14px; background: rgba(var(--bg2-rgb),.6); }
.subtabs a:hover { color: var(--fg); } .subtabs a.on { color: var(--strong); border-color: transparent; background: linear-gradient(135deg, var(--a1), var(--a2)); }
.panel { display: none; } .panel.on { display: block; animation: fadein .35s ease; } @keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; } @media (max-width: 960px) { .tiles { grid-template-columns: 1fr 1fr; } } @media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } }
.tile { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 20px; border: 1px solid var(--border); background: var(--surface); color: var(--fg); text-decoration: none; transition: transform .2s, border-color .2s; }
.tile:hover { transform: translateY(-3px); border-color: rgba(var(--accent-rgb),.6); } .tile b { font-size: 18px; } .tile span { color: var(--muted); font-size: 14px; line-height: 1.5; }

.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 960px; margin: 0 auto; } @media (max-width: 760px) { .trust { grid-template-columns: 1fr; } }
.trust article { padding: 28px; border-radius: 22px; border: 1px solid var(--border); background: linear-gradient(180deg, rgba(var(--a1-rgb),.10), rgba(var(--a2-rgb),.03)); }
.trust .ti { font-size: 28px; } .trust h3 { margin: 10px 0 6px; font-size: 22px; } .trust p { margin: 0; color: var(--muted); line-height: 1.6; }
.nav-signin { color: var(--muted); font-size: 14px; font-weight: 500; margin-right: -14px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--border); }
.nav-signin:hover { color: var(--text); background: rgba(var(--tint),.05); }
@media (max-width: 960px) { .nav-signin { margin-left: auto; margin-right: -14px; padding: 6px 10px; font-size: 13px; } }

/* ---------- Markdown pages: docs, blog, changelog ---------- */
.prose { min-width: 0; font-size: 16px; line-height: 1.7; }
.prose section { padding: 0; }
.prose h1 { font-size: clamp(30px, 4vw, 40px); line-height: 1.15; margin: 0 0 10px; letter-spacing: -.02em; }
.prose h2 { font-size: 23px; margin: 46px 0 14px; padding-top: 18px; border-top: 1px solid var(--border); letter-spacing: -.01em; scroll-margin-top: 90px; }
.prose h3 { font-size: 18px; margin: 28px 0 10px; scroll-margin-top: 90px; }
.prose p, .prose ul { margin: 0 0 16px; } .prose li { margin: 5px 0; } .prose ul li::marker { color: var(--accent); }
.prose a { color: var(--soft); text-decoration: underline; text-decoration-color: rgba(var(--soft-rgb),.35); text-underline-offset: 3px; } .prose a:hover { text-decoration-color: currentColor; }
.prose strong { color: var(--strong); } .prose .lede { font-size: 18.5px; color: var(--muted); margin: 0 0 30px; }
.prose code { font: 13.5px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; background: rgba(var(--tint),.07); border: 1px solid var(--border); border-radius: 6px; padding: 1px 6px; white-space: nowrap; }
.prose pre { background: #05060a !important; border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; overflow-x: auto; margin: 0 0 20px; }
.prose pre code { background: none; border: 0; padding: 0; font-size: 13.5px; white-space: pre; }
.prose img { max-width: 100%; border-radius: 12px; border: 1px solid var(--border); }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 34px 0; }
/* numbered steps */
.prose ol { list-style: none; counter-reset: step; padding: 0; margin: 0 0 20px; }
.prose ol > li { counter-increment: step; position: relative; padding: 2px 0 10px 46px; margin: 0; }
.prose ol > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 700; font-size: 14px; color: var(--strong); background: linear-gradient(135deg, var(--a1), var(--a2)); }
.prose ol > li:not(:last-child)::after { content: ""; position: absolute; left: 14.5px; top: 34px; bottom: 2px; width: 1px; background: var(--border); }
/* tables: a card with a header row */
.prose table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 0 0 22px; font-size: 14.5px; display: block; overflow-x: auto;
  border: 1px solid var(--border); border-radius: 12px; background: rgba(var(--tint),.02); }
.prose thead th { background: rgba(var(--tint),.05); color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.prose th, .prose td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.prose tbody tr:last-child td { border-bottom: 0; } .prose tbody tr:hover td { background: rgba(var(--tint),.025); }
.prose td:first-child { white-space: nowrap; }
/* callouts: > [!NOTE] … */
.prose blockquote { margin: 0 0 20px; padding: 14px 18px; border: 1px solid var(--border); border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 12px 12px 0; }
.prose blockquote p:last-child { margin: 0; }
.prose .callout { border-radius: 12px; border-left-width: 1px; position: relative; padding-top: 34px; }
.prose .callout::before { content: attr(data-label); position: absolute; top: 11px; left: 18px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.prose .callout.note { background: rgba(var(--a1-rgb),.08); border-color: rgba(var(--accent-rgb),.35); } .prose .callout.note::before { color: var(--soft); }
.prose .callout.tip { background: rgba(52,211,153,.07); border-color: rgba(52,211,153,.35); } .prose .callout.tip::before { color: var(--good); }
.prose .callout.warning { background: rgba(251,191,36,.07); border-color: rgba(251,191,36,.35); } .prose .callout.warning::before { color: var(--warn); }
.prose .callout.danger { background: rgba(251,113,133,.07); border-color: rgba(251,113,133,.4); } .prose .callout.danger::before { color: #fb7185; }

/* docs layout: sidebar · page · on this page */
.docs { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 48px; padding: 40px 0 20px; align-items: start; }
.docs.has-toc { grid-template-columns: 230px minmax(0, 1fr) 200px; }
.doc { max-width: 800px; }
.docs-nav, .toc { position: sticky; top: 88px; max-height: calc(100vh - 108px); overflow-y: auto; font-size: 14px; }
.docs-search { width: 100%; margin-bottom: 14px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--border); background: rgba(var(--tint),.04); color: var(--fg); font: inherit; }
.docs-search:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb),.18); }
.docs-nav h4, .toc h4 { margin: 20px 0 6px; font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.docs-nav a { display: block; padding: 6px 10px; border-radius: 8px; color: var(--muted); }
.docs-nav a:hover { color: var(--fg); background: var(--surface); }
.docs-nav a[aria-current] { color: var(--strong); background: rgba(var(--accent-rgb),.14); box-shadow: inset 2px 0 0 var(--accent); }
.docs-home { font-weight: 600; } .docs-none { color: var(--muted); font-size: 13px; padding: 6px 10px; }
.toc h4 { margin-top: 4px; } .toc a { display: block; padding: 4px 0 4px 12px; color: var(--muted); border-left: 1px solid var(--border); font-size: 13.5px; line-height: 1.45; }
.toc a.sub { padding-left: 24px; font-size: 13px; } .toc a:hover { color: var(--fg); } .toc a.on { color: var(--strong); border-left-color: var(--accent); }
.crumbs { font-size: 13.5px; color: var(--muted); margin-bottom: 14px; display: flex; gap: 8px; }
.prose .crumbs a { color: var(--muted); text-decoration: none; } .prose .crumbs a:hover { color: var(--fg); }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 54px; }
.prose .pager a { text-decoration: none; padding: 14px 18px; border: 1px solid var(--border); border-radius: 12px; color: var(--fg); background: var(--surface); font-weight: 600; }
.prose .pager a:hover { border-color: rgba(var(--accent-rgb),.5); } .pager .next { text-align: right; grid-column: 2; } .pager small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; }
/* docs home */
.docs-hero { padding-bottom: 8px; }
.quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0 0 34px; }
.prose .quick a { text-decoration: none; padding: 18px 20px; border-radius: 14px; color: var(--fg);
  background: linear-gradient(135deg, rgba(var(--a1-rgb),.16), rgba(var(--a2-rgb),.08)); border: 1px solid rgba(var(--accent-rgb),.3); transition: transform .2s, border-color .2s; }
.prose .quick a:hover { transform: translateY(-2px); border-color: rgba(var(--accent-rgb),.6); }
.quick b { display: block; font-size: 16px; } .quick span { color: var(--muted); font-size: 14px; }
.docs-secs { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.docs-sec { border: 1px solid var(--border); border-radius: 16px; background: var(--surface); padding: 22px 12px 12px; }
.prose .docs-sec h2 { margin: 0 12px 12px; padding: 0; border: 0; font-size: 17px; display: flex; gap: 10px; align-items: center; }
.prose .docs-sec a { display: block; text-decoration: none; padding: 10px 12px; border-radius: 10px; color: var(--fg); }
.prose .docs-sec a:hover { background: rgba(var(--tint),.05); }
.docs-sec a b { display: block; font-weight: 600; } .docs-sec a span { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
@media (max-width: 1180px) { .docs.has-toc { grid-template-columns: 220px minmax(0, 1fr); } .toc { display: none; } }
@media (max-width: 860px) { .docs, .docs.has-toc { grid-template-columns: 1fr; gap: 20px; } .docs-nav { position: static; max-height: none; border: 1px solid var(--border); border-radius: 14px; padding: 12px; }
  .quick { grid-template-columns: 1fr; } .pager { grid-template-columns: 1fr; } .pager .next { grid-column: 1; } }

.post-list { max-width: 820px; display: grid; gap: 16px; padding-bottom: 30px; }
.post-card { display: block; padding: 22px 24px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); transition: border-color .2s, transform .2s; }
.post-card:hover { border-color: rgba(var(--accent-rgb),.5); transform: translateY(-2px); }
.post-card h2 { margin: 4px 0 6px; font-size: 22px; } .post-card p { margin: 0; color: var(--muted); }
.post-card time, .post time { color: var(--muted); font-size: 14px; } .draft { color: var(--warn); font-size: 14px; font-style: normal; }
.post { padding-top: 48px; margin: 0 auto; } .prose .back { display: inline-block; margin-bottom: 18px; text-decoration: none; color: var(--muted); }

.changelog { max-width: 900px; padding-bottom: 30px; }
.release { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 30px; padding: 30px 0; border-bottom: 1px solid var(--border); }
.rel-meta b { display: inline-block; padding: 3px 12px; border-radius: 99px; background: rgba(var(--accent-rgb),.15); color: var(--soft); font-size: 15px; }
.rel-meta time { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; }
.release .prose h2 { margin-top: 0; font-size: 22px; }
@media (max-width: 640px) { .release { grid-template-columns: 1fr; gap: 10px; } }
.notfound { padding-bottom: 80px; }

/* ---------- flow diagrams in docs (<div class="flow">) ---------- */
.flow { display: flex; align-items: stretch; gap: 0; margin: 4px 0 14px; }
.flow .node { flex: 1; min-width: 0; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--border); background: rgba(var(--tint),.04); }
.flow .node b { display: block; font-size: 15px; color: var(--strong); } .flow .node span { display: block; font-size: 13px; color: var(--muted); line-height: 1.45; margin-top: 3px; }
.flow .node.main { background: linear-gradient(135deg, rgba(var(--a1-rgb),.22), rgba(var(--a2-rgb),.1)); border-color: rgba(var(--accent-rgb),.45); flex: 1.3; }
.flow .node.gw { background: rgba(251,191,36,.08); border-color: rgba(251,191,36,.4); }
.flow .arrow { flex: 0 0 92px; position: relative; display: flex; align-items: center; justify-content: center; }
.flow .arrow::before { content: ""; position: absolute; left: 8px; right: 12px; top: 50%; height: 2px; background: linear-gradient(90deg, var(--a1), var(--a2)); }
.flow .arrow::after { content: ""; position: absolute; right: 6px; top: calc(50% - 5px); border: 5px solid transparent; border-left: 8px solid var(--a2); }
.flow .arrow.both::before { left: 14px; }
.flow .arrow.both span::before { content: ""; position: absolute; left: -16px; top: calc(50% + 7px); border: 5px solid transparent; border-right: 8px solid var(--a1); }
.flow .arrow span { position: relative; transform: translateY(-14px); font-size: 11px; color: var(--muted); text-align: center; line-height: 1.2; padding: 0 4px; }
.flow-side { display: flex; justify-content: center; margin: 0 0 26px; }
.flow-side .node { max-width: 460px; padding: 12px 16px; border-radius: 14px; border: 1px dashed rgba(52,211,153,.45); background: rgba(52,211,153,.06); position: relative; }
.flow-side .node::before { content: ""; position: absolute; left: 50%; top: -15px; height: 14px; border-left: 2px dashed rgba(52,211,153,.45); }
.flow-side b { color: var(--strong); font-size: 15px; } .flow-side span { display: block; font-size: 13px; color: var(--muted); margin-top: 3px; }
.flow.zones { margin-bottom: 26px; }
.flow .zone { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; padding: 26px 10px 10px; border-radius: 16px; border: 1px dashed var(--border); position: relative; }
.flow .zone small { position: absolute; top: 7px; left: 12px; font-size: 10.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.flow .zone.edge { border-color: rgba(251,191,36,.35); } .flow .zone.far { border-color: rgba(251,113,133,.35); }
.flow .zone .node { flex: 1; }
@media (max-width: 760px) {
  .flow { flex-direction: column; } .flow .arrow { flex: 0 0 46px; }
  .flow .arrow::before { left: 50%; right: auto; top: 6px; bottom: 12px; width: 2px; height: auto; background: linear-gradient(var(--a1), var(--a2)); }
  .flow .arrow::after { left: calc(50% - 4px); right: auto; top: auto; bottom: 4px; border: 5px solid transparent; border-top: 8px solid var(--a2); }
  .flow .arrow span { transform: translateX(60px); } .flow .arrow.both span::before { display: none; }
}

/* security layers (<div class="layers">) */
.layers { display: grid; gap: 6px; margin: 4px 0 26px; counter-reset: none; }
.layers > div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; align-items: center; padding: 11px 16px; border-radius: 12px;
  border: 1px solid var(--border); background: linear-gradient(90deg, rgba(var(--a1-rgb),.14), rgba(var(--tint),.02)); }
.layers > div:nth-child(n+3) { background: linear-gradient(90deg, rgba(var(--a1-rgb),.13), rgba(var(--tint),.02)); }
.layers > div:nth-child(n+5) { background: linear-gradient(90deg, rgba(var(--a2-rgb),.12), rgba(var(--tint),.02)); }
.layers b { color: var(--strong); font-size: 14.5px; } .layers span { color: var(--muted); font-size: 14px; }
@media (max-width: 640px) { .layers > div { grid-template-columns: 1fr; gap: 2px; } }

/* language switcher */
.lang { position: relative; } .lang summary { list-style: none; cursor: pointer; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.lang summary::-webkit-details-marker { display: none; } .lang summary:hover, .lang[open] summary { color: var(--fg); }
.lang > div { position: absolute; right: 0; top: calc(100% + 8px); min-width: 140px; padding: 6px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg2); box-shadow: 0 12px 40px rgba(0,0,0,.5); z-index: 30; }
.lang > div a { display: block; padding: 7px 10px; border-radius: 8px; color: var(--muted); font-size: 14px; } .lang > div a:hover { background: var(--surface); color: var(--fg); }
.lang > div a[aria-current] { color: var(--strong); background: rgba(var(--accent-rgb),.14); }
@media (max-width: 960px) { .lang { margin-left: auto; } }
.msg a { color: var(--accent); }
.conn[role=button] { cursor: pointer; }
dialog.conn-help { width: min(620px, calc(100vw - 32px)); max-height: 86vh; overflow: auto; padding: 24px; border-radius: 18px; border: 1px solid rgba(var(--tint),.14); background: var(--bg2); color: var(--fg); box-shadow: 0 24px 80px rgba(0,0,0,.6); }
dialog.conn-help::backdrop { background: rgba(5,7,12,.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
body.dlg-open > *:not(dialog) { filter: blur(8px); transition: filter .2s; }
dialog.conn-help header { display: flex; gap: 14px; align-items: center; margin-bottom: 8px; }
dialog.conn-help header b { font-size: 18px; } dialog.conn-help header small { display: block; color: var(--accent2); font-size: 12px; }
dialog.conn-help h4 { margin: 18px 0 6px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
dialog.conn-help p, dialog.conn-help li { font-size: 14px; line-height: 1.55; } dialog.conn-help ol, dialog.conn-help ul { padding-left: 20px; margin: 0; }
dialog.conn-help .muted { color: var(--muted); }
dialog.conn-help .counts { display: flex; flex-wrap: wrap; gap: 8px; } dialog.conn-help .counts span { padding: 3px 10px; border-radius: 999px; border: 1px solid var(--border); font-size: 12px; }
dialog.conn-help .counts .d { color: #f87171; border-color: rgba(248,113,113,.4); }
dialog.conn-help .x { position: absolute; top: 12px; right: 14px; background: none; border: 0; color: var(--muted); font-size: 24px; cursor: pointer; }

/* ======================================================================
   Theme v2: calmer, roomier, cleaner. Overrides the rules above.
   ====================================================================== */
body { font-size: 16.5px; line-height: 1.65;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(var(--a1-rgb),.18), transparent 60%),
    radial-gradient(900px 500px at 100% 30%, rgba(var(--a2-rgb),.07), transparent 60%),
    var(--bg); background-attachment: fixed; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(var(--tint),.025) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--tint),.025) 1px, transparent 1px);
  background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%); }
.glow { display: none; }
.wrap { width: min(1180px, 100% - 48px); }
section { padding: 72px 0; }
::selection { background: rgba(var(--accent-rgb),.35); }

/* nav */
.nav { padding: 16px max(24px, calc((100% - 1180px) / 2)); background: rgba(var(--bg-rgb),.7); border-bottom-color: rgba(var(--tint),.06); }
.links { gap: 6px; font-size: 14.5px; }
.links a { padding: 7px 14px; border-radius: 999px; transition: color .15s, background .15s; }
.links a:hover { background: var(--surface2); }
.links a[aria-current="page"] { background: var(--surface2); }
.btn { border-radius: 999px; padding: 13px 26px; box-shadow: 0 6px 24px rgba(var(--a1-rgb),.28); }
.btn.sm { padding: 9px 18px; }
.btn.ghost { background: transparent; border-color: var(--border2); }
.btn.ghost:hover { background: var(--surface2); border-color: var(--border2); }
.nav-signin { border-radius: 999px; border-color: transparent; }

/* hero: centered, the live chat as a wide window underneath */
.hero { padding: 96px 0 40px; }
.hero-center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero h1 { font-size: clamp(36px, 5.2vw, 66px); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; margin: 26px 0 22px; max-width: 980px; }
.hero .lead { font-size: clamp(15px, 1.25vw, 17px); line-height: 1.6; max-width: 720px; margin: 0 auto; }
.hero .cta-row { margin-top: 34px; }
.hero-stats { justify-content: center; gap: 64px; margin-top: 52px; }
.hero-stats li { text-align: center; }
.hero-stats b { font-size: 36px; letter-spacing: -.02em; }
.hero-window { margin-top: 64px; position: relative; }
.hero-window::before { content: ""; position: absolute; inset: -40px 8% auto; height: 70%; z-index: -1;
  background: radial-gradient(closest-side, rgba(var(--a1-rgb),.35), transparent); filter: blur(40px); }
.hero-chat { max-width: 980px; margin: 0 auto; border-radius: 22px; border-color: var(--border2); background: rgba(var(--bg2-rgb),.88);
  box-shadow: 0 40px 120px rgba(0,0,0,.6), inset 0 1px 0 rgba(var(--tint),.06); }
.chat-top { padding: 14px 18px; background: rgba(var(--tint),.02); }
.chat-body { height: 380px; padding: 24px 28px; font-size: 14.5px; gap: 14px; }
.msg { padding: 12px 16px; border-radius: 16px; line-height: 1.55; }

/* the "stop logging in to dozens of consoles" band */
.band { padding: 24px 0 8px; }
.band .consoles { max-width: 860px; margin: 0 auto; padding: 28px 34px; border: 1px solid var(--border); border-left: 0; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(var(--a1-rgb),.08), rgba(var(--a2-rgb),.04)); color: var(--muted); font-size: 17px; line-height: 1.7; text-align: center; }
.band .consoles b { color: var(--fg); }

/* section heads */
.section-head { margin-bottom: 44px; }
.section-head h2, .final h2 { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -.03em; line-height: 1.1; }
.section-head p, .final > p { font-size: 18px; line-height: 1.65; margin-top: 16px; }

/* cards: one look everywhere */
.trust article, .steps li, .safety article, .tile, .feature-grid div, .conn, .plan, .post-card, .docs-sec, .ai-card {
  border-color: var(--border); background: linear-gradient(180deg, rgba(var(--tint),.04), rgba(var(--tint),.015));
  box-shadow: inset 0 1px 0 rgba(var(--tint),.04); }
.trust { gap: 24px; max-width: 1040px; }
.trust article { padding: 36px; border-radius: 24px; }
.trust .ti, .safety .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 22px;
  background: linear-gradient(135deg, rgba(var(--a1-rgb),.25), rgba(var(--a2-rgb),.15)); border: 1px solid rgba(var(--accent-rgb),.3); }
.trust h3 { margin: 20px 0 10px; font-size: 22px; letter-spacing: -.01em; }
.trust p, .safety p, .steps p { line-height: 1.7; }
.steps { gap: 20px; }
.steps li { padding: 32px 28px; border-radius: 24px; }
.steps span { border-radius: 14px; box-shadow: 0 6px 20px rgba(var(--a1-rgb),.35); }
.steps h3 { font-size: 20px; letter-spacing: -.01em; }
.safety { gap: 22px; } .safety article { padding: 32px; border-radius: 24px; }
.tiles { gap: 20px; } .tile { padding: 28px; border-radius: 22px; } .tile b { font-size: 19px; }
.tile:hover, .conn:hover, .post-card:hover { border-color: rgba(var(--accent-rgb),.45); background: linear-gradient(180deg, rgba(var(--accent-rgb),.08), rgba(var(--tint),.015)); }
.conn-grid { gap: 16px; } .conn { padding: 18px; border-radius: 18px; }
.video-frame { border-radius: 24px; border-color: var(--border2); box-shadow: 0 40px 120px rgba(0,0,0,.6); }

/* learn more */
.page-head { padding-top: 80px; } .page-head h1 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -.035em; } .page-head p { font-size: 18px; }
.subtabs { top: 70px; padding: 14px 0; }
.subtabs a { background: rgba(var(--bg2-rgb),.7); border-color: var(--border); }
.slider, .tslider { border-radius: 28px; border-color: var(--border); background: linear-gradient(180deg, rgba(var(--tint),.035), rgba(var(--tint),.01)); }
.slide { padding: 56px; gap: 52px; }
.slide h3 { font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -.025em; }
.slide p { line-height: 1.7; }
.shot { border-color: var(--border2); border-radius: 16px; box-shadow: 0 30px 80px rgba(0,0,0,.55); }
.feature-grid { gap: 18px; margin-top: 36px; } .feature-grid div { padding: 24px; border-radius: 20px; }
.ai-card { border-radius: 28px; padding: 56px; }
.faq details { padding: 22px 4px; }

/* pricing */
.plans { gap: 24px; } .plan { padding: 34px; border-radius: 26px; }
.plan.pro { background: linear-gradient(180deg, rgba(var(--a1-rgb),.16), rgba(var(--a2-rgb),.04)); }

/* final + footer */
.final { padding: 96px 0 88px; }
.code { border-radius: 16px; border-color: var(--border2); background: rgba(3,4,7,.85); }
.foot { margin-top: 0; padding: 64px 0 36px; border-top-color: rgba(var(--tint),.06); background: rgba(0,0,0,.25); }

/* reveal: gentler, and never leaves holes if the observer is slow */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
@media (max-width: 960px) {
  .hero { padding-top: 64px; } .hero-stats { gap: 28px; } .slide { padding: 30px 22px 10px; } .ai-card { padding: 32px 24px; }
  .band .consoles { padding: 22px; text-align: left; } section { padding: 56px 0; } .chat-body { padding: 18px; }
}
.panel > section:first-child { padding-top: 36px; }
.code { white-space: pre-wrap; word-break: break-all; padding-right: 96px; }
.code code { white-space: inherit; }
/* examples: the area list scrolls without a scrollbar; soft fades show there's more */
.ex-tabs { max-height: 516px; scrollbar-width: none; -ms-overflow-style: none; padding: 10px 4px 10px 0;
  -webkit-mask-image: linear-gradient(transparent, #000 28px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(transparent, #000 28px, #000 calc(100% - 28px), transparent); }
.ex-tabs::-webkit-scrollbar { display: none; }
/* "Ask about anything": the list of areas rolls like the clip reel */
.ex-tabs.rolling { position: relative; overflow: hidden; height: 516px; max-height: none; padding: 0;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); }
.ex-track { position: absolute; left: 0; right: 0; top: 0; display: flex; flex-direction: column; gap: 6px; transition: transform .7s cubic-bezier(.22,.8,.24,1); will-change: transform; }
.ex-track button { transition: opacity .6s ease, background .3s; }
@media (max-width: 960px) { .ex-tabs.rolling { height: auto; -webkit-mask-image: none; mask-image: none; overflow-x: auto; } .ex-track { position: static; flex-direction: row; transform: none !important; } .ex-track button { opacity: 1 !important; } }
@media (max-width: 960px) { .ex-tabs { padding: 0 0 4px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 20px), transparent); mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 20px), transparent); } }

.btn, .subtabs a.on, .lg.letter, .prose ol > li::before, .steps span { color: var(--btn-fg); }

/* ======================================================================
   Layout v3: login-style hero background, area showcase, logo strip, install band
   ====================================================================== */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.eyebrow .ic { width: 15px; height: 15px; flex: none; }
.section-head .eyebrow { margin-bottom: 4px; }

/* the app's sign-in background: a faint grid and slow floating glows */
.hero { position: relative; overflow: hidden; padding-top: 88px; }
.hero-bg { position: absolute; inset: 0 0 auto; height: 980px; pointer-events: none; z-index: -1; }
.hero-grid-bg, .page-head::before, #pricing::before { position: absolute; inset: 0; background-image: linear-gradient(to right, rgba(var(--tint),.055) 1px, transparent 1px), linear-gradient(to bottom, rgba(var(--tint),.055) 1px, transparent 1px);
  background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 25%, #000 30%, transparent 80%); mask-image: radial-gradient(ellipse 70% 60% at 50% 25%, #000 30%, transparent 80%); }
.blob { position: absolute; border-radius: 50%; filter: blur(110px); animation: float 14s ease-in-out infinite; }
.b1 { width: 520px; height: 520px; background: rgba(var(--a1-rgb),.30); top: -160px; left: -120px; }
.b2 { width: 460px; height: 460px; background: rgba(var(--a2-rgb),.16); top: 120px; right: -140px; animation-delay: -5s; }
.b3 { width: 380px; height: 380px; background: rgba(var(--a1-rgb),.14); top: 460px; left: 38%; animation-delay: -9s; }
@keyframes float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(30px, -24px); } }
[data-mode="light"] .blob { opacity: .55; }
.page-head, #pricing { position: relative; }
.page-head::before, #pricing::before { content: ""; left: 50%; width: 100vw; transform: translateX(-50%); height: 420px; z-index: -1; pointer-events: none; }
.page-head::after, #pricing::after { content: ""; position: absolute; z-index: -1; top: -140px; left: calc(50% - 560px); width: 520px; height: 420px; border-radius: 50%;
  background: rgba(var(--a1-rgb),.22); filter: blur(110px); pointer-events: none; }
.hero .lead { max-width: 700px; }

/* area cards + showcase */
.areas-wrap { margin-top: 72px; }
.areas { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.area { text-align: left; padding: 16px 18px; border-radius: 16px; border: 1px solid transparent; background: none; color: var(--fg); font: inherit; cursor: pointer; transition: background .2s, border-color .2s; }
.area:hover { background: var(--surface2); border-color: var(--border); }
.area b { display: flex; align-items: center; gap: 9px; font-size: 15.5px; }
.area-ic { width: 18px; height: 18px; flex: none; color: var(--accent); }
.area p { margin: 6px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.area[aria-selected="true"] { background: linear-gradient(135deg, var(--a1), var(--a2)); color: var(--strong); border-color: transparent; box-shadow: 0 12px 40px rgba(var(--a1-rgb),.35); }
.area[aria-selected="true"] p { color: var(--strong); opacity: .85; } .area[aria-selected="true"] .area-ic { color: var(--strong); }
.area-show { margin-top: 14px; border: 1px solid var(--border2); border-radius: 26px; overflow: hidden; text-align: left;
  background: linear-gradient(180deg, rgba(var(--bg2-rgb),.92), rgba(var(--bg-rgb),.92)); backdrop-filter: blur(10px); box-shadow: 0 40px 120px rgba(0,0,0,.5); }
/* every panel and slide shares one grid cell; the hidden ones are only made invisible, so the frame is always as tall as the tallest slide */
.areas-wrap { display: grid; }
.areas-wrap > .areas { grid-row: 1; }
.areas-wrap > .area-show { grid-row: 2; grid-column: 1; display: grid; grid-template-rows: auto 1fr auto; }
.area-show > .area-tabs { grid-row: 1; } .area-show > .area-slide { grid-row: 2; grid-column: 1; } .area-show > .area-foot { grid-row: 3; }
.areas-wrap > .area-show[hidden], .area-show > .area-slide[hidden] { display: grid !important; visibility: hidden; pointer-events: none; }
.area-tabs { display: flex; gap: 6px; padding: 12px 18px; border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
.area-tabs::-webkit-scrollbar { display: none; }
.area-tabs button { flex: none; padding: 7px 14px; border: 0; border-radius: 8px; background: none; color: var(--muted); font: inherit; font-size: 14px;
  white-space: nowrap; cursor: pointer; transition: color .15s ease, background-color .15s ease; }
.area-tabs button:hover { color: var(--fg); background: color-mix(in oklab, var(--fg) 7%, transparent); }
.area-tabs button.on { color: var(--strong); background: linear-gradient(135deg, var(--a1), var(--a2)); font-weight: 600; box-shadow: 0 6px 18px -8px rgba(var(--a1-rgb), .7); }
.area-slide { display: grid; grid-template-columns: .85fr 1.35fr; gap: 44px; padding: 40px; align-items: start; animation: fadein .35s ease; }
.area-slide h3 { font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.025em; margin: 0 0 14px; line-height: 1.12; }
.area-slide p { color: var(--muted); margin: 0 0 18px; line-height: 1.7; }
.area-slide .ticks li::before { content: ""; top: 9px; width: 17px; height: 17px; background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m8 12 3 3 5-6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m8 12 3 3 5-6'/%3E%3C/svg%3E") center / contain no-repeat; }
.area-slide .ticks li { color: var(--fg); }
.thumbs { display: flex; gap: 10px; margin-top: 14px; align-items: center; }
.thumbs button { padding: 0; border: 1px solid var(--border2); border-radius: 8px; overflow: hidden; background: none; cursor: pointer; opacity: .55; transition: opacity .2s, border-color .2s; }
.thumbs button:hover { opacity: .85; } .thumbs button.on { opacity: 1; border-color: var(--accent); }
.thumbs img { width: 88px; aspect-ratio: 16/9; object-fit: cover; object-position: top left; display: block; }
.thumbs span { margin-left: auto; color: var(--muted); font-size: 13px; }
.area-foot { display: flex; gap: 10px; justify-content: center; padding: 18px; border-top: 1px solid var(--border); }
.chip { padding: 8px 16px; border-radius: 10px; border: 1px solid var(--border2); font-size: 14px; color: var(--fg); }
.chip:hover { background: var(--surface2); }
.chip.o { background: linear-gradient(135deg, var(--a1), var(--a2)); color: var(--btn-fg); font-weight: 600; border-color: transparent; }

/* company logos, scrolling, no names */
.logos-sec { padding-top: 110px; }
.logo-marquee { overflow: hidden; padding: 6px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.logo-track { display: flex; gap: 22px; width: max-content; animation: scroll 140s linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-track span { width: 64px; height: 64px; flex: none; border-radius: 16px; background: #fff; display: grid; place-items: center; box-shadow: 0 4px 16px rgba(0,0,0,.25); }
.logo-track img { width: 62%; height: 62%; object-fit: contain; }
.center-link { text-align: center; margin-top: 26px; } .center-link a { color: var(--accent); font-weight: 600; font-size: 15px; }

/* explore cards */
.tile { position: relative; }
.tile-ic { width: 40px; height: 40px; border-radius: 12px; margin-bottom: 8px; background: rgba(var(--a1-rgb),.14); border: 1px solid rgba(var(--a1-rgb),.4); }
.tile em { font-style: normal; color: var(--accent); font-weight: 700; margin-top: auto; padding-top: 6px; }

/* install band */
.install-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 36px 42px; border-radius: 26px; border: 1px solid rgba(var(--a1-rgb),.4);
  background: radial-gradient(600px 220px at 0% 0%, rgba(var(--a1-rgb),.18), transparent), linear-gradient(180deg, rgba(var(--tint),.04), rgba(var(--tint),.015)); }
.install-band h2 { font-size: 28px; letter-spacing: -.02em; margin: 0 0 6px; } .install-band p { margin: 0; color: var(--muted); }
.install-band .cta-row { margin: 0; }

/* how it works, as a connected flow (Learn more → Safety) */
.flow-steps { list-style: none; padding: 34px; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 46px; position: relative; border: 1px solid var(--border); border-radius: 26px;
  background: radial-gradient(rgba(var(--tint),.06) 1px, transparent 1px) 0 0 / 22px 22px, linear-gradient(180deg, rgba(var(--tint),.035), rgba(var(--tint),.01)); }
.flow-steps li { position: relative; padding: 24px; border-radius: 18px; border: 1px solid var(--border2); background: var(--bg2); }
.flow-steps li:not(:last-child)::after { content: ""; position: absolute; right: -40px; top: 50%; width: 34px; height: 2px; background: linear-gradient(90deg, transparent, var(--accent)); }
.flow-steps li { transition: border-color .5s, box-shadow .5s, background .5s, transform .5s; cursor: pointer; }
.flow-steps li.hot { transform: translateY(-4px); }
.flow-steps li.done span { background: rgba(var(--a1-rgb),.3); }
/* the line to the next step: a light travels along it while this step is the active one */
.flow-steps li:not(:last-child)::before { content: ""; position: absolute; right: -40px; top: calc(50% - 1px); width: 34px; height: 4px; border-radius: 4px; opacity: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--a2), var(--accent2)); box-shadow: 0 0 12px rgba(var(--a2-rgb),.8); transform: scaleX(0); transform-origin: left; }
.flow-steps li.hot:not(:last-child)::before { animation: step-line 1.4s ease-in-out .5s infinite; }
@keyframes step-line { 0% { transform: scaleX(0); opacity: 0; } 15% { opacity: 1; } 70% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
.flow-steps li.done:not(:last-child)::after, .flow-steps li.hot:not(:last-child)::after { background: linear-gradient(90deg, transparent, var(--a2)); }
@media (prefers-reduced-motion: reduce) { .flow-steps li, .flow-steps li::before { animation: none !important; transition: none !important; } }
.flow-steps li.hot { border-color: rgba(var(--a1-rgb),.7); box-shadow: 0 0 0 4px rgba(var(--a1-rgb),.08), 0 20px 60px rgba(var(--a1-rgb),.18); background: linear-gradient(180deg, rgba(var(--a1-rgb),.12), var(--bg2)); }
.flow-steps span { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: rgba(var(--a1-rgb),.15); color: var(--accent); font-weight: 700; }
.flow-steps h3 { margin: 14px 0 6px; font-size: 18px; } .flow-steps p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* the tour, in a dialog */
dialog.tour { width: min(1100px, calc(100vw - 32px)); padding: 0; border: 0; background: none; overflow: visible; }
dialog.tour::backdrop { background: rgba(var(--bg-rgb),.75); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
dialog.tour .x { position: absolute; top: -44px; right: 0; background: none; border: 0; color: var(--fg); font-size: 30px; cursor: pointer; }
dialog.conn-help { background: var(--bg2); }

@media (max-width: 960px) {
  .areas { grid-template-columns: repeat(5, minmax(150px, 1fr)); overflow-x: auto; scrollbar-width: none; } .areas::-webkit-scrollbar { display: none; }
  .area-slide { grid-template-columns: 1fr; padding: 24px; gap: 24px; } .flow-steps { grid-template-columns: 1fr; gap: 18px; padding: 18px; }
  .flow-steps li:not(:last-child)::after { display: none; } .install-band { padding: 26px; } .logo-track span { width: 54px; height: 54px; }
}
@media (prefers-reduced-motion: reduce) { .blob, .logo-track { animation: none; } }
[hidden] { display: none !important; }
/* integration popup: wide and short, two columns */
dialog.conn-help { width: min(980px, calc(100vw - 32px)); max-height: 82vh; padding: 28px 32px; }
dialog.conn-help .desc { color: var(--muted); margin: 4px 0 6px; }
dialog.conn-help .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
dialog.conn-help .cols > div:only-child { grid-column: 1 / -1; }
dialog.conn-help ul.can { list-style: none; padding: 0; } dialog.conn-help ul.can li { position: relative; padding: 5px 0 5px 22px; border-bottom: 1px solid var(--border); }
dialog.conn-help ul.can li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
@media (max-width: 760px) { dialog.conn-help .cols { grid-template-columns: 1fr; gap: 6px; } dialog.conn-help { padding: 22px; } }
/* learn more: one card per feature instead of the slideshow */
.feat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat-cards article { padding: 26px; border-radius: 20px; border: 1px solid var(--border); background: linear-gradient(180deg, rgba(var(--tint),.04), rgba(var(--tint),.015)); }
.feat-cards .eyebrow { font-size: 11.5px; margin-bottom: 8px; }
.feat-cards h3 { font-size: 19px; letter-spacing: -.01em; margin: 0 0 8px; } .feat-cards p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.65; }
[data-mode="light"] .feat-cards article { background: #fff; box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 10px 30px rgba(15,23,42,.06); }
@media (max-width: 960px) { .feat-cards { grid-template-columns: 1fr 1fr; } } @media (max-width: 600px) { .feat-cards { grid-template-columns: 1fr; } }
/* logo strip: every logo the same size */
.logo-track span { width: 68px; height: 68px; overflow: hidden; }
.logo-track img { width: 38px !important; height: 38px !important; max-width: 38px; max-height: 38px; object-fit: contain; }
/* showcase thumbnails: fit on one line */
.thumbs { flex-wrap: nowrap; overflow: hidden; } .thumbs button { flex: 0 1 88px; min-width: 52px; } .thumbs img { width: 100%; } .thumbs span { flex: none; white-space: nowrap; }
/* examples: the chat window keeps one size; messages wrap and scroll inside it */
.ex { grid-template-columns: 280px minmax(0, 1fr); }
.ex-chat { width: 100%; min-width: 0; }
.ex-chat .chat-body { height: 516px; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; }
.ex-chat .chat-body::-webkit-scrollbar { display: none; }
.ex-chat .msg { max-width: 88%; min-width: 0; overflow-wrap: anywhere; }
.ex-chat .msg code, .ex-chat .steps-mini { white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 960px) { .ex { grid-template-columns: minmax(0, 1fr); } .ex-chat .chat-body { height: 440px; } }
/* the current page in the top menu: the scheme's two colours as a soft gradient */
.links a[aria-current="page"] { color: var(--strong); background: linear-gradient(135deg, rgba(var(--a1-rgb),.42), rgba(var(--a2-rgb),.30));
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb),.35), 0 4px 18px rgba(var(--a1-rgb),.22); }
.links a[aria-current="page"]:hover { background: linear-gradient(135deg, rgba(var(--a1-rgb),.5), rgba(var(--a2-rgb),.36)); }
[data-mode="light"] .links a[aria-current="page"] { color: var(--a1); background: linear-gradient(135deg, rgba(var(--a1-rgb),.14), rgba(var(--a2-rgb),.10)); }
.feature-grid { margin-top: 0; }
/* integrations: say the cards open, and show it on hover */
.logos-top { padding: 8px 0 0; }
/* "Click any integration…": a pointer taps the pill, the pill glows, and a wave runs over the first tiles until someone opens one, so visitors see the tiles are clickable */
.conn-hint { display: flex; align-items: center; gap: 12px; width: fit-content; max-width: 100%; margin: 8px auto 0; padding: 10px 20px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--text);
  border: 1px solid rgba(var(--accent-rgb), .5); background: rgba(var(--accent-rgb), .1); animation: hint-glow 2.4s ease-out infinite; }
.conn-hint .tap { position: relative; flex: none; display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center; color: var(--accent); margin: 0; }
.conn-hint .tap svg { animation: hint-tap 1.8s ease-in-out infinite; transform-origin: 20% 10%; }
.conn-hint .tap::after { content: ""; position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; animation: hint-ripple 1.8s ease-out infinite; }
#connGrid:not(.tapped) .conn[role="button"]:nth-child(-n+8) { animation: tile-wave 6s ease-in-out infinite; animation-delay: calc(var(--n, 0) * .18s); }
#connGrid:not(.tapped) .conn[role="button"]:nth-child(1) { --n: 0; } #connGrid:not(.tapped) .conn[role="button"]:nth-child(2) { --n: 1; } #connGrid:not(.tapped) .conn[role="button"]:nth-child(3) { --n: 2; }
#connGrid:not(.tapped) .conn[role="button"]:nth-child(4) { --n: 3; } #connGrid:not(.tapped) .conn[role="button"]:nth-child(5) { --n: 4; } #connGrid:not(.tapped) .conn[role="button"]:nth-child(6) { --n: 5; }
#connGrid:not(.tapped) .conn[role="button"]:nth-child(7) { --n: 6; } #connGrid:not(.tapped) .conn[role="button"]:nth-child(8) { --n: 7; }
.conn[role="button"] { cursor: pointer; } .conn[role="button"]:hover { border-color: rgba(var(--accent-rgb), .6); transform: translateY(-3px); }
@keyframes hint-glow { 0% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .45); } 70%, 100% { box-shadow: 0 0 0 14px rgba(var(--accent-rgb), 0); } }
@keyframes hint-tap { 0%, 55%, 100% { transform: translate(0, 0) scale(1); } 28% { transform: translate(5px, 5px) scale(.88); } }
@keyframes hint-ripple { 0%, 25% { opacity: 0; transform: scale(.4); } 32% { opacity: .9; } 70%, 100% { opacity: 0; transform: scale(2.4); } }
@keyframes tile-wave { 0%, 14%, 100% { border-color: var(--border); transform: none; box-shadow: none; } 5% { border-color: rgba(var(--accent-rgb), .9); transform: translateY(-4px); box-shadow: 0 10px 28px rgba(var(--accent-rgb), .3); } }
@media (prefers-reduced-motion: reduce) { .conn-hint, .conn-hint .tap svg, .conn-hint .tap::after, #connGrid .conn { animation: none !important; } }

.conn[role=button] { position: relative; }
.conn[role=button]::after { content: "→"; position: absolute; top: 14px; right: 16px; color: var(--accent); font-weight: 700; opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s; }
.conn[role=button]:hover::after, .conn[role=button]:focus-visible::after { opacity: 1; transform: none; }
/* docs tables fit the page: columns wrap instead of running off the edge (phones scroll sideways) */
.prose table { display: table; width: 100%; table-layout: auto; overflow: hidden; }
.prose td, .prose th { white-space: normal; overflow-wrap: anywhere; }
.prose td:first-child { white-space: normal; width: 22%; overflow-wrap: normal; }
.prose td code { white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 640px) { .prose table { display: block; overflow-x: auto; } .prose td:first-child { white-space: nowrap; } }
.prose td code { overflow-wrap: normal; word-break: normal; white-space: normal; }
.docs.wide .doc { max-width: none; }
.prose td code { font-size: 12px; padding: 1px 5px; }
.docs.wide .prose th, .docs.wide .prose td { padding: 10px 11px; }
/* showcase: give the screenshot more room, and let it open full-size */
.area-slide { grid-template-columns: minmax(260px, .6fr) 1.65fr; gap: 36px; padding: 34px 34px 30px; }
.area-slide h3 { font-size: clamp(24px, 2.3vw, 30px); }
.area-slide .shot { cursor: zoom-in; position: relative; }
.area-slide .shot::after { content: "⤢"; position: absolute; right: 12px; bottom: 12px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(var(--bg-rgb),.75); border: 1px solid var(--border2); color: var(--fg); font-size: 17px; opacity: 0; transition: opacity .2s; backdrop-filter: blur(6px); }
.area-slide .shot:hover::after { opacity: 1; }
dialog.zoom { width: min(1500px, calc(100vw - 32px)); padding: 0; border: 0; background: none; overflow: visible; }
dialog.zoom::backdrop { background: rgba(var(--bg-rgb),.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
dialog.zoom img { width: 100%; border-radius: 14px; border: 1px solid var(--border2); box-shadow: 0 40px 120px rgba(0,0,0,.6); display: block; }
dialog.zoom .x { position: absolute; top: -44px; right: 0; background: none; border: 0; color: var(--fg); font-size: 30px; cursor: pointer; }
dialog.zoom p { text-align: center; color: var(--muted); margin: 12px 0 0; font-size: 14px; }
@media (max-width: 960px) { .area-slide { grid-template-columns: 1fr; padding: 22px; } }
dialog.zoom .x { top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 12px; background: rgba(var(--bg-rgb),.8); border: 1px solid var(--border2); font-size: 22px; line-height: 1; z-index: 1; }
/* outline buttons keep the page's text colour in every scheme (only filled buttons use the button text colour) */
.btn.ghost, .chip:not(.o) { color: var(--fg); }
/* phones: the showcase stacks (text, then screenshot) — kept last so nothing above overrides it */
@media (max-width: 960px) {
  .area-slide { grid-template-columns: minmax(0, 1fr); padding: 22px 18px; gap: 20px; }
  .area-slide > div { min-width: 0; }
  .area-foot { flex-wrap: wrap; } .area-foot .chip { white-space: nowrap; }
  .thumbs button { flex: 0 0 64px; min-width: 0; } .thumbs { overflow-x: auto; scrollbar-width: none; } .thumbs::-webkit-scrollbar { display: none; }
}
.tile-ic { display: grid; place-items: center; color: var(--accent); }
.tile-ic svg { width: 21px; height: 21px; }
.tile .tile-ic { color: var(--accent); } .tile .tile-ic svg { width: 22px; height: 22px; }

/* pricing: the trial note above the comparison table */
.trial-note { max-width: 760px; margin: 28px auto 6px; text-align: center; color: var(--muted); font-size: .95rem; line-height: 1.6; }

/* code quality report */
.quality { max-width: 960px; margin: 0 auto 80px; }
.q-gate { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; color: var(--muted); font-size: 14px; margin-bottom: 26px; text-align: center; }
.q-pass { color: #22c55e; font-weight: 700; border: 1px solid rgba(34,197,94,.4); background: rgba(34,197,94,.1); border-radius: 999px; padding: 6px 14px; }
.q-ratings { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.q-card { display: flex; gap: 14px; align-items: center; border: 1px solid rgba(var(--tint), .1); background: rgba(var(--tint), .03); border-radius: 16px; padding: 16px; }
.q-card p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.q-grade { flex: none; width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; font-size: 26px; font-weight: 800; color: #fff; background: #64748b; }
.q-grade.g-a { background: #16a34a; } .q-grade.g-b { background: #65a30d; } .q-grade.g-c { background: #ca8a04; } .q-grade.g-d { background: #ea580c; } .q-grade.g-e { background: #dc2626; }
.q-counts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 22px 0 30px; }
.q-counts div { text-align: center; border: 1px solid rgba(var(--tint), .08); border-radius: 14px; padding: 16px 10px; }
.q-counts b { display: block; font-size: 26px; } .q-counts span { color: var(--muted); font-size: 13px; }
.q-notes h2 { font-size: 20px; } .q-notes li { color: var(--muted); margin: 6px 0; line-height: 1.6; }

/* home: feature clips */
.clips-sec { padding: 96px 0 24px; }
.clips { display: grid; grid-template-columns: minmax(240px, 270px) 1fr; gap: 24px; align-items: center; margin-top: 34px; }
.clip-tabs { display: flex; flex-direction: column; gap: 6px; }
.clip-tabs button { display: flex; gap: 12px; align-items: flex-start; text-align: left; padding: 12px 14px; border-radius: 14px; border: 1px solid transparent;
  background: none; color: var(--fg); font: inherit; cursor: pointer; transition: background .2s, border-color .2s; }
.clip-tabs button:hover { background: var(--surface2); border-color: var(--border); }
.clip-tabs button.on { background: linear-gradient(135deg, var(--a1), var(--a2)); color: var(--strong); box-shadow: 0 10px 34px rgba(var(--a1-rgb), .3); }
.clip-tabs b { display: block; font-size: 15px; }
.clip-tabs small { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.clip-tabs button.on small { color: var(--strong); opacity: .85; }
.clip-ic { width: 20px; height: 20px; flex: none; margin-top: 1px; color: var(--accent); }
.clip-tabs button.on .clip-ic { color: var(--strong); }
.clip-stage { border-radius: 20px; overflow: hidden; border: 1px solid var(--border2); background: #05060a; box-shadow: 0 40px 120px rgba(0,0,0,.5); aspect-ratio: 16/9; }
.clip-video { display: block; width: 100%; height: 100%; object-fit: contain; background: #05060a; }
[data-mode="light"] .clip-stage { box-shadow: 0 30px 80px rgba(15,23,42,.16); }
/* wide screens: the clips area is wider than the page column, so the video (16:9) gets taller */
@media (min-width: 1340px) {
  .clips { width: 1300px; margin-left: calc(50% - 650px); }
}
@media (max-width: 900px) {
  .clips { grid-template-columns: 1fr; }
  .clip-tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .clip-tabs::-webkit-scrollbar { display: none; }
  .clip-tabs button { flex: none; width: 230px; }
}

/* Vault: flat orange buttons and selected tabs (no coloured glow); the grey sheen comes from the white tints above */
[data-theme="vault"] .btn, [data-theme="vault"] .btn:hover { box-shadow: none; }
[data-theme="vault"] .area[aria-selected="true"], [data-theme="vault"] .area-tabs button.on, [data-theme="vault"] .clip-tabs button.on { box-shadow: none; }
[data-theme="vault"] .links a[aria-current="page"], [data-theme="vault"] .links a[aria-current="page"]:hover { background: var(--a1); color: #fff; box-shadow: none; }

/* back to top */
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 60; width: 46px; height: 46px; border-radius: 14px; border: 0; cursor: pointer; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--a1), var(--a2)); color: var(--btn-fg); box-shadow: 0 10px 30px rgba(var(--a1-rgb),.4);
  opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .25s, transform .25s, box-shadow .15s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { box-shadow: 0 14px 38px rgba(var(--a1-rgb),.6); transform: translateY(-2px); }
.to-top:focus-visible { outline: 2px solid var(--accent2); outline-offset: 3px; }
@media (max-width: 600px) { .to-top { right: 16px; bottom: 16px; } }

/* name of the integration logo under the pointer */
.logo-tip { position: fixed; z-index: 70; transform: translate(-50%, -100%) translateY(4px); padding: 6px 12px; border-radius: 10px; font-size: 13px; font-weight: 600; white-space: nowrap; pointer-events: none;
  background: var(--bg2); color: var(--strong); border: 1px solid rgba(var(--accent-rgb),.5); box-shadow: 0 10px 30px rgba(0,0,0,.35); opacity: 0; transition: opacity .15s; }
.logo-tip.show { opacity: 1; }

/* Homelab plan: highlights first, the rest folds out */
#hlList:not(.open) li[data-extra] { display: none; }
#hlList.open li[data-extra] { animation: plan-in .4s ease-out both; animation-delay: calc(var(--i, 0) * 35ms); }
.plan-more { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin: 4px 0 14px; padding: 6px 0; cursor: pointer; font: inherit; font-weight: 600; font-size: 14px; color: var(--accent);
  background: none; border: 0; border-radius: 0; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(var(--accent-rgb), .45); }
.plan-more:hover { text-decoration-color: var(--accent); }
.plan-more::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .25s; }
.plan-more[aria-expanded="true"]::after { transform: rotate(-135deg) translate(-2px, -2px); }
@keyframes plan-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { #hlList.open li[data-extra] { animation: none; } }

/* plan buttons: one size on every card (a long label wraps instead of making its button taller) */
.plan .btn.full { padding: 12px 14px; font-size: 15px; line-height: 1.2; min-height: 48px; text-align: center; }

/* the home page intro: a little wider */
.hero .lead { max-width: 880px; }

/* the clip list is long now: the video stays beside the top of it and follows while scrolling */
.clips { align-items: start; }
.clip-stage { position: sticky; top: 96px; align-self: start; }
@media (max-width: 1000px) { .clip-stage { position: static; } }

/* ---- Watch each feature work: a reel. The video is in the middle of the page, the names roll beside it, the one playing in the middle and the others dimming away. */
.clips.reel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 900px) minmax(0, 1fr); gap: 34px; align-items: center; width: auto; margin: 34px auto 0; max-width: 1500px; }
.reel .clip-stage { position: relative; top: auto; align-self: center; width: 100%; cursor: pointer; }
.reel .clip-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255,255,255,.12); }
.reel .clip-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--a1), var(--a2)); transition: width .25s linear; }
.reel-list { position: relative; align-self: stretch; overflow: hidden; min-height: 300px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent); }
.reel-track { position: absolute; left: 0; right: 0; top: 0; display: flex; flex-direction: column; gap: 6px; transition: transform .7s cubic-bezier(.22,.8,.24,1); will-change: transform; }
.reel-track button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 16px; border: 0; border-radius: 14px; background: none; color: var(--fg); font: inherit; text-align: left; cursor: pointer;
  transition: opacity .6s ease, transform .6s ease, background .3s; }
.reel-track button b { font-size: 16px; font-weight: 600; }
.reel-track button.on { background: linear-gradient(135deg, var(--a1), var(--a2)); color: var(--strong); box-shadow: 0 10px 34px rgba(var(--a1-rgb), .3); }
.reel-track button.on .clip-ic { color: var(--strong); }
.reel-track button:not(.on):hover { background: var(--surface2); }
.reel-info { align-self: center; }
.reel-count { display: block; color: var(--accent); font-weight: 700; letter-spacing: .08em; font-size: 12.5px; margin-bottom: 8px; }
.reel-title { display: block; font-size: 26px; line-height: 1.2; font-weight: 800; letter-spacing: -.3px; }
.reel-text { margin: 10px 0 0; color: var(--muted); font-size: 16px; line-height: 1.55; max-width: 300px; }
@media (max-width: 1100px) {
  .clips.reel { grid-template-columns: 1fr; gap: 18px; }
  .reel .clip-stage { order: 1; } .reel-info { order: 2; text-align: center; } .reel-text { margin-left: auto; margin-right: auto; }
  .reel-list { order: 3; min-height: 0; height: 64px; -webkit-mask-image: none; mask-image: none; overflow-x: auto; overflow-y: hidden; }
  .reel-track { position: static; flex-direction: row; transform: none !important; transition: none; }
  .reel-track button { flex: none; width: auto; opacity: 1 !important; transform: none !important; }
}
@media (prefers-reduced-motion: reduce) { .reel-track, .reel-track button { transition: none; } }

.clips.reel { padding-left: 36px; padding-right: 36px; grid-template-columns: minmax(0, 1fr) minmax(0, 820px) minmax(0, 1fr); gap: 30px; }
.reel-info { padding-left: 6px; }

/* clicking the playing clip pops it out: large, in the middle, over a dimmed page */
.reel .clip-video { cursor: zoom-in; }
.clip-close { display: none; }
.clip-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(3,4,8,.82); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .25s; }
.clip-backdrop.on { opacity: 1; pointer-events: auto; cursor: zoom-out; }
.reel .clip-stage.pop { position: fixed; z-index: 100; top: 50%; left: 50%; width: min(96vw, calc(92vh * 16 / 9), 1800px); transform: translate(-50%, -50%); box-shadow: 0 40px 140px rgba(0,0,0,.7); }
.reel .clip-stage.pop .clip-video { cursor: default; }
.reel .clip-stage.pop .clip-close { display: flex; position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; z-index: 2; }
.reel .clip-stage.pop .clip-close:hover { background: rgba(0,0,0,.85); }
body.clip-open { overflow: hidden; }

/* the hero's two statements that stand out: it works without AI, and who it is for. Plain text, not boxes or buttons: bigger, bolder and in the accent colour */
.lead-callout { margin: 22px auto 0; max-width: 760px; padding: 0; border: 0; background: none; box-shadow: none; font-size: clamp(16px, 1.5vw, 19px); font-weight: 800; line-height: 1.35; letter-spacing: -.2px; text-align: center;
  background: linear-gradient(90deg, var(--a1), var(--a2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead-for { margin: 16px auto 0; max-width: 760px; text-align: center; }
.lead-for p { margin: 0; font-size: clamp(15px, 1.25vw, 17px); font-weight: 600; line-height: 1.5; color: var(--strong); }
.lead-for ul { display: block; margin: 6px 0 0; padding: 0; list-style: none; font-size: clamp(15px, 1.25vw, 17px); font-weight: 800; color: var(--accent); }
.lead-for li { display: inline; padding: 0; border: 0; background: none; box-shadow: none; font: inherit; letter-spacing: 0; color: inherit; }
.lead-for li + li::before { content: "  ·  "; white-space: pre; color: var(--muted); font-weight: 400; }
/* the tools paragraph with the "works without AI" statement joined under it, a block of its own */
.hero .lead-tools { margin: 20px auto 0; max-width: 760px; }
.hero .lead-tools .lead { margin: 0 auto; }
.hero .lead-tools .lead-callout { margin-top: 12px; }
.lead-for .lead-one { margin: 0 0 10px; font-size: clamp(18px, 1.8vw, 23px); font-weight: 800; line-height: 1.25; letter-spacing: -.3px; color: var(--strong); }
.hero .lead-choice { margin: 14px auto 0; max-width: 720px; font-size: clamp(14px, 1.2vw, 16px); font-weight: 600; line-height: 1.5; color: var(--strong); text-align: center; }
/* pricing: the free trial, said plainly above the plans */
.trial-banner { max-width: 820px; margin: 4px auto 22px; text-align: center; font-size: clamp(17px, 1.7vw, 21px); font-weight: 700; line-height: 1.45; color: var(--accent); }

/* a tighter rhythm between sections: the page had about 150px of empty space between one section and the next */
.hero { padding-bottom: 24px; }
.clips-sec { padding: 56px 0 8px; }
.logos-sec { padding-top: 48px; padding-bottom: 32px; }
#explore, .explore-sec { padding-top: 40px; padding-bottom: 40px; }
#get-started { padding-top: 40px; padding-bottom: 48px; }
#features { padding-top: 20px; padding-bottom: 40px; }
#pricing { padding-top: 48px; padding-bottom: 40px; }
#connectors { padding-top: 36px; padding-bottom: 48px; }
.page-head { padding-top: 56px; padding-bottom: 36px; }
.section-head { margin-bottom: 28px; }
.foot { padding-top: 48px; }

/* social icons in the footer: a profile without an address yet shows dimmed and does nothing */
.social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.foot .social a, .social .off { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border-radius: 10px; border: 1px solid var(--border); color: var(--muted); }
.foot .social a:hover { color: var(--strong); border-color: var(--accent); background: rgba(var(--tint),.05); }
.social .off { opacity: .45; cursor: default; }
/* the header: nothing wraps onto a second line */
.nav .links a, .nav-signin, .nav .btn.sm { white-space: nowrap; }
