/* CrystalQR website. White base, Royal Navy and gold accents. */

/* Inter: the same family ElevenLabs uses for its interface text (SIL Open Font Licence, self-hosted). */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* JetBrains Mono for labels, as on the CipherVault site (SIL Open Font Licence, self-hosted). */
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}

/* Local content: an element marked data-only="xx" shows only to visitors in market xx
   (html[data-region], set by the edge, the visitor's choice or their time zone; see src/region.mjs). */
[data-region="in"] [data-only]:not([data-only~="in"]),
[data-region="ae"] [data-only]:not([data-only~="ae"]),
[data-region="sa"] [data-only]:not([data-only~="sa"]),
[data-region="hk"] [data-only]:not([data-only~="hk"]) { display: none !important; }

/* Brand colours (ink, dark sections, accent, tints, logo, particles) come from the active theme:
   html[data-theme] + assets/css/themes.css, generated from src/themes.mjs. Only neutrals live here. */
:root {
  --line-dark: rgba(255, 255, 255, .12);
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
  --text: #36425A;
  --muted: #5F6A80;
  --line: #E4E2DE;
  --line-cool: #E4E7EC;
  --mist: #F5F6F8;
  --ok: #1E7F55;
  --warn: #A86A12;
  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 10px;
  /* The display-case arch: a semicircle on a 4:5 frame. */
  --arch: 50% 50% 26px 26px / 40% 40% 26px 26px;
  --shadow: 0 1px 2px rgb(var(--ink-rgb) / .05), 0 10px 30px rgb(var(--ink-rgb) / .07);
  --shadow-lg: 0 2px 6px rgb(var(--ink-rgb) / .06), 0 28px 70px rgb(var(--ink-rgb) / .16);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1200px;
  --nav-h: 74px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-feature-settings: "cv11", "ss03";
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); margin: 0; }
p { margin: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent-mid); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--navy); color: #fff; border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }

/* Scroll progress */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--accent-grad-deep); transform-origin: 0 50%; transform: scaleX(0); }

/* Navigation */
/* A floating capsule rather than a full-width bar. The header itself is see-through and lets clicks pass. */
.nav { position: sticky; top: 0; z-index: 50; padding-top: 12px; pointer-events: none; }
.nav__inner, .nav .dd, .nav__menu { pointer-events: auto; }
.nav__inner { position: relative; height: calc(var(--nav-h) - 12px); display: flex; align-items: center; gap: 20px; padding: 0 9px 0 22px; background: rgba(255, 255, 255, .94); border: 1px solid var(--line-cool); border-radius: 999px; box-shadow: 0 10px 30px -14px rgb(var(--ink-rgb) / .22); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); transition: background .35s, border-color .35s, box-shadow .35s; }
.nav.is-scrolled .nav__inner { box-shadow: 0 16px 40px -16px rgb(var(--ink-rgb) / .32); }
.nav__logo { display: flex; align-items: center; }
.nav__logo .logo { height: 30px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 2px; margin-left: 8px; }
.nav__trigger, .nav__a { display: inline-flex; align-items: center; gap: 4px; padding: 8px 13px; border: 0; background: none; border-radius: 999px; font-size: 15px; color: var(--text); text-decoration: none; transition: color .2s, background .2s; }
.nav__trigger .ico { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.nav__trigger:hover, .nav__a:hover, .nav__trigger[aria-expanded="true"], .nav__trigger.is-active, .nav__a.is-active { color: var(--ink); background: var(--mist); }
.nav__trigger[aria-expanded="true"] .ico { transform: rotate(180deg); }
.nav__actions { margin-left: auto; display: flex; gap: 8px; }

/* Dropdown (mega) menus */
.dd { position: absolute; left: -1px; right: -1px; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line-cool); border-radius: 26px; box-shadow: 0 34px 80px -24px rgb(var(--ink-rgb) / .30); }
.dd::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; } /* bridges the gap so hover survives */
.dd[hidden] { display: none; }
.motion .dd:not([hidden]) { animation: dd-in .28s var(--ease); }
@keyframes dd-in { from { opacity: 0; transform: translateY(-8px); } }
.dd__inner { display: grid; gap: 28px; padding: 26px 0 30px; }
.dd__col { display: grid; grid-template-columns: repeat(var(--c, 1), minmax(0, 1fr)); align-content: start; gap: 2px 12px; }
.dd__label { grid-column: 1 / -1; font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px 12px; }
.dd__link { display: flex; gap: 14px; align-items: flex-start; padding: 11px 12px; border-radius: 12px; text-decoration: none; transition: background .2s; }
.dd__link .ico { width: 20px; height: 20px; margin-top: 2px; color: var(--accent-mid); flex: none; transition: transform .3s var(--ease); }
.dd__link b { display: block; color: var(--ink); font-weight: 450; font-size: 15px; }
.dd__link small { color: var(--muted); font-size: 13px; }
.dd__link:hover { background: var(--mist); }
.dd__link:hover .ico { transform: scale(1.12); }
.dd__feature { align-self: start; display: grid; gap: 4px; align-content: start; padding: 12px; border-radius: 16px; background: var(--mist); text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s; }
.dd__feature img { width: 100%; height: 150px; object-fit: cover; border-radius: 12px; margin-bottom: 8px; }
.dd__feature b { color: var(--ink); font-weight: 450; }
.dd__feature small { color: var(--muted); font-size: 13px; }
.dd__feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.nav__toggle { display: none; margin-left: auto; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line-cool); background: #fff; border-radius: 50%; color: var(--ink); }
.nav__menu { position: absolute; left: 0; right: 0; top: calc(100% + 8px); width: min(100% - 24px, var(--wrap)); max-height: calc(100dvh - var(--nav-h) - 24px); overflow-y: auto; margin: 0 auto; padding: 8px 22px 22px; display: grid; gap: 4px; background: #fff; border: 1px solid var(--line-cool); border-radius: 24px; box-shadow: 0 30px 70px -24px rgb(var(--ink-rgb) / .32); }
.nav__menu[hidden] { display: none; }
@media (min-width: 1081px) { .nav__menu { display: none; } }
.nav__menu-link { padding: 14px 4px; text-decoration: none; color: var(--ink); font-weight: 450; border-bottom: 1px solid var(--line-cool); }
.nav__menu details { border-bottom: 1px solid var(--line-cool); }
.nav__menu summary { display: flex; justify-content: space-between; align-items: center; padding: 14px 4px; font-weight: 450; color: var(--ink); list-style: none; cursor: pointer; }
.nav__menu summary::-webkit-details-marker { display: none; }
.nav__menu summary .ico { transition: transform .3s var(--ease); }
.nav__menu details[open] summary .ico { transform: rotate(180deg); }
.nav__menu details div { display: grid; padding: 0 0 10px 10px; }
.nav__menu details a { padding: 9px 4px; color: var(--text); text-decoration: none; }
.nav__menu .btn { margin-top: 14px; border: 0; justify-content: center; color: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 999px; font-size: 15px; font-weight: 500; text-decoration: none; border: 1px solid transparent; transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s, color .25s; white-space: nowrap; }
.btn .ico { transition: transform .3s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-2); transform: translateY(-1px); box-shadow: 0 10px 24px rgb(var(--ink-rgb) / .18); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line-cool); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-1px); }
.btn--accent { background: var(--accent-grad); color: var(--on-accent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 10px 26px -12px rgb(var(--accent-rgb) / .9); }
.btn--accent:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }

/* Type */
/* Light type throughout (owner, 3 December 2026): headings at 400, the emphasised words in the brand
   colour rather than bold. Inter is variable, so in-between weights (450) render exactly. */
.display { font-size: clamp(2.8rem, 6.2vw, 5.2rem); line-height: 1.03; letter-spacing: -.04em; font-weight: 400; }
.display b, .h2 b { font-weight: inherit; color: var(--accent-text); }
.h2 { font-size: clamp(2.1rem, 3.8vw, 3.3rem); line-height: 1.1; letter-spacing: -.03em; font-weight: 400; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); line-height: 1.6; }
/* Section labels: a small gem in a pill. */
.kicker { display: flex; align-items: center; gap: 10px; width: max-content; max-width: 100%; padding: 6px 14px 6px 12px; border: 1px solid rgb(var(--accent-rgb) / .3); border-radius: 999px; background: rgb(var(--accent-rgb) / .14); font-size: 13px; font-weight: 500; letter-spacing: .01em; color: var(--accent-text); margin-bottom: 20px; }
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 1px; transform: rotate(45deg); background: var(--accent-grad-deep); flex: none; }
.kicker--light { color: var(--accent-soft); border-color: rgb(var(--accent-rgb) / .32); background: rgb(var(--accent-rgb) / .08); }

/* Reveal on scroll (only when JS is running and motion is allowed) */
.motion .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.motion .reveal.is-in { opacity: 1; transform: none; }

/* Sections */
.section { padding: clamp(80px, 10vw, 140px) 0; }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.section--mist { background: var(--mist); }
.section__head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section__head .lead { margin-top: 20px; }
.section__head--split { max-width: none; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; }
.section__head--split .lead { margin-top: 0; }

/* ---------------- Hero ---------------- */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0 0 35% 0; z-index: -1; background-image: radial-gradient(rgb(var(--ink-rgb) / .09) 1px, transparent 1.2px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 72% 40%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 60% 70% at 72% 40%, #000 10%, transparent 75%); }
.hero__head { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; margin-bottom: clamp(32px, 4vw, 56px); }
.hero__copy .lead { margin-top: 24px; max-width: 540px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.display .shine { font-weight: 300; color: var(--accent-text); background: linear-gradient(100deg, var(--accent-deep) 0%, var(--accent-deep) 35%, var(--accent) 48%, var(--accent-deep) 62%, var(--accent-deep) 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.motion .display .shine { animation: shine 5.5s ease-in-out infinite; }
@keyframes shine { 0% { background-position: 100% 0; } 60%, 100% { background-position: 0 0; } }

.hero__proof { list-style: none; margin: 36px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: var(--muted); }
.hero__proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero__proof .ico { color: var(--accent-mid); width: 18px; height: 18px; }

.hero__art { position: relative; aspect-ratio: 1; width: 100%; max-width: 580px; justify-self: center; cursor: crosshair; }
.hero__canvas { position: relative; z-index: 1; width: 100%; height: 100%; display: block; }
.hero__glow { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(closest-side, rgb(var(--accent-rgb) / .45), rgb(var(--accent-rgb) / .12) 55%, transparent 75%), radial-gradient(closest-side at 70% 70%, rgb(var(--ink-rgb) / .10), transparent 70%); filter: blur(26px); }
.motion .hero__glow { animation: breathe 7s ease-in-out infinite alternate; }
@keyframes breathe { from { transform: scale(.92) translate(-2%, 2%); opacity: .8; } to { transform: scale(1.06) translate(2%, -2%); opacity: 1; } }
.hero__fallback { position: absolute; z-index: 1; left: 50%; top: 50%; width: 46%; height: auto; transform: translate(-50%, -50%); }
.js .hero__fallback { display: none; }

.stage { background: var(--mist); border: 1px solid var(--line-cool); border-radius: var(--r-lg); padding: 14px; box-shadow: 0 40px 90px -40px rgb(var(--accent-rgb) / .35); }
.stage__tabs { display: flex; justify-content: center; gap: 4px; width: max-content; max-width: 100%; margin: 4px auto 14px; padding: 4px; background: #fff; border: 1px solid var(--line-cool); border-radius: 999px; overflow-x: auto; }
.stage__tab { border: 0; background: transparent; padding: 8px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted); transition: background .3s var(--ease), color .3s; white-space: nowrap; }
.stage__tab:hover { color: var(--ink); }
.stage__tab[aria-selected="true"] { background: var(--navy); color: #fff; }
.stage__scene { position: relative; height: clamp(440px, 46vw, 600px); border-radius: var(--r-md); overflow: hidden; }
.stage__photo { position: absolute; inset: 0; margin: 0; }
.stage__photo img { width: 100%; height: 112%; object-fit: cover; object-position: 30% 50%; will-change: transform; }
.stage__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(var(--ink-rgb) / 0) 35%, rgb(var(--ink-rgb) / .45) 100%); }
.stage__note { text-align: center; font-size: 13px; color: var(--muted); margin: 12px 0 2px; }

.chip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; background: #fff; border-radius: 999px; font-size: 13px; color: var(--ink); box-shadow: var(--shadow); }
.chip b { font-variant-numeric: tabular-nums; font-weight: 500; }
.chip--sync { left: 20px; top: 20px; }
.chip--scale { left: 20px; bottom: 20px; }
.chip--scale span { color: var(--muted); }
.chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.chip[data-state="offline"] .chip__dot { background: var(--warn); }
.chip[data-state="syncing"] .chip__dot { background: var(--accent-mid); animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.6); opacity: .5; } }

.bill { position: absolute; z-index: 2; right: clamp(16px, 4vw, 48px); top: 50%; transform: translateY(-50%); width: min(380px, calc(100% - 32px)); background: #fff; border-radius: var(--r-md); padding: 22px 22px 18px; box-shadow: var(--shadow-lg); font-variant-numeric: tabular-nums; transition: opacity .25s, transform .25s; }
.bill.is-swapping { opacity: .35; }
.bill__head { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--muted); letter-spacing: .02em; padding-bottom: 12px; border-bottom: 1px dashed var(--line-cool); }
.bill__no { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; }
.bill__item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0 10px; }
.bill__item b { display: block; color: var(--ink); font-size: 17px; }
.bill__item small { color: var(--muted); font-size: 12px; }
.purity { font-size: 12px; font-weight: 500; color: var(--accent-text); border: 1px solid var(--accent-line); background: var(--accent-tint); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.bill__lines { margin: 0; display: grid; gap: 7px; font-size: 14px; }
.bill__lines div { display: flex; justify-content: space-between; gap: 12px; }
.bill__lines dt { color: var(--muted); }
.bill__lines dd { margin: 0; color: var(--ink); text-align: right; }
.bill__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-cool); }
.bill__total span { font-weight: 500; color: var(--ink); }
.bill__total strong { font-size: 26px; color: var(--ink); letter-spacing: -.02em; }
.bill__foot { margin-top: 12px; font-size: 12px; color: var(--ok); display: flex; align-items: center; gap: 6px; }
.bill__foot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }

/* ---------------- Marquee ---------------- */
.marquee { border-block: 1px solid var(--line-cool); overflow: hidden; padding: 18px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; margin: 0; padding: 0; list-style: none; }
.marquee__list li { display: flex; align-items: center; gap: 28px; padding-right: 28px; font-size: 15px; color: var(--muted); white-space: nowrap; }
.marquee__list li::after { content: ""; width: 7px; height: 7px; transform: rotate(45deg); background: var(--accent-grad-deep); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------- Platform cards ---------------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { position: relative; padding: 30px 28px 28px; background: #fff; border: 1px solid var(--line-cool); border-radius: var(--r-md); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; }
.card::before { content: ""; position: absolute; left: 28px; right: 28px; top: -1px; height: 2px; background: var(--accent-grad-deep); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #D9DDE4; }
.card:hover::before { transform: scaleX(1); }
.card__icon { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: 12px; background: var(--mist); color: var(--navy); margin-bottom: 22px; transition: background .4s, color .4s, transform .4s var(--ease); }
.card__icon .ico { width: 22px; height: 22px; }
.card:hover .card__icon { background: var(--navy); color: var(--accent-hi); transform: rotate(-4deg); }
.card h3 { font-size: 19px; font-weight: 450; margin-bottom: 8px; letter-spacing: -.01em; }
.card p { font-size: 15px; color: var(--muted); }
.badge { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 12px; font-weight: 500; color: var(--ok); }
.badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }

/* ---------------- Feature rows ---------------- */
.feature { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.feature--flip .feature__text { order: 2; }
.ticks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .ico { margin-top: 3px; color: var(--accent-mid); stroke-width: 2.2; }

/* Store window mock */
.win { background: #fff; border: 1px solid var(--line-cool); border-radius: var(--r-md); box-shadow: var(--shadow-lg); overflow: hidden; font-size: 13px; font-variant-numeric: tabular-nums; transition: transform .6s var(--ease); }
.feature__visual:hover .win { transform: translateY(-4px); }
.win__bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line-cool); color: var(--ink); font-weight: 500; }
.win__bar .mark { height: 20px; width: auto; flex: none; }
.win__status { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 450; color: var(--ok); font-size: 12px; }
.win__status i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.win__body { display: grid; grid-template-columns: 1.6fr 1fr; }
.win__list { padding: 8px 0; }
.win__row { display: grid; grid-template-columns: 1fr 1.4fr .9fr 1fr; gap: 8px; padding: 11px 16px; border-bottom: 1px solid #F0F2F5; color: var(--ink); }
.win__row { grid-template-columns: 84px minmax(0, 1fr) 76px 86px; }
.win__row span:nth-child(1), .win__row span:nth-child(3), .win__row span:nth-child(4) { white-space: nowrap; }
.win__row span:nth-child(3), .win__row span:nth-child(4) { text-align: right; }
.win__row--head { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.win__row--new { background: var(--accent-tint); animation: flash 3.2s ease-in-out infinite; }
.win__row--old { color: var(--muted); }
@keyframes flash { 0%, 100% { background: var(--accent-tint); } 50% { background: #fff; } }
.win__side { background: var(--mist); padding: 16px; display: flex; flex-direction: column; gap: 14px; border-left: 1px solid var(--line-cool); }
.win__side dl { margin: 0; display: grid; gap: 8px; }
.win__side dl div { display: flex; justify-content: space-between; }
.win__side dt { color: var(--muted); }
.win__side dd { margin: 0; color: var(--ink); }
.win__due { padding-top: 10px; border-top: 1px solid var(--line-cool); font-size: 16px; }
.win__due dt, .win__due dd { color: var(--ink) !important; font-weight: 500; }
.win__pay { display: flex; gap: 6px; flex-wrap: wrap; }
.win__pay span { padding: 5px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line-cool); color: var(--ink); font-size: 12px; }
.win__keys { margin-top: auto; color: var(--muted); font-size: 12px; }
kbd { font: 500 11px/1 ui-monospace, Consolas, monospace; padding: 3px 6px; border-radius: 5px; background: #fff; border: 1px solid var(--line-cool); border-bottom-width: 2px; color: var(--ink); }

/* Photo cards with overlays */
.photo-card { position: relative; margin: 0; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16 / 11; box-shadow: var(--shadow); }
.photo-card--tall { aspect-ratio: 4 / 3.4; }
.photo-card img { width: 100%; height: 112%; object-fit: cover; transition: transform 1.2s var(--ease); will-change: transform; }
.photo-card--karigar img { object-position: 45% 92%; }
.recon { position: absolute; right: 20px; bottom: 20px; width: min(300px, calc(100% - 40px)); background: #fff; border-radius: 14px; padding: 18px 18px 14px; box-shadow: var(--shadow-lg); font-size: 13px; font-variant-numeric: tabular-nums; }
.recon__title { font-weight: 500; color: var(--ink); margin-bottom: 10px; }
.recon dl { margin: 0; display: grid; gap: 7px; }
.recon dl div { display: flex; justify-content: space-between; }
.recon dt { color: var(--muted); }
.recon dd { margin: 0; color: var(--ink); }
.recon__due { margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--line-cool); }
.recon__due dt, .recon__due dd { color: var(--accent-text) !important; font-weight: 500; }

/* Phones */
.phones { position: relative; display: flex; justify-content: center; gap: 0; padding: 40px 0 72px; background: radial-gradient(60% 70% at 50% 50%, var(--accent-tint) 0%, transparent 70%); border-radius: var(--r-lg); }
.phones--one { padding-bottom: 40px; }
.phone { position: relative; z-index: 2; width: 250px; border-radius: 34px; border: 9px solid var(--navy); background: #fff; box-shadow: var(--shadow-lg); overflow: hidden; transition: transform .6s var(--ease); }
.phone--back { z-index: 1; transform: translateY(48px) rotate(2.5deg); margin-left: 20px; }
.phones:hover .phone { transform: translateY(-6px); }
.phones:hover .phone--back { transform: translateY(36px) rotate(1deg); }
.phone__screen { padding: 20px 16px 22px; display: grid; gap: 12px; font-size: 12.5px; font-variant-numeric: tabular-nums; min-height: 430px; }
.phone__top { font-weight: 500; color: var(--ink); font-size: 14px; }
.plan { border-radius: 16px; padding: 16px; color: #fff; background: linear-gradient(150deg, var(--navy-2) 0%, var(--ink) 70%); position: relative; overflow: hidden; }
.plan::after { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; border: 14px solid rgb(var(--accent-rgb) / .22); }
.plan__name { font-size: 12px; color: var(--on-dark); }
.plan__amt { font-size: 26px; font-weight: 500; margin: 4px 0 2px; color: var(--accent-hi); }
.plan__sub { font-size: 11.5px; color: var(--on-dark); }
.plan__bar { height: 5px; background: rgba(255, 255, 255, .15); border-radius: 9px; margin-top: 12px; overflow: hidden; }
.plan__bar span { display: block; height: 100%; width: calc(var(--p) * 100%); background: var(--accent-grad); border-radius: 9px; }
.phone__row { display: flex; justify-content: space-between; padding: 10px 12px; background: var(--mist); border-radius: 10px; color: var(--muted); }
.phone__row b { color: var(--ink); }
.phone__row--cash { background: var(--accent-tint); }
.phone__btn { display: block; text-align: center; padding: 12px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 500; margin-top: 4px; }
.visit { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; padding: 10px 12px; border: 1px solid var(--line-cool); border-radius: 10px; }
.visit b { color: var(--ink); }
.visit span { grid-column: 1; color: var(--muted); font-size: 11.5px; }
.visit em { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-style: normal; font-size: 11px; font-weight: 500; padding: 3px 8px; border-radius: 999px; }
.visit .ok { color: var(--ok); background: #E8F4EE; }
.visit .wait { color: var(--warn); background: #FBF1E2; }
.phone__note { font-size: 11.5px; color: var(--warn); text-align: center; }

/* ---------------- Offline sync demo ---------------- */
.sync { display: grid; grid-template-columns: 1.1fr .7fr 1fr; align-items: center; gap: 0; padding: clamp(20px, 3vw, 36px); background: var(--mist); border: 1px solid var(--line-cool); border-radius: var(--r-lg); }
.sync__devices { display: grid; gap: 14px; }
.device { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 14px; padding: 16px 18px; background: #fff; border: 1px solid var(--line-cool); border-radius: 14px; transition: border-color .3s, box-shadow .3s; }
.device > .ico { width: 24px; height: 24px; color: var(--navy); }
.device b { display: block; color: var(--ink); font-size: 15px; }
.device span { font-size: 13px; color: var(--muted); }
.device strong { min-width: 34px; text-align: center; font-variant-numeric: tabular-nums; font-size: 15px; color: var(--ink); padding: 3px 8px; border-radius: 8px; background: var(--mist); transition: background .3s, color .3s; }
.device.is-busy strong { background: #FBF1E2; color: var(--warn); }
.pill { font-style: normal; font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 999px; }
.pill--ok { color: var(--ok); background: #E8F4EE; }
.pill--off { color: var(--warn); background: #FBF1E2; }
.sync__links { height: 300px; }
.sync__links svg { width: 100%; height: 100%; overflow: visible; }
.sync__links path { fill: none; stroke: #C9CED7; stroke-width: 1.6; stroke-dasharray: 5 7; vector-effect: non-scaling-stroke; transition: stroke .4s, opacity .4s; }
.sync.is-flowing .sync__links path { stroke: var(--accent-mid); animation: dash .6s linear infinite; }
.sync.is-down .sync__links path { opacity: .25; }
@keyframes dash { to { stroke-dashoffset: -24; } }
.sync__cloud { justify-self: center; text-align: center; display: grid; justify-items: center; gap: 8px; padding: 28px 24px; background: #fff; border: 1px solid var(--line-cool); border-radius: 18px; width: 100%; max-width: 300px; box-shadow: var(--shadow); }
.sync__cloud > .ico { width: 40px; height: 40px; color: var(--navy); }
.sync__cloud b { color: var(--ink); font-size: 17px; }
.sync__cloud span { font-size: 14px; color: var(--muted); min-height: 2.6em; }
.sync.is-down .sync__cloud > .ico { color: #B9BFCA; }
.facts3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.facts3 > div { padding: 22px 4px; border-top: 1px solid var(--line-cool); }
.facts3 b { display: block; font-size: 22px; color: var(--ink); font-weight: 500; letter-spacing: -.01em; }
.facts3 > div > span { color: var(--muted); font-size: 15px; }

/* ---------------- Security (navy) ---------------- */
.security { background: var(--dark); color: var(--on-dark); }
.security .h2 { color: #fff; }
.security .lead { color: var(--on-dark-2); }
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sec-card { padding: 28px; border-radius: var(--r-md); background: var(--dark-card); border: 1px solid var(--dark-line); transition: transform .4s var(--ease), border-color .4s; }
.sec-card:hover { transform: translateY(-4px); border-color: var(--dark-line-hi); }
.sec-card > .ico, .sec-card__text > .ico { width: 28px; height: 28px; color: var(--accent-soft); margin-bottom: 18px; }
.sec-card h3 { color: #fff; font-size: 19px; font-weight: 450; margin-bottom: 8px; }
.sec-card p { font-size: 15px; color: var(--on-dark-2); }
.sec-card--wide { grid-column: span 3; display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.sec-card--wide .btn { margin-top: 22px; }
.cipher { background: var(--dark); border: 1px solid var(--dark-line); border-radius: 14px; padding: 20px 22px; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 14px; }
.cipher__label { font-family: "Inter", sans-serif; font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-soft); margin-bottom: 14px; }
.cipher dl { margin: 0; display: grid; gap: 10px; }
.cipher dl div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; }
.cipher dt { color: var(--on-dark-3); }
.cipher dd { margin: 0; color: #fff; word-break: break-all; }
.cipher.is-cipher dd { color: #8FB3FF; }
.cipher__hint { margin-top: 14px; font-family: "Inter", sans-serif; font-size: 12.5px; color: var(--on-dark-3); }
.chain { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.chain li { position: relative; display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px; background: var(--dark); border: 1px solid var(--dark-line); font-size: 13px; color: var(--on-dark); }
.chain li + li::before { content: ""; position: absolute; left: 22px; top: -9px; width: 1.5px; height: 8px; background: var(--accent-soft); }
.chain b { color: #fff; font-weight: 500; }
.chain code { margin-left: auto; color: #8FB3FF; font-size: 12px; }
.laws { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--dark-line); display: grid; gap: 18px; }
.laws > p:first-child { font-size: 14px; color: var(--on-dark-2); }
.laws ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.laws li { min-width: min(100%, 300px); }
.laws li { padding: 16px 18px; border-radius: 12px; border: 1px solid var(--dark-line); color: #fff; font-weight: 500; display: grid; gap: 2px; transition: border-color .3s; }
.laws li:hover { border-color: var(--accent-soft); }
.laws li b { font-size: 12px; font-weight: 500; color: var(--accent-soft); letter-spacing: .08em; text-transform: uppercase; }

/* ---------------- Regions ---------------- */
.regions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.region { border: 1px solid var(--line-cool); border-radius: var(--r-md); overflow: hidden; background: #fff; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.region:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.region figure { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.region img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.region:hover img { transform: scale(1.06); }
.region figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(var(--ink-rgb) / 0) 50%, rgb(var(--ink-rgb) / .7) 100%); }
.region figcaption { position: absolute; z-index: 1; left: 22px; bottom: 16px; color: #fff; font-size: 24px; font-weight: 500; letter-spacing: -.01em; }
.region dl { margin: 0; padding: 20px 22px 24px; display: grid; gap: 12px; }
.region dl div { display: grid; grid-template-columns: 92px 1fr; gap: 12px; font-size: 14.5px; }
.region dt { color: var(--muted); }
.region dd { margin: 0; color: var(--ink); }

/* ---------------- Hardware ---------------- */
.hw { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
/* Hardware cards: a device illustration sits in the bottom-right corner, cropped by the card
   (artwork in src/illustrations.mjs, coloured by the theme). */
.hw__item { position: relative; isolation: isolate; overflow: hidden; display: block; min-height: 252px; padding: 26px 26px 0; background: #fff; border: 1px solid var(--line-cool); border-radius: var(--r-lg); transition: transform .4s var(--ease), border-color .4s, box-shadow .4s; }
.hw__item::before { content: ""; position: absolute; z-index: -1; right: -22%; bottom: -34%; width: 86%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, var(--accent-tint), transparent); transition: transform .6s var(--ease); }
.hw__item b, .hw__item span { position: relative; z-index: 1; display: block; }
.hw__item b { color: var(--ink); font-size: 17px; }
.hw__item span { margin-top: 4px; max-width: 72%; color: var(--muted); font-size: 13.5px; }
.hw__item:hover { transform: translateY(-4px); border-color: var(--accent-line); box-shadow: var(--shadow); }
.hw__item:hover::before { transform: scale(1.12); }
.hwi { position: absolute; right: 0; bottom: 0; width: 74%; height: auto; transform-origin: 100% 100%; transition: transform .6s var(--ease); }
.hw__item:hover .hwi { transform: translate(-4px, -6px) rotate(-2deg) scale(1.03); }
.hwi .a1 { fill: var(--accent-deep); }
.hwi .a2 { fill: var(--accent-mid); }
.hwi .a3 { fill: var(--accent); }
.hwi .a4 { fill: var(--accent-soft); }
.hwi .a5 { fill: var(--accent-hi); }
.hwi .ink { fill: var(--ink); }
.hwi .wh { fill: #fff; }
.hwi .gd { fill: #F3C44F; }
.hwi .pk { fill: #F2A7C8; }
.hwi .rd { fill: #FF5C7A; }
.hwi .gn { fill: #34D399; }
.hwi .beam { fill: #FF5C7A; opacity: .16; }
.hwi .paper, .hwi .tagc { stroke: var(--line-cool); stroke-width: 1.2; }
.hwi .tagc { stroke: var(--accent-soft); }
.hwi .ring { fill: none; stroke: #F3C44F; stroke-width: 7; }
.hwi .ring-hi { fill: none; stroke: #FFE7A3; stroke-width: 2.5; stroke-linecap: round; }
.hwi .gem { stroke: var(--accent-soft); stroke-width: 1.5; stroke-linejoin: round; }
.hwi .wave { fill: none; stroke-width: 6; stroke-linecap: round; }
.hwi .a3s { stroke: var(--accent); }
.hwi .a4s { stroke: var(--accent-soft); }
.hwi .a5s { stroke: var(--accent-hi); }
.hwi .lcd { fill: #8CF2C9; font: 500 15px var(--mono); }
.hwi .tagt { fill: var(--accent-mid); font: 600 11px "Inter", sans-serif; }
.hwi .tags { fill: var(--muted); font: 450 8px var(--mono); }
.hwi .scr-s { fill: var(--accent-soft); font: 450 10px "Inter", sans-serif; }
.hwi .scr-b { fill: #fff; font: 600 14px "Inter", sans-serif; }
.hwi .tv-k { fill: #fff; font: 600 9px "Inter", sans-serif; }
.motion .hw__item:hover .wave { animation: rfid-wave 1.2s ease-in-out infinite; }
.motion .hw__item:hover .a4s { animation-delay: .15s; }
.motion .hw__item:hover .a5s { animation-delay: .3s; }
@keyframes rfid-wave { 50% { opacity: .35; } }

/* ---------------- AI ---------------- */
.ai-list { display: grid; gap: 18px; margin-top: 28px; }
.ai-list > div { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line-cool); }
.ai-list .ico { width: 26px; height: 26px; color: var(--accent-mid); }
.ai-list b { display: block; color: var(--ink); font-size: 17px; }
.ai-list span { color: var(--muted); font-size: 15px; }
.ask { position: absolute; left: 20px; right: 20px; bottom: 20px; background: #fff; border-radius: 14px; padding: 18px; box-shadow: var(--shadow-lg); font-size: 14px; }
.ask__q { padding: 10px 14px; background: var(--mist); border-radius: 10px; color: var(--ink); margin-bottom: 14px; }
.ask__a p { color: var(--ink); }
.ask__bars { display: grid; gap: 6px; margin: 12px 0; }
.ask__bars span { position: relative; display: block; padding: 5px 10px; font-size: 12.5px; color: var(--ink); z-index: 0; }
.ask__bars span::before { content: ""; position: absolute; inset: 0; z-index: -1; width: calc(var(--w) * 100%); min-width: 6px; border-radius: 6px; background: var(--accent-tint-2); transform-origin: left; transform: scaleX(var(--grow, 1)); transition: transform 1.2s var(--ease); }
.motion .reveal:not(.is-in) .ask__bars span::before { --grow: 0; }
.ask__src { font-size: 12px; color: var(--muted) !important; }

/* ---------------- Facts ---------------- */
.facts { border-block: 1px solid var(--line-cool); padding: 56px 0; }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.facts__grid b { display: block; font-size: clamp(2.6rem, 4.6vw, 3.8rem); font-weight: 300; color: var(--ink); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.facts__grid span { display: block; margin-top: 10px; color: var(--muted); font-size: 15px; max-width: 220px; }

/* ---------------- FAQ ---------------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq__list { border-top: 1px solid var(--line-cool); }
.faq details { border-bottom: 1px solid var(--line-cool); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 4px; font-size: 18px; font-weight: 450; color: var(--ink); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { color: var(--accent-mid); transition: transform .35s var(--ease); }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq details p { padding: 0 4px 24px; color: var(--muted); max-width: 640px; }

/* ---------------- Demo form ---------------- */
.demo { background: var(--ivory); }
.demo__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.demo__text .lead { margin-top: 20px; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow); display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; color: var(--ink); }
.form input, .form select { height: 48px; padding: 0 14px; border: 1px solid #D5D9E1; border-radius: 10px; font: 400 16px "Inter", sans-serif; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s; }
.form textarea { padding: 12px 14px; border: 1px solid #D5D9E1; border-radius: 10px; font: 400 16px "Inter", sans-serif; color: var(--ink); resize: vertical; transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgb(var(--ink-rgb) / .1); }
.form [aria-invalid="true"] { border-color: #B4372F; }
.form__check { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 10px; font-weight: 400 !important; color: var(--muted) !important; }
.form__check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--navy); flex: none; }
.form .btn { justify-self: start; }
.form__status { font-size: 14px; min-height: 1.4em; }
.form__status.is-error { color: #B4372F; }
.form__status.is-ok { color: var(--ok); }

/* ---------------- Footer ---------------- */
.footer { padding: 72px 0 32px; border-top: 1px solid var(--line-cool); }
.footer__cols { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.footer__brand .logo { display: block; height: 36px; width: auto; }
.footer__brand p { margin-top: 16px; color: var(--muted); font-size: 15px; max-width: 260px; }
.footer nav { display: grid; gap: 10px; align-content: start; font-size: 15px; }
.footer nav b { color: var(--ink); font-size: 14px; margin-bottom: 4px; }
.footer nav a { color: var(--muted); text-decoration: none; transition: color .2s; }
.footer nav a:hover { color: var(--ink); }
.footer__mark { margin-top: 72px; overflow: hidden; }
.footer__mark svg { display: block; width: 100%; height: auto; }
.motion .footer__mark svg { transform: translateY(40%); opacity: 0; transition: transform 1.4s var(--ease), opacity 1.4s var(--ease); }
.motion .footer__mark.is-in svg { transform: none; opacity: 1; }
.footer__bottom { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line-cool); font-size: 13px; color: var(--muted); }
.credits summary { cursor: pointer; }
.credits ul { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 4px; }
.footer__link { padding: 0; border: 0; background: none; color: inherit; font-size: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer__link:hover { color: var(--ink); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-left: auto; }
.footer__legal a { color: var(--muted); text-decoration: none; }
.footer__legal a:hover { color: var(--ink); }
.footer__brand .btn { margin-top: 20px; }

/* ---------------- Inner pages ---------------- */
.phero { position: relative; padding: clamp(36px, 5vw, 72px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgb(var(--ink-rgb) / .08) 1px, transparent 1.2px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse 55% 75% at 78% 45%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 55% 75% at 78% 45%, #000 10%, transparent 75%); }
.phero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.phero__grid--solo { grid-template-columns: minmax(0, 840px); }
.phero__copy .lead { margin-top: 22px; max-width: 580px; }
.phero__visual { position: relative; }
.display--page { font-size: clamp(2.4rem, 4.6vw, 4rem); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 26px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs i { font-style: normal; opacity: .45; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; }
.chips li { padding: 6px 12px; border: 1px solid var(--line-cool); border-radius: 999px; font-size: 13px; color: var(--ink); background: #fff; }
.section__head--center { text-align: center; margin-inline: auto; }
.photo { margin: 0; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.photo img { width: 100%; height: 112%; object-fit: cover; will-change: transform; }
.photo--hero { aspect-ratio: 5 / 4; box-shadow: var(--shadow-lg); }

.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card--link { display: block; text-decoration: none; color: inherit; }
.card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 14px; font-weight: 450; color: var(--accent-text); }
.card__more .ico { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.card--link:hover .card__more .ico, .region:hover .card__more .ico { transform: translateX(4px); }
.card--link .badge { display: flex; width: max-content; }
.region { display: block; text-decoration: none; color: inherit; }
.region .card__more { margin: 0 22px 22px; }
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 28px; font-weight: 450; color: var(--accent-text); text-decoration: none; }
.more .ico { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.more:hover .ico { transform: translateX(4px); }
.more--light { color: var(--accent-soft); }

.pill-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pill-list li { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-cool); background: #fff; font-size: 15px; color: var(--ink); transition: border-color .25s, transform .25s var(--ease); }
.pill-list li:hover { border-color: var(--accent-line); transform: translateY(-2px); }
/* Coverage split into titled areas, two side by side, one on phones. */
.cov-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 48px; }
.cov-group h3 { margin: 0 0 16px; font-size: 19px; font-weight: 500; color: var(--ink); }
@media (max-width: 860px) { .cov-groups { grid-template-columns: 1fr; gap: 32px; } }
.app-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.app-chips a { display: inline-flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line-cool); text-decoration: none; color: var(--ink); font-weight: 450; background: #fff; transition: border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.app-chips a .ico:first-child { color: var(--accent-mid); }
.app-chips a .ico:last-child { width: 16px; height: 16px; color: var(--muted); transition: transform .3s var(--ease); }
.app-chips a:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow); }
.app-chips a:hover .ico:last-child { transform: translateX(3px); }

.pains { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pain { padding: 26px; background: #fff; border: 1px solid var(--line-cool); border-radius: var(--r-md); transition: transform .35s var(--ease), box-shadow .35s; }
.pain:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pain__before { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(180, 55, 47, .45); margin-bottom: 10px; }
.pain__after { display: flex; gap: 10px; color: var(--ink); }
.pain__after .ico { color: var(--accent-mid); margin-top: 3px; stroke-width: 2.2; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.timeline li { position: relative; padding: 24px 6px 0; border-top: 2px solid var(--line-cool); }
.timeline li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--accent-grad-deep); box-shadow: 0 0 0 4px #fff; }
.timeline time { font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; font-size: 18px; }
.timeline p { color: var(--muted); font-size: 15px; margin-top: 6px; }
.facts-table { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.facts-table div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-cool); }
.facts-table dt { color: var(--muted); }
.facts-table dd { margin: 0; color: var(--ink); }

.cta-band { padding: clamp(48px, 6vw, 80px) 0; }
.cta-band__inner { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center; padding: clamp(32px, 5vw, 60px); border-radius: var(--r-lg); background: radial-gradient(120% 140% at 100% 0%, var(--dark-glow) 0%, var(--navy) 55%); color: var(--on-dark); }
.cta-band__inner::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(closest-side, rgb(var(--accent-rgb) / .35), transparent); pointer-events: none; }
.cta-band .h2 { color: #fff; }
.cta-band .lead { color: var(--on-dark-2); margin-top: 12px; }
.btn--line { border-color: rgba(255, 255, 255, .3); color: #fff; }
.btn--line:hover { border-color: #fff; transform: translateY(-1px); }

/* Office dashboard mock */
.dash { background: #fff; border: 1px solid var(--line-cool); border-radius: var(--r-md); box-shadow: var(--shadow-lg); overflow: hidden; font-size: 13px; font-variant-numeric: tabular-nums; }
.dash__body { padding: 18px; display: grid; gap: 18px; }
.dash__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dash__kpis div { padding: 14px; border-radius: 12px; background: var(--mist); display: grid; gap: 2px; }
.dash__kpis span { color: var(--muted); font-size: 12px; }
.dash__kpis b { color: var(--ink); font-size: 19px; font-weight: 500; }
.dash__kpis em { font-style: normal; font-size: 12px; color: var(--muted); }
.dash__kpis em.up { color: var(--ok); }
.dash__chart { height: 120px; display: flex; align-items: flex-end; gap: 6px; padding: 0 4px; border-bottom: 1px solid var(--line-cool); }
.dash__chart span { flex: 1; height: var(--h); border-radius: 6px 6px 0 0; background: linear-gradient(180deg, var(--accent), var(--accent-mid)); transform-origin: bottom; transition: transform 1s var(--ease) calc(var(--i) * 60ms); }
.motion .reveal:not(.is-in) .dash__chart span { transform: scaleY(0); }
.dash__rows { display: grid; gap: 10px; }
.dash__rows div { display: grid; grid-template-columns: 100px 70px 1fr auto; align-items: center; gap: 10px; }
.dash__rows span { color: var(--muted); }
.dash__rows b { color: var(--ink); }
.dash__rows i { height: 6px; border-radius: 6px; background: var(--navy); width: calc(var(--w) * 100%); }
.sync-note { font-style: normal; font-size: 11px; color: var(--warn); }

/* Showroom TV mock */
.tv { max-width: 600px; margin: 0 auto; }
.tv__screen { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; border: 10px solid #111827; box-shadow: var(--shadow-lg); background: #000; }
.tv__screen img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.tv__panel { position: absolute; right: 5%; top: 44%; transform: translateY(-50%); width: 46%; padding: 16px; border-radius: 12px; background: rgb(var(--ink-rgb) / .88); color: #fff; font-variant-numeric: tabular-nums; }
.tv__label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-soft); }
.tv__rates { display: grid; gap: 6px; margin: 10px 0; }
.tv__rates div { display: flex; justify-content: space-between; font-size: 15px; }
.tv__rates b { color: var(--accent-hi); }
.tv__time { font-size: 11px; color: var(--on-dark-2); }
.tv__ticker { position: absolute; left: 0; right: 0; bottom: 0; padding: 7px 0; background: var(--accent-grad); color: var(--on-accent); font-size: 12px; font-weight: 500; overflow: hidden; white-space: nowrap; }
.tv__ticker span { display: inline-block; padding-left: 100%; }
.motion .tv__ticker span { animation: ticker 18s linear infinite; }
@keyframes ticker { to { transform: translateX(-100%); } }
.tv__stand { width: 120px; height: 18px; margin: 0 auto; background: linear-gradient(#1F2937, #111827); clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%); }

/* Platform orbit */
.orbit { position: relative; aspect-ratio: 1; max-width: 520px; margin: 0 auto; }
.orbit__ring { position: absolute; inset: 12%; border-radius: 50%; border: 1px dashed var(--accent-line); }
.orbit__ring--2 { inset: 30%; border: 1px solid var(--line-cool); }
.motion .orbit__ring { animation: rotate 80s linear infinite; }
@keyframes rotate { to { transform: rotate(360deg); } }
.orbit__core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 36%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 30% 30%, var(--dark-glow), var(--navy)); color: #fff; display: grid; place-content: center; justify-items: center; text-align: center; gap: 4px; box-shadow: 0 30px 60px -20px rgb(var(--ink-rgb) / .5), 0 0 0 12px rgb(var(--accent-rgb) / .14); }
.orbit__core .mark { height: 50px; width: auto; }
.orbit__core b { font-weight: 450; font-size: 15px; }
.orbit__core span { font-size: 11px; color: var(--on-dark-2); }
.orbit__node { position: absolute; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line-cool); box-shadow: var(--shadow); font-size: 14px; font-weight: 450; color: var(--ink); white-space: nowrap; }
.orbit__node .ico { color: var(--accent-mid); width: 18px; height: 18px; }
.motion .orbit__node { animation: float 6s ease-in-out infinite; animation-delay: calc(var(--i) * -1s); }
@keyframes float { 50% { transform: translate(-50%, calc(-50% - 8px)); } }

/* Security layers */
.layers { display: grid; gap: 14px; }
.layers__item { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; padding: 22px 24px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line-cool); box-shadow: var(--shadow); }
.layers__item .ico { grid-row: span 2; width: 28px; height: 28px; color: var(--accent-mid); }
.layers__item b { color: var(--ink); font-weight: 450; font-size: 17px; }
.layers__item span { color: var(--muted); font-size: 14px; }
.layers__item:nth-child(2) { margin-left: 28px; }
.layers__item:nth-child(3) { margin-left: 56px; background: var(--navy); border-color: var(--navy); }
.layers__item:nth-child(3) b { color: #fff; }
.layers__item:nth-child(3) span { color: var(--on-dark-2); }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line-cool); border-radius: var(--r-md); }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th { text-align: left; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; background: var(--mist); padding: 14px 18px; }
.table td { padding: 14px 18px; border-top: 1px solid var(--line-cool); color: var(--ink); }
.table td:first-child { font-weight: 450; }
.table tr:hover td { background: var(--ivory); }
.note { margin-top: 16px; color: var(--muted); font-size: 14px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.plan-card { position: relative; padding: 32px 28px; border: 1px solid var(--line-cool); border-radius: var(--r-lg); background: #fff; display: grid; gap: 14px; transition: transform .4s var(--ease), box-shadow .4s; }
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan-card h3 { font-size: 24px; font-weight: 450; }
.plan-card__for { color: var(--muted); }
.plan-card__price { font-size: 14px; color: var(--accent-text); font-weight: 500; }
.plan-card .btn { justify-content: center; }
.plan-card .ticks { margin-top: 8px; }
.plan-card--featured { background: radial-gradient(140% 100% at 100% 0%, var(--dark-glow), var(--navy) 60%); border-color: var(--navy); color: var(--on-dark); box-shadow: var(--shadow-lg); }
.plan-card--featured h3 { color: #fff; }
.plan-card--featured .plan-card__for { color: var(--on-dark-2); }
.plan-card--featured .plan-card__price { color: var(--accent-soft); }
.plan-card__tag { position: absolute; top: 20px; right: 20px; padding: 4px 10px; border-radius: 999px; background: var(--accent-grad); color: var(--on-accent); font-size: 12px; font-weight: 500; }
.picker { background: #fff; border: 1px solid var(--line-cool); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 20px; box-shadow: var(--shadow); }
.picker fieldset { border: 0; padding: 0; margin: 0; }
.picker legend { font-weight: 500; color: var(--ink); margin-bottom: 12px; }
.picker__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.picker__grid label { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line-cool); border-radius: 10px; cursor: pointer; font-size: 14px; color: var(--ink); transition: border-color .2s, background .2s; }
.picker__grid input { accent-color: var(--navy); width: 16px; height: 16px; }
.picker__grid label:has(input:checked) { border-color: var(--navy); background: #F3F5F9; }
.picker__branches { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 500; color: var(--ink); }
.picker__branches input { width: 110px; height: 44px; padding: 0 12px; border: 1px solid #D5D9E1; border-radius: 10px; font: inherit; }
.picker .btn { justify-content: center; }

/* Contact, legal, 404 */
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.steps li { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.steps b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-size: 13px; flex: none; }
.optional { font-weight: 400; color: var(--muted); }
.prose { max-width: 760px; }
.prose h2 { font-size: 22px; font-weight: 450; margin: 36px 0 10px; }
.prose ul { padding-left: 20px; display: grid; gap: 8px; }
.prose a { color: var(--accent-text); }
.prose .footer__link { color: var(--accent-text); }
.prose__draft { display: inline-block; margin: 16px 0 8px; padding: 6px 12px; border-radius: 8px; background: #FBF1E2; color: var(--warn); font-size: 14px; }
.notfound { text-align: center; min-height: 55vh; display: grid; align-items: center; }
.notfound .lead { margin: 16px auto 0; }
.notfound .cta-row { justify-content: center; }

/* ---------------- Cookie consent ---------------- */
.consent { position: fixed; z-index: 70; left: 24px; bottom: 24px; width: min(560px, calc(100% - 32px)); padding: 22px 24px; background: #fff; border: 1px solid var(--line-cool); border-radius: 20px; box-shadow: var(--shadow-lg); }
.consent[hidden] { display: none; }
.motion .consent { animation: consent-in .6s var(--ease) both; }
@keyframes consent-in { from { opacity: 0; transform: translateY(16px); } }
.consent h2 { font-size: 20px; font-weight: 450; letter-spacing: -.01em; margin-bottom: 8px; }
.consent p { font-size: 15px; color: var(--muted); line-height: 1.55; }
.consent__actions { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.consent__actions .btn--navy { margin-left: auto; }
.consent__icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-cool); background: #fff; color: var(--ink); transition: border-color .2s; }
.consent__icon:hover { border-color: var(--ink); }
.consent-panel { width: min(520px, calc(100% - 32px)); padding: 28px; border: 0; border-radius: 20px; box-shadow: var(--shadow-lg); color: var(--text); }
.consent-panel::backdrop { background: rgb(var(--ink-rgb) / .4); }
.consent-panel h2 { font-size: 22px; font-weight: 450; margin-bottom: 8px; }
.consent-panel > form > p { font-size: 15px; color: var(--muted); margin-bottom: 12px; }
.toggle { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line-cool); cursor: pointer; }
.toggle b { display: block; color: var(--ink); font-weight: 450; }
.toggle span { font-size: 14px; color: var(--muted); }
.toggle input { appearance: none; flex: none; width: 44px; height: 26px; border-radius: 999px; background: #D5D9E1; position: relative; cursor: pointer; transition: background .25s; }
.toggle input::before { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .25s var(--ease); }
.toggle input:checked { background: var(--navy); }
.toggle input:checked::before { transform: translateX(18px); }
.toggle input:disabled { opacity: .55; cursor: not-allowed; }

/* ================= CrystalQR signature ================= */
/* Shares the navy, gold and real-photo base with the CipherVault and HAZCO sites, but has its own
   shapes: arches like jewellery display cases, pill buttons, gem labels and platinum sections. */
.section--dark, .security { position: relative; isolation: isolate; background: radial-gradient(1100px 520px at 88% -8%, rgb(var(--glow-rgb) / .5), transparent 70%), radial-gradient(900px 480px at 0% 108%, rgb(var(--accent-rgb) / .16), transparent 70%), var(--dark); color: var(--on-dark); }
.section--dark .h2, .section--dark h3 { color: #fff; }
.section--dark .lead { color: var(--on-dark-2); }
.section--sand { background: var(--sand); }
.section__head--center .kicker { margin-inline: auto; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--accent-tint); transform: translateY(-1px); }

/* Gold emphasis in headings on dark backgrounds */
.section--dark .h2 b, .security:not(.security--light) .h2 b, .cine .display b, .cta-vault .h2 b {
  color: transparent; background: var(--accent-text-grad); -webkit-background-clip: text; background-clip: text;
}

/* Home hero: the copy beside an arched display case that holds the photos and the particle mark */
.cine { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; min-height: min(calc(100vh - var(--nav-h)), 900px); color: #fff; background: radial-gradient(700px 600px at 76% 52%, rgb(var(--accent-rgb) / .17), transparent 70%), radial-gradient(900px 640px at 8% -10%, rgb(var(--glow-rgb) / .6), transparent 70%), var(--dark); }
.cine__inner { flex: 1; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(32px, 5vw, 80px); padding: clamp(40px, 6vw, 84px) 0 clamp(64px, 7vw, 96px); }
.cine .display { color: #fff; font-size: clamp(3rem, 6.4vw, 5.8rem); }
.cine .lead { color: var(--on-dark); margin-top: 26px; max-width: 540px; }

.showcase__stage { position: relative; justify-self: center; width: min(100%, 430px); padding: 16px; }
.showcase__stage::before { content: ""; position: absolute; inset: 0; border: 1px solid rgb(var(--accent-rgb) / .4); border-radius: 50% 50% 38px 38px / 40.6% 40.6% 38px 38px; pointer-events: none; }
.showcase__arch { position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--arch); background: var(--dark-2); box-shadow: 0 60px 120px -50px rgb(var(--accent-rgb) / .55), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.cine__media { position: absolute; inset: 0; z-index: -3; }
.cine__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 1.4s ease; }
.cine__slide.is-on { opacity: 1; }
.motion .cine__slide.is-on { animation: kenburns 9s linear both; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.14); } }
.showcase__shade { position: absolute; inset: 0; z-index: -2; background: radial-gradient(closest-side at 50% 44%, rgb(var(--dark-rgb) / .86), rgb(var(--dark-rgb) / .6) 72%, rgb(var(--dark-rgb) / .34)), linear-gradient(0deg, rgb(var(--dark-rgb) / .92) 0%, rgb(var(--dark-rgb) / 0) 32%); }
.showcase__arch .hero__art { position: absolute; inset: 7% 5% 15%; width: auto; max-width: none; aspect-ratio: auto; }
.cine__dots { position: absolute; left: 0; right: 0; bottom: 20px; display: flex; flex-direction: column; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark); }
.cine__bars { display: flex; gap: 8px; }
.cine__dots button { position: relative; width: 26px; height: 3px; padding: 0; border: 0; border-radius: 3px; background: rgba(255, 255, 255, .28); cursor: pointer; }
.cine__dots button::before { content: ""; position: absolute; inset: -10px -3px; }
.cine__dots button[aria-pressed="true"]::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--accent); transform-origin: left; }
.motion .cine__dots button[aria-pressed="true"]::after { animation: fill 6s linear both; }
@keyframes fill { from { transform: scaleX(0); } }
.nav--over ~ main .cine { margin-top: calc(-1 * var(--nav-h)); padding-top: var(--nav-h); min-height: min(100vh, 960px); }

/* The six apps: rounded tiles in the page grid, not an edge-to-edge sheet */
.mosaic { width: min(100% - 48px, var(--wrap)); margin-inline: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tile { position: relative; isolation: isolate; overflow: hidden; min-height: 380px; display: flex; flex-direction: column; justify-content: flex-end; padding: 32px 30px; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line-cool); border-radius: 26px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tile--photo { color: #fff; background: var(--dark); border-color: transparent; }
.tile--photo img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(var(--dark-rgb) / .94) 12%, rgb(var(--dark-rgb) / .2) 75%); }
.tile--sand { background: var(--sand); border-color: transparent; }
.tile--accent { color: #fff; border-color: transparent; background: radial-gradient(420px 300px at 100% 100%, rgb(var(--accent-rgb) / .45), transparent 70%), linear-gradient(150deg, var(--ink) 0%, var(--navy-2) 70%); }
.tile:hover img { transform: scale(1.06); }
.tile__k { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 10px; }
.tile--photo .tile__k, .tile--accent .tile__k { color: var(--accent-soft); }
.tile h3 { color: inherit; font-size: 30px; font-weight: 500; letter-spacing: -.025em; }
.tile p { margin-top: 10px; font-size: 15.5px; color: var(--muted); max-width: 360px; }
.tile--photo p, .tile--accent p { color: var(--on-dark); }
.tile__btn { display: inline-flex; align-items: center; gap: 8px; width: max-content; margin-top: 22px; padding: 9px 16px 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; background: var(--navy); color: #fff; transition: gap .3s var(--ease), background .3s, color .3s; }
.tile__btn .ico { width: 15px; height: 15px; }
.tile--photo .tile__btn, .tile--accent .tile__btn { background: #fff; color: var(--navy); }
.tile:hover .tile__btn { gap: 14px; background: var(--accent-btn); color: var(--on-accent); }

/* "At work" tabs: a rounded segmented control on a light section */
.action__tabs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; padding: 6px; border: 1px solid var(--line-cool); border-radius: 22px; background: #fff; margin-bottom: 52px; }
.action__tab { position: relative; overflow: hidden; display: grid; gap: 6px; padding: 14px 16px 16px; text-align: left; border: 0; border-radius: 16px; background: transparent; color: var(--text); cursor: pointer; transition: background .25s, box-shadow .25s; }
.action__tab small { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.action__tab b { color: var(--ink); font-weight: 450; font-size: 15px; }
.action__tab::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 2px; border-radius: 2px; background: var(--accent-mid); transform: scaleX(0); transform-origin: left; }
.action__tab:hover { background: var(--mist); }
.action__tab[aria-selected="true"] { background: var(--accent-tint); }
.action__tab[aria-selected="true"] small { color: var(--accent-text); }
.action__tab[aria-selected="true"]::after { transform: scaleX(1); }
.motion .action.is-auto .action__tab[aria-selected="true"]::after { animation: fill 7s linear both; }
.action__panel { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.action__panel[hidden] { display: none; }
.motion .action__panel:not([hidden]) { animation: panel-in .5s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } }
.action__panel h3 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); font-weight: 450; line-height: 1.1; letter-spacing: -.035em; }
.action__panel .lead { margin-top: 16px; }
.action__panel .ticks li { color: var(--text); }
.action__panel .more { color: var(--accent-text); }

/* Solutions: a row of rounded photo panels that widen on hover */
.panels { display: flex; gap: 12px; height: clamp(440px, 46vw, 560px); }
.panel { position: relative; isolation: isolate; overflow: hidden; flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; color: #fff; text-decoration: none; border-radius: 24px; transition: flex .7s var(--ease), box-shadow .5s var(--ease); }
.panel:hover, .panel:focus-visible { box-shadow: var(--shadow-lg); }
.panel img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(var(--dark-rgb) / .93) 8%, rgb(var(--dark-rgb) / .15) 70%); }
.panel__n { position: absolute; top: 22px; left: 22px; padding: 4px 10px 4px 11px; border-radius: 999px; background: rgb(var(--dark-rgb) / .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--accent-soft); }
.panel h3 { color: #fff; font-size: 24px; font-weight: 450; letter-spacing: -.02em; }
.panel p, .panel .more { opacity: 0; max-height: 0; overflow: hidden; transition: opacity .5s, max-height .6s var(--ease); }
.panel p { max-width: 360px; margin-top: 8px; font-size: 15px; color: var(--on-dark); }
.panel .more { margin-top: 14px; color: var(--accent-soft); }
.panels:not(:hover) .panel:first-child, .panel:hover, .panel:focus-visible { flex: 2.5; }
.panels:not(:hover) .panel:first-child p, .panel:hover p, .panel:focus-visible p,
.panels:not(:hover) .panel:first-child .more, .panel:hover .more, .panel:focus-visible .more { opacity: 1; max-height: 160px; }
.panel:hover img { transform: scale(1.05); }

/* Regions: tall arches */
.tall3 { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 14px; }
.tall { position: relative; isolation: isolate; overflow: hidden; min-height: 500px; display: flex; flex-direction: column; justify-content: flex-end; padding: 32px 30px; color: #fff; text-decoration: none; border-radius: 26px; }
.tall img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tall::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(var(--dark-rgb) / .94) 15%, rgb(var(--dark-rgb) / .2) 75%); }
.tall:hover img { transform: scale(1.05); }
.tall .panel__n { top: 26px; left: 26px; }
.tall h3 { color: #fff; font-size: 32px; font-weight: 450; letter-spacing: -.03em; }
.tall ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 4px; font-size: 14px; color: var(--on-dark); }
.tall .more { margin-top: 18px; color: var(--accent-soft); }


/* Closing call to action: a navy card with an arched photo */
.cta-vault { padding: clamp(16px, 3vw, 40px) 0 clamp(80px, 9vw, 120px); }
.cta-vault__card { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(36px, 5vw, 72px); border-radius: 32px; color: #fff; background: radial-gradient(640px 420px at 100% 0%, rgb(var(--accent-rgb) / .24), transparent 70%), radial-gradient(600px 420px at 0% 100%, rgb(var(--glow-rgb) / .6), transparent 70%), var(--dark); }
.cta-vault .h2 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.8rem); }
.cta-vault .lead { color: var(--on-dark); margin-top: 18px; max-width: 520px; }
.cta-vault__arch { margin: 0; justify-self: end; width: min(100%, 340px); aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--arch); box-shadow: 0 0 0 1px rgb(var(--accent-rgb) / .45), 0 0 0 12px rgba(255, 255, 255, .03), 0 40px 80px -30px rgba(0, 0, 0, .6); }
.cta-vault__arch img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.cta-vault__card:hover .cta-vault__arch img { transform: scale(1.04); }

/* Photo hero for inner pages: the photo stands in an arch beside the copy */
.phero--photo { isolation: isolate; color: #fff; background: radial-gradient(760px 560px at 80% 52%, rgb(var(--accent-rgb) / .16), transparent 70%), radial-gradient(900px 600px at 0% -10%, rgb(var(--glow-rgb) / .6), transparent 70%), var(--dark); padding: clamp(48px, 6vw, 88px) 0 clamp(64px, 8vw, 104px); }
.phero--photo::before { display: none; }
.phero__arch { position: relative; margin: 0; justify-self: center; width: min(100%, 390px); aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--arch); box-shadow: 0 0 0 1px rgb(var(--accent-rgb) / .45), 0 0 0 14px rgba(255, 255, 255, .03), 0 50px 110px -40px rgb(var(--accent-rgb) / .45); }
.phero__arch img { width: 100%; height: 100%; object-fit: cover; }
.motion .phero__arch img { animation: kenburns 14s ease-out both; }
.phero--photo .display { color: #fff; }
.phero--photo .lead { color: var(--on-dark); }
.phero--photo .kicker { color: var(--accent-soft); border-color: rgb(var(--accent-rgb) / .32); background: rgb(var(--accent-rgb) / .08); }
.phero--photo .crumbs, .phero--photo .crumbs a { color: var(--on-dark-2); }
.phero--photo .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.phero--photo .btn--ghost:hover { border-color: #fff; }
.phero--photo .btn--navy { background: var(--accent-grad); color: var(--on-accent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 10px 26px -12px rgb(var(--accent-rgb) / .9); }
.nav--over ~ main > .phero--photo:first-child { margin-top: calc(-1 * var(--nav-h)); padding-top: calc(var(--nav-h) + clamp(40px, 5vw, 72px)); }

/* One warm grade on every photo, so the set reads as one shoot */
.cine__slide, .tile img, .panel img, .tall img, .stage__photo img, .phero__arch img, .cta-vault__arch img, .photo img, .photo-card img, .region img, .dd__feature img { filter: var(--photo-filter); }

/* Moving (parallax) photos are taller than their frame and centred, so no edge ever shows */
.stage__photo img, .photo img, .photo-card img { position: relative; top: -6%; }

/* The capsule is clear over a dark hero, and turns white once you scroll or open a menu */
.nav__logo .logo-on-dark { display: none; }
.nav.is-clear .nav__inner { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .14); box-shadow: none; }
.nav.is-clear .logo-on-light { display: none; }
.nav.is-clear .logo-on-dark { display: block; }
.nav.is-clear .nav__trigger, .nav.is-clear .nav__a { color: rgba(255, 255, 255, .88); }
.nav.is-clear .nav__trigger:hover, .nav.is-clear .nav__a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.nav.is-clear .nav__trigger.is-active, .nav.is-clear .nav__a.is-active { color: #fff; background: rgba(255, 255, 255, .14); }
.nav.is-clear .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.nav.is-clear .btn--navy { background: #fff; color: var(--navy); }
.nav.is-clear .nav__toggle { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }

/* ================= Scroll story: one sale through the business =================
   Default: a plain dark panel (phones, no JavaScript, reduced motion).
   .is-live (large screens): the section pins for several screens of scrolling; site.js sets
   --open (the arch opening into the panel), --shift (bill moving aside), --k (scene scale),
   --seed-y, the clip-path, and .is-on on [data-at] / [data-from] elements as you scroll. */
.story { position: relative; padding: clamp(72px, 9vw, 120px) 0; background: #fff; }
.story__intro { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; padding: 0 24px; text-align: center; }
.story__intro .kicker { margin-inline: auto; }
.story__hint { display: none; flex-direction: column; align-items: center; gap: 8px; margin-top: 20px; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.story__hint i { width: 1px; height: 34px; background: linear-gradient(var(--accent-mid), transparent); transform-origin: top; }
.motion .story__hint i { animation: story-hint 2.2s ease-in-out infinite; }
@keyframes story-hint { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

.story__vault { position: relative; isolation: isolate; overflow: hidden; width: min(100% - 48px, 1320px); margin: 48px auto 0; padding: clamp(32px, 5vw, 64px) clamp(20px, 4vw, 56px); border-radius: 32px; color: #fff; background: radial-gradient(900px 560px at 50% 115%, rgb(var(--glow-rgb) / .75), transparent 70%), radial-gradient(700px 420px at 50% -10%, rgb(var(--accent-rgb) / .22), transparent 70%), var(--dark); }
.story__dust { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.story__rings { position: absolute; left: 50%; top: var(--seed-y, 0px); z-index: -1; width: 0; height: 0; pointer-events: none; transform: scale(calc(1 + var(--open, 0) * .5)); opacity: calc(1 - var(--open, 0) * .45); }
.story__rings i { position: absolute; left: calc(var(--r) * -1px); top: calc(var(--r) * -1px); width: calc(var(--r) * 2px); height: calc(var(--r) * 1px + 1600px); border: 1px solid rgba(255, 255, 255, .13); border-bottom: 0; border-radius: calc(var(--r) * 1px) calc(var(--r) * 1px) 0 0; }
.story__seed { display: none; }
.story__scene { position: relative; display: grid; gap: 28px; justify-items: start; }
.story__captions { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: step; }
.story__captions li { counter-increment: step; display: flex; align-items: baseline; gap: 14px; font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 450; letter-spacing: -.02em; color: #fff; }
.story__captions li::before { content: counter(step, decimal-leading-zero); font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--accent-soft); }
.story__bill { width: min(100%, 380px); padding: 16px 20px 14px; border-radius: 18px; background: #fff; color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); font-size: 14px; }
.story__bill-head { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; margin-bottom: 2px; border-bottom: 1px dashed var(--line-cool); font-size: 12px; color: var(--muted); }
.story__bill-head span:last-child { font-family: var(--mono); font-size: 11px; }
.story__line, .story__total { display: flex; justify-content: space-between; gap: 12px; margin: 0 -8px; padding: 9px 8px; border-bottom: 1px solid var(--line-cool); border-radius: 6px; }
.story__line span { color: var(--muted); }
.story__line b, .story__total b { font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.story__total { border-bottom: 0; padding-top: 12px; align-items: baseline; font-weight: 500; }
.story__total b { font-size: 24px; letter-spacing: -.02em; }
.story__seal { display: flex; align-items: center; gap: 8px; margin-top: 4px; padding: 9px 12px; border-radius: 10px; background: var(--accent-tint); color: var(--accent-text); font-size: 13px; font-weight: 500; }
.story__seal .ico { width: 16px; height: 16px; flex: none; }
.story__note { margin-top: 10px; font-size: 11.5px; color: var(--muted); text-align: center; }
.story__wires { display: none; }
.story__wire { fill: none; stroke: var(--accent-soft); stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.story__spark { fill: #fff; opacity: 0; filter: drop-shadow(0 0 6px var(--accent-soft)); }
.story__nodes { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.story__nodes li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; background: rgba(255, 255, 255, .05); }
.story__nodes .ico { flex: none; width: 36px; height: 36px; padding: 8px; border-radius: 11px; background: rgb(var(--accent-rgb) / .22); color: var(--accent-soft); }
.story__nodes b { display: block; font-size: 15px; font-weight: 500; color: #fff; }
.story__nodes small { display: block; font-size: 13px; color: var(--on-dark-2); }

.story.is-live { height: 380vh; padding: 0; }
.story.is-live .story__stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.story.is-live .story__intro { position: absolute; left: 0; right: 0; top: calc(var(--nav-h) + 24px); opacity: calc(1 - var(--open) * 2.2); transform: translateY(calc(var(--open) * -48px)); }
.story.is-live .story__hint { display: inline-flex; }
.story.is-live .story__vault { position: absolute; top: calc(var(--nav-h) + 12px); bottom: 20px; left: max(24px, calc((100% - 1320px) / 2)); right: max(24px, calc((100% - 1320px) / 2)); width: auto; margin: 0; padding: 0; border-radius: 0; will-change: clip-path; }
.story.is-live .story__seed { display: block; position: absolute; left: 50%; top: var(--seed-y); transform: translate(-50%, -50%) scale(calc(1 + var(--open) * .8)); opacity: calc(1 - var(--open) * 1.8); filter: drop-shadow(0 0 26px rgb(var(--accent-rgb) / .7)); }
.story.is-live .story__seed .mark { display: block; }
.motion .story.is-live .story__seed .mark { animation: seed-glow 2.8s ease-in-out infinite alternate; }
@keyframes seed-glow { from { transform: translateY(-4px); } to { transform: translateY(4px); } }
.story.is-live .story__scene { position: absolute; left: 50%; top: 50%; display: block; width: 1000px; height: 580px; transform: translate(-50%, -50%) scale(var(--k, 1)); }
.story.is-live .story__captions li { position: absolute; left: 0; right: 0; top: 0; justify-content: center; text-align: center; font-size: 30px; opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.story.is-live .story__captions li.is-on { opacity: 1; transform: none; }
.story.is-live .story__bill { position: absolute; left: 320px; top: 92px; width: 360px; translate: calc(var(--shift, 0) * -260px) 0; opacity: 0; transform: translateY(24px) scale(.96); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.story.is-live .story__bill.is-on { opacity: 1; transform: none; }
/* The bill prints line by line: each line opens from zero height as it switches on. */
.story.is-live .story__line, .story.is-live .story__total, .story.is-live .story__seal { overflow: hidden; max-height: 0; margin-block: 0; padding-block: 0; border-bottom-color: transparent; opacity: 0; transform: translateX(-10px); transition: opacity .4s var(--ease), transform .4s var(--ease), max-height .45s var(--ease), padding .45s var(--ease), margin .45s var(--ease); }
.story.is-live .story__line.is-on, .story.is-live .story__total.is-on, .story.is-live .story__seal.is-on { opacity: 1; transform: none; }
.story.is-live .story__line.is-on { max-height: 64px; padding-block: 9px; border-bottom-color: var(--line-cool); }
.story.is-live .story__total.is-on { max-height: 72px; padding-block: 12px 9px; }
.story.is-live .story__seal.is-on { max-height: 64px; margin-top: 4px; padding-block: 9px; }
.story:not(.is-live) .story__rings { display: none; }
.story.is-live .story__line.is-on, .story.is-live .story__total.is-on { animation: story-line 1.4s var(--ease); }
@keyframes story-line { from { background: var(--accent-tint-2); } to { background: transparent; } }
.story.is-live .story__wires { display: block; position: absolute; left: 0; top: 0; width: 1000px; height: 580px; overflow: visible; }
.story.is-live .story__nodes { display: block; }
.story.is-live .story__nodes li { position: absolute; left: 620px; top: var(--y); width: 360px; height: 72px; opacity: 0; transform: translateX(16px); transition: opacity .5s var(--ease), transform .5s var(--ease), border-color .5s; }
.story.is-live .story__nodes li.is-on { opacity: 1; transform: none; border-color: rgb(var(--accent-rgb) / .5); }

/* Customer logo strip */
.logos { padding: 34px 0 32px; border-bottom: 1px solid var(--line-cool); overflow: hidden; }
.logos__title { text-align: center; font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; }
.logos__title em { display: block; margin-top: 8px; font-family: "Inter", sans-serif; font-style: normal; font-size: 12.5px; letter-spacing: .02em; text-transform: none; color: var(--warn); }
.logos__mask { -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logos__track { display: flex; width: max-content; }
.motion .logos__track { animation: marquee 42s linear infinite; }
.logos:hover .logos__track { animation-play-state: paused; }
.logos ul { display: flex; align-items: center; gap: 72px; margin: 0; padding: 0 72px 0 0; list-style: none; }
.logos img { height: 34px; width: auto; filter: grayscale(1) opacity(.6); transition: filter .3s; }
.logos img:hover { filter: none; }
.logos__ph { display: inline-flex; align-items: center; gap: 10px; }
.logos__ph::before { content: ""; width: 16px; height: 16px; transform: rotate(45deg); border: 2px solid #C9CED7; }
.logos__ph::after { content: ""; width: var(--w); height: 12px; border-radius: 2px; background: #DDE1E7; }


/* ================= Marketplace (page: /marketplace/, data: src/data/marketplace.mjs) ================= */
/* Lettered tiles in six tones, used instead of third-party logos. */
.mk-logo { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; font-size: 15px; font-weight: 600; letter-spacing: -.02em; }
.mk-logo--0 { background: var(--accent-tint); color: var(--accent-text); }
.mk-logo--1 { background: #E8F0FE; color: #1967D2; }
.mk-logo--2 { background: #E7F7F0; color: #08735A; }
.mk-logo--3 { background: #FCEFEC; color: #B23F2E; }
.mk-logo--4 { background: #FFF4D6; color: #8A5A00; }
.mk-logo--5 { background: #EEF0F4; color: #3A4256; }
.mk-logo--brand { background: #fff; box-shadow: inset 0 0 0 1px var(--line-cool); }
.mk-logo svg, .mk-logo img { width: 30px; height: 30px; object-fit: contain; }
.mk-logo .ico { width: 22px; height: 22px; }
.mk-float .mk-logo { box-shadow: none; }
.mk-float .mk-logo svg { width: 40px; height: 40px; }

/* Home and platform preview */
.mk-preview { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mk-preview a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line-cool); border-radius: 18px; background: #fff; text-decoration: none; transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; }
.mk-preview a:hover { transform: translateY(-3px); border-color: var(--accent-line); box-shadow: var(--shadow); }
.mk-preview b { display: block; color: var(--ink); font-size: 15px; font-weight: 500; }
.mk-preview small { display: block; color: var(--muted); font-size: 13px; }
.mk-preview__more { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; }
.mk-preview__more span { color: var(--muted); font-size: 14.5px; }

/* Page hero: brand band with the search */
.mk-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; padding: calc(var(--nav-h) + clamp(36px, 5vw, 64px)) 0 clamp(48px, 6vw, 80px); margin-top: calc(-1 * var(--nav-h)); background: radial-gradient(700px 480px at 85% 30%, rgb(var(--accent-rgb) / .35), transparent 70%), radial-gradient(800px 500px at 0% 0%, rgb(var(--glow-rgb) / .7), transparent 70%), var(--dark); }
.mk-hero__inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 40px; align-items: center; }
.mk-hero .display { color: #fff; }
.mk-hero .lead { margin-top: 14px; max-width: 620px; color: var(--on-dark); }
.mk-hero .crumbs, .mk-hero .crumbs a { color: var(--on-dark-2); }
.mk-search { display: flex; align-items: center; gap: 10px; max-width: 640px; height: 58px; margin-top: 28px; padding: 0 10px 0 18px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .55); }
.mk-search:focus-within { box-shadow: 0 0 0 4px rgb(var(--accent-rgb) / .45), 0 24px 50px -20px rgba(0, 0, 0, .55); }
.mk-search > .ico { width: 20px; height: 20px; color: var(--muted); }
.mk-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink); }
.mk-search input::-webkit-search-cancel-button { display: none; }
.mk-search__clear { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); }
.mk-search__clear:hover { background: var(--mist); color: var(--ink); }
.mk-try { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; color: var(--on-dark); }
.mk-try button { padding: 7px 14px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff; font-size: 13.5px; font-weight: 450; }
.mk-try button:hover { background: rgba(255, 255, 255, .2); }
.mk-hero__tiles { position: relative; height: 280px; }
.mk-float { position: absolute; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 20px; background: rgba(255, 255, 255, .96); box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .55); }
.mk-float .mk-logo { width: 52px; height: 52px; font-size: 18px; }
.mk-float:nth-child(1) { left: 8%; top: 4%; } .mk-float:nth-child(2) { left: 52%; top: 0; } .mk-float:nth-child(3) { left: 30%; top: 36%; }
.mk-float:nth-child(4) { left: 74%; top: 34%; } .mk-float:nth-child(5) { left: 4%; top: 68%; } .mk-float:nth-child(6) { left: 50%; top: 72%; }
.motion .mk-float { animation: mk-drift 7s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -1.2s); }
@keyframes mk-drift { from { transform: translateY(-8px) rotate(-2deg); } to { transform: translateY(8px) rotate(2deg); } }

/* Results: filters beside the cards */
.mk__layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 32px; align-items: start; }
.mk__sheet { position: sticky; top: calc(var(--nav-h) + 16px); border: 1px solid var(--line-cool); border-radius: 20px; background: #fff; }
.mk__sheet summary { display: flex; align-items: center; gap: 8px; padding: 18px 20px 6px; font-weight: 500; color: var(--ink); list-style: none; cursor: default; }
.mk__sheet summary::-webkit-details-marker { display: none; }
.mk__count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--accent-mid); color: #fff; font-size: 12px; }
.mk__panel { display: grid; gap: 18px; padding: 10px 20px 20px; }
.mk-group { margin: 0; padding: 0; border: 0; display: grid; gap: 8px; }
.mk-group legend { margin-bottom: 6px; font-size: 13px; font-weight: 500; color: var(--ink); }
.mk-group label { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--text); cursor: pointer; }
.mk-group label .mk-n { margin-left: auto; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.mk-group input { width: 16px; height: 16px; margin: 0; accent-color: var(--accent-mid); }
.mk__clear { justify-self: start; padding: 0; border: 0; background: none; color: var(--accent-text); font-size: 13.5px; font-weight: 500; }
.mk__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.mk__chips button { padding: 8px 16px; border: 1px solid var(--line-cool); border-radius: 999px; background: #fff; color: var(--text); font-size: 14px; font-weight: 450; }
.mk__chips button:hover { border-color: var(--accent-line); }
.mk__chips button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.mk__bar { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 20px; margin-bottom: 16px; }
.mk__bar h2 { color: var(--ink); font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.mk__bar p { color: var(--muted); font-size: 14px; }
.mk__bar b { color: var(--ink); }
.mk__sort { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.mk__sort select { padding: 8px 12px; border: 1px solid var(--line-cool); border-radius: 10px; background: #fff; font: inherit; color: var(--ink); }
.mk__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.mk__grid[hidden], .mk-card[hidden], .mk__empty[hidden], .mk__count[hidden], .mk-search__clear[hidden] { display: none; }
.mk-card { display: flex; flex-direction: column; padding: 18px 18px 0; border: 1px solid var(--line-cool); border-radius: 18px; background: #fff; transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; }
.mk-card:hover { transform: translateY(-3px); border-color: var(--accent-line); box-shadow: var(--shadow); }
.mk-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.mk-badge { padding: 4px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 500; white-space: nowrap; }
.mk-badge--launch { background: #E7F7F0; color: #08735A; }
.mk-badge--later { background: var(--mist); color: var(--muted); }
.mk-card h3 { color: var(--ink); font-size: 16px; font-weight: 500; letter-spacing: -.01em; }
.mk-card__by { margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.mk-card__sum { flex: 1; margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--text); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mk-card__foot { display: flex; justify-content: space-between; gap: 10px; margin: 16px -18px 0; padding: 11px 18px; border-top: 1px solid var(--line-cool); font-size: 12.5px; color: var(--muted); }
.mk__empty { display: grid; justify-items: center; gap: 8px; padding: 56px 24px; border: 1px dashed var(--line-cool); border-radius: 20px; text-align: center; }
.mk__empty > .ico { width: 34px; height: 34px; color: var(--accent-soft); }
.mk__empty h3 { color: var(--ink); font-size: 19px; font-weight: 500; }
.mk__empty p { max-width: 440px; color: var(--muted); font-size: 14.5px; }
.mk__more { display: flex; justify-content: center; margin-top: 22px; }
.mk__request { margin-top: 26px; text-align: center; color: var(--muted); font-size: 14.5px; }
.mk__request a { color: var(--accent-text); font-weight: 500; }
.mk .note { margin-top: 18px; text-align: center; }

/* Dark footer */
.footer { background: var(--dark); color: var(--on-dark-2); border-top: 0; }
.footer nav b { color: #fff; }
.footer nav a, .footer__legal a { color: var(--on-dark-2); }
.footer nav a:hover, .footer__legal a:hover, .footer__link:hover { color: #fff; }
.footer__brand p { color: var(--on-dark-2); }
.footer__bottom { border-top-color: var(--line-dark); color: var(--on-dark-3); flex-wrap: wrap; }
/* Region picker: the visitor can change the market the site shows (see src/region.mjs). */
.region-pick { display: inline-flex; align-items: center; gap: 8px; }
.region-pick .ico { width: 16px; height: 16px; color: var(--accent-soft); }
.region-pick label { color: var(--on-dark-3); }
.region-pick select { padding: 6px 30px 6px 12px; border: 1px solid var(--dark-line); border-radius: 999px; background: var(--dark-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ABA0CC' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 14px; color: #fff; font: inherit; appearance: none; cursor: pointer; }
.region-pick select:not([hidden]) ~ a { display: none !important; }
.region-pick a { color: #fff; }
.footer .footer__legal { display: flex; flex-wrap: wrap; gap: 20px; font-size: 13px; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1080px) {
  .nav__links, .nav__actions { display: none; }
  .nav__toggle { display: inline-flex; }
  .cards, .cards--3, .cards--4, .sec-grid, .regions { grid-template-columns: 1fr 1fr; }
  .sec-card--wide { grid-column: span 2; }
  .hw { grid-template-columns: repeat(2, 1fr); }
  .action__tabs { grid-template-columns: repeat(3, 1fr); }
  .mosaic, .tall3 { grid-template-columns: 1fr 1fr; }
  .mk-preview { grid-template-columns: repeat(2, 1fr); }
  .mk-hero__inner { grid-template-columns: 1fr; }
  .mk-hero__tiles { display: none; }
  .tall3 .tall:first-child { grid-column: 1 / -1; }
  .footer__cols { grid-template-columns: repeat(4, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .hero__head, .section__head--split, .feature, .faq, .demo__grid { grid-template-columns: 1fr; gap: 28px; }
  .hero__art { max-width: 420px; }
  .cine__inner, .action__panel { grid-template-columns: 1fr; }
  .cine__inner { gap: 56px; }
  .showcase__stage { width: min(100%, 340px); }
  .panels { flex-direction: column; height: auto; }
  .panel { flex: none !important; min-height: 280px; border-radius: 22px; }
  .panel p, .panel .more { opacity: 1; max-height: none; }
  .tall3 { grid-template-columns: 1fr; }
  .tall3 .tall:first-child { grid-column: auto; }
  .tall { min-height: 420px; border-radius: 24px; }
  .phero__grid, .pains, .facts-table, .cta-band__inner, .plans { grid-template-columns: 1fr; }
  .phero__arch { width: min(100%, 280px); justify-self: start; }
  .cta-vault__card { grid-template-columns: 1fr; }
  .mk__layout { grid-template-columns: 1fr; gap: 18px; }
  .mk__sheet { position: static; }
  .mk__sheet summary { padding-bottom: 18px; cursor: pointer; }
  .mk__sheet summary::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .3s var(--ease); }
  .mk__sheet[open] summary::after { transform: rotate(-135deg); }
  .mk__sheet[open] summary { padding-bottom: 6px; }
  .cta-vault__arch { order: -1; justify-self: start; width: 180px; }
  .orbit { max-width: 400px; }
  .layers__item:nth-child(2), .layers__item:nth-child(3) { margin-left: 0; }
  .hero::before { inset: 0; -webkit-mask-image: radial-gradient(ellipse 80% 50% at 50% 70%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 80% 50% at 50% 70%, #000 10%, transparent 75%); }
  .feature--flip .feature__text { order: 0; }
  .stage__scene { height: auto; display: grid; }
  .stage__photo { position: relative; height: 260px; }
  .stage__photo img { height: 100%; top: 0; transform: none !important; }
  .bill { position: relative; right: auto; top: auto; transform: none; width: auto; margin: -40px 12px 12px; }
  .chip--scale { bottom: auto; top: 200px; }
  .sync { grid-template-columns: 1fr; gap: 20px; }
  .sync__links { display: none; }
  .sync__cloud { max-width: none; }
  .facts3, .facts__grid { grid-template-columns: 1fr 1fr; }
  .laws ul { grid-template-columns: 1fr 1fr; }
  .sec-card--wide { grid-template-columns: 1fr; }
  .win__body { grid-template-columns: 1fr; }
  .win__side { border-left: 0; border-top: 1px solid var(--line-cool); }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .cards, .cards--2, .cards--3, .cards--4, .sec-grid, .regions, .hw, .facts3, .picker__grid { grid-template-columns: 1fr; }
  .facts-table div { grid-template-columns: 110px 1fr; }
  .mosaic { grid-template-columns: 1fr; }
  .mk-preview { grid-template-columns: 1fr; }
  .mk-search { height: 52px; }
  .hw__item { min-height: 220px; }
  .hwi { width: 60%; }
  .logos ul { gap: 44px; padding-right: 44px; }
  .tile { min-height: 320px; padding: 28px 24px; }
  .action__tabs { grid-template-columns: 1fr 1fr; }
  .nav__inner { width: calc(100% - 24px); padding-left: 18px; }
  .cta-vault__card { border-radius: 26px; padding: 32px 24px; }
  .dash__rows div { grid-template-columns: 90px 64px 1fr; }
  .dash__rows .sync-note { grid-column: 1 / -1; }
  .orbit__node { font-size: 12px; padding: 7px 10px; }
  .orbit__node .ico { display: none; }
  .sec-card--wide { grid-column: auto; }
  .form__row { grid-template-columns: 1fr; }
  .laws ul { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; }
  .win__row { grid-template-columns: 1fr 1fr; }
  .win__row span:nth-child(2) { text-align: right; }
  .win__row span:nth-child(3) { text-align: left; }
  .phone { width: 210px; }
  .phone--back { display: none; }
  .stage__tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; border-radius: 14px; }
  .stage__tab { border-radius: 10px; }
  .chip--scale { display: none; }
  .photo-card { aspect-ratio: auto; overflow: visible; box-shadow: none; }
  .photo-card img { height: 240px; top: 0; border-radius: var(--r-md); transform: none !important; }
  .recon, .ask { position: relative; inset: auto; width: auto; margin: -36px 12px 0; }
  .device { grid-template-columns: auto 1fr auto; row-gap: 6px; }
  .device > .ico { grid-row: 1 / span 2; }
  .device > div { grid-column: 2; grid-row: 1; }
  .device .pill { grid-column: 2; grid-row: 2; justify-self: start; }
  .device strong { grid-column: 3; grid-row: 1 / span 2; }
  .consent { left: 16px; bottom: 16px; padding: 18px; }
  .consent__actions { flex-wrap: wrap; }
  .consent__actions .btn--navy { margin-left: 0; flex: 1 1 100%; justify-content: center; order: -1; }
  .footer__link { margin-left: 0; }
}

/* ============================ The wider site ============================ */

/* Security on a light page (home): white cards, the cipher demo stays a dark "screen" */
.security.security--light { background: var(--sand); color: var(--text); }
.security--light .h2 { color: var(--ink); }
.security--light .lead { color: var(--muted); }
.security--light .sec-card { background: #fff; border-color: var(--line-cool); }
.security--light .sec-card:hover { border-color: var(--accent-line); box-shadow: var(--shadow); }
.security--light .sec-card > .ico, .security--light .sec-card__text > .ico { color: var(--accent-mid); }
.security--light .sec-card h3 { color: var(--ink); }
.security--light .sec-card p { color: var(--muted); }
.security--light .sec-card--wide { background: #fff; }

/* Reviews, ratings and press (components.mjs reviewsSection): total, one review at a time, a tile per review site */
.reviews__grid { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr) minmax(0, 1.6fr); gap: 16px; align-items: stretch; }
.reviews__grid--no-total { grid-template-columns: minmax(0, 2fr) minmax(0, 1.6fr); }
.reviews__grid--no-tiles { grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr); }
.reviews__grid--no-total.reviews__grid--no-tiles { grid-template-columns: minmax(0, 1fr); }
.reviews__total { display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding: 30px 28px; border-radius: 24px; color: #fff; background: var(--accent-grad); }
.reviews__total b { font-size: clamp(2.8rem, 4.6vw, 4rem); font-weight: 500; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.reviews__total span { color: rgba(255, 255, 255, .86); }
.reviews__quote { display: flex; flex-direction: column; gap: 18px; padding: 26px 28px 22px; border: 1px solid var(--line-cool); border-radius: 24px; background: #fff; min-width: 0; }
.review { margin: 0; display: grid; gap: 16px; }
.review[hidden] { display: none; }
.review__head { display: flex; align-items: center; gap: 12px; }
.review__head > div { flex: 1; min-width: 0; display: grid; }
.review__head small { color: var(--muted); }
.review__avatar { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-tint-2); color: var(--accent-deep); font-weight: 600; }
.review blockquote { margin: 0; }
.review blockquote p { margin: 0; color: var(--ink); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.review figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; padding-top: 14px; border-top: 1px solid var(--line-cool); font-size: .92rem; color: var(--muted); }
.review figcaption a { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-text); font-weight: 500; }
.stars { color: #C9921A; letter-spacing: 1px; white-space: nowrap; }
.reviews__nav { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.reviews__arrow { width: 40px; height: 40px; border: 1px solid var(--line-cool); border-radius: 50%; background: #fff; color: var(--ink); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.reviews__arrow:hover { border-color: var(--accent-line); color: var(--accent-text); }
.reviews__dots { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.reviews__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: var(--line-cool); cursor: pointer; transition: width .25s, background .25s; }
.reviews__dots button[aria-current="true"] { width: 24px; background: var(--accent-mid); }
.reviews__ratings { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rating { display: grid; align-content: center; justify-items: center; gap: 6px; padding: 22px 16px; border: 1px solid var(--line-cool); border-radius: 24px; background: #fff; color: var(--ink); text-align: center; text-decoration: none; }
.rating:hover { border-color: var(--accent-line); box-shadow: var(--shadow); }
.rating span { display: inline-flex; align-items: baseline; gap: 8px; }
.rating strong { font-size: 1.5rem; font-weight: 600; }
.rating small { color: var(--muted); }
.press { display: flex; align-items: center; gap: 24px; margin-top: 16px; padding: 18px 28px; border: 1px solid var(--line-cool); border-radius: 24px; background: #fff; }
.press p { margin: 0; flex: none; font-weight: 600; color: var(--ink); }
.press ul { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 36px; margin: 0; padding: 0; list-style: none; }
.press a { color: var(--muted); font-weight: 600; text-decoration: none; }
.press a:hover { color: var(--ink); }
.press img { display: block; height: 28px; width: auto; filter: grayscale(1); opacity: .75; }
.press a:hover img { filter: none; opacity: 1; }
@media (max-width: 1100px) {
  .reviews__grid, .reviews__grid--no-total, .reviews__grid--no-tiles { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .press { flex-direction: column; align-items: flex-start; }
}

/* Use cases */
.uc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.uc-card { display: grid; gap: 6px; align-content: start; padding: 20px 18px; border: 1px solid var(--line-cool); border-radius: 18px; text-decoration: none; background: #fff; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.uc-card .ico { width: 24px; height: 24px; color: var(--accent-mid); margin-bottom: 6px; }
.uc-card b { color: var(--ink); font-weight: 450; font-size: 16px; line-height: 1.3; }
.uc-card small { color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.uc-card:hover { transform: translateY(-3px); border-color: var(--accent-line); box-shadow: var(--shadow); }
.uc { scroll-margin-top: var(--nav-h); }
.uc__row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.uc__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--accent-tint); color: var(--accent-mid); margin-bottom: 22px; }
.uc__icon .ico { width: 26px; height: 26px; }
.uc__moment { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 12px; }
.uc__head .lead { margin-top: 18px; }
.uc__body .ticks { margin-top: 6px; }
.uc__apps { margin: 30px 0 12px; font-size: 13px; color: var(--muted); }

/* Blog: cover art, cards and posts */
.blog-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 22px; }
.blog-card a { display: grid; gap: 10px; text-decoration: none; }
.blog-card .cover { transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.blog-card a:hover .cover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card__meta { margin-top: 8px; font-size: 13px; color: var(--muted); }
.blog-card b { color: var(--ink); font-size: 19px; font-weight: 450; line-height: 1.3; letter-spacing: -.01em; }
.blog-card a:hover b { color: var(--accent-text); }
.blog-card small { color: var(--muted); font-size: 15px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cover { position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 16 / 10; display: flex; align-items: flex-end; padding: 22px 24px; border-radius: 20px; color: #fff; background: var(--dark); }
.cover::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 85% 10%, rgba(255, 255, 255, .22), transparent 45%); }
.cover__icon { position: absolute; top: 18px; right: 18px; width: 30%; height: auto; aspect-ratio: 1; opacity: .3; stroke-width: 1.2; }
.cover__title { position: relative; max-width: 88%; font-size: 18px; font-weight: 450; line-height: 1.3; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cover--violet { background: linear-gradient(140deg, var(--accent-mid), var(--accent-deep)); }
.cover--plum { background: linear-gradient(140deg, #4A2378, #23113F); }
.cover--night { background: linear-gradient(140deg, var(--dark-2), var(--dark)); }
.cover--gold { background: linear-gradient(140deg, #B7862F, #7A5519); }
.cover--rose { background: linear-gradient(140deg, #A8466F, #6B2346); }
.post { padding-top: clamp(36px, 5vw, 64px); }
.post__wrap { max-width: 820px; }
.post__meta { display: flex; gap: 14px; margin-bottom: 18px; font-size: 14px; color: var(--muted); }
.post__meta span { color: var(--accent-text); font-weight: 500; }
.post .lead { margin-top: 20px; }
.post__cover { margin: 40px 0 8px; aspect-ratio: 21 / 9; }
.post__cover .cover__title { display: none; }
.post__cover .cover__icon { width: 22%; top: 50%; right: 50%; transform: translate(50%, -50%); opacity: .45; }
.post__body { font-size: 18px; line-height: 1.75; }
.post__body p { margin-top: 18px; }
.post__body h2 { margin-top: 44px; }

/* Press kit */
.press-logos { display: grid; grid-template-columns: 1.2fr 1.2fr .8fr; gap: 16px; }
.press-logo { margin: 0; display: grid; grid-template-rows: 1fr auto; justify-items: center; gap: 22px; padding: 44px 28px 22px; border-radius: 20px; background: var(--mist); border: 1px solid var(--line-cool); }
.press-logo img { align-self: center; max-height: 72px; width: auto; }
.press-logo figcaption { font-size: 14px; color: var(--muted); }
.press-logo a { color: var(--accent-text); }
.press-logo--dark { background: var(--dark); border-color: var(--dark); }
.press-logo--dark figcaption { color: var(--on-dark-2); }
.press-logo--dark a { color: var(--accent-soft); }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.swatch { display: grid; border: 1px solid var(--line-cool); border-radius: 16px; overflow: hidden; background: #fff; }
.swatch span { height: 96px; border-bottom: 1px solid var(--line-cool); }
.swatch b { padding: 12px 14px 0; color: var(--ink); font-weight: 450; font-size: 15px; }
.swatch code { padding: 2px 14px 14px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.facts-table--one { grid-template-columns: 1fr; }

/* Developers: the two-door band and code samples */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.duo__card { position: relative; isolation: isolate; overflow: hidden; display: grid; align-content: start; gap: 14px; padding: clamp(30px, 4vw, 48px); border-radius: 28px; color: #fff; background: radial-gradient(520px 320px at 100% 0%, rgb(var(--accent-rgb) / .38), transparent 70%), var(--dark); }
.duo__card h2 { color: #fff; font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 400; letter-spacing: -.025em; line-height: 1.15; }
.duo__card p { color: var(--on-dark); max-width: 440px; }
.duo__card .btn { margin-top: 12px; justify-self: start; }
.duo__card .btn--navy { background: #fff; color: var(--navy); }
.duo__tag { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-soft); }
.duo__card--soft { color: var(--text); background: radial-gradient(520px 320px at 100% 0%, rgb(var(--accent-rgb) / .14), transparent 70%), var(--sand); }
.duo__card--soft h2 { color: var(--ink); }
.duo__card--soft p { color: var(--muted); }
.duo__card--soft .duo__tag { color: var(--accent-text); }
.dev-split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.dev-split .section__head { margin-bottom: 0; }
.dev-split .note { margin-top: 18px; }
.code { margin: 0; border-radius: 20px; overflow: hidden; background: var(--dark); box-shadow: var(--shadow-lg); }
.code figcaption { padding: 12px 20px; border-bottom: 1px solid var(--dark-line); font-family: var(--mono); font-size: 12px; color: var(--on-dark-3); }
.code pre { margin: 0; padding: 20px 22px 24px; overflow-x: auto; }
.code code { font-family: var(--mono); font-size: 13.5px; line-height: 1.65; color: #E6E0F7; }

/* Downloads */
.dl-hero { position: relative; isolation: isolate; padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 6vw, 80px); background: radial-gradient(700px 360px at 85% 0%, rgb(var(--accent-rgb) / .12), transparent 70%), linear-gradient(180deg, var(--sand), #fff); }
.dl-hero__inner > * { max-width: 880px; }
.dl-hero .lead { margin-top: 20px; max-width: 640px; }
.dl-hero__note { margin-top: 18px; font-size: 14px; color: var(--muted); }
.btn.is-disabled { opacity: .55; cursor: not-allowed; pointer-events: none; }
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dl-card { padding: 28px 24px 24px; border: 1px solid var(--line-cool); border-radius: 22px; background: #fff; }
.dl-card h2 { font-size: 22px; font-weight: 450; letter-spacing: -.015em; }
.dl-card h2 a { text-decoration: none; }
.dl-card h2 a:hover { color: var(--accent-text); }
.dl-card > p { margin-top: 6px; font-size: 15px; color: var(--muted); }
.dl-card ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.dl-build { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line-cool); border-radius: 14px; text-decoration: none; transition: border-color .25s, background .25s; }
.dl-build .ico { flex: none; color: var(--accent-mid); }
.dl-build b { display: block; color: var(--ink); font-size: 15px; font-weight: 450; }
.dl-build small { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; }
a.dl-build:hover { border-color: var(--accent-mid); background: var(--accent-tint); }
.dl-build.is-soon { background: var(--mist); }
.dl-build.is-soon .ico { color: var(--muted); }
li.is-match .dl-build { border-color: var(--accent-line); box-shadow: inset 3px 0 0 var(--accent-mid); }

/* Partners: numbered steps in a card */
.steps--card { margin: 0; padding: 30px 28px; gap: 18px; background: #fff; border: 1px solid var(--line-cool); border-radius: 22px; box-shadow: var(--shadow); }
.steps--card li { font-size: 16px; }
.steps--card b { width: 34px; height: 34px; background: var(--accent-tint); color: var(--accent-text); font-size: 14px; }

/* Sitemap */
.sitemap { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 40px 36px; align-items: start; }
.sitemap h2 { margin-bottom: 14px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.sitemap ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.sitemap a { color: var(--ink); text-decoration: none; font-size: 15.5px; }
.sitemap a:hover { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }

/* Contact: the quick way into the chat */
.demo__chat { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; color: var(--muted); font-size: 15px; }
.link-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line-cool); border-radius: 999px; background: #fff; color: var(--ink); font-size: 14.5px; font-weight: 500; transition: border-color .25s, color .25s; }
.link-btn .ico { width: 18px; height: 18px; color: var(--accent-mid); }
.link-btn:hover { border-color: var(--accent-mid); color: var(--accent-text); }

/* Home: latest posts row */
.home-blog__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(32px, 4vw, 48px); }
.home-blog__head .section__head { margin-bottom: 0; }

/* The chat widget (assets/js/chat-widget.js) reads this: on phones it steps aside while the cookie
   banner is open, so it never covers the banner's buttons. */
@media (max-width: 620px) { body:has(.consent:not([hidden])) { --jg-chat-launcher: none; } }

@media (max-width: 1080px) {
  .uc-grid { grid-template-columns: repeat(3, 1fr); }
  .dl-grid, .blog-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .uc__row, .dev-split, .duo { grid-template-columns: 1fr; }
  .press-logos { grid-template-columns: 1fr 1fr; }
  .home-blog__head { flex-direction: column; align-items: start; }
}
@media (max-width: 620px) {
  .uc-grid { grid-template-columns: 1fr 1fr; }
  .dl-grid, .blog-grid, .press-logos { grid-template-columns: 1fr; }
  .post__body { font-size: 17px; }
}

/* Respect reduced motion: no smooth wheel, marquee, parallax or animated loops. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee__list[aria-hidden="true"] { display: none; }
  .marquee__list { flex-wrap: wrap; row-gap: 8px; padding-inline: 24px; }
  .logos__mask { -webkit-mask-image: none; mask-image: none; }
  .logos__track { flex-wrap: wrap; justify-content: center; width: auto; }
  .logos ul[aria-hidden="true"] { display: none; }
  .logos ul { flex-wrap: wrap; justify-content: center; row-gap: 20px; padding: 0 24px; }
}

/* Footer legal row: many policy links, so it takes its own full-width line and wraps. */
.footer .footer__legal { flex: 1 1 100%; order: 5; margin-left: 0; gap: 10px 20px; }
.footer__bottom .credits { order: 6; flex: 1 1 100%; }

/* What's new: changelog grouped by month, tagged by product */
.changelog { max-width: 860px; }
.cl-month { padding: 0 0 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line-cool); }
.cl-month__title { font-size: 26px; font-weight: 450; }
.cl-month__note { margin-top: 8px; color: var(--muted); }
.cl-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.cl-item { display: grid; grid-template-columns: 170px 1fr auto; gap: 8px 20px; align-items: baseline; padding: 16px 20px; background: #fff; border: 1px solid var(--line-cool); border-radius: var(--r-md); }
.cl-item p { margin: 0; color: var(--ink); }
.cl-tag { display: inline-flex; align-items: center; gap: 8px; width: max-content; padding: 5px 12px 5px 10px; border-radius: 999px; background: var(--accent-tint); color: var(--accent-text); font-size: 13px; font-weight: 500; }
.cl-tag .ico { width: 16px; height: 16px; }
.cl-tag--kind { padding: 4px 10px; background: var(--mist); color: var(--ink); margin-right: 12px; }
.cl-status { font-size: 13px; color: var(--warn); white-space: nowrap; }
.cl-legend { margin-top: 24px; padding: 22px 24px; background: var(--mist); border-radius: var(--r-md); }
.cl-legend ul { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 8px; }
@media (max-width: 620px) { .cl-item { grid-template-columns: 1fr; } }

/* Switching guide */
.guide { max-width: 860px; }
.guide__toc { margin-bottom: 40px; }
.guide__step { padding: 0 0 36px; margin-bottom: 36px; border-bottom: 1px solid var(--line-cool); }
.guide__step h2 { display: flex; align-items: center; gap: 14px; font-size: 26px; font-weight: 450; margin-bottom: 14px; }
.guide__step h2 span { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--accent-tint); color: var(--accent-text); font-size: 15px; }
.guide__step p { margin: 12px 0; }
.guide__step ul:not(.checklist) { padding-left: 20px; display: grid; gap: 8px; margin: 12px 0; }
.guide__step a { color: var(--accent-text); }
.guide__step .table-wrap { margin: 18px 0; }
.guide__step .table th[scope="row"] { text-transform: none; letter-spacing: 0; font-size: 15px; color: var(--ink); font-weight: 450; background: transparent; border-top: 1px solid var(--line-cool); vertical-align: top; }
.guide__step .table td { vertical-align: top; }
.guide__plan { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 12px; }
.guide__plan li { display: grid; grid-template-columns: 170px 1fr; gap: 6px 20px; padding: 14px 18px; background: #fff; border: 1px solid var(--line-cool); border-radius: var(--r-md); }
.guide__plan b { font-weight: 500; color: var(--ink); }
.checklist { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 8px; }
.checklist label { display: flex; align-items: flex-start; gap: 12px; padding: 12px 16px; background: #fff; border: 1px solid var(--line-cool); border-radius: var(--r-md); cursor: pointer; }
.checklist input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--accent-mid); }
@media (max-width: 620px) { .guide__plan li { grid-template-columns: 1fr; } .guide__step h2 { font-size: 22px; } }

/* Printing: pages read as plain documents (the switching guide is meant to be printed). */
@media print {
  .nav, .progress, .footer, .consent, .consent-panel, .cta-vault, .phero__copy .cta-row, .guide__toc, .skip, [class*="jg-chat"], [id*="jg-chat"] { display: none !important; }
  .reveal, .motion .reveal { opacity: 1 !important; transform: none !important; }
  .section, .phero { padding: 16px 0 !important; }
  .guide__step, .cl-item, .guide__plan li, .checklist li { break-inside: avoid; }
  .guide__step a::after { content: " (" attr(href) ")"; font-size: 11px; color: #555; }
  .guide__step a[href^="#"]::after { content: ""; }
  body { background: #fff; }
}
/* Narrow screens: the export table stacks, one block per row. */
@media (max-width: 620px) {
  .guide__step .table thead { display: none; }
  .guide__step .table, .guide__step .table tbody, .guide__step .table tr, .guide__step .table th, .guide__step .table td { display: block; }
  .guide__step .table tr { padding: 12px 16px; border-top: 1px solid var(--line-cool); }
  .guide__step .table tr:first-child { border-top: 0; }
  .guide__step .table th[scope="row"], .guide__step .table td { padding: 4px 0; border: 0; }
  .guide__step .table td:last-child { color: var(--muted); font-size: 14px; }
}

/* ---------- Free tools and comparison pages ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.prose-wrap { display: flex; justify-content: center; }
.prose-wrap .prose { width: 100%; }
.prose .table-wrap { margin: 16px 0; }
.prose .btn { margin: 8px 8px 0 0; }
.table--compare { min-width: 760px; }
.table--compare th[scope="row"] { text-align: left; font-weight: 500; color: var(--ink); text-transform: none; letter-spacing: 0; font-size: 15px; background: #fff; padding: 14px 18px; border-top: 1px solid var(--line-cool); width: 26%; vertical-align: top; }
.table--compare td { vertical-align: top; color: var(--muted); }
.table--compare td:nth-child(2) { color: var(--ink); }
.tool { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) { .tool { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; } .tool-out { position: sticky; top: 96px; } }
.tool-form { box-shadow: none; }
.tool-pair { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 12px; }
.tool-form small { font-size: 13px; font-weight: 400; color: var(--muted); }
.field-error { color: #B4372F; font-size: 14px; font-weight: 500; }
.tool-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.tool-out { background: var(--mist); border: 1px solid var(--line-cool); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); }
.tool-out .h3 { font-size: 20px; font-weight: 450; margin: 0 0 14px; }
.tool-rows { margin: 0; display: grid; }
.tool-rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line-cool); }
.tool-rows > div:first-child { border-top: 0; }
.tool-rows dt { color: var(--muted); }
.tool-rows dd { margin: 0; font-variant-numeric: tabular-nums; text-align: right; }
.tool-rows__strong dt { color: var(--ink); font-weight: 500; }
.tool-rows__strong dd { font-weight: 600; font-size: 1.2em; }
.tool-rows__sub dd { color: var(--muted); }
.tool-note { font-size: 14px; color: var(--muted); margin: 16px 0 0; }
.tool-error { color: #B4372F; font-weight: 500; margin: 0; }
.tag-sheet { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 16px; }
.tag { width: 60mm; min-height: 35mm; box-sizing: border-box; border: 1px solid #1d1d1f; border-radius: 2mm; padding: 2.5mm 3mm; background: #fff; color: #000; font: 400 9pt/1.25 "Inter", Arial, sans-serif; break-inside: avoid; }
.tag p { margin: 0; }
.tag__shop { font-size: 7pt; letter-spacing: .08em; text-transform: uppercase; }
.tag__name { font-size: 11pt; font-weight: 600; margin: 1mm 0; line-height: 1.2; }
.tag__style { font-size: 8pt; margin-bottom: 1mm; }
.tag__line { display: flex; justify-content: space-between; gap: 4mm; }
.tag__price { font-size: 14pt; font-weight: 700; margin-top: 1.5mm; text-align: right; }
@media print {
  body * { visibility: hidden; }
  .tool--tag [data-tag-sheet], .tool--tag [data-tag-sheet] * { visibility: visible; }
  .tool--tag [data-tag-sheet] { position: absolute; left: 0; top: 0; margin: 0; }
  .tag { border: 0.3mm solid #000; }
}
.tool > *, .tool-pair > *, .tool-form label { min-width: 0; }
.tool-form input, .tool-form select { width: 100%; min-width: 0; box-sizing: border-box; }
@media (max-width: 520px) { .tool-pair { grid-template-columns: 1fr; } }

/* Comparison tables on a phone: each row becomes a small card (need, then CrystalQR, then the other tool), so nothing needs sideways scrolling. */
@media (max-width: 720px) {
  .table--compare { min-width: 0; display: block; }
  .table--compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .table--compare tbody, .table--compare tr { display: block; }
  .table--compare tr { padding: 14px 16px 16px; border-top: 1px solid var(--line-cool); }
  .table--compare tr:first-child { border-top: 0; }
  .table--compare th[scope="row"] { display: block; width: auto; padding: 0 0 8px; border: 0; background: transparent; font-weight: 600; }
  .table--compare td { display: block; padding: 8px 0 0; }
  .table--compare td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-mid); margin-bottom: 2px; }
}