/* IQ.HR Solutions — site styles. Brand: navy #283e79 + orange ring #f0782a→#fbb63c (from the IQ.HR logo). */

@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  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"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  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: "Plus Jakarta Sans"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url("../fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2") format("woff2");
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --navy-950: #0b1533;
  --navy-900: #101d44;
  --navy-800: #16275a;
  --navy-700: #1f3473;
  --brand: #283e79;
  --blue-600: #2f54c8;
  --blue-500: #4a6fe0;
  --blue-100: #e6ecfb;
  --blue-50: #f2f5fd;
  --orange-600: #e0691a;
  --orange-500: #f0782a;
  --orange-400: #f99a3c;
  --orange-300: #fbb63c;
  --orange-50: #fff4ea;
  --teal-500: #0f9f8f;
  --violet-500: #6d4fe0;
  --green-500: #15965c;
  --red-500: #d33c3c;
  --ink: #111a33;
  --text: #2c3550;
  --muted: #5d6680;
  --line: #e2e7f1;
  --line-strong: #cfd7e8;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(16, 29, 68, .06), 0 2px 8px rgba(16, 29, 68, .05);
  --shadow: 0 2px 6px rgba(16, 29, 68, .05), 0 12px 32px rgba(16, 29, 68, .09);
  --shadow-lg: 0 6px 16px rgba(16, 29, 68, .08), 0 30px 70px rgba(16, 29, 68, .18);
  --container: 1200px;
  --chat: #5b5fc7;
  --chat-50: #eef0fb;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-700); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .6em; font-weight: 750; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 4.2vw, 3.45rem); letter-spacing: -0.025em; font-weight: 800; }
h2 { font-size: clamp(1.7rem, 2.9vw, 2.5rem); letter-spacing: -0.022em; }
h3 { font-size: 1.22rem; letter-spacing: -0.01em; }
h4 { font-size: 1.02rem; letter-spacing: 0; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
strong { color: var(--ink); font-weight: 650; }
:focus-visible { outline: 3px solid var(--orange-400); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 1em; height: 1em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.skip-link:focus { top: 12px; color: #fff; }
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 40px, 820px); margin-inline: auto; }

/* ---------- Buttons, badges ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .8em 1.35em; border-radius: 999px; font: 650 1rem/1.2 var(--font-body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn--primary { background: linear-gradient(135deg, var(--orange-300), var(--orange-500)); color: var(--navy-950); box-shadow: 0 6px 18px rgba(240, 120, 42, .32); }
.btn--primary:hover { color: var(--navy-950); box-shadow: 0 10px 26px rgba(240, 120, 42, .42); }
.btn--secondary { background: var(--navy-800); color: #fff; }
.btn--secondary:hover { background: var(--navy-700); color: #fff; }
.btn--ghost { background: #fff; color: var(--navy-800); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--navy-700); color: var(--navy-900); }
.btn--on-dark { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn--on-dark:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.btn--sm { padding: .58em 1.05em; font-size: .93rem; }
.btn--lg { padding: .95em 1.6em; font-size: 1.05rem; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 650; text-decoration: none; color: var(--blue-600); }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(3px); }
.badge { display: inline-flex; align-items: center; gap: .35em; padding: .22em .65em; border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: .02em; line-height: 1.4; background: var(--blue-100); color: var(--navy-700); }
.badge--orange { background: var(--orange-50); color: #a24708; }
.badge--green { background: #e4f6ec; color: #0d6b40; }
.badge--dark { background: rgba(255, 255, 255, .12); color: #fff; }
.eyebrow { display: inline-flex; align-items: center; gap: .5em; font: 700 .8rem/1.3 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--orange-600); margin-bottom: 1em; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--orange-300); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); color: var(--muted); line-height: 1.6; }

/* ---------- Header & navigation ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(16, 29, 68, .06); }
.site-header__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.logo__img { display: block; height: 40px; width: auto; }
.nav { flex: 1; }
.nav__list { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.nav__link { display: inline-flex; align-items: center; gap: .35em; padding: .55em .85em; border-radius: 999px; border: 0; background: none; font: 600 .97rem/1.2 var(--font-body); color: var(--ink); text-decoration: none; cursor: pointer; white-space: nowrap; }
.nav__link:hover, .nav__item--has-menu.is-open > .nav__link { background: var(--blue-50); color: var(--navy-700); }
.nav__link[aria-current="page"] { color: var(--blue-600); }
.nav__trigger .icon { transition: transform .2s; }
.nav__item--has-menu.is-open .nav__trigger .icon { transform: rotate(180deg); }
.nav__item { position: relative; }
.nav__item--mobile-only, .nav__mobile-cta { display: none; }
.mega { position: absolute; top: calc(100% + 12px); left: -20px; width: 720px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 14px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s ease, transform .18s ease, visibility .18s; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.mega--narrow { width: 420px; }
.nav__item--has-menu.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega__grid--one { grid-template-columns: 1fr; }
.mega__item { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: var(--radius); text-decoration: none; color: var(--text); }
.mega__item:hover { background: var(--bg-soft); color: var(--text); }
.mega__item strong { display: block; font-size: .97rem; margin-bottom: 2px; }
.mega__item small { display: block; font-size: .86rem; color: var(--muted); line-height: 1.45; }
.mega__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; flex: none; }
.mega__icon .icon { width: 20px; height: 20px; }
.mega__icon--blue, .tone-blue { background: #e6ecfb; color: #2f54c8; }
.mega__icon--teal, .tone-teal { background: #dff5f1; color: #0b7f72; }
.mega__icon--orange, .tone-orange { background: #fff0e2; color: #c95a0f; }
.mega__icon--violet, .tone-violet { background: #eee9fd; color: #5a3dd1; }
.mega__icon--green, .tone-green { background: #e2f5ea; color: #0f7a49; }
.mega__icon--slate, .tone-slate { background: #e9edf5; color: #34405c; }
.mega__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 8px; padding: 12px 12px 4px; border-top: 1px solid var(--line); font-size: .9rem; }
.mega__foot a { display: inline-flex; align-items: center; gap: .4em; font-weight: 650; text-decoration: none; }
.mega__highlight { color: var(--ink) !important; font-weight: 600 !important; }
.site-header__actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.lang-switch { display: inline-flex; align-items: center; padding: 3px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; font: 700 .78rem/1 var(--font-body); letter-spacing: .04em; }
.lang-switch > * { padding: .45em .7em; border-radius: 999px; }
.lang-switch__current { background: var(--navy-800); color: #fff; }
.lang-switch a { color: var(--muted); text-decoration: none; }
.lang-switch a:hover { color: var(--navy-800); background: var(--blue-50); }
.header-phone { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; color: var(--orange-500); text-decoration: none; }
.header-phone:hover { background: var(--blue-50); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); cursor: pointer; place-items: center; }
.nav-toggle .icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .icon--open { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: block; }

@media (max-width: 1180px) {
  .site-header__inner { gap: 20px; }
  .header-phone { display: none; }
  .nav__link { padding: .55em .65em; }
}
@media (max-width: 1099px) {
  :root { --header-h: 66px; }
  .nav-toggle { display: grid; }
  .site-header__actions .btn, .header-phone { display: none; }
  /* The header's backdrop-filter makes it the containing block, so the panel is positioned against the header. */
  .nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); background: #fff; padding: 12px 20px 32px; overflow-y: auto; overscroll-behavior: contain; display: none; border-top: 1px solid var(--line); }
  .nav.is-open { display: block; animation: nav-in .22s ease; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__link { width: 100%; justify-content: space-between; padding: 16px 4px; border-radius: 0; font-size: 1.08rem; }
  .nav__link:hover, .nav__item--has-menu.is-open > .nav__link { background: none; }
  .nav__item--mobile-only { display: block; }
  .mega { position: static; width: auto; box-shadow: none; border: 0; padding: 0 0 12px; display: none; opacity: 1; visibility: visible; transform: none; }
  .nav__item--has-menu.is-open .mega { display: block; }
  .mega__grid { grid-template-columns: 1fr; }
  .mega__foot { flex-direction: column; align-items: flex-start; }
  .nav__mobile-cta { display: grid; gap: 10px; margin-top: 24px; }
  /* Lock scrolling on the root: overflow on <body> would make it the sticky header's scroll container and move the header off-screen. */
  html.nav-open { overflow: hidden; }
}

@keyframes nav-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--soft { background: var(--bg-soft); }
.section--warm { background: linear-gradient(180deg, #fff6ee, #fffaf5 60%, #fff); border-top: 1px solid #f6e3d2; }
.section--dark { background: radial-gradient(1200px 500px at 85% -10%, rgba(74, 111, 224, .35), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(240, 120, 42, .18), transparent 60%), var(--navy-900); color: #c8d1ea; }
.section--dark, .hero, .cta-band, .info-card { --muted: #aeb8d8; }
.section--dark h2, .section--dark h3, .section--dark strong { color: #fff; }
.section--dark .lead, .section--dark p { color: #b9c3e0; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p { margin-bottom: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(900px 520px at 78% 8%, rgba(74, 111, 224, .42), transparent 62%), radial-gradient(700px 420px at 8% 100%, rgba(240, 120, 42, .22), transparent 60%), linear-gradient(180deg, var(--navy-950), var(--navy-900) 70%); color: #c8d1ea; padding: clamp(56px, 8vw, 96px) 0 0; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%); pointer-events: none; }
.hero > .container { position: relative; }
.hero h1 { color: #fff; max-width: 14ch; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--orange-300), var(--orange-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: 44px; align-items: end; }
.hero__copy { padding-bottom: clamp(48px, 7vw, 88px); }
.hero__copy .lead { color: #c3cce6; max-width: 56ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 28px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; font-size: .93rem; color: #aeb9da; }
.hero__proof li { display: inline-flex; align-items: center; gap: .5em; }
.hero__proof .icon { color: var(--orange-300); }
.hero__visual { position: relative; align-self: end; margin-right: calc((100vw - min(100vw - 40px, var(--container))) / -2); }
.hero__visual .shot { margin: 0; }
.hero__visual .shot__frame { border-radius: 16px 0 0 0; border-right: 0; border-bottom: 0; box-shadow: 0 -10px 60px rgba(0, 0, 0, .35); }
.hero__visual .shot__frame img { border-radius: 0; }
.hero__float { position: absolute; left: -40px; bottom: 150px; z-index: 2; display: flex; align-items: center; gap: 12px; background: #fff; color: var(--ink); padding: 12px 16px; border-radius: 14px; box-shadow: var(--shadow-lg); font-size: .9rem; line-height: 1.35; max-width: 270px; }
.hero__float strong { display: block; }
.hero__float .mega__icon { width: 38px; height: 38px; }
.page-hero { position: relative; overflow: hidden; background: radial-gradient(900px 480px at 85% 0%, rgba(74, 111, 224, .38), transparent 62%), radial-gradient(600px 380px at 0% 100%, rgba(240, 120, 42, .18), transparent 60%), var(--navy-900); color: #c3cce6; padding: clamp(56px, 7vw, 92px) 0 clamp(56px, 7vw, 88px); }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 0%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 0%, #000 20%, transparent 70%); pointer-events: none; }
.page-hero > .container { position: relative; }

/* Inner-page heroes use the light style of the homepage hero. */
.page-hero { background:
  radial-gradient(800px 420px at 85% -10%, rgba(74, 111, 224, .16), transparent 65%),
  radial-gradient(600px 360px at 0% 100%, rgba(251, 182, 60, .14), transparent 60%),
  linear-gradient(180deg, #f6f8ff, #fff); color: var(--text); border-bottom: 1px solid var(--line); }
.page-hero::before { background-image: linear-gradient(rgba(40, 62, 121, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(40, 62, 121, .05) 1px, transparent 1px); }
.page-hero h1 { color: var(--ink); }
.page-hero .lead { color: var(--muted); }
.page-hero .eyebrow--light { color: var(--orange-600); }
.page-hero .breadcrumb { color: var(--muted); }
.page-hero .breadcrumb a { color: var(--blue-600); }
.page-hero .breadcrumb a:hover { color: var(--navy-700); }
.page-hero .btn--on-dark { background: #fff; color: var(--navy-800); border-color: var(--line-strong); }
.page-hero .btn--on-dark:hover { border-color: var(--navy-700); color: var(--navy-900); background: #fff; }
.page-hero .badge--dark { background: var(--blue-100); color: var(--navy-700); }
.page-hero .shot__frame { box-shadow: 0 2px 6px rgba(16, 29, 68, .06), 0 30px 70px rgba(16, 29, 68, .18); }
.status-card { background: #fff; border-color: var(--line); color: var(--text); box-shadow: var(--shadow); backdrop-filter: none; }
.status-card h2 { color: var(--ink); }
.status-card p { color: var(--text); }
.status-card strong { color: var(--ink); }
.status-card .eyebrow { color: var(--orange-600); }

.page-hero--compact { padding: clamp(44px, 6vw, 72px) 0 clamp(40px, 5vw, 60px); }
.page-hero--compact h1 { max-width: 30ch; }
.page-hero h1 { color: var(--ink); font-size: clamp(2.1rem, 4.2vw, 3.3rem); max-width: 22ch; }
.page-hero .lead { color: var(--muted); max-width: 62ch; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.page-hero--split .container { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 22px; font-size: .88rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumb a { color: var(--blue-600); text-decoration: none; }
.breadcrumb a:hover { color: var(--navy-700); text-decoration: underline; }

/* ---------- Stats / trust ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); margin-top: -1px; }
.stat { padding: 28px 28px 26px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__value { font: 800 clamp(2rem, 3.4vw, 2.7rem)/1 var(--font-display); color: var(--navy-800); letter-spacing: -0.04em; }
.stat__value span { color: var(--orange-500); }
.stat__label { margin-top: 10px; font-size: .95rem; color: var(--muted); line-height: 1.45; }
.trust-strip { position: relative; z-index: 2; margin-top: -54px; }
.callout-line { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; text-align: center; margin-top: 26px; color: var(--muted); font-size: .98rem; }
.callout-line .icon { color: var(--green-500); }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.card h3 { margin-bottom: .45em; }
.card p { color: var(--muted); margin-bottom: 0; font-size: 1rem; }
.card--wide { grid-column: 1 / -1; }
.card--link { text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); color: inherit; }
.card--link .link-arrow { margin-top: auto; padding-top: 20px; }
.card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; margin-bottom: 20px; }
.card__icon .icon { width: 24px; height: 24px; }
.card--dark { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); box-shadow: none; }
.card--dark p { color: #aab5d6; }
.card--feature { padding: 24px; }
.card--feature h3 { font-size: 1.08rem; }
.module-card { padding: 30px; }
.module-card__tag { position: absolute; top: 22px; right: 22px; }
.module-card ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.module-card li { display: flex; gap: 10px; font-size: .96rem; color: var(--text); line-height: 1.45; }
.module-card li .icon { color: var(--green-500); margin-top: 2px; width: 1.05em; height: 1.05em; }

.checklist { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.checklist li > .icon { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: #e2f5ea; color: var(--green-500); stroke-width: 3; margin-top: 1px; }
.section--dark .checklist li > .icon { background: rgba(21, 150, 92, .2); color: #5fd49b; }
.checklist--bad li > .icon { background: #fde8e8; color: #b42828; }
.card--good { border-color: #bfe6cf; box-shadow: 0 0 0 4px rgba(21, 150, 92, .06), var(--shadow-sm); }
.checklist--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }

/* ---------- Feature rows with screenshots ---------- */
.feature { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.feature + .feature { margin-top: clamp(72px, 9vw, 120px); }
.feature--reverse .feature__copy { order: 2; }
.feature__copy h2, .feature__copy h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.feature__copy .lead { font-size: 1.12rem; }
.feature--stack { grid-template-columns: 1fr; }
.feature--stack .feature__copy { max-width: 760px; }

.shot { margin: 0; }
.shot__frame { display: block; width: 100%; padding: 0; border: 1px solid var(--line-strong); border-radius: 14px; background: #fff; overflow: hidden; box-shadow: var(--shadow-lg); cursor: zoom-in; text-align: left; transition: transform .25s ease, box-shadow .25s ease; }
.shot__frame:hover { transform: translateY(-3px); }
.shot__bar { display: flex; gap: 6px; padding: 10px 14px; background: linear-gradient(#f7f9fd, #eef2f9); border-bottom: 1px solid var(--line); }
.shot__bar i { width: 10px; height: 10px; border-radius: 50%; background: #d5dbe8; }
.shot__bar i:first-child { background: #f3a29a; }
.shot__bar i:nth-child(2) { background: #f6cf7a; }
.shot__bar i:nth-child(3) { background: #9ad4a6; }
.shot__frame img { width: 100%; }
.shot figcaption { margin-top: 14px; font-size: .9rem; color: var(--muted); text-align: center; }
.section--dark .shot figcaption { color: #93a0c6; }
.shot-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.anon-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; font-size: .84rem; color: var(--muted); }

/* ---------- Tabs (module showcase) ---------- */
.tabs__list { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 36px; }
.tabs__tab { display: inline-flex; align-items: center; gap: .55em; padding: .7em 1.15em; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; font: 650 .96rem/1.2 var(--font-body); color: var(--text); cursor: pointer; transition: all .2s; }
.tabs__tab:hover { border-color: var(--navy-700); }
.tabs__tab[aria-selected="true"] { background: var(--navy-800); border-color: var(--navy-800); color: #fff; box-shadow: var(--shadow); }
.tabs__panel { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.tabs__panel[hidden] { display: none; }
.tabs__panel h3 { font-size: clamp(1.5rem, 2.4vw, 1.95rem); }
.no-js .tabs__panel[hidden] { display: grid; }

/* ---------- Config / permissions ---------- */
.pill-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: .5em; padding: .5em .95em; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .93rem; font-weight: 550; color: var(--text); }
.pill--accent { background: var(--orange-50); border-color: #f6dcc4; color: #8a3d07; font-weight: 650; }
.pill .icon { color: var(--blue-600); width: 1.05em; height: 1.05em; }
.section--dark .pill { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: #dbe2f5; }
.section--dark .pill .icon { color: var(--orange-300); }

.perm-demo { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; color: var(--text); }
.perm-demo__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.perm-demo__head strong { font-family: var(--font-display); font-size: 1.02rem; }
.perm-demo__roles { display: flex; gap: 6px; padding: 14px 22px 0; flex-wrap: wrap; }
.perm-role { padding: .45em .9em; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; font: 600 .87rem/1.2 var(--font-body); color: var(--text); cursor: pointer; }
.perm-role[aria-pressed="true"] { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.perm-demo__body { padding: 16px 22px 22px; }
.perm-demo__note { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); background: var(--blue-50); border-radius: 10px; padding: 10px 12px; margin-bottom: 14px; line-height: 1.45; }
.perm-demo__note .icon { color: var(--blue-600); margin-top: 1px; }
.perm-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.perm-table th { text-align: left; font-weight: 650; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.perm-table td { padding: 10px; border-bottom: 1px solid var(--line); }
.perm-table td.num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink); }
.perm-table tr { transition: opacity .25s, background-color .25s; }
.perm-table tr.is-hidden { display: none; }
.perm-demo__foot { display: flex; justify-content: space-between; font-size: .85rem; color: var(--muted); padding-top: 12px; }
.bar { display: inline-block; height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--blue-500), var(--violet-500)); vertical-align: middle; }

/* ---------- Revisal mock ---------- */
.app-mock { background: #fff; border: 1px solid var(--line-strong); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; color: var(--text); font-size: .9rem; }
.app-mock__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: linear-gradient(#fbfcff, #f3f6fc); }
.app-mock__top strong { font-family: var(--font-display); font-size: 1rem; }
.app-mock__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); min-height: 420px; }
.rv-list { border-right: 1px solid var(--line); }
.rv-filters { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.rv-chip { padding: .3em .7em; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: .78rem; font-weight: 600; color: var(--muted); }
.rv-chip--on { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.rv-row { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.rv-row.is-active { background: var(--blue-50); box-shadow: inset 3px 0 0 var(--blue-600); }
.rv-avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .78rem; color: #fff; }
.rv-row b { display: block; color: var(--ink); font-weight: 650; font-size: .9rem; }
.rv-row small { color: var(--muted); font-size: .8rem; }
.st { display: inline-flex; align-items: center; gap: .4em; padding: .25em .65em; border-radius: 999px; font-size: .74rem; font-weight: 700; white-space: nowrap; }
.st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st--new { background: #fff4e5; color: #b4580a; }
.st--ready { background: #e8eefe; color: #2f54c8; }
.st--sent { background: #efe9fe; color: #5a3dd1; }
.st--ok { background: #e2f5ea; color: #0f7a49; }
.st--err { background: #fde8e8; color: #b42828; }
.rv-detail { padding: 18px; background: #fcfdff; }
.rv-detail h4 { font-size: .95rem; margin-bottom: 4px; }
.rv-detail .muted { color: var(--muted); font-size: .8rem; }
.rv-diff { margin: 14px 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; font-size: .82rem; }
.rv-diff div { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 8px; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.rv-diff div:last-child { border-bottom: 0; }
.rv-diff .h { background: var(--bg-soft); font-weight: 650; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; }
.rv-diff del { color: #b42828; text-decoration: line-through; }
.rv-diff ins { color: #0f7a49; text-decoration: none; font-weight: 650; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 4px; }
.timeline li { position: relative; padding: 0 0 14px 22px; font-size: .82rem; color: var(--muted); line-height: 1.4; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); box-shadow: 0 0 0 3px #fff; }
.timeline li::after { content: ""; position: absolute; left: 4.5px; top: 16px; bottom: 0; width: 1px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline li b { display: block; color: var(--ink); font-weight: 650; }
.timeline li.done::before { background: var(--green-500); }
.timeline li.now::before { background: var(--blue-600); }
.rv-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.rv-btn { padding: .45em .85em; border-radius: 8px; font-size: .78rem; font-weight: 650; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); }
.rv-btn--primary { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }


/* ---------- Light hero (homepage) ---------- */
.hero2 { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 88px) 0 clamp(48px, 6vw, 72px); background:
  radial-gradient(900px 480px at 50% -10%, rgba(74, 111, 224, .16), transparent 65%),
  radial-gradient(700px 420px at 100% 30%, rgba(251, 182, 60, .14), transparent 60%),
  radial-gradient(700px 420px at 0% 40%, rgba(109, 79, 224, .10), transparent 60%),
  linear-gradient(180deg, #f7f9ff, #fff 70%); }
.hero2::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(40, 62, 121, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(40, 62, 121, .05) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 0%, #000 25%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 25%, transparent 70%); pointer-events: none; }
.hero2 > .container { position: relative; }
.hero2__head { text-align: center; max-width: 920px; }
.hero2__announce { display: inline-flex; align-items: center; gap: .6em; padding: .4em .9em .4em .45em; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: .9rem; font-weight: 600; color: var(--ink); text-decoration: none; margin-bottom: 26px; }
.hero2__announce:hover { color: var(--navy-700); border-color: var(--line-strong); }
.hero2 h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); letter-spacing: -0.035em; line-height: 1.04; margin-bottom: .35em; }
.hero2 h1 em { font-style: normal; background: linear-gradient(90deg, var(--blue-600), var(--violet-500) 55%, var(--orange-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero2 .lead { max-width: 64ch; margin-inline: auto; }
.hero2__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 30px 0 22px; }
.hero2__proof { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0; font-size: .93rem; color: var(--muted); }
.hero2__proof li { display: inline-flex; align-items: center; gap: .45em; }
.hero2__proof .icon { color: var(--green-500); }
.hero2__stage { position: relative; margin-top: clamp(40px, 6vw, 64px); max-width: 1120px; }
.hero2__stage .shot { position: relative; z-index: 1; }
.hero2__stage .shot__frame { border-radius: 16px; box-shadow: 0 2px 6px rgba(16, 29, 68, .06), 0 40px 90px rgba(16, 29, 68, .22); }
.hero2__glow { position: absolute; inset: 8% 6% -4%; background: linear-gradient(120deg, rgba(74, 111, 224, .45), rgba(109, 79, 224, .35), rgba(240, 120, 42, .35)); filter: blur(60px); border-radius: 40px; opacity: .55; }
.float-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; background: rgba(255, 255, 255, .96); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); font-size: .88rem; line-height: 1.3; color: var(--ink); animation: float 6s ease-in-out infinite; }
.float-card strong { display: block; font-size: .92rem; }
.float-card small { color: var(--muted); font-size: .8rem; }
.float-card .mega__icon { width: 38px; height: 38px; }
.float-card--a { left: -28px; top: 22%; }
.float-card--b { right: -32px; top: 46%; animation-delay: -2s; }
.float-card--c { left: 8%; bottom: -26px; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.stats--flat { margin-top: clamp(56px, 7vw, 80px); box-shadow: none; background: transparent; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; }
.stats--flat .stat { text-align: center; }
.industries { text-align: center; margin: 22px 0 0; color: var(--muted); font-size: .98rem; }
.industries strong { color: var(--ink); font-weight: 600; }

/* ---------- Audience ---------- */
.audience__card { display: flex; flex-direction: column; gap: 4px; padding: 30px; }
.audience__card h3 { font-size: 1.3rem; margin: 10px 0 18px; }
.audience__card .checklist { margin-bottom: 18px; }
.audience__card .link-arrow { margin-top: auto; }
.audience__role { align-self: flex-start; padding: .32em .8em; border-radius: 999px; background: var(--blue-50); color: var(--navy-700); font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.audience__card--dark { background: radial-gradient(500px 260px at 100% 0%, rgba(240, 120, 42, .28), transparent 60%), radial-gradient(500px 300px at 0% 100%, rgba(74, 111, 224, .4), transparent 60%), var(--navy-900); border-color: var(--navy-800); color: #c3cce6; box-shadow: var(--shadow-lg); }
.audience__card--dark h3, .audience__card--dark strong { color: #fff; }
.audience__card--dark .audience__role { background: rgba(255, 255, 255, .12); color: var(--orange-300); }
.audience__card--dark .checklist li { color: #dbe2f5; }
.audience__card--dark .checklist li > .icon { background: rgba(21, 150, 92, .25); color: #5fd49b; }
.audience__card--dark .link-arrow { color: var(--orange-300); }

/* ---------- Bento grid ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.bento__item { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; text-decoration: none; color: var(--text); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.bento__item:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); color: var(--text); }
.bento__item h3 { margin-bottom: .4em; }
.bento__item p { color: var(--muted); font-size: 1rem; margin-bottom: 0; }
.bento__item .link-arrow { margin-top: auto; padding-top: 18px; }
.bento__item .card__icon { margin-bottom: 18px; }
.bento__item--wide { grid-column: span 2; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 24px; padding: 28px 0 0 28px; }
.bento__copy { display: flex; flex-direction: column; padding-bottom: 28px; }
.bento__media { align-self: end; border: 1px solid var(--line-strong); border-right: 0; border-bottom: 0; border-radius: 12px 0 0 0; overflow: hidden; box-shadow: var(--shadow); height: 100%; max-height: 300px; }
.bento__media img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.bento__item--violet { background: linear-gradient(160deg, #f6f3ff, #fff 60%); }
.bento__tag { position: absolute; top: 22px; right: 22px; }

/* ---------- Management ---------- */
.mgmt-points { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; margin-top: 28px; }
.mgmt-points h3 { display: flex; align-items: center; gap: .55em; font-size: 1.05rem; margin-bottom: .35em; }
.mgmt-points h3 .icon { color: var(--orange-500); }
.mgmt-points p { color: var(--muted); font-size: .97rem; margin: 0; }

/* ---------- ISO badges ---------- */
.iso-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.iso-badge { max-width: 100%; display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); text-align: left; color: var(--ink); text-decoration: none; }
.iso-badge__seal { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #3a5bb8, var(--navy-800)); color: #fff; font: 800 .62rem/1 var(--font-display); letter-spacing: .04em; box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .25), 0 0 0 2px var(--orange-300); }
.iso-badge:hover, .section--dark .iso-badge:hover, .site-footer .iso-badge:hover { border-color: var(--orange-500); }
.page-hero .iso-row { max-width: 760px; justify-content: flex-start; }
.iso-badge strong { display: block; font-family: var(--font-display); font-size: 1rem; }
.iso-badge small { color: var(--muted); font-size: .8rem; }
.section--dark .iso-badge, .site-footer .iso-badge { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #fff; box-shadow: none; }
.section--dark .iso-badge small, .site-footer .iso-badge small { color: #aeb8d8; }
.iso-row--left { justify-content: flex-start; }
.section--dark .iso-badge strong, .site-footer .iso-badge strong { color: #fff; }
.iso-row--compact { gap: 10px; margin: 0 0 20px; }
.iso-row--compact .iso-badge { padding: 7px 12px 7px 7px; gap: 9px; }
.iso-row--compact .iso-badge__seal { width: 34px; height: 34px; font-size: .52rem; }
.iso-row--compact strong { font-size: .9rem; }

/* ---------- Trust grid ---------- */
.trust-item { display: flex; gap: 16px; padding: 24px; border-radius: var(--radius-lg); background: var(--bg-soft); border: 1px solid var(--line); }
.trust-item > .icon { flex: none; width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: #fff; color: var(--navy-700); box-shadow: var(--shadow-sm); }
.trust-item h3 { font-size: 1.05rem; margin-bottom: .35em; }
.trust-item p { color: var(--muted); font-size: .96rem; margin: 0; }


/* ---------- Developers / API page ---------- */
.api-card { background: #0d1530; border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid #1d2a55; }
.api-card__head { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #131d3f; color: #93a0c6; font: 600 .78rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.api-card__head span:last-child { margin-left: 10px; }
.api-dot { width: 10px; height: 10px; border-radius: 50%; background: #2b3a6b; }
.api-dot:first-child { background: #f3a29a; } .api-dot:nth-child(2) { background: #f6cf7a; } .api-dot:nth-child(3) { background: #9ad4a6; }
.api-code { margin: 0; padding: 18px 20px 20px; overflow-x: auto; color: #d6def5; font: 500 .82rem/1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre; }
.api-code .c-k { color: #fbb63c; } .api-code .c-s { color: #8fe0b0; } .api-code .c-p { color: #9fb6ff; } .api-code .c-ok { color: #5fd49b; font-weight: 700; }
.api-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.api-facts li { padding: 20px 22px; border-right: 1px solid var(--line); }
.api-facts li:last-child { border-right: 0; }
.api-facts strong { display: block; font: 750 1.08rem/1.25 var(--font-display); color: var(--ink); }
.api-facts span { font-size: .88rem; color: var(--muted); }
:not(pre) > code:not(.api-ref code) { font: 500 .88em/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--blue-50); color: var(--navy-700); padding: .12em .4em; border-radius: 6px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.data-table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.data-table th, .data-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table thead th { font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--bg-soft); }
.data-table tbody th { font-weight: 650; color: var(--ink); white-space: nowrap; }
.data-table tr:last-child > * { border-bottom: 0; }
.data-table code { white-space: nowrap; }
@media (max-width: 1100px) { .split--wide-right:has(.table-wrap) { grid-template-columns: minmax(0, 1fr); } }
.card-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 18px; }
.api-ref-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; max-width: none; flex-wrap: wrap; }
.api-ref-head > div { max-width: 720px; }
.api-ref { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 8px 24px 24px; min-height: 320px; }
.api-ref[data-loading]::before { content: ""; display: block; height: 4px; margin: 20px 0; border-radius: 4px; background: linear-gradient(90deg, var(--blue-100), var(--blue-500), var(--blue-100)); background-size: 200% 100%; animation: api-load 1.2s linear infinite; }
@keyframes api-load { to { background-position: -200% 0; } }
/* Swagger UI: site fonts, hidden info block (the page already introduces the API), no auth/server controls. */
.api-ref .swagger-ui, .api-ref .swagger-ui .opblock-tag, .api-ref .swagger-ui .opblock .opblock-summary-description, .api-ref .swagger-ui .info, .api-ref .swagger-ui table, .api-ref .swagger-ui .response-col_status, .api-ref .swagger-ui .model-title, .api-ref .swagger-ui section.models h4 { font-family: var(--font-body); }
.api-ref .swagger-ui .opblock-tag { font-family: var(--font-display); font-weight: 750; font-size: 1.15rem; color: var(--ink); border-bottom-color: var(--line); }
.api-ref .swagger-ui .wrapper { padding: 0; max-width: none; }
.api-ref .swagger-ui .information-container { display: none; }
.api-ref .swagger-ui .scheme-container { display: none; }
.api-ref .swagger-ui .opblock { border-radius: 10px; box-shadow: none; }
.api-ref .swagger-ui .opblock .opblock-summary { padding: 8px 10px; }
.api-ref .swagger-ui .opblock .opblock-summary-method { border-radius: 6px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; min-width: 72px; }
.api-ref .swagger-ui .opblock .opblock-summary-path { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92rem; }
.api-ref .swagger-ui section.models { border-radius: 10px; border-color: var(--line); }
.api-ref .swagger-ui .btn.authorize, .api-ref .swagger-ui .authorization__btn { display: none; }
/* Read-only reference: hide controls that only matter when sending requests. */
.api-ref .swagger-ui .parameters-col_description input,
.api-ref .swagger-ui .parameters-col_description select,
.api-ref .swagger-ui .body-param-content-type,
.api-ref .swagger-ui .content-type-wrapper,
.api-ref .swagger-ui .response-control-media-type,
.api-ref .swagger-ui .try-out,
.api-ref .swagger-ui .execute-wrapper { display: none !important; }

/* ---------- Integration hub ---------- */
.hub { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; position: relative; }
.hub__node { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); }
.hub__node .card__icon { grid-row: span 2; margin: 0; width: 44px; height: 44px; }
.hub__node strong { font-family: var(--font-display); font-size: 1rem; }
.hub__node small { color: var(--muted); font-size: .88rem; line-height: 1.4; }
.hub__center { display: grid; place-content: center; text-align: center; gap: 8px; border-radius: var(--radius-lg); padding: 28px; background: radial-gradient(400px 200px at 50% 0%, rgba(74, 111, 224, .45), transparent 70%), var(--navy-900); color: #c3cce6; box-shadow: var(--shadow-lg); }
.hub__brand { font: 800 2rem/1 var(--font-display); letter-spacing: -0.03em; color: #fff; }
.hub__center small { font-size: .9rem; }
.hub > :nth-child(5) { grid-column: 2; grid-row: 2; }
.actions-end { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

/* ---------- Steps / process ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; padding: 26px 22px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.steps li::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: block; font: 800 .95rem/1 var(--font-display); color: var(--orange-500); margin-bottom: 14px; letter-spacing: .04em; }
.steps h3 { font-size: 1.05rem; }
.steps--stack { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.steps p { font-size: .95rem; color: var(--muted); margin: 0; }
.section--dark .steps li { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.section--dark .steps p { color: #b9c3e0; }

/* ---------- Timeline (law) ---------- */
.law-timeline { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.law-timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 13px; height: 2px; background: linear-gradient(90deg, var(--blue-500), var(--orange-400)); opacity: .5; }
.law-timeline li { position: relative; padding-top: 40px; }
.law-timeline li::before { content: ""; position: absolute; top: 4px; left: 0; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--blue-500); }
.law-timeline li.is-next::before { border-color: var(--orange-500); box-shadow: 0 0 0 6px rgba(240, 120, 42, .18); }
.law-timeline time { display: block; font: 800 1.15rem/1.2 var(--font-display); color: var(--ink); margin-bottom: 6px; }
.law-timeline p { font-size: .95rem; color: var(--muted); margin: 0; }
.section--dark .law-timeline time { color: #fff; }
.section--dark .law-timeline li::before { background: var(--navy-900); }

/* ---------- Quote / why ---------- */
.why { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.big-number { font: 800 clamp(5rem, 13vw, 10rem)/.85 var(--font-display); letter-spacing: -0.06em; background: linear-gradient(135deg, #fff 20%, var(--orange-300)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.quote { margin: 0; padding: 28px 30px; border-left: 4px solid var(--orange-500); background: var(--bg-soft); border-radius: 0 var(--radius) var(--radius) 0; font: 600 1.18rem/1.55 var(--font-display); color: var(--ink); }

/* ---------- Status card (hero) ---------- */
.status-card .eyebrow { display: flex; margin-bottom: 14px; }
.h3 { font-size: 1.35rem; letter-spacing: -0.01em; }

/* ---------- Pay transparency callout ---------- */
.pt-callout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; background: linear-gradient(135deg, #fff7ef, #fff); border: 1px solid #f6dcc4; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow-sm); }
.pt-callout__facts { display: grid; gap: 12px; }
.pt-fact { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.pt-fact time, .pt-fact b { font: 800 1.05rem/1.2 var(--font-display); color: var(--orange-600); min-width: 112px; }
.pt-fact span { font-size: .95rem; color: var(--text); line-height: 1.45; }
.disclaimer { font-size: .85rem; color: var(--muted); margin-top: 16px; }

/* ---------- CTA band ---------- */
.cta-band { background: radial-gradient(800px 400px at 100% 0%, rgba(240, 120, 42, .28), transparent 60%), radial-gradient(800px 400px at 0% 100%, rgba(74, 111, 224, .35), transparent 60%), var(--navy-900); color: #c3cce6; padding: clamp(56px, 7vw, 88px) 0; }
.cta-band__inner { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 40px; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: .4em; }
.cta-band p { margin: 0; max-width: 60ch; }
.cta-band__actions { display: flex; flex-direction: column; gap: 12px; }

/* ---------- Forms ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 32px; align-items: start; }
.salary-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.salary-scope { max-width: 78ch; margin-bottom: 28px; color: var(--muted); }
.salary-fields { border: 0; padding: 0; margin: 0; min-width: 0; }
.salary-table { font-variant-numeric: tabular-nums; }
.salary-table tbody th { white-space: normal; font-weight: 500; }
.salary-table td, .salary-table thead th:last-child { text-align: right; white-space: nowrap; }
.salary-table .salary-total > * { font-weight: 750; color: var(--navy-800); background: var(--bg-soft); }
.salary-results { min-width: 0; }
@media (max-width: 1000px) { .salary-layout { grid-template-columns: minmax(0, 1fr); } }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field { align-content: start; }
.field label, .field legend { font-weight: 650; font-size: .93rem; line-height: 1.4; color: var(--ink); }
.field .check { font-weight: 400; }
.field .req { color: var(--orange-600); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid var(--line-strong); border-radius: 10px; padding: .72em .9em; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(74, 111, 224, .16); }
.field [aria-invalid="true"] { border-color: var(--red-500); }
.field__error { color: var(--red-500); font-size: .85rem; min-height: 0; }
.field__hint { color: var(--muted); font-size: .85rem; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--text); line-height: 1.5; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--navy-800); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; margin-top: 18px; padding: 14px 16px; border-radius: 12px; font-size: .95rem; }
.form-status.is-success { display: block; background: #e4f6ec; color: #0d5c37; }
.form-status.is-error { display: block; background: #fde8e8; color: #8f1f1f; }
.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; }
.info-card { background: var(--navy-900); color: #c3cce6; border-radius: var(--radius-lg); padding: 32px; }
.info-card h2, .info-card h3 { color: #fff; }
.info-card a { color: #fff; }
.info-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list .icon { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .08); color: var(--orange-300); }
.info-list small { display: block; color: #93a0c6; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.info-list a, .info-list span { font-weight: 650; text-decoration: none; font-size: 1.02rem; }
.divider { border: 0; border-top: 1px solid rgba(255, 255, 255, .12); margin: 28px 0 22px; }
.mini-steps { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; font-size: .95rem; }
.mini-steps li::marker { color: var(--orange-300); font-weight: 700; }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); }

/* ---------- Prose / legal ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.45rem; margin-top: 2em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.6em; }
.prose h4 { margin-top: 1.4em; }
.prose p, .prose li { color: var(--text); }
.prose li { margin-bottom: .4em; }
.prose .meta { color: var(--muted); font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 880px; margin-inline: auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font: 650 1.05rem/1.4 var(--font-display); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .2s; color: var(--muted); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details > div { padding: 0 0 20px; color: var(--muted); }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #a3aed0; padding: 72px 0 28px; font-size: .95rem; }
.site-footer a { color: #d4dbef; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.site-footer__brand p { margin: 18px 0 20px; max-width: 36ch; }
.site-footer h2 { font: 700 .82rem/1.3 var(--font-body); text-transform: uppercase; letter-spacing: .12em; color: #fff; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.contact-list li { display: flex; gap: 10px; align-items: center; }
.contact-list .icon { color: var(--orange-300); }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: .86rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__legal { display: flex !important; gap: 20px !important; flex-wrap: wrap; }

/* ---------- Lightbox ---------- */
.lightbox { width: min(96vw, 1680px); max-height: 94vh; padding: 0; border: 0; border-radius: 14px; background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(8, 14, 34, .82); backdrop-filter: blur(4px); }
.lightbox img { width: 100%; max-height: 92vh; object-fit: contain; border-radius: 12px; box-shadow: var(--shadow-lg); background: #fff; }
.lightbox__close { position: absolute; top: -18px; right: -18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); z-index: 1; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; } .mt-4 { margin-top: 56px; }
.text-center { text-align: center; }
.muted { color: var(--muted); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.split--top { align-items: start; }
.split--wide-right { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); }
.split--wide-left { grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr); }
.kicker-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.kicker-list--2 { grid-template-columns: 1fr 1fr; }
.kicker-list h3 { font-size: 1.05rem; display: flex; align-items: center; gap: .6em; }
.kicker-list h3 .icon { color: var(--orange-500); }
.kicker-list p { color: var(--muted); font-size: .98rem; margin: 0; }
.section--dark .kicker-list p { color: #aab5d6; }

/* ---------- What's next: mobile app and AI assistant ---------- */
.section--next { background: linear-gradient(180deg, #f5f3ff 0%, #fff 75%); }
.phones { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.6vw, 36px); }
.phones--three { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 900px; margin-inline: auto; }
.phone-fig { margin: 0; text-align: center; }
.phone-fig img { display: block; width: 100%; height: auto; filter: drop-shadow(0 22px 34px rgba(16, 29, 68, .2)); }
.phone-fig figcaption { margin-top: 16px; color: var(--muted); font-size: .92rem; line-height: 1.4; }
.phone-fig figcaption b { display: block; color: var(--ink); font-family: var(--font-display); font-size: 1rem; margin-bottom: 2px; }

.next-hero { position: relative; display: flex; justify-content: center; padding: 8px 0 24px; }
.next-hero__phone { width: min(300px, 70%); height: auto; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .35)); }
.next-hero__chat { position: absolute; z-index: 2; left: 0; bottom: 18%; display: grid; gap: 10px; width: min(320px, 62%); }
.next-hero__chat .cm-msg { display: flex; }
.next-hero__chat .cm-bubble { box-shadow: var(--shadow-lg); font-size: .9rem; }

/* Chat mock (Teams-like, no product logos) */
.chat-mock, .chat-phone { font-size: .86rem; line-height: 1.45; color: var(--text); text-align: left; }
.chat-mock { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.chat-mock__bar { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; background: #ebebf3; border-bottom: 1px solid #dfdfea; }
.chat-mock__search { margin: 0 auto; width: min(320px, 50%); padding: 4px 12px; border-radius: 6px; background: #fff; color: #8a8fa6; font-size: .78rem; border: 1px solid #dfdfea; }
.chat-mock__body { display: grid; grid-template-columns: 56px 200px minmax(0, 1fr); min-height: 460px; }
.chat-mock__rail { display: grid; align-content: start; justify-items: center; gap: 6px; padding: 12px 0; background: #f0f0f7; border-right: 1px solid #e3e3ee; color: #6b6f86; }
.chat-mock__rail span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; }
.chat-mock__rail .is-on { background: #fff; color: var(--chat); box-shadow: var(--shadow-sm); }
.chat-mock__list { display: grid; align-content: start; gap: 2px; padding: 12px 8px; background: #f7f7fb; border-right: 1px solid #e3e3ee; }
.chat-mock__list > b { padding: 2px 8px 8px; font-family: var(--font-display); color: var(--ink); }
.chat-mock__list > span { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 8px; align-items: center; padding: 7px 8px; border-radius: 8px; font-weight: 600; color: var(--ink); font-size: .8rem; }
.chat-mock__list > span.is-on { background: #fff; box-shadow: var(--shadow-sm); }
.chat-mock__list small { display: block; font-weight: 400; color: var(--muted); font-size: .74rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-mock__list i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #fff; font-style: normal; font-size: .7rem; font-weight: 700; }
.chat-mock__thread { display: grid; grid-template-rows: auto 1fr auto; min-width: 0; background: #fafafd; }
.cm-head, .chat-phone__head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #fff; border-bottom: 1px solid var(--line); }
.cm-head b, .chat-phone__head b { display: block; color: var(--ink); }
.cm-head small, .chat-phone__head small { color: var(--muted); font-size: .76rem; }
.cm-bot { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--chat) 60%, var(--orange-500)); color: #fff; }
.cm-bot .icon { width: 16px; height: 16px; }
.cm-msgs { display: grid; align-content: start; gap: 12px; padding: 16px; }
.cm-msg { display: flex; gap: 8px; align-items: flex-start; }
.cm-msg > div { min-width: 0; display: grid; gap: 8px; }
.cm-msg--me { justify-content: flex-end; }
.cm-bubble { display: inline-block; max-width: 92%; padding: 8px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.cm-msg--me .cm-bubble { max-width: 80%; background: var(--chat-50); border-color: #dcdff6; }
.cm-ok { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 6px; border-radius: 50%; background: var(--green-500); color: #fff; vertical-align: -3px; }
.cm-ok .icon { width: 12px; height: 12px; }
.cm-card { max-width: 340px; border: 1px solid var(--line); border-left: 4px solid var(--chat); border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; }
.cm-card__head { display: flex; align-items: center; gap: 8px; padding: 10px 12px; font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--line); }
.cm-card__head .icon { color: var(--chat); }
.cm-card dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; margin: 0; padding: 10px 12px; font-size: .8rem; }
.cm-card dt { color: var(--muted); }
.cm-card dd { margin: 0; font-weight: 600; color: var(--ink); }
.cm-note { margin: 0 12px 10px; padding: 7px 10px; border-radius: 8px; background: var(--orange-50); color: #8a3f08; font-size: .78rem; }
.cm-quote { margin: 0 12px 10px; color: var(--muted); font-style: italic; font-size: .8rem; }
.cm-actions { display: flex; gap: 8px; padding: 0 12px 12px; }
.cm-btn { padding: .45em .9em; border-radius: 8px; border: 1px solid var(--line-strong); background: #fff; font-weight: 650; font-size: .8rem; color: var(--ink); }
.cm-btn--primary { background: var(--chat); border-color: var(--chat); color: #fff; }
.cm-compose { display: flex; align-items: center; justify-content: space-between; margin: 0 16px 14px; padding: 9px 12px; border: 1px solid var(--line-strong); border-radius: 8px; background: #fff; color: #8a8fa6; }
.cm-compose .icon { color: var(--chat); }

.chat-phone { width: min(100%, 340px); margin-inline: auto; padding: 10px; border-radius: 48px; background: #1b2232; box-shadow: var(--shadow-lg); }
.chat-phone__screen { display: grid; grid-template-rows: auto auto 1fr auto; min-height: 600px; border-radius: 38px; background: #fafafd; overflow: hidden; }
.chat-phone__status { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 14px 26px 6px; background: #fff; font-size: .82rem; color: var(--ink); }
.chat-phone__island { position: absolute; left: 50%; top: 9px; width: 96px; height: 26px; margin-left: -48px; border-radius: 14px; background: #000; }
.chat-phone__icons { display: flex; gap: 3px; align-items: flex-end; }
.chat-phone__icons i { width: 4px; border-radius: 1px; background: var(--ink); }
.chat-phone__icons i:nth-child(1) { height: 6px; } .chat-phone__icons i:nth-child(2) { height: 9px; } .chat-phone__icons i:nth-child(3) { height: 12px; }
.chat-phone__head > .icon { transform: rotate(90deg); color: var(--chat); }
.chat-phone .cm-msgs { padding: 14px 12px; }
.chat-phone .cm-compose { margin: 0 12px 16px; border-radius: 20px; }

.cm-tag { display: inline-block; margin-right: 6px; padding: 0 6px; border-radius: 4px; font-size: .64rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; line-height: 1.6; vertical-align: 1px; }
.cm-tag--ai { background: var(--chat-50); color: var(--chat); }
.cm-tag--sys { margin: 0 0 0 auto; background: var(--blue-100); color: var(--brand); }
.cm-btn.is-pressed { box-shadow: 0 0 0 3px rgba(91, 95, 199, .28); }
.cm-receipt { display: flex; gap: 8px; align-items: flex-start; max-width: 340px; padding: 8px 10px; border-radius: 10px; background: #e9f6ef; border: 1px solid #c9ead7; color: #0d5c37; font-size: .78rem; }
.cm-receipt .icon { flex: none; width: 16px; height: 16px; margin-top: 1px; }
.cm-receipt b { color: #0a4a2c; }

.ai-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; counter-reset: flow; }
.ai-flow li { position: relative; padding: 20px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.ai-flow li:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -12px; width: 10px; height: 10px; border-top: 2px solid var(--line-strong); border-right: 2px solid var(--line-strong); transform: translateY(-50%) rotate(45deg); }
.ai-flow h3 { margin: 12px 0 6px; font-size: 1rem; }
.ai-flow p { margin: 0; color: var(--muted); font-size: .9rem; }
.ai-flow__who { display: inline-block; padding: .2em .65em; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.ai-flow__who--you { background: var(--orange-50); color: #a24708; }
.ai-flow__who--ai { background: var(--chat-50); color: var(--chat); }
.ai-flow__who--sys { background: var(--blue-100); color: var(--brand); }
.ai-rule { display: flex; gap: 12px; align-items: flex-start; margin: 28px 0 0; padding: 18px 22px; border-radius: var(--radius); background: var(--blue-50); border: 1px solid var(--blue-100); color: var(--ink); font-weight: 550; }
.ai-rule .icon { flex: none; color: var(--brand); margin-top: 2px; }
.actions-row { display: flex; flex-wrap: wrap; gap: 12px; }
.ai-compare th[scope="col"]:last-child { color: var(--brand); }
.ai-compare td { vertical-align: top; }
.ai-compare tbody th { white-space: normal; min-width: 120px; }
.ai-compare td { padding-left: 40px; position: relative; }
.ai-compare td .icon { position: absolute; left: 16px; top: 16px; width: 16px; height: 16px; }
.ai-compare td:nth-child(2) { color: var(--muted); }
.ai-compare td:nth-child(2) .icon { color: var(--red-500); }
.ai-compare td:nth-child(3) { color: var(--ink); font-weight: 600; background: #f6f9ff; }
.ai-compare td:nth-child(3) .icon { color: var(--green-500); }
.h2-like { margin-top: 10px; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.clock-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 64px); align-items: center; margin-top: clamp(48px, 7vw, 88px); padding: clamp(24px, 4vw, 48px); border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); background: linear-gradient(135deg, #fbfcff, #f4f6fd); }
.clock-mock .chat-phone__screen { min-height: 560px; background: #f5f7fb; }
.clock-mock__body { display: grid; justify-items: center; align-content: start; gap: 14px; padding: 22px 18px; text-align: center; }
.clock-mock__concept { justify-self: stretch; padding: 6px 10px; border-radius: 8px; background: var(--orange-50); color: #a24708; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.clock-mock__time { font: 800 2.6rem/1 var(--font-display); color: var(--ink); letter-spacing: -0.03em; }
.clock-mock__date { margin-top: -8px; color: var(--muted); font-size: .85rem; }
.clock-mock__shift { padding: 5px 12px; border-radius: 999px; background: #e2f3f1; color: #0b6b5f; font-size: .78rem; font-weight: 700; }
.clock-mock__btn { display: grid; place-items: center; align-content: center; gap: 4px; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #3a56a8, var(--brand)); color: #fff; font-weight: 750; font-size: .95rem; box-shadow: 0 0 0 10px rgba(40, 62, 121, .1), 0 18px 40px rgba(40, 62, 121, .35); }
.clock-mock__btn .icon { width: 30px; height: 30px; }
.clock-mock__log { justify-self: stretch; display: grid; gap: 6px; margin: 6px 0 0; padding: 12px 14px; list-style: none; border-radius: 12px; background: #fff; border: 1px solid var(--line); text-align: left; font-size: .8rem; color: var(--muted); }
.clock-mock__log b { color: var(--ink); }
.ai-demo { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.ai-demo__cap { margin: 16px 0 0; color: var(--muted); font-size: .95rem; text-align: center; }
.ai-demo__cap b { color: var(--ink); }

.ask-card h3 { display: flex; align-items: center; gap: 10px; }
.ask-card h3 .icon { color: var(--blue-600); }
.ask-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ask-list li { padding: 10px 14px; border-radius: 14px 14px 14px 4px; background: #eef0fb; color: var(--ink); font-size: .95rem; }

.roadmap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--line); }
.roadmap__item { padding: 28px; background: #fff; }
.roadmap__item h3 { margin: 14px 0 8px; }
.roadmap__item p { margin: 0; color: var(--muted); }

.next-teaser { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.next-teaser > img { width: 100%; height: auto; filter: drop-shadow(0 22px 34px rgba(16, 29, 68, .2)); }
.next-teaser .chat-phone__screen { min-height: 0; }

/* ---------- Responsive ---------- */
/* The hero cards overhang the container by 32px, which only fits while the page margin is at least that wide. */
@media (max-width: 1263px) {
  .float-card--a { left: -8px; }
  .float-card--b { right: -8px; }
}
@media (max-width: 1100px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps:not(.steps--stack) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .api-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .api-facts li { border-bottom: 1px solid var(--line); }
  .api-facts li:nth-child(2n) { border-right: 0; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento__item--wide { grid-column: 1 / -1; }
  .float-card--b { display: none; }
  .hub { grid-template-columns: 1fr 1fr; }
  .hub > :nth-child(5) { grid-column: 1 / -1; grid-row: auto; order: -1; }
  .actions-end { justify-content: flex-start; }
  .hero__grid, .split--wide-right, .split--wide-left, .feature, .tabs__panel, .why, .pt-callout, .cta-band__inner, .contact-grid, .split, .page-hero--split .container, .app-mock__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { margin-right: 0; }
  .hero__visual .shot__frame { border-radius: 14px 14px 0 0; border-right: 1px solid var(--line-strong); }
  .hero__float { left: 12px; bottom: 18px; }
  .hero__copy { padding-bottom: 8px; }
  .trust-strip { margin-top: 28px; }
  .feature--reverse .feature__copy { order: 0; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .law-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .law-timeline::before { display: none; }
  .kicker-list { grid-template-columns: 1fr 1fr; }
  .rv-list { border-right: 0; border-bottom: 1px solid var(--line); }
  .cta-band__actions { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .api-facts { grid-template-columns: minmax(0, 1fr); }
  .api-facts li { border-right: 0; }
  .api-ref { padding: 4px 10px 14px; }
  .api-code { font-size: .74rem; padding: 14px; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bento__item--wide { grid-template-columns: minmax(0, 1fr); padding: 24px; }
  .bento__copy { padding-bottom: 0; }
  .bento__media { border-radius: 12px; border: 1px solid var(--line-strong); max-height: 200px; }
  .float-card { display: none; }
  .mgmt-points { grid-template-columns: minmax(0, 1fr); }
  .hero2 h1 br { display: none; }
  .hero2__head { text-align: left; }
  .hero2__actions, .hero2__proof { justify-content: flex-start; }
  .hero2__proof { flex-direction: column; }
  .stats--flat .stat { text-align: left; }
  .industries { text-align: left; }
  .hero2 .iso-row { justify-content: flex-start; }
  .hub { grid-template-columns: 1fr; }
  body { font-size: 1rem; }
  .grid--2, .grid--3, .grid--4, .steps, .steps:not(.steps--stack), .checklist--cols, .form-grid, .shot-pair, .kicker-list, .law-timeline { grid-template-columns: minmax(0, 1fr); }
  .site-footer__top { grid-template-columns: 1fr; }
  .stat { padding: 22px 18px; }
  .hero__float { display: none; }
  .card { padding: 22px; }
  .tabs__list { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-inline: -20px; padding-inline: 20px; scrollbar-width: none; }
  .tabs__tab { flex: none; }
  .logo__img { height: 36px; }
  .rv-diff div { grid-template-columns: 1fr 1fr 1fr; font-size: .76rem; }
  .rv-row:nth-child(n+5) { display: none; }
  .rv-detail { padding: 16px 14px; }
  .perm-table th:last-child, .perm-table td:last-child { display: none; }
  .perm-table { font-size: .84rem; }
  .perm-table td, .perm-table th { padding: 8px 6px; }
  .perm-demo__head, .perm-demo__roles, .perm-demo__body { padding-left: 14px; padding-right: 14px; }
  .lightbox__close { top: 8px; right: 8px; }
}
@media (max-width: 480px) {
  .btn { white-space: normal; text-align: center; }
  .stat__value { font-size: 1.75rem; }
  .stat { padding: 18px 14px; }
  .stat__label { font-size: .86rem; }
  .container, .container--narrow { width: min(100% - 32px, var(--container)); }
  .form-card, .info-card { padding: 22px 18px; }
  .tabs__list { margin-inline: -16px; padding-inline: 16px; }
  .hub__node { padding: 14px; }
  .pt-fact { flex-direction: column; align-items: flex-start; gap: 4px; }
  .pt-callout { padding: 22px 18px; }
}
@media (max-width: 400px) {
  .site-header__inner { gap: 10px; }
  .site-header__actions { gap: 8px; }
  .logo__img { height: 30px; }
  .lang-switch > * { padding: .4em .55em; }
  .nav-toggle { width: 40px; height: 40px; }
}
@media (max-width: 1100px) {
  .chat-mock__body { grid-template-columns: 56px minmax(0, 1fr); }
  .chat-mock__list { display: none; }
  .ai-demo { grid-template-columns: minmax(0, 1fr); }
  .ai-demo .chat-phone { max-width: 360px; }
}
@media (max-width: 1100px) {
  .roadmap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ai-flow { grid-template-columns: minmax(0, 1fr); }
  .ai-flow li:not(:last-child)::after { top: auto; bottom: -12px; right: 50%; transform: translateX(50%) rotate(135deg); }
}
@media (max-width: 900px) {
  .clock-split { grid-template-columns: minmax(0, 1fr); }
  .phones { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .phones--three .phone-fig:last-child { grid-column: 1 / -1; justify-self: center; width: calc(50% - clamp(8px, 1.3vw, 18px)); }
  .roadmap { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .ai-compare { overflow: visible; }
  .ai-compare thead { display: none; }
  .ai-compare tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-bottom: 1px solid var(--line); }
  .ai-compare tr:last-child { border-bottom: 0; }
  .ai-compare tbody th { grid-column: 1 / -1; padding: 14px 16px 4px; border: 0; }
  .ai-compare td { border: 0; padding: 4px 12px 14px 36px; font-size: .88rem; }
  .ai-compare td .icon { left: 14px; top: 22px; }
  .ai-compare td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
  .chat-mock__rail { display: none; }
  .chat-mock__body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .next-teaser { grid-template-columns: minmax(0, 1fr); }
  .next-teaser > img { width: 70%; margin-inline: auto; }
  .next-hero__chat { position: static; width: 100%; margin-top: -40px; }
  .next-hero { flex-direction: column; align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  .float-card { animation: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .cta-band, .site-footer, .lightbox { display: none !important; }
  .reveal { opacity: 1; transform: none; }
}
