/* =========================================================
   Bytenamics — global styles
   1. Tokens  2. Base  3. Layout  4. Components  5. Sections
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --navy: #041282;
  --navy-700: #0C1C8F;
  --purple: #441A84;
  --plum: #8A2D8E;
  --orange: #D9622B;          /* darkened for text contrast */
  --coral: #FF7983;           /* decorative only */
  --blush: #FDC2D8;

  --ink: var(--navy);
  --text: #3A3F7A;
  --muted: #5C5F94;
  --ground: #F8F7FC;
  --surface: #FFFFFF;
  --line: #E3E1F0;
  --line-soft: #EEEDF6;
  --line-strong: #CFCDE3;
  --tint: #F1ECFF;

  --grad-hero: linear-gradient(180deg, #EDE6FF 0%, #FFE6EA 50%, var(--ground) 100%);
  --grad-cta: linear-gradient(120deg, var(--navy) 0%, var(--purple) 60%, var(--plum) 100%);
  --grad-stripe: linear-gradient(90deg, var(--blush) 0%, #FCA65E 30%, var(--coral) 55%, var(--navy) 100%);

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --pill: 999px;
  --shadow: 0 20px 30px rgba(4, 18, 130, 0.08);
  --shadow-lg: 0 24px 60px rgba(4, 18, 130, 0.14);

  --wrap: 1240px;
  --gutter: 24px;
  --header-h: 72px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { 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(--ground);
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); line-height: 1.12; }
h1, h2 { font-weight: 500; letter-spacing: -0.03em; }
h3 { font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: var(--navy); }
a:hover { color: var(--purple); }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; border-radius: 6px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--pill);
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- 3. Layout ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 96px 0; }
.section--white { background: var(--surface); border-block: 1px solid var(--line); }
.section--dark { background: var(--navy); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(32px, 4vw, 44px); }
.section-head p { margin-top: 12px; font-size: 18px; color: var(--text); }
.section--dark .section-head p { color: #D5D8F5; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.kicker {
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--plum);
}

/* ---------- 4. Components ---------- */
/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 26px; border-radius: var(--pill);
  font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: background .15s, color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--purple); color: #fff; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--tint); color: var(--navy); }
.btn--outline-light { background: transparent; color: #fff; border-color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--navy); }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface); display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.icon-btn:hover { border-color: var(--line-strong); }

/* Cards */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.card h3 { font-size: 21px; margin-bottom: 8px; }
.card p { color: var(--text); }
.card__icon {
  width: 48px; height: 48px; border-radius: 14px; background: var(--tint); color: var(--purple);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.section--dark .card { background: var(--navy-700); border-color: #2A3AA0; box-shadow: none; }
.section--dark .card p { color: #D5D8F5; }
.section--dark .card__icon { background: rgba(255,255,255,.08); color: #fff; }

/* Chips (filters) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 44px; padding: 8px 18px; border-radius: var(--pill); cursor: pointer;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font-weight: 500; font-size: 15px;
}
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Badge */
.badge {
  display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: var(--pill);
}
.badge--ok { background: #E3F4EA; color: #17633A; }
.badge--info { background: #EAF0FF; color: #1E3FA8; }
.badge--draft { background: #F0EFF6; color: var(--text); }
.badge--warn { background: #FFF1E6; color: #9A3B0B; }

/* Form fields */
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 500; font-size: 15px; }
.field input, .field select, .field textarea {
  padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: #fff; font-weight: 400; font-size: 16px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--navy); outline-offset: 0; }
.field .error { color: #B42318; font-size: 13px; font-weight: 500; min-height: 1em; }
.field input[aria-invalid="true"] { border-color: #B42318; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(237, 230, 255, 0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__row { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.logo:hover { color: var(--navy); }
.logo__text { font-weight: 600; font-size: 22px; letter-spacing: -0.02em; }
.nav { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav__link, .nav__trigger {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; min-height: 44px;
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px;
  background: none; border: 0; border-radius: var(--pill); cursor: pointer;
}
.nav__link:hover, .nav__trigger:hover, .nav__trigger[aria-expanded="true"] { background: rgba(255,255,255,.7); color: var(--ink); }
.nav__trigger svg { transition: transform .2s; }
.nav__trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.menu-toggle { display: none; }

.mega {
  position: absolute; left: 0; right: 0; top: var(--header-h);
  background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.mega[hidden] { display: none; }
.mega__grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); padding: 28px var(--gutter); }
.mega__item {
  display: flex; gap: 14px; padding: 18px; border-radius: 14px; border: 1px solid var(--line);
  text-decoration: none; color: var(--ink);
}
.mega__item:hover { border-color: var(--navy); color: var(--ink); background: var(--ground); }
.mega__item strong { display: block; font-weight: 600; }
.mega__item span { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }

.drawer {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 39; overflow-y: auto;
  background: var(--surface); padding: 16px var(--gutter) 32px;
}
.drawer[hidden] { display: none; }
.drawer__group { border-bottom: 1px solid var(--line-soft); padding: 12px 0; }
.drawer__label { font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.drawer a { display: block; padding: 10px 0; color: var(--ink); text-decoration: none; font-weight: 500; }
.drawer .btn { width: 100%; margin-top: 16px; }

@media (max-width: 1180px) {
  .nav, .header-actions .hide-sm { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* ---------- Overlays (search + modal) ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 60; background: rgba(4, 18, 130, 0.55);
  display: flex; justify-content: center; align-items: flex-start; padding: 96px 16px 16px;
}
.overlay[hidden] { display: none; }
.overlay--center { align-items: center; padding-top: 16px; }
.dialog {
  width: 100%; max-width: 560px; background: var(--surface); border-radius: 20px; padding: 28px;
  box-shadow: var(--shadow-lg); max-height: calc(100vh - 32px); overflow-y: auto;
}
.dialog--search { max-width: 680px; padding: 20px; }
.dialog h2 { font-size: 28px; }
.dialog__sub { color: var(--muted); margin: 6px 0 20px; }
.dialog__actions { display: flex; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.dialog__actions .btn--primary { flex: 1; }
.search-bar { display: flex; gap: 8px; }
.search-bar input {
  flex: 1; min-width: 0; padding: 14px 16px; font-size: 18px;
  border: 1px solid var(--line-strong); border-radius: 12px;
}
.search-results { list-style: none; margin: 12px 0 0; padding: 0; max-height: min(60vh, 560px); overflow-y: auto; }
.search-results a { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.search-results a:hover, .search-results a:focus, .search-results a.is-active { background: var(--ground); outline: none; }
.search-results a.is-active { box-shadow: inset 3px 0 0 var(--navy); }
.search-results small { color: var(--muted); white-space: nowrap; font-size: 12px; padding-top: 3px; }
.sr-item__main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sr-item__title { font-weight: 600; }
.sr-item__desc { font-size: 13px; color: var(--muted); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.search-results mark { background: rgba(255, 121, 131, .22); color: inherit; border-radius: 3px; padding: 0 1px; }
.sr-head { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--plum); padding: 14px 12px 4px; }
.sr-count { font-size: 13px; color: var(--muted); padding: 4px 12px; }
.sr-suggest { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 14px 12px 4px; font-size: 13px; color: var(--muted); }
.chip--sm { font-size: 13px; padding: 4px 12px; min-height: 0; }
.search-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 10px; padding: 10px 4px 0; font-size: 12px; color: var(--muted); }
.search-foot kbd { font: inherit; font-size: 11px; border: 1px solid var(--line-strong); border-radius: 4px; padding: 0 5px; margin-right: 2px; background: #fff; }
@media (max-width: 600px) { .search-foot > span { display: none; } }
.search-empty { padding: 12px; color: var(--muted); }
.form-stack { display: flex; flex-direction: column; gap: 14px; }
.form-success[hidden], .form-stack[hidden] { display: none; }

/* ---------- 5. Sections ---------- */
/* Hero */
.hero { background: var(--grad-hero); }
.hero__row { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-block: 88px 72px; }
.hero__copy { flex: 1 1 460px; min-width: 0; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .06em;
  color: var(--plum); background: rgba(255,255,255,.75); border: 1px solid var(--line); border-radius: var(--pill); padding: 6px 14px;
}
.hero h1 { font-size: clamp(40px, 5.4vw, 64px); line-height: 1.04; margin: 20px 0; }
.hero__lead { font-size: 19px; color: var(--text); max-width: 560px; margin-bottom: 32px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__visual { flex: 1 1 440px; min-width: 0; }

.mock { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: var(--shadow-lg); }
.mock__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.mock__head strong { font-size: 18px; font-weight: 600; }
.mock__head small { color: var(--muted); }
.mock__row { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line-soft); }
.mock__tag { width: 64px; flex: none; text-align: center; font-size: 12px; font-weight: 600; padding: 4px 0; border-radius: 6px; background: #F0F2F7; color: #2A3550; }
.mock__main { flex: 1; min-width: 0; }
.mock__main strong { display: block; font-weight: 600; }
.mock__main span { font-size: 13px; color: var(--muted); }

/* Logos */
.logos { padding: 0 0 72px; }
.logos__label { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.logos__row { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.logo-slot {
  height: 56px; border: 1px dashed var(--line-strong); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 13px;
}

/* Tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 40px; }
.tabs__list { flex: 1 1 280px; display: flex; flex-direction: column; gap: 8px; }
.tab {
  text-align: left; padding: 18px 20px; border-radius: 14px; cursor: pointer;
  background: var(--surface); border: 2px solid var(--line-soft); color: var(--ink);
}
.tab strong { display: block; font-size: 18px; font-weight: 600; }
.tab span { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }
.tab[aria-selected="true"] { border-color: var(--navy); background: var(--ground); }
.tabs__panel {
  flex: 999 1 520px; min-width: 0; background: var(--ground); border: 1px solid var(--line);
  border-radius: 20px; padding: 36px;
}
.tabs__panel[hidden] { display: none; }
.tabs__panel h3 { font-size: 30px; font-weight: 500; letter-spacing: -0.02em; margin: 8px 0 12px; }
.tabs__panel > p { color: var(--text); margin-bottom: 24px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.checks li {
  display: flex; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; font-size: 15px;
}
.checks svg { flex: none; margin-top: 3px; color: var(--navy); }
.more-link { display: inline-block; margin-top: 24px; font-weight: 600; }

/* Stats */
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.stat__num { font-size: 56px; font-weight: 600; color: var(--orange); letter-spacing: -0.03em; line-height: 1.1; }
.stat__label { color: var(--text); margin-top: 4px; }

/* Services */
.service { display: flex; flex-direction: column; }
.service ul { margin: 16px 0 0; padding-left: 18px; color: var(--text); }
.service ul li + li { margin-top: 4px; }
.service .more-link { margin-top: auto; padding-top: 20px; }

/* Steps */
.steps { counter-reset: step; }
.step__num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 600; margin-bottom: 16px;
}

/* Testimonial */
.quote {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 48px;
  display: flex; flex-wrap: wrap; gap: 40px; align-items: center; box-shadow: var(--shadow);
}
.quote figure { flex: 999 1 520px; min-width: 0; margin: 0; }
.quote blockquote { margin: 0; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.35; font-weight: 500; letter-spacing: -0.01em; }
.quote figcaption { margin-top: 20px; color: var(--muted); }
.quote__stat { flex: 1 1 220px; border-left: 1px solid var(--line); padding-left: 32px; }
@media (max-width: 700px) { .quote { padding: 28px; } .quote__stat { border-left: 0; padding-left: 0; } }

/* Resources */
.res-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 24px; }
.res-grid { margin-top: 28px; }
.post {
  display: block; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--ground); text-decoration: none; color: var(--ink);
}
.post:hover { border-color: var(--navy); color: var(--ink); }
.post__cover { height: 150px; background: linear-gradient(135deg, #EDE6FF, #FFE6EA); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; }
.post__body { padding: 20px; }
.post__meta { font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--plum); text-transform: uppercase; }
.post__title { font-size: 19px; font-weight: 600; line-height: 1.3; margin-top: 8px; }
.post[hidden] { display: none; }

/* CTA band */
.cta { background: var(--grad-cta); color: #fff; }
.cta__row { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding-block: 80px; }
.cta h2 { color: #fff; font-size: clamp(30px, 4vw, 44px); max-width: 640px; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Footer */
.stripe { height: 6px; background: var(--grad-stripe); }
.site-footer { background: var(--navy); color: #D5D8F5; }
.site-footer a { color: #D5D8F5; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); padding: 64px 0 40px; }
.footer__brand p { margin-top: 12px; font-size: 14px; max-width: 280px; }
.footer__title { color: #fff; font-weight: 600; margin-bottom: 12px; }
.footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.footer__bottom {
  border-top: 1px solid #2A3AA0; padding: 24px 0 32px; display: flex; flex-wrap: wrap; gap: 16px;
  justify-content: space-between; font-size: 14px;
}
.footer__legal { display: flex; gap: 20px; }
.footer__note { font-size: 12px; color: #AEB3E0; margin-top: 8px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* =========================================================
   Step 2 — inner pages (products & services)
   ========================================================= */
.nav__link[aria-current="page"], .mega__item[aria-current="page"] { background: rgba(255,255,255,.85); }
.drawer a[aria-current="page"] { color: var(--plum); }

/* Page hero (shorter than home) */
.page-hero { background: var(--grad-hero); }
.page-hero__row { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-block: 72px 80px; }
.page-hero__copy { flex: 1 1 480px; min-width: 0; }
.page-hero__visual { flex: 1 1 400px; min-width: 0; }
.page-hero h1 { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.06; margin: 16px 0 18px; }
.crumbs { font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }

/* Checklist with CSS tick (no inline SVG needed) */
.ticks li { position: relative; padding-left: 40px; }
.ticks li::before {
  content: ""; position: absolute; left: 14px; top: 18px; width: 16px; height: 16px; background: var(--navy);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Alternating feature rows */
.feature-row { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding: 40px 0; }
.feature-row + .feature-row { border-top: 1px solid var(--line); }
.feature-row:nth-child(even) { flex-direction: row-reverse; }
.feature-row__copy { flex: 1 1 420px; min-width: 0; }
.feature-row__copy h3 { font-size: 28px; font-weight: 500; letter-spacing: -0.02em; margin: 8px 0 12px; }
.feature-row__copy p { color: var(--text); }
.feature-row__copy .checks { margin-top: 20px; grid-template-columns: 1fr; }
.feature-row__visual { flex: 1 1 380px; min-width: 0; }

/* Small UI illustrations */
.panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); }
.panel__title { font-weight: 600; margin-bottom: 12px; display: flex; justify-content: space-between; gap: 12px; }
.panel__title small { color: var(--muted); font-weight: 400; }
.progress { height: 8px; border-radius: 99px; background: var(--line-soft); overflow: hidden; margin-top: 6px; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--navy), var(--plum)); border-radius: 99px; }
.list-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-soft); font-size: 15px; }
.list-row:first-of-type { border-top: 0; }
.kv { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; font-size: 15px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; text-align: right; }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.flow span { background: var(--tint); color: var(--purple); padding: 8px 12px; border-radius: 10px; }
.flow i { font-style: normal; color: var(--muted); }

/* Package teaser */
.package {
  display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between;
  background: #fff; border: 2px solid var(--navy); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow);
}
.package h3 { font-size: 26px; font-weight: 500; letter-spacing: -0.02em; }
.package p { color: var(--text); margin-top: 6px; max-width: 620px; }
.package__price { font-size: 15px; color: var(--muted); }
.package__price strong { display: block; font-size: 32px; color: var(--navy); font-weight: 600; letter-spacing: -0.02em; }

/* FAQ (native details/summary) */
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-weight: 600; font-size: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 16px; font-size: 26px; font-weight: 400; color: var(--plum); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 20px; color: var(--text); }

/* Anchor sections on consulting page */
.service-block { scroll-margin-top: calc(var(--header-h) + 16px); }

/* =========================================================
   Step 3 — pricing (service packages)
   ========================================================= */
.plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: 20px; padding: 32px 28px; box-shadow: var(--shadow);
}
.plan--featured { border: 2px solid var(--navy); box-shadow: var(--shadow-lg); }
.plan__flag {
  position: absolute; top: -14px; left: 28px; background: var(--grad-cta); color: #fff;
  font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: var(--pill);
}
.plan__type { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--plum); }
.plan h3 { font-size: 26px; font-weight: 500; letter-spacing: -0.02em; margin: 6px 0 8px; }
.plan__desc { color: var(--text); min-height: 3.2em; }
.plan__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.plan__meta span { font-size: 13px; font-weight: 500; background: var(--ground); border: 1px solid var(--line); border-radius: var(--pill); padding: 4px 12px; color: var(--text); }
.plan .btn { width: 100%; }
.plan .checks { grid-template-columns: 1fr; gap: 0; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.plan .checks li { background: none; border: 0; padding: 7px 0 7px 28px; font-size: 15px; }
.plan .ticks li::before { left: 0; top: 12px; }
.plan__options { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.plan__option { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font-size: 15px; }
.plan__option a { font-weight: 600; font-size: 14px; white-space: nowrap; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.compare { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { text-align: left; padding: 14px 18px; border-top: 1px solid var(--line-soft); vertical-align: top; }
.compare thead th { background: var(--ground); border-top: 0; font-weight: 600; }
.compare tbody th { font-weight: 500; }
.compare .group th { background: #FBFAFE; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--plum); font-weight: 600; }
.compare .yes { color: #17633A; font-weight: 600; }
.compare .no { color: var(--muted); }
.compare .hl { background: rgba(4,18,130,0.035); }

/* =========================================================
   Step 4 — resources hub & articles
   ========================================================= */
.post { display: flex; flex-direction: column; }
.post__cover-label { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--purple); }
.post__excerpt { color: var(--text); font-size: 15px; margin-top: 8px; }

.hub-tools { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.hub-search { position: relative; flex: 0 1 320px; }
.hub-search input { width: 100%; padding: 12px 16px 12px 44px; border: 1px solid var(--line-strong); border-radius: var(--pill); background: #fff; font-size: 15px; min-height: 46px; }
.hub-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.hub-count { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.hub-empty { padding: 48px 24px; text-align: center; border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--muted); }
.hub-empty[hidden] { display: none; }
.hub-more { display: flex; justify-content: center; margin-top: 32px; }
.hub-more[hidden] { display: none; }

.featured { display: flex; flex-wrap: wrap; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.featured:hover { border-color: var(--navy); color: var(--ink); }
.featured__cover { flex: 1 1 260px; max-width: 100%; min-height: 220px; position: relative; overflow: hidden; background: var(--grad-hero); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 32px; border-right: 1px solid var(--line); }
.featured__cover::before, .featured__cover::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.featured__cover::before { width: 220px; height: 220px; right: -70px; top: -80px; background: radial-gradient(circle, rgba(138,45,142,.16), transparent 70%); }
.featured__cover::after { width: 180px; height: 180px; left: -60px; bottom: -70px; background: radial-gradient(circle, rgba(4,18,130,.12), transparent 70%); }
.featured__icon { position: relative; width: 88px; height: 88px; border-radius: 24px; display: grid; place-items: center; background: #fff; color: var(--navy); box-shadow: var(--shadow); }
.featured__cat { position: relative; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--purple); background: rgba(255,255,255,.8); border: 1px solid var(--line); border-radius: var(--pill); padding: 4px 12px; }
.featured__body { flex: 999 1 440px; min-width: 0; padding: 36px 40px; display: flex; flex-direction: column; justify-content: center; }
.featured__body h2 { font-size: clamp(26px, 2.8vw, 32px); margin: 8px 0 12px; }
.featured__body p { color: var(--text); max-width: 640px; }
.featured__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.featured__meta { font-size: 14px; color: var(--muted); }
.featured__foot .more-link { margin: 0; }
@media (max-width: 760px) { .featured__cover { border-right: 0; border-bottom: 1px solid var(--line); min-height: 180px; } .featured__body { padding: 28px 24px; } }

/* Article */
.article-hero { background: var(--grad-hero); }
.article-hero .wrap { max-width: 880px; padding-top: 64px; padding-bottom: 56px; }
.article-hero h1 { font-size: clamp(32px, 4.2vw, 48px); line-height: 1.1; margin: 14px 0 18px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 15px; align-items: center; }
.article-meta .badge { background: #fff; color: var(--purple); border: 1px solid var(--line); }
.article-layout { display: flex; flex-wrap: wrap; gap: 56px; max-width: 1120px; margin: 0 auto; padding: 56px var(--gutter) 96px; }
.toc { flex: 1 1 220px; max-width: 260px; }
.toc__inner { position: sticky; top: calc(var(--header-h) + 24px); }
.toc__title { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--text); text-decoration: none; font-size: 15px; }
.toc a:hover, .toc a[aria-current="true"] { color: var(--navy); border-left-color: var(--navy); }
.toc__share { margin-top: 24px; display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 860px) { .toc { max-width: none; } .toc__inner { position: static; } }

.prose { flex: 999 1 560px; min-width: 0; max-width: 720px; font-size: 18px; line-height: 1.75; color: #2B3070; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 30px; margin-top: 1.8em; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h3 { font-size: 22px; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose strong { color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th { background: var(--ground); }
.prose .table-wrap { margin-top: 1.4em; }
.callout { background: var(--tint); border-radius: var(--radius); padding: 20px 24px; font-size: 16px; }
.callout strong { display: block; margin-bottom: 4px; }
.author { display: flex; gap: 16px; align-items: center; border-top: 1px solid var(--line); padding-top: 28px; margin-top: 2.4em; }
.author__avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--grad-cta); flex: none; display: grid; place-items: center; color: #fff; font-weight: 600; font-size: 18px; }
.author__name { font-weight: 600; color: var(--ink); font-size: 16px; }
.author__role { font-size: 14px; color: var(--muted); }
@media (max-width: 600px) { .package { padding: 24px; } [data-newsletter] input { flex: 1 1 100%; } [data-newsletter] .btn { width: 100%; } }

/* =========================================================
   Step 5 — about & contact
   ========================================================= */
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.split__main { flex: 999 1 520px; min-width: 0; }
.split__side { flex: 1 1 320px; min-width: 0; }
.lede { font-size: 20px; line-height: 1.6; color: var(--text); }
.lede + .lede { margin-top: 18px; }
.mission {
  background: var(--grad-cta); color: #fff; border-radius: var(--radius-lg); padding: 36px;
}
.mission .kicker { color: #FDC2D8; }
.mission p { font-size: 22px; line-height: 1.45; font-weight: 500; margin-top: 10px; letter-spacing: -0.01em; }

.value { display: flex; gap: 16px; }
.value__num { font-size: 15px; font-weight: 600; color: var(--plum); min-width: 28px; padding-top: 3px; }
.value h3 { font-size: 20px; margin-bottom: 6px; }
.value p { color: var(--text); }

.creds { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.cred { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.cred__num { font-size: 40px; font-weight: 600; color: var(--orange); letter-spacing: -0.03em; line-height: 1.1; }
.cred__label { color: var(--text); margin-top: 6px; font-size: 15px; }

.team { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.person { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.person__photo { aspect-ratio: 4 / 3; background: linear-gradient(135deg, #EDE6FF, #FFE6EA); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person__body { padding: 18px 20px 20px; }
.person__name { font-weight: 600; font-size: 18px; }
.person__role { color: var(--muted); font-size: 14px; }
.person__body a { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 600; }

.offices { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.office { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.office h3 { font-size: 22px; margin-bottom: 4px; }
.office__time { font-size: 14px; color: var(--muted); }
.office address { font-style: normal; color: var(--text); margin: 14px 0 16px; line-height: 1.6; }
.office__links { display: flex; flex-wrap: wrap; gap: 8px; }

.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.contact-card h2 { font-size: 30px; }
.form-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.form-grid .full { grid-column: 1 / -1; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text); }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--navy); flex: none; }
.contact-methods { display: flex; flex-direction: column; gap: 10px; }
.method {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px;
  background: #fff; text-decoration: none; color: var(--ink);
}
.method:hover { border-color: var(--navy); color: var(--ink); }
.method__icon { width: 40px; height: 40px; border-radius: 12px; background: var(--tint); color: var(--purple); display: flex; align-items: center; justify-content: center; flex: none; }
.method strong { display: block; font-weight: 600; font-size: 15px; }
.method span { font-size: 14px; color: var(--muted); }

/* =========================================================
   Step 8 — AI Event Management product + demo
   ========================================================= */
.demo-shell { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.demo-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; background: var(--navy); color: #fff; }
.demo-bar strong { font-weight: 600; }
.demo-bar small { color: #D5D8F5; }
.demo-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--ground); }
.demo-tab { min-height: 44px; padding: 8px 16px; border-radius: var(--pill); border: 1px solid transparent; background: none; cursor: pointer; font-weight: 500; font-size: 15px; color: var(--text); display: inline-flex; align-items: center; gap: 8px; }
.demo-tab:hover { background: #fff; }
.demo-tab[aria-selected="true"] { background: #fff; border-color: var(--line-strong); color: var(--navy); font-weight: 600; }
.demo-panel { padding: 28px; }
.demo-panel[hidden] { display: none; }
.demo-note { font-size: 13px; color: var(--muted); }
.demo-cols { display: flex; flex-wrap: wrap; gap: 24px; }
.demo-cols > * { min-width: 0; }
.demo-form { flex: 1 1 300px; display: flex; flex-direction: column; gap: 14px; }
.demo-out { flex: 999 1 420px; background: var(--ground); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; min-height: 320px; }
.demo-out h3 { font-size: 20px; margin-bottom: 4px; }
.agenda { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; }
.agenda li { display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.agenda time { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--purple); font-size: 15px; }
.agenda strong { display: block; font-weight: 600; }
.agenda span { font-size: 14px; color: var(--text); }
.email-draft { margin-top: 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; font-size: 15px; white-space: pre-line; color: var(--text); }
.typing::after { content: "▍"; animation: blink 1s steps(1) infinite; color: var(--plum); }
@keyframes blink { 50% { opacity: 0; } }

.score-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
.score-table th, .score-table td { text-align: left; padding: 12px 14px; border-top: 1px solid var(--line-soft); vertical-align: middle; }
.score-table thead th { border-top: 0; background: var(--ground); font-weight: 600; font-size: 14px; }
.score { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-variant-numeric: tabular-nums; }
.score__bar { width: 64px; height: 6px; border-radius: 99px; background: var(--line-soft); overflow: hidden; }
.score__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--navy), var(--plum)); }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 16px; }

.chat { display: flex; flex-direction: column; height: 440px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--ground); flex: 999 1 420px; }
.chat__log { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 82%; padding: 10px 14px; border-radius: 16px; font-size: 15px; line-height: 1.5; }
.msg--bot { background: #fff; border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg--user { background: var(--navy); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.msg small { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); }
.chat__form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.chat__form input { flex: 1; min-width: 0; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--pill); font-size: 15px; }
.suggests { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.suggests .chip { min-height: 40px; font-size: 14px; }

.kpis { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); margin: 16px 0 20px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.kpi b { display: block; font-size: 28px; font-weight: 600; color: var(--navy); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.kpi span { font-size: 13px; color: var(--muted); }
.summary h4 { font-size: 16px; margin: 18px 0 6px; color: var(--ink); }
.summary ul { margin: 0; padding-left: 18px; color: var(--text); }
.summary li + li { margin-top: 4px; }
.bars { display: flex; flex-direction: column; gap: 8px; }
.bars div { display: grid; grid-template-columns: minmax(0, 180px) 1fr 40px; gap: 10px; align-items: center; font-size: 14px; }
.bars i { display: block; height: 10px; border-radius: 99px; background: linear-gradient(90deg, var(--navy), var(--plum)); }
.bars em { font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--navy); color: #fff; padding: 12px 20px; border-radius: var(--pill); font-weight: 500; z-index: 70; box-shadow: var(--shadow-lg); }
.toast[hidden] { display: none; }
@media (max-width: 600px) { .demo-panel { padding: 18px; } .bars div { grid-template-columns: 110px 1fr 36px; } }

/* Pricing polish: line up every row across the plan cards */
.plan__desc { min-height: 0; }
.plan__meta { flex-wrap: nowrap; margin: 16px 0 20px; }
.plan__meta span { white-space: nowrap; }
.plan .btn { align-self: start; }
.plan .checks { margin-top: 24px; padding-top: 20px; align-self: start; }
.plan .checks li { line-height: 1.5; }
.plan__options { margin-top: 24px; gap: 8px; align-self: start; }
.plan__option { min-height: 62px; padding: 10px 14px; line-height: 1.35; }
.plan__option span { min-width: 0; }
@supports (grid-template-rows: subgrid) {
  .plans { row-gap: 32px; }
  .plan { display: grid; grid-template-rows: subgrid; grid-row: span 6; row-gap: 0; align-content: start; }
  .plan > * { align-self: start; }
  .plan__desc { align-self: stretch; }
}
@media (max-width: 1100px) and (min-width: 561px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Partners strip (homepage) */
.partners { padding: 0 0 80px; }
.partners__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin-bottom: 16px; }
.partners__head h2 { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.partners__head p { color: var(--muted); font-size: 14px; }
.partners__row { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
.partner {
  display: flex; flex-direction: column; justify-content: flex-start; gap: 6px; min-height: 96px;
  padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
}
.partner__name { font-size: 19px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.partner__role { font-size: 13px; color: var(--muted); line-height: 1.4; }
.partner--primary { border: 2px solid var(--navy); }
.partner--primary .partner__role { color: var(--plum); font-weight: 500; }

/* =========================================================
   Customers & case studies
   ========================================================= */
.case-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); }
.case-card:hover { border-color: var(--navy); color: var(--ink); }
.case-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 24px; background: var(--grad-hero); border-bottom: 1px solid var(--line); min-height: 88px; }
.case-card__logo { font-weight: 600; color: var(--muted); font-size: 14px; border: 1px dashed var(--line-strong); border-radius: 10px; padding: 10px 14px; background: rgba(255,255,255,.7); }
.case-card__logo img { max-height: 36px; width: auto; }
.case-card__stat { text-align: right; }
.case-card__stat b { display: block; font-size: 30px; font-weight: 600; color: var(--orange); letter-spacing: -0.02em; line-height: 1.1; }
.case-card__stat span { font-size: 12px; color: var(--muted); }
.case-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.case-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.case-card__tags span { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: var(--pill); background: var(--tint); color: var(--purple); }
.case-card__title { font-size: 20px; font-weight: 600; line-height: 1.3; }
.case-card__summary { color: var(--text); font-size: 15px; }
.case-card .more-link { margin-top: auto; padding-top: 8px; }
.case-slot { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 8px; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); padding: 32px; color: var(--muted); min-height: 260px; }
.case-slot strong { color: var(--ink); font-size: 18px; }
.case-card__logo { white-space: nowrap; }
.case-card__stat span { display: block; line-height: 1.4; }
/* Customer stories grid: line up logo row, tags, titles, summaries and links across cards */
@supports (grid-template-rows: subgrid) {
  [data-cases] .case-card { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; }
  [data-cases] .case-card__body { grid-row: span 4; display: grid; grid-template-rows: subgrid; row-gap: 10px; }
  [data-cases] .case-card__tags { align-self: start; }
  [data-cases] .case-card .more-link { align-self: end; }
  [data-cases] .case-slot { grid-row: span 5; }
}

/* Case study page */
.case-hero__stats { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); margin-top: 32px; }
.case-hero__stats div { background: rgba(255,255,255,.8); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.case-hero__stats b { display: block; font-size: 30px; font-weight: 600; color: var(--orange); letter-spacing: -0.02em; line-height: 1.15; }
.case-hero__stats span { font-size: 14px; color: var(--text); }
.facts { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.facts h2 { font-size: 18px; margin-bottom: 14px; }
.facts dl { margin: 0; display: flex; flex-direction: column; gap: 14px; font-size: 15px; }
.facts dt { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 2px 0 0; color: var(--ink); }
.facts .case-card__logo { display: inline-block; margin-bottom: 18px; }
.case-quote { margin: 1.6em 0; padding: 28px; background: var(--grad-cta); color: #fff; border-radius: var(--radius-lg); }
.case-quote blockquote { margin: 0; font-size: 22px; line-height: 1.45; font-weight: 500; }
.case-quote figcaption { margin-top: 14px; color: #D5D8F5; font-size: 15px; }
.timeline { list-style: none; padding: 0 !important; margin-top: 1.2em; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 18px 24px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--navy); }
.timeline strong { display: block; }
[data-featured-case] .case-card { flex-direction: row; flex-wrap: wrap; }
[data-featured-case] .case-card__top { flex: 1 1 300px; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 24px; border-bottom: 0; border-right: 1px solid var(--line); padding: 32px; }
[data-featured-case] .case-card__stat { text-align: left; }
[data-featured-case] .case-card__stat b { font-size: 56px; }
[data-featured-case] .case-card__stat span { font-size: 15px; }
[data-featured-case] .case-card__body { flex: 999 1 420px; padding: 32px; justify-content: center; }
[data-featured-case] .case-card__title { font-size: 26px; }
@media (max-width: 760px) { [data-featured-case] .case-card__top { border-right: 0; border-bottom: 1px solid var(--line); } }

/* Resources section switcher (Articles / Customer stories) */
.subnav { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; margin-top: 18px; background: rgba(255,255,255,.75); border: 1px solid var(--line); border-radius: var(--pill); }
.subnav a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 18px; border-radius: var(--pill); text-decoration: none; color: var(--text); font-weight: 500; font-size: 15px; }
.subnav a:hover { color: var(--navy); background: #fff; }
.subnav a[aria-current="page"] { background: var(--navy); color: #fff; }

/* =========================================================
   Login & account area
   ========================================================= */
.auth { min-height: calc(100vh - var(--header-h)); background: var(--grad-hero); display: flex; align-items: flex-start; justify-content: center; padding: 64px var(--gutter) 96px; }
.auth__card { width: 100%; max-width: 460px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 36px; }
.auth__card h1 { font-size: 30px; margin-bottom: 6px; }
.auth__sub { color: var(--muted); margin-bottom: 24px; }
.auth__view[hidden] { display: none; }
.sso { display: flex; flex-direction: column; gap: 10px; }
.sso__btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; border-radius: var(--pill); border: 1px solid var(--line-strong); background: #fff; color: var(--ink); font-weight: 600; font-size: 15px; cursor: pointer; }
.sso__btn:hover { border-color: var(--navy); background: var(--ground); }
.sso__btn:disabled { opacity: .6; cursor: progress; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 22px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.pw-wrap { position: relative; display: block; }
.pw-wrap input { width: 100%; padding-right: 76px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--navy); font-weight: 600; font-size: 13px; padding: 8px 10px; min-height: 36px; cursor: pointer; border-radius: 8px; }
.auth__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.linkbtn { background: none; border: 0; padding: 4px 0; color: var(--navy); font-weight: 600; font-size: 14px; cursor: pointer; text-decoration: underline; }
.auth__alert { border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.auth__alert--error { background: #FDECEC; color: #8F1D14; }
.auth__alert--ok { background: #E3F4EA; color: #17633A; }
.auth__alert[hidden] { display: none; }
.auth__foot { margin-top: 22px; text-align: center; font-size: 14px; color: var(--muted); }
.demo-hint { margin-top: 18px; padding: 12px 14px; border: 1px dashed var(--line-strong); border-radius: 12px; font-size: 13px; color: var(--muted); }
.demo-hint code { font-size: 13px; color: var(--ink); background: var(--ground); padding: 1px 6px; border-radius: 6px; }

/* Account area */
.app { background: var(--ground); min-height: calc(100vh - var(--header-h)); }
.app__top { background: #fff; border-bottom: 1px solid var(--line); }
.app__toprow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; }
.app__hello h1 { font-size: 26px; }
.app__hello p { color: var(--muted); font-size: 14px; }
.switcher { display: inline-flex; gap: 4px; padding: 4px; background: var(--ground); border: 1px solid var(--line); border-radius: var(--pill); }
.switcher button { min-height: 40px; padding: 8px 18px; border: 0; border-radius: var(--pill); background: none; font-weight: 600; font-size: 14px; color: var(--text); cursor: pointer; }
.switcher button[aria-selected="true"] { background: var(--navy); color: #fff; }
.account { display: flex; align-items: center; gap: 10px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--grad-cta); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 15px; flex: none; }
.app__body { display: flex; flex-wrap: wrap; gap: 24px; padding-block: 28px 64px; }
.side { flex: 1 1 220px; max-width: 260px; }
.side nav { display: flex; flex-direction: column; gap: 4px; position: sticky; top: calc(var(--header-h) + 16px); }
.side button { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; padding: 10px 14px; border: 0; border-radius: 12px; background: none; text-align: left; font-weight: 500; font-size: 15px; color: var(--text); cursor: pointer; }
.side button:hover { background: #fff; }
.side button[aria-current="true"] { background: #fff; color: var(--navy); font-weight: 600; box-shadow: var(--shadow); }
.side .count { font-size: 12px; font-weight: 600; background: var(--tint); color: var(--purple); border-radius: var(--pill); padding: 2px 8px; }
.main-pane { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.pane[hidden] { display: none; }
.pane { display: flex; flex-direction: column; gap: 20px; }
.box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.box__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.box__head h2 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.tbl th, .tbl td { text-align: left; padding: 12px; border-top: 1px solid var(--line-soft); vertical-align: middle; }
.tbl thead th { border-top: 0; font-size: 13px; color: var(--muted); font-weight: 600; }
.tbl td.num { font-variant-numeric: tabular-nums; }
.steps-bar { display: flex; gap: 4px; margin-top: 8px; }
.steps-bar i { flex: 1; height: 6px; border-radius: 99px; background: var(--line-soft); }
.steps-bar i.on { background: var(--navy); }
.ticket-form { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.ticket-form .full { grid-column: 1 / -1; }
@media (max-width: 760px) { .side { max-width: none; } .side nav { flex-direction: row; overflow-x: auto; position: static; } .side button { white-space: nowrap; } }

/* =========================================================
   Homepage hero — interactive consulting & AI demo
   ========================================================= */
.hero__services { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero__services a { display: inline-block; font-size: 14px; font-weight: 500; color: var(--text); text-decoration: none; padding: 6px 12px; border-radius: var(--pill); background: rgba(255,255,255,.7); border: 1px solid var(--line); }
.hero__services a:hover { border-color: var(--navy); color: var(--navy); }
.hd { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden; }
.hd__tabs { display: flex; gap: 4px; padding: 8px; background: var(--ground); border-bottom: 1px solid var(--line); overflow-x: auto; }
.hd__tabs button { flex: 1 0 auto; min-height: 42px; padding: 8px 14px; border: 0; border-radius: 12px; background: none; font-weight: 600; font-size: 14px; color: var(--text); cursor: pointer; white-space: nowrap; }
.hd__tabs button:hover { background: #fff; }
.hd__tabs button[aria-selected="true"] { background: var(--navy); color: #fff; }
.hd__panel { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 14px; min-height: 470px; }
.hd__panel[hidden] { display: none; }
.hd__intro { font-weight: 600; color: var(--ink); }
.hd__grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
.hd input[type="range"] { width: 100%; accent-color: var(--navy); padding: 0; border: 0; min-height: 28px; }
.hd output { font-weight: 600; color: var(--navy); font-variant-numeric: tabular-nums; }
.hd__result { background: var(--ground); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.hd__big span { display: block; font-size: 30px; font-weight: 600; color: var(--orange); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.15; }
.hd__big small { color: var(--muted); font-size: 13px; }
.hd__levers { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--text); }
.hd__levers li { display: flex; justify-content: space-between; gap: 12px; }
.hd__levers b { color: var(--ink); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hd__fine { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.hd__fine .linkbtn { font-size: 12.5px; }
.hd__goals { display: flex; flex-wrap: wrap; gap: 8px; }
.hd__goals .chip { min-height: 40px; font-size: 14px; }
.hd__card { border: 1px solid var(--line); border-radius: 14px; padding: 18px; background: var(--ground); display: flex; flex-direction: column; gap: 10px; }
.hd__card h3 { font-size: 20px; }
.hd__card p { color: var(--text); font-size: 15px; }
.hd__meta { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 14px; margin: 0; }
.hd__meta dt { color: var(--muted); }
.hd__meta dd { margin: 0; color: var(--ink); font-weight: 500; }
.hd__docs { display: flex; flex-wrap: wrap; gap: 6px; }
.hd__docs span { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 8px; background: var(--tint); color: var(--purple); }
.hd__ask { display: flex; gap: 8px; }
.hd__ask input { flex: 1; min-width: 0; padding: 11px 14px; border: 1px solid var(--line-strong); border-radius: var(--pill); font-size: 15px; }
.hd__suggest { display: flex; flex-wrap: wrap; gap: 6px; }
.hd__suggest .chip { min-height: 36px; font-size: 13px; padding: 6px 12px; }
.hd__answer { display: flex; flex-direction: column; gap: 10px; }
.hd__step { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hd__step::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--plum); }
.hd__passage { font-size: 13.5px; border-left: 3px solid var(--line-strong); padding: 6px 10px; color: var(--text); background: var(--ground); border-radius: 0 8px 8px 0; }
.hd__passage b { color: var(--purple); font-weight: 600; display: block; font-size: 12px; margin-bottom: 2px; }
.hd__passage mark { background: #FFE6B8; color: inherit; padding: 0 2px; border-radius: 3px; }
.hd__reply { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font-size: 15px; color: var(--ink); box-shadow: var(--shadow); }
.hd__reply small { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; }
@media (max-width: 600px) { .hd__panel { padding: 18px; min-height: 0; } }
/* keep the hero copy still when the demo card changes height */
.hero .hero__row { align-items: flex-start; }
.hero .hero__copy { padding-top: 56px; }
@media (max-width: 900px) { .hero .hero__copy { padding-top: 0; } }

/* Square customer logo tiles (data in assets/js/logos.js) */
.logos__row[data-logos] { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)); }
.logo-tile {
  aspect-ratio: 16 / 9; max-width: 100%; display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; overflow: hidden; text-decoration: none;
  transition: border-color .2s, box-shadow .2s;
}
a.logo-tile:hover, .logo-tile:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.logo-tile img { max-width: 100%; max-height: 56px; width: auto; height: auto; object-fit: contain; }
.logo-tile--empty { background: transparent; border: 1px dashed var(--line-strong); }
.logo-tile--empty span { font-size: 12.5px; color: var(--muted); text-align: center; line-height: 1.3; }
@media (max-width: 600px) { .logos__row[data-logos] { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .logo-tile { padding: 10px; border-radius: 12px; } .logo-tile img { max-height: 34px; } }

/* =========================================================
   Trust center & compliance badges
   ========================================================= */
.comp-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; align-items: center; }
.comp-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: var(--pill); background: rgba(255,255,255,.08); border: 1px solid #2A3AA0; color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; }
.comp-badge:hover { border-color: #fff; color: #fff; }
.comp-badge__mark { width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--navy); display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; letter-spacing: .02em; }
.comp-badge small { font-weight: 500; color: #D5D8F5; font-size: 12px; }
.comp-cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.comp-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.comp-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.comp-card__seal { width: 56px; height: 56px; border-radius: 16px; background: var(--grad-cta); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; letter-spacing: .02em; text-align: center; line-height: 1.1; }
.comp-card h3 { font-size: 22px; }
.comp-card p { color: var(--text); font-size: 15px; }
.comp-card ul { margin: 0; padding-left: 18px; color: var(--text); font-size: 15px; }
.comp-card li + li { margin-top: 4px; }
.comp-progress { display: flex; flex-direction: column; gap: 6px; margin-top: auto; padding-top: 8px; }
.comp-progress__label { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: var(--pill); white-space: nowrap; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status--progress { background: #FFF1E6; color: #9A3B0B; }
.status--aligned { background: #EAF0FF; color: #1E3FA8; }
.status--done { background: #E3F4EA; color: #17633A; }
/* Services menu has 6 items: show them as 3 + 3 */
@media (min-width: 761px) { #mega-services .mega__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Footer: AWS partner badge next to the partner tier text */
.footer__partner { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.footer__partner img { width: 72px; height: 72px; flex: none; background: #fff; border-radius: 10px; padding: 4px; }
.footer__partner span { color: #fff; font-weight: 600; font-size: 14px; line-height: 1.4; }
.footer__partner-text { white-space: nowrap; font-size: 13px !important; }

/* =========================================================
   Cookie consent banner
   ========================================================= */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 80;
  max-width: 980px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 24px 60px rgba(4, 18, 130, 0.22); padding: 20px 22px;
}
.cookie[hidden] { display: none; }
.cookie__main { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
.cookie__copy { flex: 1 1 420px; min-width: 0; }
.cookie__copy strong { display: block; font-size: 17px; color: var(--ink); margin-bottom: 4px; }
.cookie__copy p { font-size: 14px; color: var(--text); line-height: 1.55; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie__prefs { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.cookie__prefs[hidden] { display: none; }
.cookie__opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.cookie__opt input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--navy); flex: none; }
.cookie__opt strong { display: block; font-size: 15px; color: var(--ink); }
.cookie__opt small { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.cookie__prefs .cookie__actions { justify-content: flex-end; }
.footer__linkbtn { background: none; border: 0; padding: 0; color: #D5D8F5; font: inherit; font-size: 14px; cursor: pointer; }
.footer__linkbtn:hover { color: #fff; text-decoration: underline; }
.footer__legal { flex-wrap: wrap; }
@media (max-width: 600px) { .cookie { padding: 16px; } .cookie__actions .btn { flex: 1 1 auto; } }

/* Footer legal links: one even row, button styled exactly like the links */
.footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.footer__legal a, .footer__legal .footer__linkbtn {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0; margin: 0;
  font-family: var(--font); font-size: 14px; font-weight: 400; line-height: 1.4;
  color: #D5D8F5; background: none; border: 0; text-decoration: none; cursor: pointer; vertical-align: middle;
}
.footer__legal a:hover, .footer__legal .footer__linkbtn:hover { color: #fff; text-decoration: underline; }
.footer__bottom { align-items: center; }
@media (max-width: 600px) { .footer__legal { gap: 4px 20px; } }
/* Team cards: equal heights, LinkedIn link pinned to the bottom */
.person { display: flex; flex-direction: column; }
.person__body { display: flex; flex-direction: column; flex: 1; }
.person__body a { margin-top: auto; padding-top: 10px; }
.person__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   Responsive polish
   ========================================================= */
/* Account area: on phones the section menu becomes a swipeable row inside the screen */
@media (max-width: 760px) {
  .app__body { flex-direction: column; gap: 16px; }
  .side { flex: none; width: 100%; max-width: 100%; min-width: 0; }
  .side nav { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px; }
  .side nav::-webkit-scrollbar { display: none; }
  .side button { flex: none; }
  .main-pane { flex: none; width: 100%; }
  .app__toprow { flex-direction: column; align-items: flex-start; }
  .switcher { width: 100%; }
  .switcher button { flex: 1; }
  .account { width: 100%; justify-content: space-between; }
}
/* Wide tables scroll inside their box instead of widening the page */
.main-pane, .pane, .box, .table-wrap { min-width: 0; max-width: 100%; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
/* Anything marked hidden stays hidden, whatever its display style */
[hidden] { display: none !important; }

/* Phones: tighter section spacing, demo tabs wrap instead of being cut off */
@media (max-width: 600px) {
  .section { padding-block: 64px; }
  .hero__row { padding-block: 48px 56px; gap: 36px; }
  .page-hero__row { padding-block: 48px 56px; gap: 32px; }
  .cta__row { padding-block: 56px; }
  .hd__tabs { flex-wrap: wrap; overflow-x: visible; }
  .hd__tabs button { flex: 1 1 auto; padding: 8px 10px; font-size: 13px; }
  .demo-tabs .demo-tab { flex: 1 1 auto; justify-content: center; font-size: 14px; }
  .section-head h2, .cta h2 { font-size: clamp(26px, 7vw, 32px); }
}
@media (max-width: 600px) {
  /* label/value lists: keep labels on one line, let long values wrap */
  .kv { grid-template-columns: auto minmax(0, 1fr); }
  .kv dt { white-space: nowrap; }
  /* homepage demo: three equal tabs */
  .hd__tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
  .hd__tabs button { white-space: normal; line-height: 1.2; min-height: 44px; padding: 6px 4px; }
}
.kv dd { min-width: 0; overflow-wrap: anywhere; }
/* very small phones: label above value */
@media (max-width: 360px) {
  .kv { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .kv dt { white-space: normal; margin-top: 8px; }
  .kv dd { text-align: left; }
}

/* Careers + Help center */
.job-list { display: grid; gap: 12px; }
.job { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); }
.job:hover { border-color: var(--navy); color: var(--ink); }
.job strong { display: block; font-size: 18px; font-weight: 600; }
.job div span { color: var(--muted); font-size: 14px; }
.help-group { margin-top: 40px; }
.help-group h2 { font-size: 24px; margin-bottom: 8px; }

/* Spam trap field on forms (hidden from people) */
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }

/* phone: article titles */
@media (max-width: 600px) { .article-hero h1 { font-size: 28px; line-height: 1.15; } }

/* Customer logo image inside case cards / facts box */
.case-card__logo:has(img), .case-card__logo--img { border-style: solid; background: #fff; padding: 8px 12px; line-height: 0; }
.case-card__logo img, .case-card__logo--img img { max-height: 40px; width: auto; max-width: 160px; object-fit: contain; }
.facts .case-card__logo--img img { max-height: 56px; }

/* Links inside the case-study facts box stay inline */
.facts dd a { display: inline; padding: 0; margin: 0; border: 0; font-size: inherit; color: var(--navy); text-decoration: underline; }
.case-card__logo--text { border-style: solid; background: #fff; color: var(--ink); }

/* Case cards: keep logo + stat inside the card on very small phones */
@media (max-width: 380px) { .case-card__top { flex-wrap: wrap; padding: 16px 18px; } .case-card__logo img { max-width: 120px; } .case-card__body { padding: 18px; } }
