/* Third Peg — landing v2. Visual language adapted from the 2024 Better Stack homepage:
   near-black indigo canvas, display type with a white→slate gradient, indigo accent with a ring,
   floating tilted metric cards in the hero, dark product sections, then a light closing half. */

@font-face {
  font-family: "Inter";
  src: url(fonts/InterVariable.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

/* sizes and easing: the same in both themes */
:root {
  --r: 8px;
  --r-lg: 16px;
  --wrap: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

:root, :root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b0c14;
  --bg-2: #0f1019;
  --panel: #12131d;
  --panel-2: #171926;
  --line: rgba(201, 211, 238, .08);
  --line-2: rgba(201, 211, 238, .14);
  --tx: #fff;
  --tx-2: #c9d3ee;
  --tx-3: #939db8;
  --tx-4: #646e87;
  --acc: #5b63d3;
  --acc-2: #7c87f7;
  --acc-3: #98a4f7;
  --pos: #3ecf8e;
  --neg: #f0616d;
  --amb: #f2b84b;
  --teal: #4fd1c5;
  --hd: #fff;
  --grad-a: #fff;
  --grad-b: #939db8;
  --nav-bg: rgba(11, 12, 20, .72);
  --nav-bg-2: rgba(11, 12, 20, .9);
  --dots: rgba(201, 211, 238, .09);
  --glow: rgba(91, 99, 211, .16);
  --fl-a: rgba(31, 33, 48, .92);
  --fl-b: rgba(20, 21, 32, .92);
  --fl-bd: rgba(201, 211, 238, .09);
  --fl-sh: 0 30px 60px -20px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .04);
  --fl-dim: .3;
  --feat: rgba(18, 19, 29, .6);
  --feat-h: rgba(23, 25, 38, .8);
  --app-bg: #0d0e17;
  --app-bar: #10111b;
  --app-side: #0e0f18;
  --app-dot: #262838;
  --app-bd: rgba(201, 211, 238, .1);
  --app-sh: 0 50px 100px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .04);
  --soft: rgba(201, 211, 238, .08);
  --rej: #2b2e42;
  /* closing half */
  --s-bg: #0d0e16;
  --s-bg-2: #0a0b12;
  --card: #13141f;
  --card-bd: rgba(201, 211, 238, .08);
  --card-ln: rgba(201, 211, 238, .07);
  --card-sh: 0 1px 2px rgba(0, 0, 0, .2);
  --card-sh-h: 0 24px 50px -24px rgba(0, 0, 0, .7);
  --art-a: #171926;
  --art-b: #13141f;
  --ink: #fff;
  --ink-2: #a3acc4;
  --ink-3: #6f7891;
  --chip: rgba(91, 99, 211, .18);
  --who: #161826;
  --who-x: linear-gradient(160deg, #262a5a, #15172a);
  --input: #171926;
  --input-bd: rgba(201, 211, 238, .12);
  --a-bar: #2a2d48;
  --a-row: #171926;
  --a-dist-g: rgba(147, 157, 184, .12);
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f7f8fb;
  --bg-2: #eff1f6;
  --panel: #fff;
  --panel-2: #f5f6fa;
  --line: rgba(18, 19, 27, .08);
  --line-2: rgba(18, 19, 27, .14);
  --tx: #12131b;
  --tx-2: #3a4054;
  --tx-3: #5b6276;
  --tx-4: #8a90a2;
  --acc-2: #5b63d3;
  --acc-3: #4b53c4;
  --pos: #16a36a;
  --neg: #df3f4c;
  --hd: #12131b;
  --grad-a: #12131b;
  --grad-b: #6b7186;
  --nav-bg: rgba(247, 248, 251, .75);
  --nav-bg-2: rgba(247, 248, 251, .92);
  --dots: rgba(18, 19, 27, .1);
  --glow: rgba(91, 99, 211, .12);
  --fl-a: rgba(255, 255, 255, .96);
  --fl-b: rgba(248, 249, 252, .96);
  --fl-bd: rgba(18, 19, 27, .08);
  --fl-sh: 0 30px 60px -24px rgba(18, 19, 27, .25), inset 0 1px 0 #fff;
  --fl-dim: .55;
  --feat: #fff;
  --feat-h: #fff;
  --app-bg: #fff;
  --app-bar: #f7f8fb;
  --app-side: #fafbfd;
  --app-dot: #dfe1ea;
  --app-bd: rgba(18, 19, 27, .1);
  --app-sh: 0 50px 100px -40px rgba(18, 19, 27, .3), 0 0 0 1px rgba(18, 19, 27, .03);
  --soft: rgba(18, 19, 27, .06);
  --rej: #d9dce8;
  --s-bg: #f5f6fa;
  --s-bg-2: #eceef4;
  --card: #fff;
  --card-bd: #e6e8f0;
  --card-ln: #eef0f5;
  --card-sh: 0 1px 2px rgba(18, 19, 27, .04);
  --card-sh-h: 0 24px 50px -24px rgba(18, 19, 27, .2);
  --art-a: #f3f4f9;
  --art-b: #fff;
  --ink: #12131b;
  --ink-2: #4b5165;
  --ink-3: #8a90a2;
  --chip: #eef0fb;
  --who: #eceef5;
  --who-x: #0b0c14;
  --input: #eef0f6;
  --input-bd: #dfe2ec;
  --a-bar: #d9dcf2;
  --a-row: #fff;
  --a-dist-g: rgba(138, 144, 162, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--tx-2); transition: background-color .4s;
  font: 400 16px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-optical-sizing: auto; font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
button, input { font: inherit; }
[hidden] { display: none !important; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--acc); color: #fff; padding: 8px 14px; border-radius: var(--r); }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--acc-3); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.num { font-variant-numeric: tabular-nums; }

/* gradient display type, as in the reference */
.grad { background: linear-gradient(135.83deg, var(--grad-a) 24.64%, var(--grad-b) 175.85%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 32px; padding: 0 12px; border-radius: 6px; border: 1px solid transparent;
  background: var(--acc); color: #fff; font-size: 13px; font-weight: 500; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.btn:hover { background: #6b73e3; }
.btn-xl {
  height: 50px; width: 100%; max-width: 323px; font-size: 18px; border-radius: 8px;
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px rgba(152, 164, 247, .2);
}
.btn-xl:hover { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px rgba(152, 164, 247, .45); }
.link { color: var(--tx-2); font-size: 16px; display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.link:hover { color: var(--hd); }
.link .chev { transition: transform .25s var(--ease); }
.link:hover .chev { transform: translateX(3px); }
.link-acc { color: var(--acc-2); font-size: 18px; }
.link-acc:hover { color: var(--acc-3); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: var(--nav-bg); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); transition: background-color .3s; }
.nav-in { display: flex; align-items: center; gap: 28px; height: 56px; border-bottom: 1px solid var(--line); font-size: 13px; }
.logo { display: inline-flex; align-items: center; gap: 9px; color: var(--hd); font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
.word { display: block; height: 24px; aspect-ratio: 195 / 116; background: currentColor; -webkit-mask: url(wordmark.svg) center / contain no-repeat; mask: url(wordmark.svg) center / contain no-repeat; }
.logo .mark { height: 32px; }
.logo .word { height: 30px; }
.hero-brand .word { height: 38px; }
.eyebrow .word { height: 32px; color: var(--acc-3); }
.side .ws .word { height: 20px; }
.final .brandline .word { height: 40px; }
.foot-bot .brandline .word { height: 30px; }
.mark { display: block; height: 22px; aspect-ratio: 124.2 / 197.2; background: currentColor; -webkit-mask: url(favicon.svg) center / contain no-repeat; mask: url(favicon.svg) center / contain no-repeat; }
.nav-links { display: flex; gap: 26px; white-space: nowrap; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--tx-2); transition: color .2s; }
.nav-links a:hover { color: var(--hd); }
.nav-act { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-act .signin { margin: 0 10px; }
.nav-act .signin { color: var(--tx-2); }
.nav-act .signin:hover { color: var(--hd); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; isolation: isolate; }
.hero::before { /* dotted grid */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: radial-gradient(var(--dots) 1px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}
.hero::after { /* soft indigo glow */
  content: ""; position: absolute; left: 50%; top: 32%; width: 900px; height: 620px; z-index: -3;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, var(--glow), transparent 70%);
}
.hero-in { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--hd); font-weight: 600; font-size: 22px; letter-spacing: -.02em; margin-bottom: 22px; }
.hero-brand .mark { height: 44px; }
.hero h1 {
  font-size: clamp(56px, 9vw, 115px); line-height: .98; letter-spacing: -.025em; font-weight: 600;
  display: flex; flex-direction: column; align-items: center;
}
.rot { display: grid; }
.rot > span { grid-area: 1 / 1; transition: opacity .7s ease-in-out, transform .7s var(--ease), filter .7s; }
.rot > span[aria-hidden="true"] { opacity: 0; transform: translateY(18px); filter: blur(6px); }
.rot > span.out { opacity: 0; transform: translateY(-18px); filter: blur(6px); }
.hero-lede { max-width: 470px; margin-top: 34px; font-size: 20px; line-height: 1.5; color: var(--tx-2); }
.hero .btn-xl { margin-top: 40px; }
.hero .link { margin-top: 22px; }
/* background-clip:text only paints inside the box; pad it so ascenders and descenders are not cut */
.hero h1 .grad { padding: .12em .05em .18em; margin: -.12em -.05em -.18em; }
.h2.grad { padding-bottom: .14em; margin-bottom: -.14em; }

/* floating metric cards */
.floaters { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.fl {
  position: absolute; border-radius: 14px; padding: 14px 16px;
  background: linear-gradient(180deg, var(--fl-a), var(--fl-b));
  border: 1px solid var(--fl-bd);
  box-shadow: var(--fl-sh);
  color: var(--tx-3); font-size: 11px; text-align: left;
  transform: translate3d(var(--px, 0), var(--py, 0), 0) rotate(var(--rot, 0deg));
  transition: transform 1.2s var(--ease);
  will-change: transform;
}
.fl.dim { opacity: var(--fl-dim); filter: blur(.3px) saturate(.7); }
.fl-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; color: var(--tx-3); }
.fl-head .ico { display: flex; gap: 8px; color: var(--tx-4); }
.fl-head .ico i { width: 9px; height: 9px; border: 1.3px solid currentColor; border-radius: 2px; display: block; }
.fl-big { font-size: 46px; font-weight: 600; letter-spacing: -.03em; color: var(--acc-2); margin-top: 8px; line-height: 1; position: relative; z-index: 1; }
.fl-sub { color: var(--tx-4); font-size: 10px; margin-top: 6px; }
.fl svg { margin-top: 10px; }
.fl-legend { display: flex; gap: 12px; margin-top: 8px; color: var(--tx-4); font-size: 9.5px; }
.fl-legend i { display: inline-block; width: 6px; height: 6px; border-radius: 2px; margin-right: 5px; vertical-align: 1px; }

.f1 { left: 4%;  top: 10%; width: 222px; --rot: 0deg; }
.f2 { left: 2%;  top: 38%; width: 252px; --rot: 0deg; }
.f3 { left: 7%;  top: 67%; width: 330px; --rot: 4deg; }
.f4 { right: 7%; top: 30%; width: 212px; --rot: -5deg; }
.f5 { right: 3%; top: 8%;  width: 250px; --rot: 0deg; }
.f6 { right: 5%; top: 64%; width: 300px; --rot: 0deg; }
.f7 { right: 23%; top: 5%; width: 152px; --rot: 0deg; }



/* ---------- product sections ---------- */
.prod { position: relative; padding: 140px 0 120px; overflow: hidden; }
.prod + .prod { border-top: 1px solid var(--line); }
.hero + .prod { padding-top: 70px; }
.prod.alt { background: var(--bg-2); }
.prod-grid { display: grid; grid-template-columns: minmax(0, 450px) minmax(0, 1fr); gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; color: var(--acc-2); }
.eyebrow .sep { width: 1px; height: 22px; background: var(--line-2); }
.eyebrow .mark { height: 30px; color: var(--acc-2); }
.eyebrow span:last-child { color: var(--acc-3); opacity: .8; }
.h2 { font-size: clamp(36px, 4.2vw, 52px); line-height: 1.07; letter-spacing: -.01em; font-weight: 600; margin-top: 18px; }
.prod-copy p.lead { font-size: 18px; color: var(--tx-3); margin-top: 22px; max-width: 420px; line-height: 1.6; }
.prod-copy .link-acc { margin-top: 30px; }
.prod-shot { position: relative; margin-right: calc(-1 * clamp(0px, (100vw - var(--wrap)) / 2 - 16px, 110px)); }
.prod-shot .app { width: 880px; margin: 0; transform-origin: 0 0; }

.feat-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-top: 88px; align-items: center; }
.feat {
  border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px 24px; background: var(--feat);
  transition: border-color .3s, background-color .3s, transform .4s var(--ease);
}
.feat:hover { border-color: var(--line-2); background: var(--feat-h); transform: translateY(-2px); }
.feat .fi { width: 22px; height: 22px; color: var(--acc-2); }
.feat h3 { color: var(--hd); font-size: 16px; font-weight: 600; margin-top: 16px; }
.feat p { color: var(--tx-3); font-size: 15px; margin-top: 8px; line-height: 1.55; }
.feat .link { font-size: 15px; color: var(--tx-3); margin-top: 18px; }
.feat .link:hover { color: var(--hd); }
.quote { padding-left: 18px; border-left: 1px solid var(--tx-4); margin-left: 40px; max-width: 300px; }
.quote p { color: var(--tx-2); font-size: 14.5px; line-height: 1.55; }
.quote cite { display: block; margin-top: 12px; font-style: normal; color: var(--tx-4); font-size: 13px; }


/* ---------- app mockups ---------- */
.app {
  position: relative; border-radius: 14px; overflow: hidden; background: var(--app-bg);
  border: 1px solid var(--app-bd);
  box-shadow: var(--app-sh);
  font-size: 12px; color: var(--tx-3); text-align: left;
}
.app-bar { display: flex; align-items: center; gap: 14px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--app-bar); }
.app-bar .dots { display: flex; gap: 6px; }
.app-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--app-dot); }
.app-bar .crumbs { color: var(--tx-4); font-size: 11.5px; }
.app-bar .crumbs b { color: var(--tx-2); font-weight: 500; }
.app-body { display: grid; grid-template-columns: 160px minmax(0, 1fr); min-height: 520px; }
.side { border-right: 1px solid var(--line); padding: 14px 10px; background: var(--app-side); }
.side .ws { display: flex; align-items: center; gap: 8px; color: var(--tx-2); font-weight: 600; font-size: 12px; padding: 4px 8px 14px; }
.side .ws .mark { height: 14px; }
.side ul { list-style: none; margin: 0; padding: 0; }
.side li { display: flex; align-items: center; gap: 9px; padding: 6px 8px; border-radius: 6px; color: var(--tx-3); font-size: 12px; }
.side li.on { background: rgba(91, 99, 211, .14); color: var(--hd); }
.side li i { width: 12px; height: 12px; border-radius: 3px; border: 1.3px solid currentColor; opacity: .7; }
.side .cap { margin: 16px 8px 6px; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--tx-4); }
.main { padding: 18px 20px 20px; min-width: 0; }
.main-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.main-head h4 { color: var(--hd); font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.main-head .meta { color: var(--tx-4); font-size: 11px; margin-top: 4px; }
.stamp { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px; border-radius: 6px; font-size: 11px; font-weight: 600; letter-spacing: .05em; white-space: nowrap; }
.stamp.ok { color: #7ee2b4; background: rgba(62, 207, 142, .12); border: 1px solid rgba(62, 207, 142, .3); }
.stamp.no { color: #f59aa2; background: rgba(240, 97, 109, .1); border: 1px solid rgba(240, 97, 109, .28); }
.stamp i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.tile { border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; background: var(--panel); }
.tile .k { font-size: 10.5px; color: var(--tx-4); }
.tile .v { font-size: 21px; font-weight: 600; color: var(--hd); margin-top: 4px; letter-spacing: -.02em; }
.tile .d { font-size: 10px; margin-top: 2px; color: var(--tx-4); }
.tile .d.pos { color: var(--pos); }
.tile .d.neg { color: var(--neg); }

.panes { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 10px; margin-top: 10px; }
.pane { border: 1px solid var(--line); border-radius: 10px; padding: 12px 12px 10px; background: var(--panel); min-width: 0; }
.pane-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; white-space: nowrap; color: var(--tx-2); font-size: 11.5px; font-weight: 500; }
.pane-h span { color: var(--tx-4); font-weight: 400; font-size: 10.5px; }
.pane svg { width: 100%; height: auto; margin-top: 8px; }

.gates { list-style: none; margin: 8px 0 0; padding: 0; }
.gates li { display: grid; grid-template-columns: 18px 1fr auto; align-items: center; gap: 9px; padding: 8px 2px; border-bottom: 1px solid var(--line); font-size: 11.5px; color: var(--tx-2); }
.gates li:last-child { border-bottom: 0; }
.gates li small { display: block; color: var(--tx-4); font-size: 10px; margin-top: 1px; }
.gates .ck { width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; background: rgba(62, 207, 142, .14); color: var(--pos); }
.gates .ck.x { background: rgba(240, 97, 109, .14); color: var(--neg); }
.gates .val { color: var(--tx-3); font-size: 11px; }
.gates li.pend .ck { background: var(--soft); color: var(--tx-4); }

.tbl { width: 100%; border-collapse: collapse; margin-top: 6px; font-size: 11px; }
.tbl th { text-align: left; color: var(--tx-4); font-weight: 400; padding: 6px 4px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 7px 4px; border-bottom: 1px solid var(--line); color: var(--tx-2); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td.r, .tbl th.r { text-align: right; }
.tbl .pos { color: var(--pos); }
.tbl .neg { color: var(--neg); }
.bar-in { display: inline-block; height: 5px; border-radius: 3px; background: var(--acc); vertical-align: middle; }

.app-note { position: absolute; right: 12px; bottom: 10px; font-size: 10px; color: var(--tx-4); letter-spacing: .04em; }

/* svg chart primitives */
.c-grid line { stroke: var(--soft); }
.c-axis text { fill: var(--tx-4); font-size: 9px; }
.c-line { fill: none; stroke: var(--acc-2); stroke-width: 1.6; stroke-linejoin: round; }
.c-line.bench { stroke: var(--tx-4); stroke-dasharray: 3 3; stroke-width: 1.2; }
.c-area { fill: url(#gA); }
.c-dd { fill: rgba(240, 97, 109, .18); stroke: var(--neg); stroke-width: 1; }
.c-hist rect { fill: rgba(124, 135, 247, .35); }
.c-hist rect.hot { fill: var(--pos); }
.c-mark { stroke: var(--pos); stroke-width: 1.5; stroke-dasharray: 3 2; }
.c-band { fill: rgba(124, 135, 247, .07); }
.c-crisis { fill: rgba(240, 97, 109, .07); }
.draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.in .draw { animation: draw 2.2s cubic-bezier(.2, .7, .2, 1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.grow { transform-box: fill-box; transform-origin: bottom; transform: scaleY(0); }
.in .grow { animation: grow .9s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(var(--i, 0) * 18ms); }
@keyframes grow { to { transform: scaleY(1); } }

/* ---------- light half ---------- */
.light { background: var(--s-bg); color: var(--ink-2); transition: background-color .4s; }
.light .h2 { color: var(--ink); }
.why { padding: 120px 0 90px; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 48px; }
.wcard { background: var(--card); border-radius: 16px; border: 1px solid var(--card-bd); overflow: hidden; box-shadow: var(--card-sh); transition: transform .5s var(--ease), box-shadow .5s; }
.wcard:hover { transform: translateY(-4px); box-shadow: var(--card-sh-h); }
.wcard .art { height: 250px; background: linear-gradient(180deg, var(--art-a), var(--art-b)); border-bottom: 1px solid var(--card-ln); position: relative; overflow: hidden; }
.wcard .art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.wcard .tx { padding: 22px 24px 26px; }
.wcard h3 { color: var(--ink); font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.wcard p { font-size: 15px; margin-top: 10px; line-height: 1.6; }
.notes { margin-top: 20px; font-size: 11.5px; color: var(--ink-3); line-height: 1.7; }

.who { padding: 90px 0 110px; text-align: center; }
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 44px; text-align: left; }
.who-card { border-radius: 16px; background: var(--who); padding: 22px 24px; min-height: 470px; display: flex; flex-direction: column; position: relative; overflow: hidden; transition: transform .5s var(--ease); }
.who-card:hover { transform: translateY(-4px); }
.who-card.dark { background: var(--who-x); color: #a3acc4; }
.who-card .arrow { position: absolute; right: 18px; bottom: 18px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--ink); }
.who-card.dark .arrow { background: rgba(255, 255, 255, .08); color: #fff; }

.principles { padding: 0 0 100px; }
.pbox { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--card); border: 1px solid var(--card-bd); border-radius: 16px; overflow: hidden; }
.pbox .l { padding: 40px 36px; }
.pbox .l h2 { color: var(--ink); font-size: 34px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.pbox .l p { margin-top: 14px; font-size: 16px; }
.pbox .r { border-left: 1px solid var(--card-ln); display: grid; grid-template-rows: repeat(3, 1fr); }
.pbox .r div { display: flex; align-items: center; gap: 14px; padding: 0 28px; border-bottom: 1px solid var(--card-ln); color: var(--ink); font-weight: 500; font-size: 15px; }
.pbox .r div:last-child { border-bottom: 0; }
.pbox .r i { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--chip); color: var(--acc-2); font-style: normal; font-size: 13px; font-weight: 700; }
.faq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.qa { background: var(--card); border: 1px solid var(--card-bd); border-radius: 16px; padding: 22px 22px 24px; }
.qa h3 { color: var(--acc-2); font-size: 15px; font-weight: 600; }
.qa p { margin-top: 10px; font-size: 15px; color: var(--ink); line-height: 1.6; }

.final { padding: 30px 0 90px; text-align: center; position: relative; }
.final::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(var(--dots) 1px, transparent 1.2px); background-size: 14px 14px; -webkit-mask-image: radial-gradient(ellipse 45% 70% at 50% 40%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse 45% 70% at 50% 40%, #000 20%, transparent 70%); }
.final > * { position: relative; }
.final .brandline { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; font-size: 22px; letter-spacing: -.02em; }
.final .brandline .mark { height: 44px; }
.final h2 { color: var(--ink); font-size: clamp(34px, 4.4vw, 56px); font-weight: 600; letter-spacing: -.025em; margin: 14px auto 0; line-height: 1.08; max-width: 840px; text-wrap: balance; }
.final p.lead { max-width: 470px; margin: 18px auto 0; font-size: 18px; }
.fuse { display: flex; gap: 8px; justify-content: center; margin-top: 48px; flex-wrap: wrap; }
.fuse input { height: 48px; width: 290px; max-width: 100%; border-radius: 8px; border: 1px solid var(--input-bd); background: var(--input); padding: 0 14px; color: var(--ink); font-size: 15px; }
.fuse input::placeholder { color: var(--ink-3); }
.fuse input:focus { outline: 2px solid var(--acc-3); background: var(--card); }
.fuse .btn { height: 48px; padding: 0 22px; font-size: 15px; border-radius: 8px; box-shadow: 0 0 0 2px var(--s-bg), 0 0 0 4px rgba(91, 99, 211, .18); }
.final .small { margin-top: 18px; font-size: 14px; color: var(--ink-2); }
.final .small a { color: var(--acc-2); }
.final .ok { margin-top: 14px; font-size: 14px; color: var(--acc-2); min-height: 20px; }

.foot { background: var(--s-bg); color: var(--ink-2); font-size: 14px; transition: background-color .4s; }
.foot-grid { display: grid; grid-template-columns: repeat(3, 1fr) 1.6fr; gap: 24px; padding: 44px 24px 60px; border-top: 1px solid var(--card-bd); }
.foot h4 { color: var(--ink); font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.foot a:hover { color: var(--ink); }
.foot-bot { background: var(--s-bg-2); }
.foot-bot .wrap { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding-top: 30px; padding-bottom: 26px; flex-wrap: wrap; }
.foot-bot .brandline { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; font-size: 18px; }
.foot-bot .brandline .mark { height: 34px; }
.foot-bot p { max-width: 380px; margin-top: 10px; line-height: 1.6; }
.foot-bot .legal { display: flex; gap: 24px; font-size: 12.5px; border-top: 1px solid var(--card-bd); width: 100%; padding-top: 14px; margin-top: 8px; color: var(--ink-3); }
.foot-bot .legal .st { display: inline-flex; align-items: center; gap: 7px; }
.foot-bot .legal .st i { width: 7px; height: 7px; border-radius: 50%; background: var(--pos); box-shadow: 0 0 0 3px rgba(62, 207, 142, .2); }
.foot-bot .legal span:last-child { margin-left: auto; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(100px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }
.no-js .draw { stroke-dashoffset: 0; }
.no-js .grow { transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .prod-grid { grid-template-columns: minmax(0, 1fr); }
  .prod-shot { margin-right: 0; }
  .feat-row { grid-template-columns: 1fr 1fr; }
  .quote { grid-column: 1 / -1; margin: 10px 0 0; max-width: none; }
  .f1, .f2, .f3 { left: -60px; }
  .f4, .f5, .f6, .f7 { right: -70px; }
}
@media (max-width: 1080px) {
  .nav-act .signin { display: none; }
  .nav-links { gap: 18px; }
}
@media (max-width: 760px) {
  .nav-links, .nav-act .signin { display: none; }
  .nav-in { gap: 12px; }
  .nav-act { gap: 8px; }
  .nav-act .btn { padding: 0 10px; }
  .logo .word { display: none; }
  .hero { padding-top: 48px; }
  .fl { opacity: .22; }
  .f3, .f6, .f7, .f2 { display: none; }
  .hero-lede { font-size: 18px; }
  .prod { padding: 90px 0 80px; }
  .feat-row, .why-grid, .who-grid, .faq-grid { grid-template-columns: 1fr; }
  .pbox,   .pbox { grid-template-columns: 1fr; }
  .pbox .r { border-left: 0; border-top: 1px solid var(--card-ln); }
  .pbox .r div { padding: 16px 22px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .rv { transform: translateY(40px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- mockup extras ---------- */
.fl-legend .lg-pos { background: var(--pos); }
.fl-legend .lg-neu { background: var(--rej); }
.fl-legend .lg-acc { background: var(--acc-2); }
.fl-big.fl-mid { font-size: 34px; color: var(--tx-2); }
.fl-big .unit { font-size: 13px; color: var(--tx-4); margin-left: 4px; font-weight: 500; letter-spacing: 0; }
.stamp.run { color: var(--acc-3); background: rgba(91, 99, 211, .14); border: 1px solid rgba(124, 135, 247, .3); }
.stamp.run i { animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }

.steps { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; counter-reset: s; }
.steps li { position: relative; padding-top: 12px; font-size: 10.5px; color: var(--tx-4); }
.steps li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 2px; background: var(--soft); }
.steps li.done { color: var(--tx-2); }
.steps li.done::before { background: var(--acc); }
.steps li.now { color: var(--hd); }
.steps li.now::before { background: linear-gradient(90deg, var(--acc) 0 var(--p, 40%), var(--soft) var(--p, 40%)); }

.papers { margin-top: 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.paper { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.paper:last-child { border-bottom: 0; }
.paper .pt { color: var(--tx-2); font-size: 12px; font-weight: 500; }
.paper .pm { color: var(--tx-4); font-size: 10.5px; margin-top: 2px; }
.pill { display: inline-flex; align-items: center; gap: 6px; flex: none; font-size: 10.5px; padding: 3px 8px; border-radius: 5px; border: 1px solid var(--line-2); color: var(--tx-3); }
.pill.acc { color: #7ee2b4; border-color: rgba(62, 207, 142, .3); background: rgba(62, 207, 142, .08); }
.pill.run { color: var(--acc-3); border-color: rgba(124, 135, 247, .35); background: rgba(91, 99, 211, .12); }
.pill.amb { color: #f5cd80; border-color: rgba(242, 184, 75, .3); background: rgba(242, 184, 75, .08); }
.pill.neu { color: var(--tx-4); }
.spin { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid rgba(152, 164, 247, .3); border-top-color: var(--acc-3); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.fidelity { margin-top: 10px; }

.pane-h.sub2 { margin-top: 12px; }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 7px; padding: 2px; font-size: 10.5px; white-space: nowrap; }
.seg > * { padding: 3px 9px; border-radius: 5px; color: var(--tx-4); font-weight: 400; }
.seg b { background: var(--soft); color: var(--hd); font-weight: 500; }
.panes.p2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: 16px; }
.heat-pane { margin-top: 10px; }
.bar-in { width: 0; transition: width 1.2s var(--ease); }
.bar-in.neg-bar { background: var(--neg); }
#stress td:nth-child(2) { width: 42%; }

.c-yr rect.p { fill: var(--pos); opacity: .85; }
.c-yr rect.n { fill: var(--neg); opacity: .85; }
.c-heat rect { rx: 2px; }
.c-dot { fill: var(--teal); }
.c-dot.n { fill: rgba(147, 157, 184, .5); }

/* light illustrations */
.art .a-ln { fill: none; stroke: var(--acc); stroke-width: 2; }
.art .a-ln2 { fill: none; stroke: var(--ink-3); stroke-width: 1.5; stroke-dasharray: 4 4; }
.art .a-txt { fill: var(--ink-3); font: 500 11px Inter, sans-serif; }
.art .a-txt.b { fill: var(--ink); font-weight: 600; font-size: 12px; }
.art .a-bar { fill: var(--a-bar); }
.art .a-bar.on { fill: var(--acc); }
.art .a-dist { fill: rgba(91, 99, 211, .14); stroke: var(--acc); stroke-width: 1.5; }
.art .a-dist.g { fill: var(--a-dist-g); stroke: var(--ink-3); }
.art .a-row { fill: var(--a-row); stroke: var(--card-bd); }
.art .a-x { fill: none; stroke: var(--neg); stroke-width: 1.6; }
.nav.scrolled { background: var(--nav-bg-2); }
.c-line.dd-ln { stroke: var(--neg); stroke-width: 1.1; }

/* status colors that need more contrast on white */
:root[data-theme="light"] .stamp.ok, :root[data-theme="light"] .pill.acc { color: #0f8a57; }
:root[data-theme="light"] .pill.amb { color: #a8700f; }
:root[data-theme="light"] .stamp.run, :root[data-theme="light"] .pill.run { color: var(--acc); }

/* svg pieces drawn by app.js, themed here */
.h-rej { fill: var(--rej); }
.h-ok { fill: var(--pos); }
.ln-zero { stroke: var(--line-2); }
.ln-thr { stroke: var(--amb); stroke-dasharray: 3 3; opacity: .8; }
.ln-v { stroke: var(--soft); }
.t-ax { fill: var(--tx-4); font-size: 9px; }
.t-lbl { fill: var(--tx-2); font-size: 9px; }
.t-pos { fill: var(--pos); font-size: 9px; }
.fid-ln { stroke: var(--acc-2); stroke-width: 1.5; }
.fid-dot { fill: var(--acc-2); }
.a-base { stroke: var(--card-bd); }
.g-bg { stroke: var(--soft); }

/* ---------- toggles ---------- */
.tgl { position: relative; display: inline-grid; place-items: center; width: 34px; height: 32px; border-radius: 8px; border: 1px solid var(--line-2); background: transparent; color: var(--tx-2); cursor: pointer; overflow: hidden; transition: color .2s, border-color .2s; }
.tgl:hover { color: var(--hd); border-color: var(--tx-4); }
.tgl svg { position: absolute; transition: transform .6s cubic-bezier(.3, 1.5, .5, 1), opacity .35s; }
.tgl .i-sun { transform: rotate(-90deg) scale(.4); opacity: 0; }
:root[data-theme="light"] .tgl .i-sun { transform: none; opacity: 1; }
:root[data-theme="light"] .tgl .i-moon { transform: rotate(90deg) scale(.4); opacity: 0; }
.lang { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; width: 72px; height: 32px; padding: 3px; border-radius: 8px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; }
.lang .thumb { position: absolute; top: 3px; left: 3px; width: calc(50% - 3px); height: calc(100% - 6px); border-radius: 5px; background: var(--acc); box-shadow: 0 2px 8px rgba(91, 99, 211, .45); transition: transform .55s cubic-bezier(.3, 1.45, .5, 1); }
.lang[aria-checked="true"] .thumb { transform: translateX(100%); }
.lang .opt { position: relative; z-index: 1; display: grid; place-items: center; color: var(--tx-3); transition: color .3s; }
.lang[aria-checked="false"] .opt-es, .lang[aria-checked="true"] .opt-en { color: #fff; }

/* language swap: the page text dips out and comes back */
.swap main, .swap .nav-links, .swap .foot { animation: swap .5s cubic-bezier(.2, .7, .2, 1); }
@keyframes swap { 45% { opacity: 0; filter: blur(5px); transform: translateY(6px); } }
/* theme: the new theme grows as a circle from the button (View Transitions; app.js animates it) */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
/* a saved English choice: hide until the text is swapped, so Spanish never flashes */
.tp-en-pending body { opacity: 0; }
.tp-en-pending body { animation: tp-show 0s 1.2s forwards; } /* if scripts fail, show the page anyway */
@keyframes tp-show { to { opacity: 1; } }
.no-tr *, .no-tr *::before, .no-tr *::after { transition: none !important; }
.rules { margin: 8px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rules div { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; background: var(--app-bg); }
.rules dt { font-size: 10px; color: var(--tx-4); text-transform: uppercase; letter-spacing: .06em; }
.rules dd { margin: 3px 0 0; font-size: 11.5px; color: var(--tx-2); font-weight: 500; }

/* audiences: the audience is the headline, a small scene shows what they get */
.who-card .aud { color: var(--ink); font-size: clamp(26px, 2.4vw, 32px); line-height: 1.1; font-weight: 600; letter-spacing: -.02em; }
.who-card .aud-sub { color: var(--acc-2); font-size: 17px; font-weight: 500; margin-top: 8px; }
.who-card .aud-p { font-size: 15px; margin-top: auto; padding-right: 44px; line-height: 1.55; }
.who-card.dark .aud { color: #fff; }
.who-card.dark .aud-sub { color: #aab3ff; }
.vig { margin: 24px 0 24px; padding: 0; list-style: none; font-size: 13px; }
.vig .bubble { max-width: 88%; padding: 10px 12px; border-radius: 12px; line-height: 1.45; margin: 0 0 8px; }
.vig .you { margin-left: auto; background: var(--acc); color: #fff; border-bottom-right-radius: 4px; }
.vig .tp { display: flex; gap: 8px; align-items: flex-start; background: var(--card); border: 1px solid var(--card-bd); color: var(--ink); border-bottom-left-radius: 4px; }
.vig .tp .mark { height: 18px; flex: none; color: var(--acc-2); }
.vig .chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 0; }
.vig-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 12px; margin-bottom: 6px; border-radius: 10px; background: var(--card); border: 1px solid var(--card-bd); color: var(--ink); }
.vig-list li span:first-child { line-height: 1.35; }
.vig-cert { padding: 14px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); color: #c9d3ee; }
.vig-cert .cert-top { display: flex; justify-content: space-between; align-items: center; margin: 0 0 12px; }
.vig-cert .hash { font-size: 11px; color: #8f98b5; font-variant-numeric: tabular-nums; }
.vig-cert dl { margin: 0; display: grid; gap: 6px; }
.vig-cert dl div { display: flex; justify-content: space-between; padding-bottom: 6px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.vig-cert dt { color: #8f98b5; }
.vig-cert dd { margin: 0; color: #fff; font-weight: 500; }
.vig-cert .cert-ln { margin: 10px 0 0; font-size: 12px; color: #7ee2b4; }
.who-card .pill { font-size: 11px; }
/* scenes play in when the card enters */
.vig > * { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.in .vig > * { opacity: 1; transform: none; }
.in .vig > :nth-child(2) { transition-delay: .5s; }
.in .vig > :nth-child(3) { transition-delay: 1s; }
.in .vig > :nth-child(4) { transition-delay: 1.4s; }
.vig-cert .stamp { transform: scale(.6); opacity: 0; transition: transform .5s cubic-bezier(.3, 1.6, .5, 1) .9s, opacity .3s .9s; }
.in .vig-cert .stamp { transform: none; opacity: 1; }
.no-js .vig > *, .no-js .vig-cert .stamp { opacity: 1; transform: none; }

/* how we differ */
.why-lead { max-width: 640px; margin-top: 18px; font-size: 18px; line-height: 1.6; color: var(--ink-2); }
.art .a-grid { stroke: var(--card-ln); }
.art .a-life { fill: var(--acc); opacity: .85; transform-box: fill-box; transform-origin: left; transform: scaleX(0); }
.art .a-life.dead { fill: var(--a-bar); opacity: 1; }
.in .art .a-life { animation-name: life; animation-duration: 1s; animation-timing-function: cubic-bezier(.2, .7, .2, 1); animation-fill-mode: forwards; animation-delay: calc(var(--i, 0) * 90ms); }
@keyframes life { to { transform: scaleX(1); } }
.art .a-future { fill: var(--art-b); opacity: .78; }
.art .a-cursor { stroke: var(--acc); stroke-width: 1.5; stroke-dasharray: 3 3; }
.art .pit { animation: pit 9s ease-in-out infinite alternate; }
@keyframes pit { from { transform: translateX(-60px); } to { transform: translateX(110px); } }
.pipe { list-style: none; margin: 0; padding: 20px 22px; position: relative; display: grid; gap: 8px; }
.pipe::before { content: ""; position: absolute; left: 36px; top: 38px; bottom: 38px; width: 2px; background: var(--card-bd); }
.pipe::after { content: ""; position: absolute; left: 33px; top: 34px; width: 8px; height: 8px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 12px var(--acc); animation: travel 6s cubic-bezier(.2, .7, .2, 1) infinite; }
@keyframes travel { 0% { transform: translateY(0); opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { transform: translateY(132px); opacity: 0; } }
.pipe li { position: relative; display: flex; align-items: center; gap: 12px; padding: 4px 0; min-height: 36px; font-size: 13.5px; font-weight: 500; color: var(--ink); }
.pipe i { position: relative; z-index: 1; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 600; background: var(--card); border: 1px solid var(--card-bd); color: var(--ink-3); animation: lit 6s infinite; }
.pipe li:nth-child(2) i { animation-delay: 1.4s; }
.pipe li:nth-child(3) i { animation-delay: 2.8s; }
.pipe li:nth-child(4) i { animation-delay: 4.2s; }
@keyframes lit { 0%, 30%, 100% { background: var(--card); color: var(--ink-3); border-color: var(--card-bd); } 6%, 22% { background: var(--acc); color: #fff; border-color: var(--acc); box-shadow: 0 0 0 5px rgba(91, 99, 211, .15); } }
.pipe em { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 500; padding: 2px 8px; border-radius: 6px; color: var(--acc-2); background: var(--chip); }
.pipe em.ok { color: var(--pos); background: rgba(62, 207, 142, .12); }
.art .a-link { stroke: var(--card-bd); stroke-width: 1.5; }
.art .a-flow { stroke: var(--acc); stroke-width: 2; stroke-dasharray: 3 14; stroke-linecap: round; animation: flow 1.1s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -17; } }
.art .a-halo { fill: var(--acc); opacity: .12; transform-box: fill-box; transform-origin: center; animation: halo 2.4s ease-out infinite; }
@keyframes halo { from { transform: scale(.7); opacity: .3; } to { transform: scale(1.5); opacity: 0; } }
.art .a-hub { fill: var(--acc); }
.art .a-hub-t { fill: #fff; font: 600 8.5px Inter, sans-serif; }
.art .a-pill { fill: var(--card); stroke: var(--card-bd); }
.art .a-node { opacity: 0; transition: opacity .6s var(--ease); transition-delay: calc(var(--i) * 120ms + .3s); }
.in .art .a-node { opacity: 1; }
.no-js .art .a-life, .no-js .art .a-node { transform: none; opacity: 1; }

/* agent bots: a visor face per agent, they blink and bob */
.bot .head { fill: var(--card); stroke: var(--card-bd); stroke-width: 1.2; }
.bot .ear { fill: var(--card-bd); }
.bot .visor { fill: #12131b; }
.bot .ant { stroke: var(--card-bd); stroke-width: 1.4; }
.bot .eye { fill: var(--c); transform-box: fill-box; transform-origin: center; animation: bot-blink 4.2s infinite; animation-delay: calc(var(--i) * -.8s); filter: drop-shadow(0 0 2px var(--c)); }
.bot .eye-arc { fill: none; stroke: var(--c); stroke-width: 1.8; stroke-linecap: round; }
.bot .bulb { fill: var(--c); animation: blink 1.6s ease-in-out infinite; animation-delay: calc(var(--i) * .3s); }
.bot { animation: bob 3s ease-in-out infinite; animation-delay: calc(var(--i) * -.6s); }
@keyframes bot-blink { 0%, 90%, 100% { transform: none; } 94% { transform: scaleY(.1); } }
@keyframes bob { 50% { transform: translateY(-2px); } }
.art .a-lbl { fill: var(--card); stroke: var(--card-bd); }
.art .a-name { fill: var(--ink); font: 600 10px Inter, sans-serif; }

/* ---------- access dialog and form (fields and behaviour ported from the live landing) ---------- */
html.modal-open { overflow: hidden; }
.modal { border: 0; padding: 0; background: transparent; color: var(--ink); width: calc(100% - 32px); max-width: 520px; max-height: calc(100dvh - 48px); overflow: visible; }
.modal::backdrop { background: rgba(5, 6, 12, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.modal .panel { position: relative; max-height: calc(100dvh - 48px); overflow: auto; overscroll-behavior: contain; padding: 34px 28px 28px; border-radius: 16px; background: var(--card); border: 1px solid var(--card-bd); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6); text-align: left; }
.modal h2 { color: var(--ink); font-size: clamp(24px, 3.4vw, 30px); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; padding-right: 40px; }
.modal .sub { margin-top: 10px; font-size: 16px; color: var(--ink-2); }
.modal-x { position: absolute; top: 14px; right: 14px; }
.modal[open] { animation: modal-in .5s cubic-bezier(.3, 1.3, .5, 1) both; }
.modal[open]::backdrop { animation: fade-in .25s ease-out both; }
.modal.closing { animation: modal-out .2s ease-in both; }
.modal.closing::backdrop { animation: fade-out .2s ease-in both; }
@keyframes modal-in { from { opacity: 0; transform: translateY(18px) scale(.97); } }
@keyframes modal-out { to { opacity: 0; transform: translateY(12px) scale(.98); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }
.modal form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.modal form label { display: block; font-size: 14px; font-weight: 600; margin: 18px 0 8px; color: var(--ink); }
.modal input[type=email], .modal input[type=text], .modal select, .modal textarea { width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 8px; border: 1px solid var(--input-bd); background: var(--input); color: var(--ink); font-size: 15px; }
.modal select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 38px; }
.modal select option { background: var(--card); color: var(--ink); }
.modal textarea { resize: vertical; min-height: 100px; font: inherit; }
.modal input:focus, .modal select:focus, .modal textarea:focus { outline: none; border-color: var(--acc-2); box-shadow: 0 0 0 4px rgba(91, 99, 211, .2); }
.modal .fuse.in-modal { display: flex; gap: 8px; margin: 0; justify-content: stretch; flex-wrap: nowrap; }
.modal .fuse.in-modal input { flex: 1 1 auto; min-width: 0; width: auto; }
.modal .fuse.in-modal .btn { height: 46px; padding: 0 16px; font-size: 14px; flex: none; box-shadow: none; }
.err { color: var(--neg); font-size: 14px; margin: 8px 0 0; }
.check { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--acc); flex: none; }
.modal .check label { margin: 0; font-weight: 400; font-size: 14.5px; color: var(--ink-2); }
.check a { color: var(--acc-2); text-decoration: underline; text-underline-offset: 2px; }
#step2 { margin-top: 18px; padding-top: 6px; border-top: 1px solid var(--card-ln); }
#step2 legend { font-size: 17px; font-weight: 600; padding: 12px 0 0; color: var(--ink); }
.count { font-size: 12px; color: var(--ink-3); text-align: right; margin: 6px 0 0; }
.modal .row { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.modal .row .btn { height: 44px; padding: 0 18px; font-size: 14px; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--card-bd); }
.btn.ghost:hover { background: var(--soft); }
.status { margin-top: 14px; font-size: 15px; color: var(--ink-2); }
.status:empty { display: none; }
.status.is-err { color: var(--neg); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.done { text-align: center; padding: 18px 0 6px; }
.done-mark { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(62, 207, 142, .14); color: var(--pos); font-size: 26px; font-weight: 600; margin-bottom: 14px; }
.done h3 { color: var(--ink); font-size: 22px; font-weight: 600; }
.done p { margin-top: 8px; color: var(--ink-2); }
@media (max-width: 560px) {
  .modal { width: 100%; max-width: none; margin: auto 0 0; max-height: 92dvh; }
  .modal .panel { max-height: 92dvh; border-radius: 20px 20px 0 0; border-bottom: 0; padding: 30px 20px calc(24px + env(safe-area-inset-bottom)); }
  .modal .fuse.in-modal { flex-direction: column; }
  @keyframes modal-in { from { transform: translateY(100%); } }
  @keyframes modal-out { to { transform: translateY(100%); } }
}


/* the access form needs JavaScript; say so only when it is off */
.nojs { margin-top: 16px; font-size: 14px; color: var(--ink-2); }
html:not(.no-js) .nojs { display: none; }

/* from idea to verdict: a race between doing it by hand and the agents, then the real timeline */
.speed { display: grid; grid-template-columns: minmax(0, 450px) minmax(0, 1fr); gap: 48px; align-items: center; margin-top: 130px; }
.speed .h2 { margin-top: 0; font-size: clamp(32px, 3.6vw, 44px); }
.speed .lead { font-size: 18px; color: var(--tx-3); margin-top: 22px; max-width: 420px; line-height: 1.6; }
.speed-viz { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); padding: 26px 26px 22px; }
.race { display: grid; gap: 14px; }
.lane { display: grid; grid-template-columns: 82px 1fr 74px; align-items: center; gap: 14px; font-size: 13px; }
.lane .lane-name { color: var(--tx-3); }
.lane b { color: var(--hd); font-weight: 600; text-align: right; font-size: 14px; }
.track { position: relative; height: 12px; border-radius: 6px; background: var(--soft); overflow: hidden; }
.bar { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 6px; }
.bar.slow { background: repeating-linear-gradient(90deg, var(--tx-4) 0 10px, transparent 10px 14px); opacity: .6; }
.bar.fast { background: var(--acc); box-shadow: 0 0 14px var(--acc); }
.in .bar.slow { animation: fill-slow 4.5s cubic-bezier(.4, 0, .6, 1) forwards; }
.in .bar.fast { animation: fill-fast .9s cubic-bezier(.2, .7, .2, 1) .3s forwards; }
@keyframes fill-slow { to { width: 100%; } }
@keyframes fill-fast { to { width: 7%; } }
.tl { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.tl::before { content: ""; position: absolute; left: 7px; right: 7px; top: 6px; height: 2px; background: var(--soft); }
.tl::after { content: ""; position: absolute; left: 7px; top: 6px; height: 2px; width: 0; background: var(--acc); }
.in .tl::after { animation: tl-fill 2.4s cubic-bezier(.2, .7, .2, 1) .5s forwards; }
@keyframes tl-fill { to { width: calc(75% - 7px); } }
.tl li { position: relative; padding-top: 24px; font-size: 13px; color: var(--tx-3); }
.tl li::before { content: ""; position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--panel); border: 2px solid var(--line-2); transition: background-color .3s, border-color .3s, box-shadow .3s; }
.in .tl li::before { animation: tl-dot .4s forwards; }
.in .tl li:nth-child(1)::before { animation-delay: .5s; }
.in .tl li:nth-child(2)::before { animation-delay: 1.1s; }
.in .tl li:nth-child(3)::before { animation-delay: 1.9s; }
.in .tl li:nth-child(4)::before { animation-delay: 2.7s; }
@keyframes tl-dot { to { background: var(--acc); border-color: var(--acc); box-shadow: 0 0 0 5px rgba(91, 99, 211, .18); } }
.tl b { display: block; color: var(--hd); font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.tl span { display: block; margin-top: 2px; }
.no-js .bar.slow { width: 100%; } .no-js .bar.fast { width: 7%; }
@media (max-width: 1100px) { .speed { grid-template-columns: minmax(0, 1fr); gap: 36px; margin-top: 90px; } }
@media (max-width: 560px) { .tl { grid-template-columns: 1fr 1fr; row-gap: 22px; } .tl::before, .tl::after { display: none; } .lane { grid-template-columns: 70px 1fr 64px; gap: 10px; } }

/* hero quant cards */
.fl-kpis { display: flex; gap: 12px; margin-top: 8px; font-size: 9.5px; color: var(--tx-4); }
.fl-kpis b { display: block; font-size: 15px; color: var(--tx-2); font-weight: 600; letter-spacing: -.01em; }
.fl-legend .lg-band { background: rgba(124, 135, 247, .25); }
.h-acc { fill: var(--acc-2); }
.h-acc2 { fill: url(#gB); }
.h-neg { fill: var(--neg); }
.c-line.fit { stroke: var(--amb); stroke-width: 1.2; stroke-dasharray: 3 2; }
.grow-x { transform-box: fill-box; transform: scaleX(0); }
.in .grow-x { animation-name: grow-x; animation-duration: .9s; animation-timing-function: cubic-bezier(.2, .7, .2, 1); animation-fill-mode: forwards; animation-delay: calc(var(--i, 0) * 18ms); }
@keyframes grow-x { to { transform: scaleX(1); } }
.no-js .grow-x { transform: none; }
.c-dot.ok { fill: var(--pos); stroke: var(--bg); stroke-width: .8; }
.ln-fit { stroke: var(--amb); stroke-width: 1.4; }
.fl-legend .lg-amb { background: var(--amb); }

/* privacy notice dialog */
#privacy .panel { max-width: 560px; }
#privacy .pv { margin-top: 14px; font-size: 15px; line-height: 1.65; color: var(--ink-2); }
#privacy h2 + .pv { margin-top: 18px; }
/* data layers over the lifetimes chart */
.art .a-lbl.on { fill: var(--acc); stroke: var(--acc); }
.art .a-lbl.on + .a-name { fill: #fff; }
.art .a-layer { opacity: 0; transition: opacity .5s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i) * 90ms); }
.in .art .a-layer { opacity: 1; }
.no-js .art .a-layer { opacity: 1; }
