/* entaura.ai site styles: light theme. Home-only rules live in home.css. */

/* Goga, the entaura.ai logo typeface. It only has letters, digits and basic punctuation,
   so anything else (: ; / & @ ( ) quotes, arrows) falls back to Inter. */
@font-face {
  font-family: "Goga Test";
  src: url("/assets/fonts/GogaTest-Light-BF6646d5d84c8a2.otf") format("opentype");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Goga Test";
  src: url("/assets/fonts/GogaTest-Regular-BF6646d5d84f69b.otf") format("opentype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Goga Test";
  src: url("/assets/fonts/GogaTest-Medium-BF6646d5d84754e.otf") format("opentype");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Goga Test";
  src: url("/assets/fonts/GogaTest-Semibold-BF6646d5d8544cf.otf") format("opentype");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Goga Test";
  src: url("/assets/fonts/GogaTest-Bold-BF6646d5d83c978.otf") format("opentype");
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #ffffff;
  --soft: #f7f7f5;
  --card: #f3f3f1;
  --line: #e8e8e5;
  --line-strong: #d6d6d2;
  --text: #0b0b0b;
  --body: #565656;
  --faint: #8c8c88;
  --ask: #1f9c86;
  --ask-tint: #e2f6f1;
  --insight: #3567d8;
  --insight-tint: #e6eeff;
  --watch: #8457d4;
  --watch-tint: #f0e9ff;
  --peach: #e9795b;
  --peach-tint: #fff0ea;
  --display: "Goga Test", "Inter Tight", Inter, ui-sans-serif, system-ui, sans-serif;
  --sans: "Goga Test", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: #cfe0ff; color: var(--text); }
:focus-visible { outline: 2px solid var(--insight); outline-offset: 2px; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; color: var(--text); }

.container { width: min(1200px, calc(100% - 48px)); margin: auto; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--faint);
}

/* Second heading lines used to be gradient text; they are now a quiet grey. */
.gradient-text { color: var(--faint); }

/* ---------- Gradient orb ---------- */

.orb {
  position: relative;
  display: block;
  border-radius: 50%;
  overflow: hidden;
  isolation: isolate;
  background: #dfe9ff;
  box-shadow: inset 0 -12px 30px rgba(255, 255, 255, .55), inset 0 10px 24px rgba(40, 60, 120, .08);
}
.orb::before {
  content: "";
  position: absolute;
  inset: -25%;
  z-index: -1;
  background: conic-gradient(from 210deg, #8fb4f7, #8fdce6, #bfe8a8, #f7dc9a, #f8bca8, #e9b0dc, #c3a6f3, #8fb4f7);
  filter: blur(var(--orb-blur, 14px));
  animation: orb-spin 18s linear infinite;
}
/* entaura.ai's variation: logo colours, plus a faint halo line inside the rim. */
.orb::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 42%),
    radial-gradient(circle, transparent 69%, rgba(255, 255, 255, .9) 71.5%, transparent 74%);
}
/* Small orbs need a tighter blur or their colours wash out to grey. */
.orb.small { --orb-blur: 3px; }
.orb.small::after { background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .8), rgba(255, 255, 255, 0) 38%); }
.orb.ask::before { background: conic-gradient(from 200deg, #8fb4f7, #8fdce6, #a9d8fb, #8fb4f7); }
.orb.insight::before { background: conic-gradient(from 200deg, #8fdce6, #bfe8a8, #f7dc9a, #8fdce6); }
.orb.watch::before { background: conic-gradient(from 200deg, #f8bca8, #e9b0dc, #c3a6f3, #f8bca8); }
/* The original pastel sphere, kept for the home hero. */
.orb.classic::before { background: conic-gradient(from 210deg, #9cc8ff, #a8eadf, #d6c2ff, #ffc9b8, #ffe6a8, #9cc8ff); }
.orb.classic::after { background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 42%); }
@keyframes orb-spin { to { transform: rotate(360deg); } }

/* ---------- Product wordmark (components/ProductMark.jsx) ---------- */

.pmark {
  --pm: 27px; --pm-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.4' numOctaves='1' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 2.4 -1.3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  display: inline-flex; align-items: baseline; gap: .26em; height: var(--pm); line-height: var(--pm); vertical-align: middle; white-space: nowrap; user-select: none;
  font-family: var(--sans); font-size: calc(var(--pm) * .8); font-weight: 400; letter-spacing: -.015em; text-transform: none; color: #0b0b0b;
}
.pmark b {
  font-weight: 500; letter-spacing: -.015em; padding-right: .04em;
  background: var(--pm-grain) 0 0 / 120px 120px, linear-gradient(100deg, var(--pm-a), var(--pm-b));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pmark.pmark-inline { display: inline; height: auto; line-height: inherit; font: inherit; letter-spacing: inherit; vertical-align: baseline; color: inherit; }
.pmark.pmark-inline b { font-weight: inherit; letter-spacing: inherit; }
.pr-name {
  font-size: 22px; font-weight: 500; letter-spacing: -.015em;
  background: var(--pm-grain) 0 0 / 120px 120px, linear-gradient(100deg, var(--pm-a), var(--pm-b));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pr-name { --pm-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.4' numOctaves='1' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 2.4 -1.3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"); }
.pm-ask { --pm-a: #1f9c86; --pm-b: #3d8ef0; }
.pm-insight { --pm-a: #2fa84f; --pm-b: #c9a227; }
.pm-watch { --pm-a: #8457d4; --pm-b: #e46a8c; }
.pm-actions { --pm-a: #c2385a; --pm-b: #f0857a; }
.pmark-sm { --pm: 20px; }
.pmark-lg { --pm: 36px; }

/* ---------- Header ---------- */

.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.topbar:not(.at-top) { border-bottom-color: #efeeea; }
.nav { position: relative; height: 76px; display: flex; align-items: center; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--sans); font-size: 28px; font-weight: 400; letter-spacing: -.02em; color: #0b0b0b; }
.brand img { display: block; width: auto; height: 30px; }
@media (max-width: 560px) { .brand img { height: 26px; } }
/* Links sit on the right, next to the demo button. */
.navlinks { display: flex; gap: 6px; align-items: center; margin-left: auto; color: #0b0b0b; font-size: 15px; font-weight: 400; white-space: nowrap; }
.navlinks > a, .nav-dropdown-trigger { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 999px; transition: background .2s; }
.navlinks > a:hover, .nav-dropdown-trigger:hover, .nav-dropdown.open .nav-dropdown-trigger, .products-dropdown:hover .nav-dropdown-trigger { background: #f2f1ee; color: #0b0b0b; }
.navlinks > a[aria-current="page"] { background: #f2f1ee; }
@media (min-width: 851px) and (max-width: 1180px) { .navlinks { gap: 0; font-size: 14px; } .navlinks > a, .nav-dropdown-trigger { padding: 0 10px; } .nav { gap: 12px; } }
/* Just above the menu breakpoint, tighten the pills so Try and Request a demo fit. */
@media (min-width: 851px) and (max-width: 960px) { .navlinks > a, .nav-dropdown-trigger { padding: 0 8px; } .nav { gap: 8px; } .nav .navtry { margin-right: 0; padding: 0 12px; } .nav .navcta { padding: 0 14px; } }
.navcta { white-space: nowrap; }
.footer a:hover { color: var(--text); }
.navlinks .nav-try { display: none; }
.navlinks .nav-try:hover { color: #fff; }
.menu-button { display: none; min-width: 44px; height: 44px; margin-right: -8px; background: none; border: 0; color: var(--text); font-size: 22px; cursor: pointer; }

/* Products menu: three picture cards in a wide panel under the header. */
.nav-dropdown { position: relative; }
.products-dropdown { position: static; }
.nav-dropdown-trigger { border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.nav-chev { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.products-dropdown:hover .nav-chev, .nav-dropdown.open .nav-chev { transform: rotate(180deg); }
.nav-mega {
  position: absolute; z-index: 30; top: 66px; right: 0; width: min(1080px, 100%);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 16px 16px 22px;
  border: 1px solid #ecebe7; border-radius: 20px; background: #fff;
  box-shadow: 0 30px 60px -28px rgba(20, 20, 40, .25), 0 2px 8px rgba(20, 20, 40, .04);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .22s, transform .22s, visibility .22s;
  white-space: normal; text-align: left;
}
/* An invisible bridge so the pointer can travel from the trigger to the panel. */
.nav-mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.products-dropdown:hover .nav-mega, .products-dropdown:focus-within .nav-mega, .products-dropdown.open .nav-mega { opacity: 1; visibility: visible; transform: none; }
.mega-card { display: flex; flex-direction: column; gap: 4px; color: #0b0b0b; }
.mega-card strong { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 15px; font-weight: 500; }
.mega-card .pmark { --pm: 18px; font-family: inherit; font-weight: 500; letter-spacing: 0; }
.mega-card strong i { font-style: normal; transition: transform .2s; }
.mega-card:hover strong i { transform: translateX(3px); }
.mega-card small { font-size: 14px; line-height: 1.45; color: #7a7a76; }

.mega-art {
  position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center;
  aspect-ratio: 1.62; border-radius: 10px; background-size: 170% 170%; transition: background-position 1.2s ease;
}
.mega-card:hover .mega-art { background-position: 100% 100%; }
.mega-art::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55; mix-blend-mode: screen;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 2.2 -1.15'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.art-ask { background-color: #f6e7c4; background-image: radial-gradient(22% 70% at 68% 50%, #3d8ef0 0%, transparent 70%), radial-gradient(40% 60% at 10% 30%, #f7ecd2 0%, transparent 70%), radial-gradient(35% 60% at 92% 70%, #f2c46d 0%, transparent 70%), radial-gradient(40% 60% at 30% 90%, #f0cf8a 0%, transparent 70%); }
.art-insight { background-color: #c9f0d7; background-image: radial-gradient(40% 55% at 20% 30%, #2fc463 0%, transparent 70%), radial-gradient(40% 60% at 80% 75%, #36c97a 0%, transparent 72%), radial-gradient(50% 60% at 60% 20%, #e9fbef 0%, transparent 70%); }
.art-actions { background-color: #fbdfe4; background-image: radial-gradient(35% 55% at 22% 30%, #ee8aa2 0%, transparent 70%), radial-gradient(40% 60% at 82% 78%, #f6a9a0 0%, transparent 72%), radial-gradient(50% 60% at 55% 40%, #fff2f3 0%, transparent 70%); }
.art-watch { background-color: #fbe3cb; background-image: radial-gradient(35% 55% at 85% 30%, #f5a466 0%, transparent 70%), radial-gradient(40% 60% at 20% 80%, #f7b884 0%, transparent 72%), radial-gradient(50% 60% at 45% 40%, #fff4ea 0%, transparent 70%); }

.mega-ui { display: flex; flex-direction: column; gap: 7px; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .94); box-shadow: 0 10px 24px -12px rgba(40, 30, 10, .35); font-size: 11.5px; color: #0b0b0b; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.mega-card:hover .mega-ui { transform: translateY(-3px) scale(1.03); }
.mega-ui.chat { width: 74%; align-items: flex-start; }
.mega-who { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.mega-who img { width: 18px; height: auto; }
.mega-bubble { align-self: center; padding: 5px 10px; border-radius: 999px; background: #f0efeb; }
.mega-cite { padding: 3px 9px; border-radius: 999px; background: #e8eeff; color: #1f45b8; font-weight: 600; font-size: 10.5px; }
.mega-ui.window { position: relative; width: 78%; }
.mega-dots { display: flex; gap: 3px; }
.mega-dots i { width: 5px; height: 5px; border-radius: 50%; background: #e2e1dc; }
.mega-lines { display: grid; gap: 4px; width: 50%; }
.mega-lines i { height: 4px; border-radius: 3px; background: #ecebe6; }
.mega-lines i:first-child { width: 70%; height: 5px; background: #0b0b0b; }
.mega-bars { display: flex; align-items: flex-end; gap: 6px; height: 40px; margin-left: 30%; }
.mega-bars i { flex: 1; border-radius: 3px 3px 0 0; background: #f0efeb; }
.mega-bars i:nth-child(1) { height: 35%; } .mega-bars i:nth-child(2) { height: 55%; } .mega-bars i:nth-child(3) { height: 45%; } .mega-bars i:nth-child(4) { height: 75%; }
.mega-bars i.top { height: 100%; background: #16a34a; }
.mega-tag { position: absolute; left: 30%; bottom: 14px; padding: 2px 8px; border-radius: 999px; background: #0b0b0b; color: #fff; font-size: 10px; }
@media (min-width: 851px) and (max-width: 1100px) { .mega-art { aspect-ratio: 1.25; } .mega-card strong { gap: 6px; } .mega-card strong i { display: none; } }
.mega-ui.approve { flex-direction: row; align-items: center; justify-content: space-between; width: 84%; }
.mega-ui.approve > span:first-child { display: flex; flex-direction: column; line-height: 1.3; }
.mega-ui.approve b { font-weight: 600; }
.mega-ui.approve small { font-size: 10.5px; color: #7a7a76; }
.mega-yes { flex: none; padding: 4px 9px; border-radius: 999px; background: #0b0b0b; color: #fff; font-size: 10.5px; }
.mega-ui.note { flex-direction: row; align-items: center; gap: 9px; width: 76%; }
.mega-ui.note img { border-radius: 5px; }
.mega-ui.note span { display: flex; flex-direction: column; line-height: 1.3; }
.mega-ui.note b { font-weight: 600; }
.mega-ui.note small { font-size: 10.5px; color: #7a7a76; }
.solutions-dropdown .nav-mega { display: none !important; }

/* Customer portal sign-in, across the bottom of the Products menu. */
.navlinks > .nav-login { display: none; }
.mega-portal { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; margin-top: 2px; padding: 12px 12px 12px 14px; border-radius: 14px; background: #f7f6f3; color: #0b0b0b; transition: background .2s; }
.mega-portal:hover { background: #efeee9; }
.mega-portal-ic { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border: 1px solid #e7e6e2; border-radius: 11px; background: #fff; }
.mega-portal-ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mega-portal-text { display: flex; flex: 1; flex-direction: column; min-width: 0; line-height: 1.3; }
.mega-portal-text small { color: #7a7a76; font-size: 13px; }
.mega-portal-text b { font-size: 15px; font-weight: 500; }
.mega-portal em { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 16px; border-radius: 999px; background: #0b0b0b; color: #fff; font-size: 14px; font-style: normal; font-weight: 500; transition: background .2s; }
.mega-portal:hover em { background: #2a2a2a; }
.mega-portal em span { transition: transform .2s; }
.mega-portal:hover em span { transform: translate(2px, -2px); }

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--text);
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.button.primary { background: var(--text); border-color: var(--text); color: #fff; }
.button.primary:hover { background: #2b2b2b; }
.button.ghost:hover { background: var(--soft); border-color: var(--faint); }
.navcta { height: 42px; padding: 0 20px; border-radius: 999px; font-size: 15px; font-weight: 500; }
/* Try entaura in the header: a light pill beside Request a demo. */
.navtry { height: 42px; gap: 8px; margin-right: 8px; padding: 0 18px; border-radius: 999px; border-color: transparent; background: #ecebe8; color: var(--text); font-size: 15px; font-weight: 500; white-space: nowrap; }
.navtry:hover { background: #e2e1dd; }
.navtry svg { width: 14px; height: 14px; fill: currentColor; }

/* Desktop header: plain text links with no pills, Try as a quiet text link with its sparkle,
   and Request a demo as the only filled button. */
@media (min-width: 851px) {
  .navlinks { gap: 4px; color: #3a3a38; font-weight: 500; }
  .navlinks > a, .nav-dropdown-trigger { height: 40px; padding: 0 12px; color: #3a3a38; transition: color .2s; }
  .navlinks > a:hover, .nav-dropdown-trigger:hover, .nav-dropdown.open .nav-dropdown-trigger, .products-dropdown:hover .nav-dropdown-trigger,
  .navlinks > a[aria-current="page"] { background: none; color: #0b0b0b; }

  .navtry { margin-right: 4px; padding: 0 12px; background: none; color: #3a3a38; font-weight: 500; transition: color .2s; }
  .navtry:hover, .navtry[aria-current="page"] { background: none; color: #0b0b0b; }
  .navtry svg { transition: transform .3s; }
  .navtry:hover svg { transform: rotate(18deg) scale(1.12); }

  .navcta { height: 40px; padding: 0 18px; font-weight: 500; }
}
/* Once a product is picked the menu stays shut until the pointer leaves it. */
.products-dropdown.hushed .nav-mega { opacity: 0; visibility: hidden; transform: translateY(8px); }
.products-dropdown.hushed .nav-chev { transform: none; }

/* ---------- Sections ---------- */

.section { padding: 120px 0; }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.05; letter-spacing: -.04em; margin: 16px 0 0; }
.section-head p { color: var(--body); font-size: 18px; max-width: 640px; margin: 20px 0 0; }

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 120px 0 96px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(60% 80% at 85% 10%, #eef3ff, transparent 70%), radial-gradient(40% 60% at 10% 100%, #f1fbf8, transparent 70%);
}
.page-hero h1 { font-size: clamp(50px, 7.4vw, 96px); letter-spacing: -.05em; line-height: .98; max-width: 900px; margin: 22px 0 26px; }
.page-hero p { font-size: 20px; color: var(--body); max-width: 680px; margin: 0; }
.solutions-hero { background: radial-gradient(55% 80% at 90% 0%, #f2ecff, transparent 70%), radial-gradient(45% 60% at 0% 100%, #eaf3ff, transparent 70%); }

/* ---------- Product pages ---------- */

.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.detail-grid h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.05; letter-spacing: -.04em; margin: 16px 0 22px; }
.detail-grid p { color: var(--body); font-size: 17px; }

.contact-strip { padding: 110px 0; text-align: center; background: var(--soft); border-top: 1px solid var(--line); }
.contact-strip h2 { font-size: clamp(34px, 4.4vw, 52px); letter-spacing: -.04em; line-height: 1.05; margin: 0 0 16px; }
.contact-strip p { color: var(--body); font-size: 18px; margin: 0 auto 30px; max-width: 600px; }
.contact-strip-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* ---------- Solutions ---------- */

.problem-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.problem-card { padding: 30px; border-radius: 22px; background: var(--card); }
.problem-card span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #fff; font-size: 18px; color: var(--text); }
.problem-card span .int-icon, .solution-icon .int-icon { color: var(--text); }
.problem-card h3 { margin: 22px 0 8px; font-size: 22px; letter-spacing: -.02em; }
.problem-card p { color: var(--body); font-size: 15px; margin: 0; }

.industry-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.industry-card { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: #fff; transition: border-color .2s; }
.industry-card:hover { border-color: var(--line-strong); }
.industry-card header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.industry-card header span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--card); color: var(--text); }
.industry-card header span .int-icon { color: inherit; }
.industry-card header small { padding: 4px 10px; border-radius: 999px; background: var(--ask-tint); color: #146e5e; font-size: 12px; font-weight: 600; }
.industry-card h3 { font-size: 22px; letter-spacing: -.02em; margin: 0 0 8px; }
.industry-card p { color: var(--body); font-size: 15px; margin: 0 0 16px; }
.industry-card ul { list-style: none; margin: auto 0 0; padding: 0; }
.industry-card li { border-top: 1px solid var(--line); }
.industry-card li a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; font-size: 15px; color: var(--text); transition: color .2s; }
.industry-card li a span { color: var(--faint); }
.industry-card li a:hover { color: var(--body); }

.solution-detail { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.solution-detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.solution-detail-grid article { padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.solution-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--card); font-size: 18px; }
.solution-detail-grid h3 { font-size: 26px; letter-spacing: -.03em; margin: 22px 0 10px; }
.solution-detail-grid p { color: var(--body); font-size: 15px; }
.solution-detail-grid p strong { color: var(--text); font-weight: 600; }
.solution-detail-grid ul { padding: 0; list-style: none; font-size: 14px; }
.solution-detail-grid li { padding: 9px 0; border-bottom: 1px solid var(--line); }
.solution-detail-grid li::before { content: "✓"; color: var(--ask); margin-right: 10px; font-weight: 700; }
.solution-detail-grid a { display: inline-block; margin-top: 16px; font-weight: 600; font-size: 14px; border-bottom: 1px solid currentColor; }

/* ---------- Contact ---------- */

.contact-section { padding: 120px 0; }
.contact-layout { max-width: 860px; margin: 0 auto; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: #fff; min-width: 0; }
.contact-form label { display: grid; gap: 8px; color: var(--text); font-size: 13px; font-weight: 500; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  outline: 0;
  resize: vertical;
  transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--text); box-shadow: 0 0 0 3px rgba(11, 11, 11, .06); }
.contact-form .full { grid-column: 1 / -1; }
.contact-form .button { justify-self: start; }
.contact-form .button:disabled { opacity: .6; cursor: progress; }
.contact-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-error { margin: 0; padding: 12px 14px; border-radius: 12px; background: #fdf0ee; color: #9b3a2e; font-size: 14px; }
.contact-error a { color: inherit; font-weight: 600; text-decoration: underline; }
.contact-sent { grid-template-columns: 1fr; justify-items: center; gap: 10px; padding: 56px 30px; text-align: center; animation: int-fade .4s ease both; }
.contact-sent i { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 6px; border-radius: 50%; background: #e3f6ec; color: #13804b; }
.contact-sent i .int-icon { width: 26px; height: 26px; color: inherit; }
.contact-sent h3 { margin: 0; font-size: 26px; letter-spacing: -.03em; }
.contact-sent p { margin: 0 0 10px; color: var(--body); }
.contact-sent .button { justify-self: center; }
.contact-or { display: flex; align-items: center; gap: 14px; margin: 32px 0 14px; color: var(--faint); font-size: 13.5px; }
.contact-or::before, .contact-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.contact-direct { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-direct a { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; min-width: 0; transition: border-color .2s, transform .2s; }
.contact-direct a:hover { border-color: var(--text); transform: translateY(-1px); }
.contact-direct .int-icon { flex: none; width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--card); color: var(--text); }
.contact-direct span { display: grid; gap: 2px; min-width: 0; }
.contact-direct small { color: var(--faint); font-size: 12.5px; }
.contact-direct strong { font-size: 16.5px; font-weight: 600; overflow-wrap: anywhere; }
.contact-direct em { color: var(--body); font-size: 13px; font-style: normal; }

/* ---------- Footer ---------- */

.footer { overflow: hidden; padding: 72px 0 32px; border-top: 1px solid #efeeea; background: #fff; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr); gap: 48px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.footer-tag { max-width: 340px; margin: 0; font-family: var(--sans); font-size: 24px; line-height: 1.25; letter-spacing: -.015em; color: #0b0b0b; }
.footer-contact { display: flex; flex-direction: column; gap: 4px; font-size: 14.5px; }
.footer-contact a { color: #0b0b0b; padding: 4px 0; }
.footer-contact a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-cta { display: inline-flex; align-items: center; height: 42px; margin-top: 4px; padding: 0 20px; border-radius: 999px; background: #0b0b0b; color: #fff; font-size: 15px; font-weight: 500; }
.footer .footer-cta:hover { background: #2a2a2a; color: #fff; }
.footer-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.footer-actions .footer-cta { margin-top: 0; }
.footer-login { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 20px; border: 1px solid #d9d7d2; border-radius: 999px; background: #fff; color: #0b0b0b; font-size: 15px; font-weight: 500; transition: border-color .2s, background .2s; }
.footer .footer-login:hover { border-color: #0b0b0b; background: #f2f1ee; color: #0b0b0b; }
.footer-login span[aria-hidden] { font-size: 13px; transition: transform .2s; }
.footer-login:hover span[aria-hidden] { transform: translate(2px, -2px); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.footer-cols { display: grid; grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
.footer-cols h2 { margin: 0 0 16px; font-family: var(--sans); font-size: 13px; font-weight: 500; color: #8a8a85; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-cols a { font-size: 15px; color: #0b0b0b; transition: color .2s; }
.footer-cols a:hover { color: #6b6b66; }
/* A large wordmark that fades into the page, in the logo's typeface
   (Plus Jakarta Sans is the closest match to the entaura.ai wordmark). */
.footer-word {
  margin: 56px 0 8px; font-family: "Goga Test", "Plus Jakarta Sans", Inter, system-ui, sans-serif; font-weight: 400; font-size: clamp(64px, 15vw, 220px); line-height: 1; letter-spacing: -.035em; text-align: center; white-space: nowrap;
  background: linear-gradient(180deg, #e9e8e4 10%, rgba(233, 232, 228, 0)); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none;
}
.legal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; padding-top: 22px; border-top: 1px solid #efeeea; color: #8a8a85; font-size: 13px; }
.legal span { margin-right: auto; }
.legal a:hover { color: var(--text); }
.footer-powered { color: #8a8a85; }

/* Page not found */
.nf-links .container { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 900px; }
.nf-links a { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 20px 22px; border-radius: 18px; border: 1px solid var(--line); background: #fff; transition: border-color .2s; }
.nf-links a:hover { border-color: var(--text); }
.nf-links strong { font-size: 17px; font-weight: 600; }
.nf-links span { grid-column: 1; color: var(--body); font-size: 14.5px; }
.nf-links i { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-style: normal; color: var(--faint); }
@media (max-width: 640px) { .nf-links .container { grid-template-columns: 1fr; } }

/* ---------- Responsive ---------- */

@media (max-width: 850px) {
  .navlinks { display: none; }
  .navlinks.open {
    display: flex;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    padding: 12px 24px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    background: #fff;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }
  .navlinks.open > a { padding: 10px 0; }
  .navlinks.open > .nav-try { display: inline-flex; margin-top: 12px; padding: 12px 22px; }
  .navlinks.open .nav-dropdown { display: block; width: 100%; }
  .navlinks.open .nav-dropdown-trigger { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 10px 0; text-align: left; }
  .nav-mega { position: static; width: auto; display: none; transform: none; opacity: 1; visibility: visible; box-shadow: none; }
  .navlinks.open .nav-dropdown.open .nav-mega { display: grid; grid-template-columns: 1fr; gap: 14px; transform: none; margin: 0 0 8px; padding: 12px; background: #faf9f7; border: 0; }
  .nav { position: static; }
  .menu-button { margin-left: auto; }
  .navlinks.open > a:not(.nav-try), .navlinks.open .nav-dropdown-trigger { height: auto; padding: 10px 0; border-radius: 0; background: none; }
  .navlinks.open > .nav-login { display: inline-flex; gap: 6px; }
  .navlinks.open .mega-portal { display: none; }
  .mega-art { display: none; }
  .mega-card strong { margin-top: 0; }
  .menu-button { display: block; }
  .navcta, .navtry { display: none; }

  .detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .problem-grid { grid-template-columns: 1fr 1fr; }
  .industry-grid { grid-template-columns: 1fr; }
  .solution-detail-grid { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form .full { grid-column: auto; }
  .contact-direct { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 32px, 1200px); }
  .section { padding: 80px 0; }
  .page-hero { padding: 80px 0 64px; }
  .page-hero h1 { font-size: clamp(42px, 12vw, 64px); }
  .page-hero p { font-size: 17px; }
  .industry-grid, .problem-grid { grid-template-columns: 1fr; }
  .contact-section { padding: 80px 0; }
  .contact-form { padding: 22px; }
  .connector-column.left, .connector-column.right { justify-items: center; }
  .connector-column.left { grid-row: 2; }
  .connector-column.right { grid-row: 3; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orb::before { animation: none; }
}

/* ---------- Integration page ---------- */

.int-soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.int-faq-section { border-top: 1px solid var(--line); }
.int-icon { flex: none; width: 20px; height: 20px; color: var(--body); }

/* At a glance: your systems → entaura → your team */
.int-glance-section { padding: 72px 0 96px; }
.int-glance { display: grid; grid-template-columns: 1fr minmax(80px, .7fr) auto minmax(80px, .7fr) 1fr; align-items: center; }
.int-node { padding: 22px 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 40px -32px rgba(0, 0, 0, .3); }
.int-node strong { display: block; margin-bottom: 12px; font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.int-node ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.int-node li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.int-link { position: relative; height: 1px; margin: 0 10px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 5px, transparent 5px 10px); }
.int-link span { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); padding: 3px 10px; border-radius: 999px; background: var(--card); font-family: var(--mono); font-size: 11px; color: var(--body); white-space: nowrap; }
.int-link i { position: absolute; top: -3px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--text); opacity: 0; }
.int-glance.in .int-link i { animation: int-travel 2.6s ease-in-out infinite; }
.int-glance.in .int-link:nth-of-type(4) i { animation-delay: 1.3s; }
@keyframes int-travel { 0% { left: 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { left: calc(100% - 7px); opacity: 0; } }
.int-core { display: grid; justify-items: center; gap: 4px; text-align: center; }
.int-core-mark { display: grid; place-items: center; width: 112px; height: 112px; margin-bottom: 8px; border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: 0 0 0 10px rgba(255, 255, 255, .7), 0 0 0 11px var(--line), 0 24px 50px -30px rgba(40, 60, 140, .45); }
.int-core-mark img { width: 52px; height: 32px; object-fit: contain; }
.int-core strong { font-family: var(--display); font-weight: 500; font-size: 20px; letter-spacing: -.02em; }
.int-core small { font-family: var(--mono); font-size: 11px; color: var(--faint); }
.int-caption { margin: 40px 0 0; text-align: center; color: var(--body); font-size: 15px; }

/* Start small: the pilot entry point above the rollout */
.int-pilot { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; margin: -16px 0 48px; padding: 22px 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.int-pilot .int-step { margin: 0; }
.int-pilot h3 { margin: 0 0 4px; font-size: 19px; letter-spacing: -.02em; }
.int-pilot p { margin: 0; color: var(--body); font-size: 15px; }

/* How it works: five plain-language steps on a filling track */
.int-phases { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.int-phases::before, .int-phases::after { content: ""; position: absolute; top: 21px; left: 22px; right: 22px; height: 1px; background: var(--line-strong); }
.int-phases::after { background: var(--text); transform: scaleX(0); transform-origin: left; transition: transform 1.6s cubic-bezier(.3, .7, .2, 1) .2s; }
.int-phases.in::after { transform: scaleX(1); }
.int-phases li { position: relative; z-index: 1; display: grid; justify-items: start; align-content: start; gap: 6px; opacity: .35; transition: opacity .5s ease var(--d, 0ms); }
.int-phases.in li { opacity: 1; }
.int-step { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 10px; border-radius: 50%; background: #fff; border: 1px solid var(--line-strong); }
.int-step .int-icon { color: var(--text); }
.int-phases small { font-family: var(--mono); font-size: 11px; color: var(--faint); letter-spacing: .06em; }
.int-phases h3 { margin: 0; font-size: 18px; line-height: 1.25; letter-spacing: -.02em; }
.int-phases p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--body); }
.int-phases em { margin-top: 6px; padding: 3px 9px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--body); }

/* What we provide · what you bring */
.int-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.int-split article { padding: 28px 30px 18px; border-radius: 24px; background: var(--card); }
.int-items { list-style: none; margin: 16px 0 0; padding: 0; }
.int-items li { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line-strong); }
.int-items li .int-icon { margin-top: 1px; color: var(--text); }
.int-items div { display: grid; gap: 2px; }
.int-items strong { font-size: 15.5px; font-weight: 500; }
.int-items small { font-size: 13.5px; color: var(--faint); }
.int-note { margin: 36px 0 0; font-family: var(--display); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.25; letter-spacing: -.03em; max-width: 820px; }
.int-note span { color: var(--faint); }

/* Deployment: toggle + where it lives */
.int-deploy { padding: 10px; border-radius: 28px; background: #fff; border: 1px solid var(--line); }
.int-toggle { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: var(--card); }
.int-toggle i { position: absolute; top: 4px; bottom: 4px; left: calc(4px + var(--i) * (50% - 4px)); width: calc(50% - 4px); border-radius: 999px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 6px 16px -10px rgba(0, 0, 0, .25); transition: left .45s cubic-bezier(.3, .8, .2, 1); }
.int-toggle button { position: relative; z-index: 1; border: 0; background: none; padding: 12px 10px; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 500; color: var(--faint); cursor: pointer; transition: color .3s; }
.int-toggle button[aria-pressed="true"] { color: var(--text); }
.int-deploy-body { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; padding: 28px 22px 22px; animation: int-fade .45s ease both; }
@keyframes int-fade { from { opacity: 0; transform: translateY(6px); } }
.int-place { position: relative; padding: 44px 22px 22px; border-radius: 20px; border: 1.5px dashed var(--line-strong); }
.int-place > span { position: absolute; top: 12px; left: 16px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--body); }
.int-place > div { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.int-place b { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 18px 12px; border-radius: 14px; background: var(--soft); border: 1px solid var(--line); font-weight: 500; font-size: 14.5px; }
.int-place b img { width: 30px; height: 19px; object-fit: contain; }
.int-place.hosted { border-color: var(--text); }
.int-facts dl { margin: 0; }
.int-facts dl div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.int-facts dt { color: var(--faint); }
.int-facts dd { margin: 0; }
.int-facts p { margin: 16px 0 0; font-size: 14.5px; color: var(--body); }
.int-facts p b { color: var(--text); font-weight: 600; margin-right: 4px; }

/* Security */
.int-security { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 24px; }
.int-security div { display: grid; gap: 4px; padding: 22px 0; border-top: 1px solid var(--line); }
.int-security .int-icon { margin-bottom: 8px; color: var(--text); }
.int-security h3 { margin: 0; font-size: 16.5px; letter-spacing: -.01em; }
.int-security p { margin: 0; font-size: 14px; color: var(--body); }

/* FAQ */
.int-faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.int-faq { border-top: 1px solid var(--line-strong); }
.int-faq details { border-bottom: 1px solid var(--line); }
.int-faq summary { position: relative; list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-size: 17px; font-weight: 500; }
.int-faq summary::-webkit-details-marker { display: none; }
.int-faq summary i { position: absolute; right: 4px; top: 50%; width: 14px; height: 14px; transform: translateY(-50%); }
.int-faq summary i::before, .int-faq summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .3s; }
.int-faq summary i::after { transform: rotate(90deg); }
.int-faq details[open] summary i::after { transform: rotate(0deg); }
.int-faq details p { margin: 0; padding: 0 40px 22px 0; color: var(--body); font-size: 15.5px; line-height: 1.6; animation: int-open .3s ease both; }
@keyframes int-open { from { opacity: 0; transform: translateY(-4px); } }

/* Hero facts and the sticky section nav */
.int-facts-strip { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 0; padding: 0; }
.int-facts-strip li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .8); border: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.int-facts-strip .int-icon { width: 16px; height: 16px; color: var(--text); }
.int-nav { position: sticky; top: 68px; z-index: 15; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
.int-nav .container { position: relative; display: flex; gap: 4px; padding: 10px 0; overflow-x: auto; scrollbar-width: none; }
.int-nav .container::-webkit-scrollbar { display: none; }
.int-nav a { flex: none; padding: 7px 14px; border-radius: 999px; font-size: 14px; color: var(--body); transition: background .2s, color .2s; }
.int-nav a:hover { color: var(--text); background: var(--soft); }
.int-nav a.on { background: var(--text); color: #fff; }
.int section[id], .pp section[id] { scroll-margin-top: 130px; }

/* Connector directory */
.int-dir { padding: 10px; border-radius: 28px; background: #fff; border: 1px solid var(--line); }
.int-dir-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; padding: 6px 6px 0; }
.int-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 108px; padding: 16px 10px; border-radius: 18px; border: 1px solid var(--line); background: var(--soft); color: var(--text); font: inherit; font-size: 13.5px; font-weight: 500; text-align: center; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; animation: int-fade .35s ease both; }
.int-tile:hover { background: #fff; border-color: var(--line-strong); transform: translateY(-2px); }
.int-tile.on { background: #fff; border-color: var(--text); }
.int-tile img { width: 32px; height: 32px; object-fit: contain; }
.int-tile b { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--body); }
.int-tile.more { border-style: dashed; background: #fff; color: var(--body); cursor: default; }
.int-tile.more:hover { transform: none; border-color: var(--line); }
.int-tile.more b { border-style: dashed; font-size: 18px; font-weight: 500; }
.int-tile b .int-icon, .int-dir-detail b .int-icon { width: 18px; height: 18px; color: var(--text); }
.int-dir-detail > strong b { display: grid; place-items: center; border-radius: 8px; background: #fff; border: 1px solid var(--line); }
.int-dir-detail { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; margin: 10px 6px 0; padding: 18px 20px; border-radius: 18px; background: var(--soft); border: 1px solid var(--line); animation: int-fade .35s ease both; }
.int-dir-detail > strong { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; }
.int-dir-detail > strong img, .int-dir-detail > strong b { width: 26px; height: 26px; }
.int-dir-detail dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; }
.int-dir-detail dt { margin-bottom: 2px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.int-dir-detail dd { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; font-size: 14.5px; }
.int-dir-detail .pmark { --pm: 15px; }
.int-dir-foot a { color: var(--text); font-weight: 600; }
.int-dir-foot { margin: 16px 6px 6px; color: var(--body); font-size: 14.5px; }

/* How each source connects */
.int-guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.int-guides article { display: flex; flex-direction: column; padding: 26px; border-radius: 24px; background: #fff; border: 1px solid var(--line); }
.int-guides header { display: flex; gap: 14px; align-items: center; }
.int-guides header .int-step { flex: none; margin: 0; }
.int-guides h3 { margin: 0; font-size: 20px; letter-spacing: -.02em; }
.int-guides header p { margin: 2px 0 0; color: var(--body); font-size: 14px; }
.int-guides ol { list-style: none; counter-reset: guide; margin: 22px 0; padding: 0; display: grid; gap: 10px; }
.int-guides li { counter-increment: guide; display: flex; align-items: flex-start; gap: 12px; font-size: 15px; }
.int-guides li::before { content: counter(guide); flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--card); font-family: var(--mono); font-size: 11px; color: var(--text); }
.int-guides dl { display: grid; gap: 12px; margin: auto 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.int-guides dt { margin-bottom: 2px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #13804b; }
.int-guides .never dt { color: #b4413a; }
.int-guides dd { margin: 0; color: var(--body); font-size: 14px; line-height: 1.55; }

/* Into your apps */

/* Checklist */
.int-check-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.int-check { padding: 22px; border-radius: 24px; background: #fff; border: 1px solid var(--line); }
.int-check-head { display: flex; align-items: center; gap: 16px; margin-bottom: 10px; }
.int-check-head strong { flex: none; font-size: 15px; font-variant-numeric: tabular-nums; }
.int-check-bar { flex: 1; height: 6px; border-radius: 999px; background: var(--card); overflow: hidden; }
.int-check-bar i { display: block; height: 100%; border-radius: inherit; background: #1fa864; transition: width .4s ease; }
.int-check ul { list-style: none; margin: 0; padding: 0; }
.int-check li + li { border-top: 1px solid var(--line); }
.int-check label { display: flex; align-items: flex-start; gap: 14px; padding: 14px 4px; cursor: pointer; }
.int-check input { position: absolute; opacity: 0; pointer-events: none; }
.int-check label i { flex: none; display: grid; place-items: center; width: 22px; height: 22px; margin-top: 1px; border-radius: 7px; border: 1.5px solid var(--line-strong); color: transparent; transition: background .2s, border-color .2s, color .2s; }
.int-check label i .int-icon { width: 16px; height: 16px; color: inherit; }
.int-check label.on i { background: #1fa864; border-color: #1fa864; color: #fff; }
.int-check input:focus-visible + i { outline: 2px solid var(--insight); outline-offset: 2px; }
.int-check label span { display: grid; gap: 2px; }
.int-check label strong { font-size: 15.5px; font-weight: 500; }
.int-check label.on strong { text-decoration: line-through; text-decoration-color: var(--faint); color: var(--body); }
.int-check label small { color: var(--faint); font-size: 13.5px; }
.int-check > p { margin: 10px 4px 0; color: var(--body); font-size: 14px; }

.int-security small { margin-top: 4px; color: var(--faint); font-size: 13px; line-height: 1.5; }
.int-faq-group + .int-faq-group { margin-top: 36px; }
.int-faq-group h3 { margin: 0 0 8px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }

@media (max-width: 1080px) {
  .int-glance { grid-template-columns: 1fr; justify-items: center; gap: 0; }
  .int-node { width: min(360px, 100%); }
  .int-link { width: 1px; height: 64px; margin: 8px 0; background: repeating-linear-gradient(180deg, var(--line-strong) 0 5px, transparent 5px 10px); }
  .int-link span { left: 14px; bottom: 50%; transform: translateY(50%); }
  .int-link i { left: -3px; }
  .int-glance.in .int-link i { animation-name: int-travel-y; }
  @keyframes int-travel-y { 0% { top: 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { top: calc(100% - 7px); opacity: 0; } }
  .int-phases { grid-template-columns: 1fr; gap: 26px; }
  .int-phases::before, .int-phases::after { top: 22px; bottom: 22px; left: 21px; right: auto; width: 1px; height: auto; }
  .int-phases::after { transform: scaleY(0); transform-origin: top; }
  .int-phases.in::after { transform: scaleY(1); }
  .int-phases li { grid-template-columns: 44px 1fr; column-gap: 16px; justify-items: start; }
  .int-phases li > * { grid-column: 2; }
  .int-phases .int-step { grid-column: 1; grid-row: 1 / span 4; margin: 0; }
  .int-security { grid-template-columns: 1fr 1fr; }
  .int-faq-wrap { grid-template-columns: 1fr; gap: 0; }
  .int-guides { grid-template-columns: 1fr; }
  .int-check-wrap { grid-template-columns: 1fr; gap: 0; }
  .int-dir-detail { grid-template-columns: 1fr; gap: 14px; }
}

@media (max-width: 760px) {
  .int-glance-section { padding: 48px 0 64px; }
  .int-split, .int-deploy-body { grid-template-columns: 1fr; }
  .int-pilot { grid-template-columns: 1fr; justify-items: start; gap: 14px; }
  .int-split article { padding: 22px 20px 12px; }
  .int-deploy-body { padding: 22px 8px 12px; }
  .int-toggle button { font-size: 13.5px; padding: 10px 6px; }
  .int-facts dl div { grid-template-columns: 1fr; gap: 2px; }
  .int-dir-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .int-dir-detail dl { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 480px) {
  .int-security { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .int-tile, .int-dir-detail, .int-check-bar i, .int-faq details p, .int-faq summary i::before, .int-faq summary i::after, .int-deploy-body, .int-toggle i, .int-phases li { animation: none; transition: none; }
  .int-glance .int-link i { animation: none !important; display: none; }
  .int-phases::after { transform: none; transition: none; }
  .int-phases li { opacity: 1; }
}

.contact-form .deletion-confirm { min-height: 44px; display: flex; align-items: center; gap: 12px; }
.contact-form .deletion-confirm input { width: 20px; height: 20px; flex-shrink: 0; }
.contact-form .button:disabled { opacity: .6; cursor: wait; }
/* Phones: the copyright on its own line, the links together beneath it. */
@media (max-width: 560px) {
  .legal { gap: 10px 20px; }
  .legal span { flex-basis: 100%; margin-right: 0; }
  .legal a { padding: 4px 0; }
}

/* ---------- App Store and Google Play badges (components/StoreBadges.jsx) ---------- */
.store-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.store-badge { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px 0 14px; border: 1px solid #000; border-radius: 12px; background: #000; color: #fff; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s; }
.store-badge:hover { background: #1c1c1c; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
.store-badge:focus-visible { outline: 2px solid #2864e8; outline-offset: 3px; }
.store-badge .store-logo { width: 26px; height: 26px; flex: none; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store-badge small { font-size: 11px; font-weight: 500; letter-spacing: .01em; opacity: .85; }
.store-badge b { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.store-badge.compact { height: 40px; gap: 8px; padding: 0 12px 0 10px; border-radius: 10px; }
.store-badge.compact .store-logo { width: 20px; height: 20px; }
.store-badge.compact small { font-size: 9.5px; }
.store-badge.compact b { font-size: 14px; }
@media (prefers-reduced-motion: reduce) { .store-badge, .store-badge:hover { transition: none; transform: none; } }
/* The home page's design language (home-ed.css) carried to every other page:
   serif headings, warm greys, grey pill labels, black and grey pill buttons,
   soft grain colour fields and rounded grey CTA cards. Content is unchanged.

   Rules are rooted at `main:not(.home-ed, #_)`: the id inside :not() gives
   them enough weight to override the per-page stylesheets, and the home
   page (which already has this look) is left alone. */


main:not(.home-ed, #_) {
  --ed-ink: #0b0b0b;
  --ed-serif: "Goga Test", Inter, ui-sans-serif, system-ui, sans-serif; /* headings: Goga, the logo typeface */
  --display: var(--ed-serif);
  --soft: #faf9f7;
  --card: #f2f1ee;
  --line: #e7e6e2;
  --line-strong: #d9d8d3;
  --ed-speck: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 2.6 -1.25'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  /* The lavender stage used by How it works and Partners becomes the warm grain field. */
  --v2-stage:
    radial-gradient(30% 45% at 18% 22%, rgba(61, 142, 240, .35) 0%, transparent 70%),
    radial-gradient(35% 50% at 85% 80%, rgba(61, 142, 240, .28) 0%, transparent 72%),
    radial-gradient(40% 50% at 80% 15%, rgba(240, 177, 74, .35) 0%, transparent 70%),
    radial-gradient(45% 55% at 12% 88%, rgba(240, 177, 74, .3) 0%, transparent 70%),
    #faf6ec;
  --v2-blue: #2864e8;
}

/* ---------- Type ---------- */

main:not(.home-ed, #_) :is(h1, h2, h3) { font-family: var(--ed-serif); font-weight: 400; letter-spacing: -.02em; color: var(--ed-ink); }
main:not(.home-ed, #_) h1 { font-family: var(--ed-serif); letter-spacing: -.03em; line-height: 1; }
main:not(.home-ed, #_) h2 { line-height: 1.05; }
main:not(.home-ed, #_) h3 { letter-spacing: -.01em; }
/* Second heading lines read in the same ink, as on the home page. */
main:not(.home-ed, #_) :is(h1, h2) :is(.gradient-text, .muted) { color: inherit; }

/* Eyebrows become grey pill labels. */
main:not(.home-ed, #_) .eyebrow {
  display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 999px;
  background: var(--card); font-family: var(--sans); font-size: 14px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ed-ink);
}
/* Eyebrows inside cards keep their own size. */
main:not(.home-ed, #_) :is(.pr-plans, .pr-plan, article) .eyebrow { width: fit-content; }
main:not(.home-ed, #_) .pr-plans .eyebrow { background: #fff; }
main:not(.home-ed, #_) .pp-badge { font-family: var(--sans); font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--ed-ink); background: var(--card); border-color: transparent; }

/* ---------- Buttons ---------- */

main:not(.home-ed, #_) .button { height: 42px; padding: 0 20px; border-radius: 999px; font-size: 15px; font-weight: 500; }
main:not(.home-ed, #_) .button.primary { background: var(--ed-ink); border-color: var(--ed-ink); color: #fff; }
main:not(.home-ed, #_) .button.primary:hover { background: #2a2a2a; }
main:not(.home-ed, #_) .button.ghost { background: var(--card); border-color: transparent; color: var(--ed-ink); }
main:not(.home-ed, #_) .button.ghost:hover { background: #ebe9e4; }

/* ---------- Page hero: white, with a soft grain colour field on the right ---------- */

main:not(.home-ed, #_) .page-hero { isolation: isolate; background: #fff; border-bottom: 0; }
main:not(.home-ed, #_) .page-hero::before, main:not(.home-ed, #_) .page-hero::after {
  content: ""; position: absolute; z-index: -1; right: -6%; top: -10%; width: 52%; height: 120%; pointer-events: none;
  -webkit-mask-image: radial-gradient(closest-side, #000 35%, transparent 100%); mask-image: radial-gradient(closest-side, #000 35%, transparent 100%);
}
main:not(.home-ed, #_) .page-hero::before {
  background:
    radial-gradient(30% 40% at 40% 35%, #3d8ef0 0%, transparent 70%),
    radial-gradient(35% 45% at 65% 65%, #f0b14a 0%, transparent 72%),
    radial-gradient(40% 50% at 30% 75%, #f6e2b8 0%, transparent 70%),
    #fbf1dc;
  filter: blur(30px); opacity: .55; animation: site-drift 24s ease-in-out infinite alternate;
}
main:not(.home-ed, #_) .page-hero::after { background: var(--ed-speck) 0 0 / 220px 220px; opacity: .9; }
main:not(.home-ed, #_) .page-hero p { color: #3b3b3b; }

/* ---------- Sections and cards ---------- */

main:not(.home-ed, #_) .section-head p { color: #3b3b3b; }
/* Grey band sections become white, separated by hairlines. */
main:not(.home-ed, #_) .int-soft, main:not(.home-ed, #_) .pr-compare, main:not(.home-ed, #_) .solution-detail { background: #fff; border-top: 1px solid var(--line); }
main:not(.home-ed, #_) :is(.problem-grid, .industry-grid, .solution-detail-grid) > * { border-radius: 24px; }

/* ---------- CTA strips: a rounded grey card, as on the home page ---------- */

main:not(.home-ed, #_) .contact-strip { padding: 72px 0 96px; background: #fff; border-top: 0; }
main:not(.home-ed, #_) .contact-strip > .container {
  position: relative; isolation: isolate; overflow: hidden; padding: 96px 32px; border-radius: 28px; background: var(--card);
}
main:not(.home-ed, #_) .contact-strip > .container::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ed-speck) 0 0 / 220px 220px; opacity: .5; }
main:not(.home-ed, #_) .contact-strip h2 { font-size: clamp(36px, 4.6vw, 60px); }
main:not(.home-ed, #_) .contact-strip p { color: #3b3b3b; }

/* The shared home CTA on Partners and How it works: grey card, no floating notes. */
main:not(.home-ed, #_) .h-cta.v2-stage { background: var(--card); }
main:not(.home-ed, #_) .h-cta .v2-halo, main:not(.home-ed, #_) .h-cta .cta-note { display: none; }
main:not(.home-ed, #_) .h-cta h2 { font-weight: 400; letter-spacing: -.02em; }

/* Stage panels on How it works and Partners pick up the grain speckle. */
main:not(.home-ed, #_) :is(.fl-shell, .v2-stage, .tb-wide) { position: relative; isolation: isolate; }
main:not(.home-ed, #_) :is(.fl-shell, .v2-stage)::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--ed-speck) 0 0 / 220px 220px; opacity: .6; border-radius: inherit; }
main:not(.home-ed, #_) .fl-pills button.active::before { background: var(--v2-blue); }

@keyframes site-drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-4%, 6%) scale(1.08); } }
@media (prefers-reduced-motion: reduce) { main:not(.home-ed, #_) .page-hero::before { animation: none; } }

@media (max-width: 760px) {
  main:not(.home-ed, #_) .page-hero::before, main:not(.home-ed, #_) .page-hero::after { width: 90%; right: -30%; top: -20%; height: 70%; }
  main:not(.home-ed, #_) .contact-strip { padding: 48px 0 64px; }
  main:not(.home-ed, #_) .contact-strip > .container { width: calc(100% - 32px); padding: 64px 20px; border-radius: 22px; }
}
/* Site assistant (components/assistant): a launcher in the corner and a chat
   panel above it. Full screen on phones. */

.ast {
  --ast-ink: #0b0b0b;
  --ast-soft: #f6f5f2;
  --ast-line: #e7e6e2;
  --ast-body: #4a4a4a;
  --ast-faint: #8c8c88;
  --ast-blue: #2864e8;
  position: fixed; z-index: 60; right: 24px; bottom: 24px;
  /* Geist: clean and compact, and pairs with the site's Geist Mono. */
  --ast-font: "Geist", var(--sans);
  font-family: var(--ast-font); color: var(--ast-ink);
  font-feature-settings: "ss01", "cv11";
}
.ast button, .ast input { font-family: inherit; }

/* ---------- Launcher ---------- */

.ast-launch {
  position: relative; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 8px;
  border: 0; border-radius: 999px; background: var(--ast-ink); color: #fff; cursor: pointer;
  font: inherit; font-size: 15px; font-weight: 500;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .45), 0 2px 6px rgba(0, 0, 0, .12);
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, bottom .4s;
  animation: ast-in .6s .8s cubic-bezier(.2, .8, .2, 1) both;
}
.ast-launch:hover, .ast-launch:focus-visible {
  transform: translateY(-2px);
  box-shadow: -12px 10px 28px -8px rgba(61, 142, 240, .5), 0 12px 28px -10px rgba(143, 220, 230, .35),
    12px 10px 28px -8px rgba(245, 154, 91, .45), 0 16px 36px -12px rgba(0, 0, 0, .45);
}
.ast-launch:active { transform: translateY(0) scale(.97); transition-duration: .1s; }

/* Hover: the brand ring turns, the chat dots "type", and a soft glow in the
   same colours rises behind the pill. */
@property --ast-spin { syntax: "<angle>"; inherits: false; initial-value: 210deg; }
.ast-launch-text { transition: letter-spacing .35s cubic-bezier(.2, .8, .2, 1); }
.ast-launch:hover .ast-launch-text { letter-spacing: .01em; }
.ast-launch:hover .ast-launch-icon { animation: ast-spin 2.4s linear infinite; }
.ast:not(.is-open) .ast-launch:hover .ast-i-chat circle { animation: ast-type 1.1s ease-in-out infinite; }
.ast-launch:hover .ast-i-chat circle:nth-of-type(2) { animation-delay: .15s; }
.ast-launch:hover .ast-i-chat circle:nth-of-type(3) { animation-delay: .3s; }
@keyframes ast-spin { to { --ast-spin: 570deg; } }
@keyframes ast-type { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-1.6px); } }
.ast-i-chat circle { transform-box: fill-box; transform-origin: center; }
.ast-launch:focus-visible { outline: 2px solid var(--ast-blue); outline-offset: 3px; }
.ast-launch-icon {
  position: relative; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: conic-gradient(from var(--ast-spin, 210deg), #3d8ef0, #8fdce6, #f2c46d, #f59a5b, #3d8ef0);
}
.ast-launch-icon::before { content: ""; position: absolute; inset: 2px; border-radius: 50%; background: var(--ast-ink); }
.ast-launch-icon svg { position: relative; width: 19px; height: 19px; transition: opacity .2s, transform .3s cubic-bezier(.2, .8, .2, 1); }
.ast-i-chat { fill: #fff; }
.ast-i-chat circle { fill: var(--ast-ink); }
.ast-i-close { position: absolute !important; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; opacity: 0; transform: rotate(-90deg); }
.ast.is-open .ast-i-chat { opacity: 0; transform: rotate(90deg) scale(.6); }
.ast.is-open .ast-i-close { opacity: 1; transform: none; }
/* A soft ping on the icon until the chat is first opened. */
.ast:not(.is-open) .ast-launch-icon::after {
  content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid rgba(61, 142, 240, .55);
  animation: ast-ping 2.8s 2s ease-out 3;
}
@keyframes ast-ping { 0% { transform: scale(.9); opacity: 1; } 80%, 100% { transform: scale(1.5); opacity: 0; } }
@keyframes ast-in { from { opacity: 0; transform: translateY(16px) scale(.92); } }

/* ---------- Panel ---------- */

.ast-panel {
  position: absolute; right: 0; bottom: 68px; display: flex; flex-direction: column;
  width: 440px; height: min(680px, calc(100vh - 120px)); overflow: hidden;
  border-radius: 24px; background: #fff; border: 1px solid var(--ast-line);
  box-shadow: 0 40px 80px -30px rgba(20, 25, 45, .45), 0 8px 24px -12px rgba(20, 25, 45, .2);
  transform-origin: 100% 100%; animation: ast-open .32s cubic-bezier(.2, .8, .2, 1) both;
}
.ast-panel[hidden] { display: none; }

/* Expanded: a large centred chat with the page dimmed behind it. */
.ast-backdrop { position: fixed; inset: 0; background: rgba(12, 14, 20, .38); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: ast-fade .25s ease both; }
@keyframes ast-fade { from { opacity: 0; } }
.ast-panel.is-expanded {
  position: fixed; inset: 0; margin: auto; width: min(860px, calc(100vw - 48px)); height: min(880px, calc(100vh - 48px));
  border-radius: 28px; transform-origin: 50% 50%;
}
.ast-panel.is-expanded .ast-log { padding-inline: max(20px, calc((100% - 700px) / 2)); }
.ast-panel.is-expanded .ast-chips, .ast-panel.is-expanded .ast-form { width: min(700px, calc(100% - 24px)); margin-inline: auto; }
.ast-panel.is-expanded .ast-chips { padding-inline: 0; }
.ast-panel.is-expanded .ast-bubble { font-size: 15.5px; }
@keyframes ast-open { from { opacity: 0; transform: translateY(12px) scale(.96); } }

/* Header: dark, lit by the logo colours. */
.ast-head {
  display: flex; align-items: center; gap: 12px; padding: 16px 10px 16px 18px; color: #fff;
  background:
    radial-gradient(120% 160% at 0% 0%, rgba(61, 142, 240, .55), transparent 55%),
    radial-gradient(90% 140% at 55% 0%, rgba(143, 220, 230, .28), transparent 60%),
    radial-gradient(110% 160% at 100% 0%, rgba(245, 154, 91, .45), transparent 55%),
    #10131a;
}
.ast-head > div { flex: 1; min-width: 0; }
.ast-head strong { display: block; font-size: 15.5px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.ast-head small { display: block; margin-top: 3px; font-size: 12.5px; color: rgba(255, 255, 255, .68); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ast-head .ast-icon-btn { color: rgba(255, 255, 255, .78); }
.ast-head .ast-icon-btn:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.ast-head .ast-icon-btn:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
/* Avatar: the mark in a thin ring of the logo colours, with an online dot. */
.ast-head-mark {
  position: relative; flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: conic-gradient(from 210deg, #3d8ef0, #8fdce6, #f2c46d, #f59a5b, #3d8ef0);
}
.ast-head-mark::before { content: ""; position: absolute; inset: 1.5px; border-radius: 50%; background: #fff; }
.ast-head-mark img { position: relative; width: 22px; height: 14px; object-fit: contain; }
.ast-head-mark i { position: absolute; right: -1px; bottom: -1px; width: 11px; height: 11px; border-radius: 50%; background: #1fa864; border: 2px solid #10131a; }
.ast-avatar { flex: none; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 1px solid var(--ast-line); }
.ast-icon-btn { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 10px; background: transparent; color: var(--ast-body); cursor: pointer; transition: background .2s, color .2s; }
.ast-icon-btn:hover { background: var(--ast-soft); color: var(--ast-ink); }
.ast-icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Messages ---------- */

.ast-log { flex: 1; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 14px; padding: 18px 16px 12px; scrollbar-width: thin; }
.ast-msg { display: flex; align-items: flex-end; gap: 8px; animation: ast-msg .3s ease both; }
@keyframes ast-msg { from { opacity: 0; transform: translateY(6px); } }
.ast-avatar { width: 28px; height: 28px; }
.ast-avatar img { width: 16px; height: 10px; object-fit: contain; }
.ast-bubble { max-width: 86%; padding: 11px 14px; border-radius: 18px; font-size: 14.5px; line-height: 1.55; letter-spacing: -.005em; overflow-wrap: anywhere; }
.ast-msg.user { justify-content: flex-end; }
.ast-msg.user .ast-bubble { max-width: 82%; border-radius: 20px; background: #efeeea; color: var(--ast-ink); }
/* Bot replies read like a chat answer: plain text beside the mark, no box. */
.ast-msg.bot { align-items: flex-start; }
.ast-msg.bot .ast-avatar { margin-top: 1px; }
.ast-msg.bot .ast-bubble { flex: 1; min-width: 0; max-width: none; padding: 3px 4px 0 0; border-radius: 0; background: none; color: var(--ast-ink); }
.ast-bubble p { margin: 0; }
.ast-body > * + * { margin-top: 10px; }
.ast-bubble strong { font-weight: 600; color: var(--ast-ink); }
.ast-q { display: block; font-size: 15px; letter-spacing: -.01em; }
.ast-bubble ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.ast-bubble li { position: relative; padding-left: 18px; color: #2b2b2b; font-size: 14.5px; }
.ast-bubble li::before { content: ""; position: absolute; left: 4px; top: .66em; width: 5px; height: 5px; border-radius: 50%; background: var(--ast-blue); }
/* Blinking caret while a reply is being written. */
.ast-caret { display: inline-block; width: 8px; height: 8px; margin-left: 5px; border-radius: 50%; background: var(--ast-ink); vertical-align: .05em; animation: ast-caret .9s ease-in-out infinite; }
@keyframes ast-caret { 50% { opacity: .25; transform: scale(.75); } }
.ast-reveal { animation: ast-msg .35s ease both; }
/* Copy and 👍/👎 under a reply. */
.ast-actions { display: flex; align-items: center; gap: 4px; margin: 12px 0 0 -7px; }
.ast-actions button { display: inline-flex; align-items: center; gap: 5px; height: 30px; min-width: 30px; justify-content: center; padding: 0 7px; border: 0; border-radius: 8px; background: none; color: var(--ast-faint); cursor: pointer; font-size: 12.5px; transition: background .2s, color .2s; }
.ast-actions button:hover { background: var(--ast-soft); color: var(--ast-ink); }
.ast-actions button.is-on { color: var(--ast-blue); }
.ast-actions button:focus-visible { outline: 2px solid var(--ast-blue); outline-offset: 1px; }
.ast-actions svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ast-actions small { margin-left: 6px; font-size: 12px; color: var(--ast-faint); }
.ast-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ast-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.ast-btn { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--ast-line); background: #fff; color: var(--ast-ink); font-size: 13px; font-weight: 500; text-decoration: none; transition: border-color .2s, background .2s; }
.ast-btn:hover { border-color: var(--ast-ink); }
.ast-btn span { transition: transform .2s; }
.ast-btn:hover span { transform: translateX(2px); }
.ast-btn.primary { background: var(--ast-ink); border-color: var(--ast-ink); color: #fff; }
.ast-btn.primary:hover { background: #2a2a2a; }

/* Mobile app download card */
.ast-app { margin-top: 12px; padding: 12px; border: 1px solid var(--ast-line); border-radius: 14px; background: #fff; }
.ast-app-head { display: flex; align-items: center; gap: 10px; }
.ast-app-head img { width: 34px; height: 34px; padding: 6px; border: 1px solid var(--ast-line); border-radius: 9px; object-fit: contain; }
.ast-app-head span { display: flex; flex-direction: column; line-height: 1.25; }
.ast-app-head b { font-size: 14px; font-weight: 600; }
.ast-app-head small { color: var(--ast-faint); font-size: 12px; }
.ast-app-stores { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
.ast-app-stores a { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 34px; border: 1px solid var(--ast-line); border-radius: 999px; color: var(--ast-ink); font-size: 13px; font-weight: 500; text-decoration: none; transition: border-color .2s, background .2s; }
.ast-app-stores a:hover { border-color: var(--ast-ink); background: var(--ast-soft); }
.ast-app-stores a:focus-visible { outline: 2px solid var(--ast-blue); outline-offset: 2px; }
.ast-app-stores .store-logo { width: 15px; height: 15px; flex: none; }

/* Typing dots */
/* "Thinking": one pulsing dot, as before a chat reply starts. */
.ast-msg.bot .ast-typing { display: flex; align-items: center; height: 28px; padding: 0; }
.ast-typing i { width: 10px; height: 10px; border-radius: 50%; background: var(--ast-ink); animation: ast-think 1s ease-in-out infinite; }
@keyframes ast-think { 0%, 100% { transform: scale(.7); opacity: .45; } 50% { transform: scale(1); opacity: 1; } }

/* Topic cards on an empty chat */
.ast-starters { padding-left: 36px; animation: ast-msg .4s .1s ease both; }
.ast-starters > span { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 500; color: var(--ast-faint); }
.ast-starters > div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ast-starters button {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 12px; min-height: 84px;
  border: 1px solid var(--ast-line); border-radius: 16px; background: #fff; color: var(--ast-ink); cursor: pointer;
  font: inherit; font-size: 13.5px; font-weight: 500; line-height: 1.3; text-align: left;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.ast-starters button:last-child:nth-child(odd) { grid-column: 1 / -1; min-height: 0; flex-direction: row; align-items: center; }
.ast-starters button:hover { border-color: var(--ast-ink); transform: translateY(-1px); box-shadow: 0 8px 18px -12px rgba(0, 0, 0, .3); }
.ast-starters i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--ast-soft); color: var(--ast-ink); }
.ast-starters i .int-icon { width: 15px; height: 15px; color: inherit; }

/* Suggested follow-ups */
.ast-follow { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 6px; padding-left: 36px; animation: ast-msg .3s .1s ease both; }
.ast-follow button { max-width: 100%; min-height: 32px; padding: 6px 13px; border: 1px solid #cfdcf8; border-radius: 16px; background: #f2f6ff; color: #1d4fd8; cursor: pointer; font: inherit; font-size: 13px; font-weight: 500; line-height: 1.35; text-align: left; transition: background .2s, border-color .2s; }
.ast-follow button:focus-visible { outline: 2px solid var(--ast-blue); outline-offset: 1px; }
.ast-follow button:hover { background: #e3ecff; border-color: #a9c1f3; }

/* ---------- Composer ---------- */

/* Quick topics above the message box. */
.ast-detail { display: grid; gap: 10px; margin-left: 36px; padding: 14px; border: 1px solid var(--ast-line); border-radius: 16px; background: #fff; animation: ast-msg .3s ease both; }
.ast-detail label { display: grid; gap: 1px; font-size: 14px; }
.ast-detail label b { font-weight: 600; }
.ast-detail label span, .ast-detail p { font-size: 12.5px; color: #6b6b67; }
.ast-detail-options { display: flex; flex-wrap: wrap; gap: 6px; }
.ast-detail-options button { min-height: 30px; padding: 4px 12px; border: 1px solid var(--ast-line); border-radius: 999px; background: #fff; color: var(--ast-body); cursor: pointer; font: inherit; font-size: 12.5px; }
.ast-detail-options button:hover { border-color: var(--ast-ink); }
.ast-detail-options button[aria-pressed="true"] { background: var(--ast-ink); border-color: var(--ast-ink); color: #fff; }
.ast-detail-row { display: flex; gap: 8px; }
.ast-detail-row input { flex: 1; min-width: 0; height: 38px; padding: 0 12px; border: 1px solid var(--ast-line); border-radius: 10px; font: inherit; font-size: 14px; color: var(--ast-ink); }
.ast-detail-row button { flex: none; height: 38px; padding: 0 16px; border: 0; border-radius: 10px; background: var(--ast-ink); color: #fff; cursor: pointer; font: inherit; font-size: 13.5px; font-weight: 500; }
.ast-detail-row button:disabled { opacity: .3; cursor: default; }
.ast-detail p { margin: 0; line-height: 1.45; }
.ast-detail p button { padding: 0; border: 0; background: none; color: var(--ast-ink); cursor: pointer; font: inherit; font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.ast-detail button:focus-visible, .ast-detail input:focus-visible { outline: 2px solid var(--ast-blue); outline-offset: 2px; }
@media (max-width: 560px) { .ast-detail { margin-left: 0; } .ast-detail-row input { font-size: 16px; } }
.ast-chips { display: flex; gap: 6px; overflow-x: auto; padding: 10px 12px 8px; border-top: 1px solid var(--ast-line); scrollbar-width: none; mask-image: linear-gradient(90deg, #000 88%, transparent); }
.ast-chips::-webkit-scrollbar { display: none; }
.ast-chips button { flex: none; height: 30px; padding: 0 12px; border: 1px solid var(--ast-line); border-radius: 999px; background: #fff; color: var(--ast-body); cursor: pointer; font-size: 12.5px; font-weight: 500; transition: border-color .2s, color .2s, background .2s; }
.ast-chips button:hover:not(:disabled) { border-color: var(--ast-ink); color: var(--ast-ink); }
.ast-chips button:disabled { opacity: .45; cursor: default; }
.ast-chips button:focus-visible { outline: 2px solid var(--ast-blue); outline-offset: 1px; }

.ast-form { display: flex; align-items: center; gap: 8px; margin: 0 12px; padding: 6px 6px 6px 16px; border: 1px solid var(--ast-line); border-radius: 999px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.ast-form:focus-within { border-color: #b9c9ee; box-shadow: 0 0 0 4px rgba(40, 100, 232, .1); }
.ast-form input { flex: 1; min-width: 0; height: 36px; border: 0; outline: 0; background: none; font: inherit; font-size: 15px; color: var(--ast-ink); }
.ast-form input::placeholder { color: var(--ast-faint); }
.ast-form button { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--ast-ink); color: #fff; cursor: pointer; transition: opacity .2s, transform .2s; }
.ast-form button:hover:not(:disabled) { transform: scale(1.05); }
.ast-form button:disabled { opacity: .25; cursor: default; }
.ast-form button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ast-foot { margin: 0; padding: 8px 16px 12px; text-align: center; font-size: 11.5px; color: var(--ast-faint); }
.ast-foot a { color: var(--ast-body); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Small screens ---------- */

@media (max-width: 760px) {
  .ast { right: 16px; bottom: 16px; }
  .ast-launch { padding: 0 8px; }
  .ast-launch-text { display: none; }
}

@media (max-width: 560px) {
  .ast-panel, .ast-panel.is-expanded { position: fixed; inset: 0; margin: 0; width: auto; height: 100%; height: 100dvh; border: 0; border-radius: 0; transform-origin: 50% 100%; }
  .ast-expand, .ast-backdrop { display: none; }
  .ast.is-open .ast-launch { display: none; }
  .ast-head { padding-top: max(16px, env(safe-area-inset-top)); }
  .ast-foot { padding-bottom: max(12px, env(safe-area-inset-bottom)); }
  .ast-form input { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .ast-launch, .ast-panel, .ast-msg, .ast-starters, .ast-follow, .ast-detail, .ast-launch-icon, .ast-launch-icon::after, .ast-i-chat circle, .ast-typing i, .ast-caret, .ast-reveal, .ast-backdrop { animation: none !important; }
  .ast-launch-text { transition: none; }
}

/* Phones: tucked away while scrolling down (see Assistant.jsx). */
@media (max-width: 760px) {
  .ast .ast-launch { transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .25s, box-shadow .25s, bottom .4s; }
  .ast.is-tucked .ast-launch { transform: translateY(140%); opacity: 0; pointer-events: none; }
}

@media print { .ast { display: none; } }
/* Framed grid layout shared by the product pages, Solutions, Integration,
   How it works and Partners (components/frame/Frame.jsx). Content sits in one
   bordered column; hairlines with small nodes divide the sections, a faint
   grid fills the gaps, and sections are built from cells, grain panels and
   split lists. Colours come from the page's tone (.pq-tone-*). */

.pq-page .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease var(--delay, 0ms), transform .7s ease var(--delay, 0ms); }
.pq-page .reveal.in { opacity: 1; transform: none; }
@keyframes pq-up { from { opacity: 0; transform: translateY(16px); } }
@keyframes pq-rise { from { opacity: 0; transform: translateY(8px); } }

/* Each product's colours, matching its grain panel on the home page. */
.pq-page, .pq-tone-ask { --tone: #2864e8; --tint: #e9f1fe; --pq-base: #f6e7c4; --pq-c1: #3d8ef0; --pq-c2: #f2c46d; --pq-c3: #fbf1dc; }
.pq-tone-insight { --tone: #1d9a4b; --tint: #e3f6ea; --pq-base: #dff6e8; --pq-c1: #2fc463; --pq-c2: #8ae5b4; --pq-c3: #effcf4; }
.pq-tone-actions { --tone: #b8325a; --tint: #fdebef; --pq-base: #fbdfe4; --pq-c1: #ee8aa2; --pq-c2: #f9c3bd; --pq-c3: #fff2f3; }
.pq-tone-watch { --tone: #d0652a; --tint: #fdeee3; --pq-base: #fbe6d2; --pq-c1: #f59a5b; --pq-c2: #f8d3a8; --pq-c3: #fff4ea; }

/* Hero: centred, over a soft grain colour field */
/* Compact on purpose: the page's heading, summary and main actions, with the
   first section still in view on a laptop screen. */
.pq-hero { position: relative; isolation: isolate; overflow: hidden; padding: 52px 0 44px; text-align: center; }
.pq-hero .container { display: grid; justify-items: center; }
.pq-hero-field { position: absolute; z-index: -1; left: 50%; top: 50%; width: min(1100px, 120%); height: 140%; transform: translate(-50%, -50%); pointer-events: none;
  background:
    radial-gradient(28% 36% at 30% 40%, var(--pq-c1), transparent 70%),
    radial-gradient(30% 40% at 72% 60%, var(--pq-c2), transparent 72%),
    radial-gradient(40% 50% at 50% 50%, var(--pq-c3), transparent 75%);
  filter: blur(40px); opacity: .32;
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent 100%); mask-image: radial-gradient(closest-side, #000 30%, transparent 100%);
  animation: pq-drift 24s ease-in-out infinite alternate;
}
@keyframes pq-drift { to { transform: translate(-54%, -44%) scale(1.08); } }
main.pq-page .pq-badge { gap: 10px; height: 34px; padding: 0 16px 0 12px; background: #fff; border: 1px solid var(--line); }
main.pq-page .pq-badge .pmark { --pm: 18px; }
main.pq-page .pq-hero h1 { margin: 18px 0 16px; max-width: 900px; font-size: clamp(36px, 4.2vw, 56px); line-height: 1.02; text-wrap: balance; animation: pq-up .9s cubic-bezier(.2, .7, .2, 1) both; }
.pq-hero h1 span { display: block; }
.pq-hero p { max-width: 680px; margin: 0 0 24px; color: #3b3b3b; font-size: 17px; line-height: 1.55; text-wrap: balance; animation: pq-up .9s .15s cubic-bezier(.2, .7, .2, 1) both; }
.pq-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; animation: pq-up .9s .25s cubic-bezier(.2, .7, .2, 1) both; }
.pq-page [id] { scroll-margin-top: 120px; }

/* ---------- Framed grid ----------
   One bordered column for the page body. Hairlines with small nodes divide
   the sections, a faint grid fills the gaps, and each section is made of
   cells with a mono header strip. */

.pq-wrap { position: relative; overflow-x: clip; border-top: 1px solid var(--line); background: var(--soft); }
.pq { position: relative; border-left: 1px solid var(--line); border-right: 1px solid var(--line); background: #fff; }
/* The gap right under the hero is shorter, so content starts sooner. */
.pq > .pq-gap:first-child { height: 40px; }
.pq-gap {
  height: 72px;
  background-color: var(--soft);
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: -1px -1px;
  opacity: .9;
}
/* Hairline that runs past the frame and fades out, with a node at each frame edge. */
.pq-rule { position: relative; height: 1px; margin: 0 -96px; background: linear-gradient(90deg, transparent, var(--line) 96px, var(--line) calc(100% - 96px), transparent); }
.pq-rule i { position: absolute; top: -3px; width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--line-strong); background: #fff; }
.pq-rule i:first-child { left: 93px; }
.pq-rule i:last-child { right: 93px; }
.pq-block { position: relative; }
.pq-block > .pq-rule:first-child { display: none; }
.pq-gap + .pq-block > .pq-rule:first-child { display: block; }

.pq-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding: 40px 48px 32px; }
.pq-head .eyebrow { display: block; margin-bottom: 12px; color: var(--tone); }
.pq-head h2 { margin: 0; max-width: 820px; font-size: clamp(28px, 3vw, 40px); line-height: 1.08; letter-spacing: -.035em; font-weight: 500; text-wrap: balance; }
.pq-head h2 .muted { color: var(--faint); }
.pq-head p { margin: 12px 0 0; max-width: 640px; font-family: var(--mono); font-size: 14px; line-height: 1.7; color: var(--body); }
.pq-aside { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 10px; border: 1px solid var(--line-strong); background: #fff; font-size: 15px; font-weight: 500; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); transition: border-color .2s, transform .2s; }
.pq-aside:hover { border-color: var(--text); }
.pq-aside span { transition: transform .2s; }
.pq-aside:hover span { transform: translateX(3px); }

/* Cells */
.pq-cells { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pq-cell { min-width: 0; display: flex; flex-direction: column; }
.pq-cell + .pq-cell { border-left: 1px solid var(--line); }
.pq-cell-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.pq-cell-head span { display: flex; align-items: center; gap: 10px; min-width: 0; font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pq-cell-head span i { flex: none; width: 6px; height: 6px; background: var(--tone); }
.pq-cell-head > b { flex: none; padding: 1px 6px; border-radius: 4px; border: 1px solid color-mix(in srgb, var(--tone) 40%, var(--line)); font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--tone); }
.pq-cell-text { margin: 0; padding: 18px 22px 26px; color: var(--body); font-size: 15px; }

/* Panel: a hatched frame around a tinted, softly mottled artboard. */
.pq-panel {
  padding: 12px;
  background: repeating-linear-gradient(135deg, transparent 0 6px, color-mix(in srgb, var(--line) 70%, transparent) 6px 7px);
}
.pq-art {
  position: relative; isolation: isolate; overflow: hidden; border-radius: 6px;
  background-color: var(--pq-base);
  background-image:
    radial-gradient(30% 42% at 26% 30%, var(--pq-c1) 0%, transparent 70%),
    radial-gradient(34% 44% at 74% 70%, var(--pq-c1) 0%, transparent 72%),
    radial-gradient(42% 50% at 84% 16%, var(--pq-c2) 0%, transparent 70%),
    radial-gradient(40% 46% at 14% 88%, var(--pq-c2) 0%, transparent 70%),
    radial-gradient(60% 60% at 52% 50%, var(--pq-c3) 0%, transparent 75%);
}
/* White speckle over the colour, as on the home page's grain panels. */
.pq-art::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .7; mix-blend-mode: screen;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 2.6 -1.25'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") 0 0 / 220px 220px;
}
/* The app window, on a larger panel. */
.pq-wash { padding: clamp(20px, 4.5vw, 56px) clamp(12px, 4.5vw, 64px); }
.pq-wash .aw-tabs { background: rgba(255, 255, 255, .7); border-color: rgba(255, 255, 255, .8); backdrop-filter: blur(8px); }
.pq-wash .aw-window { box-shadow: 0 40px 80px -40px rgba(20, 30, 60, .5); }
.pq-card { border-radius: 12px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(6px); box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 16px 32px -24px rgba(20, 30, 60, .45); }

/* Why: problem card → outcome card, joined by a curve */
.pq-flow { display: flex; flex-direction: column; min-height: 340px; padding: 26px 22px; }
.pq-link { flex: 1 1 0; min-height: 44px; width: 100%; height: auto; overflow: visible; }
.pq-flow path { fill: none; stroke: color-mix(in srgb, var(--text) 45%, transparent); stroke-width: 1; vector-effect: non-scaling-stroke; }
.pq-before { align-self: flex-start; width: 82%; padding: 14px 16px; }
.pq-before p { margin: 0; color: var(--faint); font-size: 14.5px; line-height: 1.5; text-decoration: line-through; text-decoration-color: rgba(0, 0, 0, .25); }
.pq-after { align-self: flex-end; width: 86%; padding: 14px 16px 16px; }
.pq-after em { display: inline-block; margin-bottom: 8px; padding: 2px 8px; border-radius: 6px; background: var(--tint); color: var(--tone); font-style: normal; font-size: 12px; font-weight: 500; }
.home .pq-after h3 { margin: 0; font-size: 17px; line-height: 1.35; letter-spacing: -.015em; }

/* How it works: the step's app screen in a card */
.pq-screen { display: grid; place-items: center; min-height: 320px; padding: 28px 22px; }
.pq-screen .pq-card { width: 100%; padding: 16px; }

/* Features and security: hairline cells with an icon square */
.pq-feature-grid .pq-cell:nth-child(n + 4) { border-top: 1px solid var(--line); }
.pq-feature-grid .pq-cell:nth-child(3n + 1) { border-left: 0; }
.pq-feature { padding: 30px 28px 34px; transition: background .2s; }
.pq-feature:hover { background: var(--soft); }
.pq-feature i { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 26px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--text); box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
.pq-feature i .int-icon { width: 16px; height: 16px; color: inherit; }
.pq-feature:hover i { background: var(--text); border-color: var(--text); color: #fff; }
.home .pq-feature h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -.02em; line-height: 1.25; font-weight: 500; }
.pq-feature h3 { margin-top: 0; }
.pq-feature p { margin: 0; color: var(--body); font-size: 15px; }

/* Who it's for: preview on the left, the teams on the right */
.pq-split { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
.pq-split > .pq-panel { border-right: 1px solid var(--line); }
.pq-chat { display: grid; place-items: center; height: 100%; min-height: 460px; padding: 40px; }
.pq-window { width: min(100%, 520px); border-radius: 12px; background: #fff; overflow: hidden; box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 30px 60px -36px rgba(20, 30, 60, .5); animation: pq-rise .45s ease both; }
.pq-window .aw-bar { padding: 10px 14px; }
.pq-window-body { display: grid; gap: 16px; padding: 22px; }
.pq-team { display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 4px 10px 4px 6px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.pq-team .int-icon { width: 15px; height: 15px; color: var(--tone); }
.pq-ask { justify-self: end; max-width: 88%; margin: 0; padding: 10px 14px; border-radius: 14px 14px 4px 14px; background: var(--tone); color: #fff; font-size: 15px; line-height: 1.45; }
.pq-answer { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); }
.pq-answer .pmark { flex: none; }
.pq-answer p { margin: 0; color: var(--text); font-size: 15px; line-height: 1.5; }
.pq-list { list-style: none; margin: 0; padding: 0; }
.pq-list li + li { border-top: 1px solid var(--line); }
.pq-list button { position: relative; display: flex; align-items: flex-start; gap: 16px; width: 100%; padding: 20px 26px 20px 24px; border: 0; background: none; text-align: left; cursor: pointer; color: var(--faint); transition: background .2s, color .2s; }
.pq-list button:hover { background: var(--soft); }
.pq-list button::after { content: ""; position: absolute; right: 12px; top: 18px; bottom: 18px; width: 2px; border-radius: 2px; background: var(--text); transform: scaleY(0); transition: transform .3s ease; }
.pq-list button.on::after { transform: scaleY(1); }
.pq-list i { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--faint); transition: background .2s, color .2s, border-color .2s; }
.pq-list i .int-icon { width: 15px; height: 15px; color: inherit; }
.pq-list button.on i { background: var(--text); border-color: var(--text); color: #fff; }
.pq-list strong { display: block; font-family: var(--display); font-size: 18px; font-weight: 500; letter-spacing: -.015em; color: var(--body); transition: color .2s; }
.pq-list small { display: block; margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--faint); }
.pq-list button.on strong { color: var(--text); }
.pq-list button.on small { color: var(--body); }

/* Works with: group cells and a footer row */
.pq-cell-pad { padding: 20px 22px 26px; }
.pq-cell-pad > p { margin: 0 0 18px; color: var(--body); font-size: 14.5px; }
.pq-foot { margin: 0; padding: 22px 26px; border-top: 1px solid var(--line); background: var(--soft); }

@media (max-width: 1000px) {
  .pq-cells { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pq-cells > .pq-cell:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .pq-cells > .pq-cell:nth-child(odd) { border-left: 0; }
  .pq-cells > .pq-cell:nth-child(odd):last-child { grid-column: span 2; }
  .pq-feature-grid > .pq-cell:nth-child(odd):last-child { grid-column: auto; }
  .pq-split { grid-template-columns: 1fr; }
  .pq-split > .pq-panel { border-right: 0; border-bottom: 1px solid var(--line); }
  .pq-chat { min-height: 380px; padding: 28px; }
}

@media (max-width: 640px) {
  .pq.container { width: 100%; border-left: 0; border-right: 0; }
  .pq-rule { margin: 0; background: var(--line); }
  .pq-rule i { display: none; }
  /* The gap right under the hero is shorter, so content starts sooner. */
.pq > .pq-gap:first-child { height: 40px; }
.pq-gap { height: 48px; }
  .pq-head { flex-direction: column; align-items: flex-start; gap: 20px; padding: 36px 20px 30px; }
  .pq-head p { font-size: 13px; }
  .pq-cells { grid-template-columns: 1fr; }
  .pq-cells > .pq-cell { border-left: 0; }
  .pq-cells > .pq-cell + .pq-cell { border-top: 1px solid var(--line); }
  .pq-cells > .pq-cell:nth-child(odd):last-child { grid-column: auto; }
  .pq-feature { padding: 24px 20px 28px; }
  .pq-feature i { margin-bottom: 18px; }
  .pq-chat { min-height: 0; padding: 18px; }
  .pq-answer { flex-direction: column; gap: 8px; }
  .pq-flow { min-height: 260px; }
  .pq-list button { padding: 16px 20px; }
  .pq-foot { padding: 20px; }
  .pq-hero { padding: 36px 0 32px; }
  .pq-hero p { font-size: 16px; margin-bottom: 20px; }
  .pq > .pq-gap:first-child { height: 24px; }
  .pq-actions .button { white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  .pq-page .reveal { opacity: 1; transform: none; transition: none; }
  .pq-window, .pq-hero-field, .pq-hero h1, .pq-hero p, .pq-actions { animation: none; }
}

@media (max-width: 640px) {
  .pq-cell-head { align-items: flex-start; }
  .pq-cell-head span { white-space: normal; overflow: visible; line-height: 1.4; flex-wrap: wrap; }
  .pq-cell-head span i { margin-top: .45em; }
}
/* Page-specific parts of the framed layout (frame.css) for Solutions,
   Integration, How it works and Partners. */

/* ---------- Shared extras ---------- */

/* Two- and four-column cell grids. */
.pq-cells.pq-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pq-feature-grid.pq-two > .pq-cell:nth-child(n) { border-top: 0; border-left: 1px solid var(--line); }
.pq-feature-grid.pq-two > .pq-cell:nth-child(2n + 1) { border-left: 0; }
.pq-feature-grid.pq-two > .pq-cell:nth-child(n + 3) { border-top: 1px solid var(--line); }
.pq-cells.pq-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pq-feature-grid.pq-four > .pq-cell:nth-child(n) { border-top: 0; border-left: 1px solid var(--line); }
.pq-feature-grid.pq-four > .pq-cell:first-child { border-left: 0; }
.pq-cells.pq-five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.pq-pad { padding: 32px 40px; }
.pq-note { margin: 0; padding: 22px 28px; border-top: 1px solid var(--line); background: var(--soft); color: var(--body); font-size: 15px; }
.pq-note b, .pq-note strong { color: var(--text); font-weight: 600; }
.pq-note a { color: var(--text); font-weight: 600; border-bottom: 1px solid currentColor; }

/* ---------- Solutions ---------- */

.sx-template { width: min(100%, 540px); }
.sx-template-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sx-template-head small { padding: 3px 10px; border-radius: 999px; background: var(--tint); color: var(--tone); font-size: 12px; font-weight: 600; }
.sx-template-text { margin: 0; color: var(--body); font-size: 15px; }
.sx-questions { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sx-questions a { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--soft); font-size: 15px; line-height: 1.45; color: var(--text); transition: border-color .2s, background .2s; }
.sx-questions p { margin: 0; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--soft); font-size: 15px; }
.sx-questions a:hover { border-color: var(--line-strong); background: #fff; }
.sx-questions a span { flex: none; color: var(--faint); transition: transform .2s, color .2s; }
.sx-questions a:hover span { color: var(--text); transform: translate(2px, -2px); }

.ac-step { margin: 0 0 8px; font-family: var(--display); font-size: 19px; font-weight: 500; letter-spacing: -.02em; line-height: 1.25; }
.ac-page .pq-cell-pad > p { margin: 0; }
.sx-rows { margin: 0; }
.sx-rows > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 4px 20px; padding: 15px 22px; }
.sx-rows > div + div { border-top: 1px solid var(--line); }
.sx-rows dt { font-family: var(--display); font-size: 17px; font-weight: 500; letter-spacing: -.015em; line-height: 1.35; color: var(--text); }
.sx-rows dd { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--body); }
.sx-rows + .pq-cell-head { border-top: 1px solid var(--line); }
@media (max-width: 1100px) { .sx-rows > div { grid-template-columns: 1fr; } }
.sx-product .pq-cell-head span { text-transform: none; letter-spacing: 0; font-family: var(--sans); font-size: 15px; }
.sx-product-art { display: grid; place-items: center; min-height: 230px; padding: 26px 22px; }
.sx-product .pq-card { display: grid; gap: 14px; padding: 18px; }
.sx-product .pq-card i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--tint); color: var(--tone); }
.sx-product .pq-card i .int-icon { width: 16px; height: 16px; color: inherit; }
.sx-product .pq-card p { margin: 0; color: var(--body); font-size: 15px; line-height: 1.5; }
.sx-product .pq-card strong { color: var(--text); font-weight: 600; }
.sx-product .pq-cell-pad { display: flex; flex-direction: column; gap: 22px; flex: 1; }
.sx-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sx-ticks li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--text); }
.sx-ticks .int-icon { flex: none; width: 16px; height: 16px; margin-top: 3px; color: var(--tone); }
.sx-link { margin-top: auto; align-self: flex-start; font-size: 15px; font-weight: 600; border-bottom: 1px solid currentColor; }

/* ---------- Integration ---------- */

/* What you can connect: groups of connector tiles */
.ix-page .int-dir { padding: 0; border: 0; border-radius: 0; background: none; }
.ix-page .int-dir-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; padding: 0; }
.ix-page .int-tile { min-height: 108px; border: 0; border-radius: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.ix-page .int-tile:nth-child(6n) { border-right: 0; }
.ix-page .int-tile:hover { background: var(--soft); transform: none; }
.ix-page .int-tile.on { background: var(--soft); box-shadow: inset 0 -2px 0 var(--text); }
.ix-page .int-dir-detail { margin: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 20px 28px; background: var(--tint); }
.ix-group > header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0 24px; border-bottom: 1px solid var(--line); }
.ix-group > header .pq-cell-head { flex: 1; min-width: 240px; border-bottom: 0; }
.ix-group > header p { margin: 0; padding: 10px 16px; color: var(--body); font-size: 14px; }
.ix-group > header p a { color: var(--text); font-weight: 600; white-space: nowrap; border-bottom: 1px solid currentColor; }
.ix-group > header + .int-dir { border-top: 0; }
.ix-group.dev > header { background: var(--soft); }
.ix-group.dev > header .pq-cell-head > span::after { content: "Developers"; margin-left: 10px; padding: 1px 8px; border-radius: 999px; background: var(--text); color: #fff; font-family: var(--sans); font-size: 11px; letter-spacing: 0; text-transform: none; }
.ix-groups > .pq-note { border-top: 0; }

/* How to connect */
.ix-steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 14px; }
.ix-steps li { counter-increment: s; display: flex; gap: 14px; font-size: 15px; line-height: 1.55; color: var(--body); }
.ix-steps li::before { content: counter(s, decimal-leading-zero); flex: none; width: 26px; font-family: var(--mono); font-size: 12px; line-height: 2; color: var(--tone); }
.ix-erp { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.ix-erp-steps { border-right: 1px solid var(--line); }
.ix-erp-steps .pq-cell-pad { padding: 24px 28px 28px; }
.ix-callout { display: flex; align-items: flex-start; gap: 10px; margin: 22px 0 0; padding: 14px 16px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); color: var(--text); font-size: 14px; line-height: 1.5; }
.ix-callout .int-icon { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--tone); }
.ix-example-art { display: grid; place-items: center; height: 100%; padding: 28px 24px; }
.ix-erp > .pq-panel { display: flex; }
.ix-erp > .pq-panel > .pq-art { flex: 1; }
.ix-example { width: 100%; padding: 20px; }
.ix-example-head { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.ix-example-head .pmark { --pm: 17px; text-transform: none; letter-spacing: 0; }
.ix-example ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.ix-example li { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 0; font-size: 15px; color: var(--text); counter-increment: e; }
.ix-example li::before { content: counter(e); display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--tint); color: var(--tone); font-family: var(--mono); font-size: 12px; position: relative; z-index: 1; }
.ix-example li + li::after { content: ""; position: absolute; left: 12.5px; top: -10px; height: 20px; width: 1px; background: color-mix(in srgb, var(--tone) 40%, transparent); }
.ix-example ol { counter-reset: e; }

/* Where your data goes */
.ix-flow-art { padding: clamp(18px, 3vw, 32px); }
.ix-flow { display: grid; gap: 12px; }
.ix-flow-zones, .ix-lane { display: grid; grid-template-columns: 1fr 96px 1.2fr 96px 1fr; align-items: stretch; }
.ix-flow-zones span { grid-row: 1; padding: 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, .7); font-family: var(--mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; text-align: center; color: var(--text); }
.ix-flow-zones .z-0 { grid-column: 1; }
.ix-flow-zones .z-1 { grid-column: 3; background: var(--text); color: #fff; }
.ix-flow-zones .z-2 { grid-column: 5; }
.ix-lane { position: relative; padding-top: 26px; }
.ix-lane-label { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 8px; font-size: 13px; }
.ix-lane-label strong { font-weight: 600; }
.ix-lane-label em { padding: 1px 8px; border-radius: 999px; background: #fff; color: var(--body); font-size: 11.5px; font-style: normal; }
.ix-lane-label .pmark { --pm: 16px; }
.ix-node { display: grid; align-content: start; gap: 4px; padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, .95); box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 14px 30px -24px rgba(20, 30, 60, .45); }
.ix-node i { display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: 4px; border-radius: 8px; background: var(--soft); }
.ix-node i .int-icon { width: 15px; height: 15px; color: var(--text); }
.ix-node strong { font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.ix-node small { color: var(--body); font-size: 13px; line-height: 1.45; }
.ix-node.z-1 { box-shadow: 0 0 0 1.5px var(--text), 0 14px 30px -24px rgba(20, 30, 60, .45); }
.ix-node.ext { background: rgba(255, 255, 255, .8); box-shadow: none; border: 1.5px dashed rgba(11, 11, 11, .45); }
.ix-node.empty { place-content: center; background: transparent; box-shadow: none; border: 1.5px dashed rgba(11, 11, 11, .18); }
.ix-node.empty span { color: var(--body); font-size: 13px; text-align: center; }
.ix-arrow { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 0 6px; }
.ix-arrow i { position: relative; width: 100%; height: 1.5px; background: var(--text); }
.ix-arrow i::after { content: ""; position: absolute; right: -1px; top: -4px; border: 5px solid transparent; border-left: 7px solid var(--text); border-right: 0; }
.ix-arrow.out i { background: repeating-linear-gradient(90deg, var(--text) 0 5px, transparent 5px 9px); }
.ix-arrow span { font-family: var(--mono); font-size: 10.5px; line-height: 1.3; text-align: center; color: var(--text); }
.ix-arrow[aria-hidden="true"] i { opacity: .25; }
.ix-flow-copy { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); border-top: 1px solid var(--line); }
.ix-flow-copy > div { padding: 26px 28px; }
.ix-flow-copy p { margin: 0; color: var(--body); font-size: 15px; line-height: 1.65; }
.ix-flow-copy p + p { margin-top: 12px; }
.ix-selfhost { padding: 26px 28px; border-left: 1px solid var(--line); background: var(--soft); }
.ix-selfhost strong { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
.ix-selfhost strong .int-icon { width: 17px; height: 17px; color: var(--text); }
.ix-selfhost p { margin: 8px 0 10px; color: var(--body); font-size: 14px; }
.ix-selfhost ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.ix-selfhost li { position: relative; padding-left: 16px; font-size: 14px; color: var(--text); }
.ix-selfhost li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; border: 1.5px dashed var(--text); }

/* Deployment options */
.ix-deploy-row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1fr); }
.ix-deploy-row + .ix-deploy-row { border-top: 1px solid var(--line); }
.ix-deploy-row > * { margin: 0; padding: 22px 26px; }
.ix-deploy-row > * + * { border-left: 1px solid var(--line); }
.ix-deploy-row.head { position: sticky; top: 118px; z-index: 2; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.ix-deploy-row.head > * { padding-top: 16px; padding-bottom: 16px; }
.ix-deploy-row.head strong { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 20px; font-weight: 400; }
.ix-deploy-row.head .int-icon { width: 18px; height: 18px; color: var(--text); }
.ix-deploy-row h3 { font-size: 19px; line-height: 1.3; }
.ix-deploy-row p { color: var(--body); font-size: 15px; line-height: 1.6; }
.ix-deploy-row p b { display: none; }

/* Security: five cells */
.ix-sec .pq-feature p { font-size: 14.5px; line-height: 1.6; }

/* Start with a pilot */
.ix-pilot-lists { border-bottom: 1px solid var(--line); }
.ix-check-progress { display: flex; align-items: center; gap: 14px; padding: 16px 24px; border-bottom: 1px solid var(--line); }
.ix-check-progress strong { flex: none; font-size: 14px; font-weight: 600; }
.ix-check-list { list-style: none; margin: 0; padding: 0; }
.ix-check-list li + li { border-top: 1px solid var(--line); }
.ix-check-list label { display: flex; align-items: flex-start; gap: 14px; padding: 16px 24px; cursor: pointer; font-size: 15px; line-height: 1.55; color: var(--text); transition: background .2s; }
.ix-check-list label:hover { background: var(--soft); }
.ix-check-list input { position: absolute; opacity: 0; pointer-events: none; }
.ix-check-list i { flex: none; display: grid; place-items: center; width: 22px; height: 22px; margin-top: 1px; border-radius: 6px; border: 1px solid var(--line-strong); background: #fff; color: transparent; transition: background .2s, border-color .2s, color .2s; }
.ix-check-list i .int-icon { width: 13px; height: 13px; color: inherit; }
.ix-check-list label.on i { background: #1fa864; border-color: #1fa864; color: #fff; }
.ix-check-list label.on span { color: var(--body); text-decoration: line-through; text-decoration-color: var(--line-strong); }
.ix-check-list input:focus-visible + i { outline: 2px solid var(--tone); outline-offset: 2px; }
.ix-helps { list-style: none; margin: 0; padding: 8px 24px 16px; }
.ix-helps li { display: flex; gap: 12px; padding: 12px 0; font-size: 15px; line-height: 1.55; color: var(--text); }
.ix-helps li + li { border-top: 1px solid var(--line); }
.ix-helps .int-icon { flex: none; width: 17px; height: 17px; margin-top: 3px; color: var(--tone); }
.ix-phases { list-style: none; }
.ix-phases .pq-cell-head span { font-size: 11.5px; }
.ix-phases .pq-cell-pad > i { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 20px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--text); }
.ix-phases .pq-cell-pad > i .int-icon { width: 16px; height: 16px; color: inherit; }
.ix-phases h3 { margin: 0 0 6px; font-size: 18px; line-height: 1.25; }
.ix-phases p { margin: 0; color: var(--body); font-size: 14.5px; }

/* FAQ */
.pq-page .ix-faq { border-top: 0; }
.pq-page .ix-faq details:last-child { border-bottom: 0; }
.pq-page .ix-faq summary { padding: 20px 72px 20px 48px; }
.pq-page .ix-faq summary i { right: 48px; }
.pq-page .ix-faq details p { max-width: 860px; padding: 0 72px 22px 48px; }
.ix-faq-link { color: var(--text); font-weight: 600; white-space: nowrap; border-bottom: 1px solid currentColor; }

@media (max-width: 1000px) {
  .ix-page .int-dir-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ix-page .int-tile:nth-child(n) { border-right: 1px solid var(--line); }
  .ix-page .int-tile:nth-child(4n) { border-right: 0; }
  .ix-erp, .ix-flow-copy { grid-template-columns: 1fr; }
  .ix-erp-steps { border-right: 0; border-bottom: 1px solid var(--line); }
  .ix-selfhost { border-left: 0; border-top: 1px solid var(--line); }
  /* The flow stacks: each lane reads top to bottom. */
  .ix-flow-zones { display: none; }
  .ix-lane { grid-template-columns: 1fr; gap: 0; padding-top: 30px; }
  .ix-lane + .ix-lane { margin-top: 12px; }
  .ix-arrow { flex-direction: row; justify-content: flex-start; height: 40px; padding: 0 0 0 24px; }
  .ix-arrow i { order: -1; width: 1.5px; height: 100%; }
  .ix-arrow.out i { background: repeating-linear-gradient(180deg, var(--text) 0 5px, transparent 5px 9px); }
  .ix-arrow i::after { right: -4.5px; top: auto; bottom: -1px; border: 5px solid transparent; border-top: 7px solid var(--text); border-bottom: 0; }
  .ix-arrow span { text-align: left; }
  .ix-node::before { display: block; margin-bottom: 2px; font-family: var(--mono); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; color: var(--faint); }
  .ix-node.z-0::before { content: "Your systems and team"; }
  .ix-node.z-1::before { content: "entaura.ai workspace"; }
  .ix-node.z-2::before { content: "External provider"; }
  .ix-deploy-row { grid-template-columns: 1fr; }
  .ix-deploy-row.head { display: none; }
  .ix-deploy-row > * + * { border-left: 0; border-top: 1px dashed var(--line); }
  .ix-deploy-row > * { padding: 16px 24px; }
  .ix-deploy-row p b { display: flex; margin-bottom: 4px; font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: var(--text); }
}

@media (max-width: 640px) {
  .ix-page .int-dir-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ix-page .int-tile { min-height: 88px; padding: 12px 6px; gap: 8px; font-size: 13px; text-align: center; }
  .ix-page .int-tile:nth-child(n) { border-right: 1px solid var(--line); }
  .ix-page .int-tile:nth-child(3n) { border-right: 0; }
  .ix-erp-steps .pq-cell-pad, .ix-flow-copy > div, .ix-selfhost { padding: 20px; }
  .ix-check-list label, .ix-check-progress { padding: 14px 20px; }
  .ix-helps { padding: 4px 20px 12px; }
  .pq-page .ix-faq summary { padding: 18px 48px 18px 20px; font-size: 16px; }
  .pq-page .ix-faq summary i { right: 20px; }
  .pq-page .ix-faq details p { padding: 0 20px 20px; }
}

/* ---------- Shared grid breakpoints ---------- */

@media (max-width: 1000px) {
  .pq-cells.pq-four, .pq-cells.pq-five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pq-feature-grid.pq-four > .pq-cell:nth-child(2n + 1) { border-left: 0; }
  .pq-feature-grid.pq-four > .pq-cell:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

@media (max-width: 640px) {
  .pq-cells.pq-two, .pq-cells.pq-four, .pq-cells.pq-five { grid-template-columns: 1fr; }
  .pq-feature-grid.pq-two > .pq-cell:nth-child(n), .pq-feature-grid.pq-four > .pq-cell:nth-child(n) { border-left: 0; border-top: 1px solid var(--line); }
  .pq-feature-grid.pq-two > .pq-cell:first-child, .pq-feature-grid.pq-four > .pq-cell:first-child { border-top: 0; }
  .pq-pad { padding: 24px 20px; }
  .pq-note { padding: 20px; }
}

/* ---------- Product walkthrough (components/home/PlatformFlow.jsx) ---------- */

.pq-walk { padding: 12px; }
.home .pq-walk section.fl-framed { padding: 0; }
.home.home-v2 .pq-walk .fl-shell { border-radius: 6px; }
@media (max-width: 640px) { .pq-walk { padding: 8px; } }

/* ---------- Partners ---------- */

.pn-type .pq-window-body { gap: 14px; }
.pn-type .pq-window-body > * { margin: 0; }
.pn-type .pq-team { justify-self: start; }
.pn-type h3 { font-size: 26px; line-height: 1.15; }
.pn-type p { color: var(--body); font-size: 15px; }
.pn-type .pn-for { font-family: var(--mono); font-size: 13px; color: var(--tone); }
.pn-type .sx-link { justify-self: start; margin-top: 4px; }
.pn-steps { list-style: none; }

/* ---------- Contact ---------- */

.cx-split { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.cx-form-wrap { padding: 36px 40px 40px; border-right: 1px solid var(--line); }
.cx-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cx-form .full { grid-column: 1 / -1; }
.cx-form label, .cx-chips legend { display: grid; gap: 8px; color: var(--faint); font-size: 13px; font-weight: 500; }
.cx-form input:not([type="radio"]):not([type="checkbox"]), .cx-form textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff;
  font: inherit; font-size: 15px; color: var(--text); transition: border-color .2s, box-shadow .2s;
}
.cx-form textarea { resize: vertical; min-height: 140px; }
.cx-form input::placeholder, .cx-form textarea::placeholder { color: #b2b1ac; }
.cx-form input:not([type="radio"]):focus, .cx-form textarea:focus { outline: 0; border-color: var(--text); box-shadow: 0 0 0 4px rgba(11, 11, 11, .06); }

/* Topic chips */
.cx-chips { margin: 0; padding: 0; border: 0; min-width: 0; }
.cx-chips legend { margin-bottom: 10px; padding: 0; }
.cx-chips > div { display: flex; flex-wrap: wrap; gap: 8px; }
.cx-chips label { position: relative; display: block; cursor: pointer; }
.cx-chips input { position: absolute; opacity: 0; pointer-events: none; }
.cx-chips span { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--body); font-size: 14px; font-weight: 500; transition: background .2s, border-color .2s, color .2s; }
.cx-chips label:hover span { border-color: var(--line-strong); color: var(--text); }
.cx-chips input:checked + span { background: var(--text); border-color: var(--text); color: #fff; }
.cx-chips input:focus-visible + span { outline: 2px solid var(--tone); outline-offset: 2px; }
.cx-send { width: 100%; justify-content: center; height: 48px; }
.cx-send:disabled { opacity: .6; cursor: progress; }

/* Sent */
.cx-sent { grid-template-columns: 1fr; justify-items: center; gap: 10px; padding: 56px 0; text-align: center; animation: pq-rise .4s ease both; }
.cx-sent i { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 6px; border-radius: 50%; background: #e3f6ea; color: #1d9a4b; }
.cx-sent i .int-icon { width: 26px; height: 26px; color: inherit; }
.cx-sent h3 { margin: 0; font-size: 28px; }
.cx-sent p { margin: 0 0 10px; color: var(--body); }

/* The panel: email, phone and what happens next */
.cx-art { display: grid; align-content: center; gap: 12px; height: 100%; min-height: 100%; padding: 32px 28px; }
.cx-split > .pq-panel { display: flex; }
.cx-split > .pq-panel > .pq-art { flex: 1; }
.cx-direct { display: flex; align-items: center; gap: 14px; padding: 18px; color: var(--text); transition: transform .2s, box-shadow .2s; }
.cx-direct:hover { transform: translateY(-2px); box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 20px 36px -24px rgba(20, 30, 60, .5); }
.cx-direct > i { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--text); color: #fff; }
.cx-direct > i .int-icon { width: 18px; height: 18px; color: inherit; }
.cx-direct span { display: grid; gap: 1px; min-width: 0; }
.cx-direct small { color: var(--faint); font-size: 12.5px; }
.cx-direct strong { font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }
.cx-direct em { color: var(--body); font-size: 13px; font-style: normal; }
.cx-next { padding: 18px 20px; }
.cx-next small { display: block; margin-bottom: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.cx-next ol { list-style: none; counter-reset: n; margin: 0; padding: 0; display: grid; gap: 10px; }
.cx-next li { counter-increment: n; display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--text); }
.cx-next li::before { content: counter(n); display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--tint); color: var(--tone); font-family: var(--mono); font-size: 12px; }

/* Quick links */
.cx-links a { color: var(--text); }
.cx-links h3 span { display: inline-block; transition: transform .2s; }
.cx-links a:hover h3 span { transform: translateX(4px); }

@media (max-width: 1000px) {
  .cx-split { grid-template-columns: 1fr; }
  .cx-form-wrap { border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 640px) {
  .cx-form-wrap { padding: 24px 20px 28px; }
  .cx-form { grid-template-columns: 1fr; }
  .cx-art { padding: 18px; }
  .cx-chips span { height: 34px; padding: 0 12px; font-size: 13.5px; }
}

/* ---------- Privacy policy and Terms (pages/Legal.jsx) ---------- */

.lg-body { max-width: 760px; margin: 0 auto; padding: 36px 32px 44px; }
.lg-status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 8px; color: var(--faint); font-size: 13.5px; }
.lg-body section { padding: 24px 0 8px; scroll-margin-top: 100px; }
.lg-body section + section { border-top: 1px solid var(--line); }
.lg-body h2 { display: flex; align-items: baseline; gap: 14px; margin: 0 0 12px; font-size: 23px; line-height: 1.2; }
.lg-body h2 b { flex: none; font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--tone); }
.lg-body p { margin: 0 0 14px; color: var(--body); font-size: 16px; line-height: 1.7; }
.lg-body ul { margin: 0 0 14px; padding: 0; list-style: none; display: grid; gap: 8px; }
.lg-body li { position: relative; padding-left: 20px; color: var(--body); font-size: 16px; line-height: 1.65; }
.lg-body li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 5px; height: 5px; border-radius: 50%; background: var(--text); }
.lg-body a, .lg-page .pq-note a { color: var(--text); font-weight: 500; border-bottom: 1px solid currentColor; }
/* Details still to confirm stand out, so a draft can't pass as final. */
.legal-tbc { padding: 1px 6px; border-radius: 5px; background: #fff3c4; color: #7a5a00; box-shadow: inset 0 -1px 0 #f0d77a; }

@media (max-width: 640px) {
  .lg-body { padding: 20px 20px 28px; }
  .lg-body h2 { font-size: 21px; }
  .lg-body p, .lg-body li { font-size: 15.5px; }
}

/* Phones: four-up feature cells with just a title (e.g. Pricing > Safety)
   become a compact list, icon beside the text. */
@media (max-width: 640px) {
  .pq-four .pq-feature:not(:has(p)) { display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 14px; padding: 16px 20px; text-align: left; }
  .pq-four .pq-feature:not(:has(p)) i { flex: none; margin: 0; }
  .pq-four .pq-feature:not(:has(p)) h3 { margin: 0; font-size: 16px; }
}

/* ---------- Support regions (components/SupportRegions.jsx) ---------- */

.sr-regions { list-style: none; margin: 0; padding: 0; }
.sr-regions h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.25; }
.sr-regions p { margin: 0 0 16px; color: var(--body); font-size: 15px; line-height: 1.55; }
/* Each card's padding fills the cell, so cards in a row share one height. */
.sr-regions .pq-cell-pad { flex: 1; display: flex; flex-direction: column; align-items: flex-start; }

/* Trust & Legal: tables and link rows inside .lg-body (pages/Legal.jsx Body). */
.lg-table { margin: 0 0 18px; overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.lg-table table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.55; }
.lg-table th, .lg-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); color: var(--body); }
.lg-table thead th { border-top: 0; background: var(--soft); color: var(--text); font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .02em; }
.lg-table tbody th { color: var(--text); font-weight: 600; min-width: 140px; }
.lg-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.lg-body a:focus-visible, .tr-card:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

/* /trust landing cards. */
.tr-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.tr-card { display: flex; flex-direction: column; gap: 8px; padding: 26px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--body); text-decoration: none; }
.tr-card:nth-child(3n) { border-right: 0; }
.tr-card strong { color: var(--text); font-size: 18px; }
.tr-card span { font-size: 15px; line-height: 1.55; }
.tr-card em { margin-top: auto; padding-top: 6px; font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--tone, var(--text)); }
.tr-card:hover strong { text-decoration: underline; }
@media (max-width: 900px) { .tr-grid { grid-template-columns: 1fr 1fr; } .tr-card:nth-child(3n) { border-right: 1px solid var(--line); } .tr-card:nth-child(2n) { border-right: 0; } }
@media (max-width: 600px) { .tr-grid { grid-template-columns: 1fr; } .tr-card { border-right: 0 !important; padding: 22px 20px; } }

/* /trust/architecture diagram (components/trust/ArchitectureDiagram.jsx). */
.ta { margin: 0; padding: 32px; display: grid; gap: 14px; }
.ta h2 { margin: 0 0 4px; font-size: 22px; }
.ta-row { display: grid; gap: 14px; }
.ta-2 { grid-template-columns: 1fr 1fr; }
.ta-4 { grid-template-columns: repeat(4, 1fr); }
.ta-box { padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.ta-box strong { display: block; color: var(--text); font-size: 15px; }
.ta-box span { display: block; margin-top: 4px; color: var(--body); font-size: 13.5px; line-height: 1.5; }
.ta-box ul { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.ta-box li { padding: 6px 8px; border-radius: 6px; background: var(--soft); color: var(--text); font-size: 13.5px; }
.ta-box li small { display: block; color: var(--body); font-size: 12.5px; }
.ta-users { text-align: center; }
.ta-edge { background: #f6f3ff; }
.ta-net { padding: 16px; border: 1.5px dashed var(--faint); border-radius: 14px; display: grid; gap: 14px; }
.ta-net > p { margin: 0; font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.ta-proxy { text-align: center; background: #effaf3; }
.ta-tier { border-top: 3px solid var(--text); }
.ta-app { border-top-color: #e8862a; }
.ta-ext .ta-box { background: var(--soft); }
.ta-ext .ta-box em { display: block; margin-bottom: 4px; font-style: normal; font-family: var(--mono); font-size: 11.5px; color: var(--faint); }
.ta-arrow { text-align: center; color: var(--faint); line-height: 1; font-size: 18px; }
.ta-note { margin: 0; text-align: center; color: var(--faint); font-family: var(--mono); font-size: 12px; }
.ta figcaption { color: var(--body); font-size: 14.5px; line-height: 1.6; }
@media (max-width: 900px) { .ta-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .ta { padding: 20px; } .ta-2, .ta-4 { grid-template-columns: 1fr; } }
.ta-list-title { margin: 8px 0 8px; font-size: 17px; }
.ta-list { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--body); font-size: 15px; line-height: 1.6; }
/* Compare page (pages/Compare.jsx). Builds on frame.css and frame-pages.css. */

/* ---------- vs ChatGPT or Claude ---------- */

.cmp-answer { padding: 30px 40px; border-bottom: 1px solid var(--line); }
.cmp-answer p { max-width: 860px; margin: 0; color: var(--text); font-size: 18px; line-height: 1.6; }
.cmp-answer .cmp-same { display: flex; gap: 12px; margin-top: 18px; padding: 14px 18px; border-radius: 12px; background: var(--tint); color: var(--text); font-size: 15.5px; line-height: 1.55; }
.cmp-same .int-icon { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--tone); }
.cmp-vs .ix-deploy-row p.cmp-col-entaura { background: color-mix(in srgb, var(--tint) 45%, #fff); color: var(--text); }
.cmp-vs .ix-deploy-row.head strong.cmp-col-entaura { color: var(--tone); }
.cmp-vs .ix-deploy-row.head strong.cmp-col-entaura .int-icon { color: var(--tone); }

/* ---------- Comparison sheet ---------- */

.cmp-sheet-wrap { position: relative; }
.cmp-pick { display: none; }
.cmp-sheet { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14.5px; table-layout: fixed; }
.cmp-sheet th, .cmp-sheet td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp-sheet thead th:first-child, .cmp-sheet tbody th { width: 21%; }
.cmp-sheet td + td, .cmp-sheet thead th + th, .cmp-sheet tbody th + td { border-left: 1px solid var(--line); }
.cmp-sheet thead th { position: sticky; top: 118px; z-index: 2; padding-top: 16px; padding-bottom: 16px; vertical-align: bottom; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); }
.cmp-sheet thead strong { display: block; font-family: var(--sans); font-size: 15.5px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
.cmp-sheet thead small { display: block; margin-top: 3px; color: var(--faint); font-size: 12.5px; font-weight: 400; line-height: 1.35; }
.cmp-sheet thead th.us strong { color: var(--tone); }
.cmp-sheet .us { background: color-mix(in srgb, var(--tint) 45%, #fff); }
.cmp-sheet thead th.us { background: color-mix(in srgb, var(--tint) 80%, rgba(255, 255, 255, .94)); }
.cmp-th-label { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--faint); }
.cmp-sheet tbody th { font-weight: 500; color: var(--text); line-height: 1.4; }
.cmp-group th { padding: 11px 18px; background: var(--soft); font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text); }
.cmp-sheet tbody tr:last-child > * { border-bottom: 0; }
.cmp-cell-name { display: none; }
.cmp-cell { display: flex; align-items: flex-start; gap: 9px; color: var(--body); line-height: 1.45; }
.cmp-sheet td.us .cmp-cell { color: var(--text); }

/* Body font for the page's intros, table headings and labels; section
   titles keep the site's serif. */
.cmp-page .pq-head p { font-family: var(--sans); font-size: 15.5px; line-height: 1.6; }
.cmp-vs .ix-deploy-row.head strong { font-family: var(--sans); font-size: 16px; font-weight: 600; }

/* Level marks: filled tick, half circle, dashed "you build it", soft dash. */
.cmp-level { flex: none; position: relative; display: inline-block; width: 16px; height: 16px; margin-top: 2px; border-radius: 50%; }
.cmp-level.yes { background: #1d9a4b; }
.cmp-level.yes::after { content: ""; position: absolute; left: 5.5px; top: 3px; width: 4px; height: 7.5px; border: solid #fff; border-width: 0 1.8px 1.8px 0; transform: rotate(45deg); }
.cmp-level.some { border: 1.8px solid #c98a1b; background: linear-gradient(90deg, #c98a1b 50%, transparent 50%); }
.cmp-level.build { border: 1.8px dashed var(--faint); }
.cmp-level.na { width: 12px; height: 2px; margin: 9px 2px 0; border-radius: 1px; background: var(--line-strong); }

.cmp-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 0; padding: 16px 28px; border-top: 1px solid var(--line); color: var(--body); font-size: 14px; }
.cmp-legend li { display: flex; align-items: center; gap: 8px; }
.cmp-legend .cmp-level { margin-top: 0; }
.cmp-legend .cmp-level.na { margin: 0 2px; }

/* ---------- Who it fits ---------- */

.cmp-else li span strong { color: var(--text); font-weight: 600; }
.cmp-else li { color: var(--body); }

@media (max-width: 1023px) {
  .cmp-vs .ix-deploy-row p b { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .03em; }
  .cmp-answer { padding: 22px 20px; }
  .cmp-answer p { font-size: 16.5px; }

  /* entaura beside one other option at a time, picked above the rows. */
  /* A solid bar right under the section nav, so rows never show around it. */
  .cmp-pick { position: sticky; top: 124px; z-index: 3; display: block; padding: 10px 16px; background: #fff; border-bottom: 1px solid var(--line); }
  .cmp-pick-track { display: flex; gap: 4px; padding: 4px; overflow-x: auto; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); scrollbar-width: none; }
  .cmp-pick-track::-webkit-scrollbar { display: none; }
  .cmp-pick button { flex: none; padding: 8px 12px; border: 0; border-radius: 999px; background: none; color: var(--body); font: inherit; font-size: 13.5px; font-weight: 500; white-space: nowrap; cursor: pointer; }
  .cmp-pick button.on { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
  .cmp-sheet, .cmp-sheet thead, .cmp-sheet tbody, .cmp-sheet tr, .cmp-sheet th, .cmp-sheet td { display: block; width: auto; }
  .cmp-sheet thead { display: none; }
  .cmp-sheet tbody tr { padding: 14px 20px; border-bottom: 1px solid var(--line); }
  .cmp-sheet tbody tr.cmp-group { padding: 0; }
  .cmp-sheet tbody tr:not(.cmp-group) > * { padding: 0; border: 0; background: none; }
  .cmp-sheet tbody tr:not(.cmp-group) th { width: auto; margin-bottom: 10px; font-size: 15px; }
  .cmp-sheet td { display: none; }
  .cmp-sheet td.us, .cmp-sheet[data-focus="1"] td[data-col="1"], .cmp-sheet[data-focus="2"] td[data-col="2"], .cmp-sheet[data-focus="3"] td[data-col="3"], .cmp-sheet[data-focus="4"] td[data-col="4"] { display: grid; grid-template-columns: minmax(0, 104px) 1fr; gap: 12px; padding: 6px 0; }
  .cmp-sheet tbody tr:not(.cmp-group) > td:not(.us) { margin-top: 6px; border-top: 1px dashed var(--line); padding-top: 10px; }
  .cmp-cell-name { display: block; font-family: var(--sans); font-size: 11.5px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--faint); padding-top: 3px; }
  .cmp-sheet td.us .cmp-cell-name { color: var(--tone); }
  .cmp-sheet tbody tr.cmp-group th { width: auto; padding: 10px 20px; border-bottom: 0; }
  .cmp-legend { padding: 14px 20px; gap: 8px 18px; font-size: 13px; }
}

/* ---------- Colour ----------
   Blue, teal and violet from the brand mark, used one per card in turn so the
   page isn't a wall of grey. entaura.ai's own column carries the full
   gradient; "something else may fit" stays a neutral slate. */

.cmp-page {
  --c-blue: #2864e8; --c-blue-tint: #e9f1fe;
  --c-teal: #1f9c86; --c-teal-tint: #e2f6f1;
  --c-violet: #8457d4; --c-violet-tint: #f0e9ff;
  --c-grad: linear-gradient(90deg, var(--c-blue), var(--c-teal) 55%, var(--c-violet));
  --acc: var(--c-blue); --acc-tint: var(--c-blue-tint);
}
.cmp-page .pq-cells > :nth-child(3n + 2) { --acc: var(--c-teal); --acc-tint: var(--c-teal-tint); }
.cmp-page .pq-cells > :nth-child(3n) { --acc: var(--c-violet); --acc-tint: var(--c-violet-tint); }

/* Feature cards: tinted icon, and a gradient line that draws in on hover. */
.cmp-page .pq-feature { position: relative; }
.cmp-page .pq-feature i { background: var(--acc-tint); border-color: color-mix(in srgb, var(--acc) 22%, transparent); color: var(--acc); box-shadow: none; transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.cmp-page .pq-feature::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--acc); transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.cmp-page .pq-feature:hover { background: color-mix(in srgb, var(--acc-tint) 35%, #fff); }
.cmp-page .pq-feature:hover::before { transform: scaleX(1); }
.cmp-page .pq-feature:hover i { transform: translateY(-2px); }

/* vs ChatGPT or Claude: entaura.ai's answers sit on a tint with a gradient edge. */
.cmp-answer .cmp-same { background: linear-gradient(100deg, var(--c-blue-tint), var(--c-violet-tint)); border: 1px solid color-mix(in srgb, var(--c-blue) 14%, transparent); }
.cmp-vs .ix-deploy-row p.cmp-col-entaura { position: relative; background: linear-gradient(180deg, color-mix(in srgb, var(--c-blue-tint) 75%, #fff), color-mix(in srgb, var(--c-blue-tint) 30%, #fff)); }
.cmp-vs .ix-deploy-row p.cmp-col-entaura::before { content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--c-blue), var(--c-violet)); }
.cmp-vs .ix-deploy-row.head strong.cmp-col-entaura { position: relative; }
.cmp-vs .ix-deploy-row.head strong.cmp-col-entaura::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--c-grad); }
.cmp-vs .ix-deploy-row p.cmp-col-entaura b { color: var(--c-blue); }

/* Comparison sheet: entaura.ai's column under a gradient bar, tinted groups. */
.cmp-sheet thead th.us { background: var(--c-grad) top / 100% 3px no-repeat, color-mix(in srgb, var(--c-blue-tint) 90%, #fff); }
.cmp-sheet .us { background: color-mix(in srgb, var(--c-blue-tint) 50%, #fff); }
.cmp-group th { background: linear-gradient(90deg, color-mix(in srgb, var(--c-blue-tint) 70%, var(--soft)), var(--soft) 55%); color: var(--c-blue); }
.cmp-group th::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 9px 1px 0; border-radius: 2px; background: var(--c-grad); vertical-align: middle; }
.cmp-level.yes { background: #17924a; }
.cmp-level.some { border-color: #d08a14; background: linear-gradient(90deg, #d08a14 50%, transparent 50%); }
@media (hover: hover) and (min-width: 1024px) {
  .cmp-sheet tbody tr:not(.cmp-group) > * { transition: background-color .2s; }
  .cmp-sheet tbody tr:not(.cmp-group):hover > :not(.us) { background-color: #fafaf8; }
  .cmp-sheet tbody tr:not(.cmp-group):hover > .us { background-color: color-mix(in srgb, var(--c-blue-tint) 85%, #fff); }
}

/* Who it fits: entaura.ai's card on a soft tint; the other card in slate. */
.cmp-fit > .pq-cell:first-child { background: linear-gradient(180deg, color-mix(in srgb, var(--c-blue-tint) 60%, #fff), #fff 70%); }
.cmp-fit > .pq-cell:first-child .ix-helps .int-icon { color: #17924a; }
.cmp-fit > .pq-cell:last-child { --tone: #64748b; }

/* Timeline: tinted icons and week pills; a bar fills under each phase as it appears. */
.cmp-page .ix-phases .pq-cell-pad > i { background: var(--acc-tint); border-color: color-mix(in srgb, var(--acc) 22%, transparent); color: var(--acc); }
.cmp-page .ix-phases .pq-cell-head { position: relative; }
.cmp-page .ix-phases .pq-cell-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--acc); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1s cubic-bezier(.2, .7, .2, 1) calc(var(--delay, 0ms) + 250ms); }
.cmp-page .ix-phases .pq-cell.in .pq-cell-head::after { transform: scaleX(1); }

/* Regions and FAQ. */
.cmp-page .sr-regions > li { --tone: var(--acc); }
.cmp-page .sr-regions > li:last-child { --tone: #64748b; }
.cmp-page .ix-faq details { transition: background-color .25s, box-shadow .25s; }
.cmp-page .ix-faq details[open] { background: color-mix(in srgb, var(--c-blue-tint) 30%, #fff); box-shadow: inset 3px 0 0 var(--c-blue); }
.cmp-page .ix-faq details[open] summary { color: var(--c-blue); }

/* ---------- Motion ----------
   Smoother easing everywhere. Sheet rows fade in (no slide on desktop, where
   they sit under a sticky header) and their level marks pop in after. On
   phones, where cards stack, reveals are shorter and don't wait on a stagger
   meant for side-by-side cards. */

main.cmp-page .reveal { transition-duration: .8s; transition-timing-function: cubic-bezier(.2, .7, .2, 1); }
@media (min-width: 1024px) { main.cmp-page .cmp-sheet tr.reveal { transform: none; transition-duration: .5s; } }
main.cmp-page tr.reveal .cmp-level { opacity: 0; transform: scale(.4); transition: opacity .3s ease calc(var(--delay, 0ms) + 160ms), transform .45s cubic-bezier(.3, 1.6, .5, 1) calc(var(--delay, 0ms) + 160ms); }
main.cmp-page tr.reveal.in .cmp-level { opacity: 1; transform: none; }

/* Reading progress along the bottom of the section bar, where supported. */
@supports (animation-timeline: scroll()) {
  .cmp-page .int-nav::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--c-grad); transform: scaleX(0); transform-origin: 0 50%; animation: cmp-progress linear both; animation-timeline: scroll(root block); }
}
@keyframes cmp-progress { to { transform: scaleX(1); } }
@keyframes cmp-swap { from { opacity: 0; transform: translateX(10px); } }

@media (max-width: 1023px) {
  /* Picking another option slides its answers in. */
  .cmp-sheet td:not(.us) { animation: cmp-swap .35s cubic-bezier(.2, .7, .2, 1); }
  .cmp-pick button { transition: background-color .2s, color .2s, box-shadow .2s; }
  .cmp-pick button.on { color: var(--c-blue); }
  /* entaura.ai's answer on a rounded tint; every answer shares its side padding so the labels line up. */
  .cmp-sheet tbody tr:not(.cmp-group) > td { margin-left: -10px; margin-right: -10px; padding-left: 10px; padding-right: 10px; }
  .cmp-sheet tbody tr:not(.cmp-group) > td.us { padding-top: 8px; padding-bottom: 8px; border-radius: 10px; background: color-mix(in srgb, var(--c-blue-tint) 60%, #fff); }
  .cmp-sheet td.us .cmp-cell-name { color: var(--c-blue); }
  .cmp-vs .ix-deploy-row p.cmp-col-entaura::before { left: 0; }
}

@media (max-width: 640px) {
  main.cmp-page .reveal { transform: translateY(10px); transition-duration: .55s; transition-delay: 0s; }
  main.cmp-page .reveal.in { transform: none; }
  main.cmp-page tr.reveal .cmp-level { transition-delay: .12s; }
  .cmp-page .ix-phases .pq-cell-head::after { transition-delay: .15s; }
}

@media (prefers-reduced-motion: reduce) {
  main.cmp-page .reveal, main.cmp-page .reveal.in { opacity: 1; transform: none; transition: none; }
  main.cmp-page tr.reveal .cmp-level { opacity: 1; transform: none; transition: none; }
  .cmp-page .ix-phases .pq-cell-head::after { transform: scaleX(1); transition: none; }
  .cmp-page .int-nav::after, .cmp-sheet td:not(.us) { animation: none; }
  .cmp-page .int-nav::after { display: none; }
  .cmp-page .pq-feature::before, .cmp-page .pq-feature i { transition: none; }
}
/* ---------- Request a demo (pages/Demo.jsx) ----------
   The framed layout (frame.css): what to expect on the left, the Google
   Calendar booking page on a grain panel on the right. */

.dm-split { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); }

/* What to expect: three numbered rows */
.dm-points { list-style: none; margin: 0; padding: 0; border-right: 1px solid var(--line); }
.dm-points li { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 4px; padding: 26px 26px 28px; }
.dm-points li + li { border-top: 1px solid var(--line); }
.dm-step { grid-column: 1 / -1; margin-bottom: 14px; font-family: var(--mono); font-size: 12px; color: var(--tone); }
.dm-points i { grid-row: span 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--text); }
.dm-points i .int-icon { width: 16px; height: 16px; color: inherit; }
.dm-points strong { font-size: 15.5px; font-weight: 600; line-height: 1.35; }
.dm-points p { margin: 0; color: var(--body); font-size: 14.5px; line-height: 1.55; }

/* The booking page in a white card on the panel, with a soft shimmer until it has loaded. */
.dm-art { padding: clamp(14px, 2.5vw, 28px); }
.dm-booking { position: relative; min-height: 760px; border-radius: 14px; background: #fff; overflow: hidden; box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 30px 60px -36px rgba(20, 30, 60, .45); }
.dm-booking::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #fff, var(--soft), #fff); background-size: 200% 100%; animation: dm-shimmer 1.4s linear infinite; }
.dm-booking.loaded::before, .dm-booking:has(.dm-offline)::before { display: none; }
.dm-booking iframe { position: relative; display: block; width: 100%; height: 760px; border: 0; }
@keyframes dm-shimmer { to { background-position: -200% 0; } }

.dm-offline { display: grid; justify-items: center; gap: 12px; max-width: 420px; margin: 0 auto; padding: 200px 24px; text-align: center; }
.dm-offline .int-icon { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--card); color: var(--text); }
.dm-offline h2 { margin: 6px 0 0; font-family: var(--sans); font-size: 19px; font-weight: 600; }
.dm-offline p { margin: 0; color: var(--body); font-size: 15px; line-height: 1.6; }
.dm-offline a, .dm-page .pq-note a { color: var(--text); font-weight: 600; border-bottom: 1px solid currentColor; }

@media (max-width: 1000px) {
  .dm-split { grid-template-columns: 1fr; }
  /* The three points sit side by side above the calendar. */
  .dm-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-right: 0; border-bottom: 1px solid var(--line); }
  .dm-points li + li { border-top: 0; border-left: 1px solid var(--line); }
}

@media (max-width: 640px) {
  /* On phones the calendar comes first; what to expect follows it. */
  .dm-split > .pq-panel { order: -1; }
  .dm-points { grid-template-columns: 1fr; border-bottom: 0; border-top: 1px solid var(--line); }
  .dm-points li { padding: 18px 20px; }
  .dm-points li + li { border-left: 0; border-top: 1px solid var(--line); }
  .dm-step { margin-bottom: 10px; }
  .dm-art { padding: 8px; }
  .dm-booking { min-height: 900px; border-radius: 10px; }
  .dm-booking iframe { height: 900px; }
  .dm-offline { padding: 120px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .dm-booking::before { animation: none; }
}
/* Home "Mobile app" section (components/home/MobileApp.jsx).
   Everything inside a device is sized in em, so a device scales from the rail's font-size. */

.h-mobile { --ma-blue: #2864e8; overflow: clip; padding-bottom: 96px; }

/* ---------- Head ---------- */

.ma-head { max-width: 900px; margin: 0 auto 72px; text-align: center; }
.ma-head h2 { margin: 18px 0 0; font-size: clamp(44px, 7vw, 96px); font-weight: 500; line-height: .98; letter-spacing: -.055em; }
.ma-head p { max-width: 620px; margin: 24px auto 0; color: var(--body); font-size: 19px; }
.ma-stores { justify-content: center; margin-top: 30px; }
.ma-head .ma-stores-note { margin-top: 12px; color: var(--faint); font-size: 13px; }
.ma-actions { align-items: center; }

/* ---------- Scroll story: text on the left, a pinned phone on the right ---------- */

.ma-story { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; }
.ma-steps { position: relative; list-style: none; margin: 0; padding: 0 0 0 36px; }
.ma-steps::before, .ma-steps::after { content: ""; position: absolute; left: 7px; top: 0; width: 2px; border-radius: 2px; }
.ma-steps::before { bottom: 0; background: var(--line); }
.ma-steps::after { height: calc(var(--progress) * 100%); background: linear-gradient(180deg, #8fb4f7, var(--ma-blue)); transition: height .6s ease; }
.ma-step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; }
.ma-step:first-child { min-height: 64vh; justify-content: flex-start; padding-top: 18vh; }
.ma-step-text { position: relative; max-width: 460px; opacity: .28; transition: opacity .5s ease, transform .5s ease; transform: translateY(8px); }
.ma-step.active .ma-step-text { opacity: 1; transform: none; }
.ma-step-text::before {
  content: ""; position: absolute; left: -36px; top: 10px; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 2px solid var(--line-strong); transition: border-color .4s, box-shadow .4s;
}
.ma-step.active .ma-step-text::before { border-color: var(--ma-blue); box-shadow: 0 0 0 5px rgba(40, 100, 232, .14); }
.ma-num { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.ma-num b { font-weight: 500; color: var(--ma-blue); }
.ma-num em { padding: 2px 9px; border-radius: 999px; background: var(--watch-tint); color: var(--watch); font-style: normal; letter-spacing: .04em; }
.ma-step-text h3 { margin: 14px 0 14px; font-size: clamp(32px, 3.6vw, 50px); font-weight: 500; line-height: 1.02; letter-spacing: -.045em; }
.ma-step-text p { margin: 0; color: var(--body); font-size: 18px; line-height: 1.55; }
.ma-step-device { display: none; }

.ma-pin { position: relative; }
.ma-stage {
  position: sticky; top: max(84px, calc(50vh - 360px)); height: 720px;
  display: grid; place-items: center; isolation: isolate; border-radius: 40px; overflow: hidden;
  background:
    radial-gradient(70% 60% at 85% 105%, #c9cefb 0%, transparent 65%),
    radial-gradient(60% 55% at 0% 100%, #e0d9fc 0%, transparent 60%),
    linear-gradient(170deg, #f7f7ff 0%, #eeeefd 50%, #e4e6fc 100%);
  transition: background .6s;
}
.ma-stage.s-certified { background: radial-gradient(70% 60% at 85% 105%, #3a3f9a 0%, transparent 65%), radial-gradient(60% 55% at 0% 100%, #2a2368 0%, transparent 60%), linear-gradient(170deg, #1a1f45 0%, #10142e 100%); }
.ma-halo {
  position: absolute; z-index: -1; left: 50%; top: 50%; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0));
}
.ma-stage.s-certified .ma-halo { background: radial-gradient(closest-side, rgba(90, 110, 255, .35), transparent); }
.ma-stack { position: relative; width: 27em; height: 58.5em; font-size: 10.6px; }
.ma-layer { position: absolute; inset: 0; opacity: 0; transform: scale(.97) translateY(1em); transition: opacity .55s ease, transform .55s cubic-bezier(.2, .8, .2, 1); }
.ma-layer.on { opacity: 1; transform: none; }
.ma-stage.s-wrist .ma-layer.on { transform: translateX(-3.5em) scale(.94); filter: saturate(.9); }

.ma-float-slot { position: absolute; z-index: 2; opacity: 0; pointer-events: none; transition: opacity .5s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.ma-float-slot.left { left: 20px; top: 13%; transform: translate(-16px, 10px); }
.ma-float-slot.right { right: 20px; bottom: 15%; transform: translate(16px, 10px); }
.ma-float-slot.on { opacity: 1; transform: none; transition-delay: .15s; }
.ma-float-slot.right.on { transition-delay: .28s; }
.ma-float {
  display: flex; align-items: center; gap: 12px; min-width: 190px; max-width: 240px; padding: 12px 16px 12px 12px;
  border: 1px solid rgba(255, 255, 255, .9); border-radius: 20px;
  background: rgba(255, 255, 255, .82); backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 18px 40px -16px rgba(35, 40, 120, .35), 0 2px 6px rgba(35, 40, 120, .06);
  text-align: left;
}
.ma-float > i { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: #e8eeff; color: var(--ma-blue); }
.ma-float > i .ma-ic { width: 20px; height: 20px; stroke-width: 2; }
.ma-float.t-red > i { background: #ffe6e3; color: #d63a2c; }
.ma-float.t-green > i { background: #dff5e6; color: #1e8a43; }
.ma-float.t-amber > i { background: #fff1d9; color: #c27a0e; }
.ma-float span { display: flex; flex-direction: column; line-height: 1.25; }
.ma-float small { font-size: 12px; color: var(--faint); }
.ma-float b { font-size: 17px; font-weight: 600; letter-spacing: -.01em; color: var(--text); }
.ma-float em { font-size: 12px; font-style: normal; color: var(--body); }

.ma-wrist-slot {
  position: absolute; z-index: 3; right: 18px; bottom: 0; font-size: 6.8px;
  opacity: 0; transform: translate(40px, 40px) rotate(6deg); transition: opacity .5s ease, transform .7s cubic-bezier(.2, .8, .2, 1);
}
.ma-wrist-slot.on { opacity: 1; transform: rotate(-4deg); transition-delay: .1s; }

.ma-dots { position: absolute; left: 50%; bottom: 20px; display: flex; gap: 6px; transform: translateX(-50%); }
.ma-dots i { width: 6px; height: 6px; border-radius: 6px; background: rgba(40, 50, 120, .2); transition: width .4s, background .4s; }
.ma-dots i.on { width: 22px; background: var(--ma-blue); }
.ma-stage.s-certified .ma-dots i:not(.on) { background: rgba(255, 255, 255, .25); }

.ma-note { margin: 20px 0 0; text-align: right; font-size: 12px; color: var(--faint); }

/* ---------- Footer row ---------- */

.ma-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.ma-extras { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; }
.ma-extras li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--body); }
.ma-extras .ma-ic { width: 16px; height: 16px; padding: 3px; border-radius: 50%; background: #eef2ff; color: var(--ma-blue); stroke-width: 3; }
.ma-actions { display: flex; flex-wrap: wrap; gap: 10px; flex: none; }

/* ---------- iPhone frame ---------- */

.ma-phone {
  position: relative; width: 27em; height: 58.5em; padding: .55em; flex: none;
  border-radius: 4.6em;
  background: linear-gradient(135deg, #f1f1f4 0%, #b9bbc3 18%, #e8e8ec 42%, #9fa2ab 70%, #dedfe4 100%);
  box-shadow: 0 0 0 .1em #8d9099, 0 3.4em 5em -2em rgba(35, 40, 110, .45), 0 1em 2em -1em rgba(35, 40, 110, .25);
}
.ma-btn { position: absolute; width: .35em; border-radius: .2em; background: linear-gradient(90deg, #8e9099, #c9cad0); }
.ma-btn.b1 { left: -.3em; top: 9em; height: 2.6em; }
.ma-btn.b2 { left: -.3em; top: 13.5em; height: 5em; }
.ma-btn.b3 { left: -.3em; top: 19.5em; height: 5em; }
.ma-btn.b4 { right: -.3em; top: 15em; height: 7.5em; }

.ma-screen {
  --s-bg: #fbfbfe; --s-ink: #0f1430; --s-sub: #646a82; --s-card: #ffffff; --s-line: #e4e6f0; --s-soft: #f1f3f9;
  position: relative; height: 100%; overflow: hidden; display: flex; flex-direction: column;
  border: .45em solid #07080b; border-radius: 4.1em; background: var(--s-bg);
  color: var(--s-ink); font-family: "Plus Jakarta Sans", var(--sans); font-size: 1em; line-height: 1.35; text-align: left;
}
.ma-phone.dark .ma-screen { --s-bg: #0c1124; --s-ink: #eef1ff; --s-sub: #9aa3c4; --s-card: #151b33; --s-line: #252c4a; --s-soft: #1b2240; }

.ma-status { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; padding: 1.25em 2.2em .5em 2.6em; flex: none; }
.ma-status b { font-size: 1.3em; font-weight: 700; }
.ma-island { position: absolute; left: 50%; top: .9em; width: 8.2em; height: 2.4em; margin-left: -4.1em; border-radius: 2em; background: #000; }
.ma-sys { display: flex; align-items: center; gap: .4em; }
.ma-signal { display: flex; align-items: flex-end; gap: .15em; height: .95em; }
.ma-signal i { width: .28em; border-radius: .1em; background: currentColor; }
.ma-signal i:nth-child(1) { height: 35%; } .ma-signal i:nth-child(2) { height: 55%; } .ma-signal i:nth-child(3) { height: 78%; } .ma-signal i:nth-child(4) { height: 100%; }
.ma-sys svg { width: 1.3em; height: 1.3em; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.ma-sys svg circle { fill: currentColor; stroke: none; }
.ma-sys em { position: relative; display: block; width: 2.2em; height: 1.05em; padding: .12em; border: .1em solid currentColor; border-radius: .35em; opacity: .9; }
.ma-sys em i { display: block; width: 75%; height: 100%; border-radius: .15em; background: currentColor; }
.ma-home-bar { position: absolute; left: 50%; bottom: .6em; width: 10em; height: .4em; margin-left: -5em; border-radius: 1em; background: var(--s-ink); }

.ma-ic { width: 1.6em; height: 1.6em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.ma-mark { display: inline-flex; align-items: center; gap: .35em; font-family: var(--display); font-size: 1.9em; letter-spacing: -.03em; color: var(--s-ink); }
.ma-mark img { height: .8em; width: auto; }

/* Chat top bar */
.ma-top { display: flex; align-items: center; gap: 1em; padding: .7em 1.6em .8em; flex: none; border-bottom: 1px solid transparent; }
.ma-title { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.ma-title b { font-size: 1.4em; font-weight: 700; letter-spacing: -.01em; }
.ma-title small { max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 1em; color: var(--s-sub); }
.ma-title.left { align-items: flex-start; text-align: left; }
.ma-top-tools { display: flex; align-items: center; gap: .9em; }
.ma-top .ma-ic { width: 1.7em; height: 1.7em; }
.ma-bell { position: relative; display: inline-flex; }
.ma-bell em { position: absolute; right: -.4em; top: -.45em; display: grid; place-items: center; width: 1.3em; height: 1.3em; border-radius: 50%; background: #e5372b; color: #fff; font-size: .8em; font-style: normal; font-weight: 700; }

/* New chat */
.ma-hello { text-align: center; padding: 1.8em 1.8em 1.3em; }
.ma-hello img { height: 3.6em; width: auto; }
.ma-hello h4 { margin: .25em 0 .3em; font-family: "Instrument Serif", Georgia, serif; font-size: 2.9em; font-weight: 400; line-height: 1.05; letter-spacing: -.01em; color: var(--s-ink); }
.ma-hello p { margin: 0; color: var(--s-sub); font-size: 1.2em; }
.ma-suggest { display: grid; grid-template-columns: 1fr 1fr; gap: .8em; padding: 0 1.5em; }
.ma-suggest > div { padding: 1.1em 1.1em 1.2em; border: 1px solid var(--s-line); border-radius: 1.4em; background: var(--s-card); }
.ma-suggest .ma-ic { width: 1.7em; height: 1.7em; color: var(--ma-blue); margin-bottom: .7em; }
.ma-suggest span { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 1.1em; line-height: 1.38; }

.ma-composer-wrap { margin-top: auto; padding: 0 1.3em 2.2em; }
.ma-composer { padding: 1.1em 1.1em .9em; border: 1px solid var(--s-line); border-radius: 2em; background: var(--s-card); box-shadow: 0 .6em 1.6em -1em rgba(30, 40, 90, .25); }
.ma-input { min-height: 2.2em; font-size: 1.3em; color: var(--s-ink); white-space: nowrap; overflow: hidden; }
.ma-ph { color: var(--s-sub); }
.ma-caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 1px; vertical-align: -.15em; background: var(--ma-blue); animation: ma-blink 1s steps(2) infinite; }
.ma-composer-row { display: flex; align-items: center; gap: .6em; margin-top: .7em; }
.ma-round { display: grid; place-items: center; width: 2.9em; height: 2.9em; border: 1px solid var(--s-line); border-radius: 50%; background: var(--s-soft); }
.ma-round .ma-ic { width: 1.4em; height: 1.4em; }
.ma-model { display: inline-flex; align-items: center; gap: .5em; padding: .35em .8em .35em .35em; border: 1px solid var(--s-line); border-radius: 2em; background: var(--s-soft); font-size: 1.1em; font-weight: 500; }
.ma-model i { display: grid; place-items: center; width: 1.9em; height: 1.9em; border-radius: .55em; background: #11131a; color: #fff; }
.ma-model i svg { width: 1.3em; height: 1.3em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.ma-model .ma-ic { width: 1em; height: 1em; color: var(--s-sub); }
.ma-send { display: grid; place-items: center; width: 3em; height: 3em; margin-left: auto; border-radius: 50%; background: #c7d5fb; color: #fff; }
.ma-phone.dark .ma-send { background: #2c3c7a; }
.ma-send .ma-ic { width: 1.4em; height: 1.4em; }
.ma-fine { margin: .7em 0 0; text-align: center; font-size: .92em; color: var(--s-sub); }

/* Drawer */
.ma-drawer-wrap { position: relative; flex: 1; min-height: 0; margin-top: -3.4em; }
.ma-drawer-bg { position: absolute; inset: 0; padding-top: 3.4em; filter: blur(1px); }
.ma-drawer-bg::after { content: ""; position: absolute; inset: 0; background: rgba(40, 46, 80, .38); }
.ma-drawer {
  position: absolute; left: 0; top: 0; bottom: 0; width: 82%; display: flex; flex-direction: column;
  padding: 4.2em 1.4em 2.2em; border-radius: 0 3em 3em 0; background: var(--s-bg); box-shadow: 1em 0 3em rgba(20, 25, 60, .2);
}
.ma-drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2em; }
.ma-drawer-head .ma-mark { font-size: 2em; }
.ma-newchat { display: flex; align-items: center; justify-content: center; gap: .5em; padding: .9em; border-radius: 1.3em; background: var(--ma-blue); color: #fff; font-size: 1.3em; font-weight: 600; box-shadow: 0 .6em 1.2em -.6em rgba(40, 100, 232, .7); }
.ma-newchat .ma-ic { width: 1.1em; height: 1.1em; stroke-width: 2.4; }
.ma-watchrow { display: flex; align-items: center; gap: .8em; margin-top: .8em; padding: .7em .9em; border: 1px solid #f6cbc5; border-radius: 1.3em; background: #fff3f1; }
.ma-watchrow i { display: grid; place-items: center; width: 2.6em; height: 2.6em; border-radius: .8em; background: #ffe1dc; color: #d63a2c; }
.ma-watchrow i .ma-ic { width: 1.4em; height: 1.4em; }
.ma-watchrow b { flex: 1; font-size: 1.3em; font-weight: 600; }
.ma-watchrow em { padding: .3em .8em; border-radius: 1em; background: #ffe1dc; color: #c73226; font-style: normal; font-weight: 600; font-size: 1.05em; }
.ma-kbrow { display: flex; align-items: center; gap: .8em; margin-top: .7em; padding: .8em .9em; border-radius: 1.2em; background: #edf2ff; color: #2252c9; font-size: 1.2em; font-weight: 500; }
.ma-kbrow i { display: grid; place-items: center; width: 2.1em; height: 2.1em; border-radius: .6em; background: var(--ma-blue); color: #fff; font-style: normal; font-size: .78em; font-weight: 700; }
.ma-group-head { display: flex; justify-content: space-between; align-items: center; margin: 1.6em .4em .7em; font-size: .95em; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--s-sub); }
.ma-group-head .ma-ic { width: 1.5em; height: 1.5em; color: var(--ma-blue); }
.ma-group { display: flex; align-items: center; gap: .8em; padding: 0 .4em; }
.ma-group .ma-ic { color: var(--ma-blue); }
.ma-group b { flex: 1; font-size: 1.25em; font-weight: 600; }
.ma-group small { font-size: 1.1em; color: var(--s-sub); }
.ma-group .ma-ic:last-child { width: 1.2em; height: 1.2em; color: var(--s-sub); }
.ma-chat { display: flex; flex-direction: column; padding: .45em .4em .55em; }
.ma-chat b { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 1.2em; font-weight: 600; }
.ma-chat small { font-size: 1.02em; color: var(--s-sub); }
.ma-profile { display: flex; align-items: center; gap: .9em; margin-top: auto; padding: .8em; border: 1px solid var(--s-line); border-radius: 1.5em; background: var(--s-card); }
.ma-profile i { display: grid; place-items: center; width: 3.2em; height: 3.2em; border-radius: 50%; background: #121a3a; color: #fff; font-style: normal; font-weight: 700; font-size: 1.05em; }
.ma-profile span { flex: 1; display: flex; flex-direction: column; }
.ma-profile b { font-size: 1.25em; }
.ma-profile small { font-size: 1.05em; color: var(--s-sub); }
.ma-profile .ma-ic { color: var(--s-sub); stroke-width: 3.2; }

/* Answers */
.ma-screen:has(.ma-body) .ma-top { border-bottom-color: var(--s-line); }
.ma-body { display: flex; flex-direction: column; padding: 1em 1.4em 0; min-height: 0; overflow: hidden; }
.ma-body > * { flex-shrink: 0; }
.ma-q { align-self: flex-end; max-width: 85%; margin: 0 0 .9em; padding: .8em 1.1em; border-radius: 1.4em 1.4em .4em 1.4em; background: #e4ebff; color: #1d45b5; font-size: 1.12em; }
.ma-phone.dark .ma-q { background: #1d2a5c; color: #c8d6ff; }
.ma-a { margin: 0 0 .9em; font-size: 1.15em; line-height: 1.45; }
.ma-based { margin: 0 0 .9em; font-size: 1.05em; line-height: 1.45; font-style: italic; color: var(--s-sub); }
.ma-based em { color: var(--s-ink); }
.ma-card { padding: 1.1em 1.1em 1em; border: 1px solid var(--s-line); border-radius: 1.6em; background: var(--s-card); }
.ma-card header { display: flex; justify-content: space-between; gap: .8em; }
.ma-card header span { display: flex; flex-direction: column; gap: .2em; }
.ma-card header b { font-size: 1.2em; font-weight: 700; }
.ma-card header small { font-size: .95em; color: var(--s-sub); line-height: 1.4; }
.ma-card header > .ma-ic { width: 1.5em; height: 1.5em; color: var(--s-sub); }
.ma-cert { display: inline-flex; align-items: center; gap: .25em; margin-right: .3em; padding: .05em .55em; border-radius: 1em; background: #dcf6e3; color: #16773a; font-style: normal; font-weight: 600; }
.ma-phone.dark .ma-cert { background: #143a27; color: #7fe0a2; }
.ma-cert .ma-ic { width: 1em; height: 1em; stroke-width: 3; }
.ma-segs { display: flex; margin: .9em 0 .8em; padding: .25em; border-radius: 1em; background: var(--s-soft); }
.ma-segs span { flex: 1; padding: .45em 0; border-radius: .8em; text-align: center; font-size: 1.05em; color: var(--s-sub); }
.ma-segs span.on { background: var(--s-card); color: var(--s-ink); font-weight: 600; box-shadow: 0 .1em .3em rgba(20, 30, 80, .12); }
.ma-phone.dark .ma-segs span.on { background: #2a3360; }
.ma-yaxis { display: flex; flex-direction: column; justify-content: space-between; width: 3.2em; flex: none; font-size: .9em; color: var(--s-sub); }
.ma-line { display: flex; gap: .4em; height: 7.5em; }
.ma-line svg { flex: 1; height: 100%; overflow: visible; }
.ma-line .grid { stroke: var(--s-line); stroke-width: .4; vector-effect: non-scaling-stroke; }
.ma-line .stroke { fill: none; stroke: var(--ma-blue); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.ma-xaxis { display: flex; justify-content: space-between; margin: .4em 0 0 3.6em; font-size: .9em; color: var(--s-sub); }
.ma-xaxis.cols span { flex: 1; text-align: center; line-height: 1.2; }
.ma-cols { display: flex; gap: .4em; height: 8.5em; }
.ma-col-plot {
  flex: 1; display: flex; align-items: flex-end; justify-content: space-around; gap: .8em;
  background: linear-gradient(var(--s-line) 1px, transparent 1px) 0 0 / 100% 33.333%;
  border-bottom: 1px solid var(--s-line);
}
.ma-col-plot div { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.ma-col-plot small { font-size: .95em; font-weight: 700; margin-bottom: .3em; }
.ma-col-plot i { width: 62%; height: var(--h); border-radius: .5em .5em 0 0; background: linear-gradient(180deg, #4d82ff, var(--ma-blue)); transform-origin: bottom; }
.ma-layer.on .ma-col-plot i { animation: ma-grow .8s cubic-bezier(.2, .8, .2, 1) calc(var(--i) * 90ms) both; }
.ma-layer.on .ma-line .stroke { stroke-dasharray: 400; animation: ma-draw 1.4s ease both; }
.ma-meta { display: flex; align-items: center; gap: 1.2em; padding: .9em .4em; color: var(--s-sub); }
.ma-meta .ma-ic { width: 1.5em; height: 1.5em; }
.ma-meta span { font-size: 1.05em; }
.ma-follow { display: flex; gap: .6em; padding: 0 0 .7em 1.3em; overflow: hidden; white-space: nowrap; flex: none; margin-top: auto; }
.ma-follow span { display: inline-flex; align-items: center; gap: .4em; padding: .55em 1em; border: 1px solid #c9d6fb; border-radius: 2em; background: var(--s-card); font-size: 1.05em; font-weight: 600; }
.ma-phone.dark .ma-follow span { border-color: #2f3c70; }
.ma-follow .ma-ic { width: 1.1em; height: 1.1em; color: var(--ma-blue); stroke-width: 2.4; }
.ma-follow + .ma-composer-wrap { margin-top: 0; }

/* Watch: alerts and monitors */
.ma-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: .3em; margin: .2em 1.4em .9em; padding: .3em; border-radius: 1.1em; background: #eceef5; }
.ma-tabs span { padding: .6em; border-radius: .85em; text-align: center; font-size: 1.1em; color: var(--s-sub); }
.ma-tabs span.on { background: #fff; color: var(--s-ink); font-weight: 600; box-shadow: 0 .1em .3em rgba(30, 40, 90, .1); }
.ma-tabs em { margin-left: .3em; color: #e5372b; font-style: normal; font-size: .85em; }
.ma-tabs small { margin-left: .3em; font-size: .85em; }
.ma-manager { display: flex; gap: .6em; margin: 0 1.4em .9em; padding: .8em 1em; border-radius: 1.1em; background: #eef2ff; color: #23315f; font-size: 1em; }
.ma-manager b { color: #1f45b8; }
.ma-manager .ma-ic { width: 1.3em; height: 1.3em; color: #1f45b8; }
.ma-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6em; margin: 0 1.4em .9em; }
.ma-stats div { display: flex; flex-direction: column; padding: .8em .9em; border: 1px solid var(--s-line); border-radius: 1.1em; background: #fff; font-size: .95em; color: var(--s-sub); line-height: 1.2; }
.ma-stats b { font-size: 1.9em; color: var(--s-ink); font-weight: 700; letter-spacing: -.02em; }
.ma-stats b.red { color: #e5372b; }
.ma-pills { display: flex; gap: .45em; margin: 0 1.4em .9em; }
.ma-pills span { white-space: nowrap; padding: .45em .95em; border: 1px solid var(--s-line); border-radius: 2em; background: #fff; font-size: 1em; font-weight: 600; }
.ma-pills span.on { border-color: var(--ma-blue); color: var(--ma-blue); background: #eef2ff; }
.ma-pills em { color: #e5372b; font-style: normal; }
.ma-search { display: flex; align-items: center; gap: .6em; margin: 0 1.4em .9em; padding: .8em 1em; border: 1px solid var(--s-line); border-radius: 1.1em; background: #fff; color: #8a8fa6; font-size: 1.05em; }
.ma-search .ma-ic { width: 1.25em; height: 1.25em; }
.ma-list {
  display: flex; flex-direction: column; gap: .7em; padding: 0 1.4em; min-height: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 82%, transparent 98%); mask-image: linear-gradient(#000 82%, transparent 98%);
}
.ma-alert { display: flex; gap: .9em; padding: 1em; border: 1px solid var(--s-line); border-radius: 1.3em; background: #fff; }
.ma-alert > div { flex: 1; min-width: 0; }
.ma-alert header { display: flex; justify-content: space-between; align-items: flex-start; gap: .5em; }
.ma-alert header b { font-size: 1.18em; font-weight: 700; line-height: 1.2; }
.ma-alert header em { flex: none; padding: .15em .6em; border-radius: 1em; font-style: normal; font-size: .88em; font-weight: 600; background: #ffe6e3; color: #d63a2c; }
.ma-alert p { margin: .3em 0; font-size: 1em; color: #2c3150; }
.ma-alert small { font-size: .9em; color: var(--s-sub); }
.ma-alert-ic { display: grid; place-items: center; flex: none; width: 2.6em; height: 2.6em; border-radius: .8em; }
.ma-alert-ic .ma-ic { width: 1.4em; height: 1.4em; }
.ma-alert.t-critical .ma-alert-ic { background: #ffe6e3; color: #d63a2c; }
.ma-alert.t-info .ma-alert-ic { background: #fff3dc; color: #d68a12; }
.ma-alert.t-ok .ma-alert-ic { background: #e2f6e8; color: #1e9a4a; }
.ma-alert.t-ok header em { background: #e2f6e8; color: #1e8a43; }
.ma-monitor { padding: 1em 1.1em; border: 1px solid var(--s-line); border-radius: 1.3em; background: #fff; }
.ma-monitor header { display: flex; justify-content: space-between; align-items: center; }
.ma-monitor header b { font-size: 1.22em; font-weight: 700; }
.ma-monitor q { display: block; margin: .4em 0 .6em; font-style: italic; color: #3a3f5c; font-size: 1em; }
.ma-toggle { position: relative; width: 3.4em; height: 2em; border-radius: 1em; background: #d9dbe5; }
.ma-toggle::after { content: ""; position: absolute; left: .2em; top: .2em; width: 1.6em; height: 1.6em; border-radius: 50%; background: #fff; box-shadow: 0 .1em .2em rgba(0, 0, 0, .2); }
.ma-toggle.on { background: var(--ma-blue); }
.ma-toggle.on::after { transform: translateX(1.4em); }
.ma-tags { display: flex; flex-wrap: wrap; gap: .4em; }
.ma-tags span { padding: .25em .7em; border-radius: 2em; background: #f0f1f6; font-size: .92em; font-weight: 600; }
.ma-tags .rule { background: #eaf0ff; color: #1f45b8; }
.ma-tags .active { background: #e2f6e8; color: #1e8a43; }
.ma-tags .paused { background: #fff1d9; color: #b86e0a; }
.ma-monitor footer { display: flex; justify-content: space-between; margin-top: .6em; font-size: .92em; color: var(--s-sub); }
.ma-monitor footer em { padding: .1em .7em; border-radius: 1em; background: #eaf0ff; color: #1f45b8; font-style: normal; font-weight: 600; }

/* ---------- Smartwatch ---------- */

.ma-watch { display: flex; flex-direction: column; align-items: center; height: 58.5em; justify-content: center; }
.ma-strap { display: block; width: 15em; height: 13em; background: repeating-linear-gradient(90deg, #1b2546 0 .25em, #253261 .25em .5em); box-shadow: inset 1.2em 0 1.5em -1em rgba(0, 0, 0, .4), inset -1.2em 0 1.5em -1em rgba(0, 0, 0, .4); }
.ma-strap.top { border-radius: 2.4em 2.4em 0 0; }
.ma-strap.bottom { border-radius: 0 0 2.4em 2.4em; }
.ma-watch-case {
  position: relative; z-index: 1; padding: .9em; margin: -1em 0;
  border-radius: 4.4em; background: linear-gradient(145deg, #ece5dc, #aaa196 40%, #f3ede5 60%, #8f877e);
  box-shadow: 0 2.5em 4em -1.5em rgba(35, 40, 110, .5);
}
.ma-crown { position: absolute; right: -1em; top: 26%; width: 1.5em; height: 4.4em; border-radius: .6em; background: repeating-linear-gradient(180deg, #a69d92 0 .3em, #d9d2c8 .3em .6em); }
.ma-action { position: absolute; left: -.5em; top: 38%; width: .9em; height: 5em; border-radius: .4em; background: #ff7a1a; }
.ma-watch-screen { display: flex; flex-direction: column; gap: 1em; width: 23em; height: 27em; padding: 1.6em 1.5em 1.4em; border: .4em solid #000; border-radius: 3.4em; background: #000; color: #fff; font-family: "Plus Jakarta Sans", var(--sans); text-align: left; }
.ma-watch-head { display: flex; justify-content: space-between; align-items: center; }
.ma-watch-head .ma-mark { --s-ink: #fff; font-size: 1.6em; }
.ma-watch-head b { font-size: 1.6em; font-weight: 600; }
.ma-w-alert { display: flex; gap: .9em; padding: 1.1em; border-radius: 1.8em; background: #1b1d24; }
.ma-w-ic { display: grid; place-items: center; flex: none; width: 3.2em; height: 3.2em; border-radius: 1em; background: #7a2420; color: #ffb4aa; }
.ma-w-ic .ma-ic { width: 1.8em; height: 1.8em; }
.ma-w-alert b { display: block; margin: .35em 0; font-size: 1.85em; line-height: 1.12; }
.ma-w-alert small { font-size: 1.25em; color: #a9b0d6; }
.ma-w-tags { display: flex; flex-wrap: wrap; gap: .4em; }
.ma-w-tags em { padding: .2em .7em; border-radius: 2em; font-style: normal; font-weight: 600; font-size: 1.1em; }
.ma-w-tags em.crit { background: #7a2420; color: #ffd9d4; }
.ma-w-tags em.open { background: #ffd8d2; color: #a3241a; }
.ma-w-btn { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding: 1em 1.3em; border-radius: 2em; background: #252938; font-size: 1.45em; font-weight: 600; }
.ma-w-btn .ma-ic { width: 1.1em; height: 1.1em; }

/* ---------- Motion ---------- */

@keyframes ma-blink { 50% { opacity: 0; } }
@keyframes ma-grow { from { transform: scaleY(0); } to { transform: none; } }
@keyframes ma-draw { from { stroke-dashoffset: 400; } to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  .ma-layer, .ma-float-slot, .ma-wrist-slot, .ma-step-text, .ma-steps::after { transition: none; }
  .ma-layer.on .ma-col-plot i, .ma-layer.on .ma-line .stroke, .ma-caret { animation: none; }
}

/* ---------- Responsive: below 900px each step carries its own device ---------- */

@media (max-width: 1080px) { .ma-stack { font-size: 9.4px; } .ma-float-slot.left { left: 14px; } .ma-float-slot.right { right: 14px; } }
@media (max-width: 900px) {
  .ma-story { grid-template-columns: 1fr; }
  .ma-pin, .ma-steps::before, .ma-steps::after, .ma-step-text::before { display: none; }
  .ma-steps { padding: 0; display: grid; gap: 64px; }
  .ma-step, .ma-step:first-child { min-height: 0; padding: 0; }
  .ma-step-text { opacity: 1; transform: none; max-width: none; }
  .ma-step-device {
    display: flex; justify-content: center; margin-top: 28px; padding: 36px 0; font-size: 9px; border-radius: 28px;
    background: radial-gradient(70% 60% at 85% 105%, #c9cefb 0%, transparent 65%), linear-gradient(170deg, #f7f7ff 0%, #e8e9fc 100%);
  }
  .ma-note { text-align: center; }
  .ma-foot { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 760px) {
  .ma-head { margin-bottom: 48px; }
  .ma-head p { font-size: 17px; }
  .ma-step-text p { font-size: 16px; }
}
@media (max-width: 400px) { .ma-step-device { font-size: 7.8px; } }

/* The swipe hint shows on phones only. */
.ma-swipe { display: none; margin: 14px 0 0; color: var(--faint); font-size: 13px; text-align: center; }

/* Phones: the seven steps become one swipeable row (each card peeks the next),
   instead of seven phones stacked down the page. */
@media (max-width: 640px) {
  .ma-steps {
    display: flex; gap: 14px; margin: 0 -16px; padding: 0 16px 6px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; scrollbar-width: none;
  }
  .ma-steps::-webkit-scrollbar { display: none; }
  .ma-step, .ma-step:first-child { flex: 0 0 84%; scroll-snap-align: start; display: flex; flex-direction: column; }
  .ma-step-device { order: -1; margin: 0 0 18px; padding: 26px 0; }
  .ma-step-text h3 { font-size: 24px; }
  .ma-swipe { display: block; }
}

/* Home page. Every rule is scoped to .home; shared tokens come from styles.css. */

.home .tone-ask { --tone: var(--ask); --tint: var(--ask-tint); }
.home .tone-insight { --tone: var(--insight); --tint: var(--insight-tint); }
.home .tone-watch { --tone: var(--watch); --tint: var(--watch-tint); }

/* ---------- Shared ---------- */

.home .h-section { padding: 120px 0; position: relative; }
.home .h-soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.home .h-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.home .h-head h2, .home .h-head h1 {
  font-size: clamp(36px, 4.8vw, 62px);
  line-height: 1.04;
  letter-spacing: -.045em;
  margin: 16px 0 0;
  text-wrap: balance;
}
.home .h-head h2 .muted, .home .h-head h2 .gradient-text, .home .h-head h1 .muted { color: var(--faint); }
.home.partners-page .h-partners { padding-top: 88px; }
@media (max-width: 760px) { .home.partners-page .h-partners { padding-top: 56px; } }
.home .h-head p { color: var(--body); font-size: 18px; max-width: 660px; margin: 20px auto 0; }
.home .h-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.home .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease var(--delay, 0ms), transform .7s ease var(--delay, 0ms); }
.home .reveal.in { opacity: 1; transform: none; }

.home pre { margin: 0; font-family: var(--mono); font-size: 12.5px; line-height: 1.65; color: #3a3a3a; white-space: pre-wrap; }
.home .chip-label {
  font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  color: var(--tone, var(--text)); background: var(--tint, var(--card)); padding: 3px 8px; border-radius: 6px;
}

/* ---------- Shared keyframes ---------- */

@keyframes hc-rise { from { opacity: 0; transform: translateY(8px); } }
@keyframes hc-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes hc-grow { from { transform: scaleY(0); } }
@keyframes hc-blink { 50% { opacity: 0; } }
@keyframes hc-dot { 50% { opacity: .3; transform: translateY(-3px); } }

.home .sp-card header b {
  font-family: var(--mono); font-weight: 500; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--tone, var(--ask)); background: var(--tint, var(--ask-tint)); padding: 3px 8px; border-radius: 6px;
}
.home .sp-msg {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 12px 30px -18px rgba(70, 40, 140, .35);
}
.home .sp-msg img, .home .sp-msg svg { flex: none; width: 30px; height: 30px; object-fit: contain; border-radius: 8px; background: #fff; border: 1px solid var(--line); padding: 4px; }
.home .sp-msg div { display: grid; gap: 2px; font-size: 13.5px; color: var(--body); }
.home .sp-msg small { color: var(--faint); font-size: 11.5px; }
.home .sp-msg strong { color: var(--text); font-weight: 600; font-size: 14.5px; }

/* ---------- Hero (ElevenLabs-style) ---------- */

.home .hx { position: relative; isolation: isolate; padding: 72px 0 40px; overflow-x: clip; }
.home .hx > .container { position: relative; z-index: 1; }
/* Flowing silk lines (HeroSilk.jsx): under the transparent header, fading out
   at the sides and bottom, and softer behind the headline. */
.home .hx-silk {
  position: absolute; z-index: 0; top: -68px; left: 0; width: 100%; height: 760px; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent), linear-gradient(180deg, #000 55%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent), linear-gradient(180deg, #000 55%, transparent);
  mask-composite: intersect;
  animation: hx-silk-in 1.8s .2s ease both;
}
@keyframes hx-silk-in { from { opacity: 0; } }
.home .hx-top { display: grid; justify-items: center; max-width: 1200px; margin: 0 auto 56px; text-align: center; }
.home .hx h1 { margin: 24px 0 22px; font-size: clamp(42px, 5.9vw, 82px); line-height: 1.04; letter-spacing: -.045em; font-weight: 500; color: var(--text); }
.home .hx-sub { max-width: 640px; margin: 0 0 30px; color: #3f3f3f; font-size: 18px; line-height: 1.55; text-wrap: balance; animation: hx-up .9s .25s cubic-bezier(.2, .7, .2, 1) both; }
/* Each headline line rises out of its own mask. */
.home .hx-line { display: block; clip-path: inset(-.2em -.4em -.25em -.4em); }
.home .hx-line > span { display: inline-block; animation: hx-rise 1s cubic-bezier(.2, .8, .2, 1) both; }
.home .hx-line:nth-child(2) > span { animation-delay: .09s; }
.home .hx-line:nth-child(3) > span { animation-delay: .18s; }
.home .hx-line.muted { color: var(--text); }
/* Line one holds the pill; on wider screens it never wraps, so the headline doesn't jump between words. */
@media (min-width: 851px) { .home .hx-line:first-child { white-space: nowrap; } }
@keyframes hx-rise { from { transform: translateY(130%); } }
@keyframes hx-up { from { opacity: 0; transform: translateY(16px); } }

/* The word pill: a tinted capsule with a dot, easing to each word's width. */
.home .hx-pill {
  position: relative; display: inline-flex; align-items: baseline; gap: .2em; vertical-align: baseline;
  margin: 0 .04em; padding: .16em .36em .2em .3em; border-radius: 999px; background: var(--tint); overflow: hidden;
  /* The word sits a little smaller and lighter than the headline around it. */
  font-size: .82em; font-weight: 400; letter-spacing: -.035em;
  transition: background .6s ease, width .6s cubic-bezier(.3, .8, .2, 1);
}
.home .hx-pill[style] { width: calc(var(--w) + 1.16em); }
.home .hx-pill-dot { flex: none; align-self: center; width: .28em; height: .28em; border-radius: 50%; background: var(--tone); transition: background .6s ease; }
.home .hx-pill .hx-word { color: var(--text); white-space: nowrap; animation: hx-word-in .4s .25s ease both; }
@keyframes hx-word-in { from { opacity: 0; transform: translateY(4px); } }
.home .hx-pill-sizer { position: absolute; left: 0; top: 0; visibility: hidden; white-space: nowrap; pointer-events: none; }
.home .tone-peach { --tone: var(--peach); --tint: var(--peach-tint); }

.home .hx-actions { display: flex; flex-wrap: wrap; gap: 10px; animation: hx-up .9s .3s cubic-bezier(.2, .7, .2, 1) both; }
.home .hx-actions .button { padding: 11px 20px; font-size: 15px; }

/* Badge: white pill whose hairline border carries a travelling light in the logo colours. */
@property --hx-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.home .hx-badge {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 9px; border-radius: 999px; background: #fff;
  color: #111; font-size: 13px; font-weight: 500; letter-spacing: -.005em;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
  animation: hx-up .9s .2s cubic-bezier(.2, .7, .2, 1) both;
}
.home .hx-badge img { width: 20px; height: 14px; object-fit: contain; }
.home .hx-badge::before, .home .hx-badge::after {
  content: ""; position: absolute; inset: 0; padding: 1px; border-radius: inherit; pointer-events: none;
  background: conic-gradient(from var(--hx-a), var(--line-strong) 0 62%, #1d4fd8 68%, #2ab7e3 74%, #2cc9a6 80%, #a06cf0 86%, #d9539c 92%, var(--line-strong) 98%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: hx-badge-spin 4.5s linear infinite;
}
/* A blurred copy of the ring gives the travelling light a soft glow. */
.home .hx-badge::after {
  inset: -2px; padding: 3px; filter: blur(4px); opacity: .6;
  background: conic-gradient(from var(--hx-a), transparent 0 62%, #1d4fd8 68%, #2ab7e3 74%, #2cc9a6 80%, #a06cf0 86%, #d9539c 92%, transparent 98%);
}
@keyframes hx-badge-spin { to { --hx-a: 360deg; } }



/* Reasoning: steps ticked off while thinking, then folded into one line. */
.home .hx-reason { justify-self: start; }
.home .hx-meta { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px; }
.home .hx-worth { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px; border-radius: 999px; background: #e8f7ef; color: #13795b; font-size: 12px; font-weight: 500; animation: hc-rise .4s .3s ease both; }
.home .hx-worth::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #1fa864; }
.home .hx-reason-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.home .hx-reason-steps li { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--body); animation: hc-rise .3s ease both; }
.home .hx-reason-steps li i { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #111; color: #fff; }
.home .hx-reason-steps li.run { color: var(--text); }
.home .hx-reason-steps li.run i { background: none; border: 1.5px solid var(--line-strong); border-top-color: #111; animation: hx-spin .7s linear infinite; }
.home .hx-reason-steps li.run i svg { display: none; }
@keyframes hx-spin { to { transform: rotate(360deg); } }
.home .hx-reason > button { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px 4px 5px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: inherit; font-size: 12.5px; color: var(--body); cursor: pointer; transition: border-color .2s; }
.home .hx-reason > button:hover { border-color: var(--line-strong); color: var(--text); }
.home .hx-reason > button i { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #e8f7ef; color: #13795b; }
.home .hx-reason .chev { color: var(--faint); transition: transform .2s; }
.home .hx-reason.open .chev { transform: rotate(180deg); }
.home .hx-reason.open .hx-reason-steps { margin: 10px 0 2px 6px; padding-left: 14px; border-left: 1px solid var(--line); }


.home .hx-caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -3px; background: var(--text); animation: hc-blink 1s steps(1) infinite; }

/* Product showcase (components/home/ProductDemo.jsx): what each product
   stands for on the left, the product answering in an app window on the right. */
.home .pd { position: relative; isolation: isolate; animation: hx-up 1s .35s cubic-bezier(.2, .7, .2, 1) both; }
.home .pd-main { display: grid; grid-template-columns: 300px minmax(0, 1fr); }
.home .pd-side .pd-item > button { padding: 13px 16px; }
.home .pd-side .pd-body > div { padding: 0 16px; }
.home .pd-side .pd-item.on .pd-body > div { padding-bottom: 18px; }
.home .pd-side { padding: 12px; background: var(--soft); border-right: 1px solid var(--line); border-radius: 0 0 0 25px; }
.home .pd-story { display: grid; gap: 6px; }
.home .pd-item { --tone: var(--ask); --tone-tint: var(--ask-tint); border-radius: 22px; border: 1px solid transparent; transition: background .4s, border-color .4s, box-shadow .4s; }
.home .pd-item.insight { --tone: var(--insight); --tone-tint: var(--insight-tint); }
.home .pd-item.watch { --tone: var(--watch); --tone-tint: var(--watch-tint); }
.home .pd-item.on { background: #fff; border-color: var(--line); box-shadow: 0 24px 50px -38px rgba(20, 30, 70, .35); }
.home .pd-item > button { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 15px 22px; border: 0; background: none; cursor: pointer; text-align: left; }
.home .pd-item > button .pmark { --pm: 20px; opacity: .5; transition: opacity .3s; }
.home .pd-item.on > button .pmark, .home .pd-item > button:hover .pmark { opacity: 1; }
.home .pd-item > button small { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); transition: color .3s; }
.home .pd-item.on > button small { color: var(--tone); }
.home .pd-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s cubic-bezier(.3, .8, .2, 1); }
.home .pd-item.on .pd-body { grid-template-rows: 1fr; }
.home .pd-body > div { min-height: 0; overflow: hidden; padding: 0 22px; }
.home .pd-item.on .pd-body > div { padding-bottom: 22px; }
.home .pd-body p { margin: -2px 0 16px; font-size: 14.5px; line-height: 1.5; color: var(--body); }
.home .pd-body ul { list-style: none; margin: 0 0 18px; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.home .pd-body li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; line-height: 1.4; color: var(--faint); transition: color .4s; }
.home .pd-body li i { flex: none; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--card); color: transparent; transition: background .4s, color .4s, transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.home .pd-body li.lit { color: var(--text); }
.home .pd-body li i svg { width: 8px; height: 8px; }
.home .pd-body li.lit i { background: var(--tone); color: #fff; transform: scale(1.08); }
.home .pd-progress { display: block; height: 3px; border-radius: 3px; background: var(--card); overflow: hidden; }
.home .pd-progress i { display: block; height: 100%; border-radius: inherit; background: var(--tone); transition: width .6s ease; }
.home .pd-tagline { display: none; }

/* The app window */
.home .pd-window { --tone: var(--ask); --tone-tint: var(--ask-tint); position: relative; isolation: isolate; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 70px -40px rgba(20, 30, 70, .25), 0 1px 3px rgba(0, 0, 0, .04); }
.home .pd-window.tone-insight { --tone: var(--insight); --tone-tint: var(--insight-tint); }
.home .pd-window.tone-watch { --tone: var(--watch); --tone-tint: var(--watch-tint); }
.home .pd-glow {
  position: absolute; z-index: -1; top: -90px; left: 8%; right: 8%; height: 320px; pointer-events: none;
  background: radial-gradient(40% 60% at 25% 60%, #8fb4f7, transparent 70%), radial-gradient(35% 55% at 55% 45%, #8fdce6, transparent 70%), radial-gradient(40% 60% at 80% 60%, #c3a6f3, transparent 70%);
  filter: blur(60px); opacity: .7; animation: pd-glow-in 1.6s .4s ease both;
}
@keyframes pd-glow-in { from { opacity: 0; } }
.home .pd-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 46px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.home .pd-lights { display: flex; gap: 7px; }
.home .pd-lights i { width: 11px; height: 11px; border-radius: 50%; background: #e5e5e2; }
.home .pd-title { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--body); }
.home .pd-title img { width: 17px; height: 11px; object-fit: contain; }
.home .pd-mode { justify-self: end; }
.home .pd-mode .pmark { --pm: 16px; }
.home .pd-screen { display: flex; flex-direction: column; min-width: 0; height: 660px; border-radius: 0 0 25px 0; background: #f8f8f7; overflow: hidden; animation: pd-swap .55s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes pd-swap { from { opacity: 0; transform: translateY(10px); } }
.home .pd-log { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; }
.home .pd-log::-webkit-scrollbar { display: none; }
.home .pd-thread { display: flex; flex-direction: column; gap: 14px; width: min(760px, 100% - 48px); margin: 0 auto; padding: 24px 0 12px; }
.home .pd-q { align-self: flex-end; max-width: 80%; margin: 0; padding: 10px 17px; border-radius: 18px 18px 4px 18px; background: #111; color: #fff; font-size: 15px; animation: pd-send .4s cubic-bezier(.2, .8, .2, 1) both; transform-origin: bottom right; }
@keyframes pd-send { from { opacity: 0; transform: translateY(30px) scale(.96); } }
.home .pd-turn { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 14px; align-items: start; animation: hc-rise .3s ease both; }
.home .pd-turn.past { opacity: .72; }
.home .pd-avatar { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 6px -3px rgba(0, 0, 0, .15); }
.home .pd-avatar img { width: 17px; height: 11px; object-fit: contain; }
.home .pd-a { display: grid; gap: 12px; min-width: 0; padding-top: 3px; }

/* Answer text: headings, bullets, highlights and citation pills */
.home .pd-doc { display: grid; gap: 8px; font-size: 15.5px; line-height: 1.65; color: var(--text); }
.home .pd-doc p, .home .pd-doc ul { margin: 0; }
.home .pd-doc h4 { margin: 4px 0 -4px; font-family: var(--sans); font-size: 15px; font-weight: 600; }
.home .pd-doc ul { padding-left: 20px; display: grid; gap: 4px; }
.home .pd-doc strong { font-weight: 600; }
.home .pd-doc mark { color: var(--text); font-weight: 600; background: none; padding: 0; text-decoration: underline; text-decoration-thickness: 1.5px; text-decoration-color: rgba(17, 17, 17, .25); text-underline-offset: 4px; }
.home .pd-cite { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin: 0 2px; padding: 0 5px; border-radius: 7px; border: 1px solid #cfdcf7; background: #eef3fd; color: #2a55b8; font-size: 11px; font-weight: 600; line-height: 1; vertical-align: 2px; cursor: default; animation: pd-pop .35s cubic-bezier(.3, 1.6, .5, 1) both; transition: background .2s; }
.home .pd-cite:hover { background: #dce7fb; }
@keyframes pd-pop { from { transform: scale(.4); opacity: 0; } }
.home .pd-turn.past .pd-doc { max-height: 5.2em; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 50%, transparent); mask-image: linear-gradient(180deg, #000 50%, transparent); }

/* Ask: the panels under an answer */
.home .pd-panels { display: grid; gap: 8px; margin-top: 4px; }
.home .pd-panel { border-radius: 14px; border: 1px solid #dfe6f3; background: #f5f8fd; animation: hc-rise .45s var(--d, 0ms) ease both; transition: border-color .2s, box-shadow .2s; }
.home .pd-panel > button { display: flex; align-items: center; gap: 9px; width: 100%; padding: 10px 14px; border: 0; background: none; font: inherit; font-size: 13.5px; font-weight: 600; color: #22314f; cursor: pointer; text-align: left; }
.home .pd-panel > button svg:first-child { color: #3567d8; }
.home .pd-panel > button span { flex: 1; display: inline-flex; align-items: center; gap: 8px; }
.home .pd-panel > button span i { display: inline-grid; place-items: center; min-width: 20px; height: 18px; padding: 0 5px; border-radius: 999px; background: #e1e9f8; font-style: normal; font-size: 11px; color: #2a55b8; }
.home .pd-panel .chev { color: #7d8aa6; transition: transform .25s; }
.home .pd-panel.open .chev { transform: rotate(180deg); }
.home .pd-panel.hint { border-color: #9db8ee; box-shadow: 0 0 0 3px #e6eeff; }
.home .pd-panel-body { padding: 0 14px 12px; font-size: 13.5px; line-height: 1.6; color: #3c4a66; animation: hc-rise .3s ease both; }
.home .pd-panel-body p { margin: 0; padding-top: 10px; border-top: 1px solid #e1e7f2; }
.home .pd-context, .home .pd-sources { list-style: none; margin: 0; padding: 10px 0 0; border-top: 1px solid #e1e7f2; display: grid; gap: 10px; }
.home .pd-context small { display: block; margin-bottom: 2px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; color: #6c7a96; }
.home .pd-sources li { display: flex; align-items: center; gap: 9px; padding: 6px 8px; margin: -6px -8px; border-radius: 9px; transition: background .2s; }
.home .pd-sources li.on { background: #e6eeff; }
.home .pd-sources i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 7px; background: #e1e9f8; font-style: normal; font-size: 11px; font-weight: 600; color: #2a55b8; }
.home .pd-sources b { font-weight: 500; color: #111; }
.home .pd-sources small { font-family: var(--mono); font-size: 11px; color: #6c7a96; }
.home .pd-search { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 10px 9px 14px; font-size: 12.5px; color: #55627d; }
.home .pd-search b { margin-right: 10px; font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #2a55b8; }
.home .pd-search em { flex: none; padding: 4px 12px; border-radius: 999px; border: 1px solid #c7d5f1; background: #fff; font-style: normal; font-size: 12px; font-weight: 600; color: #22314f; }

/* Insight: the chart under an answer */
.home .pd-insight { display: grid; gap: 12px; }
.home .pd-chart { animation: hc-rise .5s ease both; }
.home .pd-chart-note { justify-self: start; display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border-radius: 999px; background: var(--insight-tint); color: #2a55b8; font-size: 12px; font-weight: 500; }
.home .pd-chart-note::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #3567d8; }

/* The demo's pointer, shown while it "taps" a button or chip */
.home .pd-pointer { position: absolute; right: 14px; bottom: -14px; width: 22px; height: 22px; pointer-events: none; animation: pd-tap .85s ease both; }
.home .pd-pointer::before { content: ""; position: absolute; inset: 0; background: #111; clip-path: polygon(10% 0, 90% 58%, 52% 62%, 72% 100%, 56% 100%, 38% 66%, 10% 90%); filter: drop-shadow(0 0 0 #fff); }
.home .pd-pointer::after { content: ""; position: absolute; left: -9px; top: -9px; width: 20px; height: 20px; border-radius: 50%; background: rgba(53, 103, 216, .35); transform: scale(0); animation: pd-ripple .85s ease both; }
@keyframes pd-tap { 0% { opacity: 0; transform: translate(26px, 22px); } 45% { opacity: 1; transform: none; } 65% { transform: scale(.85); } 80%, 100% { opacity: 1; transform: none; } }
@keyframes pd-ripple { 0%, 55% { transform: scale(0); opacity: 1; } 100% { transform: scale(2); opacity: 0; } }

/* Dock: follow-up or sample question chips, then the composer */
.home .pd-dock { display: grid; gap: 10px; padding: 10px 16px 16px; }
.home .pd-chips { display: flex; align-items: center; justify-content: safe center; gap: 8px; min-height: 36px; overflow-x: auto; scrollbar-width: none; }
.home .pd-chips::-webkit-scrollbar { display: none; }
.home .pd-chips-label { flex: none; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.home .pd-chips button { position: relative; flex: none; white-space: nowrap; border: 1px solid transparent; background: none; border-radius: 999px; padding: 7px 14px; font: inherit; font-size: 13.5px; color: var(--body); cursor: pointer; transition: border-color .2s, color .2s, background .2s, transform .2s; }
.home .pd-chips button:hover { color: var(--text); }
.home .pd-chips button.on { color: #111; border-color: var(--line); background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.home .pd-chips button.follow { border-color: var(--line-strong); background: #fff; color: var(--text); animation: hc-rise .4s ease both; }
.home .pd-chips button.follow::before { content: "↳ "; color: var(--tone); }
.home .pd-chips button.follow:hover { border-color: var(--tone); }
.home .pd-chips button.tapping { border-color: var(--tone); background: var(--tone-tint); transform: scale(.98); }
.home .pd-chips:has(.tapping) { overflow: visible; }
.home .pd-composer { display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 6px 7px 6px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(0, 0, 0, .04); transition: border-color .3s, box-shadow .3s; }
.home .pd-composer.typing { border-color: var(--line-strong); box-shadow: 0 0 0 4px var(--tone-tint); }
.home .pd-composer > span { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 15px; color: var(--text); }
.home .pd-composer > span.empty { color: var(--faint); }
.home .pd-composer b { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--card); color: var(--faint); transition: background .25s, color .25s, transform .25s; }
.home .pd-composer b.send { background: #111; color: #fff; transform: scale(1.06); }

/* Watch inside the window */
.home .pd-watch { flex: 1; min-height: 0; display: flex; }
.home .pd .hx-wf { width: min(860px, 100% - 48px); grid-template-columns: minmax(0, 1fr) auto; gap: 24px; }
.home .pd .hx-ls { width: 320px; }

.home .pd-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; margin-top: 18px; font-size: 13px; color: var(--faint); }
.home .pd-foot a { color: var(--text); font-weight: 500; }
.home .pd-foot a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* How this was computed: folded until tapped */
.home .ic-proof-toggle { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px 6px 2px; border: 0; border-radius: 999px; background: none; font: inherit; cursor: pointer; transition: background .2s; }
.home .ic-proof-toggle:hover, .home .ic-proof-toggle.tapping { background: var(--insight-tint); padding-left: 12px; }
.home .ic-proof-toggle .chev { color: var(--faint); transition: transform .25s; }
.home .ic-proof.open .ic-proof-toggle .chev { transform: rotate(180deg); }
.home .ic-proof .ic-proof-body { animation: hc-rise .35s ease both; }

@media (max-width: 1080px) {
  .home .pd-main { grid-template-columns: 250px minmax(0, 1fr); }
  .home .pd .hx-wf { grid-template-columns: 1fr; }
  .home .pd .hx-ls { width: 100%; height: 360px; min-height: 0; }
  .home .pd .ic-axis small:nth-child(even) { display: none; }
  .home .pd .ic-proof-body { grid-template-columns: 1fr; }
}

@media (max-width: 850px) {
  .home .pd-main { grid-template-columns: minmax(0, 1fr); }
  .home .pd-side { padding: 10px 10px 0; border-right: 0; border-radius: 0; background: #f8f8f7; }
  .home .pd-screen { border-radius: 0 0 21px 21px; }
  .home .pd-story { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 4px; border-radius: 18px; background: var(--card); }
  .home .pd-item { border-radius: 16px; box-shadow: none; }
  .home .pd-item.on { box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 6px 18px -10px rgba(20, 30, 70, .25); }
  .home .pd-item > button { justify-content: center; padding: 10px 6px; }
  .home .pd-item > button .pmark { --pm: 15px; }
  .home .pd-item > button small, .home .pd-body { display: none; }
  .home .pd-tagline { display: block; margin: 2px 0 6px; text-align: center; font-family: var(--display); font-size: 18px; letter-spacing: -.02em; }
  /* Phones: the tab row is labelled "entaura.ai products", so each tab shows just the product name. */
  @media (max-width: 560px) { .home .pd-item > button .pmark > span { display: none; } .home .pd-story .pd-item > button .pmark { --pm: 17px; } }
}

@media (max-width: 760px) {
  .home .pd-window { border-radius: 22px; }
  .home .pd-bar { height: 40px; grid-template-columns: auto 1fr auto; gap: 10px; }
  .home .pd-title { justify-self: center; font-size: 12px; }
  .home .pd-title { white-space: nowrap; }
  @media (max-width: 480px) { .home .pd-bar { grid-template-columns: auto 1fr; } .home .pd-mode { display: none; } }
  .home .pd-screen { height: 500px; border-radius: 0 0 21px 21px; }
  .home .pd-thread, .home .pd .hx-wf { width: calc(100% - 28px); }
  .home .pd-doc { font-size: 14.5px; }
  .home .pd-dock { padding: 8px 10px 12px; }
  .home .pd-chips { justify-content: flex-start; }
  .home .pd-search b { display: block; margin: 0 0 2px; }
  .home .pd-item > button { padding: 9px 4px; }
  .home .pd-item > button .pmark { --pm: 12.5px; }
  .home .pd-tagline { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .home .pd, .home .pd-screen, .home .pd-q, .home .pd-turn, .home .pd-cite, .home .pd-panel, .home .pd-panel-body, .home .pd-chart, .home .pd-pointer, .home .pd-pointer::after, .home .pd-glow, .home .pd-chips button.follow, .home .ic-proof .ic-proof-body { animation: none !important; }
}

/* Insight chart */
.home .ic { padding: 14px 20px 12px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.home .ic-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.home .ic-head strong { display: block; font-size: 15px; font-weight: 600; }
.home .ic-head small { color: var(--faint); font-size: 12.5px; }
.home .ic-views { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--card); }
.home .ic-views button { border: 0; background: none; padding: 5px 12px; border-radius: 8px; font-size: 12.5px; color: var(--body); cursor: pointer; }
.home .ic-views button.on { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.home .ic-legend { display: flex; gap: 16px; margin: 10px 0 6px; font-size: 12.5px; color: var(--body); }
.home .ic-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.home .ic .s0 i, .home .ic b.s0 { background: #3567d8; }
.home .ic-track b.s0 { background: linear-gradient(90deg, #7ea0ef, #3567d8); }
.home .ic-bars b.s0 { background: linear-gradient(0deg, #7ea0ef, #3567d8); }
.home .ic .s1 i, .home .ic b.s1 { background: #d6e0f5; }
.home .ic-bar { display: grid; gap: 4px; }
.home .ic-row { position: relative; display: grid; grid-template-columns: 130px 1fr; gap: 12px; align-items: center; padding: 2px 6px; margin: 0 -6px; border-radius: 10px; transition: background .2s; }
.home .ic-row:not(.ic-axis):hover { background: #f4f7fd; }
.home .ic-row.top { background: #f7f9fe; }
.home .ic-label { font-size: 12.5px; color: var(--body); text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home .ic-row.top .ic-label { color: var(--text); font-weight: 600; }
.home .ic-track { position: relative; display: grid; gap: 3px; }
.home .ic-track b { position: relative; z-index: 1; display: block; height: 8px; border-radius: 0 10px 10px 0; transform-origin: left; animation: ic-grow-x .8s cubic-bezier(.2, .7, .2, 1) both; }
.home .ic { --ic-pad: 96px; }
.home .ic-track { padding-right: var(--ic-pad); }
.home .ic-val { position: absolute; top: -3px; margin-left: 8px; font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--faint); white-space: nowrap; animation: hc-rise .4s .6s ease both; }
.home .ic-row.top .ic-val { color: #111; font-weight: 600; }
.home .ic-val i, .home .ic-chip { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 999px; font-style: normal; font-size: 10px; font-weight: 500; font-family: var(--mono); }
.home .ic-val i.up, .home .ic-chip.up { color: #13795b; background: #e8f7ef; }
.home .ic-val i.down, .home .ic-chip.down { color: #b6472a; background: #fdeee8; }
.home .ic-tip { position: absolute; z-index: 5; right: 6px; bottom: calc(100% + 4px); display: grid; gap: 3px; min-width: 200px; padding: 9px 11px; border-radius: 10px; background: #111; color: #fff; font-size: 11.5px; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5); opacity: 0; transform: translateY(4px); pointer-events: none; transition: opacity .15s, transform .15s; }
.home .ic-tip b { font-weight: 600; margin-bottom: 2px; }
.home .ic-tip span { display: flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .7); }
.home .ic-tip span i { width: 7px; height: 7px; border-radius: 50%; }
.home .ic-tip span i.s0 { background: #7ea0ef; }
.home .ic-tip span i.s1 { background: #d6e0f5; }
.home .ic-tip strong { margin-left: auto; color: #fff; font-family: var(--mono); font-weight: 500; }
.home .ic-row:hover .ic-tip { opacity: 1; transform: none; }
.home .ic-grid { position: absolute; top: -4px; bottom: -4px; width: 1px; background: var(--line-strong); }
.home .ic-grid:not(:first-child) { display: none; }
.home .ic-axis .ic-track { height: 14px; }
.home .ic-axis small { position: absolute; transform: translateX(-50%); font-size: 10.5px; color: var(--faint); white-space: nowrap; }
@keyframes ic-grow-x { from { transform: scaleX(0); } }
.home .ic-col { display: grid; grid-template-columns: 64px 1fr; gap: 8px; height: 192px; padding-bottom: 24px; margin-top: 14px; }
.home .ic-yaxis { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; font-size: 10.5px; color: var(--faint); margin: -6px 0; }
.home .ic-plot { position: relative; display: flex; gap: 12px; border-bottom: 1px solid var(--line-strong); }
.home .ic-hgrid { display: none; }
.home .ic-group { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; }
.home .ic-bars { position: relative; z-index: 1; height: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 4px; }
.home .ic-bars b { width: min(22px, 40%); border-radius: 6px 6px 0 0; transform-origin: bottom; animation: hc-grow .8s cubic-bezier(.2, .7, .2, 1) both; }

.home .ic-cval { position: absolute; left: 0; right: 0; text-align: center; font-style: normal; font-family: var(--mono); font-size: 10.5px; color: var(--faint); animation: hc-rise .4s .7s ease both; }
.home .ic-group.top .ic-cval { color: #111; font-weight: 600; }
.home .ic-group > span { position: absolute; left: 0; right: 0; bottom: -22px; text-align: center; font-size: 11px; color: var(--body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home .ic-group.top > span { color: var(--text); font-weight: 600; }
.home .ic-table { margin-top: 12px; overflow-x: auto; }
.home .ic-table table { width: 100%; border-collapse: collapse; font-size: 13px; }
.home .ic-table th, .home .ic-table td { padding: 8px 6px; text-align: right; border-top: 1px solid var(--line); white-space: nowrap; }
.home .ic-table th { border-top: 0; color: var(--faint); font-weight: 500; font-size: 12px; }
.home .ic-table td:first-child, .home .ic-table th:first-child { text-align: left; }
.home .ic-table td { font-family: var(--mono); font-size: 12.5px; }
.home .ic-table td:first-child { font-family: var(--sans); }
.home .ic-table tr.top td { font-weight: 600; background: #f4f7fd; }
.home .ic-table .up { color: #13795b; }
.home .ic-table .down { color: #b6472a; }
.home .ic-copy { border: 0; background: none; font-size: 12px; color: var(--faint); cursor: pointer; }
/* How this was computed: the source and the exact query, always in view. */
.home .ic-proof { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); animation: hc-rise .4s .5s ease both; }
.home .ic-proof-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.home .ic-proof-head span { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.home .ic-proof-head em { white-space: nowrap; font-style: normal; font-weight: 500; font-size: 11.5px; color: #2a55b8; background: #eaf0fc; padding: 2px 8px; border-radius: 999px; }
.home .ic-proof-head .ic-copy { margin-left: auto; }
.home .ic-proof-body { display: grid; grid-template-columns: minmax(0, .36fr) minmax(0, .64fr); gap: 12px; }
/* Answer canvas: headline figures, the chart, and how it was computed */
.home .ic-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.home .ic-kpi { display: grid; grid-template-columns: auto 1fr; justify-items: start; align-items: baseline; gap: 2px 8px; min-width: 0; animation: hc-rise .45s ease both; animation-delay: var(--d); }
.home .ic-kpi small { grid-column: 1 / -1; font-family: var(--mono); font-size: 10px; letter-spacing: .07em; text-transform: uppercase; color: var(--faint); }
.home .ic-kpi strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--display); font-size: 20px; font-weight: 500; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.home .ic-kpi em { font-style: normal; font-family: var(--mono); font-size: 11px; padding: 1px 7px; border-radius: 999px; }
.home .ic-kpi em.up { color: #13795b; background: #e8f7ef; }
.home .ic-kpi em.down { color: #b6472a; background: #fdeee8; }
.home .ic-head .ic-legend { margin: 0; align-items: center; flex-wrap: wrap; row-gap: 6px; }
.home .ic-head { align-items: center; margin-bottom: 8px; }
.home .ic-callout { padding: 2px 10px; border-radius: 999px; background: #eaf0fc; color: #2a55b8; font-size: 11.5px; font-weight: 500; animation: hc-rise .4s 1s ease both; }
.home .ic-trail { list-style: none; margin: 0; padding: 2px 0 0 2px; display: grid; gap: 9px; align-content: start; }
.home .ic-trail li { position: relative; display: grid; gap: 1px; padding-left: 22px; animation: ic-light .5s ease both; animation-delay: var(--d); }
.home .ic-trail li::before { content: ""; position: absolute; left: 0; top: 4px; width: 9px; height: 9px; border-radius: 50%; background: #fff; border: 2px solid #3567d8; box-shadow: 0 0 0 3px #eaf0fc; }
.home .ic-trail li:not(:last-child)::after { content: ""; position: absolute; left: 5px; top: 17px; bottom: -9px; width: 2px; background: #c9d6f2; transform-origin: top; animation: ic-fill .4s ease both; animation-delay: calc(var(--d) + .25s); }
.home .ic-trail small { margin-right: 6px; font-family: var(--mono); font-size: 10px; font-weight: 400; letter-spacing: .07em; text-transform: uppercase; color: var(--faint); }
.home .ic-trail strong { font-size: 12.5px; font-weight: 600; color: var(--text); }
.home .ic-trail span { font-size: 11.5px; color: var(--body); }
@keyframes ic-light { from { opacity: .25; transform: translateY(3px); } }
@keyframes ic-fill { from { transform: scaleY(0); } }
.home .ic-caret { display: inline-block; width: 7px; height: 13px; margin-left: 1px; vertical-align: -2px; background: #8fb2ff; animation: ic-blink 1s steps(1) infinite; }
@keyframes ic-blink { 50% { opacity: 0; } }
.home .ic-sql { min-height: 96px; margin: 0; padding: 9px 14px; border-radius: 12px; background: #0f1729; color: #c9d4f5; font-family: var(--mono); font-size: 11.5px; line-height: 1.45; white-space: pre-wrap; word-break: break-word; overflow: auto; }
.home .ic-sql .ic-k { color: #8fb2ff; }
.home .ic-sql .ic-s { color: #8fdcae; }
.home .ic-copy:hover { color: var(--text); }

/* Watch: set up a watch, then the alert arrives on WhatsApp and Telegram */
.home .hx-wf { flex: 1; min-height: 0; width: min(1000px, 100% - 48px); margin: 0 auto; padding: 24px 0 8px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 36px; align-items: center; }
.home .hx-wf-setup { display: grid; gap: 14px; padding: 20px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 50px -36px rgba(0, 0, 0, .25); }
.home .hx-wf-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.home .hx-wf-top strong { font-family: var(--display); font-weight: 500; font-size: 18px; letter-spacing: -.02em; }
.home .hx-wf-status { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border-radius: 999px; background: var(--card); font-family: var(--mono); font-size: 11.5px; color: var(--body); transition: background .3s, color .3s; }
.home .hx-wf-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); }
.home .hx-wf-status.watching i { background: #22a06b; animation: hx-wf-pulse 1.4s ease-out infinite; }
.home .hx-wf-status.watching { background: var(--card); color: var(--body); }
.home .hx-wf-status.met { background: var(--card); color: #111; }
.home .hx-wf-status.met i { background: #22a06b; }
@keyframes hx-wf-pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 160, 107, .5); } 100% { box-shadow: 0 0 0 7px rgba(34, 160, 107, 0); } }
.home .hx-wf-prompt { margin: 0; min-height: 52px; padding: 13px 16px; border-radius: 14px; background: var(--soft); border: 1px solid var(--line); font-size: 15.5px; line-height: 1.4; }
.home .hx-wf-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.home .hx-wf-rows li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; border: 1px dashed var(--line-strong); opacity: .55; transition: opacity .4s, border-color .4s, background .4s; }
.home .hx-wf-rows li.on { opacity: 1; border-style: solid; border-color: var(--line); background: #fff; animation: hc-rise .4s ease both; }
.home .hx-wf-rows li > div { display: grid; min-width: 0; }
.home .hx-wf-rows small { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.home .hx-wf-rows strong { font-size: 14.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home .hx-wf-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--card); color: var(--faint); transition: background .4s, color .4s; }
.home .hx-wf-rows li.on .hx-wf-icon { background: #f4f4f5; color: #52525b; }
.home .hx-wf-check { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #111; color: #fff; transform: scale(0); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1) .15s; }
.home .hx-wf-rows li.on .hx-wf-check { transform: scale(1); }
.home .hx-wf-run { display: flex; align-items: center; gap: 12px; padding-top: 4px; }
.home .hx-wf-run small { flex: none; font-size: 12.5px; color: var(--faint); }
.home .hx-wf-run.met small { color: #111; font-weight: 500; }
.home .hx-wf-scan { position: relative; flex: 1; height: 4px; border-radius: 4px; background: var(--card); overflow: hidden; }
.home .hx-wf-scan i { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, transparent, #a1a1aa, transparent); transform: translateX(-100%); opacity: 0; }
.home .hx-wf-run.watching .hx-wf-scan i { opacity: 1; animation: hx-wf-scan 1.1s ease-in-out infinite; }
.home .hx-wf-run.met .hx-wf-scan i { opacity: 1; transform: none; background: #111; transition: opacity .3s; }
@keyframes hx-wf-scan { to { transform: translateX(100%); } }

/* Watch lock screen: one cropped phone, alerts arrive as liquid-glass notifications. */
.home .hx-ls {
  position: relative; align-self: stretch; width: 400px; min-height: 440px; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 90px), transparent); mask-image: linear-gradient(180deg, #000 calc(100% - 90px), transparent);
}
.home .hx-ls-phone {
  position: absolute; left: 50%; top: 40px; width: 290px; height: 620px; transform: translateX(-50%);
  padding: 7px; border-radius: 50px; background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), 0 30px 60px -30px rgba(0, 0, 0, .3);
}
.home .hx-ls-screen {
  position: relative; height: 100%; overflow: hidden; border-radius: 43px; color: #111;
  background:
    radial-gradient(circle at 18% 58%, rgba(44, 201, 166, .2), transparent 45%),
    radial-gradient(circle at 85% 70%, rgba(160, 108, 240, .2), transparent 45%),
    radial-gradient(circle at 50% 100%, rgba(29, 79, 216, .16), transparent 55%),
    #f4f5f8;
}
.home .hx-ls-status { display: flex; justify-content: space-between; align-items: center; height: 46px; padding: 0 28px; font-size: 14px; font-weight: 600; }
.home .hx-ls-icons { display: inline-flex; align-items: center; gap: 4px; }
.home .hx-ls-icons i { width: 4px; height: 9px; border-radius: 1px; background: #111; }
.home .hx-ls-icons i:first-child { height: 6px; }
.home .hx-ls-icons b { width: 22px; height: 10px; margin-left: 3px; border-radius: 3px; border: 1.5px solid rgba(17, 17, 17, .7); background: linear-gradient(90deg, #111 70%, transparent 70%) 1px 1px / calc(100% - 2px) calc(100% - 2px) no-repeat; }

.home .hx-ls-island {
  position: absolute; z-index: 2; left: 50%; top: 11px; width: 96px; height: 28px; transform: translateX(-50%);
  display: flex; align-items: center; justify-content: center; gap: 7px; padding: 0 12px; border-radius: 999px; background: #000;
  transition: width .55s cubic-bezier(.3, 1.4, .4, 1);
}
.home .hx-ls-island i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #4ade80; opacity: 0; transition: opacity .3s; }
.home .hx-ls-island span { color: #fff; font-size: 11px; font-weight: 500; white-space: nowrap; overflow: hidden; opacity: 0; transition: opacity .3s .1s; }
.home .hx-ls-island.live { width: 128px; }
.home .hx-ls-island.got { width: 124px; animation: hx-ls-bounce .6s cubic-bezier(.3, 1.4, .4, 1); }
.home .hx-ls-island.live i, .home .hx-ls-island.live span, .home .hx-ls-island.got i, .home .hx-ls-island.got span { opacity: 1; }
.home .hx-ls-island.live i { animation: hx-ls-dot 1.2s ease-out infinite; }
.home .hx-ls-island.got i { background: #4ade80; }
@keyframes hx-ls-dot { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); } 100% { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); } }
@keyframes hx-ls-bounce { 40% { transform: translateX(-50%) scale(1.08); } }

.home .hx-ls-clock { display: grid; justify-items: center; margin-top: 30px; }
.home .hx-ls-clock small { font-size: 13px; font-weight: 500; color: #52525b; }
.home .hx-ls-clock strong { font-family: var(--display); font-size: 78px; font-weight: 400; line-height: 1; letter-spacing: -.045em; }

.home .hx-ls-stack { position: relative; height: 220px; margin: 24px 10px 0; }
.home .hx-ls-note {
  position: absolute; left: 0; right: 0; top: calc(var(--pos) * 110px); height: 102px;
  display: grid; align-content: center; gap: 1px; padding: 9px 13px; border-radius: 22px; color: #111;
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(0, 0, 0, .06);
  box-shadow: inset 0 1px 0 #fff, 0 10px 28px -16px rgba(0, 0, 0, .3);
  transition: top .55s cubic-bezier(.2, .8, .2, 1);
  animation: hx-ls-drop .7s cubic-bezier(.2, 1.1, .3, 1) both;
}
.home .hx-ls-note-head { display: flex; align-items: center; gap: 6px; margin-bottom: 3px; font-size: 11px; font-weight: 500; color: rgba(17, 17, 17, .6); text-transform: uppercase; letter-spacing: .03em; }
.home .hx-ls-note-head img, .home .hx-ls-note-head svg { width: 18px; height: 18px; border-radius: 5px; }
.home .hx-ls-note-head time { margin-left: auto; text-transform: none; letter-spacing: 0; }
.home .hx-ls-note strong { font-size: 13.5px; font-weight: 600; }
.home .hx-ls-note p { margin: 0; font-size: 12.5px; line-height: 1.35; color: rgba(17, 17, 17, .72); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.home .hx-ls-note p b { font-weight: 600; color: #111; }
@keyframes hx-ls-drop { from { opacity: 0; transform: translateY(-36px) scale(.9); filter: blur(6px); } }



/* ---------- Logo marquee ---------- */

.home .h-logos { padding: 40px 0 48px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.home .h-logos > p { margin: 0 auto 24px; text-align: center; color: var(--body); font-size: 14px; }
.home .h-logos strong { color: var(--text); font-weight: 600; }
.home .h-marquee { cursor: grab; touch-action: pan-y; user-select: none; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.home .h-marquee-track { display: flex; width: max-content; will-change: transform; }
.home .h-marquee.dragging { cursor: grabbing; }
.home .h-marquee:focus-visible { outline: 2px solid #2f6be6; outline-offset: 4px; }
.home .h-marquee ul { display: flex; gap: 40px; margin: 0; padding: 0 20px; list-style: none; }
.home .h-marquee li { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; color: #6f6f6b; white-space: nowrap; filter: grayscale(1); opacity: .75; transition: filter .25s, opacity .25s; }
.home .h-marquee li:hover { filter: none; opacity: 1; }
.home .h-marquee img { width: 26px; height: 26px; object-fit: contain; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Vision ---------- */

.home .h-vision-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.home .h-vision-steps li { position: relative; overflow: hidden; padding: 32px; min-height: 260px; border-radius: 28px; background: var(--card); display: flex; flex-direction: column; }
.home .h-vision-steps span { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.home .h-vision-steps h3 { margin: auto 0 10px; padding-top: 48px; font-size: 26px; letter-spacing: -.03em; line-height: 1.15; }
.home .h-vision-steps p { margin: 0; color: var(--body); font-size: 15px; }
.home .h-vision-steps .orb { position: absolute; right: -40px; top: -40px; width: 170px; height: 170px; opacity: .9; }

/* Built for trust: six safeguards */
.home .h-trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.home .h-trust-grid > div { padding: 28px; border-radius: 24px; background: var(--card); }
.home .h-trust-grid i { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 22px; border-radius: 12px; background: #fff; color: var(--text); }
.home .h-trust-grid i .int-icon { color: inherit; }
.home .h-trust-grid h3 { margin: 0 0 8px; font-size: 21px; letter-spacing: -.02em; line-height: 1.2; }
.home .h-trust-grid p { margin: 0; color: var(--body); font-size: 15px; }

/* ---------- Product showcase ---------- */

.home .h-showcase { display: grid; grid-template-columns: 340px 1fr; gap: 20px; align-items: start; }
.home .h-showcase-nav { display: grid; gap: 8px; position: sticky; top: 92px; }
.home .sn-item { border-radius: 22px; border: 1px solid var(--line); background: #fff; transition: background .25s, border-color .25s; }
.home .sn-item button { width: 100%; text-align: left; background: none; border: 0; color: inherit; cursor: pointer; padding: 20px 22px; display: grid; justify-items: start; gap: 12px; }
.home .sn-item.active { background: var(--soft); border-color: var(--line-strong); }
.home .sn-item:not(.active):hover { background: var(--soft); }
.home .sn-tag { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.home .sn-item strong { font-family: var(--display); font-weight: 500; font-size: 21px; letter-spacing: -.02em; }
.home .sn-item .pmark { --pm: 28px; }
.home .sn-detail { padding: 0 22px 22px; animation: hc-rise .4s ease both; }
.home .sn-detail p { margin: 0 0 14px; color: var(--body); font-size: 15px; }
.home .sn-detail ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.home .sn-detail li { position: relative; padding-left: 24px; font-size: 14px; color: var(--text); }
.home .sn-detail li::before { content: "✓"; position: absolute; left: 0; color: var(--tone); font-weight: 700; }

.home .h-showcase-stage { position: relative; border-radius: 32px; padding: 30px; background: var(--card); }
.home .stage-head { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.home .stage-head h3 { margin: 0; font-size: 28px; letter-spacing: -.035em; }
.home .stage-head a { font-size: 14px; font-weight: 600; white-space: nowrap; border-bottom: 1px solid currentColor; }
.home .stage-body { animation: hc-rise .45s ease both; }

.home .sp-card { border-radius: 20px; background: #fff; border: 1px solid var(--line); padding: 18px; }
.home .sp-card header { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--body); margin-bottom: 14px; }

.home .sp-ask { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.home .sp-ask dl { margin: 0; display: grid; gap: 2px; }
.home .sp-ask dl div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 10px; border-radius: 10px; font-size: 14px; }
.home .sp-ask dt { color: var(--faint); }
.home .sp-ask dd { margin: 0; font-family: var(--mono); font-size: 13px; color: var(--text); }
.home .sp-ask .hit { background: var(--ask-tint); }
.home .sp-doc { margin: 0; font-size: 15px; line-height: 1.75; color: var(--body); font-family: Georgia, "Times New Roman", serif; }
.home .sp-doc small { display: block; font-family: var(--sans); font-weight: 600; color: var(--text); margin-bottom: 6px; font-size: 13px; }
.home .sp-doc mark { background: var(--ask-tint); color: var(--text); padding: 1px 3px; border-radius: 4px; box-shadow: inset 0 -2px 0 #8fd9c8; }
.home .sp-verdict {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; border-radius: 18px; font-size: 15px; color: var(--text);
  background: #fff; border: 1px solid var(--line);
}
.home .sp-verdict strong { margin-left: auto; font-family: var(--display); font-weight: 500; font-size: 24px; }
.home .sp-badge { flex: none; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; color: #a2391c; background: var(--peach-tint); }

.home .sp-question { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; margin: 0 0 4px; font-family: var(--display); font-size: 19px; letter-spacing: -.015em; color: var(--text); }
.home .sp-question span { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--text); color: #fff; font-family: var(--mono); font-size: 12px; }
.home .sp-ask .sp-question { margin-bottom: 4px; }

.home .sp-insight { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.home .sp-table { grid-column: 1 / -1; }
.home .sp-insight table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.home .sp-insight th, .home .sp-insight td { padding: 8px 6px; text-align: right; border-top: 1px solid var(--line); }
.home .sp-insight th { border-top: 0; color: var(--faint); font-weight: 500; font-size: 12px; }
.home .sp-insight th:first-child, .home .sp-insight td:first-child { text-align: left; }
.home .sp-insight td { font-family: var(--mono); font-size: 13px; }
.home .sp-insight td:first-child { font-family: var(--sans); font-weight: 500; }
.home .sp-insight tr.top td { background: var(--insight-tint); font-weight: 600; }
.home .sp-qchart { display: flex; gap: 14px; height: 150px; padding: 0 4px 22px; border-bottom: 1px solid var(--line); }
.home .sp-qchart > div { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; }
.home .sp-qchart .bars { display: flex; align-items: flex-end; justify-content: center; gap: 4px; height: 100%; }
.home .sp-qchart i { width: 14px; border-radius: 4px 4px 0 0; background: #2563eb; opacity: .55; transform-origin: bottom; animation: hc-grow .8s cubic-bezier(.2, .7, .2, 1) both; }
.home .sp-qchart i.cost { background: #e8a317; }
.home .sp-qchart .top i { opacity: 1; }
.home .sp-qchart small { position: absolute; left: 0; right: 0; bottom: -20px; text-align: center; font-size: 11px; color: var(--faint); }
.home .sp-legend { display: flex; gap: 14px; margin-top: 12px; font-size: 12px; color: var(--body); }
.home .sp-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 6px; background: #2563eb; }
.home .sp-legend i.cost { background: #e8a317; }
.home .sp-insight pre { margin: 0; font-family: var(--mono); font-size: 11.5px; line-height: 1.6; white-space: pre-wrap; color: #3a3a3a; }
.home .sp-watch { display: grid; gap: 14px; }

.home .sp-recipe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.home .sp-recipe header { font-family: var(--mono); color: var(--faint); text-transform: uppercase; letter-spacing: .06em; font-size: 11px; }
.home .sp-recipe ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.home .sp-recipe li { padding: 9px 12px; border-radius: 10px; font-size: 14px; color: var(--faint); }
.home .sp-recipe li.on { color: var(--text); background: var(--watch-tint); font-weight: 500; }
.home .sp-recipe li.on::before { content: "● "; color: var(--watch); }
.home .sp-feed { display: grid; gap: 10px; }
.home .sp-msg span { color: var(--body); }

/* ---------- Platform flow ---------- */

.home .fl-shell { border-radius: 32px; border: 1px solid var(--line); background: #fff; padding: 22px 28px 0; }
.home .fl-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.home .fl-pills { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--card); }
.home .fl-pills button { border: 0; background: none; cursor: pointer; padding: 6px 16px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--body); }
.home .fl-pills button:hover { color: var(--text); }
.home .fl-pills button.active { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.home .fl-pills button.active::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--tone); vertical-align: 1px; }

.home .fl-grid { position: relative; display: grid; grid-template-columns: 1fr 1.1fr 1fr 1fr; gap: 56px; align-items: center; padding: 36px 0; min-height: 470px; }
.home .fl-svg { position: absolute; left: 0; top: 0; z-index: 0; overflow: visible; pointer-events: none; }
.home .fl-link { fill: none; stroke: var(--line-strong); stroke-width: 1; stroke-dasharray: 3 4; }
.home .fl-link.live { stroke: var(--tone); stroke-width: 1.5; stroke-dasharray: none; opacity: .75; }
.home .fl-link.live.drawing { stroke-dasharray: 1; stroke-dashoffset: 1; animation: fl-draw .9s ease forwards; }
@keyframes fl-draw { to { stroke-dashoffset: 0; } }
.home .fl-dot {
  position: absolute; left: 0; top: 0; z-index: 2;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--tone); box-shadow: 0 0 0 4px color-mix(in srgb, var(--tone) 22%, transparent);
  offset-rotate: 0deg;
  animation: fl-travel 1.1s cubic-bezier(.5, 0, .3, 1) forwards;
}
@keyframes fl-travel { from { offset-distance: 0%; opacity: 0; } 15% { opacity: 1; } 90% { opacity: 1; } to { offset-distance: 100%; opacity: 0; } }

.home .fl-col { position: relative; z-index: 1; display: grid; gap: 8px; }
.home .fl-label { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
.home .fl-node {
  position: relative; padding: 12px 14px; border-radius: 14px; background: var(--card); font-size: 14px; color: var(--text);
  border: 1px solid transparent; transition: opacity .4s, background .4s, border-color .4s, box-shadow .4s;
}
.home .fl-node.is-dim { opacity: .5; }
.home .fl-node.is-active, .home .fl-node.is-done { background: #fff; border-color: var(--line-strong); }
.home .fl-node.is-active { border-color: var(--text); box-shadow: 0 10px 30px -18px rgba(20, 30, 70, .45); }
.home .fl-product { display: flex; align-items: center; gap: 12px; background: #fff; border-color: var(--line); }
.home .fl-product .orb { width: 28px; height: 28px; flex: none; }
.home .fl-product > span { display: grid; justify-items: start; gap: 3px; min-width: 0; }
.home .fl-product strong { font-family: var(--display); font-weight: 500; font-size: 16px; }
.home .fl-product small { color: var(--faint); font-size: 12px; }
.home .fl-product.is-active small, .home .fl-product.is-done small { color: var(--tone); font-family: var(--mono); font-size: 11.5px; animation: hc-rise .4s ease both; }
.home .fl-channel { display: flex; align-items: center; gap: 10px; }
.home .fl-channel img { width: 18px; height: 18px; object-fit: contain; }
.home .fl-channel .int-icon { width: 18px; height: 18px; color: var(--body); }
.home .fl-swap { animation: hc-rise .4s ease both; }
.home .fl-result > span { gap: 6px; }
.home .fl-result b { font-family: var(--display); font-size: 16px; font-weight: 500; line-height: 1.3; color: var(--text); }
.home .fl-result.is-dim b { color: var(--body); }
.home .fl-toast {
  position: absolute; z-index: 3; right: 10px; top: -14px;
  padding: 4px 10px; border-radius: 999px; background: var(--text); color: #fff;
  font-style: normal; font-size: 11.5px; white-space: nowrap;
  animation: fl-pop .45s cubic-bezier(.3, 1.4, .5, 1) both;
}
@keyframes fl-pop { from { opacity: 0; transform: translateY(6px) scale(.9); } }

.home .fl-core {
  justify-items: center; text-align: center; gap: 8px;
  padding: 30px 18px; border-radius: 28px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 30px 70px -45px rgba(30, 50, 110, .45);
  transition: box-shadow .4s, border-color .4s;
}
.home .fl-core > .orb { width: 84px; height: 84px; margin-bottom: 4px; transition: transform .6s; }
.home .fl-core strong { font-family: var(--display); font-weight: 500; font-size: 18px; margin-bottom: 6px; }
.home .fl-core span { width: 100%; font-size: 13px; color: var(--body); padding: 8px 10px; border-radius: 10px; background: var(--soft); border: 1px solid transparent; }
.home .fl-core.is-active { border-color: var(--text); }
.home .fl-core.is-active > .orb { animation: fl-pulse 1.3s ease-in-out infinite; }
.home .fl-core.is-active span { animation: fl-chip 2.4s ease both; animation-delay: calc(var(--i) * .45s); }
.home .fl-core.is-done span { background: #fff; border-color: var(--line); color: var(--text); }
@keyframes fl-pulse { 50% { transform: scale(1.08); } }
@keyframes fl-chip { 0%, 100% { background: var(--soft); } 15%, 60% { background: #fff; border-color: var(--text); color: var(--text); } }

.home .fl-steps { list-style: none; margin: 0 -28px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.home .fl-steps li + li { border-left: 1px solid var(--line); }
.home .fl-steps button { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 0 22px 20px; display: grid; gap: 4px; color: inherit; }
.home .fl-steps i { display: block; height: 2px; margin: 0 -22px 14px; background: transparent; overflow: hidden; }
.home .fl-steps li.done i, .home .fl-steps li.active i { background: var(--line); }
.home .fl-steps li.done i { background: var(--text); }
.home .fl-steps b { display: block; height: 100%; background: var(--text); transform-origin: left; animation: hc-progress linear forwards; }
.home .fl-steps span { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.home .fl-steps small { font-size: 14px; color: var(--faint); }
.home .fl-steps li.active span, .home .fl-steps li.active small { color: var(--text); }
.home .fl-steps li.done small { color: var(--body); }

/* ---------- Use cases ---------- */

.home .uc-foot { display: flex; justify-content: center; margin-top: 40px; }
.home .uc-cta { flex: none; padding: 12px 22px; font-size: 15px; }
.home .uc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.home .uc-card { padding: 28px; border-radius: 24px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 22px; }
.home .uc-card > .pmark { align-self: flex-start; }
.home .uc-card ul { list-style: none; margin: 0; padding: 0; display: grid; }
.home .uc-card li + li { border-top: 1px solid var(--line); }
.home .uc-card a { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 16px 0; font-family: var(--display); font-size: 19px; line-height: 1.35; letter-spacing: -.015em; color: var(--text); }
.home .uc-change { margin: -8px 0 16px; padding-right: 31px; color: var(--faint); font-size: 13.5px; line-height: 1.5; }
.home .uc-card li:last-child .uc-change { margin-bottom: 0; }
.home .uc-change b { font-weight: 600; color: var(--body); }
.home .uc-change b.now { color: #13795b; }
.home .uc-card a i { flex: none; font-style: normal; font-size: 15px; color: var(--faint); transition: transform .2s, color .2s; }
.home .uc-card a:hover i { color: var(--text); transform: translate(2px, -2px); }
.home .uc-card a:hover span { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; }

/* ---------- Partner with us ---------- */

.home .pt-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.home .pt-card {
  position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: 24px;
  background: #fff; border: 1px solid var(--line); overflow: hidden;
  transition: border-color .3s, box-shadow .3s, transform .3s, opacity .7s ease var(--delay, 0ms);
}
.home .pt-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--tone); opacity: 0; transition: opacity .3s; }
.home .pt-card:hover { border-color: var(--line-strong); box-shadow: 0 28px 60px -44px rgba(20, 30, 70, .45); }
.home .pt-card:hover::before { opacity: 1; }
.home .pt-card header { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.home .pt-card header i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--tint); color: var(--tone); }
.home .pt-card header i .int-icon { color: inherit; }
.home .pt-card header span { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--tone); }
.home .pt-card h3 { margin: 0 0 6px; font-size: 24px; letter-spacing: -.025em; line-height: 1.2; }
.home .pt-card p { margin: 0 0 18px; color: var(--body); font-size: 15px; }
.home .pt-card .pt-for { margin-bottom: 14px; color: var(--faint); font-size: 13.5px; }
.home .pt-card ul { list-style: none; margin: 0 0 24px; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.home .pt-card li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--text); }
.home .pt-card li .int-icon { flex: none; width: 18px; height: 18px; color: var(--tone); }
.home .pt-link { margin-top: auto; align-self: flex-start; display: inline-flex; gap: 6px; font-size: 14.5px; font-weight: 500; color: var(--text); }
.home .pt-link span { color: var(--faint); transition: transform .2s, color .2s; }
.home .pt-link:hover span { color: var(--tone); transform: translate(2px, -2px); }

.home .pt-program { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; }
.home .pt-benefits, .home .pt-join { padding: 32px; border-radius: 24px; background: var(--card); }
.home .pt-benefits { display: flex; flex-direction: column; }
.home .pt-benefits ul { flex: 1; align-content: center; list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 24px; }
.home .pt-benefits li { display: flex; gap: 14px; }
.home .pt-benefits i { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: #fff; color: var(--text); }
.home .pt-benefits i .int-icon { color: inherit; }
.home .pt-program h4 { margin: 0 0 4px; font-family: var(--display); font-size: 17px; font-weight: 500; letter-spacing: -.01em; }
.home .pt-program p { margin: 0; color: var(--body); font-size: 14.5px; line-height: 1.5; }
.home .pt-join { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); }
.home .pt-join > .orb { position: absolute; z-index: -1; width: 320px; height: 320px; right: -120px; top: -140px; opacity: .55; filter: blur(10px); }
.home .pt-join ol { list-style: none; margin: 24px 0 28px; padding: 0; display: grid; gap: 18px; }
.home .pt-join li { display: flex; gap: 16px; }
.home .pt-join li b { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong); background: #fff; font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--text); }
.home .pt-join .h-actions { margin-top: auto; }

/* ---------- CTA ---------- */

.home .h-cta {
  position: relative; overflow: hidden; isolation: isolate;
  margin: 96px auto; padding: 96px 32px; border-radius: 36px; text-align: center;
  background: var(--card);
}
.home .h-cta > .orb { position: absolute; z-index: -1; width: 520px; height: 520px; left: 50%; top: 115%; transform: translate(-50%, -50%); opacity: .85; filter: blur(8px); }
.home .h-cta h2 { font-size: clamp(36px, 5vw, 66px); letter-spacing: -.05em; line-height: 1.02; margin: 16px auto; max-width: 820px; }
.home .h-cta p { color: var(--body); font-size: 18px; margin: 0 auto 32px; max-width: 560px; }
.home .h-cta .h-actions { justify-content: center; }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .home .pt-grid { grid-template-columns: 1fr; }
  .home .pt-program { grid-template-columns: 1fr; }
  .home .h-trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home .h-showcase { grid-template-columns: 1fr; }
  .home .h-showcase-nav { position: static; grid-template-columns: repeat(3, 1fr); }
  .home .sn-detail { display: none; }
  .home .fl-grid { grid-template-columns: 1fr; gap: 44px; min-height: 0; }
  .home .fl-col:not(.fl-core) { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .home .fl-col .fl-label { grid-column: 1 / -1; }
  /* A column with a single card (like "The result") uses the full width. */
  .home .fl-col:not(.fl-core) > .fl-label + .fl-node:last-child { grid-column: 1 / -1; }
  /* Stacked layout: curves would cut across cards, so link columns simply. */
  .home .fl-svg, .home .fl-dot { display: none; }
  .home .fl-col:not(:last-child)::after { content: ""; position: absolute; left: 50%; bottom: -36px; width: 1px; height: 28px; background: var(--tone); opacity: .6; }
  .home .fl-product.is-active, .home .fl-product.is-done, .home .fl-channel.is-active, .home .fl-channel.is-done { grid-column: 1 / -1; }
  .home .fl-steps { grid-template-columns: repeat(2, 1fr); }
  .home .fl-steps li:nth-child(3) { border-left: 0; }
  .home .fl-steps li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .home .fl-steps li:nth-child(n+3) i { margin-top: -1px; }
}

@media (max-width: 760px) {
  .home .hx { padding: 40px 0 48px; }
  .home .hx-top { margin-bottom: 28px; }
  .home .hx h1 { margin: 18px 0 16px; font-size: clamp(34px, 9.6vw, 50px); }
  .home .hx-sub { font-size: 16.5px; margin-bottom: 24px; }
  .home .ic-copy { display: none; }
  .home .ic-axis small:nth-child(even) { display: none; }
  .home .ic-proof-body { grid-template-columns: 1fr; }
  .home .ic-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 10px; }
  .home .ic-kpi { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; }
  .home .ic-kpi small { width: 100%; }
  .home .ic-kpi strong { white-space: normal; font-size: 17px; }
  .home .ic-proof-head { flex-wrap: wrap; row-gap: 6px; }
  .home .hx-wf { width: calc(100% - 28px); }
  .home .hx-wf { grid-template-columns: 1fr; gap: 22px; padding-top: 16px; }
  .home .hx-wf-setup { padding: 14px; gap: 12px; }
  .home .hx-wf-prompt { font-size: 14.5px; min-height: 0; }
  .home .hx-wf-rows strong { white-space: normal; font-size: 14px; }
  .home .hx-wf-run small { font-size: 11.5px; }
  .home .hx-ls { width: 100%; min-height: 0; height: 380px; }
  .home .hx-ls-phone { width: 256px; top: 28px; }
  .home .hx-ls-clock strong { font-size: 64px; }
  .home .hx-ls-status { padding: 0 22px; }
  .home .hx-ls-island.live, .home .hx-ls-island.got { width: 112px; }
  .home .ic { padding: 14px; }
  .home .ic-head { flex-direction: column; }
  .home .ic-row { grid-template-columns: 84px 1fr; }
  .home .ic { --ic-pad: 46px; }
  .home .ic-val i, .home .ic-axis { display: none; }
  .home .ic-col { grid-template-columns: 48px 1fr; }
  .home .ic-plot { gap: 4px; }
  .home .h-section { padding: 84px 0; }
  .home .h-vision-steps, .home .uc-grid, .home .h-trust-grid { grid-template-columns: 1fr; }
  .home .h-vision-steps li { min-height: 0; }
  .home .h-showcase-nav { grid-template-columns: 1fr; }
  .home .sn-item button { padding: 14px 16px; }
  .home .sn-item strong { font-size: 18px; }
  .home .sn-item .pmark { --pm: 24px; }
  .home .h-showcase-stage { padding: 16px; border-radius: 24px; }
  .home .stage-head { flex-direction: column; gap: 8px; }
  .home .sp-ask, .home .sp-insight, .home .sp-recipe { grid-template-columns: 1fr; }
  .home .sp-insight .sp-card { grid-column: 1 / -1; }
  .home .sp-verdict { flex-wrap: wrap; }
  .home .h-cta { padding: 64px 20px 120px; border-radius: 28px; }
  .home .pt-benefits ul { grid-template-columns: 1fr; }
  .home .pt-benefits, .home .pt-join { padding: 24px; }
  .home .fl-shell { padding: 16px 16px 0; border-radius: 24px; }
  .home .fl-bar { flex-wrap: wrap; }
  .home .fl-steps { margin: 0 -16px; }
  .home .fl-steps button { padding: 0 14px 16px; }
  .home .fl-steps i { margin: 0 -14px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .home .h-marquee-track, .home .fl-core.is-active > .orb, .home .fl-core.is-active span { animation: none; }
  .home .reveal { opacity: 1; transform: none; transition: none; }
  .home .stage-body, .home .sn-detail, .home .sp-qchart i, .home .hx-line > span, .home .hx-pill .hx-word, .home .hx-silk, .home .hx-actions, .home .hx-badge, .home .hx-badge::before, .home .hx-badge::after, .home .ic-track b, .home .ic-bars b, .home .hx-reason-steps li, .home .ic-cval, .home .hx-wf *, .home .ic-kpi, .home .ic-callout, .home .ic-trail li, .home .ic-trail li::after, .home .ic-caret, .home .ic-proof { animation: none !important; }
}
/* Editorial home page (pages/Home.jsx, components/home/ed/*): white canvas,
   serif display type, warm grey cards, grain gradient panels, black pills. */

.home-ed {
  --ed-ink: #0b0b0b;
  --ed-body: #3b3b3b;
  --ed-soft: #7a7a76;
  --ed-grey: #f2f1ee;
  --ed-grey-2: #ebe9e4;
  --ed-line: #e7e6e2;
  --ed-serif: "Goga Test", Inter, ui-sans-serif, system-ui, sans-serif; /* headings: Goga, the logo typeface */
  --ed-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 2.2 -1.15'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background: #fff;
  color: var(--ed-ink);
}
.home-ed .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.home-ed .ed-container { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }
.home-ed .ed-section { padding: 72px 0; }

/* Buttons: black and soft grey pills. */
.home-ed .ed-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.home-ed .ed-btn {
  display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 18px; border-radius: 999px;
  font-size: 15px; font-weight: 500; white-space: nowrap; transition: background .2s, transform .2s;
}
.home-ed .ed-btn.dark { background: var(--ed-ink); color: #fff; }
.home-ed .ed-btn.dark:hover { background: #2a2a2a; }
.home-ed .ed-btn.light { background: var(--ed-grey); color: var(--ed-ink); }
.home-ed .ed-btn.light:hover { background: var(--ed-grey-2); }
.home-ed .ed-demo .ed-btn.light, .home-ed .ed-cta .ed-btn.light { background: #fff; }
.home-ed .ed-btn:active { transform: scale(.97); }
.home-ed .ed-spark { width: 16px; height: 16px; fill: currentColor; }

.home-ed .ed-kicker { font-size: 14px; color: var(--ed-ink); }
.home-ed .ed-tag { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px; background: var(--ed-grey); font-size: 15px; color: var(--ed-ink); }

/* Serif headings everywhere on the page. */
.home-ed h1, .home-ed .ed-intro h2, .home-ed .ed-row h3, .home-ed .ed-demo h2, .home-ed .ed-cta h2 {
  font-family: var(--ed-serif); font-weight: 400; color: var(--ed-ink); letter-spacing: -.025em;
}

/* ---------- Hero ---------- */

.home-ed .ed-hero { padding: 72px 0 0; text-align: center; overflow: hidden; }
.home-ed .ed-hero-copy { width: min(1240px, calc(100% - 48px)); margin: 0 auto; animation: ed-up .9s cubic-bezier(.2, .7, .2, 1) both; }
/* Hero headline: Goga, 72px / 72px, -2.16px tracking. */
.home-ed .ed-hero h1 {
  margin: 0; font-family: var(--ed-serif);
  font-size: 72px; font-weight: 400; line-height: 72px; letter-spacing: -2.16px; color: #000;
}
@media (max-width: 1100px) { .home-ed .ed-hero h1 { font-size: 6.4vw; line-height: 1; letter-spacing: -.03em; } }
.home-ed .ed-l1 { white-space: nowrap; }
/* The pill is an inline-block clipped with clip-path (not overflow), so its
   text keeps the line's baseline. */
/* The rotating word takes the ribbon's colours: blue melting into gold. */
.home-ed .ed-pill {
  position: relative; display: inline-block; vertical-align: baseline; white-space: nowrap; text-align: left;
  transition: width .7s cubic-bezier(.2, .8, .2, 1);
}
.home-ed .ed-roll { position: relative; display: inline-block; }
.home-ed .ed-roll-word {
  display: inline-block; padding-bottom: .08em; margin-bottom: -.08em;
  /* Fine white grain over the blue-to-gold blend, like the ribbon. */
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.3' numOctaves='1' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 3.2 -1.55'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E") 0 0 / 160px 160px,
    radial-gradient(120% 140% at 50% 50%, transparent 55%, rgba(255, 255, 255, .35) 100%),
    linear-gradient(90deg, #2f7ef0 0%, #4f8ff0 38%, #c49650 60%, #e39a24 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.home-ed .ed-pill-sizer { position: absolute; left: 0; top: 0; visibility: hidden; pointer-events: none; }
/* Swap, as a centre-out wipe: the word opens from its middle (0.5s), holds, then closes
   back to its middle (0.25s) before the next one opens. The clip reaches past the line
   box so descenders are never cut. */
.home-ed .ed-slide { display: block; }
.home-ed .ed-slide.shift-in { animation: ed-shift-in .5s cubic-bezier(.2, .7, .2, 1) both; }
.home-ed .ed-slide.shift-out { animation: ed-shift-out .25s ease-in both; }
.home-ed .ed-roll-word.wipe-in { animation: ed-wipe-in .5s cubic-bezier(.45, 0, .55, 1) both; }
.home-ed .ed-roll-word.wipe-out { animation: ed-wipe-out .25s cubic-bezier(.45, 0, .55, 1) both; }

.home-ed .ed-hero-copy > p { max-width: 640px; margin: 26px auto 32px; font-size: 17px; line-height: 1.55; color: var(--ed-body); }
.home-ed .ed-ribbon { display: block; filter: blur(.3px); width: 100%; height: clamp(240px, 26vw, 380px); margin-top: 28px; animation: ed-fade 1.4s .3s ease both; }

/* Connector logos sit right under the ribbon, as one dark row. */
.home-ed .h-logos { margin-top: -36px; padding: 0 0 40px; border: 0; }
.home-ed .h-marquee {
  width: min(1280px, calc(100% - 48px)); margin: 0 auto;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.home-ed .h-marquee ul { gap: 44px; padding: 0 22px; }
.home-ed .h-marquee li { gap: 10px; font-size: 19px; font-weight: 600; letter-spacing: -.01em; color: var(--ed-ink); filter: grayscale(1) contrast(1.15); opacity: .92; }
.home-ed .h-marquee li:hover { filter: none; opacity: 1; }
.home-ed .h-marquee img { width: 28px; height: 28px; }

/* ---------- Demo: blueprint frame around a watercolour panel ---------- */

.home-ed .ed-demo-sec { padding-bottom: 88px; }
.home-ed .ed-demo-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.home-ed .ed-demo-head h2 { margin: 10px 0 10px; font-family: var(--ed-serif); font-weight: 400; font-size: clamp(36px, 4.2vw, 56px); line-height: 1.04; letter-spacing: -.025em; }
.home-ed .ed-demo-head p { margin: 0; font-family: var(--mono); font-size: 14px; color: var(--ed-soft); }
.home-ed .ed-btn.outline { background: #fff; border: 1px solid #d9d8d3; color: var(--ed-ink); }
.home-ed .ed-btn.outline:hover { background: var(--ed-grey); }
.home-ed .ed-btn.outline span { transition: transform .2s; }
.home-ed .ed-btn.outline:hover span { transform: translateX(3px); }

/* Hairlines that run the full width, above and below the frame. */
.home-ed .ed-frame-rule { position: relative; }
.home-ed .ed-frame-rule::before, .home-ed .ed-frame-rule::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: #e6e5e1; }
.home-ed .ed-frame-rule::before { top: 0; }
.home-ed .ed-frame-rule::after { bottom: 0; }
.home-ed .ed-frame {
  position: relative; padding: 14px; border-left: 1px solid #e6e5e1; border-right: 1px solid #e6e5e1;
  background: repeating-linear-gradient(135deg, transparent 0 7px, #efeeea 7px 8px);
}
.home-ed .ed-dot { position: absolute; z-index: 2; width: 9px; height: 9px; border: 1px solid #cfcec9; border-radius: 50%; background: #fff; }
.home-ed .ed-dot.tl { left: -5px; top: -5px; } .home-ed .ed-dot.tr { right: -5px; top: -5px; }
.home-ed .ed-dot.bl { left: -5px; bottom: -5px; } .home-ed .ed-dot.br { right: -5px; bottom: -5px; }

/* Watercolour: cloudy blue and gold washes, soft blotches and paper grain. */
.home-ed .ed-wash {
  --ed-cloud: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cfilter id='c'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.006' numOctaves='5' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.6 -.55'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23c)'/%3E%3C/svg%3E");
  --ed-stain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='500' height='500'%3E%3Cfilter id='s'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.02' numOctaves='3' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .05 0 0 0 0 .2 0 0 0 0 .45 0 0 0 1.8 -.95'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)'/%3E%3C/svg%3E");
  position: relative; isolation: isolate; overflow: hidden; padding: clamp(28px, 5vw, 64px) clamp(16px, 5vw, 72px);
  background-color: #6d9cc6;
  background-image:
    radial-gradient(40% 50% at 18% 20%, #3f75ad 0%, transparent 70%),
    radial-gradient(35% 45% at 85% 80%, #2f5f96 0%, transparent 70%),
    radial-gradient(45% 55% at 70% 25%, #a9c6e1 0%, transparent 70%),
    radial-gradient(35% 40% at 30% 85%, #f2c46d 0%, transparent 70%),
    radial-gradient(60% 60% at 50% 50%, #c7dbee 0%, transparent 75%);
}
.home-ed .ed-wash::before, .home-ed .ed-wash::after { content: ""; position: absolute; inset: -10%; z-index: -1; pointer-events: none; }
.home-ed .ed-wash::before { background: var(--ed-cloud) 0 0 / 600px 600px; opacity: .55; mix-blend-mode: soft-light; animation: ed-wash 40s linear infinite; }
.home-ed .ed-wash::after { background: var(--ed-stain) 0 0 / 500px 500px, var(--ed-noise); opacity: .5; mix-blend-mode: multiply; }
.home-ed .ed-demo-app { position: relative; max-width: 1080px; margin: 0 auto; text-align: left; }
/* One typeface inside the demo: Inter for headings, figures and labels alike.
   Only code keeps a monospace face. */
.home-ed .ed-demo-app { --display: var(--sans); --mono: var(--sans); font-family: var(--sans); }
.home-ed .ed-demo-app .ic-sql, .home-ed .ed-demo-app code, .home-ed .ed-demo-app pre { font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace; }
/* Only the app window carries the frame and shadow; the footnote sits free on the wash. */
.home-ed .ed-wash .pd-window { border: 1px solid rgba(255, 255, 255, .75); border-radius: 14px; overflow: hidden; box-shadow: 0 50px 90px -40px rgba(10, 30, 60, .6), 0 12px 30px -16px rgba(10, 30, 60, .35); }

/* The product tabs show only the wordmark, no Knowledge / Analytics / Alerts label. */
.home-ed .ed-demo-app .pd-item > button small { display: none; }

/* Demo layout: the three products are tabs across the top, the active one's
   tagline and feature ticks sit in a strip under them, and the answer area
   takes the full width. (Below 851px the demo keeps its own compact tabs.) */
@media (min-width: 851px) {
  .home-ed .ed-demo-app .pd-main { grid-template-columns: minmax(0, 1fr); }
  .home-ed .ed-demo-app .pd-side { padding: 12px 14px 0; border-right: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: #faf9f7; }
  .home-ed .ed-demo-app .pd-story { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .home-ed .ed-demo-app .pd-item { display: contents; }
  .home-ed .ed-demo-app .pd-item > button { grid-row: 1; padding: 13px 18px; border: 1px solid transparent; border-radius: 14px; transition: background .3s, border-color .3s, box-shadow .3s; }
  .home-ed .ed-demo-app .pd-item > button { justify-content: center; }
  .home-ed .ed-demo-app .pd-item:not(.on) > button:hover { background: rgba(255, 255, 255, .6); }
  .home-ed .ed-demo-app .pd-item.on > button { background: #fff; border-color: var(--line); box-shadow: 0 10px 24px -18px rgba(20, 30, 70, .4); }
  .home-ed .ed-demo-app .pd-body { grid-row: 2; grid-column: 1 / -1; }
  .home-ed .ed-demo-app .pd-item:not(.on) .pd-body { visibility: hidden; }
  .home-ed .ed-demo-app .pd-body > div, .home-ed .ed-demo-app .pd-item.on .pd-body > div { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; padding: 0 6px; }
  .home-ed .ed-demo-app .pd-item.on .pd-body > div { padding-top: 14px; }
  .home-ed .ed-demo-app .pd-body p { flex: none; margin: 0; font-size: 15px; font-weight: 500; color: var(--text); }
  .home-ed .ed-demo-app .pd-body ul { flex: 1; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 20px; margin: 0; padding: 0; border: 0; }
  .home-ed .ed-demo-app .pd-body li { font-size: 13px; }
  .home-ed .ed-demo-app .pd-watch { padding: 0 clamp(20px, 5vw, 72px); }
  .home-ed .ed-demo-app .pd-progress { flex-basis: 100%; height: 2px; margin: 4px -20px 0; border-radius: 0; background: transparent; }
}

/* The demo's footnote sits on the wash, so it turns white. */
.home-ed .ed-wash .pd-foot { color: rgba(255, 255, 255, .85); text-shadow: 0 1px 2px rgba(10, 30, 60, .35); }
.home-ed .ed-wash .pd-foot a { color: #fff; }

/* Three products under the panel, divided by hairlines. */
.home-ed .ed-demo-strip { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border: 1px solid #e6e5e1; }
.home-ed .ed-demo-strip li + li { border-left: 1px solid #e6e5e1; }
.home-ed .ed-demo-strip a { display: grid; gap: 4px; padding: 22px 24px; color: var(--ed-ink); transition: background .2s; }
.home-ed .ed-demo-strip a:hover { background: #faf9f7; }
.home-ed .ed-demo-strip a > span { font-family: var(--mono); font-size: 12px; color: var(--ed-soft); }
.home-ed .ed-demo-strip b { font-size: 17px; font-weight: 500; }
.home-ed .ed-demo-strip .pmark { --pm: 20px; font-family: inherit; font-weight: 500; letter-spacing: 0; }
.home-ed .ed-demo-strip small { font-size: 14px; line-height: 1.5; color: var(--ed-soft); }

.home-ed .ed-stack-layer p a { color: var(--ed-ink); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

/* Floating spheres */
.home-ed .ed-orbs { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.home-ed .ed-orbs i {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff 0 12%, transparent 42%), conic-gradient(from 200deg, #f6d9a4, #f3e6d9, #d9d4f2, #f7c8b8, #f6d9a4);
  box-shadow: inset -6px -8px 16px rgba(160, 120, 70, .18), 0 10px 20px -12px rgba(120, 90, 40, .35);
  animation: ed-float 9s ease-in-out infinite alternate;
}
.home-ed .ed-orbs .o0 { left: 9%; top: 9%; width: 40px; height: 40px; }
.home-ed .ed-orbs .o1 { left: 28%; top: 26%; width: 34px; height: 34px; animation-delay: -3s; }
.home-ed .ed-orbs .o2 { right: 18%; top: 14%; width: 54px; height: 54px; animation-delay: -5s; }
.home-ed .ed-orbs .o3 { left: 6%; top: 58%; width: 60px; height: 60px; animation-delay: -2s; }
.home-ed .ed-orbs .o4 { right: 4%; top: 52%; width: 52px; height: 52px; animation-delay: -6s; }
.home-ed .ed-orbs .o5 { right: 34%; bottom: 6%; width: 28px; height: 28px; animation-delay: -4s; }

/* ---------- Intro + feature rows ---------- */

.home-ed .ed-intro { max-width: 760px; margin-bottom: 72px; }
.home-ed .ed-intro h2 { margin: 0 0 22px; font-size: clamp(36px, 4.2vw, 56px); line-height: 1.04; }
.home-ed .ed-intro p { margin: 0; max-width: 620px; font-size: 16px; line-height: 1.6; color: var(--ed-body); }

.home-ed .ed-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 40px 0; }
.home-ed .ed-row.flip .ed-row-copy { order: 2; }
.home-ed .ed-row-copy { display: flex; flex-direction: column; align-items: flex-start; }
.home-ed .ed-row h3 { margin: 20px 0 14px; font-size: clamp(32px, 3.2vw, 44px); line-height: 1.08; }
.home-ed .ed-row-text { margin: 0 0 40px; max-width: 460px; font-size: 15.5px; line-height: 1.6; color: var(--ed-soft); }
.home-ed .ed-acc { list-style: none; width: 100%; margin: 0 0 28px; padding: 0; border-top: 1px solid var(--ed-line); }
.home-ed .ed-acc li { position: relative; border-bottom: 1px solid var(--ed-line); }
.home-ed .ed-acc button { width: 100%; padding: 22px 0; border: 0; background: none; text-align: left; font-size: 15px; color: var(--ed-soft); cursor: pointer; transition: color .3s; }
.home-ed .ed-acc li.on button, .home-ed .ed-acc button:hover { color: var(--ed-ink); }
.home-ed .ed-acc-bar { position: absolute; left: 0; bottom: -1px; width: 30%; height: 1px; }
.home-ed .ed-acc-bar b { display: block; height: 100%; background: var(--ed-ink); transform-origin: left; }
.home-ed .ed-acc-bar b.run { animation: ed-bar linear both; }
.home-ed .ed-more { font-size: 15px; font-weight: 500; color: var(--ed-ink); }
.home-ed .ed-more span { display: inline-block; transition: transform .2s; }
.home-ed .ed-more:hover span { transform: translateX(3px); }

/* Grain panels: marbled colour blobs that slowly morph, under a strong
   white speckle, like handhold's cards. */
.home-ed .ed-grain {
  --base: #f7ecd2; --c1: #3d8ef0; --c2: #f0b14a; --c3: #fff6e2;
  position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 1.03; border-radius: 28px;
  display: grid; place-items: center; padding: 32px; background: var(--base);
}
.home-ed .ed-grain.g-insight { --base: #bfeccf; --c1: #22c25c; --c2: #3fd39a; --c3: #f1fdf5; }
.home-ed .ed-grain.g-watch { --base: #fbe1c6; --c1: #f59a5b; --c2: #f7b77a; --c3: #fff6ec; }
.home-ed .ed-grain.g-actions { --base: #fbdfe4; --c1: #ee8aa2; --c2: #f6a9a0; --c3: #fff2f3; }
.home-ed .ed-grain::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .7; mix-blend-mode: screen;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 2.6 -1.25'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") 0 0 / 220px 220px;
}
.home-ed .ed-blobs { position: absolute; inset: -20%; z-index: -2; filter: blur(38px) saturate(1.15); }
.home-ed .ed-blobs i { position: absolute; border-radius: 50%; animation: ed-blob 18s ease-in-out infinite alternate; }
.home-ed .ed-blobs i:nth-child(1) { left: 30%; top: 8%; width: 34%; height: 58%; background: var(--c1); transform: rotate(35deg); }
.home-ed .ed-blobs i:nth-child(2) { left: 52%; top: 46%; width: 30%; height: 50%; background: var(--c1); animation-duration: 22s; animation-delay: -6s; }
.home-ed .ed-blobs i:nth-child(3) { left: 4%; top: 18%; width: 30%; height: 44%; background: var(--c2); animation-duration: 20s; animation-delay: -3s; }
.home-ed .ed-blobs i:nth-child(4) { left: 62%; top: 4%; width: 34%; height: 34%; background: var(--c3); animation-duration: 16s; animation-delay: -9s; }
.home-ed .ed-blobs i:nth-child(5) { left: 18%; top: 62%; width: 40%; height: 30%; background: var(--c3); animation-duration: 24s; animation-delay: -12s; }
.home-ed .ed-blobs i:nth-child(6) { left: 74%; top: 60%; width: 26%; height: 36%; background: var(--c2); animation-duration: 19s; animation-delay: -4s; }
@keyframes ed-blob {
  0% { transform: translate(0, 0) rotate(0deg) scale(1); }
  50% { transform: translate(8%, -10%) rotate(25deg) scale(1.15, .9); }
  100% { transform: translate(-10%, 8%) rotate(-20deg) scale(.9, 1.2); }
}
.home-ed .g-ask {
  background-color: #f6e7c4;
  background-image:
    radial-gradient(28% 40% at 30% 30%, #3d8ef0 0%, transparent 70%),
    radial-gradient(30% 45% at 72% 62%, #3d8ef0 0%, transparent 72%),
    radial-gradient(40% 50% at 82% 18%, #f0b955 0%, transparent 70%),
    radial-gradient(45% 50% at 15% 85%, #f2c46d 0%, transparent 70%),
    radial-gradient(60% 60% at 55% 45%, #fbf1dc 0%, transparent 75%);
}
.home-ed .g-insight {
  background-color: #dff6e8;
  background-image:
    radial-gradient(30% 45% at 25% 30%, #2fc463 0%, transparent 70%),
    radial-gradient(35% 40% at 70% 70%, #36c97a 0%, transparent 72%),
    radial-gradient(45% 50% at 80% 20%, #8ae5b4 0%, transparent 70%),
    radial-gradient(60% 60% at 45% 55%, #effcf4 0%, transparent 75%);
}
.home-ed .g-watch {
  background-color: #fbe6d2;
  background-image:
    radial-gradient(30% 40% at 80% 30%, #f59a5b 0%, transparent 70%),
    radial-gradient(35% 45% at 30% 80%, #f7a76c 0%, transparent 72%),
    radial-gradient(45% 50% at 15% 20%, #f8d3a8 0%, transparent 70%),
    radial-gradient(60% 60% at 55% 50%, #fff4ea 0%, transparent 75%);
}

.home-ed .ed-chips { display: flex; flex-direction: column; align-items: center; gap: 12px; width: min(100%, 420px); }
.home-ed .ed-chip-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; transition: transform .5s cubic-bezier(.2, .7, .2, 1), opacity .5s; opacity: .7; }
.home-ed .ed-chip-row.lit, .home-ed .ed-card-mini.lit, .home-ed .ed-note.lit { opacity: 1; transform: scale(1.04); }
.home-ed .ed-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 6px 18px -10px rgba(60, 40, 10, .35); font-size: 15px; color: var(--ed-ink); animation: ed-bob 6s ease-in-out infinite alternate;
}
.home-ed .ed-chip-row:nth-child(2n) .ed-chip { animation-delay: -2s; }
.home-ed .ed-chip-row:nth-child(3n) .ed-chip { animation-delay: -4s; }
.home-ed .ed-chip.head { background: rgba(255, 255, 255, .88); margin-bottom: 4px; }
.home-ed .ed-chip.head img { width: 22px; height: auto; }
.home-ed .ed-chip.strong { background: rgba(255, 255, 255, .9); font-weight: 600; }
.home-ed .ed-chip.mono { font-family: var(--mono); font-size: 13px; }
.home-ed .ed-card-mini { width: 100%; padding: 16px 18px 10px; border-radius: 20px; background: rgba(255, 255, 255, .7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 10px 24px -14px rgba(20, 60, 30, .4); opacity: .75; transition: transform .5s, opacity .5s; }
.home-ed .ed-bars { display: flex; align-items: flex-end; gap: 14px; height: 110px; }
.home-ed .ed-bars span { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; }
.home-ed .ed-bars i { width: 70%; height: var(--h); border-radius: 6px 6px 2px 2px; background: #a7dfbd; transform-origin: bottom; }
.home-ed .ed-bars i.top { background: #16a34a; }
.home-ed .ed-card-mini.lit .ed-bars i { animation: ed-grow .8s cubic-bezier(.2, .8, .2, 1) calc(var(--i) * 90ms) both; }
.home-ed .ed-bars small { font-size: 11.5px; color: var(--ed-body); }
.home-ed .ed-note { display: flex; gap: 12px; padding: 14px 16px; border-radius: 20px; background: rgba(255, 255, 255, .58); border: 1px solid rgba(255, 255, 255, .75); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 10px 24px -14px rgba(90, 40, 10, .4); text-align: left; opacity: .75; transition: transform .5s, opacity .5s; }
.home-ed .ed-note img, .home-ed .ed-note svg { flex: none; border-radius: 7px; }
.home-ed .ed-note span { display: flex; flex-direction: column; gap: 2px; line-height: 1.35; }
.home-ed .ed-note small { font-size: 12px; color: var(--ed-soft); }
.home-ed .ed-note b { font-size: 14.5px; font-weight: 600; }
.home-ed .ed-note em { font-style: normal; font-size: 13.5px; color: var(--ed-body); }

/* Grainy glass: light blur so the marbling shows through, and the panel's
   speckle carried onto the cards and chips. */
.home-ed .ed-grain {
  --ed-speck: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 2.4 -1.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.home-ed .ed-grain .ac, .home-ed .ed-grain .ic2, .home-ed .ed-grain .ed-chip, .home-ed .ed-grain .ed-note {
  background: var(--ed-speck) 0 0 / 180px 180px, rgba(255, 255, 255, .42);
  -webkit-backdrop-filter: blur(5px) saturate(1.15); backdrop-filter: blur(5px) saturate(1.15);
  border: 1px solid rgba(255, 255, 255, .55);
  box-shadow: 0 16px 36px -24px rgba(30, 30, 30, .3);
}
.home-ed .ed-grain .ed-chip.head, .home-ed .ed-grain .ed-ch-pill.on { background: var(--ed-speck) 0 0 / 180px 180px, rgba(255, 255, 255, .82); }

/* Watch: channel pills light up in turn and each alert drops in. */
.home-ed .ed-ch-pill { gap: 7px; padding: 7px 14px 7px 8px; opacity: .55; transition: opacity .4s, background .4s, box-shadow .4s, transform .4s; animation: none; }
.home-ed .ed-ch-pill img, .home-ed .ed-ch-pill svg { border-radius: 5px; }
.home-ed .ed-ch-pill.on { opacity: 1; background: rgba(255, 255, 255, .9); box-shadow: 0 8px 20px -10px rgba(90, 40, 10, .45); transform: translateY(-2px); }
.home-ed .ed-note-stack { position: relative; width: 100%; display: flex; justify-content: center; }
.home-ed .ed-note-stack .ed-note { opacity: .9; animation: ed-note-in .6s cubic-bezier(.2, .9, .3, 1.1) both; }
.home-ed .ed-note-stack.lit .ed-note { opacity: 1; }
@keyframes ed-note-in { from { opacity: 0; transform: translateY(-14px) scale(.96); filter: blur(4px); } }

/* ---------- Real-looking answers on the Ask and Insight panels ---------- */

.home-ed .ac, .home-ed .ic2 {
  width: min(100%, 470px); padding: 18px 20px; border-radius: 20px; text-align: left;
  background: rgba(255, 255, 255, .58); -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, .75);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 24px 50px -28px rgba(30, 30, 30, .35);
  font-size: 13px; line-height: 1.5; color: #111;
}
.home-ed .lit { transition: box-shadow .4s, background .4s, opacity .4s; }

/* Ask */
.home-ed .ac-q { width: fit-content; margin: 0 0 14px auto; padding: 8px 14px; border-radius: 14px 14px 4px 14px; background: #111; color: #fff; font-size: 13px; }
.home-ed .ac-turn { display: flex; gap: 10px; }
.home-ed .ac-avatar { flex: none; width: 26px; height: 26px; padding: 5px; border: 1px solid #ecebe7; border-radius: 50%; background: #fff; object-fit: contain; }
.home-ed .ac-body { min-width: 0; flex: 1; }
.home-ed .ac-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.home-ed .ac-reason { padding: 2px 9px; border: 1px solid rgba(255, 255, 255, .8); background: rgba(255, 255, 255, .55); border-radius: 999px; font-size: 11.5px; color: #555; }
.home-ed .ac-role { padding: 2px 9px; border-radius: 999px; background: #eef6f0; color: #2f8a52; font-size: 11.5px; opacity: .6; }
.home-ed .ac-role.lit { opacity: 1; box-shadow: 0 0 0 2px rgba(47, 138, 82, .25); }
.home-ed .ac h4 { margin: 8px 0 2px; font-family: var(--sans); font-size: 13.5px; font-weight: 600; }
.home-ed .ac p { margin: 0; }
.home-ed .ac ul { margin: 2px 0 0; padding-left: 18px; }
.home-ed .ac-u { text-decoration: underline; text-decoration-color: #c9c8c3; text-underline-offset: 3px; }
.home-ed .ac-cite { display: inline-grid; place-items: center; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 4px; background: #e8eeff; color: #2f5fd8; font-size: 10px; font-weight: 600; vertical-align: 1px; }
.home-ed .ac-ctx { display: grid; gap: 2px; margin-top: 12px; padding: 9px 12px; border: 1px solid rgba(255, 255, 255, .8); border-radius: 12px; background: rgba(255, 255, 255, .5); }
.home-ed .ac-ctx span { display: flex; gap: 8px; font-size: 12px; color: #555; }
.home-ed .ac-ctx b { font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #2f5fd8; }
.home-ed .ac-ctx small { font-size: 11.5px; color: #6b6b66; }
.home-ed .ac-ctx.lit { background: rgba(255, 255, 255, .85); box-shadow: 0 0 0 2px rgba(47, 95, 216, .2); }
.home-ed .ac-follow { width: fit-content; margin-top: 10px; padding: 5px 12px; border: 1px solid rgba(255, 255, 255, .85); border-radius: 999px; background: rgba(255, 255, 255, .5); font-size: 12px; color: #333; opacity: .7; }
.home-ed .ac-follow.lit { opacity: 1; border-color: #111; }

/* Insight */
.home-ed .ic2-def { margin: 0 0 12px; font-size: 12.5px; color: #333; }
.home-ed .ic2-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.home-ed .ic2-head > span:first-child { display: flex; flex-direction: column; }
.home-ed .ic2-head b { font-size: 13.5px; font-weight: 600; }
.home-ed .ic2-head small { font-size: 11.5px; color: #7a7a76; }
.home-ed .ic2-views { display: inline-flex; padding: 2px; border-radius: 8px; background: rgba(255, 255, 255, .5); }
.home-ed .ic2-views i { padding: 3px 8px; border-radius: 6px; font-style: normal; font-size: 11px; color: #555; }
.home-ed .ic2-views i.on { background: #fff; color: #111; box-shadow: 0 1px 2px rgba(0, 0, 0, .12); }
.home-ed .ic2-chart { display: flex; gap: 6px; height: 150px; margin: 12px 0 22px; padding: 4px; border-radius: 10px; }
.home-ed .ic2-chart.lit { background: rgba(255, 255, 255, .45); }
.home-ed .ic2-y { display: flex; flex-direction: column; justify-content: space-between; font-size: 10px; color: #8a8a85; }
.home-ed .ic2-plot { flex: 1; display: flex; align-items: flex-end; gap: 7px; border-bottom: 1px solid #e6e5e1; background: linear-gradient(rgba(0, 0, 0, .06) 1px, transparent 1px) 0 0 / 100% 33.33%; }
.home-ed .ic2-plot span { position: relative; flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.home-ed .ic2-plot small { font-size: 9.5px; color: #6b6b66; }
.home-ed .ic2-plot i { width: 100%; height: var(--h); border-radius: 3px 3px 0 0; background: #2864e8; transform-origin: bottom; }
.home-ed .ic2-chart.lit .ic2-plot i { animation: ed-grow .8s cubic-bezier(.2, .8, .2, 1) calc(var(--i) * 60ms) both; }
.home-ed .ic2-plot em { position: absolute; bottom: -17px; font-style: normal; font-size: 9px; color: #7a7a76; white-space: nowrap; }
.home-ed .ic2-plot span:nth-child(even) em { display: none; }
.home-ed .ic2-how { display: grid; gap: 6px; padding: 8px 10px; border-radius: 10px; opacity: .75; }
.home-ed .ic2-how span { font-size: 12px; font-weight: 600; }
.home-ed .ic2-how em { margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #e8eeff; color: #2f5fd8; font-style: normal; font-weight: 500; font-size: 11px; }
.home-ed .ic2-how code { display: none; padding: 8px 10px; border-radius: 8px; background: #0f1729; color: #c9d4f5; font-family: var(--mono); font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-ed .ic2-how.lit { opacity: 1; background: rgba(255, 255, 255, .5); }
.home-ed .ic2-how.lit code { display: block; }
.home-ed .ic2-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: 11.5px; color: #8a8a85; }
.home-ed .ic2-check { padding: 2px 9px; border-radius: 999px; background: #eef6f0; color: #2f8a52; opacity: .6; }
.home-ed .ic2-check.lit { opacity: 1; box-shadow: 0 0 0 2px rgba(47, 138, 82, .25); }

/* ---------- Mobile app section, in the page's type and palette ---------- */

.home-ed .h-mobile { --ma-blue: #2864e8; padding-top: 72px; }
.home-ed .ma-head { text-align: left; margin: 0 0 56px; max-width: 760px; }
.home-ed .ma-head h2 { font-family: var(--ed-serif); font-weight: 400; font-size: clamp(36px, 4.2vw, 56px); letter-spacing: -.025em; line-height: 1.04; }
.home-ed .ma-head p { margin-left: 0; font-size: 16px; color: var(--ed-body); }
.home-ed .ma-head .eyebrow { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px; background: var(--ed-grey); font-family: var(--sans); font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--ed-ink); }
.home-ed .ma-head .ma-stores { justify-content: flex-start; margin-top: 26px; }
.home-ed .ma-step-text h3 { font-family: var(--ed-serif); font-weight: 400; letter-spacing: -.025em; }
.home-ed .ma-num { font-family: var(--sans); font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--ed-soft); }
.home-ed .ma-num b { color: var(--ed-ink); }
.home-ed .ma-steps::after { background: var(--ed-ink); }
.home-ed .ma-step.active .ma-step-text::before { border-color: var(--ed-ink); box-shadow: 0 0 0 5px rgba(0, 0, 0, .06); }
.home-ed .ma-stage { border-radius: 28px; background-color: #f6e7c4; background-image: radial-gradient(28% 40% at 20% 25%, #3d8ef0 0%, transparent 70%), radial-gradient(30% 45% at 85% 70%, #3d8ef0 0%, transparent 72%), radial-gradient(45% 50% at 85% 10%, #f0b955 0%, transparent 70%), radial-gradient(45% 50% at 10% 90%, #f2c46d 0%, transparent 70%), radial-gradient(60% 60% at 50% 50%, #fbf1dc 0%, transparent 75%); background-size: 160% 160%; animation: ed-drift 26s ease-in-out infinite alternate; }
.home-ed .ma-stage::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ed-noise); opacity: .5; mix-blend-mode: screen; pointer-events: none; }
.home-ed .ma-stage.s-certified { background-image: radial-gradient(40% 50% at 20% 25%, #2b5fd0 0%, transparent 70%), radial-gradient(40% 50% at 85% 75%, #3a2f8f 0%, transparent 72%), linear-gradient(170deg, #1a1f45, #0f1229); }
.home-ed .ma-halo { display: none; }
.home-ed .ma-step-device { background: var(--ed-grey); }
.home-ed .ma-foot { border-top-color: var(--ed-line); }
.home-ed .ma-extras .ma-ic { background: var(--ed-grey); color: var(--ed-ink); }
.home-ed .ma-actions .button { border-radius: 999px; }

/* ---------- Trust ---------- */

/* ---------- Where entaura.ai sits ---------- */
.home-ed .ed-position h2 { text-wrap: balance; }
.home-ed .ed-stack { display: grid; gap: 10px; }
.home-ed .ed-stack ul { list-style: none; margin: 0; padding: 0; }
.home-ed .ed-stack-label { font-size: 14px; color: #6b6b67; }
.home-ed .ed-stack-row { display: grid; grid-template-columns: 190px 1fr; align-items: center; gap: 20px; padding: 18px 28px; border: 1px solid var(--ed-line); border-radius: 20px; }
.home-ed .ed-stack-row ul { display: flex; flex-wrap: wrap; gap: 8px; }
.home-ed .ed-stack-row li { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 6px 16px; border-radius: 19px; background: var(--ed-grey); font-size: 15px; }
.home-ed .ed-stack-layer { padding: 26px 28px 32px; border-radius: 28px; background: linear-gradient(100deg, #dfeaff, #e2f6e8 52%, #ffeeda); }
.home-ed .ed-stack-layer .ed-stack-label { font-family: var(--ed-serif); font-size: 22px; letter-spacing: -.02em; color: var(--ed-ink); }
.home-ed .ed-stack-layer ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 22px; }
.home-ed .ed-stack-layer i { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 18px; border-radius: 50%; background: rgba(255, 255, 255, .85); color: var(--ed-ink); }
.home-ed .ed-stack-layer i .int-icon { color: inherit; }
.home-ed .ed-stack-layer h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0 0 6px; font-family: var(--ed-serif); font-size: 22px; font-weight: 400; letter-spacing: -.02em; line-height: 1.2; }
.home-ed .ed-stack-layer p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ed-body); }
.home-ed .ed-planned { padding: 2px 9px; border: 1px solid currentColor; border-radius: 999px; font: 500 12px/1.4 var(--sans); letter-spacing: 0; color: var(--ed-body); background: rgba(255, 255, 255, .6); }
.home-ed .ed-beside { width: 100%; margin-top: 56px; border-collapse: collapse; text-align: left; }
.home-ed .ed-beside th, .home-ed .ed-beside td { padding: 20px 24px 20px 0; border-bottom: 1px solid var(--ed-line); vertical-align: top; font-size: 15px; line-height: 1.55; }
.home-ed .ed-beside thead th { padding-block: 0 14px; font-size: 14px; font-weight: 400; color: #6b6b67; }
.home-ed .ed-beside thead th:first-child { width: 26%; }
.home-ed .ed-beside thead th:nth-child(2) { width: 32%; }
.home-ed .ed-beside tbody th { font-family: var(--ed-serif); font-size: 21px; font-weight: 400; letter-spacing: -.015em; line-height: 1.25; }
.home-ed .ed-beside td { color: var(--ed-body); }
.home-ed .ed-beside td:last-child { color: var(--ed-ink); }
.home-ed .ed-beside-note { margin: 22px 0 0; font-size: 14px; color: #6b6b67; }
.home-ed .ed-beside-note a { color: var(--ed-ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 980px) { .home-ed .ed-demo-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } .home-ed .ed-demo-strip li:nth-child(3) { border-left: 0; } .home-ed .ed-demo-strip li:nth-child(n + 3) { border-top: 1px solid #e6e5e1; } }
@media (max-width: 980px) { .home-ed .ed-stack-layer ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .home-ed .ed-stack-row { grid-template-columns: 1fr; gap: 12px; padding: 18px 20px; }
  .home-ed .ed-stack-layer { padding: 22px 20px 26px; }
  .home-ed .ed-stack-layer ul { grid-template-columns: 1fr; }
  .home-ed .ed-stack-layer li { display: grid; grid-template-columns: 42px 1fr; column-gap: 16px; }
  .home-ed .ed-stack-layer i { grid-row: span 2; margin: 0; }
  .home-ed .ed-beside thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .home-ed .ed-beside, .home-ed .ed-beside tbody, .home-ed .ed-beside tr, .home-ed .ed-beside tbody th, .home-ed .ed-beside td { display: block; }
  .home-ed .ed-beside tr { padding: 20px 0; border-bottom: 1px solid var(--ed-line); }
  .home-ed .ed-beside tbody th, .home-ed .ed-beside td { padding: 0; border: 0; }
  .home-ed .ed-beside td { margin-top: 10px; }
  .home-ed .ed-beside td::before { content: attr(data-label); display: block; font-size: 13px; color: #6b6b67; }
}

.home-ed .ed-trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ed-line); }
.home-ed .ed-trust-grid > div { padding: 32px 32px 40px 0; border-bottom: 1px solid var(--ed-line); }
.home-ed .ed-trust-grid > div:not(:nth-child(3n + 1)) { padding-left: 32px; border-left: 1px solid var(--ed-line); }
.home-ed .ed-trust-grid i { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 40px; border-radius: 50%; background: var(--ed-grey); color: var(--ed-ink); }
.home-ed .ed-trust-grid i .int-icon { color: inherit; }
.home-ed .ed-trust-grid h3 { margin: 0 0 8px; font-family: var(--ed-serif); font-size: 26px; font-weight: 400; letter-spacing: -.02em; line-height: 1.15; }
.home-ed .ed-trust-grid p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ed-soft); }

/* ---------- Use cases ---------- */

.home-ed .ed-case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.home-ed .ed-case { position: relative; isolation: isolate; overflow: hidden; padding: 24px 26px 30px; border-radius: 28px; background-size: 200% 200%; }
.home-ed .ed-case::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .92) 38%); }
.home-ed .ed-case::after { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--ed-noise); opacity: .4; mix-blend-mode: screen; }
.home-ed .ed-case .ed-tag { background: rgba(255, 255, 255, .85); }
.home-ed .ed-case ul { list-style: none; margin: 26px 0 0; padding: 0; }
.home-ed .ed-case li + li { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--ed-line); }
.home-ed .ed-case a { display: flex; justify-content: space-between; gap: 14px; margin-bottom: 12px; font-family: var(--ed-serif); font-size: 23px; line-height: 1.2; letter-spacing: -.015em; color: var(--ed-ink); }
.home-ed .ed-case a i { flex: none; font-style: normal; font-family: var(--sans); font-size: 14px; color: var(--ed-soft); transition: transform .2s, color .2s; }
.home-ed .ed-case a:hover i { color: var(--ed-ink); transform: translate(2px, -2px); }
.home-ed .ed-case p { display: flex; gap: 10px; margin: 4px 0 0; font-size: 14px; line-height: 1.5; color: var(--ed-soft); }
.home-ed .ed-case p span { flex: none; width: 52px; color: var(--ed-soft); }
.home-ed .ed-case p.now { color: var(--ed-ink); }
.home-ed .ed-case p.now span { color: #15803d; }

/* ---------- CTA ---------- */

.home-ed .ed-cta { position: relative; isolation: isolate; overflow: hidden; padding: 120px 32px; border-radius: 28px; background: var(--ed-grey); text-align: center; }
.home-ed .ed-cta h2 { margin: 12px 0 18px; font-size: clamp(38px, 5vw, 68px); line-height: 1.04; }
.home-ed .ed-cta p { max-width: 560px; margin: 0 auto 32px; font-size: 16px; line-height: 1.6; color: var(--ed-body); }

/* ---------- Motion ---------- */

.home-ed .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1) var(--delay, 0ms), transform .9s cubic-bezier(.2, .7, .2, 1) var(--delay, 0ms); }
.home-ed .reveal.in { opacity: 1; transform: none; }
@keyframes ed-up { from { opacity: 0; transform: translateY(18px); } }
@keyframes ed-fade { from { opacity: 0; } }
@keyframes ed-shift-in { from { opacity: 0; transform: translateY(14px); } }
@keyframes ed-shift-out { to { opacity: 0; transform: translateY(-14px); } }
@keyframes ed-wipe-in { from { clip-path: inset(-.3em 50% -.3em 50%); } to { clip-path: inset(-.3em 0 -.3em 0); } }
@keyframes ed-wipe-out { from { clip-path: inset(-.3em 0 -.3em 0); } to { clip-path: inset(-.3em 50% -.3em 50%); } }
@keyframes ed-float { from { transform: translate(0, 0); } to { transform: translate(10px, -16px); } }
@keyframes ed-bob { from { transform: translateY(0); } to { transform: translateY(-5px); } }
@keyframes ed-drift { from { background-position: 0% 0%; } to { background-position: 100% 100%; } }
@keyframes ed-wash { to { background-position: 600px 300px; } }
@keyframes ed-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes ed-grow { from { transform: scaleY(0); } }

@media (prefers-reduced-motion: reduce) {
  .home-ed .ed-hero-copy, .home-ed .ed-slide, .home-ed .ed-roll-word, .home-ed .ed-ribbon, .home-ed .ed-orbs i, .home-ed .ed-chip,
  .home-ed .ed-blobs i, .home-ed .ed-note-stack .ed-note, .home-ed .ma-stage, .home-ed .ed-wash::before, .home-ed .ed-card-mini.lit .ed-bars i { animation: none; }
  .home-ed .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .home-ed .ed-row { grid-template-columns: 1fr; gap: 28px; }
  .home-ed .ed-row.flip .ed-row-copy { order: 0; }
  .home-ed .ed-grain { aspect-ratio: 1.2; }
  .home-ed .ed-trust-grid, .home-ed .ed-case-grid { grid-template-columns: 1fr; }
  .home-ed .ed-trust-grid > div, .home-ed .ed-trust-grid > div:not(:nth-child(3n + 1)) { padding: 28px 0; border-left: 0; }
  .home-ed .ed-trust-grid i { margin-bottom: 20px; }
}
@media (max-width: 760px) { .home-ed .ed-l1 { white-space: normal; } .home-ed .ed-hero h1 { font-size: min(9vw, 44px); line-height: 1.05; display: grid; align-content: center; min-height: 3.15em; } }
@media (max-width: 640px) {
  .home-ed .ed-section { padding: 48px 0; }
  .home-ed .ed-hero { padding-top: 48px; }
  .home-ed .ed-demo-head { flex-direction: column; align-items: flex-start; }
  .home-ed .ed-frame { padding: 8px; }
  .home-ed .ed-demo-strip { grid-template-columns: 1fr; }
  .home-ed .ed-demo-strip li + li { border-left: 0; border-top: 1px solid #e6e5e1; }
  .home-ed .ed-intro { margin-bottom: 40px; }
  .home-ed .ed-grain { aspect-ratio: auto; padding: 28px 14px; border-radius: 22px; }
  .home-ed .ac, .home-ed .ic2 { padding: 14px; }
  .home-ed .ed-chip { font-size: 13px; padding: 8px 12px; }
  .home-ed .ed-cta { padding: 72px 20px; }
}

/* Phones: only the corner orbs, smaller, so none sit on the call to action. */
@media (max-width: 640px) {
  .home-ed .ed-orbs .o1, .home-ed .ed-orbs .o3, .home-ed .ed-orbs .o4 { display: none; }
  .home-ed .ed-orbs .o0 { left: 5%; top: 4%; width: 28px; height: 28px; }
  .home-ed .ed-orbs .o2 { right: 5%; top: 4%; width: 34px; height: 34px; }
  .home-ed .ed-orbs .o5 { right: 8%; bottom: 3%; width: 22px; height: 22px; }
}
/* Home sections in the visual language of the mobile app section (mobile-app.css):
   large tight headings, blue numbered labels, lavender stages and frosted cards.
   Shared pieces (v2-*) and the CTA are scoped to .home so the Partners page's CTA
   matches; everything else is scoped to the home page (.home-v2). */

.home {
  --v2-blue: #2864e8;
  --v2-stage:
    radial-gradient(70% 60% at 88% 108%, #c9cefb 0%, transparent 65%),
    radial-gradient(60% 55% at 0% 100%, #e0d9fc 0%, transparent 60%),
    linear-gradient(170deg, #f7f7ff 0%, #eeeefd 50%, #e4e6fc 100%);
}

/* ---------- Shared pieces ---------- */

.home .v2-stage { position: relative; isolation: isolate; overflow: hidden; background: var(--v2-stage); }
.home .v2-halo {
  position: absolute; z-index: -1; left: 50%; top: 50%; width: 420px; height: 420px; margin: -210px 0 0 -210px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0)); pointer-events: none;
}
.home .v2-glass {
  border: 1px solid rgba(255, 255, 255, .95); border-radius: 18px;
  background: rgba(255, 255, 255, .84); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 18px 40px -18px rgba(35, 40, 120, .32), 0 2px 6px rgba(35, 40, 120, .05);
}
.home .v2-num { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.home .v2-num b { font-weight: 500; color: var(--v2-blue); }
.home .v2-bubble { margin: 0; padding: 10px 14px; border-radius: 18px 18px 6px 18px; background: #e4ebff; color: #1d45b5; font-size: 14px; line-height: 1.35; }
.home .v2-toggle { position: relative; flex: none; width: 30px; height: 18px; border-radius: 10px; background: #d9dbe5; }
.home .v2-toggle::after { content: ""; position: absolute; left: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.home .on > .v2-toggle { background: var(--v2-blue); }
.home .on > .v2-toggle::after { transform: translateX(12px); }

/* ---------- Section heads ---------- */

.home.home-v2 .h-head { max-width: 900px; margin-bottom: 72px; }
.home.home-v2 .h-head h2 { font-size: clamp(40px, 5.6vw, 76px); font-weight: 500; line-height: 1; letter-spacing: -.055em; }
.home.home-v2 .h-head h2 .muted, .home.home-v2 .h-head h2 .gradient-text { display: block; color: var(--text); }
.home.home-v2 .h-head p { max-width: 620px; margin-top: 24px; font-size: 19px; }

/* ---------- One platform ---------- */

.home.home-v2 .vb-steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.home.home-v2 .vb-steps li { display: flex; flex-direction: column; }
.home.home-v2 .vb-visual { height: 300px; margin-bottom: 26px; border-radius: 32px; display: grid; place-items: center; padding: 24px; }
.home.home-v2 .vb-steps .v2-num { position: relative; padding-left: 26px; }
.home.home-v2 .vb-steps .v2-num::before { content: ""; position: absolute; left: 0; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: #fff; border: 2px solid var(--v2-blue); box-shadow: 0 0 0 4px rgba(40, 100, 232, .12); }
.home.home-v2 .vb-steps h3 { margin: 14px 0 10px; font-size: clamp(26px, 2.4vw, 32px); font-weight: 500; line-height: 1.08; letter-spacing: -.04em; }
.home.home-v2 .vb-steps p { margin: 0; color: var(--body); font-size: 16px; }

.home.home-v2 .vb-sources { width: min(100%, 290px); padding: 14px; display: grid; gap: 4px; }
.home.home-v2 .vb-sources header { display: flex; justify-content: space-between; align-items: center; padding: 0 4px 8px; font-size: 14px; }
.home.home-v2 .vb-sources header em { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; background: #dff5e6; color: #1e8a43; font-style: normal; font-size: 12px; font-weight: 600; }
.home.home-v2 .vb-sources header .int-icon { width: 14px; height: 14px; }
.home.home-v2 .vb-sources > div { display: flex; align-items: center; gap: 10px; padding: 8px 6px; border-radius: 10px; font-size: 13.5px; color: var(--faint); }
.home.home-v2 .vb-sources > div.on { color: var(--text); }
.home.home-v2 .vb-sources > div .int-icon { width: 18px; height: 18px; color: var(--v2-blue); }
.home.home-v2 .vb-sources > div:not(.on) .int-icon { color: var(--faint); }
.home.home-v2 .vb-sources > div span { flex: 1; }

.home.home-v2 .vb-ask { width: min(100%, 300px); display: grid; gap: 10px; }
.home.home-v2 .vb-ask .v2-bubble { justify-self: end; max-width: 85%; }
.home.home-v2 .vb-answer { padding: 14px; }
.home.home-v2 .vb-answer p { margin: 0 0 10px; font-size: 14px; line-height: 1.45; color: var(--text); }
.home.home-v2 .vb-cite { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: #e8eeff; color: #1f45b8; font-size: 12px; font-weight: 600; }
.home.home-v2 .vb-cite .int-icon { width: 14px; height: 14px; }
.home.home-v2 .vb-langs { display: flex; gap: 6px; }
.home.home-v2 .vb-langs span { padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .7); border: 1px solid #fff; font-size: 12px; color: var(--body); }

.home.home-v2 .vb-act { position: relative; width: min(100%, 300px); height: 170px; }
.home.home-v2 .vb-note { position: absolute; left: 0; right: 0; display: flex; align-items: center; gap: 12px; padding: 14px; }
.home.home-v2 .vb-note:not(.back) { bottom: 0; }
.home.home-v2 .vb-note.back { top: 0; left: 18px; right: 18px; padding: 10px 12px; opacity: .8; transform: scale(.96); }
.home.home-v2 .vb-note img, .home.home-v2 .vb-note svg { flex: none; border-radius: 8px; }
.home.home-v2 .vb-note span { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.home.home-v2 .vb-note small { font-size: 11.5px; color: var(--faint); }
.home.home-v2 .vb-note b { font-size: 14.5px; font-weight: 600; }
.home.home-v2 .vb-note em { font-style: normal; font-size: 13px; color: var(--body); }

/* ---------- Ask • Insight • Watch ---------- */

.home.home-v2 .h-showcase { grid-template-columns: 360px 1fr; gap: 40px; }
.home.home-v2 .h-showcase-nav { gap: 0; padding-left: 28px; }
.home.home-v2 .h-showcase-nav::before { content: ""; position: absolute; left: 6px; top: 26px; bottom: 26px; width: 2px; border-radius: 2px; background: var(--line); }
.home.home-v2 .sn-item { position: relative; border: 0; border-radius: 0; background: none; opacity: .38; transition: opacity .4s; }
.home.home-v2 .sn-item::before { content: ""; position: absolute; left: -28px; top: 24px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--line-strong); transition: border-color .4s, box-shadow .4s; }
.home.home-v2 .sn-item.active { opacity: 1; background: none; }
.home.home-v2 .sn-item.active::before { border-color: var(--v2-blue); box-shadow: 0 0 0 5px rgba(40, 100, 232, .14); }
.home.home-v2 .sn-item:not(.active):hover { opacity: .7; background: none; }
.home.home-v2 .sn-item button { padding: 18px 0 14px; }
.home.home-v2 .sn-tag { display: inline-flex; gap: 10px; font-size: 12px; letter-spacing: .08em; }
.home.home-v2 .sn-tag b { font-weight: 500; color: var(--v2-blue); }
.home.home-v2 .sn-item .pmark { --pm: 34px; }
.home.home-v2 .sn-detail { padding: 0 0 18px; }
.home.home-v2 .sn-detail p { font-size: 16px; }
.home.home-v2 .sn-detail li::before { content: ""; top: .3em; width: 14px; height: 14px; border-radius: 50%; background: var(--v2-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-9'/%3E%3C/svg%3E") center / 10px no-repeat; }

.home.home-v2 .h-showcase-stage { padding: 36px; border-radius: 40px; background: var(--v2-stage); overflow: hidden; isolation: isolate; }
.home.home-v2 .h-showcase-stage::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: 640px; height: 640px; margin: -320px 0 0 -320px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0));
}
.home.home-v2 .stage-head h3 { font-size: 32px; font-weight: 500; letter-spacing: -.04em; }
.home.home-v2 .stage-head a { border: 0; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .8); box-shadow: 0 6px 16px -10px rgba(35, 40, 120, .4); }
.home.home-v2 .sp-question { align-self: flex-end; justify-content: flex-end; font-family: var(--sans); font-size: 15px; }
.home.home-v2 .sp-question { justify-self: end; width: fit-content; padding: 10px 16px 10px 10px; border-radius: 20px 20px 6px 20px; background: #e4ebff; color: #1d45b5; }
.home.home-v2 .sp-question span { background: var(--v2-blue); }
.home.home-v2 .sp-card, .home.home-v2 .sp-verdict, .home.home-v2 .sp-msg {
  border: 1px solid rgba(255, 255, 255, .95); background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -22px rgba(35, 40, 120, .35);
}
.home.home-v2 .sp-qchart i { background: var(--v2-blue); }
.home.home-v2 .sp-legend i { background: var(--v2-blue); }

/* ---------- How it works ---------- */

.home.home-v2 .fl-shell { border: 0; border-radius: 40px; background: var(--v2-stage); padding: 26px 32px 0; overflow: hidden; }
.home.home-v2 .fl-bar { border-bottom-color: rgba(255, 255, 255, .9); }
.home.home-v2 .fl-pills { background: rgba(255, 255, 255, .6); border: 1px solid #fff; }
.home.home-v2 .fl-pills button.active { background: var(--text); color: #fff; }
.home.home-v2 .fl-node { background: rgba(255, 255, 255, .55); border-color: rgba(255, 255, 255, .9); }
.home.home-v2 .fl-node.is-active, .home.home-v2 .fl-node.is-done, .home.home-v2 .fl-product {
  background: rgba(255, 255, 255, .9); border-color: #fff; box-shadow: 0 14px 34px -20px rgba(35, 40, 120, .4);
}
.home.home-v2 .fl-node.is-active { outline: 2px solid var(--v2-blue); outline-offset: -1px; }
.home.home-v2 .fl-core { background: rgba(255, 255, 255, .88); border-color: #fff; box-shadow: 0 30px 70px -36px rgba(35, 40, 120, .5); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.home.home-v2 .fl-core.is-active { border-color: var(--v2-blue); }
.home.home-v2 .fl-core span { background: rgba(240, 242, 252, .9); }
.home.home-v2 .fl-link { stroke: #b8bcef; }
.home.home-v2 .fl-steps { margin: 0 -32px; border-top-color: rgba(255, 255, 255, .9); background: rgba(255, 255, 255, .45); }
.home.home-v2 .fl-steps li + li { border-left-color: rgba(255, 255, 255, .9); }
.home.home-v2 .fl-steps li.done i, .home.home-v2 .fl-steps li.active i { background: rgba(40, 100, 232, .15); }
.home.home-v2 .fl-steps li.done i, .home.home-v2 .fl-steps b { background: var(--v2-blue); }
.home.home-v2 .fl-steps li.active span { color: var(--v2-blue); }

.home.home-v2 .h-head h1 { font-size: clamp(40px, 5.6vw, 76px); font-weight: 500; line-height: 1; letter-spacing: -.055em; }
.home.home-v2 .h-head h1 .muted { display: block; color: var(--text); }

/* ---------- Built for trust: bento ---------- */

.home.home-v2 .tb-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.home.home-v2 .tb-grid article { border-radius: 32px; padding: 30px; }
.home.home-v2 .tb-grid h3 { margin: 12px 0 8px; font-size: 24px; font-weight: 500; line-height: 1.12; letter-spacing: -.035em; }
.home.home-v2 .tb-grid p { margin: 0; color: var(--body); font-size: 15px; }
.home.home-v2 .tb-grid i { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 26px; border-radius: 14px; background: #e8eeff; color: var(--v2-blue); }
.home.home-v2 .tb-grid i .int-icon { color: inherit; }

.home.home-v2 .tb-lead {
  grid-column: span 2; grid-row: span 2; position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column;
  color: #fff; background: radial-gradient(70% 60% at 85% 105%, #3a3f9a 0%, transparent 65%), radial-gradient(60% 55% at 0% 100%, #2a2368 0%, transparent 60%), linear-gradient(170deg, #1a1f45 0%, #10142e 100%);
}
.home.home-v2 .tb-lead .v2-num { color: rgba(255, 255, 255, .55); }
.home.home-v2 .tb-lead .v2-num b { color: #8fb2ff; }
.home.home-v2 .tb-lead h3 { color: #fff; font-size: clamp(32px, 3.4vw, 46px); line-height: 1.02; letter-spacing: -.045em; }
.home.home-v2 .tb-lead p { color: rgba(255, 255, 255, .72); font-size: 17px; max-width: 380px; }
.home.home-v2 .tb-conn { position: relative; margin-top: auto; padding-top: 32px; }
.home.home-v2 .tb-conn::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 60%; width: 420px; height: 300px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(90, 110, 255, .35), transparent); }
.home.home-v2 .tb-conn .v2-glass { max-width: 380px; padding: 16px; color: var(--text); }
.home.home-v2 .tb-conn header { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.home.home-v2 .tb-conn header .int-icon { width: 36px; height: 36px; padding: 8px; border-radius: 12px; background: #e8eeff; color: var(--v2-blue); }
.home.home-v2 .tb-conn header span { display: flex; flex-direction: column; line-height: 1.25; }
.home.home-v2 .tb-conn header small { font-size: 12.5px; color: #1e8a43; }
.home.home-v2 .tb-conn dl { margin: 0; display: grid; }
.home.home-v2 .tb-conn dl div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 2px; font-size: 13.5px; }
.home.home-v2 .tb-conn dl div + div { border-top: 1px solid var(--line); }
.home.home-v2 .tb-conn dt { color: var(--body); }
.home.home-v2 .tb-conn dd { margin: 0; display: inline-flex; align-items: center; gap: 5px; font-family: var(--mono); font-size: 12.5px; }
.home.home-v2 .tb-conn dd.ok { padding: 2px 9px; border-radius: 999px; background: #dff5e6; color: #1e8a43; font-family: var(--sans); font-weight: 600; }
.home.home-v2 .tb-conn dd .int-icon { width: 14px; height: 14px; }

.home.home-v2 .tb-tile { background: var(--card); background: linear-gradient(180deg, #f7f7fd, #f1f1fa); border: 1px solid #ececf6; }
.home.home-v2 .tb-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; align-items: center; background: var(--v2-stage); }
.home.home-v2 .tb-wide i { margin-bottom: 18px; background: #fff; }
.home.home-v2 .tb-options { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.home.home-v2 .tb-options .v2-glass { display: flex; align-items: center; gap: 12px; padding: 16px; }
.home.home-v2 .tb-options .int-icon { flex: none; width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: #e8eeff; color: var(--v2-blue); }
.home.home-v2 .tb-options span { display: flex; flex-direction: column; line-height: 1.3; }
.home.home-v2 .tb-options b { font-size: 16px; font-weight: 600; }
.home.home-v2 .tb-options small { font-size: 13px; color: var(--body); }

/* ---------- Use cases ---------- */

.home.home-v2 .uc-card { padding: 0; gap: 0; border-radius: 32px; border-color: #ececf6; overflow: hidden; }
.home.home-v2 .uc-card > header { display: flex; align-items: center; justify-content: space-between; height: 120px; padding: 0 28px; }
.home.home-v2 .uc-card > header .pmark { --pm: 34px; }
.home.home-v2 .uc-card > header small { font-family: var(--mono); font-size: 12px; color: var(--v2-blue); }
.home.home-v2 .uc-card > header .v2-halo { width: 300px; height: 300px; margin: -150px 0 0 -150px; }
.home.home-v2 .uc-card ul { padding: 10px 28px 26px; }
.home.home-v2 .uc-card a { padding: 18px 0 12px; font-size: 20px; }
.home.home-v2 .uc-card a i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #e8eeff; color: var(--v2-blue); font-size: 13px; }
.home.home-v2 .uc-card a:hover i { background: var(--v2-blue); color: #fff; }
.home.home-v2 .uc-change { margin: 0 0 18px; padding: 0; display: grid; gap: 6px; font-size: 14px; color: var(--body); }
.home.home-v2 .uc-card li:last-child .uc-change { margin-bottom: 0; }
.home.home-v2 .uc-change span { display: flex; align-items: baseline; gap: 8px; }
.home.home-v2 .uc-change span i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #d4d5dc; transform: translateY(-1px); }
.home.home-v2 .uc-change span.now i { background: #22a06b; box-shadow: 0 0 0 3px #dff5e6; }
.home.home-v2 .uc-change b { flex: none; width: 52px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.home.home-v2 .uc-change .now b { color: #1e8a43; }
.home.home-v2 .uc-change .now { color: var(--text); }

/* ---------- CTA ---------- */

.home .h-cta.v2-stage { padding: 120px 32px; border-radius: 44px; background: var(--v2-stage); }
.home .h-cta.v2-stage .v2-halo { width: 760px; height: 760px; margin: -380px 0 0 -380px; }
.home .h-cta.v2-stage h2 { font-size: clamp(42px, 6vw, 84px); font-weight: 500; line-height: .98; letter-spacing: -.055em; max-width: 900px; }
.home .h-cta.v2-stage p { font-size: 19px; }
.home .cta-note { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; text-align: left; }
.home .cta-note > i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: #dff5e6; color: #1e8a43; font-style: normal; font-weight: 700; }
.home .cta-note span { display: flex; flex-direction: column; line-height: 1.3; }
.home .cta-note b { font-size: 15px; font-weight: 600; }
.home .cta-note small { font-size: 12.5px; color: var(--body); }
.home .cta-note.l1 { left: 5%; top: 22%; transform: rotate(-3deg); }
.home .cta-note.r1 { right: 5%; top: 16%; transform: rotate(3deg); }
.home .cta-note.r2 { right: 8%; bottom: 14%; transform: rotate(-2deg); }

/* ---------- Responsive ---------- */

@media (max-width: 1200px) { .home .cta-note { display: none; } }
@media (max-width: 1080px) {
  .home.home-v2 .vb-steps { grid-template-columns: 1fr; gap: 48px; }
  .home.home-v2 .vb-visual { height: 280px; }
  .home.home-v2 .h-showcase { grid-template-columns: 1fr; }
  .home.home-v2 .tb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home.home-v2 .tb-lead { grid-column: 1 / -1; grid-row: auto; }
  .home.home-v2 .tb-wide { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .home.home-v2 .h-head { margin-bottom: 48px; }
  .home.home-v2 .h-head p, .home .h-cta.v2-stage p { font-size: 17px; }
  .home.home-v2 .h-showcase-nav { padding-left: 0; }
  .home.home-v2 .h-showcase-nav::before, .home.home-v2 .sn-item::before { display: none; }
  .home.home-v2 .sn-item { opacity: 1; }
  .home.home-v2 .sn-item:not(.active) { opacity: .5; }
  .home.home-v2 .h-showcase-stage { padding: 18px; border-radius: 28px; }
  .home.home-v2 .fl-shell { padding: 18px 16px 0; border-radius: 28px; }
  .home.home-v2 .fl-steps { margin: 0 -16px; }
  .home.home-v2 .tb-grid { grid-template-columns: 1fr; }
  .home.home-v2 .tb-grid article { padding: 24px; border-radius: 26px; }
  .home.home-v2 .tb-options { grid-template-columns: 1fr; }
  .home.home-v2 .uc-card > header { height: 96px; }
  .home .h-cta.v2-stage { padding: 72px 20px; border-radius: 28px; }
}
/* Product pages built from components/product/ProductSections.jsx, and the
   recreated app screens in components/product/AskScreens.jsx. */

.pp { --app: #2f6be6; --app-tint: #edf3ff; --app-line: #dbe5f8; --accent: var(--ask); --accent-tint: var(--ask-tint); }
.pp-insight { --accent: var(--insight); --accent-tint: var(--insight-tint); }
.pp-watch { --accent: var(--watch); --accent-tint: var(--watch-tint); }
.pp .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease var(--delay, 0ms), transform .7s ease var(--delay, 0ms); }
.pp .reveal.in { opacity: 1; transform: none; }


/* Product pages reuse the home page sections (home.css, scoped to .home).
   The rules below only cover what's specific to a product page. */

.pp-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }

/* CTA: the product mark above the title */
.home.pp .h-cta .pmark { justify-content: center; }

/* Integrations */
.pp-int ul, .pp-int-foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pp-int li, .pp-int-foot li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 13.5px; font-weight: 500; }
.pp-int li img, .pp-int-foot li img { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--soft); object-fit: contain; }
.pp-glyph { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--soft); color: var(--text); }
.pp-glyph .int-icon { width: 13px; height: 13px; color: inherit; }
.pp-int li.pp-more { padding: 0; border-style: dashed; border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); background: color-mix(in srgb, var(--accent-tint) 55%, #fff); }
.pp-more a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; color: var(--accent); font-weight: 600; }
.pp-more span { display: inline-flex; }
.pp-more i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #fff; background: var(--accent); opacity: .35; }
.pp-more i + i { margin-left: -6px; opacity: .6; }
.pp-more i + i + i { opacity: 1; }
.pp-more a:hover { text-decoration: underline; }
.pp-int-foot { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; }
.pp-int-foot small { display: block; margin-bottom: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.pp-int-foot p { margin: 0; color: var(--body); font-size: 15px; }
.pp-int-foot a { color: var(--text); font-weight: 600; white-space: nowrap; }

.home .pp-int h3 { margin: 0; font-size: 21px; letter-spacing: -.02em; line-height: 1.2; }


/* ---------- Recreated app screens ---------- */

.aw-wrap { display: grid; justify-items: center; gap: 18px; }
.aw-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); }
.aw-tabs button { border: 0; padding: 9px 18px; border-radius: 999px; background: none; color: var(--body); font-size: 14px; font-weight: 500; cursor: pointer; transition: background .2s, color .2s; }
.aw-tabs button.on { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.aw-window { width: 100%; border-radius: 20px; border: 1px solid var(--line); background: #fff; box-shadow: 0 40px 80px -50px rgba(30, 50, 110, .45); overflow: hidden; }
.aw-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fafafa; }
.aw-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e2e2df; }
.aw-bar span { margin: 0 auto; padding: 3px 14px; border-radius: 8px; background: #fff; border: 1px solid var(--line); font-size: 12px; color: var(--faint); }
.aw-scroll { overflow-x: auto; }
.aw-body { display: grid; grid-template-columns: 220px 1fr; min-width: 860px; height: 650px; font-size: 13px; color: #1d2433; animation: aw-in .45s ease both; }
@keyframes aw-in { from { opacity: 0; transform: translateY(6px); } }
.aw-body .int-icon { width: 15px; height: 15px; }

.aw-side { display: flex; flex-direction: column; gap: 2px; padding: 18px 12px; border-right: 1px solid var(--line); background: #fbfcfe; }
.aw-brand { display: flex; align-items: center; gap: 8px; margin: 0 8px 14px; font-weight: 600; font-size: 15px; }
.aw-brand img { width: 26px; height: 16px; object-fit: contain; }
.aw-side small { margin: 12px 10px 4px; font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.aw-side span { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; color: #3a4254; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aw-side span.sub { padding-left: 24px; }
.aw-side span.on { background: var(--app-tint); color: var(--app); font-weight: 600; }
.aw-user { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 12px 8px 0; border-top: 1px solid var(--line); }
.aw-user b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--app); color: #fff; font-size: 11px; }
.aw-user strong { display: block; font-size: 12.5px; }
.aw-user em { font-style: normal; font-size: 11px; color: var(--faint); }

.aw-main { padding: 26px 30px; overflow: hidden; background: linear-gradient(180deg, #fff, #f7f9fe); }
.aw-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.aw-head h4 { margin: 0; font-family: var(--display); font-size: 24px; font-weight: 500; letter-spacing: -.02em; }
.aw-head h4 em { font-family: Georgia, serif; color: var(--app); }
.aw-head p { margin: 4px 0 0; color: #5b6475; }
.aw-btn { padding: 9px 14px; border-radius: 10px; background: var(--app); color: #fff; font-weight: 600; white-space: nowrap; box-shadow: 0 8px 18px -10px var(--app); }
.aw-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.aw-stats > div, .aw-kbs > div, .aw-sources > div { border-radius: 14px; background: #fff; border: 1px solid #e9edf5; box-shadow: 0 10px 24px -20px rgba(30, 50, 110, .5); }
.aw-stats > div { display: flex; align-items: center; gap: 12px; padding: 14px; }
.aw-stats i, .aw-kbs i, .aw-sources i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--app-line); color: var(--app); }
.aw-stats span { color: #5b6475; font-size: 12px; }
.aw-stats b { display: block; color: #1d2433; font-size: 18px; }
.aw-kbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.aw-kbs > div { position: relative; display: grid; gap: 4px; padding: 18px; overflow: hidden; }
.aw-kbs > div::after { content: ""; position: absolute; right: -10px; bottom: -30px; width: 70%; height: 70px; border-radius: 50% 50% 0 0; background: linear-gradient(180deg, transparent, var(--app-tint)); }
.aw-kbs i { border-radius: 50%; background: var(--app-tint); border: 0; margin-bottom: 10px; }
.aw-kbs strong { font-size: 15px; }
.aw-kbs code { font-family: var(--mono); font-size: 11.5px; color: #6b7385; }
.aw-kbs small { color: var(--faint); font-size: 11.5px; }
.aw-kbs em { position: relative; z-index: 1; margin-top: 18px; font-style: normal; font-weight: 600; color: var(--app); }

.aw-chat { display: flex; flex-direction: column; gap: 10px; padding: 20px 60px; }
.aw-q { align-self: flex-end; margin: 0; padding: 9px 14px; border-radius: 14px 14px 4px 14px; background: var(--app); color: #fff; }
.aw-think { padding: 12px 14px; border-radius: 14px; background: #f3f6fd; border: 1px solid var(--app-line); }
.aw-think strong { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--app); }
.aw-think p { margin: 6px 0 0; color: #3a4254; font-size: 12.5px; line-height: 1.6; }
.aw-a { margin: 0; line-height: 1.6; }
.aw-a b { color: #0f1729; }
.aw-a sup, .aw-cite i { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--app-tint); color: var(--app); font-size: 10px; font-style: normal; font-weight: 700; vertical-align: 2px; }
.aw-visual { padding: 14px; border-radius: 14px; background: #fff; border: 1px solid #e9edf5; }
.aw-visual > small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--app); }
.aw-visual > strong { display: block; margin: 2px 0 10px; }
.aw-views { display: flex; gap: 6px; margin-bottom: 10px; }
.aw-views button, .aw-views span { padding: 4px 11px; border-radius: 999px; border: 1px solid #e3e8f1; background: #fff; font-size: 12px; font-weight: 600; color: #3a4254; }
.aw-views button { cursor: pointer; }
.aw-views button.on { background: var(--app-tint); border-color: var(--app-line); color: var(--app); }
.aw-views span { opacity: .55; }
.aw-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.aw-table th { text-align: left; padding: 6px 10px; color: #3a4254; font-weight: 600; border-bottom: 1px solid #e9edf5; }
.aw-table td { padding: 5px 10px; border-bottom: 1px solid #f1f3f8; font-variant-numeric: tabular-nums; }
.aw-bars { display: flex; align-items: flex-end; gap: 14px; height: 150px; padding: 0 10px; }
.aw-bars div { display: flex; flex: 1; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.aw-bars b { width: 100%; max-width: 46px; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #5b8af0, var(--app)); animation: aw-grow .6s ease both; transform-origin: bottom; }
.aw-bars span { font-size: 11px; color: #6b7385; }
@keyframes aw-grow { from { transform: scaleY(0); } }
.aw-meta { display: flex; align-items: center; justify-content: space-between; color: #6b7385; font-size: 12px; }
.aw-meta span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: #f3f6fd; border: 1px solid var(--app-line); color: var(--app); font-weight: 600; }
.aw-meta span i { font-style: normal; font-size: 10px; padding: 0 5px; border-radius: 999px; background: #fff; }
.aw-input { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding: 10px 10px 10px 16px; border-radius: 16px; background: #fff; border: 1px solid #e3e8f1; box-shadow: 0 14px 30px -24px rgba(30, 50, 110, .6); color: #8a93a5; }
.aw-input i { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 10px; background: var(--app); color: #fff; font-style: normal; font-size: 13px; }

.aw-sources { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.aw-sources > div { display: grid; gap: 4px; padding: 16px; }
.aw-sources i { margin-bottom: 8px; }
.aw-sources small { color: #6b7385; font-size: 12px; }
.aw-hint { margin: 16px 0 0; padding: 12px; border-radius: 12px; border: 1px dashed #d6dcea; text-align: center; color: #5b6475; font-size: 12.5px; }

/* Step screens: smaller versions of the same parts */
.aw-mini { display: grid; gap: 10px; font-size: 12px; color: #1d2433; }
.aw-mini .int-icon { width: 14px; height: 14px; }
.aw-upload { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 10px; padding: 10px 12px; border-radius: 12px; border: 1px dashed #b9c8e8; background: #fff; font-weight: 600; color: var(--app); }
.aw-upload .int-icon { grid-row: span 2; }
.aw-upload small { font-weight: 400; color: #6b7385; font-size: 11px; }
.aw-sources.compact { gap: 8px; }
.aw-sources.compact > div { grid-template-columns: auto 1fr; align-items: center; gap: 8px; padding: 8px; border-radius: 10px; font-size: 11px; }
.aw-sources.compact i { width: 24px; height: 24px; margin: 0; border-radius: 7px; }
.aw-sources.compact strong { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aw-mini-ask .aw-input { margin: 0; color: #1d2433; font-size: 12.5px; }
.aw-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.aw-chips span { padding: 4px 10px; border-radius: 999px; background: #fff; border: 1px solid #e3e8f1; font-size: 11.5px; color: #3a4254; }
.aw-mini-ask p { margin: 4px 0 0; color: #5b6475; font-size: 12px; }
.aw-mini code { padding: 1px 6px; border-radius: 6px; background: var(--app-tint); color: var(--app); font-family: var(--mono); font-size: 11px; }
.aw-think.small { padding: 10px 12px; }
.aw-think.small p { font-size: 11.5px; }
.aw-mini-answer .aw-a { font-size: 13px; }
.aw-cite { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: #fff; border: 1px solid #e3e8f1; }
.aw-cite small { color: #6b7385; }
.aw-cite i { margin-left: auto; }

/* Insight-only screen parts (components/product/InsightScreens.jsx) */
.iw-kb { display: flex; align-items: center; gap: 10px; margin: 0 2px 10px; padding: 10px; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.iw-kb i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: #0f1729; color: #fff; }
.iw-kb strong { display: block; font-size: 13.5px; }
.iw-kb em { display: inline-flex; align-items: center; gap: 5px; padding: 1px 8px; border-radius: 999px; background: #e3f6ec; color: #13804b; font-style: normal; font-size: 11px; font-weight: 600; }
.iw-kb em::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #1fa864; }
.iw-new { justify-content: center; margin-bottom: 4px; background: var(--app); color: #fff !important; font-weight: 600; }
.iw-chat { padding: 20px 56px; }
.iw-answer p { margin: 0 0 6px; line-height: 1.6; }
.iw-answer ul { margin: 0; padding-left: 18px; line-height: 1.7; }
.iw-chart-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 8px 12px; margin-bottom: 8px; }
.iw-chart-head strong { display: block; font-size: 13.5px; }
.iw-chart-head small { color: #6b7385; font-size: 11.5px; }
.iw-seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 10px; background: #f1f3f8; }
.iw-seg button { border: 0; padding: 4px 11px; border-radius: 7px; background: none; font-size: 12px; color: #5b6475; cursor: pointer; }
.iw-seg button.on { background: #fff; color: #1d2433; font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, .1); }
.iw-donut { display: flex; align-items: center; justify-content: center; gap: 40px; }
.iw-donut svg { width: 150px; height: 150px; transform: rotate(-90deg); animation: iw-spin .7s ease both; }
.iw-donut text { transform: rotate(90deg); transform-origin: 60px 60px; font-family: var(--display); font-size: 20px; font-weight: 600; fill: #1d2433; }
.iw-donut text.sub { font-family: var(--sans); font-size: 8px; font-weight: 400; fill: #6b7385; }
@keyframes iw-spin { from { opacity: 0; transform: rotate(-150deg) scale(.92); } }
.iw-donut ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; min-width: 170px; }
.iw-donut li { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #3a4254; }
.iw-donut li i { width: 8px; height: 8px; border-radius: 50%; }
.iw-donut li b { margin-left: auto; font-variant-numeric: tabular-nums; }
.iw-hbars { display: grid; gap: 9px; padding: 6px 4px; }
.iw-hbars div { display: grid; grid-template-columns: 120px 1fr 28px; align-items: center; gap: 10px; font-size: 12px; color: #3a4254; }
.iw-hbars b { height: 14px; border-radius: 4px; background: linear-gradient(90deg, #5b8af0, var(--app)); animation: iw-grow .6s ease both; transform-origin: left; }
.iw-hbars em { font-style: normal; font-weight: 600; }
@keyframes iw-grow { from { transform: scaleX(0); } }
.iw-how { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: #1d2433; }
.iw-how span { font-family: var(--mono); color: #6b7385; }
.iw-how em { padding: 2px 8px; border-radius: 999px; background: var(--app-tint); color: var(--app); font-style: normal; font-weight: 500; font-size: 11.5px; }
.iw-suggest span { background: #fff; }
.iw-model { margin-left: auto; padding: 4px 10px; border-radius: 8px; background: #f1f3f8; color: #3a4254; font-size: 11.5px; }

.iw-kbs { display: grid; grid-template-columns: 1fr 1.1fr; gap: 16px; align-items: start; }
.iw-kbcard { display: grid; gap: 8px; padding-bottom: 16px; border-radius: 16px; background: #fff; border: 1px solid #e9edf5; overflow: hidden; box-shadow: 0 10px 24px -20px rgba(30, 50, 110, .5); }
.iw-kbcard > :not(.iw-wave) { margin: 0 16px; }
.iw-wave { position: relative; height: 74px; background: #0f1729; }
.iw-wave svg { position: absolute; inset: 14px 0 0; width: 100%; height: 60px; }
.iw-wave span { position: absolute; top: 10px; left: 12px; display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; background: rgba(31, 168, 100, .18); color: #6fe0a5; font-size: 11px; font-weight: 600; }
.iw-wave span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #1fa864; }
.iw-kbcard strong { margin-top: 6px !important; font-size: 15px; }
.iw-kbcard p { color: #5b6475; line-height: 1.5; }
.iw-tags { display: flex; gap: 6px; }
.iw-tags span { padding: 2px 9px; border-radius: 999px; background: #f1f3f8; font-size: 11.5px; }
.iw-tags .ok { background: #e3f6ec; color: #13804b; }
.iw-kbcard dl, .iw-conn dl { display: flex; gap: 22px; margin: 0; padding-top: 10px; border-top: 1px solid #eef1f6; }
.iw-kbcard dt, .iw-conn dt { color: #6b7385; font-size: 11px; }
.iw-kbcard dd, .iw-conn dd { margin: 0; font-weight: 600; }
.iw-templates { display: grid; gap: 8px; }
.iw-templates small { font-weight: 600; font-size: 12.5px; color: #1d2433; }
.iw-templates > div { display: flex; gap: 12px; padding: 12px; border-radius: 12px; background: #fff; border: 1px solid #e9edf5; }
.iw-templates i { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--app-tint); color: var(--app); }
.iw-templates strong { display: block; font-size: 13px; }
.iw-templates span { color: #6b7385; font-size: 12px; }

.iw-actions { display: flex; gap: 8px; }
.iw-actions > span:not(.aw-btn) { padding: 9px 14px; border-radius: 10px; border: 1px solid #e3e8f1; background: #fff; font-weight: 600; white-space: nowrap; }
.iw-conn { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 14px; background: #fff; border: 1px solid #e9edf5; box-shadow: 0 10px 24px -20px rgba(30, 50, 110, .5); }
.iw-conn > i { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--app-tint); color: var(--app); }
.iw-conn > div { flex: 1; min-width: 0; }
.iw-conn strong { display: flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 13px; }
.iw-conn strong span { padding: 1px 8px; border-radius: 999px; background: #f1f3f8; font-family: var(--sans); font-size: 11px; font-weight: 500; }
.iw-conn strong span.ok { background: #e3f6ec; color: #13804b; }
.iw-conn code { font-family: var(--mono); font-size: 11.5px; color: #6b7385; }
.iw-conn dl { padding: 0; border: 0; }
.iw-conn.mini { padding: 10px 12px; box-shadow: none; }
.iw-conn.mini > i { width: 30px; height: 30px; border-radius: 9px; }
.iw-test { display: inline-flex; align-items: center; gap: 6px; justify-self: start; padding: 4px 10px; border-radius: 999px; background: #e3f6ec; color: #13804b; font-size: 11.5px; font-weight: 600; }
.iw-build { display: grid; gap: 8px; margin-top: 16px; padding: 16px; border-radius: 14px; background: #fff; border: 1px solid #e9edf5; }
.iw-build small { font-weight: 600; font-size: 12.5px; color: #1d2433; }
.iw-build span { display: flex; align-items: center; gap: 8px; color: #3a4254; }
.iw-build span .int-icon { color: #1fa864; }
.iw-build.mini { margin: 0; }
.iw-build.mini span { padding: 6px 10px; border-radius: 9px; background: #f7f9fc; animation: aw-in .4s ease both; animation-delay: var(--d); }
.aw-mini .aw-q { justify-self: end; padding: 7px 12px; color: #fff; font-size: 12px; }
.aw-mini .iw-donut { gap: 16px; }
.aw-mini .iw-donut svg { width: 84px; height: 84px; }
.aw-mini .iw-donut ul { min-width: 0; gap: 3px; }
.aw-mini .iw-donut li { font-size: 10.5px; }

/* Integrations extras: product links and a setup-only footer */
.pp-int-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pp-int-links a { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; transition: border-color .2s; }
.pp-int-links a:hover { border-color: var(--line-strong); }
.pp-int-links .pmark { --pm: 20px; }
.pp-int-links span { color: var(--body); font-size: 14px; }
.pp-int li > svg { flex: none; }
.pp-int-foot > p:only-child { grid-column: 1 / -1; }

/* Watch-only screen parts (components/product/WatchScreens.jsx) */
.ww-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: #5b6475; font-size: 12px; }
.ww-actions > span { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 8px; border: 1px solid #e3e8f1; background: #fff; }
.ww-actions em { margin-left: auto; font-style: normal; }
.ww-notify { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--watch); color: #fff; font-weight: 600; box-shadow: 0 0 0 4px rgba(132, 87, 212, .16), 0 10px 22px -10px var(--watch); animation: ww-pulse 2.4s ease-in-out infinite; }
@keyframes ww-pulse { 50% { box-shadow: 0 0 0 8px rgba(132, 87, 212, .06), 0 10px 22px -10px var(--watch); } }
.aw-body:has(.ww-sheet) { position: relative; }
.ww-dim { filter: blur(1.5px); opacity: .45; }
.ww-sheet { position: absolute; top: 50%; left: calc(50% + 110px); width: 380px; transform: translate(-50%, -50%); display: grid; gap: 8px; padding: 18px; border-radius: 18px; background: #fff; border: 1px solid #e3e8f1; box-shadow: 0 30px 70px -30px rgba(30, 30, 80, .45); animation: ww-fade .4s ease both; }
@keyframes ww-fade { from { opacity: 0; } }
.ww-sheet header { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 4px; }
.ww-sheet header b { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--watch-tint); color: var(--watch); }
.ww-sheet header strong { display: block; font-size: 14px; }
.ww-sheet header small { color: #6b7385; font-size: 12px; }
.ww-label { margin-top: 4px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #8a93a5; }
.ww-channels { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ww-channels > * { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 12px; border: 1px solid #e3e8f1; background: #fff; font-size: 12.5px; font-weight: 600; color: #1d2433; cursor: pointer; }
.ww-channels > .on { border-color: var(--watch); box-shadow: 0 0 0 3px var(--watch-tint); }
.ww-triggers { display: grid; gap: 6px; }
.ww-triggers > * { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; border: 1px solid #e3e8f1; background: #fff; text-align: left; font-size: 12.5px; color: #1d2433; cursor: pointer; }
.ww-triggers i { flex: none; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #c4cbda; }
.ww-triggers .on { border-color: var(--watch); background: #faf7ff; }
.ww-triggers .on i { border: 4px solid var(--watch); }
.ww-triggers strong { display: block; font-weight: 600; }
.ww-triggers small { color: #6b7385; font-size: 11.5px; }
.ww-start { margin-top: 6px; text-align: center; background: var(--watch); box-shadow: 0 10px 22px -12px var(--watch); }
.ww-note { margin: 0; text-align: center; color: #6b7385; font-size: 11.5px; }

.ww-split { grid-template-columns: 1fr 1fr; align-items: center; background: radial-gradient(60% 70% at 70% 50%, #f3edff, transparent 70%), #fbfaff; }
.ww-live { padding: 0 40px 0 56px; }
.ww-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; background: #e3f6ec; color: #13804b; font-size: 12px; font-weight: 600; }
.ww-live h4 { margin: 14px 0 16px; font-family: var(--display); font-size: 24px; font-weight: 500; letter-spacing: -.02em; }
.ww-live dl { display: grid; gap: 10px; margin: 0 0 18px; }
.ww-live dl div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid #eceaf5; }
.ww-live dt { color: #6b7385; }
.ww-live dd { display: flex; align-items: center; gap: 6px; margin: 0; font-weight: 600; }
.ww-live p { margin: 0; color: #5b6475; line-height: 1.6; }
.ww-phone { justify-self: center; width: 290px; height: 540px; padding: 10px; border-radius: 40px; background: #111; box-shadow: 0 30px 60px -30px rgba(20, 10, 60, .6); }
.ww-chat { display: flex; flex-direction: column; height: 100%; border-radius: 31px; overflow: hidden; background: #efe7dd; }
.ww-chat-head { display: flex; align-items: center; gap: 8px; padding: 30px 14px 10px; background: #075e54; color: #fff; }
.ww-chat-head strong { display: block; font-size: 13px; }
.ww-chat-head small { font-size: 10.5px; opacity: .8; }
.ww-chat-head img { border-radius: 50%; background: #fff; }
.ww-thread { display: flex; flex-direction: column; gap: 8px; padding: 14px 10px; }
.ww-in, .ww-out { max-width: 86%; padding: 8px 10px; border-radius: 10px; font-size: 12px; line-height: 1.45; box-shadow: 0 1px 1px rgba(0, 0, 0, .1); animation: aw-in .4s ease both; }
.ww-in { align-self: flex-start; background: #fff; border-top-left-radius: 2px; }
.ww-out { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 2px; font-weight: 600; animation-delay: .5s; }
.ww-in.ok { animation-delay: 1s; }
.ww-in b { display: flex; align-items: center; gap: 5px; margin-bottom: 4px; color: var(--watch); font-size: 11.5px; }
.ww-in p { margin: 0 0 4px; }
.ww-in small, .ww-out small { display: block; text-align: right; color: #8a93a5; font-size: 10px; font-weight: 400; }
.ww-chat.compact { height: auto; border-radius: 16px; }
.ww-chat.compact .ww-chat-head { padding: 8px 12px; }
.ww-chat.compact .ww-thread { gap: 5px; padding: 8px 10px; }
.ww-chat.compact .ww-in.ok small { display: none; }
.ww-chat.compact .ww-in, .ww-chat.compact .ww-out { font-size: 11px; padding: 6px 9px; }
.ww-mini-setup .ww-channels > *, .ww-mini-setup .ww-triggers > * { cursor: default; padding: 8px 10px; }
.aw-mini .ww-actions { flex-wrap: wrap; }

@media (max-width: 1000px) {
  .pp-int-foot { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 640px) {
  .pp-hero-actions .button { flex: 1; white-space: nowrap; }
  .aw-tabs { max-width: 100%; overflow-x: auto; }
  .aw-tabs button { padding: 8px 12px; font-size: 13px; white-space: nowrap; }
  /* On phones the app window drops its sidebar and shows the screen itself,
     instead of a desktop layout you'd have to scroll sideways to see. */
  .aw-body { grid-template-columns: minmax(0, 1fr); min-width: 0; height: auto; min-height: 440px; }
  .aw-side { display: none; }
  .aw-main { padding: 18px 16px; }
  .aw-scroll { overflow-x: hidden; }
  .aw-head { flex-direction: column; gap: 12px; }
  .iw-kbs, .ww-split { grid-template-columns: minmax(0, 1fr); }
  .iw-conn { flex-wrap: wrap; }
  .iw-conn > div { flex: 1 1 calc(100% - 54px); }
  .iw-conn code { display: block; margin-top: 4px; overflow-wrap: anywhere; }
  .iw-conn dl { flex-basis: 100%; padding-top: 10px; border-top: 1px solid #eef1f6; }
  .iw-kbcard dl, .iw-conn dl { flex-wrap: wrap; gap: 10px 18px; }
  /* Watch's "Configure alert" sheet sits in place of the dimmed answer. */
  .ww-dim { display: none; }
  .ww-sheet { position: static; width: auto; margin: 16px; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .pp .reveal { opacity: 1; transform: none; transition: none; }
  .aw-body, .aw-bars b, .iw-donut svg, .iw-hbars b, .iw-build.mini span, .ww-notify, .ww-sheet, .ww-in, .ww-out { animation: none; }
}
/* ---------- Pricing page (pages/Pricing.jsx) ----------
   Built on the framed layout (frame.css, frame-pages.css); these rules cover
   the hero promises, plan cells, quote steps, comparison table, FAQ and
   closing card. Plans show no prices: each one is quoted after scoping. */

.pr-promise { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 22px 0 0; padding: 0; list-style: none; animation: pq-up .9s .35s cubic-bezier(.2, .7, .2, 1) both; }
.pr-promise li { display: inline-flex; align-items: center; gap: 7px; color: var(--body); font-size: 14px; }
.pr-promise .int-icon { width: 16px; height: 16px; color: #1d9a4b; }

/* ---------- Plans ---------- */

.pr-plan { position: relative; }
.pr-plan.featured { background: color-mix(in srgb, var(--tint) 35%, #fff); }
.pr-plan.featured::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--text); }
.pr-badge { margin-left: 10px; padding: 2px 8px; border-radius: 999px; background: var(--text); color: #fff; font-family: var(--sans); font-size: 11px; font-style: normal; font-weight: 600; letter-spacing: 0; text-transform: none; }
.pr-plan-art { display: grid; place-items: center; min-height: 236px; padding: 26px 22px; }
.pr-plan .pq-card { width: 100%; padding: 20px 22px 18px; }
.pr-products { display: flex; align-items: center; min-height: 28px; margin-bottom: 14px; }
.pr-pills, .pr-pills > span { display: inline-flex; align-items: center; gap: 6px; }
.pr-pills i { font-style: normal; color: var(--faint); font-size: 14px; }

/* The plan's key limits, where the price used to be. */
.pr-plan .pr-specs { display: grid; gap: 10px; margin: 0; padding: 16px 0 0; list-style: none; border-top: 1px dashed color-mix(in srgb, var(--tone) 30%, var(--line)); }
.pr-plan .pr-specs li { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 14px; line-height: 1.3; }
.pr-plan .pr-specs i { margin-top: 0; flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: var(--tint); color: var(--tone); }
.pr-specs .int-icon { width: 14px; height: 14px; color: inherit; }

.pr-plan .pq-cell-pad { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 30px; }
.pr-text { margin: 0 0 10px; min-height: 3.2em; color: var(--text); font-size: 15.5px; line-height: 1.55; }
.pr .pr-plan .pr-fit { margin: 0 0 20px; min-height: 3em; color: var(--faint); font-size: 14px; line-height: 1.5; }
.pr-plan-cta { width: 100%; justify-content: center; }

/* "Everything in Basic, plus:" as a divider label. */
.pr .pr-plan .pr-lead { display: flex; align-items: center; gap: 12px; margin: 28px 0 14px; font-family: var(--mono); font-size: 11.5px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.pr .pr-plan .pr-lead::after { content: ""; flex: 1; height: 1px; background: var(--line); }
/* The product the plan adds, ahead of the rest of the list. */
.pr .pr-plan .pr-adds { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 14px; padding: 11px 12px; border-radius: 10px; background: var(--tint); color: var(--text); font-size: 14.5px; font-weight: 500; line-height: 1.45; }
.pr-plan .pq-cell-pad i { flex: none; display: grid; place-items: center; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; font-style: normal; }
.pr-adds i { background: #fff; color: var(--tone); }
.pr-plan .pq-cell-pad ul { display: grid; gap: 11px; margin: 0; padding: 0 0 0 2px; list-style: none; }
.pr-plan .pq-cell-pad li { display: flex; gap: 10px; color: var(--body); font-size: 14.5px; line-height: 1.5; }
.pr-plan .pq-cell-pad li i { color: var(--tone); }
.pr-plan .pq-cell-pad i .int-icon { width: 17px; height: 17px; color: inherit; }
.pr-plan .pr-adds i .int-icon { width: 13px; height: 13px; }

/* ---------- How pricing works ---------- */

.pr-quote { display: grid; grid-template-columns: minmax(220px, .8fr) 2fr; border-top: 1px solid var(--line); }
.pr-quote-head { padding: 30px 28px; border-right: 1px solid var(--line); }
.pr-kicker { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.pr-quote-head h3 { margin: 10px 0 0; font-family: var(--display); font-size: clamp(22px, 2vw, 28px); font-weight: 400; letter-spacing: -.015em; line-height: 1.15; }
.pr-steps { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; list-style: none; counter-reset: none; }
.pr-steps li { position: relative; display: grid; grid-template-columns: auto 1fr; align-content: start; column-gap: 12px; padding: 28px 24px; }
.pr-steps li + li { border-left: 1px solid var(--line); }
/* An arrow joins one step to the next. */
.pr-steps li + li::before { content: "→"; position: absolute; left: -11px; top: 32px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--faint); font-size: 12px; }
.pr-steps i { grid-row: span 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--soft); border: 1px solid var(--line); color: var(--text); }
.pr-steps i .int-icon { width: 18px; height: 18px; color: inherit; }
.pr-steps b { font-family: var(--mono); font-size: 11.5px; font-weight: 400; color: var(--faint); }
.pr-steps strong { font-size: 16px; font-weight: 600; color: var(--text); }
.pr-steps p { grid-column: 1 / -1; margin: 12px 0 0; color: var(--body); font-size: 14.5px; line-height: 1.5; }

/* ---------- Compare ---------- */

.pr-table-wrap { position: relative; }
.pr-pick { display: none; }
.pr-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.pr-table th, .pr-table td { padding: 15px 24px; text-align: left; border-bottom: 1px solid var(--line); }
.pr-table td { width: 20%; color: var(--text); }
.pr-table td + td, .pr-table thead th + th { border-left: 1px solid var(--line); }
/* The plan headings stay in view while the rows scroll past. */
.pr-table thead th { position: sticky; top: 118px; z-index: 2; padding-top: 18px; padding-bottom: 18px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); }
.pr-table thead strong { display: block; font-family: var(--display); font-size: 20px; font-weight: 400; letter-spacing: -.01em; }
.pr-table thead small { display: block; margin-top: 2px; color: var(--faint); font-size: 13px; font-weight: 400; }
.pr-th-label { font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.pr-table tbody th { font-weight: 400; color: var(--body); }
.pr-group th { padding: 12px 24px; background: var(--soft); font-family: var(--mono); font-size: 11.5px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: var(--text); }
.pr-table tbody tr:not(.pr-group):hover > * { background: color-mix(in srgb, var(--soft) 60%, #fff); }
.pr-table tbody tr:last-child > * { border-bottom: 0; }
.pr-yes { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #e3f6ea; color: #1d9a4b; }
.pr-yes .int-icon { width: 13px; height: 13px; color: inherit; }
.pr-dash { color: var(--line-strong); }

/* ---------- FAQ ---------- */

.pr .pr-faq { border-top: 0; }
.pr .pr-faq details:last-child { border-bottom: 0; }
.pr .pr-faq summary { padding: 20px 72px 20px 48px; }
.pr .pr-faq summary i { right: 48px; }
.pr .pr-faq details p { max-width: 820px; padding: 0 72px 22px 48px; }

/* ---------- Closing card ---------- */

.pr-cta {
  position: relative; overflow: hidden; isolation: isolate;
  margin-top: 72px; margin-bottom: 96px; padding: 88px 32px 120px; border-radius: 36px; text-align: center;
  background: var(--card);
}
.pr-cta > .orb { position: absolute; z-index: -1; width: 460px; height: 460px; left: 50%; top: 120%; transform: translate(-50%, -50%); opacity: .85; filter: blur(8px); }
.pr-cta h2 { margin: 0 auto 16px; font-size: clamp(32px, 4.4vw, 56px); letter-spacing: -.02em; line-height: 1.04; }
.pr-cta p { max-width: 520px; margin: 0 auto 30px; color: var(--body); font-size: 17px; }

@media (max-width: 1000px) {
  /* Plans stack, one under another, rather than two and one. */
  .pr #plans .pq-cells { grid-template-columns: 1fr; }
  .pr #plans .pq-cells > .pq-cell { grid-column: auto; border-left: 0; }
  .pr #plans .pq-cells > .pq-cell + .pq-cell { border-top: 1px solid var(--line); }
  .pr-text, .pr .pr-plan .pr-fit { min-height: 0; }
  .pr-quote { grid-template-columns: 1fr; }
  .pr-quote-head { border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 680px) {
  .pr-promise { flex-direction: column; align-items: center; gap: 6px; }
  .pr-steps { grid-template-columns: 1fr; }
  .pr-steps li { padding: 22px 20px; }
  .pr-steps li + li { border-left: 0; border-top: 1px solid var(--line); }
  .pr-steps li + li::before { content: "↓"; left: 28px; top: -11px; }
  .pr-quote-head { padding: 24px 20px; }
  /* One plan at a time: feature on the left, that plan's value on the right. */
  .pr-pick { position: sticky; top: 132px; z-index: 3; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin: 0 16px 8px; padding: 4px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); }
  .pr-pick button { padding: 9px 6px; border: 0; border-radius: 999px; background: none; color: var(--body); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
  .pr-pick button.on { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
  .pr-table, .pr-table thead, .pr-table tbody, .pr-table th { display: block; width: auto; }
  .pr-table thead { display: none; }
  .pr-table tbody tr { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 20px; border-bottom: 1px solid var(--line); }
  .pr-table tbody tr.pr-group { display: block; padding: 0; }
  .pr-table tbody tr:not(.pr-group):hover > * { background: none; }
  .pr-group th { padding: 10px 20px; border-bottom: 0; }
  .pr-table tbody tr:not(.pr-group) th, .pr-table td { padding: 0; border: 0; }
  .pr-table tbody tr:not(.pr-group) th { color: var(--text); font-size: 14.5px; }
  .pr-table td, .pr-table td + td { border: 0; }
  .pr-table td { display: none; width: auto; flex: none; text-align: right; font-size: 14px; }
  .pr-table[data-focus="0"] td:nth-of-type(1), .pr-table[data-focus="1"] td:nth-of-type(2), .pr-table[data-focus="2"] td:nth-of-type(3) { display: block; }
  .pr .pr-faq summary { padding: 18px 48px 18px 20px; font-size: 16px; }
  .pr .pr-faq summary i { right: 20px; }
  .pr .pr-faq details p { padding: 0 20px 20px; }
  .pr-cta { margin-top: 48px; margin-bottom: 72px; padding: 64px 20px 110px; border-radius: 28px; }
}
/* Lead form (lead/LeadForm.jsx): the popup, the chat card and the Try gate. */
.lf { display: grid; gap: 16px; }
.lf-google {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 12px 18px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; color: var(--text);
  font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s;
}
.lf-google:hover:not(:disabled) { border-color: var(--text); box-shadow: 0 6px 18px -10px rgba(30, 50, 110, .45); }
.lf-google:disabled { opacity: .65; cursor: progress; }
.lf-google svg, .lf-who-mark svg { width: 18px; height: 18px; flex: none; }
.lf-start { display: grid; justify-items: center; gap: 10px; }
.lf-switch, .lf-back {
  border: 0; background: none; padding: 4px 6px; color: var(--body); font: inherit; font-size: 13.5px; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); transition: color .2s;
}
.lf-switch:hover, .lf-back:hover { color: var(--text); text-decoration-color: currentColor; }
.lf-back { justify-self: start; margin: -4px 0 -6px; padding-left: 0; font-size: 13px; text-decoration: none; }
.lf-who { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--soft); }
.lf-who-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 1px solid var(--line); }
.lf-who > span:nth-child(2) { display: grid; min-width: 0; flex: 1; }
.lf-who small { color: var(--faint); font-size: 12px; }
.lf-who strong { font-size: 14px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lf-who-actions { flex: none; display: grid; justify-items: end; }
.lf-who button { border: 0; background: none; padding: 4px; color: var(--body); font: inherit; font-size: 12.5px; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }

.lf-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lf-fields label { display: grid; gap: 6px; align-content: start; font-size: 13px; font-weight: 500; color: var(--text); }
.lf-fields label > span { display: flex; justify-content: space-between; gap: 8px; }
.lf-fields em { font-style: normal; font-weight: 400; color: var(--faint); font-size: 12px; }
.lf-fields input, .lf-fields select {
  width: 100%; min-width: 0; padding: 11px 13px; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff;
  font: inherit; font-size: 15px; font-weight: 400; color: var(--text); outline: none; transition: border-color .2s, box-shadow .2s;
}
.lf-fields select {
  padding-right: 36px; cursor: pointer; appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%238c8c88' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 4.5 3 3 3-3'/%3E%3C/svg%3E") no-repeat right 14px center;
}
.lf-fields select:has(option[value=""]:checked) { color: #a9a9a5; }
.lf-fields select option { color: var(--text); }
.lf-fields input::placeholder { color: #a9a9a5; }
.lf-fields input:focus, .lf-fields select:focus { border-color: var(--text); box-shadow: 0 0 0 3px rgba(11, 11, 11, .06); }
.lf-fields .bad input, .lf-fields .bad select { border-color: #d0533f; box-shadow: 0 0 0 3px rgba(208, 83, 63, .1); }
.lf-fields small { color: #b2432f; font-size: 12.5px; font-weight: 400; }
.lf-notice { margin: -4px 0 0; color: #b2432f; font-size: 13px; }
.lf-go { justify-content: center; width: 100%; padding: 13px 20px; font-size: 15.5px; }
.lf-go:disabled { opacity: .6; cursor: progress; }
.lf-go span { transition: transform .2s; }
.lf-go:hover span { transform: translateX(3px); }
.lf-consent { margin: -6px 0 0; text-align: center; color: var(--faint); font-size: 12.5px; }
.lf-consent a { color: var(--body); text-decoration: underline; text-underline-offset: 2px; }

/* In the chat: one column, smaller. */
.lf.compact .lf-who { flex-wrap: wrap; }
.lf.compact .lf-who-actions { flex-basis: 100%; grid-auto-flow: column; justify-content: space-between; }
.lf.compact { gap: 12px; margin-top: 10px; }
.lf.compact .lf-fields { grid-template-columns: 1fr; gap: 10px; }
.lf.compact .lf-fields input, .lf.compact .lf-fields select { padding: 9px 12px; font-size: 14px; border-radius: 10px; }
.lf.compact .lf-google { padding: 10px 14px; font-size: 14px; }
.lf.compact .lf-go { padding: 10px 16px; font-size: 14px; }

/* Chat sheet (lead/LeadChatSheet.jsx): slides up above the message box. */
.lcs { position: relative; max-height: 62%; overflow-y: auto; overscroll-behavior: contain; margin: 0 10px 8px; padding: 16px 16px 10px; border: 1px solid var(--ast-line, var(--line)); border-radius: 18px; background: #fff; box-shadow: 0 -12px 32px -18px rgba(11, 11, 11, .35); animation: lcs-in .32s cubic-bezier(.2, .8, .2, 1); }
.lcs-head { display: flex; align-items: flex-start; gap: 10px; }
.lcs-head h2 { margin: 0 0 4px; font-size: 15.5px; line-height: 1.3; }
.lcs-head p { margin: 0; color: var(--body); font-size: 13.5px; line-height: 1.5; }
.lcs-head .lcs-details { margin-top: 6px; color: var(--text); overflow-wrap: anywhere; }
.lcs-close { flex: none; display: grid; place-items: center; width: 30px; height: 30px; margin: -4px -6px 0 auto; border: 0; border-radius: 50%; background: none; color: var(--faint); cursor: pointer; }
.lcs-close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.lcs-close:hover { background: var(--soft); color: var(--text); }
.lcs-later { display: block; margin: 4px auto 0; border: 0; background: none; padding: 4px 6px; color: var(--faint); font: inherit; font-size: 12.5px; cursor: pointer; }
.lcs-later:hover { color: var(--text); }
.lcs-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 12px 6px; padding: 8px 8px 8px 14px; border-radius: 999px; background: var(--soft); color: var(--body); font-size: 12.5px; animation: lcs-in .32s cubic-bezier(.2, .8, .2, 1); }
.lcs-bar button { flex: none; padding: 6px 12px; border: 0; border-radius: 999px; background: var(--text); color: #fff; font: inherit; font-size: 12.5px; font-weight: 500; cursor: pointer; }
.lcs-close:focus-visible, .lcs-later:focus-visible, .lcs-bar button:focus-visible { outline: 2px solid #2864e8; outline-offset: 2px; }
@keyframes lcs-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .lcs, .lcs-bar, .lb { animation: none; } }

/* Phone bar (lead/LeadBar.jsx): left of the chat button. */
.lb { position: fixed; z-index: 55; left: 12px; right: 80px; bottom: max(16px, env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 6px 4px 6px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--text); font-size: 13px; line-height: 1.25; box-shadow: 0 12px 30px -12px rgba(11, 11, 11, .4); animation: lcs-in .32s cubic-bezier(.2, .8, .2, 1); }
.lb span { flex: 1; min-width: 0; }
.lb-open { flex: none; padding: 10px 12px; border: 0; border-radius: 999px; background: var(--text); color: #fff; font: inherit; font-weight: 500; cursor: pointer; }
.lb-close { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; color: var(--faint); cursor: pointer; }
.lb-close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
@media (max-width: 350px) { .lb { left: auto; padding-left: 6px; } .lb span { display: none; } }
.lb button:focus-visible { outline: 2px solid #2864e8; outline-offset: 2px; }

/* Popup (lead/LeadModal.jsx) */
.lm {
  width: min(540px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; border: 0;
  border-radius: 24px; background: transparent; color: var(--text); overflow: visible;
}
.lm[open] { animation: lm-in .42s cubic-bezier(.2, .7, .2, 1) both; }
.lm::backdrop { background: rgba(11, 11, 11, .38); backdrop-filter: blur(3px); animation: lm-fade .3s ease both; }
.lm-card {
  position: relative; display: grid; gap: 20px; max-height: calc(100dvh - 32px); overflow-y: auto; padding: 30px;
  border-radius: 24px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 40px 80px -40px rgba(30, 50, 110, .5);
}
.lm-close {
  position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 34px; height: 34px;
  border: 0; border-radius: 50%; background: var(--soft); color: var(--body); cursor: pointer; transition: background .2s, color .2s;
}
.lm-close:hover { background: var(--card); color: var(--text); }
.lm-close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.lm-head { display: grid; gap: 8px; padding-right: 36px; }
.lm-badge { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 4px 11px; border-radius: 999px; background: var(--ask-tint); color: #157a69; font-size: 12px; font-weight: 500; }
.lm-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--ask); }
.lm-head h2 { margin: 6px 0 0; font-family: var(--display); font-size: 26px; line-height: 1.15; letter-spacing: -.03em; text-wrap: balance; }
.lm-head p { margin: 0; color: var(--body); font-size: 15px; }
.lm-done { display: grid; justify-items: center; gap: 10px; padding: 18px 0 6px; text-align: center; }
.lm-done > i { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--ask-tint); color: var(--ask); }
.lm-done > i .int-icon { width: 24px; height: 24px; }
.lm-done h2 { margin: 6px 0 0; font-family: var(--display); font-size: 26px; letter-spacing: -.03em; }
.lm-done p { margin: 0 0 10px; color: var(--body); }

@keyframes lm-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@keyframes lm-fade { from { opacity: 0; } }

/* Phones: a bottom sheet. */
@media (max-width: 640px) {
  .lm { width: 100%; max-height: 92dvh; margin: auto 0 0; border-radius: 22px 22px 0 0; }
  .lm[open] { animation-name: lm-up; }
  .lm-card { max-height: 92dvh; padding: 24px 18px calc(20px + env(safe-area-inset-bottom)); border-radius: 22px 22px 0 0; gap: 16px; }
  .lm-head h2 { font-size: 22px; }
  .lf-fields { grid-template-columns: 1fr; gap: 12px; }
  .lf-who { flex-wrap: wrap; }
  .lf-who-actions { flex-basis: 100%; grid-auto-flow: column; justify-content: space-between; }
  .lf-fields input, .lf-fields select { font-size: 16px; }
}
@keyframes lm-up { from { transform: translateY(100%); } }

@media (prefers-reduced-motion: reduce) {
  .lm[open], .lm::backdrop { animation: none; }
  .lf-google, .lf-go span { transition: none; }
}
/* Try page: live entaura.ai ask demo chat. Scoped to .try; tokens from styles.css. */

.try { padding-bottom: 96px; overflow-x: clip; }

.try-hero { padding: 72px 0 40px; text-align: center; display: grid; justify-items: center; }
.try-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 8px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; font-size: 13px; color: var(--body);
}
.try-pill .orb { width: 18px; height: 18px; }
.try-hero h1 { font-size: clamp(40px, 5.6vw, 72px); line-height: 1; letter-spacing: -.05em; margin: 24px 0 18px; text-wrap: balance; max-width: 900px; }
.try-hero p { margin: 0; color: var(--body); font-size: 18px; max-width: 620px; }
.try-ask { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px; margin-top: 22px; padding: 8px 8px 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 30px -22px rgba(30, 50, 110, .5); animation: int-fade .35s ease both; }
.try-ask span { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.try-ask strong { font-size: 15px; font-weight: 500; }
.try-ask button { border: 0; padding: 7px 14px; border-radius: 999px; background: var(--text); color: #fff; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }

/* Chat card */
.try-chat {
  position: relative; isolation: isolate;
  max-width: 920px; margin: 0 auto;
  display: flex; flex-direction: column;
  height: min(760px, calc(100vh - 120px)); min-height: 560px;
  border-radius: 28px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 30px 80px -40px rgba(30, 50, 110, .35);
}
.try-glow { position: absolute; z-index: -1; width: 520px; height: 520px; left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: .45; filter: blur(40px); pointer-events: none; }

.tc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.tc-title { display: flex; align-items: center; gap: 10px; }
.tc-title img { width: 34px; height: 24px; object-fit: contain; }
.tc-title strong { font-family: var(--display); font-weight: 500; font-size: 17px; }
.tc-status { display: inline-flex; align-items: center; gap: 6px; margin-left: 4px; padding: 3px 10px; border-radius: 999px; background: var(--card); font-family: var(--mono); font-size: 11px; color: var(--body); }
.tc-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); }
.tc-status.live i { background: var(--ask); box-shadow: 0 0 0 3px var(--ask-tint); }

/* The hosted demo, filling the card below its header */
.try-chat { height: auto; min-height: 0; }
.tc-frame { position: relative; height: 640px; border-radius: 0 0 28px 28px; overflow: hidden; background: #fff; }
.tc-frame::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 30%, rgba(0, 0, 0, .035) 50%, transparent 70%) 0 0 / 200% 100%;
  animation: tc-shimmer 1.4s linear infinite; transition: opacity .4s;
}
.tc-frame.loaded::before { opacity: 0; animation: none; }
.tc-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
@keyframes tc-shimmer { to { background-position: -200% 0; } }

/* Lead form over the demo (components/TryGate.jsx). The demo loads underneath,
   softly blurred, so it is ready the moment the form is sent. */
.tc-frame iframe { transition: filter .45s ease, opacity .45s ease; }
.tc-frame.locked iframe { filter: blur(6px) saturate(.8); opacity: .55; pointer-events: none; }
.tc-frame.locked::before { display: none; }
.tg {
  position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; padding: 24px; overflow-y: auto;
  background: radial-gradient(120% 90% at 50% 0%, rgba(255, 255, 255, .55), rgba(255, 255, 255, .88));
  backdrop-filter: blur(2px);
  transition: opacity .32s ease, visibility .32s;
}
.tg.leaving { opacity: 0; visibility: hidden; }
.tg-card {
  width: min(520px, 100%); padding: 30px; border-radius: 24px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 40px 80px -40px rgba(30, 50, 110, .45);
  display: grid; gap: 22px; animation: tg-in .5s cubic-bezier(.2, .7, .2, 1) both;
}
.tg.leaving .tg-card { transform: translateY(-8px) scale(.98); transition: transform .32s ease; }
.tg-head { display: grid; gap: 8px; }
.tg-badge { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 4px 11px; border-radius: 999px; background: var(--ask-tint); color: #157a69; font-size: 12px; font-weight: 500; }
.tg-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--ask); animation: tg-pulse 1.8s ease-in-out infinite; }
.tg-head h2 { margin: 6px 0 0; font-size: 26px; line-height: 1.15; letter-spacing: -.03em; text-wrap: balance; }
.tg-head p { margin: 0; color: var(--body); font-size: 15px; }
.tg-trust { list-style: none; margin: -6px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: 12.5px; color: var(--faint); }
.tg-trust li { display: inline-flex; align-items: center; gap: 6px; }
.tg-trust .int-icon { width: 14px; height: 14px; color: var(--faint); }
.tg-trust a { color: var(--body); text-decoration: underline; text-underline-offset: 2px; }
@keyframes tg-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@keyframes tg-pulse { 50% { box-shadow: 0 0 0 4px rgba(31, 156, 134, .18); } }
/* Free-session counter in the chat header */
.tc-left { font-family: var(--mono); font-size: 11px; color: var(--faint); letter-spacing: .02em; white-space: nowrap; }
.tc-left.low { color: #b26a1f; }

/* Free sessions used up (components/TryLimit.jsx): next steps instead of the demo. */
.tc-frame.ended { background: radial-gradient(90% 70% at 50% 0%, var(--ask-tint), #fff 70%); }
.tc-frame.ended::before { display: none; }
.tl { background: none; backdrop-filter: none; }
.tl-card { width: min(640px, 100%); }
.tl-badge { background: #fbeedf; color: #8a4f14; }
.tl-badge i { background: #d98a3a; animation: none; }
.tl-options { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tl-option {
  display: grid; gap: 6px; align-content: start; padding: 18px; border-radius: 18px;
  border: 1px solid var(--line-strong); background: #fff; color: var(--text); text-decoration: none;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.tl-option:hover { border-color: var(--text); box-shadow: 0 18px 40px -28px rgba(30, 50, 110, .5); transform: translateY(-2px); }
.tl-option:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.tl-option.primary { background: var(--text); border-color: var(--text); color: #fff; }
.tl-kicker { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.tl-option.primary .tl-kicker { color: rgba(255, 255, 255, .6); }
.tl-option strong { font-family: var(--display); font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.tl-option > span:not(.tl-kicker) { font-size: 14px; line-height: 1.45; color: var(--body); }
.tl-option.primary > span:not(.tl-kicker) { color: rgba(255, 255, 255, .78); }
.tl-option em { margin-top: 6px; font-style: normal; font-size: 14px; font-weight: 600; }
.tl-option em span { display: inline-block; transition: transform .2s; }
.tl-option:hover em span { transform: translateX(3px); }
.tl-talk { margin: -4px 0 0; text-align: center; font-size: 13px; color: var(--faint); }
.tl-talk a { color: var(--body); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }

.try-own { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; max-width: 920px; margin: 20px auto 0; padding: 18px 22px; border-radius: 20px; background: var(--soft); border: 1px solid var(--line); }
.try-own p { margin: 0; color: var(--body); font-size: 15.5px; }
.try-own strong { color: var(--text); font-weight: 600; }
.try-note { max-width: 920px; margin: 16px auto 0; text-align: center; font-size: 13px; color: var(--faint); }
.try-note a { color: var(--text); font-weight: 500; margin-left: 14px; }

@media (max-width: 760px) {
  .try { padding-bottom: 32px; }
  .try-hero { padding: 48px 0 28px; }
  .try-hero p { font-size: 16px; }
  .try-ask { border-radius: 18px; }
  .try-chat { border-radius: 22px; }
  .tc-head { padding: 12px 14px; }
  .tc-frame { height: min(640px, calc(100vh - 160px)); min-height: 520px; border-radius: 0 0 22px 22px; }
  .tc-frame.locked { height: auto; min-height: 560px; }
  .tg { position: relative; inset: auto; min-height: 560px; padding: 14px; }
  .tc-frame.locked iframe { position: absolute; inset: 0; height: 100%; }
  .tg-card { padding: 22px 18px; gap: 18px; border-radius: 20px; }
  .tg-head h2 { font-size: 22px; }
  .tc-left { font-size: 10px; }
  .tl-options { grid-template-columns: 1fr; }
  .tc-frame.ended { height: auto; min-height: 0; }
  .tl { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .tc-frame::before, .tg-card, .tg-badge i { animation: none; }
  .tg, .tc-frame iframe, .tl-option { transition: none; }
}
