/* CreoLabs website. The look follows the Creo Vision portal: light page, white cards,
   navy illustrated previews, small uppercase labels, blue buttons. */

:root {
  --bg: #f9fafb;
  --fg: #0f172a;
  --muted-fg: #5b6474;
  --border: #e4e7ec;
  --card: #ffffff;
  --muted: #f2f4f7;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-ink: #0f4fc4;
  --primary-soft: #e8f0fe;
  --navy: #0b1420;
  --navy-2: #0d1d33;
  --navy-3: #11243f;
  --navy-4: #17304f;
  --navy-text: #a9bdd1;
  --glow: #47b8e0;
  --accent: #00aeef;
  --good: #047857;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 30px -12px rgba(15, 23, 42, 0.18);
  --shadow-lg: 0 30px 60px -24px rgba(11, 20, 32, 0.35);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-brand: "Exo", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { text-wrap: balance; letter-spacing: -0.02em; line-height: 1.15; font-weight: 600; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
[id] { scroll-margin-top: 84px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--card); padding: 8px 12px; border-radius: var(--radius-sm); }
.skip:focus { left: 8px; }

.container { width: 100%; max-width: 1152px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 768px) { .container { padding-inline: 24px; } }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px; border-radius: var(--radius-sm); border: 1px solid transparent;
  font: 500 14px/1 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.btn--lg { height: 46px; padding: 0 22px; font-size: 15px; }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-hover); }
.btn--outline { background: var(--card); border-color: var(--border); color: var(--fg); }
.btn--outline:hover { background: var(--muted); }
.btn--ghost { color: var(--fg); }
.btn--ghost:hover { background: var(--muted); }
.btn--on-navy { background: transparent; border-color: rgba(169, 189, 209, 0.4); color: #fff; }
.btn--on-navy:hover { background: rgba(255, 255, 255, 0.08); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
/* On a phone the two buttons share one row. */
@media (max-width: 560px) {
  .actions { flex-wrap: nowrap; gap: 10px; }
  .actions .btn { flex: 1 1 0; min-width: 0; padding-inline: 10px; font-size: 14px; }
}

/* ── Header ──────────────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(249, 250, 251, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.site-header__row { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); }
.brand__logo { height: 30px; width: auto; }
.site-footer .brand__logo { height: 28px; }
.wordmark { font-family: var(--font-brand); font-weight: 400; font-size: 22px; letter-spacing: 0.01em; line-height: 1; }
.wordmark span { font-weight: 200; }
.brand--light { color: #fff; }
.site-nav { display: none; align-items: center; gap: 28px; margin-left: 16px; font-size: 14px; }
.site-nav a { color: var(--muted-fg); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--fg); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--primary); }
.site-header__actions { display: none; gap: 8px; margin-left: auto; }
.menu { margin-left: auto; position: relative; }
.menu summary { list-style: none; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--radius-sm); cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary:hover { background: var(--muted); }
.menu__panel { position: absolute; right: 0; top: 52px; width: min(280px, calc(100vw - 32px)); display: grid; gap: 2px; padding: 10px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-md); }
.menu__panel a:not(.btn) { padding: 11px 12px; border-radius: var(--radius-sm); text-decoration: none; font-size: 15px; }
.menu__panel a:not(.btn):hover, .menu__panel a[aria-current="page"] { background: var(--muted); }
.menu__panel .btn { margin-top: 8px; height: 44px; }
@media (min-width: 900px) {
  .site-nav, .site-header__actions { display: flex; }
  .menu { display: none; }
}

/* ── Shared section pieces ───────────────────────────────────────────────── */
.section { padding: 64px 0; border-top: 1px solid var(--border); }
@media (min-width: 768px) { .section { padding: 88px 0; } }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--primary-ink); }
.section__head { max-width: 680px; margin-bottom: 40px; }
.section__head h2 { margin-top: 10px; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.section__head p:not(.eyebrow) { margin-top: 14px; color: var(--muted-fg); font-size: 17px; }
.link { display: inline-flex; align-items: center; gap: 6px; color: var(--primary-ink); font-weight: 500; font-size: 14px; text-decoration: none; }
.link .icon { width: 16px; height: 16px; transition: transform 0.15s; }
.link:hover .icon { transform: translateX(3px); }
.chip { display: inline-block; padding: 3px 9px; border: 1px solid var(--border); border-radius: 6px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-fg); background: var(--card); white-space: nowrap; }
.chip--new { border-color: transparent; background: var(--primary-soft); color: var(--primary-ink); }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero { background: linear-gradient(180deg, var(--primary-soft) 0%, var(--bg) 78%); }
.hero__grid { display: grid; gap: 40px; align-items: center; padding-block: 48px 64px; }
.hero h1 { margin-top: 14px; font-size: clamp(2.1rem, 4.4vw, 2.9rem); line-height: 1.1; }
.hero h1 span { display: inline-block; }
.hero__lead { margin-top: 20px; max-width: 34rem; font-size: 18px; color: var(--muted-fg); }
.hero .actions { margin-top: 30px; }
.hero__note { margin-top: 16px; font-size: 14px; color: var(--muted-fg); }
@media (min-width: 980px) {
  .hero__grid { grid-template-columns: 6fr 5fr; gap: 56px; padding-block: 80px 96px; }
  .hero__grid--narrow { grid-template-columns: 6fr 4fr; }
}

/* A white card that holds a navy preview, as on the portal home. */
.frame { background: var(--card); border: 1px solid var(--border); border-radius: calc(var(--radius) + 6px); padding: 8px; box-shadow: var(--shadow-lg); }
.frame > img, .frame > svg { width: 100%; border-radius: var(--radius); }
.frame--flat { box-shadow: var(--shadow-sm); }
.frame--crop { overflow: hidden; }
.frame--crop > .frame__window { border-radius: var(--radius); overflow: hidden; max-height: 460px; }
.frame--crop img { width: 100%; }

/* ── Product cards ───────────────────────────────────────────────────────── */
.cards { display: grid; gap: 20px; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } .card--wide { grid-column: span 2; } }
.card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s; }
a.card { text-decoration: none; color: inherit; }
a.card:hover { border-color: #b9cdf7; box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card__preview { background: var(--navy); }
.card__preview img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card__body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card h3 { font-size: 19px; }
.card p:not(.eyebrow) { color: var(--muted-fg); font-size: 15px; }
.card .eyebrow { color: var(--muted-fg); font-size: 11px; }
.card .link { margin-top: auto; padding-top: 8px; }
@media (min-width: 1000px) {
  .card--wide { flex-direction: row; }
  .card--wide .card__preview { flex: 0 0 52%; display: flex; }
  .card--wide .card__preview img { aspect-ratio: auto; height: 100%; object-fit: contain; }
  .card--wide .card__body { justify-content: center; padding: 28px; }
  .card--wide h3 { font-size: 24px; }
}

/* ── Audience ────────────────────────────────────────────────────────────── */
.split { display: grid; gap: 20px; }
@media (min-width: 800px) { .split { grid-template-columns: 1fr 1fr; } }
.panel { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.panel h3 { margin-top: 16px; font-size: 20px; }
.panel > p { margin-top: 8px; color: var(--muted-fg); font-size: 15px; }
.icon-box { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 10px; background: var(--primary-soft); color: var(--primary-ink); }
.checks { margin-top: 16px; display: grid; gap: 10px; font-size: 15px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--good); }

/* ── Features ────────────────────────────────────────────────────────────── */
.features { display: grid; gap: 36px 40px; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); } }
.features h3 { margin-top: 16px; font-size: 17px; letter-spacing: -0.01em; }
.features p { margin-top: 6px; color: var(--muted-fg); font-size: 15px; }

/* ── Steps ───────────────────────────────────────────────────────────────── */
.steps { display: grid; gap: 28px; counter-reset: step; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.steps li { counter-increment: step; padding-top: 20px; border-top: 2px solid var(--border); }
.steps li::before { content: "0" counter(step); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; color: var(--primary-ink); }
.steps h3 { margin-top: 8px; font-size: 18px; }
.steps p { margin-top: 6px; color: var(--muted-fg); font-size: 15px; }

/* ── Navy band ───────────────────────────────────────────────────────────── */
.band { background: var(--navy); color: #fff; padding: 64px 0; }
@media (min-width: 768px) { .band { padding: 88px 0; } }
.band__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .band__grid { grid-template-columns: 5fr 6fr; gap: 56px; } }
.band .eyebrow { color: var(--glow); }
.band h2 { margin-top: 10px; font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
.band p:not(.eyebrow) { margin-top: 14px; color: var(--navy-text); font-size: 17px; }
.band .checks { color: #dde3ea; }
.band .checks .icon { color: var(--glow); }
.band .actions { margin-top: 28px; }
.band .frame { background: var(--navy-3); border-color: var(--navy-4); box-shadow: 0 30px 80px -30px rgba(0, 174, 239, 0.35); }
.band figcaption { margin-top: 12px; font-size: 13px; color: var(--navy-text); }

/* ── Talk (a short video beside its text) ────────────────────────────────── */
.talk { display: grid; gap: 32px; align-items: center; }
@media (min-width: 860px) { .talk { grid-template-columns: 340px 1fr; gap: 72px; } }
.talk__frame { position: relative; width: 100%; max-width: 340px; margin-inline: auto; border-radius: 18px; overflow: hidden; background: var(--navy); box-shadow: var(--shadow-lg); }
.talk__video { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; }
/* The cover: the closing picture of the video with a play button. It fades away when the video starts. */
.talk__cover { position: absolute; inset: 0; padding: 0; border: 0; background: var(--navy); cursor: pointer; transition: opacity 0.7s ease; }
.talk__cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.talk__play { position: absolute; left: 50%; bottom: 10.5%; display: grid; place-items: center; width: 46px; height: 46px; margin-left: -23px; border-radius: 50%; background: #fff; color: var(--primary); box-shadow: 0 10px 28px -8px rgba(0, 0, 0, 0.7); transition: transform 0.15s; }
.talk__play .icon { width: 20px; height: 20px; margin-left: 2px; fill: currentColor; stroke-width: 1.5; }
.talk__cover:hover .talk__play, .talk__cover:focus-visible .talk__play { transform: scale(1.08); }
.talk__frame.is-playing .talk__cover { opacity: 0; pointer-events: none; }
.talk h2 { margin-top: 10px; font-size: clamp(1.6rem, 3vw, 2.1rem); max-width: 20em; }
.talk__text > p:not(.eyebrow) { margin-top: 14px; color: var(--muted-fg); font-size: 17px; max-width: 34em; }
.talk .actions { margin-top: 26px; }

/* ── FAQ (questions in groups; each opens on a click) ─────────────────────── */
/* Four equal cards that jump to the groups. */
.faq-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 26px; }
@media (min-width: 900px) { .faq-nav { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.faq-nav a { display: grid; gap: 2px; padding: 18px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); text-decoration: none; transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s; }
.faq-nav a:hover { border-color: #b9cdf7; box-shadow: var(--shadow-md); transform: translateY(-2px); }
.faq-nav .icon-box { margin-bottom: 12px; transition: background 0.15s, color 0.15s; }
.faq-nav a:hover .icon-box { background: var(--primary); color: #fff; }
.faq-nav strong { font-size: 16px; font-weight: 600; white-space: nowrap; }
.faq-nav small { font-size: 13px; color: var(--muted-fg); }
@media (max-width: 520px) { .faq-nav { gap: 12px; } .faq-nav a { padding: 14px; } .faq-nav strong { font-size: 15px; } }

/* A group: its name stays in view on the left while its questions scroll on the right. */
.faq__group { display: grid; gap: 18px 56px; padding-block: 34px; border-top: 1px solid var(--border); scroll-margin-top: 76px; }
@media (min-width: 900px) { .faq__group { grid-template-columns: 250px 1fr; align-items: start; } .faq__head { position: sticky; top: 96px; } }
.faq__head h2 { margin-top: 14px; font-size: 21px; }
.faq__head p { margin-top: 4px; font-size: 14px; color: var(--muted-fg); }
.faq__list { padding: 4px 22px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item:last-child { border-bottom: 0; }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 0; cursor: pointer; list-style: none; font-size: 17px; font-weight: 600; transition: color 0.15s; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover, .faq__item[open] summary { color: var(--primary-ink); }
.faq__item summary .icon { display: block; width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--muted); color: var(--muted-fg); transition: transform 0.25s, background 0.15s, color 0.15s; }
.faq__item summary:hover .icon { background: var(--primary-soft); color: var(--primary-ink); }
.faq__item[open] summary .icon { transform: rotate(180deg); background: var(--primary); color: #fff; }
/* While an answer slides shut it is still "open" for the browser; these two follow the click at once. */
.faq__item[data-state="closed"] summary { color: inherit; }
.faq__item[data-state="closed"] summary .icon { transform: none; background: var(--muted); color: var(--muted-fg); }
.faq__answer { overflow: hidden; }
.faq__item p { max-width: 64ch; padding-bottom: 20px; color: var(--muted-fg); font-size: 16px; }
.faq__answer a, .hero__lead a { color: var(--primary-ink); text-decoration: underline; text-underline-offset: 3px; }

/* The drawing beside the heading: three questions, asked and answered in turn (15 seconds a round). */
.ask { overflow: hidden; border: 1px solid var(--navy-4); border-radius: 18px; background: linear-gradient(160deg, var(--navy) 0%, var(--navy-3) 100%); color: #fff; box-shadow: var(--shadow-lg); }
.ask__top { display: flex; align-items: center; gap: 7px; padding: 13px 18px; border-bottom: 1px solid var(--navy-4); }
.ask__top i { width: 9px; height: 9px; border-radius: 50%; background: var(--navy-4); }
.ask__top b { margin-left: 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--navy-text); }
/* The three slides lie on top of each other in one cell, so the panel is as tall as the tallest of them. */
.ask__stage { display: grid; grid-template-columns: minmax(0, 1fr); }
.ask__slide { position: relative; grid-area: 1 / 1; padding: 22px 20px; opacity: 0; animation: ask-slide 15s linear infinite; animation-delay: calc(var(--n) * 5s); }
.ask__slide > * { animation: 15s linear infinite; animation-delay: calc(var(--n) * 5s); }
.ask__q { width: fit-content; max-width: 88%; margin-left: auto; padding: 9px 15px; border-radius: 14px 14px 4px 14px; background: var(--primary); font-size: 15px; font-weight: 500; animation-name: ask-q; }
.ask__typing { position: absolute; left: 20px; top: 84px; display: flex; gap: 5px; padding: 12px 14px; border-radius: 14px 14px 14px 4px; background: rgba(255, 255, 255, 0.07); opacity: 0; animation-name: ask-typing; }
.ask__typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--navy-text); animation: ask-dot 1s ease-in-out infinite; }
.ask__typing i:nth-child(2) { animation-delay: 0.15s; }
.ask__typing i:nth-child(3) { animation-delay: 0.3s; }
.ask__a { margin-top: 18px; padding: 15px 16px; border: 1px solid var(--navy-4); border-radius: 14px 14px 14px 4px; background: rgba(255, 255, 255, 0.05); animation-name: ask-a; }
.ask__a p { font-size: 15px; color: #dbe5f0; }
.ask__tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.ask__tiles li { padding: 9px 8px 9px 11px; border-left: 3px solid var(--glow); border-radius: 8px; background: rgba(255, 255, 255, 0.06); }
.ask__tiles strong { display: block; font-size: 15px; font-weight: 600; white-space: nowrap; }
.ask__tiles span { display: block; font-size: 11px; color: var(--navy-text); }
@media (max-width: 520px) { .ask__tiles { grid-template-columns: repeat(2, 1fr); } .ask__q, .ask__a p { font-size: 14px; } }
.ask__logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.ask__logos img { display: block; width: 100%; height: auto; border: 1px solid var(--navy-4); border-radius: 8px; }
.ask__bars { display: flex; align-items: flex-end; gap: 8px; height: 92px; margin-top: 14px; padding-top: 4px; border-bottom: 1px solid var(--navy-4); }
.ask__bars i { flex: 1; height: var(--h); border-radius: 5px 5px 0 0; background: linear-gradient(var(--glow), var(--primary)); transform-origin: bottom; animation: ask-bar 15s ease-out infinite; animation-delay: calc(var(--n) * 5s); }
@keyframes ask-slide { 0% { opacity: 0; } 1.5%, 31% { opacity: 1; } 33.3%, 100% { opacity: 0; } }
@keyframes ask-q { 0% { opacity: 0; transform: translateY(8px) scale(0.96); } 2.5%, 100% { opacity: 1; transform: none; } }
@keyframes ask-typing { 0%, 2.5% { opacity: 0; } 3.5%, 9% { opacity: 1; } 10%, 100% { opacity: 0; } }
@keyframes ask-a { 0%, 10% { opacity: 0; transform: translateY(10px); } 12.5%, 100% { opacity: 1; transform: none; } }
@keyframes ask-bar { 0%, 12% { transform: scaleY(0); } 17%, 100% { transform: scaleY(1); } }
@keyframes ask-dot { 0%, 100% { transform: none; opacity: 0.5; } 40% { transform: translateY(-4px); opacity: 1; } }

/* Parts marked "reveal" slide in when they come on screen (site.js). Without scripts they are simply there. */
.reveal.is-waiting { opacity: 0; transform: translateY(18px); }
.reveal.is-waiting.is-in { opacity: 1; transform: none; transition: opacity 0.55s ease, transform 0.55s ease; }

/* ── Vision AI: how it works ─────────────────────────────────────────────── */
/* A real screen that moves slowly from the question down through the answer (20 seconds a round). */
.pan { overflow: hidden; aspect-ratio: 872 / 640; border-radius: 9px; background: var(--navy); }
.pan img { display: block; width: 100%; height: auto; animation: pan 20s ease-in-out infinite; }
@keyframes pan { 0%, 12% { transform: translateY(0); } 42%, 56% { transform: translateY(-17%); } 84%, 96% { transform: translateY(-35.3%); } 100% { transform: translateY(0); } }
.frame figcaption, .shot figcaption { padding: 8px 6px 2px; font-size: 13px; color: var(--muted-fg); }
.shot figcaption { color: var(--navy-text); }

/* The steps as a flow: a round mark for each step, joined by a line. */
.aiflow { display: grid; margin: 0; padding: 0; list-style: none; }
.aiflow li { position: relative; display: grid; grid-template-columns: 46px 1fr; gap: 0 18px; padding-bottom: 28px; }
.aiflow li:last-child { padding-bottom: 0; }
.aiflow li::before { content: ""; position: absolute; left: 22px; top: 46px; bottom: 0; width: 2px; background: linear-gradient(var(--primary), var(--border)); }
.aiflow li:last-child::before { display: none; }
.aiflow__mark { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff; }
.aiflow small { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary-ink); }
.aiflow h3 { margin-top: 2px; font-size: 18px; }
.aiflow p { margin-top: 4px; color: var(--muted-fg); font-size: 15px; max-width: 30em; }
.band .aiflow li::before { background: linear-gradient(var(--glow), var(--navy-4)); }
.band .aiflow__mark { background: rgba(0, 174, 239, 0.16); color: var(--glow); }
.band .aiflow small { color: var(--glow); }
.band .aiflow p { margin-top: 4px; font-size: 15px; }
.aiflow li.reveal.is-waiting.is-in { transition-delay: calc(var(--i, 0) * 0.12s); }

/* "How it works" beside the moving screen. */
.aihow { display: grid; gap: 36px; align-items: center; }
@media (min-width: 980px) { .aihow { grid-template-columns: 5fr 6fr; gap: 56px; } }
.subhead { margin: 52px 0 18px; font-size: 20px; }
.tiles--4 .tile { flex-direction: column; gap: 12px; }
@media (min-width: 1000px) { .tiles.tiles--4 { grid-template-columns: repeat(4, 1fr); } }
.tiles--4 .tile p { white-space: nowrap; }
@media (max-width: 1150px) { .tiles--4 .tile p { white-space: normal; } }

/* ── Film (a wide video on its own) ──────────────────────────────────────── */
.film { max-width: 960px; margin-inline: auto; }
.film__video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 16px; border: 1px solid var(--navy-4); background: var(--navy); box-shadow: var(--shadow-lg); }
.film__video[tabindex] { cursor: pointer; }

/* ── Examples (screens) ──────────────────────────────────────────────────── */
.examples { display: grid; gap: 32px; }
@media (min-width: 900px) { .examples { grid-template-columns: 1fr 1fr; } }
.example .frame { box-shadow: var(--shadow-md); }
.example .frame__window { max-height: none; aspect-ratio: 4 / 3; }
.example .frame__window img { height: 100%; object-fit: cover; object-position: left top; }
.example__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.example h3 { font-size: 18px; }
.example p { margin-top: 6px; color: var(--muted-fg); font-size: 15px; }

/* ── Phone ───────────────────────────────────────────────────────────────── */
.phone { width: min(300px, 78vw); margin-inline: auto; padding: 10px; border-radius: 40px; background: var(--navy); border: 1px solid var(--navy-4); box-shadow: var(--shadow-lg); }
.phone__screen { border-radius: 30px; overflow: hidden; aspect-ratio: 9 / 18; background: var(--navy-2); }
.phone__screen img { width: 100%; }

/* ── Note strip ──────────────────────────────────────────────────────────── */
.note { display: flex; gap: 14px; align-items: center; padding: 18px 22px; border: 1px solid var(--border); border-left: 3px solid var(--primary); border-radius: var(--radius-sm); background: var(--card); }
/* A title on its own line, then the sentence. */
.note__title { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; color: var(--fg); }
.note p { margin-top: 3px; color: var(--muted-fg); font-size: 15px; }
.note strong { color: var(--fg); font-weight: 600; }

/* ── Call to action ──────────────────────────────────────────────────────── */
.cta { border-top: 1px solid var(--border); background: var(--primary-soft); padding: 56px 0; }
.cta__row { display: flex; flex-direction: column; gap: 24px; }
.cta h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.cta p { margin-top: 8px; color: var(--muted-fg); max-width: 34rem; }
@media (min-width: 860px) { .cta__row { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ── Contact ─────────────────────────────────────────────────────────────── */
.contact { display: grid; gap: 32px; padding-block: 48px 72px; }
@media (min-width: 900px) { .contact { grid-template-columns: 5fr 6fr; gap: 56px; padding-block: 72px 96px; } }
.contact h1 { margin-top: 12px; font-size: clamp(2rem, 4vw, 2.8rem); }
.contact__lead { margin-top: 16px; color: var(--muted-fg); font-size: 17px; max-width: 30rem; }
.contact__ways { margin-top: 28px; display: grid; gap: 14px; font-size: 15px; }
.contact__ways li { display: flex; gap: 12px; align-items: center; }
.contact__ways a { color: var(--primary-ink); }
.form { --field-font: 16px; display: grid; gap: 14px; padding: 24px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-md); }
/* 16px on phones stops the phone from zooming into a field; a larger screen can take a smaller size. */
@media (min-width: 700px) { .form { --field-font: 14.5px; } }
.form__row { display: grid; gap: 14px; }
.form .btn--lg { height: 42px; }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 5px; font-size: 13.5px; font-weight: 500; }
.field span small { font-weight: 400; color: var(--muted-fg); }
.field input, .field textarea { width: 100%; padding: 7px 11px; border: 1px solid #cfd5de; border-radius: var(--radius-sm); background: #fff; color: var(--fg); font: 400 var(--field-font, 16px) / 1.45 var(--font); }
.field textarea { min-height: 92px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--primary); outline-offset: 0; border-color: transparent; }
.form__trap { position: absolute; left: -9999px; }
.form__legal { font-size: 13px; color: var(--muted-fg); }
.form__status { font-size: 14px; padding: 12px 14px; border-radius: var(--radius-sm); }
.form__status[hidden] { display: none; }
.form__status--ok { background: #e7f6ef; color: #065f46; }
.form__status--error { background: #fdecec; color: #991b1b; }

/* ── Products dropdown in the header ─────────────────────────────────────── */
.dropdown { position: relative; }
.dropdown summary { list-style: none; display: inline-flex; align-items: center; gap: 4px; padding: 6px 0; color: var(--muted-fg); cursor: pointer; border-bottom: 2px solid transparent; }
.dropdown summary::-webkit-details-marker { display: none; }
.dropdown summary:hover, .dropdown[open] summary { color: var(--fg); }
.dropdown summary .icon { width: 15px; height: 15px; transition: transform 0.15s; }
.dropdown[open] summary .icon { transform: rotate(180deg); }
.dropdown__panel { position: absolute; left: -14px; top: 44px; width: 300px; display: grid; gap: 2px; padding: 8px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-md); }
.site-nav .dropdown__panel a { display: grid; gap: 1px; padding: 9px 12px; border: 0; border-radius: var(--radius-sm); color: var(--fg); }
.site-nav .dropdown__panel a:hover, .site-nav .dropdown__panel a[aria-current="page"] { background: var(--muted); }
.dropdown__panel strong { font-weight: 600; font-size: 14px; }
.dropdown__panel span { font-size: 13px; color: var(--muted-fg); }
.menu__panel { max-height: calc(100vh - 76px); overflow-y: auto; }

/* ── Tiles (business domains and similar lists) ──────────────────────────── */
.tiles { display: grid; gap: 14px; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile { display: flex; gap: 14px; align-items: flex-start; padding: 18px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.tile h3 { font-size: 16px; letter-spacing: -0.01em; }
.tile p { margin-top: 3px; color: var(--muted-fg); font-size: 14.5px; line-height: 1.5; }
.tiles--2 { grid-template-columns: 1fr; }
@media (min-width: 800px) { .tiles--2 { grid-template-columns: 1fr 1fr; } }

/* ── Impact row inside a navy band ───────────────────────────────────────── */
.impact { display: grid; gap: 18px; margin-top: 36px; }
@media (min-width: 760px) { .impact { grid-template-columns: repeat(3, 1fr); } }
.impact li { padding: 22px; border: 1px solid var(--navy-4); border-radius: var(--radius); background: var(--navy-2); }
.impact .icon-box { background: rgba(0, 174, 239, 0.14); color: var(--glow); }
.impact h3 { margin-top: 16px; font-size: 18px; color: #fff; }
.band .impact p { margin-top: 6px; font-size: 15px; }
.band--center .section__head { margin-inline: auto; text-align: center; }
.band .section__head { margin-bottom: 0; }

/* ── Layers (the data architecture) ──────────────────────────────────────── */
.layers { display: grid; gap: 14px; counter-reset: layer; }
.layer { display: grid; gap: 16px; padding: 20px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); counter-increment: layer; }
@media (min-width: 860px) { .layer { grid-template-columns: 230px 1fr; gap: 28px; padding: 24px; align-items: start; } }
.layer__name { display: flex; gap: 14px; align-items: center; }
.layer__name::before { content: counter(layer); display: flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 600; font-size: 16px; }
.layer__name h3 { font-size: 18px; }
.layer__name p { font-size: 13.5px; color: var(--muted-fg); line-height: 1.4; margin-top: 2px; }
.layer__body { display: grid; gap: 12px; }
.layer__body > p:not(.layer__label) { color: var(--muted-fg); font-size: 15px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 5px 11px; border-radius: 6px; background: var(--muted); border: 1px solid var(--border); font-size: 13.5px; }
.tags--blue li { background: var(--primary-soft); border-color: transparent; color: var(--primary-ink); font-weight: 500; }
.section__head--center { margin-inline: auto; text-align: center; }
.tags--center { justify-content: center; gap: 10px; max-width: 860px; margin-inline: auto; }
.tags--center li { padding: 8px 16px; font-size: 15px; font-weight: 500; background: var(--card); box-shadow: var(--shadow-sm); }
.layer__label { font-size: 11px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted-fg); }

/* ── Two columns of text and a list ──────────────────────────────────────── */
.two { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .two { grid-template-columns: 1fr 1fr; gap: 56px; } }
.two h2 { margin-top: 10px; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.two > div > p:not(.eyebrow) { margin-top: 14px; color: var(--muted-fg); font-size: 17px; }
.checks--card { margin-top: 0; padding: 26px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); gap: 14px; }

/* ── Small link cards (the ecosystem) ────────────────────────────────────── */
.links { display: grid; gap: 14px; }
@media (min-width: 640px) { .links { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .links { grid-template-columns: repeat(4, 1fr); } }
.links a { display: grid; gap: 4px; padding: 18px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; box-shadow: var(--shadow-sm); transition: border-color 0.15s, box-shadow 0.15s; }
.links a:hover { border-color: #b9cdf7; box-shadow: var(--shadow-md); }
.links strong { font-size: 16px; font-weight: 600; }
.links span { font-size: 14px; color: var(--muted-fg); }

/* ── Partners ────────────────────────────────────────────────────────────── */
.partners { display: grid; gap: 20px; }
@media (min-width: 640px) { .partners { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .partners { grid-template-columns: repeat(3, 1fr); } }
.partner { display: flex; flex-direction: column; gap: 14px; padding: 22px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
/* Every logo sits in a box of one size: white for logos made for a light ground, navy for the others. */
.partner__logo { display: flex; align-items: center; justify-content: center; height: 92px; border: 1px solid var(--border); border-radius: 10px; background: #fff; overflow: hidden; }
.partner__logo img { max-height: 44px; width: auto; max-width: 70%; }
.partner__logo--dark { background: #0e1520; border-color: #0e1520; }
.partner__logo--dark img { max-height: 100%; max-width: 100%; height: 100%; }
.partner h3 { font-size: 20px; }
.partner p { color: var(--muted-fg); font-size: 15px; }
.partner .link { margin-top: auto; }

/* ── Long text (privacy policy) ──────────────────────────────────────────── */
.prose { max-width: 760px; padding-block: 56px 88px; }
.prose h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
.prose h2 { margin-top: 44px; font-size: 24px; }
.prose h3 { margin-top: 30px; font-size: 19px; letter-spacing: -0.01em; }
.prose h4 { margin: 22px 0 0; font-size: 16px; font-weight: 600; }
.prose p { margin-top: 12px; color: #37404e; }
.prose a { color: var(--primary-ink); }
.prose .prose__meta { color: var(--muted-fg); font-size: 14px; }

/* ── Plain page (404) ────────────────────────────────────────────────────── */
.plain { padding: 96px 0 120px; text-align: center; }
.plain h1 { margin-top: 12px; font-size: clamp(2rem, 4vw, 2.8rem); }
.plain p:not(.eyebrow) { margin: 14px auto 28px; color: var(--muted-fg); max-width: 30rem; }
.plain .actions { justify-content: center; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer { background: var(--navy); color: var(--navy-text); font-size: 14px; }
.site-footer__top { display: grid; gap: 24px 40px; padding-block: 32px 24px; }
@media (min-width: 640px) { .site-footer__top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1150px) { .site-footer__top { grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 24px 48px; align-items: start; } }
.site-footer__cols a { white-space: nowrap; }
.site-footer .wordmark { font-size: 20px; }
.site-footer__tagline { margin-top: 10px; color: #dde3ea; font-size: 14px; white-space: nowrap; }
.site-footer h2 { font-size: 11px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: #fff; margin-bottom: 8px; }
.site-footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.site-footer a:not(.brand) { text-decoration: none; display: inline-block; padding: 3px 0; }
.site-footer a:hover { color: #fff; }
.social { display: flex; gap: 8px; }
.site-footer .social a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--navy-4); border-radius: 10px; color: #dde3ea; transition: border-color 0.15s, color 0.15s, background-color 0.15s; }
.site-footer .social a:hover { border-color: var(--glow); color: #fff; background: rgba(0, 174, 239, 0.12); }
.social .icon { width: 18px; height: 18px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-block: 14px; border-top: 1px solid var(--navy-4); font-size: 13px; }

/* ── Phone screen built from parts of one real screenshot ────────────────── */
.phone__screen--parts { aspect-ratio: auto; }
.phone__part { position: relative; overflow: hidden; aspect-ratio: 695 / var(--h); }
.phone__part img { position: absolute; left: 0; top: calc(var(--y) / var(--h) * -100%); width: 100%; height: auto; }
.phone__part--fade::after { content: ""; position: absolute; inset: auto 0 0 0; height: 14%; background: linear-gradient(to bottom, rgba(15, 23, 36, 0), #0f1724); }

/* ── Real screens ────────────────────────────────────────────────────────── */
.shot { display: grid; gap: 8px; padding: 10px; background: #0b1420; border: 1px solid var(--navy-4); border-radius: 16px; box-shadow: var(--shadow-lg); }
.shot img { width: 100%; border-radius: 9px; }
.shot__crop { overflow: hidden; border-radius: 9px; max-height: var(--max, 460px); }
.showcase { display: grid; gap: 28px; align-items: center; padding-block: 28px; }
.showcase + .showcase { border-top: 1px solid var(--border); padding-top: 56px; margin-top: 28px; }
@media (min-width: 900px) {
  .showcase { grid-template-columns: 7fr 5fr; gap: 56px; }
  .showcase--flip { grid-template-columns: 5fr 7fr; }
  .showcase--flip .showcase__media { order: 2; }
}
.showcase h3 { margin-top: 10px; font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.showcase__text > p:not(.eyebrow) { margin-top: 12px; color: var(--muted-fg); font-size: 16px; }
.showcase .chip { margin-top: 18px; }
.gallery { display: grid; gap: 28px; }
@media (min-width: 800px) { .gallery { grid-template-columns: 1fr 1fr; } }
.gallery figcaption { margin-top: 14px; }
.gallery h3 { font-size: 17px; letter-spacing: -0.01em; }
.gallery p { margin-top: 4px; color: var(--muted-fg); font-size: 15px; }
.gallery .shot { box-shadow: var(--shadow-md); }
/* Every example screen has one size, whatever the picture's own shape. */
.gallery .shot img { aspect-ratio: 1227 / 1000; object-fit: cover; object-position: left top; }
.caption { margin-top: 24px; font-size: 14px; color: var(--muted-fg); }

/* ── Architecture: numbered layers with a connector between them ─────────── */
.arch { display: grid; gap: 36px; counter-reset: arch; }
.arch__layer { position: relative; display: grid; background: var(--card); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-sm); counter-increment: arch; }
.arch__layer:not(:last-child)::after { content: ""; position: absolute; left: 50%; bottom: -37px; width: 2px; height: 36px; background: linear-gradient(var(--accent), var(--primary)); }
.arch__layer:not(:last-child)::before { content: ""; position: absolute; left: 50%; bottom: -36px; width: 10px; height: 10px; margin-left: -4px; border-right: 2px solid var(--primary); border-bottom: 2px solid var(--primary); transform: rotate(45deg); z-index: 1; }
.arch__head { position: relative; overflow: hidden; display: grid; align-content: start; gap: 6px; padding: 22px 24px; border-radius: 17px 17px 0 0; background: linear-gradient(150deg, #0b1420 0%, #11243f 62%, #0e4468 100%); color: #fff; }
.arch__head::after { content: counter(arch); position: absolute; right: 14px; top: -14px; font-size: 96px; font-weight: 700; line-height: 1; color: rgba(255, 255, 255, 0.07); }
.arch__step { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--glow); }
.arch__step::after { content: " " counter(arch); }
.arch__icon { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin: 6px 0 4px; border-radius: 12px; background: rgba(0, 174, 239, 0.16); color: var(--glow); }
.arch__icon .icon { width: 24px; height: 24px; }
.arch__head h3 { font-size: 20px; }
.arch__head p { font-size: 14px; color: var(--navy-text); line-height: 1.45; }
.arch__body { display: grid; gap: 22px; padding: 22px 24px 24px; align-content: start; }
@media (min-width: 900px) {
  .arch__layer { grid-template-columns: 270px 1fr; }
  .arch__layer:not(:last-child)::after, .arch__layer:not(:last-child)::before { left: 135px; }
  .arch__head { border-radius: 17px 0 0 17px; padding: 26px; }
  .arch__body--two { grid-template-columns: 1fr 1fr; gap: 22px 32px; }
  /* A wide group of two columns beside a narrow group of one; rows line up across both. */
  .arch__body--split { grid-template-columns: 2fr 1fr; gap: 22px 40px; }
  .arch__group--wide { grid-column: 1 / -1; }
}
/* The low version: icon, step and name in one line on the left, one row of items on the right. */
.arch--compact { gap: 30px; }
.arch--compact .arch__layer { min-height: 84px; }
.arch--compact .arch__layer:not(:last-child)::after { bottom: -31px; height: 30px; }
.arch--compact .arch__layer:not(:last-child)::before { bottom: -30px; }
.arch--compact .arch__head { grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 0; align-items: center; align-content: center; padding: 14px 20px; }
.arch--compact .arch__head::after { font-size: 64px; top: -8px; }
.arch--compact .arch__icon { grid-row: 1 / span 2; width: 40px; height: 40px; margin: 0; }
.arch--compact .arch__icon .icon { width: 21px; height: 21px; }
.arch--compact .arch__head h3 { font-size: 18px; }
.arch--compact .arch__body { padding: 16px 22px; align-content: center; }
.arch--compact .arch__items li { padding: 4px 0; border-bottom: 0; }
.arch__group h4 { margin: 0 0 12px; font-size: 11px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted-fg); }
/* Items sit in fixed columns, one line each, with a hairline under every row. */
.arch__items { --cols: 3; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: 28px; font-size: 14.5px; }
.arch__items--1 { --cols: 1; }
.arch__items--2 { --cols: 2; }
.arch__items--4 { --cols: 4; }
.arch__items li { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 9px 0; border-bottom: 1px solid var(--border); line-height: 1.35; white-space: nowrap; }
@media (max-width: 899px) { .arch__items { --cols: 2; } .arch__items--1 { --cols: 1; } }
@media (max-width: 520px) { .arch__items { --cols: 1; } .arch__items li { white-space: normal; } }
.arch__items .icon { width: 17px; height: 17px; color: var(--primary); }
.arch__quote { padding-left: 14px; border-left: 3px solid var(--accent); color: var(--muted-fg); font-size: 15px; font-style: italic; }
/* Update cycles: four tiles in the look of the product's KPI tiles (a blue bar, a label, a value). */
.cadence { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .cadence { grid-template-columns: repeat(4, 1fr); } }
.cadence li { position: relative; overflow: hidden; padding: 12px 14px 12px 20px; border: 1px solid var(--border); border-radius: 12px; background: var(--card); box-shadow: var(--shadow-sm); }
.cadence li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(var(--accent), var(--primary)); }
.cadence small { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-fg); }
.cadence strong { display: block; margin-top: 3px; font-size: 21px; font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; color: var(--fg); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cadence span { display: block; margin-top: 1px; font-size: 13px; color: var(--muted-fg); }
.stores { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.stores li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; font-weight: 500; font-size: 15px; }
.stores .icon { color: var(--primary); }

/* ── Logos ───────────────────────────────────────────────────────────────── */
.logo-wall { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 520px) { .logo-wall { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 980px) { .logo-wall { grid-template-columns: repeat(7, 1fr); } }
.logo-wall li { border-radius: 10px; overflow: hidden; background: #0f1721; }
.logo-wall img { width: 100%; }
.logo-wall--small { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
/* Customers: dark tiles of one size, a mark and the name. */
.cust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 640px) { .cust-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .cust-grid { grid-template-columns: repeat(6, 1fr); } }
.cust { display: flex; align-items: center; justify-content: center; gap: 10px; height: 76px; padding: 0 12px; border-radius: 10px; background: #0e1520; color: #fff; font-weight: 600; font-size: 15.5px; white-space: nowrap; }
.cust img { width: 34px; height: 34px; border-radius: 8px; flex: none; }
.cust--image { padding: 0; overflow: hidden; }
.cust--image img { width: auto; height: 100%; border-radius: 0; }
.cust__mono { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 8px; background: rgba(0, 174, 239, 0.16); color: var(--glow); font-size: 13px; font-weight: 700; flex: none; }

/* Ad platforms: one line of equal tiles on a wide screen. */
.brand-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 640px) { .brand-tiles { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) { .brand-tiles { grid-template-columns: repeat(7, 1fr); } }
.brand-tiles li { display: flex; align-items: center; justify-content: center; gap: 9px; height: 56px; padding: 0 8px; background: var(--card); border: 1px solid var(--border); border-radius: 10px; font-weight: 500; font-size: 14px; white-space: nowrap; }
.brand-tiles img { width: 22px; height: 22px; flex: none; }
.brand-tiles .brand-tiles__badge { display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 5px; flex: none; }
.icon-list { display: flex; flex-wrap: wrap; gap: 12px 36px; font-size: 15px; }
.icon-list li { display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.icon-list .icon { width: 17px; height: 17px; color: var(--primary); }

/* ── Ecosystem diagram ───────────────────────────────────────────────────── */
.eco { display: grid; gap: 0; }
.eco a { text-decoration: none; color: inherit; }
.eco__top { display: flex; align-items: center; gap: 18px; padding: 24px 26px; border-radius: 18px; background: linear-gradient(135deg, #0b1420 0%, #11243f 60%, #0e4468 100%); color: #fff; box-shadow: var(--shadow-md); transition: transform 0.15s; }
.eco__top:hover { transform: translateY(-2px); }
.eco__top h3 { font-size: 22px; color: #fff; }
.eco__top p { margin-top: 4px; color: var(--navy-text); font-size: 15px; }
.eco__top .icon-box { width: 52px; height: 52px; background: rgba(0, 174, 239, 0.16); color: var(--glow); flex: none; }
.eco__top .icon-box .icon { width: 26px; height: 26px; }
.eco__built { margin-left: auto; padding: 6px 12px; border: 1px solid rgba(169, 189, 209, 0.35); border-radius: 8px; font-size: 12.5px; font-weight: 500; color: #dde3ea; white-space: nowrap; }
.eco__join { height: 34px; }
.eco__join svg { width: 100%; height: 100%; }
.eco__base { display: grid; gap: 14px; }
@media (min-width: 720px) { .eco__base { grid-template-columns: 1fr 1fr; } }
.eco__card { display: flex; align-items: center; gap: 16px; padding: 20px 22px; background: var(--card); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-sm); transition: border-color 0.15s, box-shadow 0.15s; }
.eco__card:hover { border-color: #b9cdf7; box-shadow: var(--shadow-md); }
.eco__card h3 { font-size: 18px; }
.eco__card p { margin-top: 2px; color: var(--muted-fg); font-size: 14.5px; }
.eco__card--here { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.eco__card .icon-box { flex: none; }
.eco__label { margin: 30px 0 12px; font-size: 11px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted-fg); }
.eco__more { display: grid; gap: 14px; }
@media (min-width: 720px) { .eco__more { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 719px) {
  .eco__top { flex-wrap: wrap; }
  .eco__built { margin-left: 0; white-space: normal; }
  .eco__join { display: none; }
  .eco__base { margin-top: 14px; }
}

/* ── Journey illustration ────────────────────────────────────────────────── */
.flow { display: grid; justify-items: center; gap: 0; padding: 28px 20px; border: 1px solid var(--border); border-radius: 18px; background-color: var(--card); background-image: radial-gradient(#dfe4ec 1px, transparent 1px); background-size: 18px 18px; box-shadow: var(--shadow-sm); }
.flow__node { display: flex; align-items: center; gap: 12px; min-width: 210px; padding: 10px 14px 10px 10px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-sm); }
.flow__node small { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-fg); }
.flow__node strong { display: block; font-size: 14.5px; font-weight: 600; }
.flow__icon { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 9px; color: #fff; flex: none; }
.flow__icon .icon { width: 18px; height: 18px; }
.flow__icon--trigger { background: #2563eb; }
.flow__icon--message { background: #059669; }
.flow__icon--wait { background: #b45309; }
.flow__icon--condition { background: #6d28d9; }
.flow__icon--goal { background: #0b1420; }
.flow__line { width: 2px; height: 22px; background: #c3cbd8; }
.flow__branches { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; width: 100%; max-width: 470px; }
.flow__branch { display: grid; justify-items: center; align-content: start; position: relative; padding-top: 22px; }
.flow__branch::before { content: ""; position: absolute; top: 0; height: 22px; width: 50%; border-top: 2px solid #c3cbd8; }
.flow__branch:first-child::before { right: 0; border-left: 2px solid #c3cbd8; border-top-left-radius: 10px; }
.flow__branch:last-child::before { left: 0; border-right: 2px solid #c3cbd8; border-top-right-radius: 10px; }
.flow__branch .flow__node { min-width: 0; width: 100%; }
.flow__tag { margin-bottom: 8px; padding: 2px 9px; border-radius: 6px; font-size: 11px; font-weight: 600; }
.flow__tag--yes { background: #e7f6ef; color: #065f46; }
.flow__tag--no { background: #fdecec; color: #991b1b; }
@media (max-width: 520px) { .flow__node strong { font-size: 13px; } .flow__icon { width: 30px; height: 30px; } .flow__node { gap: 8px; padding: 8px; } }

/* ── Contact: points, next steps, form head, equal boxes ─────────────────── */
.icon-row { display: flex; gap: 12px; margin-top: 24px; }
.icon-row a { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border: 1px solid var(--border); border-radius: 14px; background: var(--card); color: var(--primary-ink); box-shadow: var(--shadow-sm); transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s; }
.icon-row a:hover { border-color: #b9cdf7; box-shadow: var(--shadow-md); transform: translateY(-1px); }
.icon-row .icon { width: 26px; height: 26px; stroke-width: 1.75; }
.contact__points { margin-top: 22px; }
.next { display: grid; gap: 0; margin-top: 30px; counter-reset: next; max-width: 26rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow-sm); }
/* Beside the form, the steps box grows so that it ends on the same line as the form. */
@media (min-width: 900px) {
  .contact__intro { display: flex; flex-direction: column; }
  .contact__intro .next { flex: 1; grid-auto-rows: 1fr; }
}
.next li { display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; align-content: center; align-items: center; padding: 13px 16px; counter-increment: next; }
.next li + li { border-top: 1px solid var(--border); }
.next li::before { content: counter(next); grid-row: span 2; display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 600; font-size: 14px; }
.next strong { font-size: 15px; font-weight: 600; line-height: 1.3; }
.next span { font-size: 13px; color: var(--muted-fg); line-height: 1.3; }
.form__head { padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.form__head h2 { font-size: 20px; }
.form__head p { margin-top: 4px; font-size: 13.5px; color: var(--muted-fg); }
/* One arrow for every list in the form: a thin chevron, drawn here instead of the browser's own. */
.field select, .combo > input[role="combobox"] { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6474' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 9px center; background-size: 16px; }
.field select { width: 100%; padding: 7px 32px 7px 11px; border: 1px solid #cfd5de; border-radius: var(--radius-sm); color: var(--fg); font: 400 var(--field-font, 16px) / 1.45 var(--font); appearance: none; -webkit-appearance: none; cursor: pointer; }
.combo > input[role="combobox"] { padding-right: 32px; }
.field select:focus { outline: 2px solid var(--primary); outline-offset: 0; border-color: transparent; }
/* Country and phone code: a list with flags that filters as you type. */
.req { color: #dc2626; font-weight: 600; }
.field input[aria-invalid="true"] { border-color: #dc2626; }
.combo { position: relative; }
.combo__flag { position: absolute; left: 11px; top: 50%; width: 20px; height: auto; transform: translateY(-50%); border-radius: 2px; box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.12); pointer-events: none; }
.combo--has-flag > input { padding-left: 40px; }
.combo__list { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 4px); max-height: 244px; overflow-y: auto; padding: 4px; background: var(--card); border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow-md); }
.combo__list li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 6px; font-size: 14.5px; font-weight: 400; cursor: pointer; }
.combo__list li[role="option"]:hover, .combo__list li[aria-selected="true"] { background: var(--muted); }
.combo__list img { width: 20px; height: auto; flex: none; border-radius: 2px; box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.12); }
.combo__dial { margin-left: auto; color: var(--muted-fg); font-variant-numeric: tabular-nums; }
.combo__empty { color: var(--muted-fg); cursor: default; }
.phone-field { display: grid; grid-template-columns: 102px minmax(0, 1fr); gap: 8px; }.combo__button { position: relative; display: flex; align-items: center; gap: 6px; width: 100%; height: 100%; padding: 0 8px 0 11px; border: 1px solid #cfd5de; border-radius: var(--radius-sm); background: #fff; color: var(--fg); font: 400 var(--field-font, 16px) / 1.45 var(--font); cursor: pointer; }
.combo__button .combo__flag { position: static; transform: none; flex: none; }
.combo__button .combo__code { flex: 1; text-align: left; white-space: nowrap; }
.combo__button .icon { width: 15px; height: 15px; color: var(--muted-fg); }
.combo__button:focus-visible { outline: 2px solid var(--primary); outline-offset: 0; border-color: transparent; }
.combo__panel { position: absolute; z-index: 20; left: 0; top: calc(100% + 4px); width: min(300px, 78vw); padding: 6px; background: var(--card); border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow-md); }
.combo__panel .combo__list { position: static; max-height: 220px; margin-top: 6px; padding: 0; border: 0; box-shadow: none; }
.field input.combo__search { padding: 8px 10px; font-size: 15px; }
/* Six boxes of one size: four ways to reach us, two materials. */
.reach { display: grid; gap: 28px 10px; }
@media (min-width: 900px) { .reach { grid-template-columns: calc((100% - 20px) * 2 / 3 + 10px) calc((100% - 20px) / 3); } }
.reach .contact__label { margin-top: 0; margin-bottom: 12px; }
.boxes { display: grid; gap: 10px; }
@media (min-width: 560px) { .boxes--2 { grid-template-columns: 1fr 1fr; } }
.box { display: flex; align-items: center; gap: 12px; height: 66px; padding: 0 14px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; text-decoration: none; box-shadow: var(--shadow-sm); transition: border-color 0.15s, box-shadow 0.15s; }
.box:hover { border-color: #b9cdf7; box-shadow: var(--shadow-md); }
.box .icon-box { width: 38px; height: 38px; flex: none; }
.filetype { width: 32px; height: 40px; flex: none; }
.box > span:nth-child(2) { min-width: 0; }
.box strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.box small { display: block; font-size: 13px; color: var(--muted-fg); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.box > .icon { margin-left: auto; color: var(--muted-fg); flex: none; }

/* ── Contact: quick ways and downloads (older, kept for other pages) ─────── */
.ways { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 26px; }
.ways a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; text-decoration: none; font-weight: 500; font-size: 15px; box-shadow: var(--shadow-sm); transition: border-color 0.15s, box-shadow 0.15s; }
.ways a:hover { border-color: #b9cdf7; box-shadow: var(--shadow-md); }
.ways .icon-box { width: 38px; height: 38px; flex: none; }
.ways a > span:last-child { min-width: 0; }
.ways small { display: block; font-size: 12.5px; font-weight: 400; color: var(--muted-fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 480px) { .ways { grid-template-columns: 1fr; } }
.downloads { display: grid; gap: 10px; margin-top: 12px; }
.downloads a { display: flex; align-items: center; gap: 14px; padding: 12px 14px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; text-decoration: none; box-shadow: var(--shadow-sm); transition: border-color 0.15s; }
.downloads a:hover { border-color: #b9cdf7; }
.downloads .icon-box { width: 38px; height: 38px; flex: none; }
.downloads a > span:nth-child(2) { min-width: 0; }
.downloads strong { display: block; font-size: 15px; font-weight: 600; }
.downloads small { display: block; font-size: 13px; color: var(--muted-fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.downloads a > .icon { margin-left: auto; color: var(--muted-fg); flex: none; }
.contact__label { margin-top: 30px; font-size: 11px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted-fg); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .pan img { animation: none; }
  /* The FAQ drawing stands still on its first question. */
  .ask__slide, .ask__slide * { animation: none !important; }
  .ask__slide:first-child { opacity: 1; }
  .ask__typing { display: none; }
}
