/* Straypixel waitlist page */

/* Inter, served from this site (no third-party font requests). SIL Open Font License: fonts/OFL.txt */
@font-face { font-family: Inter; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(fonts/inter-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Inter; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(fonts/inter-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --bg: #07080b;
  --bg-2: #0d0f14;
  --panel: #12151c;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f4f5f8;
  --muted: #9aa1ae;
  --dim: #8b92a0;
  --cyan: #22c3f5;
  --blue: #3b6bff;
  --violet: #8b4dff;
  --pink: #e8449b;
  --orange: #ff8a3d;
  --grad: linear-gradient(100deg, var(--cyan), var(--blue) 35%, var(--violet) 65%, var(--orange));
  --r: 14px;
  --max: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 10; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 16px; }

/* Ambient light */
.ambient { position: fixed; inset: 0; pointer-events: none; z-index: -1; overflow: hidden; }
.ambient span { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .32; }
.ambient .g1 { width: 46vw; height: 46vw; left: -12vw; top: -14vw; background: var(--blue); }
.ambient .g2 { width: 36vw; height: 36vw; right: -10vw; top: 6vw; background: var(--violet); opacity: .24; }
.ambient .g3 { width: 30vw; height: 30vw; right: 18vw; top: 34vw; background: var(--orange); opacity: .1; }

/* Header */
.top { max-width: var(--max); margin: 0 auto; padding: 28px 24px 0; }
.top .logo { width: 150px; }

/* Shared type */
h1, h2, h3 { font-weight: 600; letter-spacing: -0.035em; }
h2 { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.06; }
.sub { color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); max-width: 620px; margin: 18px auto 0; }

/* The one CTA */
.cta {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 36px; padding: 16px 30px;
  border-radius: 999px;
  background: #fff; color: #07080b;
  font-weight: 600; font-size: 17px; text-decoration: none;
  box-shadow: 0 0 0 1px rgba(255,255,255,.4), 0 10px 40px -8px rgba(59,107,255,.7), 0 0 80px -10px rgba(139,77,255,.6);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cta::after { content: "→"; transition: transform .2s ease; }
.cta:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px #fff, 0 14px 50px -6px rgba(59,107,255,.9), 0 0 100px -6px rgba(139,77,255,.8); }
.cta:hover::after { transform: translateX(3px); }
a:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }

/* Hero */
.hero { text-align: center; padding: clamp(72px, 12vw, 140px) 24px 0; max-width: 1100px; margin: 0 auto; }
.hero h1 { font-size: clamp(44px, 8vw, 104px); line-height: .98; letter-spacing: -0.05em; font-weight: 700; }
.hero h1 span { white-space: nowrap; background-clip: text; -webkit-background-clip: text; color: transparent; }
.g-a { background-image: linear-gradient(100deg, #fff 10%, var(--cyan)); }
.g-b { background-image: linear-gradient(100deg, var(--cyan), var(--blue) 60%, var(--violet)); }
.g-c { background-image: linear-gradient(100deg, var(--violet), var(--pink) 50%, var(--orange)); }
.lead { color: var(--muted); font-size: clamp(17px, 1.9vw, 21px); max-width: 640px; margin: 28px auto 0; }

/* Product visual */
.product { max-width: 1240px; margin: clamp(64px, 9vw, 110px) auto 0; padding: 0 24px; position: relative; }
.product::before {
  content: ""; position: absolute; inset: -6% 8% 40%; z-index: -1;
  background: radial-gradient(50% 50% at 50% 40%, rgba(59,107,255,.45), transparent 70%); filter: blur(30px);
}
.app {
  border-radius: 18px; overflow: hidden;
  background: #0b0d12; border: 1px solid var(--line-2);
  box-shadow: 0 40px 120px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.03) inset;
  font-size: 12px; color: #c6cad3;
}
.app-bar { display: flex; align-items: center; gap: 18px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--line); background: #0e1016; }
.dots { display: flex; gap: 6px; } .dots i { width: 10px; height: 10px; border-radius: 50%; background: #2a2e38; }
.tabs { display: flex; gap: 2px; background: #171a22; border-radius: 8px; padding: 3px; }
.tabs b, .tabs span { padding: 3px 10px; border-radius: 6px; font-weight: 500; }
.tabs b { background: #262a35; color: #fff; }
.file { color: var(--muted); margin-right: auto; }
.people { display: flex; align-items: center; }
.people i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #0e1016; margin-left: -6px; }
.p1 { background: var(--orange); } .p2 { background: var(--cyan); } .p3 { background: var(--violet); }
.people em { font-style: normal; margin-left: 12px; background: var(--blue); color: #fff; padding: 4px 12px; border-radius: 7px; font-weight: 500; }
.app-body { display: grid; grid-template-columns: 44px 170px 1fr 220px; height: clamp(360px, 46vw, 560px); }
.rail { border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 14px; }
.rail i { width: 18px; height: 18px; border-radius: 5px; background: #20242e; }
.rail i.on { background: var(--blue); }
.layers, .panel { padding: 12px; border-right: 1px solid var(--line); overflow: hidden; }
.panel { border-right: 0; border-left: 1px solid var(--line); }
.h { color: var(--dim); font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; margin: 12px 0 6px; font-weight: 600; }
.h:first-child { margin-top: 2px; }
.l { padding: 4px 6px; border-radius: 5px; white-space: nowrap; }
.l.in { padding-left: 20px; }
.l.sel { background: rgba(59,107,255,.22); color: #fff; }
.canvas {
  position: relative; overflow: hidden;
  background-color: #0a0b0f;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 18px 18px;
}
.frame { position: absolute; top: 14%; width: 22%; aspect-ratio: 9 / 18.5; }
.fl { position: absolute; top: -18px; left: 0; font-size: 10.5px; color: var(--muted); }
.scr {
  height: 100%; border-radius: 14px; background: #f6f7fb; padding: 12% 9%;
  display: flex; flex-direction: column; gap: 7%;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.8);
}
.scr i { display: block; border-radius: 6px; background: #dfe3ec; height: 5%; }
.scr .w60 { width: 60%; height: 4%; background: #1b1f2a; }
.scr .w50 { width: 50%; height: 4%; background: #1b1f2a; }
.scr .w40 { width: 40%; height: 3%; }
.scr .card { height: 15%; border-radius: 10px; background: #fff; box-shadow: 0 2px 8px rgba(20,30,60,.1); }
.scr .field { height: 8%; background: #fff; border: 1.5px solid #dfe3ec; }
.scr .row { display: flex; gap: 8%; height: 8%; background: none; }
.scr .row .half { flex: 1; height: 100%; }
.scr .btn { margin-top: auto; height: 9%; border-radius: 10px; background: linear-gradient(100deg, var(--blue), var(--violet)); position: relative; }
.scr .btn.ghost { background: none; border: 1.5px solid #c9cfdb; }
.scr.center { align-items: center; justify-content: center; }
.scr .ok { width: 34%; aspect-ratio: 1; height: auto; border-radius: 50%; background: linear-gradient(135deg, var(--cyan), var(--blue)); }
.scr .c { align-self: center; }
.f1 { left: 9%; } .f2 { left: 39%; } .f3 { left: 69%; }
.btn.sel { outline: 1.5px solid var(--blue); outline-offset: 3px; }
.hd { position: absolute; width: 7px; height: 7px; background: #fff; border: 1.5px solid var(--blue); border-radius: 2px; }
.tl { left: -7px; top: -7px; } .tr { right: -7px; top: -7px; } .bl { left: -7px; bottom: -7px; } .br { right: -7px; bottom: -7px; }
.links { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.links path { fill: none; stroke: var(--cyan); stroke-width: .35; stroke-dasharray: 1.2 1; vector-effect: non-scaling-stroke; stroke-width: 1.5; }
.cursor { position: absolute; display: flex; align-items: flex-start; gap: 2px; }
.cursor svg { width: 16px; height: 16px; }
.cursor b { font-size: 10.5px; font-weight: 600; color: #fff; padding: 2px 7px; border-radius: 6px; margin-top: 12px; }
.c1 { left: 52%; top: 66%; } .c1 svg { fill: var(--orange); } .c1 b { background: var(--orange); }
.c2 { left: 84%; top: 30%; } .c2 svg { fill: var(--violet); } .c2 b { background: var(--violet); }
.ptabs { display: flex; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 8px; color: var(--dim); }
.ptabs b { color: #fff; font-weight: 600; }
.kv { display: grid; grid-template-columns: auto 1fr auto 1fr; gap: 6px; align-items: center; }
.kv span { color: var(--dim); } .kv i { font-style: normal; background: #171a22; border-radius: 5px; padding: 3px 7px; }
.sw { display: flex; align-items: center; gap: 8px; background: #171a22; border-radius: 6px; padding: 5px 7px; }
.sw i { width: 14px; height: 14px; border-radius: 4px; background: linear-gradient(135deg, var(--blue), var(--violet)); }
.sw em { font-style: normal; color: #c9b8ff; }
.seg { display: flex; background: #171a22; border-radius: 6px; padding: 2px; }
.seg b, .seg span { flex: 1; text-align: center; padding: 3px; border-radius: 5px; font-weight: 500; }
.seg b { background: #262a35; color: #fff; }
.ix { background: rgba(34,195,245,.1); border: 1px solid rgba(34,195,245,.3); border-radius: 7px; padding: 7px 8px; color: #bfefff; }
.ix small { color: var(--muted); }

/* Integrations */
.integrations { text-align: center; max-width: var(--max); margin: 0 auto; padding: clamp(110px, 14vw, 170px) 24px 0; }
.groups { display: grid; grid-template-columns: 4fr 3fr 3fr; margin-top: 56px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.015); }
.group { padding: 26px 22px 28px; text-align: left; }
.group + .group { border-left: 1px solid var(--line); }
.group h3 { font-size: 13px; letter-spacing: 0; font-weight: 600; color: var(--text); margin-bottom: 18px; }
.group h3 span { color: var(--dim); font-weight: 400; margin-left: 6px; }
.group ul { display: flex; flex-wrap: wrap; gap: 22px 26px; }
.group li {
  display: flex; align-items: center; gap: 10px;
  color: #8c93a1; font-size: 15px; font-weight: 500; letter-spacing: -0.01em;
  transition: color .25s ease;
  flex-wrap: wrap;
}
.group li svg { width: 24px; height: 24px; fill: currentColor; transition: color .25s ease, filter .25s ease; }
.group li small { flex-basis: 100%; font-size: 11.5px; color: var(--dim); font-weight: 400; margin-top: -6px; padding-left: 34px; }
.group li:hover { color: #fff; }
.b-claude:hover svg { color: #d97757; }
.b-openai:hover svg { color: #fff; }
.b-gemini:hover svg { color: #8e9cff; filter: drop-shadow(0 0 8px rgba(142,117,178,.6)); }
.b-local:hover svg { color: var(--cyan); }
.b-cursor:hover svg { color: #fff; }
.b-mcp:hover svg { color: #fff; }
.b-github:hover svg { color: #fff; }
.b-jira:hover svg { color: #2684ff; }
.b-confluence:hover svg { color: #2684ff; }

/* Pillars */
.pillar {
  max-width: var(--max); margin: 0 auto; padding: clamp(110px, 13vw, 160px) 24px 0;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center;
}
.pillar.flip .copy { order: 2; }
.kicker { font-size: 14px; font-weight: 600; letter-spacing: .02em; margin-bottom: 14px; background-clip: text; -webkit-background-clip: text; color: transparent; display: inline-block; }
.k-a { background-image: linear-gradient(90deg, #fff, var(--cyan)); }
.k-b { background-image: linear-gradient(90deg, var(--cyan), var(--violet)); }
.k-c { background-image: linear-gradient(90deg, var(--violet), var(--orange)); }
.pillar h2 { font-size: clamp(28px, 3.4vw, 42px); }
.tags { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 26px; color: var(--muted); font-size: 15px; }
.tags li { display: flex; align-items: center; gap: 8px; }
.tags li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--grad); }
.tags.center { justify-content: center; max-width: 760px; margin: 40px auto 0; }

.art {
  position: relative; border-radius: 20px; border: 1px solid var(--line); min-height: 320px;
  background: radial-gradient(120% 80% at 80% 0%, rgba(59,107,255,.14), transparent 60%), var(--bg-2);
  padding: 32px; overflow: hidden;
}
.art-design { display: grid; grid-template-columns: 1fr; gap: 14px; align-content: center; }
.var { display: flex; align-items: center; justify-content: space-between; border: 1px dashed rgba(139,77,255,.5); border-radius: 12px; padding: 14px 16px; font-size: 13px; color: var(--muted); }
.var i { width: 46%; height: 36px; border-radius: 10px; display: block; }
.b1 { background: linear-gradient(100deg, var(--blue), var(--violet)); }
.b2 { border: 1.5px solid rgba(255,255,255,.3); }
.b3 { background: #2a2f3c; display: flex !important; align-items: center; justify-content: center; }
.b3 em { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.25); border-top-color: #fff; }
.anim .art-design .b3 em { animation: spin 1s linear infinite; }
.al { display: flex; gap: 8px; align-items: center; margin-top: 6px; padding: 10px; border-radius: 10px; background: rgba(34,195,245,.06); outline: 1px solid rgba(34,195,245,.35); }
.al i { flex: 1; height: 28px; border-radius: 7px; background: #1d2230; }
.al b { font-size: 11px; color: var(--cyan); font-weight: 600; }

.art-proto { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mini { width: 32%; aspect-ratio: 9 / 16; border-radius: 14px; background: #f6f7fb; padding: 10% 9%; display: flex; flex-direction: column; gap: 8%; flex-shrink: 0; }
.mini i { display: block; border-radius: 5px; height: 6%; background: #dfe3ec; }
.mini .w60 { width: 60%; background: #1b1f2a; } .mini .w50 { width: 50%; background: #1b1f2a; }
.mini .card { height: 26%; background: #fff; box-shadow: 0 2px 8px rgba(20,30,60,.1); border-radius: 9px; }
.mini .field { height: 12%; background: #fff; border: 1.5px solid #dfe3ec; }
.mini .btn { margin-top: auto; height: 12%; border-radius: 9px; background: linear-gradient(100deg, var(--blue), var(--violet)); }
.m1 .btn { outline: 2px solid var(--cyan); outline-offset: 3px; }
.flow { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; color: #bfefff; text-align: center; min-width: 0; }
.flow svg { width: 100%; height: 30px; }
.flow path { fill: none; stroke: var(--cyan); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.flow path:first-child { stroke-dasharray: 5 5; }
.anim .flow path:first-child { animation: dash 1.2s linear infinite; }
.flow span { background: rgba(34,195,245,.1); border: 1px solid rgba(34,195,245,.3); border-radius: 8px; padding: 4px 8px; }
.flow .t { color: var(--muted); background: none; border: 0; padding: 0; }

.art-build { display: grid; grid-template-columns: 1.25fr 1fr; gap: 16px; align-items: stretch; }
.code { margin: 0; font: 12.5px/1.65 "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; color: #c6cad3; background: #0a0b0f; border: 1px solid var(--line); border-radius: 12px; padding: 18px; overflow: hidden; white-space: pre; }
.code .k { color: #c792ea; } .code .f { color: #82aaff; } .code .t { color: #ffcb6b; } .code .a { color: #89ddff; } .code .s { color: #c3e88d; }
.preview { border-radius: 12px; background: #f6f7fb; padding: 40px 16px 16px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.preview .url { position: absolute; top: 0; left: 0; right: 0; height: 26px; background: #e7eaf1; border-radius: 12px 12px 0 0; font-size: 10.5px; color: #5b6272; display: flex; align-items: center; padding-left: 12px; }
.preview i { display: block; border-radius: 6px; height: 10px; background: #dfe3ec; }
.preview .w60 { width: 60%; background: #1b1f2a; }
.preview .card { height: 48px; background: #fff; box-shadow: 0 2px 8px rgba(20,30,60,.1); }
.preview .btn { margin-top: auto; height: 32px; border-radius: 9px; background: linear-gradient(100deg, var(--blue), var(--violet)); }

/* AI */
.ai { text-align: center; max-width: var(--max); margin: 0 auto; padding: clamp(120px, 15vw, 180px) 24px 0; }
.ai-visual {
  margin-top: 56px; display: grid; grid-template-columns: 1fr 340px; text-align: left;
  border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2);
  box-shadow: 0 40px 120px -40px rgba(139,77,255,.45);
}
.ai-canvas {
  position: relative; min-height: 420px;
  background-color: #0a0b0f; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 18px 18px;
}
.f-ai { left: 50%; top: 12%; transform: translateX(-50%); width: min(220px, 46%); }
.f-ai .scr { padding-top: 22%; }
.btn.glow { box-shadow: 0 0 0 2px var(--violet), 0 0 24px 2px rgba(139,77,255,.6); }
.ai-panel { background: #0e1016; border-left: 1px solid var(--line); padding: 20px; display: flex; flex-direction: column; gap: 14px; font-size: 13px; }
.msg.me { align-self: flex-end; background: #232838; color: #fff; padding: 10px 13px; border-radius: 12px 12px 4px 12px; max-width: 90%; }
.steps { display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: 12.5px; }
.steps .run { color: #d9c9ff; }
.anim .steps .run { animation: pulse 1.6s ease-in-out infinite; }
.proposal { border: 1px solid rgba(139,77,255,.45); background: rgba(139,77,255,.07); border-radius: 12px; padding: 14px; }
.ph { font-weight: 600; color: #fff; margin-bottom: 10px; }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-size: 11px; color: var(--muted); }
.ba span { display: flex; flex-direction: column; gap: 5px; }
.ba i { display: block; height: 54px; border-radius: 8px; background: #f6f7fb; position: relative; }
.ba i::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: 12px; height: 12px; }
.ba .before::after { background: #3355ff; border-radius: 2px; }
.ba .after::after { background: linear-gradient(100deg, var(--blue), var(--violet)); border-radius: 7px; }
.chg { margin-top: 10px; font: 11.5px/1.7 "JetBrains Mono", ui-monospace, monospace; color: #c9cfdb; }
.pbtns { display: flex; gap: 8px; margin-top: 12px; }
.pbtns b, .pbtns span { padding: 6px 14px; border-radius: 8px; font-weight: 600; font-size: 12.5px; }
.pbtns b { background: var(--violet); color: #fff; }
.pbtns span { border: 1px solid var(--line-2); color: var(--muted); }

/* Proof */
.proof {
  max-width: var(--max); margin: clamp(110px, 13vw, 150px) auto 0; padding: 0 24px;
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.proof p { padding: 22px 24px; border-top: 1px solid var(--line); font-size: 17px; font-weight: 500; letter-spacing: -0.015em; color: #d7dae1; }
.proof p::before { content: ""; display: block; width: 28px; height: 2px; background: var(--grad); margin-bottom: 16px; }

/* Closing */
.closing { text-align: center; max-width: 900px; margin: 0 auto; padding: clamp(120px, 15vw, 180px) 24px clamp(100px, 12vw, 150px); position: relative; }
.closing::before {
  content: ""; position: absolute; left: 50%; top: 55%; width: 70%; height: 60%; transform: translate(-50%, -50%); z-index: -1;
  background: radial-gradient(closest-side, rgba(139,77,255,.35), rgba(59,107,255,.15) 60%, transparent); filter: blur(40px);
}
.closing h2 { font-size: clamp(32px, 5vw, 60px); }

/* Footer */
.foot { max-width: var(--max); margin: 0 auto; padding: 28px 24px 40px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; color: var(--dim); font-size: 14px; }
.foot img { width: 110px; }

/* Reveal */
.anim .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.anim .reveal.in { opacity: 1; transform: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes dash { to { stroke-dashoffset: -10; } }
@keyframes pulse { 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Tablet */
@media (max-width: 960px) {
  .app-body { grid-template-columns: 40px 1fr 190px; }
  .layers { display: none; }
  .groups { grid-template-columns: 1fr; }
  .group + .group { border-left: 0; border-top: 1px solid var(--line); }
  .pillar { grid-template-columns: 1fr; }
  .pillar.flip .copy { order: 0; }
  .ai-visual { grid-template-columns: 1fr 300px; }
}

/* Phone */
@media (max-width: 640px) {
  .top { padding: 20px 16px 0; }
  .top .logo { width: 128px; }
  .hero, .integrations, .pillar, .ai, .closing, .product, .proof { padding-left: 16px; padding-right: 16px; }
  .br { display: none; }
  .cta { width: 100%; justify-content: center; }
  .app-bar .file, .app-bar .people { display: none; }
  .app-body { grid-template-columns: 1fr; height: 300px; }
  .rail, .panel { display: none; }
  .frame { width: 27%; } .f1 { left: 4%; } .f2 { left: 36.5%; } .f3 { left: 69%; }
  .cursor b { display: none; }
  .group { padding: 22px 18px; }
  .group ul { gap: 18px 22px; }
  .art { padding: 20px; min-height: 0; }
  .art-build { grid-template-columns: 1fr; }
  .code { font-size: 11.5px; }
  .ai-visual { grid-template-columns: 1fr; }
  .ai-canvas { min-height: 300px; }
  .ai-panel { border-left: 0; border-top: 1px solid var(--line); }
  .proof { grid-template-columns: 1fr; }
  .foot { padding: 24px 16px 32px; }
}

/* Join the waitlist: button → email field → done */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.join {
  --w: 236px;
  position: relative; width: var(--w); max-width: 100%; height: 60px;
  margin: 36px auto 0; border-radius: 999px;
  transition: width .45s cubic-bezier(.2,.8,.2,1);
}
.join.open, .join.busy, .join.error { --w: 460px; }
.join.done { --w: 280px; }
.join .cta {
  position: absolute; inset: 0; margin: 0; width: 100%; justify-content: center;
  border: 0; cursor: pointer; font-family: inherit;
  transition: opacity .2s ease, transform .2s ease, box-shadow .2s ease;
}
.join.open .cta, .join.done .cta { opacity: 0; pointer-events: none; transform: scale(.98); }
.join-field {
  position: absolute; inset: 0; display: flex; align-items: center; gap: 6px;
  padding: 6px 6px 6px 22px; border-radius: 999px;
  background: rgba(14,16,22,.92);
  box-shadow: 0 0 0 1px rgba(255,255,255,.18), 0 10px 40px -8px rgba(59,107,255,.6), 0 0 80px -10px rgba(139,77,255,.5);
  opacity: 0; pointer-events: none; transition: opacity .25s ease .12s, box-shadow .2s ease;
}
.join.open .join-field { opacity: 1; pointer-events: auto; }
.join-field:focus-within { box-shadow: 0 0 0 2px var(--cyan), 0 0 0 5px rgba(59,107,255,.25), 0 10px 40px -8px rgba(59,107,255,.7), 0 0 80px -10px rgba(139,77,255,.6); }
.join.error .join-field { box-shadow: 0 0 0 2px #ff6b6b, 0 10px 40px -10px rgba(255,107,107,.45); }
.join-field input {
  flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0;
  color: #fff; font-family: inherit; font-size: 17px; font-weight: 500;
}
.join-field input::placeholder { color: #8b92a0; }
.join-go {
  position: relative; flex: none; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: #fff; color: #07080b; display: grid; place-items: center;
  transition: opacity .2s ease, transform .2s ease;
}
.join-go[aria-disabled=true] { opacity: .35; cursor: default; }
.join-go:not([aria-disabled=true]):hover { transform: translateX(2px); }
.join-go:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.join-go svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.join-go .spin { position: absolute; inset: 12px; border-radius: 50%; border: 2.5px solid rgba(7,8,11,.2); border-top-color: #07080b; opacity: 0; }
.join.busy .join-go { opacity: 1; }
.join.busy .join-go svg { opacity: 0; }
.join.busy .join-go .spin { opacity: 1; animation: spin .8s linear infinite; }
.join-done {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; font-weight: 600; font-size: 17px; color: #fff;
  background: linear-gradient(100deg, rgba(34,195,245,.18), rgba(139,77,255,.22));
  box-shadow: 0 0 0 1px rgba(255,255,255,.2), 0 10px 40px -10px rgba(59,107,255,.6);
  opacity: 0; transform: scale(.96); pointer-events: none; transition: opacity .3s ease .1s, transform .3s ease .1s;
}
.join.done .join-done { opacity: 1; transform: none; }
.join.done .join-field { opacity: 0; pointer-events: none; }
.join-done svg { width: 22px; height: 22px; fill: none; stroke: var(--cyan); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.join-status { position: absolute; left: 0; right: 0; top: calc(100% + 12px); font-size: 14px; color: var(--muted); text-align: center; min-height: 1.4em; }
.join.error .join-status { color: #ff9b9b; }
.join.shake { animation: shake .4s ease; }
@keyframes shake { 20% { transform: translateX(-8px); } 40% { transform: translateX(7px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }
.closing .join { margin-bottom: 28px; }
@media (max-width: 640px) {
  .join, .join.open, .join.busy, .join.error, .join.done { --w: 100%; }
}

/* Product screenshot */
.shot {
  margin: 0; border-radius: 14px; overflow: hidden;
  box-shadow: 0 40px 120px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.08);
}
.shot img { width: 100%; height: auto; }
@media (max-width: 640px) {
  /* On phones, crop to the canvas so the screens stay readable. */
  .shot { border-radius: 14px; }
  .shot img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 62%; }
}

/* Consent note under the email field */
.join-note { position: absolute; left: 0; right: 0; top: calc(100% + 12px); font-size: 13px; color: var(--muted); text-align: center; opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.join.open .join-note { opacity: 1; pointer-events: auto; }
.join.error .join-note, .join.done .join-note { opacity: 0; pointer-events: none; }
.join.open .join-status:empty { display: none; }
.join.open:not(.error) .join-status:not(:empty) + .join-note { opacity: 0; }
.join { margin-bottom: 30px; }

/* Text-style buttons that open the legal dialogs */
.legal-link { background: none; border: 0; padding: 0; font: inherit; color: #b9dcff; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.legal-link:hover { color: #fff; }
.legal-link:focus-visible, .legal-x:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
.foot .legal-link { color: var(--muted); }

/* Privacy and terms dialogs */
dialog.legal {
  width: min(760px, calc(100vw - 32px)); max-height: min(86vh, 900px); margin: auto; padding: 0;
  border: 1px solid var(--line-2); border-radius: 18px; background: #0e1016; color: var(--text);
  box-shadow: 0 40px 120px -20px rgba(0,0,0,.9), 0 0 80px -20px rgba(59,107,255,.35);
  overflow: hidden;
}
dialog.legal[open] { display: flex; flex-direction: column; }
dialog.legal::backdrop { background: rgba(4,5,8,.72); backdrop-filter: blur(6px); }
.legal-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.legal-head h2 { font-size: 22px; letter-spacing: -0.02em; }
.legal-x { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); background: #171a22; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.legal-x:hover { background: #232838; }
.legal-body { padding: 8px 24px 28px; overflow-y: auto; font-size: 15px; line-height: 1.65; color: #c9cdd6; }
.legal-body h3 { font-size: 16px; letter-spacing: -0.01em; color: #fff; margin: 26px 0 8px; }
.legal-body p { margin: 0 0 10px; }
.legal-body ul { list-style: disc; padding-left: 20px; margin: 0 0 10px; }
.legal-body li { margin: 4px 0; }
.legal-body a { color: #9fd8ff; }
.legal-body strong { color: #fff; font-weight: 600; }
.legal-meta { color: var(--dim); font-size: 13px; margin-top: 12px !important; }
.legal-body table { width: 100%; border-collapse: collapse; margin: 6px 0 14px; font-size: 13.5px; }
.legal-body th, .legal-body td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid var(--line); }
.legal-body th { color: #fff; font-weight: 600; background: rgba(255,255,255,.03); }
@media (max-width: 640px) {
  dialog.legal { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; border: 0; }
  .legal-body { padding: 4px 16px 24px; }
  .legal-head { padding: 16px; }
  .legal-body table, .legal-body thead, .legal-body tbody, .legal-body tr, .legal-body td { display: block; width: 100%; }
  .legal-body thead { display: none; }
  .legal-body tr { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; padding: 4px 0; }
  .legal-body td { border: 0; padding: 4px 12px; }
  .legal-body td:nth-child(1) { color: #fff; font-weight: 600; }
  .legal-body td:nth-child(2)::before { content: "Purpose: "; color: var(--dim); }
  .legal-body td:nth-child(3)::before { content: "Legal basis: "; color: var(--dim); }
  .legal-body td:nth-child(4)::before { content: "Kept for: "; color: var(--dim); }
}

/* Analytics notice */
.notice {
  position: fixed; left: 16px; bottom: 16px; z-index: 20; max-width: 380px;
  display: flex; flex-direction: column; gap: 12px; padding: 14px 16px;
  border-radius: 14px; border: 1px solid var(--line-2);
  background: rgba(14,16,22,.94); backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px -20px rgba(0,0,0,.9);
  font-size: 13.5px; line-height: 1.5; color: #c9cdd6;
}
.notice[hidden] { display: none; }
.notice strong { color: #fff; font-weight: 600; }
.notice-btns { display: flex; gap: 8px; }
.notice-btns button { font: 600 13px Inter, system-ui, sans-serif; border-radius: 999px; padding: 7px 14px; cursor: pointer; }
.notice-ok { background: #fff; color: #07080b; border: 0; }
.notice-no { background: none; color: #c9cdd6; border: 1px solid var(--line-2); }
.notice-btns button:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
.legal-body code { font-size: 12.5px; background: #171a22; padding: 1px 5px; border-radius: 4px; }
@media (max-width: 640px) { .notice { left: 12px; right: 12px; bottom: 12px; max-width: none; } }

/* Libraries section */
.libs { padding-top: clamp(120px, 15vw, 180px); }
.libs > h2 { text-align: center; max-width: 820px; margin: 0 auto; padding: 0 24px; }
.libs .lib-row { padding-top: clamp(64px, 8vw, 100px); }
.lib-row h3 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.06; letter-spacing: -0.035em; font-weight: 600; }
.lib-line { color: var(--muted); font-size: 17px; margin-top: 16px; max-width: 460px; }
.lib-win { padding: 0; min-height: 0; display: flex; flex-direction: column; font-size: 12px; color: #c6cad3; }

/* Interaction library window */
.ix-win { padding: 18px; gap: 12px; }
.lw-search, .dl-search { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 9px; background: #0a0b0f; border: 1px solid var(--line); color: var(--dim); }
.lw-search i, .dl-search i { width: 11px; height: 11px; border: 1.6px solid currentColor; border-radius: 50%; position: relative; flex: none; }
.lw-search i::after, .dl-search i::after { content: ""; position: absolute; width: 5px; height: 1.6px; background: currentColor; right: -5px; bottom: -2px; transform: rotate(45deg); }
.lw-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.lw-chips b, .lw-chips span { padding: 4px 10px; border-radius: 999px; font-weight: 500; }
.lw-chips b { background: #2d55e0; color: #fff; }
.lw-chips span { background: #171a22; }
.ix-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ix-card { background: #0a0b0f; border: 1px solid var(--line); border-radius: 12px; padding: 8px 8px 10px; }
.ix-prev { position: relative; height: 104px; border-radius: 8px; background: #f3f4f8; display: grid; place-items: center; overflow: hidden; margin-bottom: 8px; }
.ix-name { color: #fff; font-weight: 600; font-size: 12.5px; display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 0 2px; }
.ix-meta { color: var(--dim); font-size: 11px; padding: 2px 2px 0; }
.badge { font-style: normal; font-size: 9.5px; font-weight: 600; padding: 2px 6px; border-radius: 999px; white-space: nowrap; }
.badge.off { background: rgba(59,107,255,.18); color: #a9bcff; }
.badge.pick { background: rgba(255,138,61,.16); color: #ffc29a; }
/* toggle */
.tgl { width: 46px; height: 26px; border-radius: 999px; background: #c9cfdb; position: relative; }
.tgl i { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.anim .tgl { animation: tglBg 2.4s ease-in-out infinite; }
.anim .tgl i { animation: tglKnob 2.4s ease-in-out infinite; }
@keyframes tglBg { 0%, 35% { background: #c9cfdb; } 50%, 85% { background: var(--blue); } 100% { background: #c9cfdb; } }
@keyframes tglKnob { 0%, 35% { transform: none; } 50%, 85% { transform: translateX(20px); } 100% { transform: none; } }
/* tooltip */
.tip-btn { width: 70px; height: 24px; border-radius: 7px; background: linear-gradient(100deg, var(--blue), var(--violet)); margin-top: 26px; }
.tip { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); background: #1b1f2a; color: #fff; font-size: 10px; padding: 4px 8px; border-radius: 6px; white-space: nowrap; }
.tip::after { content: ""; position: absolute; left: 50%; bottom: -4px; margin-left: -4px; border: 4px solid transparent; border-bottom: 0; border-top-color: #1b1f2a; }
.anim .tip { animation: tipPop 2.4s ease infinite; }
@keyframes tipPop { 0%, 20% { opacity: 0; transform: translate(-50%, 6px); } 30%, 80% { opacity: 1; transform: translate(-50%, 0); } 90%, 100% { opacity: 0; transform: translate(-50%, 6px); } }
/* carousel */
.car { width: 78%; height: 58px; overflow: hidden; border-radius: 8px; }
.car-track { display: flex; width: 300%; height: 100%; }
.car-track i { flex: 1; }
.car-track i:nth-child(1) { background: linear-gradient(135deg, #a5b4fc, #c084fc); }
.car-track i:nth-child(2) { background: linear-gradient(135deg, #67e8f9, #3b82f6); }
.car-track i:nth-child(3) { background: linear-gradient(135deg, #fdba74, #f472b6); }
.anim .car-track { animation: slide 6s ease-in-out infinite; }
@keyframes slide { 0%, 25% { transform: none; } 33%, 58% { transform: translateX(-33.333%); } 66%, 92% { transform: translateX(-66.666%); } 100% { transform: none; } }
.dots3 { position: absolute; bottom: 10px; display: flex; gap: 4px; }
.dots3 i { width: 5px; height: 5px; border-radius: 50%; background: #c9cfdb; }
.dots3 i:first-child { background: var(--blue); }
/* pull to refresh */
.ptr { width: 64%; height: 92px; position: relative; overflow: hidden; }
.ptr-spin { position: absolute; left: 50%; top: 6px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; border: 2px solid #c9cfdb; border-top-color: var(--blue); }
.ptr-list { position: absolute; left: 0; right: 0; top: 30px; display: flex; flex-direction: column; gap: 6px; }
.ptr-list i { height: 14px; border-radius: 5px; background: #fff; box-shadow: 0 1px 4px rgba(20,30,60,.1); }
.anim .ptr-list { animation: pull 2.8s ease-in-out infinite; }
.anim .ptr-spin { animation: pullSpin 2.8s linear infinite; }
@keyframes pull { 0%, 10% { transform: translateY(-24px); } 35%, 70% { transform: none; } 90%, 100% { transform: translateY(-24px); } }
@keyframes pullSpin { 0%, 10% { opacity: 0; transform: rotate(0); } 35% { opacity: 1; } 70% { opacity: 1; transform: rotate(540deg); } 90%, 100% { opacity: 0; transform: rotate(720deg); } }

/* Design library window */
.dl-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: #0e1016; }
.dl-head b { color: #fff; font-size: 13px; margin-right: auto; }
.dl-sync { display: flex; align-items: center; gap: 6px; color: var(--muted); padding: 5px 10px; border-radius: 8px; background: #171a22; }
.sync-ico { width: 11px; height: 11px; border-radius: 50%; border: 1.6px solid currentColor; border-right-color: transparent; }
.anim .sync-ico { animation: spin 1s linear infinite; }
.dl-add { padding: 6px 12px; border-radius: 8px; background: #2d55e0; color: #fff; font-weight: 600; }
.dl-body { display: grid; grid-template-columns: 120px 1fr; flex: 1; }
.dl-side { padding: 12px; border-right: 1px solid var(--line); }
.dl-h { color: var(--dim); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; margin: 12px 0 6px; }
.dl-h:first-child { margin-top: 0; }
.dl-f { padding: 3px 6px; border-radius: 5px; }
.dl-f.on { background: rgba(59,107,255,.22); color: #fff; }
.dl-tone { display: flex; flex-direction: column; gap: 4px; }
.dl-cols { display: flex; flex-wrap: wrap; gap: 5px; }
.dl-cols i { width: 13px; height: 13px; border-radius: 50%; }
.dl-main { padding: 12px; min-width: 0; }
.dl-count { color: var(--dim); font-size: 11px; margin: 10px 0 8px; }
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dl-card { background: #0a0b0f; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; transition: border-color .2s ease, transform .2s ease; }
.dl-card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.dl-card .sw { display: flex; align-items: stretch; height: 34px; position: relative; padding: 0; gap: 0; background: none; border-radius: 0; }
.dl-card .sw i { flex: 1; width: auto; height: auto; border-radius: 0; }
.dl-card .sw b { position: absolute; right: 5px; top: 5px; font-size: 8px; background: #000; color: #fff; padding: 1px 4px; border-radius: 3px; letter-spacing: .04em; }
.dn { color: #fff; font-weight: 600; font-size: 12px; padding: 8px 8px 2px; }
.dd { color: var(--muted); font-size: 10.5px; line-height: 1.4; padding: 0 8px; min-height: 30px; }
.df { display: flex; justify-content: space-between; gap: 6px; padding: 6px 8px 8px; font-size: 10px; color: var(--dim); white-space: nowrap; }
.df span:first-child { overflow: hidden; text-overflow: ellipsis; }
.repo { background: #171a22; padding: 1px 6px; border-radius: 5px; }

@media (max-width: 960px) {
  .lib-line { max-width: none; }
}
@media (max-width: 640px) {
  .libs > h2 { padding: 0 16px; }
  .ix-win { padding: 12px; }
  .ix-prev { height: 90px; }
  .ix-name { flex-direction: column; align-items: flex-start; }
  .dl-body { grid-template-columns: 1fr; }
  .dl-side, .dl-sync { display: none; }
  .dl-grid { grid-template-columns: 1fr 1fr; }
}

.join-status .js-line, .join-status .js-msg, .join-status .js-email { display: block; }
.join-status .js-line { white-space: nowrap; }
.join-status .js-email { color: #fff; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.join { transition: width .45s cubic-bezier(.2,.8,.2,1), margin-bottom .3s ease; }
.join.done { margin-bottom: 92px; }
