/* CxEmerge — cxemerge.com. Light throughout: white and a cool soft grey,
   ink-dark headlines, the product's accent #1454FF, the logo's blue-to-green,
   and the six level colours (L1 to L6) as the page's own detail. Inter is the
   product's font, self-hosted; monospace for the engineer's notes. */
@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #0b1b33;
  --ink-2: #3d4b63;
  --muted: #66738a;
  --faint: #a3adbd;
  --line: #e3e8ef;
  --line-2: #eef1f6;
  --bg: #ffffff;
  --soft: #f5f7fa;
  --accent: #1454ff;
  --accent-ink: #0d3fd1;
  --green: #2e8b3e;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --grad: linear-gradient(100deg, #0aa5e0 0%, #1e63b8 38%, #2e8b3e 78%, #4caf50 100%);
  --radius: 16px;
  --shadow: 0 1px 2px rgba(11, 27, 51, .05), 0 18px 40px -18px rgba(11, 27, 51, .28);
  --wrap: 1200px;
  --l1: #e5484d; --l2: #f5a524; --l3: #30a46c; --l4: #3d9ef0; --l5: #8e4ec6; --l6: #12a594;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; font-feature-settings: "cv11", "ss01";
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
/* A section that runs the full width of the screen */
.wrap-fluid { max-width: none; padding-left: max(40px, env(safe-area-inset-left, 0px)); padding-right: max(40px, env(safe-area-inset-right, 0px)); }
.wrap-fluid .acc-stage { aspect-ratio: 16 / 10; max-height: 640px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid #7aa2ff; outline-offset: 2px; border-radius: 6px; }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 10px; font-family: inherit; font-size: 15px; font-weight: 600; white-space: nowrap; border: 1px solid transparent; transition: background .15s, border-color .15s, box-shadow .15s; }
.btn:hover { text-decoration: none; }
.btn-lg { height: 48px; padding: 0 22px; font-size: 16px; }
.btn-block { width: 100%; height: 52px; font-size: 16px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 18px -10px rgba(20, 84, 255, .7); }
.btn-primary:hover { background: var(--accent-ink); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; box-shadow: 0 1px 2px rgba(11, 27, 51, .05); }
.btn-outline:hover { border-color: #c3ccda; }

/* ---- Header ---- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line-2); padding-top: env(safe-area-inset-top, 0px); }
.top-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 70px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 750; font-size: 20px; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand img { width: 44px; height: auto; }
.nav { display: flex; gap: 28px; }
.nav a { color: var(--ink); font-size: 15px; font-weight: 550; }
.nav a:hover { color: var(--accent); text-decoration: none; }
.top-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.menu { display: none; width: 42px; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: #fff; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; }
.menu span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s; }
.menu[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-nav[hidden] { display: none; }
.mobile-nav { display: flex; flex-direction: column; padding: 8px max(20px, env(safe-area-inset-left, 0px)) 16px; border-top: 1px solid var(--line); background: #fff; }
.mobile-nav a { padding: 12px 4px; color: var(--ink); font-weight: 550; border-bottom: 1px solid var(--line-2); }

/* ---- Hero ---- */
/* The words on the left, three real screens floating on the right, over a
   faint grid that fades out. Under them, the wide panel of app windows. */
.hero { position: relative; padding: 64px 0 72px; }
.hero::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 620px; pointer-events: none;
  background:
    linear-gradient(#f5f8fd, #f5f8fd) right 192px top 64px / 64px 64px no-repeat,
    linear-gradient(#f5f8fd, #f5f8fd) right 512px top 320px / 64px 64px no-repeat,
    linear-gradient(#f5f8fd, #f5f8fd) right 704px top 128px / 64px 64px no-repeat,
    linear-gradient(var(--line-2) 1px, transparent 1px) right top / 64px 64px,
    linear-gradient(90deg, var(--line-2) 1px, transparent 1px) right top / 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 74% 34%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 80% at 74% 34%, #000 25%, transparent 78%); }
.hero .wrap { position: relative; }
.hero-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
/* The six level colours, L1 to L6, as six small shapes above the logo */
.levels-mark { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.lm { width: 22px; height: 22px; display: inline-block; }
.lm1 { background: var(--l1); border-radius: 5px; transform: rotate(-12deg); }
.lm2 { background: var(--l2); border-radius: 50%; }
.lm3 { background: var(--l3); border-radius: 4px; transform: rotate(45deg) scale(.82); }
.lm4 { background: var(--l4); border-radius: 50% 50% 6px 6px; }
.lm5 { background: var(--l5); border-radius: 50% 50% 50% 4px; }
.lm6 { background: var(--l6); border-radius: 6px; transform: rotate(10deg) scale(.9); }
/* a small wave runs through the six shapes, one after another */
.lm { animation: lm-bob 3.2s ease-in-out infinite; }
.lm2 { animation-delay: .12s; } .lm3 { animation-delay: .24s; } .lm4 { animation-delay: .36s; } .lm5 { animation-delay: .48s; } .lm6 { animation-delay: .6s; }
@keyframes lm-bob { 0%, 28%, 100% { translate: 0 0; } 14% { translate: 0 -5px; } }
@media (prefers-reduced-motion: reduce) { .lm { animation: none; } }
.pill { display: inline-flex; align-items: center; gap: 9px; max-width: 100%; margin: 0 0 24px; padding: 6px 15px 6px 11px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(11, 27, 51, .05); font-size: 13.5px; font-weight: 550; color: var(--ink-2); }
.pill img { width: 28px; height: auto; flex: none; }
.pill b { flex: none; font-weight: 700; color: var(--ink); }
.pill-text { min-width: 0; padding-left: 10px; border-left: 1px solid var(--line); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* A laptop drawn in CSS (a dark screen edge, a thin metal base), used at the
   top right and round the product screens. On phones its parts dissolve
   (display: contents) so the product pictures go back to their plain frame. */
.lap, .lap-screen, .lap-view { display: contents; }
.lap-base, .lap-bar { display: none; }
@media (min-width: 921px) {
  .lap { display: block; }
  .lap-screen { display: block; position: relative; padding: 9px 9px 11px; border-radius: 15px 15px 0 0; background: #0f172a; box-shadow: 0 0 0 1px #1e293b inset; }
  .lap-screen::before { content: ""; position: absolute; left: 50%; top: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: #334155; }
  .lap-view { display: block; position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 3px; background: #fff; }
  /* the browser's own bar, with our address, across the top of the screen */
  .lap-bar { display: flex; align-items: center; gap: 5px; position: relative; z-index: 3; height: 24px; padding: 0 10px; background: #eef1f6; border-bottom: 1px solid #dde3ec; }
  .lap-bar i { width: 7px; height: 7px; border-radius: 50%; background: #e5484d; }
  .lap-bar i:nth-child(2) { background: #f5a524; }
  .lap-bar i:nth-child(3) { background: #30a46c; }
  .lap-url { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-width: 40%; height: 16px; padding: 0 12px; border-radius: 5px; background: #fff; border: 1px solid #e1e6ee; font-size: 10.5px; font-weight: 550; color: var(--ink-2); white-space: nowrap; }
  .lap-url svg { width: 9px; height: 9px; fill: none; stroke: var(--muted); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
  .lap-base { display: block; position: relative; height: 13px; margin: 0 -6%; border-radius: 2px 2px 12px 12px; background: linear-gradient(180deg, #eef1f5 0%, #d2d9e2 55%, #b4bdc9 100%); box-shadow: 0 24px 30px -20px rgba(11, 27, 51, .5); }
  .lap-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 5px; transform: translateX(-50%); border-radius: 0 0 7px 7px; background: #b3bcc8; }
}
/* Top right: the dashboard on the laptop; in front of it a tablet with the
   scheduler (bottom left) and a phone with a scanned tag (bottom right) */
.hero-devices { position: relative; padding: 0 0 20% 0; }
.hero-devices .lap { width: 76%; margin: 0 auto; }
.hero-devices .lap-view img { display: block; width: 100%; height: calc(100% - 24px); object-fit: cover; object-position: left top; }
.hero-tab { position: absolute; left: 0; bottom: 0; width: 37%; padding: 6px; border-radius: 15px; background: #0f172a; box-shadow: 0 0 0 1px #1e293b inset, 0 26px 40px -18px rgba(11, 27, 51, .55); z-index: 2; }
.hero-tab img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: left top; border-radius: 9px; background: #fff; }
.hero-phone { position: absolute; right: 0; bottom: 12%; width: 22%; padding: 5px; border-radius: 24px; background: #0f172a; box-shadow: 0 0 0 1px #1e293b inset, 0 26px 40px -18px rgba(11, 27, 51, .55); z-index: 2; }
.hero-phone img { display: block; width: 100%; aspect-ratio: 9 / 19; object-fit: cover; object-position: top; border-radius: 19px; }
.grad { background: linear-gradient(100deg, #1454ff 0%, #0aa5e0 45%, #2e8b3e 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 { font-size: 36px; font-weight: 650; letter-spacing: 0; line-height: 1.1; max-width: 16ch; }
.lede { margin-top: 20px; font-size: 16px; color: var(--ink-2); max-width: 38em; }

/* The panel of app windows: a blue band across its top with the same kind of
   grid as the top section, the windows resting half on it */
.frame { position: relative; margin-top: 100px; border-radius: 22px; background: #eef3ff; border: 1px solid #d9e4fb; aspect-ratio: 16 / 8.6; overflow: hidden; }
.frame::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 46%; border-radius: 0 0 20px 20px;
  background:
    linear-gradient(rgba(255, 255, 255, .10), rgba(255, 255, 255, .10)) 64px 64px / 64px 64px no-repeat,
    linear-gradient(rgba(255, 255, 255, .10), rgba(255, 255, 255, .10)) 1024px 128px / 64px 64px no-repeat,
    linear-gradient(rgba(255, 255, 255, .22) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(255, 255, 255, .22) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(180deg, #1354ff 0%, #c6d6ff 100%); }
.win { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.win-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-bottom: 1px solid var(--line-2); background: #fbfcfd; }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e5484d; }
.win-bar i:nth-child(2) { background: #f5a524; }
.win-bar i:nth-child(3) { background: #30a46c; }
.win-bar span { margin-left: 10px; font-size: 12.5px; color: var(--muted); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* The big window is our site in a browser: a bar with the address, the app's
   header with only the logo, then the asset register, zoomed out. It runs off
   the bottom of the panel, where it blurs and fades away. The two small
   windows stay sharp on top: the Dashboard at the bottom left, the level's
   steps on the right. */
.win-main { left: 11%; top: 9%; width: 78%; z-index: 1; }
.win-main picture { display: block; }
.win-main .win-bar { position: relative; background: #eef1f6; border-bottom-color: #dde3ec; }
.win-bar .win-url { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 36%; height: 22px; margin: 0; padding: 0 14px; border-radius: 6px; background: #fff; border: 1px solid #e1e6ee; font-size: 12px; font-weight: 550; color: var(--ink-2); overflow: visible; }
.win-url svg { width: 10px; height: 10px; flex: none; fill: none; stroke: var(--muted); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 921px) {
  .frame::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; z-index: 2; pointer-events: none;
    background: linear-gradient(180deg, rgba(238, 243, 255, 0) 0%, rgba(238, 243, 255, .7) 55%, #eef3ff 100%);
    -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 45%); mask-image: linear-gradient(180deg, transparent 0%, #000 45%); }
}
.win-dash { left: 2%; bottom: 8%; width: 24%; z-index: 3; }
.win-steps { right: 2%; top: 38%; width: 24%; z-index: 3; }
.win-dash .win-bar, .win-steps .win-bar { height: 28px; padding: 0 11px; gap: 6px; }
.win-dash .win-bar i, .win-steps .win-bar i { width: 8px; height: 8px; }
.win-dash .win-bar span, .win-steps .win-bar span { margin-left: 8px; font-size: 11.5px; }


/* ---- Sections ---- */
.section { padding: 72px 0; }
.section.soft { background: linear-gradient(180deg, #eff4ff 0%, #f5f9fc 100%); }
/* the same ground as the Connects box: white, turning pale blue to the right */
.section.tint { background: linear-gradient(115deg, #fff 45%, #eef4ff 100%); }
.head { max-width: 640px; margin-bottom: 40px; }
.head h2, .section-title { font-size: clamp(24px, 2.6vw, 32px); font-weight: 680; }
.section-title { margin-bottom: 40px; }
.head p:not(.kicker) { margin-top: 12px; color: var(--ink-2); font-size: 16px; }
.display { font-size: clamp(26px, 3vw, 36px); font-weight: 680; letter-spacing: -0.01em; line-height: 1.18; }
.mono-note { font-family: var(--mono); font-size: 13px; line-height: 1.6; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); max-width: 46ch; }
.mono-note.small { font-size: 12px; color: var(--muted); }

/* The product's own box: a 52px head (icon, title, count, a link), then
   hairline cells with an uppercase label, a pill, a figure, a note and a bar */
.con { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.con-tiles { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 -1px -1px 0; }
.con-tile { padding: 16px 20px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; }
.con-top { display: flex; align-items: center; gap: 8px; }
.con-label { font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.con-top .con-pill { margin-left: auto; }
.t-info { background: #e9f2ff; color: #0055cc; } .t-warn { background: #fff7d6; color: #a54800; } .t-success { background: #dcfff1; color: #216e4e; }
.con-fig { margin-top: 6px; font-size: 20px; line-height: 28px; font-weight: 650; }
.con-sub { margin-top: 4px; font-size: 14px; line-height: 1.55; color: var(--muted); flex: 1; }

/* The product: a heading and a list that opens one item at a time, with
   that item's screen beside it. The list is a rail: a thin line down its left,
   a short marker beside each item, an icon and the name. The open item's marker
   is blue and runs the item's full height; while the list moves on by itself
   the blue fills downwards. */
.acc-row { display: grid; grid-template-columns: .82fr 1.18fr; grid-template-areas: "head stage" "acc stage"; column-gap: 64px; align-items: start; }
.acc-head { grid-area: head; }
.acc-head h2 { max-width: 18ch; }
.acc { grid-area: acc; margin-top: 24px; border-left: 1px solid #cfd9ea; }
.acc-stage { grid-area: stage; position: relative; aspect-ratio: 5 / 4; border-radius: 22px; background: var(--soft); border: 1px solid var(--line); overflow: hidden; }
.soft .acc-stage, .tint .acc-stage { background: #fff; }
.acc-item { position: relative; padding-left: 26px; border-bottom: 1px solid #dde5f2; }
.acc-item::before { content: ""; position: absolute; left: -2px; top: 13px; width: 3px; height: 26px; border-radius: 3px; background: #adc2f5; transition: background .2s; }
.acc-item:hover::before { background: #7f9ff2; }
.acc-item.open::before { background: transparent; }
.acc-item h3 { font-size: 16px; font-weight: 650; letter-spacing: 0; }
.acc-item button { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 2px; font: inherit; color: var(--ink); }
.acc-item button:hover .acc-name { color: var(--accent-ink); }
.acc-ico { width: 30px; height: 30px; flex: none; border-radius: 8px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); transition: background .2s, border-color .2s; }
.acc-ico svg { width: 16px; height: 16px; fill: none; stroke: var(--accent); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.acc-item.open .acc-ico { background: #eaf0ff; border-color: #c4d4ff; }
.acc-item button:focus-visible { outline: 3px solid #7aa2ff; outline-offset: 2px; border-radius: 6px; }
.acc-panel p { color: var(--ink-2); font-size: 15px; line-height: 1.6; padding: 0 16px 14px 2px; max-width: 38em; }
.js .acc-item:not(.open) .acc-panel { display: none; }
.acc-bar { position: absolute; left: -2px; top: 13px; bottom: 13px; width: 3px; border-radius: 3px; overflow: hidden; background: #adc2f5; display: none; }
.acc-item.open .acc-bar { display: block; }
.acc-bar i { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: top; }
.acc.auto .acc-item.open .acc-bar i { animation: accbar 7s linear forwards; }
@keyframes accbar { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.acc-shot { position: absolute; inset: 0; margin: 0; padding: 6%; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .35s ease, transform .35s ease; transform: translateY(8px); }
.acc-shot.show { opacity: 1; visibility: visible; transform: none; }
.acc-shot picture { display: contents; }
.acc-shot img { max-width: 100%; max-height: 100%; min-height: 0; width: auto; height: auto; object-fit: contain; border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
@media (prefers-reduced-motion: reduce) { .acc-shot { transition: none; } .acc.auto .acc-item.open .acc-bar i { animation: none; } }
/* On a computer the product screens sit in the laptop: each one whole and
   zoomed out, from its top left corner, with none of the app's own top bars,
   and its lowest part softly blurring away. Phones keep the close-ups, in a
   plain frame. */
@media (min-width: 921px) {
  .acc-stage, .wrap-fluid .acc-stage, .soft .acc-stage, .tint .acc-stage { aspect-ratio: auto; max-height: none; align-self: center; border: 0; border-radius: 0; background: none; overflow: visible; }
  .acc-stage .lap { width: 84%; max-width: 900px; margin: 0 auto; }
  .acc-shot { display: block; padding: 0; inset: 24px 0 0 0; }
  .acc-shot img { display: block; width: 100%; height: auto; max-width: none; max-height: none; border: 0; border-radius: 0; box-shadow: none; }
  .acc-stage .lap-view::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22%; z-index: 2; pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .78) 70%, #fff 100%);
    -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 55%); mask-image: linear-gradient(180deg, transparent 0%, #000 55%); }
}

/* The modules grid, with pixel icons */
.grid-title { margin: 48px 0 16px; }
.modules { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.modules li { padding: 24px 22px 26px; display: flex; flex-direction: column; gap: 8px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.modules li:nth-child(4n) { border-right: 0; }
.modules li:nth-last-child(-n + 4) { border-bottom: 0; }
.pix { width: 26px; height: 26px; shape-rendering: crispEdges; margin-bottom: 10px; }
.modules b { font-size: 16px; font-weight: 650; }
.modules span { color: var(--muted); font-size: 15px; line-height: 1.55; }

/* The bento: bordered cells, a small square label on each */
.bento { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: #fff; }
.cell { padding: 32px 32px 36px; border-color: var(--line); border-style: solid; border-width: 0; display: flex; flex-direction: column; }
.cell-wide { grid-column: 1 / -1; }
.connect { background: linear-gradient(115deg, #fff 45%, #eef4ff 100%); display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; border-bottom-width: 1px; }
.flow-cell { border-right-width: 1px; border-bottom-width: 1px; background: #f5fbf7; }
.flow { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 16px; counter-reset: f; }
.flow li { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 44px 14px 14px; counter-increment: f; }
.flow li::after { content: "0" counter(f) "/"; position: absolute; right: 14px; top: 12px; font-family: var(--mono); font-size: 12px; color: var(--faint); }
.flow li + li::before { content: ""; position: absolute; left: 45px; top: -17px; height: 16px; border-left: 2px dashed #b9c4d6; }
.flow-ico { width: 64px; height: 64px; border-radius: 12px; background: var(--soft); display: grid; place-items: center; }
.flow-ico svg { width: 42px; height: 42px; }
.flow b { display: block; font-size: 16px; font-weight: 650; }
.flow div > span { display: block; color: var(--muted); font-size: 15px; line-height: 1.5; margin-top: 2px; }
.f-box { fill: #fff; stroke: var(--ink); stroke-width: 2; }
.f-tag { fill: #fbeedc; stroke: var(--ink); stroke-width: 2; }
.f-ink { fill: var(--ink); }
.f-soft { fill: none; stroke: #b9c4d6; stroke-width: 2; stroke-linecap: round; }
.f-blue { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.f-okbg { fill: #e8f5ec; stroke: var(--green); stroke-width: 2; }
.f-ok { fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.stack { display: grid; grid-template-rows: 1fr 1fr; border-bottom: 1px solid var(--line); }
.stack .cell + .cell { border-top-width: 1px; }
.stack .cell { justify-content: flex-start; }
.tag { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); margin: 0 0 12px; }
.tag::before { content: ""; width: 11px; height: 11px; background: linear-gradient(135deg, #1454ff, #2e8b3e); border-radius: 3px; }
/* Headings, the same everywhere: a section's (28px), a block's (20px) */
.acc-head h2, .cell h2, .sec-head h2, .faq-head h2, .pr-head h2, .pai-head h2, .cta-head h2 { font-size: clamp(24px, 2.6vw, 28px); font-weight: 680; line-height: 1.2; letter-spacing: -0.01em; }
.cell h3, .grid-title, .detail-head h3 { font-size: 20px; font-weight: 680; line-height: 1.25; letter-spacing: -0.01em; }
.cell-copy > p:not(.tag), .stack .cell > p:not(.tag) { margin-top: 10px; color: var(--ink-2); max-width: 34em; }
/* Rows of 4, 3 and 4: eight half-columns, each tile two wide; the middle row starts one in. */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, 1fr); gap: 18px 0; justify-items: center; align-self: center; }
.tiles li { grid-column: span 2; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.tiles li.shift { grid-column: 2 / span 2; }
.tile { width: 68px; height: 68px; border-radius: 14px; display: grid; place-items: center; background: var(--soft); border: 1px solid var(--line); box-shadow: 0 1px 0 #fff inset, 0 6px 14px -10px rgba(11, 27, 51, .35); transition: transform .2s, box-shadow .2s; }
.tiles li:hover .tile { transform: translateY(-3px); box-shadow: 0 1px 0 #fff inset, 0 14px 22px -12px rgba(11, 27, 51, .4); }
.tile svg { width: 28px; height: 28px; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tile-name { font-size: 12.5px; color: var(--muted); font-weight: 550; }
.i-green { stroke: #1d7a45; } .i-red { stroke: #d93025; } .i-blue { stroke: var(--accent); } .i-navy { stroke: var(--ink); }
.i-teal { stroke: #12a594; } .i-purple { stroke: #8e4ec6; } .i-amber { stroke: #c27803; } .i-flat { stroke: none; }
/* In detail: a heading, then eight bordered cells with pixel icons */
.detail { padding: 0; }
.detail-head { padding: 32px 32px 24px; }
.sec-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.sec-grid li { display: flex; flex-direction: column; gap: 6px; padding: 24px 24px 26px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-grid li:nth-child(4n) { border-right: 0; }
.sec-grid li:nth-last-child(-n + 4) { border-bottom: 0; }
.sec-grid .pix { margin-bottom: 8px; }
.sec-grid b { font-size: 16px; font-weight: 650; }
.sec-grid span { color: var(--muted); font-size: 15px; line-height: 1.55; }

.sec-head { margin-bottom: 24px; }
.sec-sub { margin-top: 8px; color: var(--ink-2); max-width: 46em; }
.section.follow { padding-top: 0; }

/* The process: the heading on the left, then numbered steps divided by thin lines; white, the full width of the screen */
/* A line above and below sets it apart, with less space than a full section break */
#how { padding: 44px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
#security { padding-bottom: 52px; }
#ai { padding-top: 52px; }
.process { display: grid; grid-template-columns: .82fr 1.9fr; gap: 40px; }
.pr-dot { color: var(--accent); }
.pr-link { display: inline-block; margin-top: 18px; font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--accent); }
.pr-link span { color: var(--accent); margin-left: 4px; }
/* under the opening words: "Schedule a meeting" as plain text in the link
   colour (no underline), then the Sign in button */
.hero-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 44px; }
.hero-link { font-size: 15px; font-weight: 600; color: var(--accent); text-decoration: none; }
.hero-link:hover { color: var(--accent-ink); text-decoration: none; }
.hero-link:focus-visible { outline: 3px solid #7aa2ff; outline-offset: 3px; border-radius: 4px; }
.hero-link span { margin-left: 4px; }
.pr-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.pr-steps li { padding: 4px 26px; border-left: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-start; }
.pr-n { font-size: 40px; font-weight: 300; line-height: 1; letter-spacing: -0.02em; color: var(--c); }
.pr-steps li:nth-child(1) { --c: #1454ff; } .pr-steps li:nth-child(2) { --c: #d98a00; } .pr-steps li:nth-child(3) { --c: #7a4de8; } .pr-steps li:nth-child(4) { --c: #22a06b; }
.pr-mark { position: relative; width: 1.5px; height: 20px; margin: 14px 0 14px 4px; background: var(--c); }
.pr-mark::after { content: ""; position: absolute; left: -3px; bottom: 0; width: 6px; height: 6px; border-right: 1.5px solid var(--c); border-bottom: 1.5px solid var(--c); transform: rotate(45deg); }
.pr-steps b { font-size: 18px; font-weight: 680; }
.pr-steps .con-pill { margin-top: 8px; }
.pr-steps p { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.t-purple { background: #f1ecff; color: #5e3fd0; }
.con-pill { display: inline-flex; align-items: center; height: 20px; padding: 0 6px; border-radius: 4px; font-size: 11px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }

/* AI: a soft panel. On the left a note and a tilted phone running off the foot;
   on the right the heading, a rule, and white cards with a round icon each */
/* EmergeAI is a band right across the page: the same ground from edge to edge,
   square corners. What is inside keeps the place it had in the old rounded box. */
#ai { position: relative; padding: 0; overflow: hidden; border-top: 1px solid #dcdbf8; border-bottom: 1px solid #dcdbf8;
  background: radial-gradient(560px 420px at calc(50% - 464px) 100%, rgba(109, 74, 255, .22), transparent 68%), radial-gradient(460px 320px at 100% 0%, rgba(20, 84, 255, .10), transparent 70%), linear-gradient(160deg, #f9f8ff 0%, #eaedff 100%); }
.panel-ai { position: relative; overflow: hidden; display: grid; grid-template-columns: .82fr 1.18fr; gap: 26px 48px; padding: 52px; }
/* the same faint grid as the top of the page, round the phone */
#ai::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(rgba(109, 74, 255, .07) 1px, transparent 1px) 0 0 / 56px 56px, linear-gradient(90deg, rgba(109, 74, 255, .07) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 620px 90% at calc(50% - 420px) 60%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 620px 90% at calc(50% - 420px) 60%, #000 20%, transparent 75%); }
.pai-head, .pai-left, .pai-right { position: relative; }
/* the mark and the heading run across the top, the heading on one line */
.pai-head { grid-column: 1 / -1; }
.pai-head h2 { margin: 0; }
.pai-left { min-height: 440px; }
.pai-right { align-self: center; }
.pai-note { color: var(--ink-2); max-width: 26em; }
.phone { position: absolute; left: 4%; top: 176px; width: 290px; aspect-ratio: 9 / 18; padding: 9px; border-radius: 40px; background: #0b1220; box-shadow: 0 44px 60px -30px rgba(11, 27, 51, .65), inset 0 0 0 1.5px #2b3550; transform: rotate(-11deg); transform-origin: 30% 0; }
.phone-screen { height: 100%; border-radius: 31px; overflow: hidden; background: #fff; }
.phone-bar { height: 36px; display: grid; place-items: center; background: #fff; }
.phone-bar i { width: 82px; height: 22px; border-radius: 999px; background: #0b1220; }
/* On the phone: the app's own assistant screen */
.phone-screen img { width: 100%; height: calc(100% - 36px); object-fit: cover; object-position: top; }
/* The assistant's own mark: a purple sparkle on lilac */
.ai-tag { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 16px; padding: 5px 14px 5px 5px; border-radius: 999px; background: #fff; border: 1px solid #dcdbf8; box-shadow: 0 1px 2px rgba(11, 27, 51, .05); font-size: 14px; font-weight: 650; color: var(--ink); }
.ai-mark { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #ece8ff; }
.ai-mark svg { width: 16px; height: 16px; fill: none; stroke: #6d4aff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.grad-ai { background: linear-gradient(100deg, #6d4aff 0%, #1454ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pai-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pai-card { background: #fff; border: 1px solid #dcdcf5; border-radius: 16px; padding: 22px 22px 24px; box-shadow: 0 14px 26px -20px rgba(11, 27, 51, .45); transition: transform .2s ease, box-shadow .2s ease; }
.pai-card:hover { transform: translateY(-2px); box-shadow: 0 20px 30px -20px rgba(11, 27, 51, .5); }
/* the first card is the assistant itself: purple, like its card on the phone */
.pai-key { background: linear-gradient(140deg, #7654ff 0%, #5b3ff0 55%, #4a34d1 100%); border-color: #5b3ff0; color: #fff; box-shadow: 0 22px 34px -18px rgba(91, 63, 240, .75); }
.pai-key:hover { box-shadow: 0 26px 38px -18px rgba(91, 63, 240, .8); }
.pai-key .pai-ico { background: rgba(255, 255, 255, .18); }
.pai-key .pai-ico svg { stroke: #fff; }
.pai-ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 14px; background: #ece8ff; }
.pai-ico svg { width: 20px; height: 20px; fill: none; stroke: #6d4aff; stroke-width: 1.900; stroke-linecap: round; stroke-linejoin: round; }
.pai-card b { display: block; font-size: 17px; font-weight: 680; line-height: 1.3; }
.pai-card p { margin-top: 6px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.pai-key p { color: rgba(255, 255, 255, .88); }
@media (prefers-reduced-motion: reduce) { .pai-card { transition: none; } .pai-card:hover { transform: none; } }

/* Book a demo: the closing band */
.cta { position: relative; overflow: hidden; padding: 72px 0; border-top: 1px solid #dbe4f6; background: radial-gradient(600px 380px at 100% 50%, rgba(20, 84, 255, .16), transparent 65%), linear-gradient(120deg, #f6f9ff 0%, #e8f0ff 60%, #e9f7ee 100%); }
.cta-grid { display: grid; grid-template-columns: 1fr 1.05fr .7fr; gap: 48px; align-items: center; }
.cta-copy p { color: var(--ink-2); }
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.cta-mail { margin-top: 14px; font-size: 14px; color: var(--muted) !important; }
.cta-mail span { color: var(--ink); font-weight: 600; user-select: all; }
.cta-art { position: relative; height: 190px; }
.cta-art i { position: absolute; left: 50%; top: 50%; width: 118px; height: 150px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, .8); box-shadow: 0 22px 40px -22px rgba(20, 84, 255, .7); transform: rotate(-16deg) skewY(6deg); }
.cta-art i:nth-child(1) { background: linear-gradient(160deg, rgba(46, 139, 62, .55), rgba(76, 175, 80, .18)); margin: -58px 0 0 -112px; }
.cta-art i:nth-child(2) { background: linear-gradient(160deg, rgba(10, 165, 224, .65), rgba(10, 165, 224, .2)); margin: -68px 0 0 -76px; }
.cta-art i:nth-child(3) { background: linear-gradient(160deg, rgba(20, 84, 255, .85), rgba(20, 84, 255, .3)); margin: -78px 0 0 -40px; }

/* Cells in twos, and the one that stands out */
.con-tile.key { background: #eef3ff; }
.con-tile .btn { margin-top: 18px; align-self: flex-start; height: 36px; font-size: 14px; }

/* Plans: a line of colour on each */
#plans .con-tile:nth-child(1) { box-shadow: inset 0 3px 0 #12a594; }
#plans .con-tile:nth-child(2) { box-shadow: inset 0 3px 0 var(--accent); }
#plans .con-tile:nth-child(3) { box-shadow: inset 0 3px 0 #7a4de8; }

/* Tick lists (plans) */
.ticks { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 26px; font-size: 14px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 17px; height: 17px; border-radius: 50%; background: #e8f5ec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%232e8b3e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat; }
.con-tile:has(.ticks) .con-sub { flex: none; }
.con-tile:has(.ticks) .ticks { flex: 1; align-content: start; }

/* Questions, as rows that open */
/* FAQ: the heading and a card to write to us on the left; each question in
   its own card on the right, with a plain chevron that turns when it opens */
.faq { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); grid-template-areas: "head list" "ask list"; grid-template-rows: auto 1fr; column-gap: 72px; row-gap: 32px; }
.faq-head { grid-area: head; }
.faq-list { grid-area: list; display: grid; gap: 14px; align-content: start; }
.faq-list details { border: 1px solid var(--line); border-radius: 16px; background: var(--soft); padding: 0 22px; }
.faq-list summary { display: block; list-style: none; cursor: pointer; border-radius: 10px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:focus-visible { outline: 3px solid #7aa2ff; outline-offset: 4px; }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; font-size: 15px; font-weight: 500; line-height: 1.4; }
.faq-tog { flex: none; width: 9px; height: 9px; margin-right: 6px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.faq-list details[open] .faq-tog { transform: translateY(2px) rotate(-135deg); }
.faq-list details p { padding: 0 40px 20px 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.faq-ask { grid-area: ask; align-self: end; padding: 30px 32px 32px; border-radius: 20px; border: 1px solid #d9e4fb; background: linear-gradient(135deg, #f5f7fa 0%, #e8efff 100%); }
.faq-ask h3 { font-size: 20px; font-weight: 680; line-height: 1.25; letter-spacing: -0.01em; }
.faq-ask p { margin-top: 10px; color: var(--ink-2); font-size: 15px; line-height: 1.6; max-width: 30em; }
.faq-ask .btn { margin-top: 22px; }


/* Footer (dark) */
.foot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad); }
.foot { position: relative; background: #071225; color: #9fb0cf; padding: 60px 0 calc(28px + env(safe-area-inset-bottom, 0px)); }
.foot .brand { color: #fff; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.foot-brand p { margin-top: 12px; font-size: 15px; color: #c9d5ea; }
.foot-brand .dim { margin-top: 4px; color: #8496b5; }
.foot-links { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.foot-links div { display: flex; flex-direction: column; gap: 10px; }
.foot-links b { color: #fff; font-size: 14px; margin-bottom: 4px; }
.foot-links a { color: #9fb0cf; font-size: 15px; }
.foot-links a:hover { color: #fff; text-decoration: none; }
.foot-mail { color: #c9d5ea; font-size: 15px; user-select: all; overflow-wrap: anywhere; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(159, 176, 207, .18); font-size: 13.5px; color: #8496b5; }

/* The 404 page */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.notfound .brand { justify-content: center; }
.notfound h1 { font-size: 40px; margin-top: 28px; }
.nf-sub { margin-top: 12px; color: var(--ink-2); }
.nf-go { margin-top: 28px; }

/* ---- Narrower screens ---- */
@media (max-width: 1080px) {
  .hero-top { grid-template-columns: minmax(0, 1fr); }
  .hero-devices { display: none; }
  .modules { grid-template-columns: repeat(2, 1fr); }
  .modules li:nth-child(4n) { border-right: 1px solid var(--line); }
  .modules li:nth-child(2n) { border-right: 0; }
  .modules li:nth-last-child(-n + 4) { border-bottom: 1px solid var(--line); }
  .modules li:nth-last-child(-n + 2) { border-bottom: 0; }
  .con-tiles.c4 { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 920px) {
  .top-row { grid-template-columns: auto 1fr; }
  .nav, .top-actions .btn-outline { display: none; }
  .menu { display: inline-flex; }
  .frame { aspect-ratio: 4 / 3.3; margin-top: 56px; }
  .win-main { left: 5%; top: 6%; width: 90%; }
  .win-dash { left: 5%; right: auto; top: auto; bottom: -10%; width: 54%; }
  .win-steps { right: 4%; top: auto; bottom: 8%; width: 50%; }
  .section { padding: 56px 0; }
  .hero { padding: 48px 0 56px; }
  .acc-row { grid-template-columns: 1fr; grid-template-areas: "head" "stage" "acc"; }
  .wrap-fluid { padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
  .acc-stage, .wrap-fluid .acc-stage { margin-top: 24px; aspect-ratio: 4 / 3.2; max-height: none; }
  .acc { margin-top: 20px; }
  .bento { grid-template-columns: 1fr; }
  .connect { grid-template-columns: 1fr; min-height: 0; }
  .flow-cell { border-right-width: 0; }
  .sec-grid { grid-template-columns: repeat(2, 1fr); }
  .sec-grid li:nth-child(4n) { border-right: 1px solid var(--line); }
  .sec-grid li:nth-child(2n) { border-right: 0; }
  .sec-grid li:nth-last-child(-n + 4) { border-bottom: 1px solid var(--line); }
  .sec-grid li:nth-last-child(-n + 2) { border-bottom: 0; }
  .detail-head { padding: 28px 24px 22px; }
  .cell { padding: 32px 24px 36px; }
  .con-tiles, .con-tiles.c4 { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; gap: 32px; }
  .pr-steps { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .faq { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "list" "ask"; grid-template-rows: auto; row-gap: 24px; }
  .faq-list details p { padding-right: 0; }
  .faq-ask { padding: 24px; }
  .cta { padding: 56px 0; }
  .cta-grid { grid-template-columns: 1fr; gap: 24px; }
  .cta-art { display: none; }
  .panel-ai { grid-template-columns: 1fr; padding: 40px 0; gap: 24px; }
  .pai-left { min-height: 0; }
  .phone { display: none; }
  .pai-cards { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 15px; }
  .top-actions .btn-primary { height: 36px; padding: 0 12px; font-size: 14px; }
  .hero h1 { font-size: 32px; }
  .pill b { display: none; }
  .pill-text { padding-left: 0; border-left: 0; }
  .tiles { gap: 14px 0; }
  .tile { width: 58px; height: 58px; }
  .modules { grid-template-columns: 1fr; }
  .modules li { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .modules li:last-child { border-bottom: 0 !important; }
  .sec-grid { grid-template-columns: 1fr; }
  .sec-grid li { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .sec-grid li:last-child { border-bottom: 0 !important; }
  .foot-links { gap: 40px; }
  .con-tile { padding-left: 16px; padding-right: 16px; }
  .pr-steps { grid-template-columns: 1fr; }
  .pr-steps li { padding: 0 0 0 20px; }
}
