/* Rival AI marketing site, 2026-10-13. Corporate system modelled on mercury.com:
   cinematic photo hero, laptop zoom, dark product accordion, soft light cards, dark stats, big footer.
   Radius rule: cards 16px, inner UI 12px, buttons and pills full. One accent: Rival blue. */

:root {
  --ink: #070B1A;
  --navy: #0D1530;
  --ink-2: #111833;
  --ink-3: #1A2242;
  --paper: #F5F6F8;
  --white: #FFFFFF;
  --blue: #2B59FF;
  --blue-h: #4B73FF;
  --cyan: #5CE1FF;
  --text: #0E1428;
  --muted: #5A6278;
  --line: #E1E4EB;
  --line-d: rgba(255, 255, 255, .12);
  --on-d: #E9ECF5;
  --on-d-2: #9CA4BC;
  --cloud: #F4F6FD;
  --brand-50: #EEF2FF;
  --violet: #7C5CFF;
  --violet-50: #F3F0FF;
  --mint: #10B981;
  --mint-50: #E8F8F1;
  --rose: #F43F5E;
  --rose-50: #FFF0F3;
  --amber: #F59E0B;
  --amber-50: #FFF6E5;
  --wrap: 1080px;
  --gut: 24px;
  --r: 16px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { font-weight: 400; letter-spacing: -0.02em; }
h1, .h2, .statement, .quote blockquote, .close-h .h2 { font-weight: 360; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
@media (max-width: 640px) { :root { --gut: 16px; } body { font-size: 16px; } }

/* ---------- buttons ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 22px; border-radius: 999px;
  font-size: 15.5px; font-weight: 400; white-space: nowrap; line-height: 1;
  background: var(--blue); color: #fff; border: 1px solid transparent;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .2s var(--ease);
}
.pill:hover { background: var(--blue-h); }
.pill:active { transform: scale(.98); }
.pill.sm { height: 36px; padding: 0 16px; font-size: 14.5px; }
.pill.ghost { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .28); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.pill.ghost:hover { background: rgba(255, 255, 255, .22); }
.pill.quiet { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); color: var(--on-d); }
.pill.quiet:hover { background: rgba(255, 255, 255, .14); }
.pill.line { background: transparent; border-color: var(--line); color: var(--text); }
.pill.line:hover { background: #fff; border-color: #cfd4df; }
.pill i { font-size: 15px; }
.tlink { display: inline-flex; align-items: center; gap: 6px; font-size: 15.5px; border-bottom: 1px solid currentColor; padding-bottom: 1px; transition: opacity .2s; }
.tlink:hover { opacity: .75; }
.tlink i { font-size: 14px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 68px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 32px; color: #fff;
  transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
}
.nav[data-on="dark"] { background: rgba(7, 11, 26, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav[data-on="light"] { background: rgba(255, 255, 255, .94); color: var(--text); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 16.5px; font-weight: 500; letter-spacing: -0.01em; flex: none; }
.brand svg { width: 26px; height: 26px; flex: none; }
.nav .links { display: flex; align-items: center; gap: 30px; font-size: 15px; position: absolute; left: 50%; transform: translateX(-50%); }
.nav .links a { opacity: .88; transition: opacity .2s; padding: 6px 0; }
.nav .links a:hover, .nav .links a[aria-current] { opacity: 1; }
.nav .links a[aria-current] { box-shadow: inset 0 -1px 0 currentColor; }
.nav-r { display: flex; align-items: center; gap: 22px; font-size: 15px; flex: none; }
.nav-r .signin { opacity: .88; }
.nav-r .signin:hover { opacity: 1; }
.menu-btn { display: none; width: 40px; height: 40px; border: 0; background: none; padding: 0; cursor: pointer; position: relative; }
.menu-btn i { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-btn i:nth-child(1) { top: 15px; }
.menu-btn i:nth-child(2) { top: 24px; }
html.menu-open .menu-btn i:nth-child(1) { top: 19.5px; transform: rotate(45deg); }
html.menu-open .menu-btn i:nth-child(2) { top: 19.5px; transform: rotate(-45deg); }
.mmenu {
  position: fixed; inset: 0; z-index: 49; background: var(--ink); color: var(--on-d);
  padding: 92px 16px 32px; display: flex; flex-direction: column; gap: 4px;
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
}
html.menu-open .mmenu { opacity: 1; visibility: visible; }
html.menu-open .nav { background: var(--ink); color: #fff; box-shadow: none; }
.mmenu a.mm { font-size: 24px; letter-spacing: -0.02em; padding: 12px 0; border-bottom: 1px solid var(--line-d); }
.mmenu .mm-cta { margin-top: 28px; display: grid; gap: 10px; }
.mmenu .mm-cta .pill { width: 100%; height: 50px; font-size: 16px; }
@media (max-width: 1080px) { .nav .links { gap: 22px; } }
@media (max-width: 960px) {
  .nav { padding: 0 16px; height: 60px; }
  .nav .links, .nav-r .signin, .nav-r .pill { display: none; }
  .menu-btn { display: block; }
}

/* ---------- reveal ---------- */
html.js .rv { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
html.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js .rv { opacity: 1; transform: none; transition: none; } }

/* ---------- sections ---------- */
.sec { padding: 128px 0; position: relative; }
.sec.tight { padding: 96px 0; }
.sec.light { background: var(--paper); color: var(--text); }
.sec.white { background: #fff; color: var(--text); }
.sec.dark { background: var(--ink); color: var(--on-d); }
.sec.navy { background: var(--navy); color: var(--on-d); }
.h2 { font-size: clamp(27px, 2.7vw, 36px); line-height: 1.16; letter-spacing: -0.022em; }
.h2 .dim { color: var(--muted); }
.dark .h2 .dim, .navy .h2 .dim { color: var(--on-d-2); }
.lede { font-size: 18px; line-height: 1.55; color: var(--muted); max-width: 58ch; }
.dark .lede, .navy .lede { color: var(--on-d-2); }
.sec-head { max-width: 640px; margin-bottom: 56px; }
.sec-head .lede { margin-top: 16px; }
.sec-head.c { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.c .lede { margin-left: auto; margin-right: auto; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0 0 40px; }
.dark .rule, .navy .rule { border-top-color: var(--line-d); }
.mono-tag { font-family: var(--mono); font-size: 11px; letter-spacing: .02em; color: var(--muted); }
.dark .mono-tag, .navy .mono-tag { color: var(--on-d-2); }
@media (max-width: 640px) {
  .sec { padding: 84px 0; }
  .sec.tight { padding: 68px 0; }
  .sec-head { margin-bottom: 36px; }
  .lede { font-size: 16.5px; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100dvh; overflow: hidden;
  color: #fff; display: flex; flex-direction: column; align-items: center; text-align: center;
  background: #1b1d3a;
}
.hero .ph { position: absolute; inset: 0; }
.hero .ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 14, 40, .42) 0%, rgba(10, 14, 40, .08) 34%, rgba(10, 14, 40, 0) 55%, rgba(7, 11, 26, .35) 100%);
}
.hero-in { position: relative; z-index: 1; padding-top: calc(68px + 9vh); max-width: 820px; padding-left: var(--gut); padding-right: var(--gut); }
.hero h1 { font-size: clamp(34px, 4.2vw, 58px); line-height: 1.08; letter-spacing: -0.028em; font-weight: 330; }
.hero h1 .soft { color: rgba(255, 255, 255, .72); }
.hero h1, .hero .sub { text-wrap: balance; }
.hero .sub { margin: 20px auto 0; font-size: clamp(17px, 1.45vw, 20px); line-height: 1.5; color: rgba(255, 255, 255, .86); max-width: 34ch; }
.hero .ctas { margin-top: 34px; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.hero .ask { margin-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: rgba(255, 255, 255, .8); background: none; border: 0; cursor: pointer; padding: 6px 4px; }
.hero .ask:hover { color: #fff; }
.hero .ask .orb { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(92, 225, 255, .18); }
.hero .ask span { border-bottom: 1px solid rgba(255, 255, 255, .4); }
html.js .hero-in > * { opacity: 0; transform: translateY(14px); animation: rise 1.1s var(--ease) forwards; }
html.js .hero-in > :nth-child(2) { animation-delay: .12s; }
html.js .hero-in > :nth-child(3) { animation-delay: .22s; }
html.js .hero-in > :nth-child(4) { animation-delay: .32s; }
html.js .hero .ph img { animation: settle 2.4s var(--ease) both; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { html.js .hero-in > *, html.js .hero .ph img { animation: none; opacity: 1; transform: none; } }
@media (max-width: 640px) {
  .hero-in { padding-top: calc(60px + 7vh); }
  .hero h1 { font-size: 34px; }
  .phero h1 { font-size: 32px; }
  .phero h1 br { display: none; }
  .hero .ph img { object-position: 50% 70%; }
  .hero .ctas { flex-direction: column; align-items: stretch; max-width: 340px; margin-left: auto; margin-right: auto; }
  .hero .ctas .pill { height: 48px; font-size: 16px; }
}

/* sub page hero: a shorter photo band */
.phero { min-height: 74vh; min-height: 74dvh; justify-content: center; }
.phero .hero-in { padding-top: 68px; padding-bottom: 40px; }
.phero h1 { font-size: clamp(34px, 3.8vw, 52px); }
.phero::after { background: radial-gradient(70% 55% at 50% 50%, rgba(7, 11, 26, .5), rgba(7, 11, 26, 0) 75%), linear-gradient(180deg, rgba(7, 11, 26, .55) 0%, rgba(7, 11, 26, .3) 50%, rgba(7, 11, 26, .6) 100%); }
.phero .sub, .phero h1 { text-shadow: 0 1px 24px rgba(7, 11, 26, .55); }
.phero .sub { max-width: 46ch; }
@media (max-width: 640px) { .phero { min-height: 86vh; min-height: 86dvh; } }

/* ---------- laptop zoom ---------- */
.zoom { position: relative; height: 230vh; background: var(--ink); --p: 0; }
.zoom-stage { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; display: grid; place-items: center; }
.zoom-bg { position: absolute; inset: -4%; }
.zoom-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; filter: blur(calc(2px + var(--p) * 10px)) saturate(.9); transform: scale(calc(1.08 + var(--p) * .22)); }
.zoom-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 11, 26, .25), rgba(7, 11, 26, .55)); }
.zoom-fade { position: absolute; inset: 0; background: var(--ink); opacity: clamp(0, calc((var(--p) - .82) * 5.5), 1); pointer-events: none; }
.lap {
  position: relative; z-index: 1; width: min(1180px, 94vw);
  transform: translateY(calc((1 - min(var(--p) * 1.33, 1)) * 9vh)) scale(calc(.5 + min(var(--p) * 1.33, 1) * .5));
  transform-origin: 50% 55%;
  will-change: transform;
}
.lap-lid { position: relative; background: linear-gradient(180deg, #1b1e27, #0b0d13); border-radius: 2.2% / 3.4%; padding: 2.3% 2.3% 3.2%; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset, 0 40px 80px -30px rgba(0, 0, 0, .7); }
.lap-lid::before { content: ""; position: absolute; top: 1%; left: 50%; width: .55%; aspect-ratio: 1; border-radius: 50%; background: #2a2f3a; transform: translateX(-50%); }
.lap-screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: .4%; background: var(--cloud); container-type: inline-size; }
.lap-base { position: relative; height: 0; padding-bottom: 2.6%; margin: 0 -6.5%; background: linear-gradient(180deg, #d7dae1 0%, #aeb3bd 45%, #7d828c 100%); border-radius: 0 0 14% 14% / 0 0 100% 100%; }
.lap-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 15%; height: 42%; transform: translateX(-50%); background: linear-gradient(180deg, #9da2ad, #c4c8d0); border-radius: 0 0 10px 10px; }
.zoom-cap { position: absolute; left: 0; right: 0; bottom: 28px; z-index: 2; text-align: center; font-family: var(--mono); font-size: 11px; color: rgba(255, 255, 255, .55); opacity: clamp(0, calc(1 - var(--p) * 3), 1); }
@media (prefers-reduced-motion: reduce) {
  .zoom { height: auto; }
  .zoom-stage { position: relative; height: auto; padding: 96px 0; }
  .lap { transform: none; }
  .zoom-fade { display: none; }
  .zoom-bg img { filter: blur(8px); transform: scale(1.1); }
}
@media (max-width: 640px) {
  .zoom { height: 180vh; }
  .lap { width: 96vw; }
}

/* ---------- Rival console re-creation (inside the laptop). 1em = 16px at a 1280px screen. ---------- */
.cn { position: absolute; inset: 0; font-size: calc(100cqw / 80); display: grid; grid-template-columns: 15em minmax(0, 1fr); color: var(--ink); font-family: var(--sans); letter-spacing: 0; line-height: 1.4; font-feature-settings: "ss01", "tnum";
  background-color: var(--cloud);
  background-image: radial-gradient(60em 40em at 100% -10%, rgb(43 89 255 / .10), transparent 70%), radial-gradient(50em 36em at -10% 40%, rgb(124 92 255 / .08), transparent 70%), radial-gradient(50em 36em at 70% 110%, rgb(56 189 248 / .10), transparent 70%); }
.cn i[class^="ph"] { font-size: 1em; line-height: 1; }
.cn-side { background: rgba(255, 255, 255, .85); border-right: 1px solid rgba(221, 226, 238, .7); padding: 1em; display: flex; flex-direction: column; }
.cn-biz { padding: .5em .75em 0; font-size: 1em; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cn-wm { padding: 0 .75em; margin-top: .25em; font-size: .625em; color: #4f5872; display: flex; align-items: center; gap: .4em; }
.cn-wm b { width: .5em; height: .5em; border-radius: 50%; background: var(--blue); }
.cn-navl { margin-top: 2em; display: grid; gap: .25em; }
.cn-navl span { display: flex; align-items: center; gap: .75em; padding: .5em .875em; border-radius: 999px; font-size: .875em; color: #4f5872; }
.cn-navl span.on { background: var(--blue); color: #fff; box-shadow: 0 .375em 1em -.5em rgb(43 89 255 / .7); }
.cn-navl span i { font-size: 1.15em; }
.cn-out { margin-top: auto; display: flex; align-items: center; gap: .75em; padding: .5em .875em; font-size: .875em; color: #4f5872; }
.cn-main { padding: 2.25em 2.25em 1.75em; display: flex; flex-direction: column; min-width: 0; }
.cn-top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 1.1em; }
.cn-title { font-size: 1.5em; font-weight: 400; letter-spacing: -0.02em; }
.cn-demo { font-family: var(--mono); font-size: .62em; color: #4f5872; background: #fff; border: 1px solid #dde2ee; border-radius: 999px; padding: .3em .8em; }
.cn-grid { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) 17.5em; gap: 1.25em; min-height: 0; }
.cn-card { background: #fff; border: 1px solid rgba(221, 226, 238, .8); border-radius: 1em; box-shadow: 0 1px 2px rgb(7 11 26 / .04), 0 .5em 1.5em -.75em rgb(43 89 255 / .15); }
.cn-inbox { display: grid; grid-template-columns: 15.5em minmax(0, 1fr); overflow: hidden; min-height: 0; }
.cn-list { border-right: 1px solid #dde2ee; display: flex; flex-direction: column; min-height: 0; }
.cn-lh { display: flex; justify-content: space-between; align-items: center; padding: .75em 1em; border-bottom: 1px solid #dde2ee; }
.cn-lh b { font-weight: 400; font-size: 1em; }
.cn-lh span { font-size: .75em; color: #4f5872; }
.cn-row { display: flex; gap: .75em; padding: .75em 1em; border-bottom: 1px solid rgba(221, 226, 238, .7); }
.cn-row.on { background: var(--cloud); }
.cn-row > i { margin-top: .15em; color: #4f5872; font-size: 1em; }
.cn-row .t { min-width: 0; flex: 1; }
.cn-row .a { display: flex; align-items: center; gap: .5em; }
.cn-row .a b { font-size: .875em; font-weight: 500; }
.cn-row .a .dot { width: .375em; height: .375em; border-radius: 50%; background: var(--blue); }
.cn-row .a time { margin-left: auto; font-size: .6875em; color: #4f5872; }
.cn-row .b { display: flex; align-items: center; gap: .5em; margin-top: .15em; }
.cn-row .b span { font-size: .75em; color: #4f5872; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; }
.mode { font-size: .625em; border-radius: 999px; padding: .15em .6em; background: var(--brand-50); color: var(--blue); flex: none; }
.mode.h { background: #eceef4; color: var(--ink); }
.cn-conv { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.cn-ch { display: flex; align-items: center; gap: .75em; padding: .75em 1em; border-bottom: 1px solid #dde2ee; }
.cn-ch .t { flex: 1; }
.cn-ch b { display: block; font-size: .875em; font-weight: 500; }
.cn-ch span { font-size: .75em; color: #4f5872; }
.cn-btn { font-size: .75em; border-radius: 999px; padding: .45em 1em; background: var(--ink); color: #fff; }
.cn-msgs { flex: 1; background: rgba(244, 246, 253, .5); padding: 1em; display: flex; flex-direction: column; gap: .5em; overflow: hidden; }
.cn-sys { text-align: center; font-size: .72em; color: #4f5872; padding: .2em 0; }
.bub { max-width: 78%; border-radius: 1em; padding: .5em .875em; font-size: .8125em; line-height: 1.38; }
.bub small { display: block; font-size: .78em; color: #4f5872; margin-top: .25em; }
.bub.in { align-self: flex-start; background: #fff; border: 1px solid #dde2ee; }
.bub.ai { align-self: flex-end; background: rgb(43 89 255 / .1); }
.bub .fast { display: inline-flex; align-items: center; gap: .3em; color: var(--blue); background: var(--brand-50); border-radius: 999px; padding: .1em .55em; margin-left: .4em; }
.cn-compose { border-top: 1px solid #dde2ee; padding: .75em; display: flex; gap: .5em; background: #fff; border-radius: 0 0 1em 0; }
.cn-compose span { flex: 1; border: 1px solid #dde2ee; border-radius: .75em; padding: .55em .75em; font-size: .8125em; color: rgba(79, 88, 114, .75); background: var(--cloud); }
.cn-compose b { width: 2.5em; height: 2.5em; border-radius: 50%; background: var(--blue); opacity: .5; display: grid; place-items: center; color: #fff; }
.cn-lead { padding: 1.1em; display: flex; flex-direction: column; gap: .9em; min-height: 0; overflow: hidden; }
.cn-who { display: flex; gap: .7em; align-items: flex-start; }
.cn-av { width: 2.5em; height: 2.5em; border-radius: 50%; background: var(--brand-50); color: var(--blue); display: grid; place-items: center; font-size: .9em; flex: none; }
.cn-who b { display: block; font-size: 1em; font-weight: 400; }
.cn-who span { display: block; font-size: .7em; color: #4f5872; }
.cn-owner { margin-left: auto; font-size: .62em; color: #4f5872; background: var(--cloud); border-radius: 999px; padding: .3em .7em; white-space: nowrap; }
.cn-stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: .3em; }
.cn-stages div i { display: block; height: .3em; border-radius: 999px; background: var(--blue); }
.cn-stages div span { display: block; font-size: .6em; color: #4f5872; margin-top: .4em; }
.cn-stages div.cur span { color: var(--ink); }
.cn-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: .6em; }
.cn-tile { border-radius: .875em; padding: .75em; background: var(--brand-50); }
.cn-tile.v { background: var(--violet-50); }
.cn-tile p { font-size: .62em; color: #4f5872; display: flex; gap: .35em; align-items: center; }
.cn-tile p i { color: var(--blue); }
.cn-tile.v p i { color: var(--violet); }
.cn-tile b { display: block; font-size: 1.5em; font-weight: 300; letter-spacing: -0.02em; margin-top: .1em; }
.cn-tile small { font-size: .56em; color: #4f5872; }
.cn-tile .bar { height: .3em; border-radius: 999px; background: #fff; margin-top: .45em; overflow: hidden; }
.cn-tile .bar i { display: block; height: 100%; width: 92%; background: var(--violet); border-radius: inherit; }
.cn-learn p.k { font-size: .7em; color: #4f5872; margin-bottom: .45em; }
.cn-learn div { display: flex; justify-content: space-between; gap: .5em; font-size: .7em; padding: .5em .75em; border: 1px solid #dde2ee; border-radius: .75em; margin-bottom: .35em; }
.cn-learn div span { color: #4f5872; }
.cn-book { display: flex; gap: .7em; align-items: center; border-radius: .875em; padding: .75em; background: var(--mint-50); }
.cn-book i.ic { width: 2.2em; height: 2.2em; border-radius: .6em; background: #fff; display: grid; place-items: center; color: #047857; font-size: 1em; }
.cn-book b { display: block; font-size: .78em; font-weight: 500; }
.cn-book span { font-size: .66em; color: #4f5872; }

/* ---------- product fragments (light console cards used in sections) ---------- */
.ui { font-family: var(--sans); color: var(--ink); background: #fff; border: 1px solid rgba(221, 226, 238, .9); border-radius: 16px; box-shadow: 0 1px 2px rgb(7 11 26 / .04), 0 18px 40px -22px rgb(7 11 26 / .45); overflow: hidden; font-size: 14px; line-height: 1.4; }
.ui-h { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid #e3e7f0; }
.ui-h b { font-weight: 500; font-size: 14px; }
.ui-h span { font-size: 12px; color: #4f5872; }
.ui-h .r { margin-left: auto; }
.ui-b { padding: 16px; display: grid; gap: 10px; background: rgba(244, 246, 253, .6); }
.ui .bub { font-size: 13.5px; max-width: 86%; }
.ui .row { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #e3e7f0; border-radius: 12px; padding: 10px 12px; font-size: 13.5px; }
.ui .row .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; background: var(--brand-50); color: var(--blue); font-size: 16px; }
.ui .row .ic.m { background: var(--mint-50); color: #047857; }
.ui .row .ic.v { background: var(--violet-50); color: var(--violet); }
.ui .row .ic.r { background: var(--rose-50); color: #be123c; }
.ui .row .ic.a { background: var(--amber-50); color: #b45309; }
.ui .row .t { flex: 1; min-width: 0; }
.ui .row .t b { display: block; font-weight: 500; font-size: 13.5px; }
.ui .row .t span { display: block; font-size: 12px; color: #4f5872; }
.ui .row .s { font-size: 11.5px; border-radius: 999px; padding: 3px 9px; background: var(--cloud); color: #4f5872; white-space: nowrap; }
.ui .row .s.ok { background: var(--mint-50); color: #047857; }
.ui .row .s.bl { background: var(--brand-50); color: var(--blue); }
.ui .row.dim { opacity: .55; }
.ui .stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.ui .stages i { display: block; height: 4px; border-radius: 999px; background: #e3e7f0; }
.ui .stages .on i { background: var(--blue); }
.ui .stages span { display: block; font-size: 11px; color: #4f5872; margin-top: 6px; }
.ui .tile2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ui .tile { border-radius: 12px; padding: 12px; background: var(--brand-50); }
.ui .tile.v { background: var(--violet-50); }
.ui .tile p { font-size: 11.5px; color: #4f5872; }
.ui .tile b { display: block; font-size: 24px; font-weight: 300; letter-spacing: -0.02em; }
.ui .tl { display: grid; gap: 0; }
.ui .tl li { display: grid; grid-template-columns: 54px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid #e9ecf3; font-size: 13.5px; }
.ui .tl li:last-child { border-bottom: 0; }
.ui .tl li span.d { font-family: var(--mono); font-size: 11.5px; color: #4f5872; }
.ui .tl li.stop { color: #4f5872; }
.ui .tl li.stop span:not(.d) { text-decoration: line-through; text-decoration-color: rgba(79, 88, 114, .5); }
.ui-note { font-family: var(--mono); font-size: 10.5px; color: #6b7390; padding: 10px 16px; border-top: 1px solid #e3e7f0; background: #fff; }
.ui .wave { display: flex; align-items: center; gap: 3px; height: 26px; }
.ui .wave i { width: 3px; border-radius: 3px; background: var(--blue); opacity: .75; }
.ui [dir="rtl"] { text-align: right; }

/* ---------- dark product accordion ---------- */
.prod { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 72px; align-items: start; }
.prod-l { padding-top: 24px; }
.prod-l .h2 { margin-bottom: 44px; }
.acc { border-top: 0; }
.acc-item { position: relative; border-top: 1px solid var(--line-d); }
.light .acc-item, .white .acc-item { border-top-color: var(--line); }
.acc-item::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: currentColor; }
.acc-item.on::before { width: 100%; }
html.js .acc.auto .acc-item.on::before { width: 0; animation: accfill var(--dur, 7s) linear forwards; }
html.js .acc.auto.paused .acc-item.on::before { animation-play-state: paused; }
@keyframes accfill { to { width: 100%; } }
.acc-btn { width: 100%; text-align: left; background: none; border: 0; padding: 15px 0 15px; cursor: pointer; display: flex; align-items: center; gap: 12px; font-size: 16.5px; color: inherit; opacity: .62; transition: opacity .3s; }
.acc-item.on .acc-btn, .acc-btn:hover { opacity: 1; }
.acc-btn .bul { width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-left: -18px; opacity: 0; transition: opacity .3s; flex: none; }
.acc-item.on .acc-btn .bul { opacity: 1; background: #b9c6ff; }
.light .acc-item.on .acc-btn .bul, .white .acc-item.on .acc-btn .bul { background: var(--blue); }
.acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.acc-item.on .acc-body { grid-template-rows: 1fr; }
.acc-body > div { overflow: hidden; }
.acc-body > div > p { font-size: 15.5px; line-height: 1.55; color: var(--on-d-2); padding: 0 0 20px; max-width: 46ch; margin-top: -6px; }
.light .acc-body > div > p, .white .acc-body > div > p { color: var(--muted); }
.acc-body .chips { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 22px; margin-top: -8px; }
.acc-body .chips span { font-size: 12.5px; border: 1px solid var(--line-d); border-radius: 999px; padding: 4px 10px; color: var(--on-d-2); }
.light .acc-body .chips span, .white .acc-body .chips span { border-color: var(--line); color: var(--muted); }
.prod-l .tlink { margin-top: 30px; }
.prod-r { position: sticky; top: 108px; }
.stage { position: relative; min-height: 520px; }
.stage-p { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); pointer-events: none; }
.stage-p.on { opacity: 1; transform: none; pointer-events: auto; position: relative; }
.stage-p .ui { max-width: 520px; }
.stage-glow { position: absolute; inset: -10% -20% -10% -10%; background: radial-gradient(closest-side, rgba(43, 89, 255, .18), transparent); pointer-events: none; }
.acc-mob { display: none; }
@media (max-width: 900px) {
  .prod { grid-template-columns: 1fr; gap: 0; }
  .prod-r { display: none; }
  .acc-mob { display: block; padding: 4px 0 26px; }
  .acc-mob .ui { font-size: 13px; }
  .prod-l { padding-top: 0; }
}

/* ---------- light feature cards (Mercury soft renders) ---------- */
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 32px; }
.fcard .vis { position: relative; aspect-ratio: 3 / 2; border-radius: var(--r); overflow: hidden; background: #E8EAEF; display: grid; place-items: center; padding: 28px; }
.fcard .vis.b { background: #DCE5EE; }
.fcard .vis.g { background: linear-gradient(160deg, #eef0f4, #dfe3ea); }
.fcard .vis.d { background: #2A3046; }
.fcard .vis .ui { width: 100%; max-width: 380px; }
.fcard h3 { font-size: 17.5px; letter-spacing: -0.01em; margin-top: 18px; }
.fcard p { font-size: 16px; line-height: 1.5; color: var(--muted); margin-top: 4px; max-width: 46ch; }
.leak { display: grid; gap: 8px; width: 100%; max-width: 380px; }
.leak .lt { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #4f5872; margin: 0 0 6px 2px; }
.leak .lt i { font-size: 16px; color: var(--blue); }
.leak .row { display: flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, .7); border: 1px solid rgba(255, 255, 255, .9); border-radius: 12px; padding: 14px 16px; font-size: 15px; color: #4f5872; box-shadow: 0 10px 30px -22px rgba(7, 11, 26, .5); }
.leak .row b { font-weight: 400; color: var(--ink); }
.leak .row .k { font-family: var(--mono); font-size: 10.5px; width: 74px; flex: none; color: #6b7390; }
.leak .row.now { background: #fff; }
.leak .row.now .k { color: var(--blue); }
.leak .row.old b { text-decoration: line-through; text-decoration-color: rgba(79, 88, 114, .45); color: #6b7390; }
@media (max-width: 760px) { .fgrid { grid-template-columns: 1fr; gap: 44px; } .fcard .vis { padding: 18px; } }

/* quote / principle */
.quote { text-align: center; max-width: 820px; margin: 0 auto; }
.quote blockquote { margin: 0; font-size: clamp(22px, 2.3vw, 30px); line-height: 1.32; letter-spacing: -0.015em; color: #3a4158; }
.quote figcaption { margin-top: 26px; font-size: 16px; color: var(--text); }
.quote figcaption span { display: block; color: var(--muted); }

/* industries split */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split-media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: #dfe3ea; }
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.03); transition: opacity .8s var(--ease), transform 1.4s var(--ease); }
.split-media img.on { opacity: 1; transform: none; }
.split-copy .h2 { margin-bottom: 40px; }
.split-copy .acc-body ul { padding: 0 0 22px; margin-top: -8px; display: grid; gap: 6px; }
.split-copy .acc-body li { font-size: 15px; color: var(--muted); padding-left: 16px; position: relative; }
.split-copy .acc-body li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 1px; background: currentColor; }
.split-copy .tlink { margin-top: 28px; }
.acc-mob-img { display: none; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 0; }
  .split-media { display: none; }
  .acc-mob-img { display: block; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; margin: 0 0 18px; }
  .acc-mob-img img { width: 100%; height: 100%; object-fit: cover; }
}

/* engine diagram */
.flow { color: var(--text); border-radius: 20px; background: #DCE5EE; padding: 56px 48px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 36px; align-items: center; }
.flow-col h3 { font-family: var(--mono); font-size: 11.5px; color: #4f5872; letter-spacing: .02em; margin-bottom: 14px; }
.flow-col ul { display: grid; gap: 8px; }
.flow-col li { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 12px; padding: 11px 14px; font-size: 15px; box-shadow: 0 10px 26px -20px rgba(7, 11, 26, .55); }
.flow-col li img { width: 18px; height: 18px; opacity: .8; }
.flow-col li i { font-size: 18px; color: #4f5872; }
.flow-col.out li { background: #fff; }
.flow-core { width: 240px; background: var(--ink); color: var(--on-d); border-radius: 18px; padding: 24px; box-shadow: 0 30px 60px -30px rgba(7, 11, 26, .8); position: relative; }
.flow-core::before, .flow-core::after { content: ""; position: absolute; top: 50%; width: 36px; height: 1px; background: #8c98b2; }
.flow-core::before { right: 100%; }
.flow-core::after { left: 100%; }
.flow-core .brand { font-size: 15px; }
.flow-core .brand svg { width: 22px; height: 22px; }
.flow-core ol { margin-top: 16px; display: grid; gap: 7px; }
.flow-core li { font-size: 14px; color: var(--on-d-2); display: flex; align-items: center; gap: 9px; }
.flow-core li i { color: #9db1ff; font-size: 15px; }
@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr; padding: 28px 18px; gap: 26px; }
  .flow-core { width: auto; }
  .flow-core::before, .flow-core::after { left: 50%; right: auto; top: auto; width: 1px; height: 26px; }
  .flow-core::before { bottom: 100%; }
  .flow-core::after { top: 100%; }
  .flow-col ul { grid-template-columns: 1fr 1fr; }
}

/* steps */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--line); }
.steps li { padding: 26px 22px 0 0; position: relative; }
.steps li::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--text); transition: width 1.2s var(--ease); transition-delay: var(--d, 0s); }
.steps.in li::before { width: calc(100% - 22px); }
.steps h3 { font-size: 19px; letter-spacing: -0.01em; }
.steps .tag { display: inline-block; font-size: 12px; color: var(--blue); background: var(--brand-50); border-radius: 999px; padding: 3px 10px; margin-top: 10px; }
.steps p { font-size: 15px; line-height: 1.5; color: var(--muted); margin-top: 10px; }
.dark .steps, .navy .steps { border-top-color: var(--line-d); }
.dark .steps li::before, .navy .steps li::before { background: var(--on-d); }
.dark .steps p, .navy .steps p { color: var(--on-d-2); }
.dark .steps .tag, .navy .steps .tag { background: rgba(43, 89, 255, .2); color: #b9c6ff; }
.steps.s3 { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
.steps.s4 { grid-template-columns: repeat(4, 1fr); row-gap: 40px; }
@media (max-width: 900px) {
  .steps, .steps.s3, .steps.s4 { grid-template-columns: 1fr 1fr; row-gap: 34px; border-top: 0; }
  .steps li { border-top: 1px solid var(--line); padding-right: 14px; }
  .dark .steps li, .navy .steps li { border-top-color: var(--line-d); }
}
@media (max-width: 520px) { .steps, .steps.s3, .steps.s4 { grid-template-columns: 1fr; row-gap: 26px; } .steps li::before { display: none; } }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.stats li { padding: 4px 20px; border-left: 1px solid var(--line-d); }
.stats li:first-child { border-left: 0; }
.stats b { display: block; font-size: clamp(44px, 4.8vw, 66px); font-weight: 300; letter-spacing: -0.035em; line-height: 1.05; color: #fff; }
.stats b small { font-size: .5em; letter-spacing: -0.01em; margin-left: 2px; }
.stats p { font-size: 15.5px; line-height: 1.45; color: var(--on-d); margin: 10px auto 0; max-width: 22ch; }
.stats .src { display: block; font-family: var(--mono); font-size: 10.5px; color: var(--on-d-2); margin-top: 10px; }
@media (max-width: 860px) {
  .stats { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .stats li:nth-child(3) { border-left: 0; }
}
@media (max-width: 420px) { .stats li { padding: 4px 10px; } .stats p { font-size: 14.5px; } }

/* trust cards (dark renders) */
.tgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tcard .vis { aspect-ratio: 4 / 5; border-radius: var(--r); background: linear-gradient(180deg, #1f2640, #171d33); overflow: hidden; display: grid; place-items: center; position: relative; padding: 20px; }
.tcard h3 { font-size: 16.5px; margin-top: 18px; color: #fff; letter-spacing: -0.01em; }
.tcard p { font-size: 15px; line-height: 1.5; color: var(--on-d-2); margin-top: 4px; }
.tv-toggle { display: grid; gap: 14px; width: 100%; max-width: 190px; }
.tv-toggle span { display: flex; align-items: center; justify-content: space-between; height: 46px; border-radius: 999px; padding: 0 6px 0 18px; font-size: 13.5px; color: #c9d0e4; background: linear-gradient(180deg, #2c3453, #232a45); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 12px 28px -14px rgba(0, 0, 0, .7); }
.tv-toggle span i { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(180deg, #59617c, #3a415c); }
.tv-toggle span.on { background: linear-gradient(180deg, #f3f4f8, #d9dce6); color: var(--ink); }
.tv-toggle span.on i { background: radial-gradient(circle at 40% 35%, #fff, #b9bfce); box-shadow: 0 4px 10px rgba(7, 11, 26, .35); }
.tv-msg { display: grid; gap: 10px; width: 100%; max-width: 210px; font-size: 13px; }
.tv-msg p { border-radius: 14px; padding: 10px 12px; line-height: 1.4; }
.tv-msg .q { background: #2a3150; color: #c9d0e4; justify-self: start; }
.tv-msg .a { background: linear-gradient(180deg, #eef0f6, #d6dae5); color: var(--ink); justify-self: end; }
.tv-msg .h { font-family: var(--mono); font-size: 10.5px; color: #8f98b3; justify-self: center; }
.tv-lang { text-align: center; }
.tv-lang b { display: block; font-size: 38px; font-weight: 300; letter-spacing: -0.02em; color: #eef0f6; text-shadow: 0 0 30px rgba(185, 198, 255, .35); }
.tv-lang b + b { margin-top: 6px; font-size: 40px; }
.tv-lang span { display: block; margin-top: 14px; font-family: var(--mono); font-size: 10.5px; color: #8f98b3; }
.tv-tools { display: grid; gap: 8px; width: 100%; max-width: 190px; }
.tv-tools span { display: flex; align-items: center; gap: 10px; border-radius: 12px; padding: 10px 12px; font-size: 13.5px; color: #c9d0e4; background: #262d4a; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
.tv-tools span:nth-child(2) { margin-left: 14px; }
.tv-tools span:nth-child(3) { margin-left: 28px; background: linear-gradient(180deg, #eef0f6, #d6dae5); color: var(--ink); }
.tv-tools span i { font-size: 16px; }
@media (max-width: 1000px) { .tgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .tgrid { grid-template-columns: 1fr; } .tcard .vis { aspect-ratio: 4 / 3; } }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 64px; }
.faq details { border-top: 1px solid var(--line-d); }
.faq details:last-child { border-bottom: 1px solid var(--line-d); }
.light .faq details, .white .faq details { border-color: var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-size: 17.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { font-size: 18px; transition: transform .35s var(--ease); flex: none; margin-top: 3px; opacity: .7; }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--on-d-2); font-size: 16px; max-width: 60ch; }
.light .faq details p, .white .faq details p { color: var(--muted); }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; gap: 28px; } }

/* closing CTA cards */
.ctas2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ccard { border-radius: var(--r); background: var(--ink-2); padding: 36px 34px 34px; display: flex; flex-direction: column; align-items: flex-start; min-height: 250px; }
.ccard h3 { font-size: 26px; color: #fff; letter-spacing: -0.02em; }
.ccard p { font-size: 16.5px; color: var(--on-d-2); margin-top: 10px; max-width: 40ch; }
.ccard .pill { margin-top: auto; }
.ccard .acts { margin-top: auto; padding-top: 28px; display: flex; gap: 10px; flex-wrap: wrap; }
.close-h { text-align: center; margin-bottom: 48px; }
.close-h .h2 { font-size: clamp(30px, 3.2vw, 42px); color: #fff; }
@media (max-width: 760px) { .ctas2 { grid-template-columns: 1fr; } .ccard { padding: 28px 22px; min-height: 0; } .ccard .acts .pill { flex: 1; } }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: var(--on-d); padding: 40px 0 48px; }
.foot-top { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 32px; padding-top: 72px; border-top: 1px solid var(--line-d); }
.foot-brand p { margin-top: 16px; font-size: 15px; color: var(--on-d-2); max-width: 28ch; }
.foot h4 { font-size: 15px; font-weight: 400; color: var(--on-d-2); margin-bottom: 14px; }
.foot-col a, .foot-col button { display: block; font-size: 15.5px; padding: 4px 0; color: var(--on-d); background: none; border: 0; cursor: pointer; text-align: left; }
.foot-col a:hover, .foot-col button:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.foot-notes { margin-top: 80px; padding-top: 28px; border-top: 1px solid var(--line-d); display: grid; grid-template-columns: 200px 1fr; gap: 32px; font-size: 12.5px; color: var(--on-d-2); line-height: 1.6; }
.foot-notes b { font-weight: 400; color: var(--on-d); }
.foot-notes ol { list-style: decimal; padding-left: 18px; display: grid; gap: 6px; margin-top: 10px; }
.foot-bar { margin-top: 36px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--on-d-2); }
@media (max-width: 900px) {
  .foot-top { grid-template-columns: 1fr 1fr; padding-top: 48px; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-notes { grid-template-columns: 1fr; gap: 6px; margin-top: 56px; }
}

/* ---------- sub page parts ---------- */
.sys-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px 32px; }
.sys { scroll-margin-top: 96px; }
.sys.wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.sys .vis { border-radius: var(--r); background: #E8EAEF; padding: 30px; display: grid; place-items: center; min-height: 360px; }
.sys:nth-child(4n+2) .vis, .sys:nth-child(4n+3) .vis { background: #DCE5EE; }
.sys .vis .ui { width: 100%; max-width: 400px; }
.sys h3 { font-size: 21px; letter-spacing: -0.015em; margin-top: 22px; }
.sys.wide h3 { margin-top: 0; font-size: clamp(24px, 2.4vw, 30px); }
.sys > div:not(.vis) > p { font-size: 16px; color: var(--muted); margin-top: 8px; max-width: 50ch; }
.sys ul { margin-top: 16px; display: grid; gap: 7px; }
.sys li { font-size: 15px; color: var(--text); padding-left: 22px; position: relative; }
.sys li i { position: absolute; left: 0; top: 3px; color: var(--blue); font-size: 15px; }
.sys .tlink { margin-top: 18px; font-size: 15px; }
@media (max-width: 860px) {
  .sys-grid { grid-template-columns: 1fr; gap: 56px; }
  .sys.wide { grid-template-columns: 1fr; gap: 0; }
  .sys.wide h3 { margin-top: 22px; }
  .sys .vis { padding: 18px; min-height: 0; }
}

.icards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.icard { background: #fff; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.icard .im { aspect-ratio: 4 / 3; overflow: hidden; }
.icard .im img { width: 100%; height: 100%; object-fit: cover; }
.icard .tx { padding: 24px 24px 28px; }
.icard .tx > p.k { font-size: 13.5px; color: var(--muted); margin-top: 0; }
.icard h3 { font-size: 22px; margin-top: 4px; letter-spacing: -0.015em; }
.icard .tx > p { font-size: 15.5px; color: var(--muted); margin-top: 10px; }
.icard ul { margin-top: 16px; display: grid; gap: 7px; }
.icard li { font-size: 14.5px; padding-left: 22px; position: relative; }
.icard li i { position: absolute; left: 0; top: 2px; color: var(--blue); }
@media (max-width: 900px) { .icards { grid-template-columns: 1fr; max-width: 560px; } }
/* AI team cards (home, systems): same icard, a console fragment instead of a photo, and a live demo link */
.icard .im.uim { aspect-ratio: auto; min-height: 396px; background: #E8EAEF; padding: 22px; display: grid; place-items: center; }
.icard:nth-child(2) .im.uim { background: #DCE5EE; }
.icard .im.uim .ui { width: 100%; font-size: 13px; }
.icard .im.uim .ui-b { padding: 12px; gap: 8px; }
.icard .im.uim .row { padding: 9px 10px; gap: 9px; }
.icards.team .icard .tx { flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.icards.team .icard .acts { margin-top: auto; padding-top: 24px; }
@media (max-width: 900px) { .icard .im.uim { min-height: 0; padding: 18px; } }

.tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tags span { font-size: 16px; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 9px 18px; color: var(--text); }
.dark .tags span, .navy .tags span { background: transparent; border-color: var(--line-d); color: var(--on-d); }

.demo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 72px; align-items: center; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.tabs button { height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-d); background: transparent; color: var(--on-d-2); font-size: 14.5px; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.tabs button[aria-selected="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.phone { width: 100%; max-width: 380px; margin-left: auto; border-radius: 42px; background: #0b0f1f; padding: 10px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 40px 80px -40px rgba(0, 0, 0, .9); }
.phone-in { border-radius: 33px; overflow: hidden; background: #efeae2; height: 600px; display: flex; flex-direction: column; }
.phone-top { background: #0b5c4f; color: #fff; padding: 20px 16px 12px; display: flex; align-items: center; gap: 10px; }
.phone-top .av { width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .2); display: grid; place-items: center; font-size: 12px; }
.phone-top b { display: block; font-weight: 500; font-size: 14.5px; }
.phone-top span { font-size: 12px; opacity: .8; }
.chat { flex: 1; padding: 14px 12px; display: none; flex-direction: column; gap: 8px; overflow: hidden; }
.chat.on { display: flex; }
.chat .note { align-self: center; font-size: 11.5px; background: #fdf3c4; color: #5b5222; border-radius: 8px; padding: 5px 10px; text-align: center; max-width: 90%; }
.chat p { max-width: 82%; font-size: 14px; line-height: 1.38; padding: 7px 10px 8px; border-radius: 10px; color: #111b21; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.chat p.in { align-self: flex-start; background: #fff; border-top-left-radius: 2px; }
.chat p.out { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 2px; }
.chat p.sys { align-self: center; background: #e7ecf7; color: #2b3a67; font-size: 12px; box-shadow: none; text-align: center; }
.chat[dir="rtl"] p.in { align-self: flex-end; }
.chat[dir="rtl"] p.out { align-self: flex-start; }
.chat[dir="rtl"] p.sys { direction: ltr; }
html.js .chat.on p, html.js .chat.on .note { opacity: 0; transform: translateY(8px); animation: rise .6s var(--ease) forwards; animation-delay: calc(var(--i, 0) * .45s + .15s); }
@media (prefers-reduced-motion: reduce) { html.js .chat.on p, html.js .chat.on .note { animation: none; opacity: 1; transform: none; } }
.demo-note { font-family: var(--mono); font-size: 11px; color: var(--on-d-2); text-align: center; margin-top: 14px; max-width: 380px; margin-left: auto; }
@media (max-width: 900px) {
  .demo { grid-template-columns: 1fr; gap: 44px; }
  .phone { margin: 0 auto; }
  .demo-note { margin: 14px auto 0; }
  .phone-in { height: auto; min-height: 540px; }
  .chat { overflow: visible; padding-bottom: 18px; }
}

.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-d); }
.metrics li { padding: 18px 0; border-bottom: 1px solid var(--line-d); font-size: 17px; color: var(--on-d); display: flex; align-items: center; gap: 12px; }
.metrics li i { color: #9db1ff; font-size: 18px; }
.metrics li:nth-child(3n+2), .metrics li:nth-child(3n+3) { padding-left: 24px; }
.kpi { margin-top: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; border-radius: var(--r); background: var(--ink-2); padding: 28px 32px; }
.kpi p { font-size: 15px; color: var(--on-d-2); }
.kpi b { font-size: clamp(26px, 2.6vw, 34px); font-weight: 400; color: #fff; letter-spacing: -0.02em; }
@media (max-width: 760px) {
  .metrics { grid-template-columns: 1fr 1fr; }
  .metrics li:nth-child(3n+2), .metrics li:nth-child(3n+3) { padding-left: 0; }
  .metrics li:nth-child(2n) { padding-left: 16px; }
  .metrics li { font-size: 15.5px; }
}

.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.duo .vis { border-radius: var(--r); background: #1d2440; padding: 32px; display: grid; place-items: center; }
.duo .vis .ui { width: 100%; max-width: 420px; }
.duo ul.sig { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.duo ul.sig li { font-size: 14px; border: 1px solid var(--line-d); border-radius: 999px; padding: 6px 13px; color: var(--on-d); }
.duo .fine { margin-top: 14px; font-size: 13px; color: var(--on-d-2); }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; gap: 40px; } .duo .vis { padding: 16px; } }

.beliefs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.belief { border-radius: var(--r); background: #fff; border: 1px solid var(--line); padding: 30px 30px 32px; }
.belief h3 { font-size: 20px; letter-spacing: -0.015em; }
.belief p { font-size: 16px; color: var(--muted); margin-top: 10px; max-width: 46ch; }
.belief.photo { grid-column: 1 / -1; padding: 0; overflow: hidden; display: grid; grid-template-columns: 1.2fr 1fr; border: 0; background: var(--ink); color: var(--on-d); }
.belief.photo img { width: 100%; height: 100%; object-fit: cover; min-height: 340px; }
.belief.photo .tx { padding: 40px 36px; align-self: end; }
.belief.photo p { color: var(--on-d-2); }
@media (max-width: 860px) {
  .beliefs { grid-template-columns: 1fr; }
  .belief.photo { grid-template-columns: 1fr; }
  .belief.photo img { min-height: 0; aspect-ratio: 16 / 10; }
  .belief.photo .tx { padding: 26px 22px 28px; }
  .belief { padding: 24px 22px 26px; }
}

.statement { max-width: 900px; margin: 0 auto; text-align: center; font-size: clamp(26px, 3vw, 40px); line-height: 1.25; letter-spacing: -0.022em; }
.statement .dim { color: var(--muted); }
.dark .statement .dim, .navy .statement .dim { color: var(--on-d-2); }

/* guide tweaks: keep its dark glass card legible over light sections */
.rg-tour, .rg-welcome { box-shadow: 0 24px 60px -20px rgba(7, 11, 26, .55); }

/* ---------- split hero: AI photography on the right, words on the left ---------- */
.hero.split { background: #05070f; align-items: stretch; text-align: left; justify-content: center; }
.hero.split .ph { left: 36%; }
.hero.split .ph img { object-position: var(--fx, 50%) var(--fy, 40%); }
.hero.split .ph::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, #05070f 0%, rgba(5, 7, 15, .72) 16%, rgba(5, 7, 15, 0) 46%),
    linear-gradient(0deg, rgba(5, 7, 15, .7) 0%, rgba(5, 7, 15, 0) 30%),
    linear-gradient(180deg, rgba(5, 7, 15, .55) 0%, rgba(5, 7, 15, 0) 22%);
}
.hero.split::after { display: none; }
.hero.split .hero-in {
  width: 100%; max-width: calc(var(--maxw, 1240px) + 2 * var(--gut)); margin: 0 auto;
  padding-top: 68px; padding-bottom: 40px; display: flex; flex-direction: column; align-items: flex-start;
}
.hero.split .hero-in > * { max-width: 600px; }
.hero.split .sub { margin-left: 0; margin-right: 0; max-width: 40ch; }
.hero.split .ctas { justify-content: flex-start; }
.hero.split .phero-k, .hero.split .eyebrow { justify-content: flex-start; }
.phero.split h1, .phero.split .sub { text-shadow: none; }
@media (max-width: 700px) {
  .hero.split { justify-content: flex-end; }
  .hero.split .ph { left: 0; }
  .hero.split .ph::after {
    background: linear-gradient(180deg, rgba(5, 7, 15, .55) 0%, rgba(5, 7, 15, 0) 22%, rgba(5, 7, 15, 0) 38%, rgba(5, 7, 15, .88) 62%, #05070f 100%);
  }
  .hero.split .hero-in { padding-bottom: 96px; }
  .hero.split .ctas { align-self: stretch; max-width: none; }
}
.hero.split .hero-in { margin-top: auto; margin-bottom: auto; padding-left: max(var(--gut), calc((100vw - 1240px) / 2)); padding-right: var(--gut); max-width: none; }
@media (max-width: 700px) {
  .hero.split .hero-in { margin-top: auto; margin-bottom: 0; }
  .hero.split .ph img { object-position: 64% 30%; height: 72%; }
  .hero.split .ctas { margin-left: 0; margin-right: 0; width: 100%; max-width: none; }
}
.hero.split .hero-in > h1 { max-width: 720px; }
