/* ==========================================================================
   Genaisys marketing site — IRISYS design system, Genaisys colours
   White canvas, deep-navy headlines, Genaisys teal primary, navy→teal dark bands,
   pastel tiles, line-art illustrations.
   ========================================================================== */

/* ---------- Self-hosted fonts (metric-matched fallback avoids layout shift) ---------- */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/assets/fonts/manrope-latin.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: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/assets/fonts/manrope-latin-ext.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: 'Manrope Fallback'; src: local('Arial'), local('Liberation Sans'), local('Helvetica'); size-adjust: 97.57%; ascent-override: 109.26%; descent-override: 30.75%; line-gap-override: 0%; }

:root {
  --white: #FFFFFF;
  --tint: #F2F7F9;
  --tint-2: #E6F0F4;
  --border: #D6E8EF;
  --border-2: #BFD6E0;

  --ink: #0D1B2A;
  --ink-2: #34495A;
  --muted: #5A7A8A;

  --primary: #1A6B8A;
  --primary-hover: #0D4F6B;
  --primary-tint: #E3F2F6;
  --plum: #0D1B2A;
  --plum-2: #0D4F6B;
  --gold: #2BBCBF;
  --accent: #2BBCBF;
  --accent-ink: #0D1B2A;
  --dark-grad: linear-gradient(135deg, #0D1B2A 0%, #0D4F6B 60%, #1A6B8A 100%);

  --rose: #D2F1F2;
  --mint: #D3F4E2;
  --sky: #D9E9FF;
  --butter: #FFEFC2;
  --lavender: #E5DDFF;

  --success: #16A34A;
  --warning: #B7791F;
  --danger: #DC2626;

  --font: 'Manrope', 'Manrope Fallback', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --radius: 10px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --shadow-md: 0 12px 32px -14px rgba(13, 27, 42, 0.22), 0 1px 2px rgba(13, 27, 42, 0.05);
  --shadow-lg: 0 30px 60px -30px rgba(13, 27, 42, 0.35);

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(56px, 7vw, 104px);
  --header-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-hover); }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }
strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; inset-inline-start: 16px; top: -48px; z-index: 100; padding: 8px 12px; background: var(--plum); color: #fff; border-radius: 6px; }
.skip-link:focus { top: 12px; color: #fff; }
.num { font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
section { padding-block: var(--section-y); }
section.tint { background: var(--tint); }
.two-col { display: grid; gap: clamp(32px, 5vw, 64px); }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; } }
.tone-0 { --tone: var(--rose); } .tone-1 { --tone: var(--mint); } .tone-2 { --tone: var(--sky); } .tone-3 { --tone: var(--butter); } .tone-4 { --tone: var(--lavender); }

/* ---------- Typography ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; }
.headline { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.6rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; max-width: 24ch; }
.lede { font-size: 17.5px; color: var(--ink-2); max-width: 64ch; margin-top: 16px; }
.section-head { margin-bottom: clamp(28px, 4vw, 44px); }
.section-head--center { text-align: center; }
.section-head--center .headline, .section-head--center .lede { margin-inline: auto; }
.footnote { font-size: 13.5px; color: var(--muted); margin-top: 24px; max-width: 70ch; }
.footnote--light { color: rgba(255, 255, 255, 0.6); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--primary); }
.link-arrow .icon { transition: transform .15s ease; }
.link-arrow:hover .icon { transform: translateX(3px); }
.section-more { margin-top: 32px; text-align: center; }
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.25rem; font-weight: 800; margin-top: 40px; margin-bottom: 8px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-2); }
.pill { display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; background: var(--tint-2); color: var(--ink-2); }
.pill--rose { background: var(--primary-tint); color: var(--primary-hover); }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; }
.placeholder-tag { display: inline-block; font-size: 11.5px; font-weight: 700; color: var(--warning); background: var(--butter); border: 1px dashed var(--warning); padding: 4px 9px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 22px; border-radius: var(--radius); font-weight: 800; font-size: 14.5px; letter-spacing: 0.02em; line-height: 1.2; white-space: nowrap; border: 2px solid transparent; transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 7px 16px; font-size: 13.5px; }
.btn-lg { min-height: 52px; padding: 13px 26px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px -10px rgba(26, 107, 138, 0.55); }
.btn-primary:hover { background: var(--primary-hover); color: #fff; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--border-2); }
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand-logo { height: 44px; width: auto; }
.brand-word { display: flex; flex-direction: column; line-height: 1; font-weight: 800; font-size: 24px; letter-spacing: -0.02em; color: inherit; }
.brand-sub { font-size: 9.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.main-nav { display: none; margin-inline-start: 12px; }
.nav-list { display: flex; gap: 2px; }
.nav-item { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; font-size: 12.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); background: transparent; border: 0; border-radius: 8px; }
.nav-link:hover, .nav-link[aria-expanded="true"], .nav-link[aria-current="page"] { color: var(--primary); background: var(--tint); }
.nav-link .icon-chevron { transition: transform .15s ease; }
.nav-link[aria-expanded="true"] .icon-chevron { transform: rotate(180deg); }
.menu { position: absolute; top: calc(100% + 10px); inset-inline-start: 0; z-index: 60; min-width: 320px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 10px; }
.menu-inner--intro { display: grid; grid-template-columns: 240px 1fr; gap: 10px; min-width: 680px; }
.menu-intro { background: var(--tint); border-radius: 12px; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.menu-intro p { font-size: 14px; color: var(--ink-2); }
.menu-hub { font-weight: 800; font-size: 14px; }
.menu-list { display: grid; gap: 2px; }
.menu-item { display: block; padding: 10px 12px; border-radius: 10px; color: var(--ink); }
.menu-item:hover, .menu-item[aria-current="page"] { background: var(--primary-tint); color: var(--ink); }
.menu-item-title { display: block; font-weight: 800; font-size: 14.5px; }
.menu-item-desc { display: block; font-size: 13px; color: var(--muted); }
.header-actions { display: flex; align-items: center; gap: 12px; margin-inline-start: auto; }
.header-contact { display: none; font-size: 12.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); padding: 10px 6px; }
.header-contact:hover { color: var(--primary); }
.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 10px; background: transparent; border: 1px solid var(--border); border-radius: 8px; }
.nav-toggle-bar { display: block; height: 2px; background: var(--ink); border-radius: 1px; }
.header-cta { display: none; }
@media (min-width: 1100px) {
  .main-nav, .header-contact, .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* ---------- Drawer ---------- */
.drawer-backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(13, 27, 42, 0.45); }
.drawer { position: fixed; top: 0; bottom: 0; inset-inline-end: 0; z-index: 61; width: min(380px, 90vw); background: #fff; color: var(--ink); display: flex; flex-direction: column; gap: 20px; padding: 16px 22px 32px; overflow-y: auto; transform: translateX(100%); transition: transform .25s ease; }
.drawer.is-open { transform: translateX(0) !important; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; }
.drawer-close { width: 44px; height: 44px; background: transparent; border: 1px solid var(--border); border-radius: 8px; font-size: 24px; line-height: 1; }
.drawer-nav { display: flex; flex-direction: column; }
.drawer-link, .drawer-group-btn { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 14px 0; font-size: 16px; font-weight: 800; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--border); text-align: start; }
.drawer-group-btn[aria-expanded="true"] .icon-chevron { transform: rotate(180deg); }
.drawer-sub { padding: 6px 0 10px; border-bottom: 1px solid var(--border); }
.drawer-sub a { display: block; padding: 9px 12px; color: var(--ink-2); font-weight: 600; border-radius: 8px; }
.drawer-sub a:hover { background: var(--tint); }
.drawer-sub-hub { color: var(--primary) !important; }
.drawer-actions { display: grid; gap: 10px; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { margin-bottom: 18px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px 10px; }
.breadcrumb li + li::before { content: "/"; margin-inline-end: 10px; color: var(--border-2); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }

/* ---------- Illustrations ---------- */
.ill { width: 100%; height: auto; max-width: 520px; margin-inline: auto; }

/* ---------- Home hero ---------- */
.hero { padding-block: clamp(40px, 6vw, 80px) clamp(32px, 5vw, 56px); }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 72px); } }
.hero-title { font-size: clamp(2.2rem, 1.2rem + 3.6vw, 3.9rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.05; max-width: 16ch; }
.hero-sub { font-size: clamp(18px, 1rem + 0.6vw, 21px); font-weight: 700; margin-top: 22px; max-width: 40ch; }
.hero-text { font-size: 17px; color: var(--ink-2); margin-top: 14px; max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 26px; }
.chips li { position: relative; padding-inline-start: 18px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.chips li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.5em; width: 10px; height: 10px; border-radius: 50%; background: var(--primary); }
.chips--stack { flex-direction: column; gap: 10px; }
.hero-art { position: relative; padding-top: 26px; }
.hero-tag { position: absolute; top: 0; inset-inline-start: 50%; transform: translateX(-50%); z-index: 2; white-space: nowrap; background: var(--mint); color: var(--ink); font-weight: 800; font-size: 14px; padding: 10px 18px; border-radius: 12px; box-shadow: var(--shadow-md); }
@media (max-width: 480px) { .hero-tag { white-space: normal; text-align: center; width: 90%; } .hero-art { padding-top: 48px; } }

/* ---------- Trust strip ---------- */
.trust { padding-block: 0 clamp(32px, 4vw, 56px); }
.trust-title { font-weight: 800; font-size: 18px; margin-bottom: 20px; }
.logo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (min-width: 720px) { .logo-strip { grid-template-columns: repeat(6, 1fr); } }
.logo-slot { height: 64px; display: flex; align-items: center; justify-content: center; border: 1px dashed var(--border-2); border-radius: 12px; color: var(--muted); font-size: 12px; font-weight: 600; }

/* ---------- Platform ---------- */
.platform-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .platform-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 48px; } }
.platform-list { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 8px; }
.platform-item + .platform-item { border-top: 1px solid var(--border); }
.platform-btn { display: flex; width: 100%; align-items: center; gap: 14px; padding: 16px 14px; background: transparent; border: 0; border-radius: 12px; text-align: start; font-weight: 800; font-size: 17px; color: var(--ink); }
.platform-btn:hover { background: var(--tint); }
.platform-num { font-size: 12px; font-weight: 800; color: var(--primary); }
.platform-btn .faq-icon { margin-inline-start: auto; }
.platform-item.is-open .platform-btn { color: var(--primary); }
.platform-panel { padding: 0 14px 18px 46px; }
.platform-panel p { font-size: 15px; color: var(--ink-2); margin-bottom: 10px; }

/* ---------- Screenshots ---------- */
.shot { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.shot-bar { display: flex; gap: 6px; padding: 10px 14px; background: var(--tint); border-bottom: 1px solid var(--border); }
.shot-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--border-2); }
.shot-bar span:first-child { background: var(--primary); } .shot-bar span:nth-child(2) { background: var(--gold); } .shot-bar span:nth-child(3) { background: var(--success); }
.shot img { width: 100%; height: auto; display: block; }
.shot figcaption { padding: 10px 14px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--border); }
.shot-wide { max-width: 1040px; margin-inline: auto; }

/* ---------- Outcomes ---------- */
.outcome-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .outcome-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .outcome-grid { grid-template-columns: repeat(4, 1fr); } }
.outcome { background: var(--tone, var(--tint)); border-radius: var(--radius-lg); padding: 28px 24px; }
.outcome-value { font-size: clamp(2.4rem, 1.8rem + 2vw, 3.4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.outcome-prefix, .outcome-suffix { font-size: 0.55em; font-weight: 800; }
.outcome-label { margin-top: 10px; font-weight: 600; color: var(--ink-2); font-size: 15px; }

/* ---------- How it works ---------- */
.how-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .how-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 56px; } }
.steps { display: grid; gap: 22px; }
.steps--row { gap: 20px; }
@media (min-width: 760px) { .steps--row { grid-template-columns: repeat(3, 1fr); } }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step-num { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; }
.step-title { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.step p { font-size: 15px; color: var(--ink-2); }

/* ---------- Page cards (solutions / industries) ---------- */
.page-cards { display: grid; gap: 18px; }
@media (min-width: 640px) { .page-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .page-cards { grid-template-columns: repeat(3, 1fr); } }
.page-card { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px 22px 24px; color: var(--ink); transition: transform .15s ease, box-shadow .15s ease; }
.page-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); color: var(--ink); }
.page-card-art { background: var(--tone, var(--tint)); border-radius: 12px; padding: 8px; margin-bottom: 6px; }
.page-card-art .ill { max-width: 100%; }
.page-card-title { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }
.page-card-text { font-size: 14.5px; color: var(--ink-2); flex: 1; }
.hub-cards { padding-top: 24px; }

/* ---------- Case cards ---------- */
.case-cards { display: grid; gap: 18px; }
@media (min-width: 900px) { .case-cards { grid-template-columns: repeat(2, 1fr); } }
.case-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.case-card-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.case-card-title { font-size: 20px; font-weight: 800; line-height: 1.25; }
.case-card-title a { color: var(--ink); }
.case-card-title a:hover { color: var(--primary); }
.case-card-text { font-size: 15px; color: var(--ink-2); }
.case-card-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 14px 0; border-block: 1px solid var(--border); }
.case-card-stats .num { display: block; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; color: var(--primary); }
.case-card-stats small { font-size: 12.5px; color: var(--muted); }

/* ---------- Why / lists ---------- */
.why-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .why-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; } }
.why-list { display: grid; gap: 14px; }
@media (min-width: 640px) { .why-list { grid-template-columns: repeat(2, 1fr); } }
.why-list li { position: relative; padding-inline-start: 34px; }
.why-list li::before { content: ""; position: absolute; inset-inline-start: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--primary); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M3 8.5l3 3 7-7'/%3E%3C/svg%3E"); background-size: 14px; background-position: center; background-repeat: no-repeat; }
.why-list h3 { font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.why-list p { font-size: 14.5px; color: var(--ink-2); }

/* ---------- Numbers band ---------- */
.numbers-band { background: var(--dark-grad); color: #fff; }
.numbers-grid { display: grid; gap: 24px; }
@media (min-width: 640px) { .numbers-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .numbers-grid { grid-template-columns: repeat(4, 1fr); } }
.number { border-inline-start: 2px solid var(--gold); padding-inline-start: 20px; }
.number-value { font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.number-label { margin-top: 8px; color: rgba(255, 255, 255, 0.78); font-weight: 600; }

/* ---------- About teaser ---------- */
.about-teaser-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .about-teaser-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 64px; } }
.about-teaser .section-head { margin-bottom: 0; }
.about-teaser .link-arrow { margin-top: 20px; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; gap: 32px; }
@media (min-width: 900px) { .faq-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 64px; } .faq-layout .section-head { position: sticky; top: calc(var(--header-h) + 24px); margin-bottom: 0; } }
.faq { display: grid; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 14px; }
.faq-q { font-size: inherit; font-weight: inherit; }
.faq-btn { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; background: transparent; border: 0; border-radius: 14px; text-align: start; font-size: 16.5px; font-weight: 800; color: var(--ink); }
.faq-btn:hover { color: var(--primary); }
.faq-icon { position: relative; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--primary-tint); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: var(--primary); top: 50%; left: 50%; transform: translate(-50%, -50%); transition: transform .2s ease; }
.faq-icon::before { width: 10px; height: 2px; }
.faq-icon::after { width: 2px; height: 10px; }
[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-a { padding: 0 20px 20px; }
.faq-a p { font-size: 15.5px; color: var(--ink-2); max-width: 70ch; }

/* ---------- CTA band: a plum card inside a light section, clearly above the footer ---------- */
.cta-band { padding-block: clamp(24px, 4vw, 48px) clamp(40px, 6vw, 72px); }
.cta-card { display: grid; gap: 28px; align-items: center; background: var(--dark-grad); color: #fff; border-radius: var(--radius-xl); padding: clamp(28px, 5vw, 56px); }
@media (min-width: 960px) { .cta-card { grid-template-columns: minmax(0, 1.4fr) auto; gap: 48px; } }
.cta-title { font-size: clamp(1.6rem, 1.1rem + 2vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; max-width: 24ch; }
.cta-sub { margin-top: 12px; max-width: 56ch; color: rgba(255, 255, 255, 0.78); font-size: 16.5px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-block: 16px 0; }
.page-hero-panel { display: grid; gap: 28px; align-items: center; background: var(--tint); border-radius: var(--radius-xl); padding: clamp(28px, 5vw, 64px); }
@media (min-width: 960px) { .page-hero-panel { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; } .page-hero-panel--wide { grid-template-columns: 1fr; } }
.page-title { font-size: clamp(2rem, 1.2rem + 2.8vw, 3.2rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.08; max-width: 18ch; }
.page-sub { font-size: 19px; font-weight: 700; margin-top: 18px; max-width: 44ch; }
.page-lede { font-size: 16.5px; color: var(--ink-2); margin-top: 12px; max-width: 60ch; }
.page-hero-art--small .ill { max-width: 360px; }

/* ---------- Features ---------- */
.feature-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; border-top: 6px solid var(--tone, var(--rose)); }
.feature-index { display: inline-block; font-size: 12px; font-weight: 800; color: var(--primary); margin-bottom: 10px; }
.feature h3 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.feature p { font-size: 14.5px; color: var(--ink-2); }

/* ---------- Stats ---------- */
.stat-row { display: grid; gap: 16px; }
@media (min-width: 720px) { .stat-row { grid-template-columns: repeat(3, 1fr); } }
.stat { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.stat-value { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; color: var(--primary); }
.stat-label { margin-top: 8px; font-weight: 600; color: var(--ink-2); font-size: 15px; }
.quote-block { margin-top: 32px; padding: 24px 28px; background: #fff; border-inline-start: 4px solid var(--gold); border-radius: 12px; color: var(--ink-2); font-style: italic; max-width: 72ch; }
.quote-block cite { display: block; margin-top: 10px; font-style: normal; font-weight: 700; color: var(--ink); font-size: 14px; }

/* ---------- Related ---------- */
.related-grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .related-grid { grid-template-columns: repeat(3, 1fr); } }
.related-card { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; color: var(--ink); }
.related-card:hover { box-shadow: var(--shadow-md); color: var(--ink); }
.related-card h3 { font-size: 18px; font-weight: 800; }
.related-card p { font-size: 14.5px; color: var(--ink-2); flex: 1; }

/* ---------- Industry pages ---------- */
.categories { padding-block: 24px; }
.categories-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.categories-title { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.challenge-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .challenge-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .challenge-grid { grid-template-columns: repeat(4, 1fr); } }
.challenge { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; }
.challenge h3 { font-size: 16.5px; font-weight: 800; margin-bottom: 6px; }
.challenge p { font-size: 14.5px; color: var(--ink-2); }
.answers-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .answers-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; } }
.answers-grid .why-list { grid-template-columns: 1fr; }

/* ---------- About ---------- */
.story-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .story-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 64px; } }
.story-prose { display: grid; gap: 16px; font-size: 17px; color: var(--ink-2); max-width: 70ch; }
.mission-grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .mission-grid { grid-template-columns: repeat(3, 1fr); } }
.mission { background: var(--tone, #fff); border-radius: var(--radius-lg); padding: 26px; }
.mission h3 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.mission p { color: var(--ink-2); font-size: 15px; }
.values-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .values-grid { grid-template-columns: repeat(3, 1fr); } }
.value { border-top: 3px solid var(--primary); padding-top: 14px; }
.value h3 { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.value p { font-size: 14.5px; color: var(--ink-2); }
.team-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.team-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px 22px; text-align: center; }
.team-avatar { width: 112px; height: 112px; margin: 0 auto 14px; }
.team-avatar svg { width: 100%; height: 100%; display: block; }
.team-name { font-weight: 800; font-size: 16.5px; color: var(--ink); }
.team-role { font-size: 13.5px; font-weight: 700; color: var(--primary); margin-top: 2px; }
.team-bio { font-size: 14px; color: var(--muted); margin-top: 8px; line-height: 1.55; }
.anon-tag { display: inline-block; font-size: 11.5px; font-weight: 700; color: var(--muted); background: var(--surface-2, #FAF7F8); border: 1px solid var(--border); border-radius: 999px; padding: 5px 12px; }
.contact-block { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .contact-block { grid-template-columns: minmax(0, 1.4fr) auto; } }
.contact-block .section-head { margin-bottom: 0; }
.contact-block .hero-actions { margin-top: 0; }

/* ---------- Product tour / screens gallery ---------- */
.tour { display: grid; gap: clamp(40px, 6vw, 80px); }
.tour-row { display: grid; gap: 28px; align-items: center; }
@media (min-width: 960px) { .tour-row { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr); gap: 56px; } .tour-row--flip .tour-copy { order: 2; } .tour-row--flip .tour-shot { order: 1; } }
.tour-index { display: inline-block; font-size: 12px; font-weight: 800; color: var(--primary); margin-bottom: 8px; }
.tour-copy h3 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); font-weight: 800; letter-spacing: -0.015em; line-height: 1.2; margin-bottom: 10px; }
.tour-copy > p { font-size: 15.5px; color: var(--ink-2); margin-bottom: 14px; }
.why-list--single { grid-template-columns: 1fr; gap: 8px; }
.why-list--single li::before { top: 2px; width: 18px; height: 18px; background-size: 11px; }
.why-list--single li { padding-inline-start: 28px; }
.why-list--single p { font-size: 14.5px; }

/* ---------- Roles ---------- */
.roles-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .roles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .roles-grid { grid-template-columns: repeat(4, 1fr); } }
.role { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; display: flex; flex-direction: column; gap: 10px; border-top: 6px solid var(--tone, var(--rose)); }
.role .pill { align-self: flex-start; }
.role h3 { font-size: 17px; font-weight: 800; line-height: 1.25; }
.role > p { font-size: 14.5px; color: var(--ink-2); flex: 1; }
.roles-strip { padding-block: 24px 0; }

/* ---------- Before / after table ---------- */
.table--compare-ba th:first-child { min-width: 160px; }
.table--compare-ba thead th.is-iris, .table--compare-ba td.ba-after { background: var(--primary-tint); }
.table--compare-ba td.ba-after { color: var(--ink); font-weight: 600; }
.table--compare-ba td.ba-before { color: var(--muted); }

/* ---------- Timeline ---------- */
.timeline { display: grid; gap: 16px; counter-reset: tl; }
@media (min-width: 720px) { .timeline { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .timeline { grid-template-columns: repeat(4, 1fr); } }
.timeline-step { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; padding-top: 26px; }
.timeline-step::before { content: ""; position: absolute; top: 0; inset-inline-start: 22px; width: 44px; height: 6px; background: var(--tone, var(--rose)); border-radius: 0 0 6px 6px; }
.timeline-label { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary); margin-bottom: 8px; }
.timeline-step h3 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.timeline-step p { font-size: 14.5px; color: var(--ink-2); }

/* ---------- Industry profile ---------- */
.profile-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .profile-grid { grid-template-columns: repeat(4, 1fr); } }
.profile-item { background: var(--tone, var(--tint)); border-radius: var(--radius-lg); padding: 20px; }
.profile-item dt { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.profile-item dd { margin: 6px 0 0; font-size: 18px; font-weight: 800; line-height: 1.3; }

/* ---------- Facts block ---------- */
.facts-section { padding-block: 0 var(--section-y); }
.facts { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); }
.facts-title { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; }
.facts-list { display: grid; gap: 0; }
@media (min-width: 900px) { .facts-list { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
.facts-list > div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 14.5px; }
.facts-list dt { font-weight: 700; color: var(--muted); }
.facts-list dd { margin: 0; color: var(--ink); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; }
.table th, .table td { padding: 12px 16px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--border); font-size: 14.5px; }
.table thead th { font-size: 11.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); background: var(--tint); white-space: nowrap; }
.table tbody th { font-weight: 700; color: var(--ink); }
.table tbody td { color: var(--ink-2); }
.table tr:last-child th, .table tr:last-child td { border-bottom: 0; }
.table-group th { background: var(--tint); font-weight: 800; font-size: 13px; color: var(--ink); }
.table--compare th:first-child { min-width: 240px; }
.table--compare td { text-align: center; min-width: 120px; }
.table--compare thead th:not(:first-child) { text-align: center; }
.cell-yes { color: var(--primary); display: inline-flex; }
.cell-no { color: var(--border-2); }
.cell-addon { font-size: 12px; color: var(--muted); background: var(--tint); border: 1px solid var(--border); padding: 2px 8px; border-radius: 999px; }
.table--flows th:first-child { min-width: 160px; white-space: nowrap; }
.flow-dir { font-weight: 700; font-size: 13px; white-space: nowrap; }

/* ---------- Demo form ---------- */
.demo { padding-top: 32px; }
.demo-layout { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .demo-layout { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 64px; } }
.lead-form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); display: grid; gap: 18px; box-shadow: var(--shadow-md); }
.field-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-size: 14px; font-weight: 700; }
.req { color: var(--primary); }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 10px 14px; background: var(--tint); border: 1px solid var(--border); border-radius: 10px; transition: border-color .15s ease, box-shadow .15s ease; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-tint); background: #fff; }
.field.is-invalid input, .field.is-invalid select { border-color: var(--danger); }
.field-error { font-size: 13px; color: var(--danger); }
.field-error:empty { display: none; }
.hint { font-size: 12.5px; color: var(--muted); }
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: 10px; }
.field--check input { width: 18px; height: 18px; min-height: 0; margin-top: 3px; accent-color: var(--primary); }
.field--check label { font-weight: 500; color: var(--ink-2); }
.field--check .field-error { grid-column: 1 / -1; }
.hp { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.form-error { padding: 12px 14px; background: #FEF2F2; border: 1px solid #FECACA; color: var(--danger); border-radius: 10px; font-size: 14.5px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.lead-success { background: #fff; border: 1px solid var(--border); border-inline-start: 6px solid var(--success); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); }
.lead-success h2 { font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.lead-success p { color: var(--ink-2); }
.demo-side { display: grid; gap: 20px; }
.demo-side-title { font-size: 18px; font-weight: 800; }
.demo-side-note { font-size: 14.5px; color: var(--muted); }

/* ---------- Footer (light, compact) ---------- */
.site-footer { background: var(--tint); color: var(--ink-2); border-top: 1px solid var(--border); padding-block: clamp(32px, 4vw, 48px) 20px; font-size: 14px; }
.footer-grid { display: grid; gap: 24px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.6fr repeat(5, 1fr); gap: 20px; } }
.footer-brand { max-width: 30ch; }
.footer-desc { margin-top: 12px; font-size: 13.5px; }
.footer-by { margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.footer-title { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); margin-bottom: 10px; }
.footer-col li { padding-block: 3px; }
.footer-col a { color: var(--ink-2); }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: var(--ink-2); }
.footer-legal a:hover { color: var(--primary); }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .drawer, .link-arrow .icon, .faq-icon::before, .faq-icon::after, .page-card, .btn { transition: none; }
}


/* ==========================================================================
   Genaisys additions — components the IRISYS system did not need
   ========================================================================== */

/* ---------- Brand ---------- */
.brand-logo { height: 34px; width: auto; }
.brand-word { flex-direction: row; font-size: 23px; letter-spacing: -0.02em; color: var(--primary-hover); }
.brand-ai { color: var(--accent); }
.site-header { transition: box-shadow .2s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(13, 27, 42, 0.18); }
.nav-link[data-current="true"] { color: var(--primary); }

/* ---------- Buttons ---------- */
.btn-accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 20px -10px rgba(43, 188, 191, 0.7); }
.btn-accent:hover { background: #45CDD0; color: var(--accent-ink); }
.btn .icon { flex: none; }

/* ---------- Mega menu: two-column product list ---------- */
.menu--wide .menu-inner--intro { min-width: 860px; }
#menu-industries.menu--wide { inset-inline-start: 50%; transform: translateX(-50%); }
.menu-list--2col { grid-template-columns: 1fr 1fr; column-gap: 4px; }
.menu-item-title .pill { margin-inline-start: 6px; vertical-align: 2px; }

/* ---------- Pills & tag rows ---------- */
.pill--soon { background: var(--butter); color: #8A5A00; }
.pill--link { background: #fff; border: 1px solid var(--border); color: var(--ink-2); transition: border-color .15s ease, color .15s ease; }
.pill--link:hover { border-color: var(--primary); color: var(--primary); }
.tag-rows { display: grid; gap: 12px; }
.tag-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.tag-row-label { min-width: 92px; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.page-card .tag-row-label { min-width: 0; font-size: 11px; }
.page-card .tag-row { gap: 6px 10px; }
.page-card .pill { font-size: 10.5px; padding: 4px 9px; }

/* ---------- Hero ---------- */
.hero-badge { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 8px 14px; background: #fff; border: 1px solid var(--border); border-radius: 999px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.hero-badge::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(43, 188, 191, 0.2); }
.hero .eyebrow { margin-bottom: 18px; }

/* ---------- Product strip (replaces the IRISYS client-logo strip) ---------- */
@media (min-width: 720px) { .logo-strip--7 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1100px) { .logo-strip--7 { grid-template-columns: repeat(7, 1fr); } }
.product-slot { flex-direction: column; gap: 2px; height: 72px; border-style: solid; border-color: var(--border); background: #fff; color: var(--ink); transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.product-slot:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--ink); }
.product-slot-name { font-size: 16px; font-weight: 800; letter-spacing: 0.02em; color: var(--primary-hover); }
.product-slot-domain { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* ---------- Platform accordion: artwork that follows the open product ---------- */
.platform-full { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-top: 2px; }
.platform-art { position: sticky; top: calc(var(--header-h) + 24px); }
.platform-art-card { margin: 0; background: var(--tone, #fff); border-radius: var(--radius-lg); padding: 20px; display: grid; gap: 14px; }
.platform-art-card .ill { max-width: 460px; }
.platform-art-card .shot { box-shadow: var(--shadow-md); }
.platform-art-card figcaption { font-size: 14px; color: var(--ink-2); text-align: center; }
.platform-art-card figcaption strong { color: var(--ink); }
@media (max-width: 959px) { .platform-art { position: static; } }

/* ---------- Cards ---------- */
.page-card-title a { color: inherit; }
.page-card-title a:hover { color: var(--primary); }
.page-card-art { display: block; }
.page-card-tagline { font-size: 15px; font-weight: 700; color: var(--ink); }
.product-card-head { display: flex; flex-wrap: wrap; gap: 8px; }
.product-card-full { font-size: 13.5px; font-weight: 700; color: var(--muted); margin-top: -6px; }
.page-card:hover .page-card-title a { color: var(--primary); }
article.page-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
@media (min-width: 1024px) { .page-cards--2 { grid-template-columns: repeat(2, 1fr); } }
.page-cards--2 .page-card-art .ill { max-width: 380px; }
.why-list--compact { gap: 6px; }
.why-list--compact p { font-size: 14px; }
@media (min-width: 1024px) { .case-cards--3 { grid-template-columns: repeat(3, 1fr); } }
.case-card-stats--2 { grid-template-columns: repeat(2, 1fr); }
.case-card-stats--1 { grid-template-columns: 1fr; }
.case-card .link-arrow { margin-top: auto; }
.case-card-text { flex: 1; }
@media (min-width: 1024px) { .feature-grid--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .related-grid--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .mission-grid--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .challenge-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.challenge p { font-size: 15px; color: var(--ink-2); }
.challenge .feature-index { display: block; }
.role h3 { font-size: 17px; }
.feature h3:only-of-type:last-child { margin-bottom: 0; }

/* ---------- Stats ---------- */
.stats-strip { padding-block: 32px 0; }
@media (min-width: 1024px) { .stat-row--4 { grid-template-columns: repeat(4, 1fr); } }
.stat-text { margin-top: 4px; font-size: 13.5px; color: var(--muted); }
.number-text { margin-top: 4px; font-size: 13.5px; color: rgba(255, 255, 255, 0.6); }
.number { border-inline-start-color: var(--accent); }
@media (min-width: 1024px) { .outcome-grid--3 { grid-template-columns: repeat(3, 1fr); } .outcome-grid--2 { grid-template-columns: repeat(2, 1fr); } }
.outcome-value--text { color: var(--primary); }
.outcome-value--text .icon { width: 34px; height: 34px; }
.footnote--center { text-align: center; margin-inline: auto; }
@media (min-width: 1100px) { .timeline--3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Industries "custom" note ---------- */
.custom-note { display: grid; gap: 18px; align-items: center; margin-top: 28px; padding: 24px 28px; background: var(--primary-tint); border-radius: var(--radius-lg); }
@media (min-width: 900px) { .custom-note { grid-template-columns: 1fr auto; } }
.custom-note h3 { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.custom-note p { font-size: 15px; color: var(--ink-2); max-width: 70ch; }

/* ---------- Home "why" block ---------- */
.why .container + .container { margin-top: clamp(32px, 5vw, 56px); }
.why .lede + .lede { margin-top: 12px; }
.chips--grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 640px) { .chips--grid { grid-template-columns: 1fr 1fr; } }
.chips--big li { font-size: 16px; font-weight: 800; color: var(--ink); }
.chips li::before { background: var(--accent); }

/* ---------- Tables ---------- */
.table--compare th:first-child { min-width: 200px; }
.table--compare tbody th small { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.table--compare th a { color: inherit; }
.table--compare th a:hover { color: var(--primary); }
.table--compare td { vertical-align: middle; }
.table-wrap--gap { margin-top: 20px; }

/* ---------- Case study block on solution pages ---------- */
.case-layout { display: grid; gap: 28px; align-items: start; }
@media (min-width: 960px) { .case-layout { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 48px; } }
.case-main { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px); }
.case-main-title { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
.case-main-sub { margin-top: 6px; font-weight: 700; color: var(--primary); }
.case-steps { display: grid; gap: 16px; margin-top: 20px; }
.case-steps > div { display: grid; gap: 4px; padding-top: 14px; border-top: 1px solid var(--border); }
.case-steps dt { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.case-steps dd { margin: 0; color: var(--ink-2); }
.case-side { display: grid; gap: 14px; background: var(--dark-grad); color: #fff; border-radius: var(--radius-lg); padding: 24px; }
.case-side-title { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.case-side .why-list p { color: #fff; font-weight: 700; font-size: 15.5px; }
.case-side .why-list li::before { background-color: var(--accent); }

/* ---------- Industry page ---------- */
.answers-art .ill { max-width: 480px; }
.stack-section { padding-block: 28px; border-block: 1px solid var(--border); }

/* ---------- About: expertise ---------- */
.expertise-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .expertise-grid { grid-template-columns: repeat(3, 1fr); } }
.expertise { background: #fff; border: 1px solid var(--border); border-top: 6px solid var(--tone, var(--rose)); border-radius: var(--radius-lg); padding: 22px; }
.expertise h3 { font-size: 17px; font-weight: 800; margin-bottom: 12px; }

/* ---------- Contact form ---------- */
.form-head h2 { font-size: 22px; font-weight: 800; }
.form-head p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.form-note { font-size: 13px; color: var(--muted); }
.field.is-invalid textarea { border-color: var(--danger); }
.lead-success { border-inline-start-color: var(--accent); }
.demo-side { background: var(--tint); border-radius: var(--radius-lg); padding: 26px; }
.demo-side .step-title { font-size: 16px; margin-bottom: 2px; }
.demo-side .step p { font-size: 14px; }

/* ---------- Footer ---------- */
.footer-brand .brand { margin-bottom: 2px; }
.footer-top { color: var(--ink-2); font-weight: 700; }
.footer-top:hover { color: var(--primary); }
.cta-card .btn-secondary { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.cta-card .btn-secondary:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); color: #fff; }
.page-card > .pill, .product-card-head .pill { align-self: flex-start; }
.related-card .pill, .role .pill { align-self: flex-start; }

/* ---------- Gap fillers: no half-empty last rows ---------- */
.page-card-body { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.page-card-body .link-arrow { margin-top: auto; }
.page-card--wide { grid-column: 1 / -1; }
@media (min-width: 800px) {
  .page-card--wide { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 36px; align-items: center; padding: 24px 32px 24px 24px; }
  .page-card--wide .page-card-art { margin-bottom: 0; }
  .page-card--wide .page-card-art .ill { max-width: 420px; margin-inline: auto; }
  .page-card--wide .page-card-body .link-arrow { margin-top: 6px; }
}
@media (min-width: 1024px) { .feature-grid--5 { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 640px) and (max-width: 1023px) {
  .feature-grid > :last-child:nth-child(odd), .related-grid--4 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .feature-grid--4 > :last-child:nth-child(4n+3), .related-grid--4 > :last-child:nth-child(4n+3) { grid-column: span 2; }
  .feature-grid--4 > :last-child:nth-child(4n+2), .feature-grid--4 > :nth-last-child(2):nth-child(4n+1),
  .related-grid--4 > :last-child:nth-child(4n+2), .related-grid--4 > :nth-last-child(2):nth-child(4n+1) { grid-column: span 2; }
  .feature-grid--4 > :last-child:nth-child(4n+1), .related-grid--4 > :last-child:nth-child(4n+1) { grid-column: 1 / -1; }
  .feature-grid--3 > :last-child:nth-child(3n+2) { grid-column: span 2; }
  .feature-grid--3 > :last-child:nth-child(3n+1) { grid-column: 1 / -1; }
}
.outcome--text { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.outcome--text .outcome-label { margin-top: 0; font-size: clamp(1.25rem, 1rem + .8vw, 1.6rem); font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; color: var(--ink); }

/* ---------- Contact form: honeypot + send status ---------- */
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.lead-form button[aria-busy="true"] { opacity: .7; cursor: progress; }
