/* Quantro: Modern Slate */
:root {
  --slate: #2D485C;        /* brand slate (logo) */
  --slate-deep: #1B2B38;   /* dark sections */
  --slate-deeper: #121E28; /* footer */
  --slate-mid: #2A3E4F;
  --steel: #5A93C4;
  --steel-light: #8FB9DE;
  --ice: #E3ECF4;
  --mist: #EEF2F6;
  --paper: #F5F7F9;
  --line: #DDE4EB;
  --line-strong: #C9D3DD;
  --ink: #14202C;
  --muted: #4A5A6A;
  --on-dark: #C3CED9;
  --on-dark-muted: #9FB4C7;
  --radius: 20px;
  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--paper); line-height: 1.5; }
img { max-width: 100%; height: auto; }
a { color: var(--slate); }
a:hover { color: var(--slate-deep); }
h1, h2, h3 { font-family: var(--font-head); letter-spacing: -0.01em; line-height: 1.1; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--steel); outline-offset: 2px; border-radius: 6px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: absolute; left: 16px; top: -60px; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.wrap--narrow { max-width: 760px; }
@media (max-width: 600px) { .wrap { padding: 0 20px; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit; transition: background .15s, color .15s, border-color .15s; }
.btn--light { background: #fff; color: var(--slate-deep); }
.btn--light:hover { background: var(--ice); color: var(--slate-deep); }
.btn--dark { background: var(--slate-deep); color: #fff; }
.btn--dark:hover { background: var(--slate); color: #fff; }
.btn--ghost { color: #fff; border-color: rgba(255,255,255,.3); }
.btn--ghost:hover { border-color: #fff; color: #fff; }
.btn--block { width: 100%; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--slate-deep); transition: background .2s, box-shadow .2s; }
.site-header.is-scrolled { background: rgba(27,43,56,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.site-header__bar { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header__logo { display: flex; }
.site-header__logo img { height: 38px; width: auto; display: block; }
.site-header__actions { display: flex; align-items: center; gap: 12px; }
.site-header__cta { min-height: 44px; padding: 0 18px; font-size: 15px; }

.site-nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav__link { display: flex; align-items: center; gap: 6px; color: #D7DEE6; text-decoration: none; font: 500 15px/1 var(--font-body); padding: 12px 14px; border-radius: 8px; background: none; border: 0; cursor: pointer; }
.site-nav__link:hover, .site-nav__link[aria-expanded="true"] { color: #fff; background: rgba(255,255,255,.07); }
.site-nav__link[aria-current="page"] { color: #fff; }
.site-nav__chev { transition: transform .2s; }
.site-nav__link[aria-expanded="true"] .site-nav__chev { transform: rotate(180deg); }

.mega { position: absolute; left: 0; right: 0; top: 72px; padding: 0 32px 24px; }
.mega__inner { max-width: 1136px; margin: 0 auto; background: #fff; border-radius: 18px; box-shadow: 0 24px 60px rgba(10,20,30,.3); display: flex; overflow: hidden; animation: mega-in .18s ease-out; }
@keyframes mega-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mega__items { flex: 1; list-style: none; margin: 0; padding: 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.mega__item { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 12px; text-decoration: none; color: var(--ink); height: 100%; }
.mega__item:hover, .mega__item:focus-visible { background: var(--mist); color: var(--ink); }
.mega__icon { width: 40px; height: 40px; border-radius: 10px; background: var(--ice); color: var(--slate); display: flex; align-items: center; justify-content: center; }
.mega__title { font-weight: 600; font-size: 16px; }
.mega__desc { font-size: 14px; color: var(--muted); line-height: 1.5; }
.mega__feature { width: 320px; flex: none; background: var(--slate-deep); color: #fff; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.mega__feature-lead { font-size: 15px; color: var(--on-dark); }
.mega__feature-title { font-family: var(--font-head); font-size: 22px; font-weight: 600; line-height: 1.25; }
.mega__feature-text { font-size: 14px; color: var(--on-dark); }
.mega__feature-cta { color: #fff; font-weight: 600; font-size: 14px; }
.mega__feature-cta:hover { color: var(--steel-light); }
.mega__feature-link { margin-top: 14px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-direction: column; gap: 4px; color: #fff; text-decoration: none; }
.mega__feature-kicker { font-size: 13px; color: var(--on-dark-muted); }
.mega__feature-title { display: block; }
.mega__feature-link .mega__feature-title { font-size: 16px; }
.mega__feature-more { font-size: 14px; font-weight: 600; color: var(--steel-light); }

.burger { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid rgba(255,255,255,.2); background: none; color: #fff; align-items: center; justify-content: center; cursor: pointer; }

@media (max-width: 900px) {
  .site-nav, .site-header__cta { display: none; }
  .burger { display: flex; }
  .site-header__logo img { height: 32px; }
}

/* ---------- mobile drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 80; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(5,10,15,.55); animation: fade .2s; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(360px, 92vw); background: #fff; display: flex; flex-direction: column; box-shadow: -20px 0 50px rgba(0,0,0,.3); animation: slide .22s ease-out; }
@keyframes fade { from { opacity: 0; } }
@keyframes slide { from { transform: translateX(100%); } }
.drawer__head { height: 64px; padding: 0 16px 0 24px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.drawer__head img { height: 30px; width: auto; }
.drawer__close { width: 44px; height: 44px; border-radius: 10px; border: 0; background: var(--mist); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.drawer__nav { flex: 1; overflow-y: auto; padding: 8px 12px; display: flex; flex-direction: column; }
.drawer__link { min-height: 56px; padding: 0 12px; display: flex; align-items: center; justify-content: space-between; text-decoration: none; font: 600 18px var(--font-body); color: var(--ink); background: none; border: 0; border-radius: 10px; cursor: pointer; text-align: left; }
.drawer__link:hover { background: var(--mist); color: var(--ink); }
.drawer__toggle svg { transition: transform .2s; }
.drawer__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.drawer__sub { display: flex; flex-direction: column; padding: 0 0 8px 12px; }
.drawer__sub a { padding: 12px; border-radius: 10px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 2px; }
.drawer__sub a:hover { background: var(--mist); }
.drawer__sub span { font-weight: 500; }
.drawer__sub small { font-size: 13px; color: var(--muted); }
.drawer__foot { padding: 20px 24px 28px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; text-align: center; }
.drawer__mail { font-size: 14px; }
body.no-scroll { overflow: hidden; }

/* ---------- sections ---------- */
.band { padding: 88px 0; }
.band--tight-top { padding-top: 40px; }
.band--dark { background: var(--slate-deep); color: #fff; }
.band--white { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 46rem; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(30px, 4vw, 40px); }
.section-head p { font-size: 17px; color: var(--muted); line-height: 1.6; }
.band--dark .section-head p { color: var(--on-dark); }
.section-head--split { max-width: none; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; }
.section-head--split > div { max-width: 40rem; display: flex; flex-direction: column; gap: 14px; }
.lead { font-size: 19px; line-height: 1.6; color: var(--on-dark); max-width: 36rem; }

/* hero */
.hero { padding: 96px 0 110px; }
.hero__grid { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero__copy { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: clamp(40px, 5.5vw, 68px); line-height: 1.02; font-weight: 700; letter-spacing: -0.02em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero__note { font-size: 15px; color: var(--on-dark-muted); margin-top: 4px; }
.hero__art { flex: 1 1 380px; min-width: 0; }
.dash { background: #223646; border: 1px solid rgba(255,255,255,.08); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.dash__dots { display: flex; gap: 8px; }
.dash__dots span { width: 10px; height: 10px; border-radius: 5px; background: #3A4A5A; }
.dash__tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.dash__tiles span { height: 64px; border-radius: 12px; background: var(--slate-mid); }
.dash__tiles span:last-child { background: var(--slate); }
.dash__chart { height: 170px; border-radius: 12px; background: var(--slate-mid); padding: 20px; display: flex; align-items: flex-end; gap: 12px; }
.dash__chart span { flex: 1; border-radius: 6px; background: #3B5368; transform-origin: bottom; animation: grow .9s cubic-bezier(.2,.8,.2,1) both; }
.dash__chart span:nth-child(5) { background: var(--steel); }
.dash__chart span:nth-child(6) { background: var(--steel-light); }
.dash__chart span:nth-child(2) { animation-delay: .05s; } .dash__chart span:nth-child(3) { animation-delay: .1s; }
.dash__chart span:nth-child(4) { animation-delay: .15s; } .dash__chart span:nth-child(5) { animation-delay: .2s; } .dash__chart span:nth-child(6) { animation-delay: .25s; }
@keyframes grow { from { transform: scaleY(0); } }
@media (max-width: 900px) { .hero__art { display: none; } .hero { padding: 64px 0 72px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* cards */
.grid { display: grid; gap: 20px; }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.card h3 { font-family: var(--font-body); font-size: 17px; font-weight: 600; letter-spacing: 0; }
.card p { font-size: 15px; color: var(--muted); line-height: 1.55; }
.card--soft { background: var(--paper); border: 0; border-radius: var(--radius); padding: 28px; gap: 10px; }
.card--soft h3 { font-family: var(--font-head); font-size: 22px; }

.service { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.service h3 { font-size: 24px; font-weight: 600; }
.service p { font-size: 15px; color: var(--muted); line-height: 1.6; }
.service ul { margin: 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.9; }
.service li::before { content: '✓  '; color: var(--slate); font-weight: 600; }
.service__more { font-weight: 600; font-size: 15px; margin-top: auto; }
.service--dark { background: var(--slate-deep); border-color: var(--slate-deep); color: #fff; }
.service--dark p { color: var(--on-dark); }
.service--dark li::before { color: var(--steel-light); }
.service--dark .service__more { color: var(--steel-light); }

.stack { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; }
.stack__label { font-size: 14px; color: var(--muted); margin-right: 6px; }
.pill { font-size: 14px; font-weight: 500; padding: 7px 14px; border-radius: 999px; background: var(--ice); }

/* process */
.steps { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); border-top: 2px solid var(--slate-deep); counter-reset: step; }
.steps li { padding: 20px 20px 0 0; display: flex; flex-direction: column; gap: 8px; counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--font-head); font-size: 15px; font-weight: 600; color: var(--slate); }
.steps strong { font-weight: 600; }
.steps span { font-size: 14px; color: var(--muted); line-height: 1.55; }
.steps--long li { padding-bottom: 8px; }
.steps--long span { font-size: 15px; }

/* posts */
.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.post-card { text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s, transform .15s; }
.post-card:hover { border-color: #9FB4C7; color: var(--ink); transform: translateY(-2px); }
.post-card[hidden] { display: none; }
.post-card__art { height: 150px; background: var(--slate-mid); position: relative; overflow: hidden; }
.post-card__art::after { content: ''; position: absolute; left: 24px; right: 24px; bottom: 0; height: 70%; background: linear-gradient(90deg, rgba(255,255,255,.14) 0 14%, transparent 14% 20%, rgba(255,255,255,.2) 20% 34%, transparent 34% 40%, rgba(255,255,255,.28) 40% 54%, transparent 54% 60%, rgba(255,255,255,.38) 60% 74%, transparent 74% 80%, rgba(255,255,255,.5) 80% 94%, transparent 94%); clip-path: polygon(0 70%, 20% 55%, 40% 60%, 60% 30%, 80% 15%, 100% 0, 100% 100%, 0 100%); }
.post-card__art--b { background: var(--slate); }
.post-card__art--c { background: #3B5368; }
.post-card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.post-card__cat { font-size: 13px; color: var(--slate); font-weight: 600; }
.post-card__title { font-size: 20px; font-weight: 600; line-height: 1.3; }
.post-card__meta { font-size: 14px; color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { min-height: 44px; padding: 0 18px; border-radius: 999px; font: 500 14px var(--font-body); cursor: pointer; background: #fff; color: var(--ink); border: 1px solid var(--line-strong); }
.chip[aria-pressed="true"] { background: var(--slate-deep); color: #fff; border-color: var(--slate-deep); }

/* about strip */
.about-strip { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 40px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.about-strip__photo { flex: 1 1 220px; max-width: 280px; aspect-ratio: 1; border-radius: 20px; background: var(--ice); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; text-align: center; padding: 16px; object-fit: cover; }
.about-strip__copy { flex: 999 1 400px; display: flex; flex-direction: column; gap: 14px; }
.about-strip__copy h2 { font-size: 32px; line-height: 1.15; }
.about-strip__copy p { font-size: 16px; color: var(--muted); line-height: 1.65; }

/* contact */
.contact { display: flex; flex-wrap: wrap; gap: 48px; }
.contact__copy { flex: 1 1 360px; display: flex; flex-direction: column; gap: 16px; }
.contact__copy h2 { font-size: clamp(30px, 4vw, 40px); }
.contact__copy p { font-size: 17px; color: var(--on-dark); line-height: 1.6; }
.contact__copy a { color: var(--steel-light); font-weight: 600; }
.form { flex: 1 1 420px; background: #fff; color: var(--ink); border-radius: var(--radius); padding: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.form .full { grid-column: 1 / -1; }
.form input, .form textarea { min-height: 46px; border: 1px solid var(--line-strong); border-radius: 10px; padding: 10px 12px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--slate); box-shadow: 0 0 0 3px var(--ice); }
.form .hp { position: absolute; left: -9999px; }
.form__status { grid-column: 1 / -1; font-size: 14px; color: var(--muted); min-height: 1em; }
.form__status.is-ok { color: #1E6B45; }
.form__status.is-err { color: #A33A2B; }
@media (max-width: 520px) { .form { grid-template-columns: 1fr; } }

/* page heads (inner pages) */
.page-head { padding: 72px 0 80px; }
.page-head h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.05; letter-spacing: -0.02em; max-width: 52rem; }
.page-head .lead { margin-top: 20px; }
.page-head__crumb { display: inline-block; margin-bottom: 18px; color: var(--on-dark-muted); text-decoration: none; font-size: 15px; }
.page-head__crumb:hover { color: #fff; }

.two-col { display: flex; flex-wrap: wrap; gap: 48px; }
.two-col > * { flex: 1 1 380px; min-width: 0; }
.prose-block h2 { font-size: 30px; margin-bottom: 16px; }
.prose-block p { font-size: 17px; color: var(--muted); line-height: 1.7; margin-bottom: 14px; }
.checklist { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.checklist li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.checklist strong { color: var(--ink); display: block; margin-bottom: 2px; }

.cta-band { background: var(--slate-deep); color: #fff; border-radius: 24px; padding: 48px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta-band h2 { font-size: clamp(26px, 3.4vw, 34px); max-width: 36rem; }
.cta-band p { color: var(--on-dark); margin-top: 10px; }

/* article */
.article__head { padding: 64px 0 72px; }
.article__back { color: var(--on-dark-muted); text-decoration: none; font-size: 15px; display: inline-block; margin-bottom: 24px; }
.article__back:hover { color: #fff; }
.article__cat { display: block; font-size: 14px; color: var(--steel-light); font-weight: 600; margin-bottom: 12px; }
.article__head h1 { font-size: clamp(34px, 4.6vw, 50px); line-height: 1.08; letter-spacing: -0.02em; }
.article__dek { font-size: 19px; color: var(--on-dark); line-height: 1.55; margin-top: 18px; }
.article__meta { font-size: 14px; color: var(--on-dark-muted); margin-top: 18px; }
.prose { padding-top: 56px; padding-bottom: 24px; font-size: 18px; line-height: 1.75; color: #24323F; }
.prose h2 { font-size: 28px; margin: 44px 0 14px; color: var(--ink); }
.prose h3 { font-size: 21px; margin: 32px 0 10px; color: var(--ink); }
.prose p { margin: 0 0 20px; }
.prose ul, .prose ol { margin: 0 0 22px; padding-left: 1.3em; }
.prose li { margin-bottom: 8px; }
.prose blockquote { margin: 28px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--slate); font-family: var(--font-head); font-size: 21px; color: var(--ink); }
.prose code { background: var(--mist); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.article__cta { margin-top: 24px; margin-bottom: 72px; }
.article__cta { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.article__cta h2 { font-size: 24px; }
.article__cta p { color: var(--muted); }
.related { padding-bottom: 96px; }
.related h2 { font-size: 28px; margin-bottom: 24px; }

.signup { margin-top: 40px; background: var(--slate-deep); color: #fff; border-radius: 24px; padding: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px; justify-content: space-between; }
.signup h2 { font-size: 26px; }
.signup p { color: var(--on-dark); margin-top: 8px; }

/* footer */
.site-footer { background: var(--slate-deeper); color: #9FB0C1; padding: 56px 0 32px; font-size: 14px; }
.site-footer__grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.site-footer__brand { display: flex; flex-direction: column; gap: 10px; }
.site-footer__brand img { height: 34px; width: auto; margin-bottom: 6px; align-self: flex-start; }
.site-footer__col { display: flex; flex-direction: column; gap: 10px; }
.site-footer__head { color: #fff; font-weight: 600; }
.site-footer a { color: #9FB0C1; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer__legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); }

/* ---------- illustrations ---------- */
.page-head__split { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.page-head__split > div:first-child { flex: 999 1 460px; min-width: 0; }
.page-head__art { flex: 1 1 360px; min-width: 0; max-width: 520px; }
.page-head__art img, .case__art img, .section-art__img img { display: block; width: 100%; height: auto; border-radius: 22px; box-shadow: 0 20px 50px rgba(5,12,20,.28); }
.section-art__img img { box-shadow: 0 14px 40px rgba(20,32,44,.10); }
.section-art { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 56px; margin-bottom: 36px; }
.section-art .section-head { flex: 999 1 420px; margin-bottom: 0; }
.section-art__img { flex: 1 1 320px; max-width: 460px; }
@media (max-width: 900px) { .page-head__art { max-width: 440px; } }

/* ---------- mega menu: 2x2 + industries row ---------- */
.mega__items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mega__item { flex-direction: row; flex-wrap: wrap; align-items: flex-start; column-gap: 14px; row-gap: 4px; }
.mega__item .mega__icon { flex: none; }
.mega__item .mega__title { flex: 1 1 0; align-self: center; }
.mega__item .mega__desc { flex-basis: 100%; padding-left: 54px; }
.mega__industries { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 6px; padding: 14px 16px 2px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: var(--muted); }
.mega__industries a { font-weight: 600; text-decoration: none; }
.mega__industries a:hover { text-decoration: underline; }

/* ---------- case studies ---------- */
.work-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.work-card { text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s, transform .15s, box-shadow .15s; }
.work-card:hover { color: var(--ink); border-color: #9FB4C7; transform: translateY(-3px); box-shadow: 0 16px 40px rgba(20,32,44,.08); }
.work-card__art { background: #EEF3F7; border-bottom: 1px solid var(--line); }
.work-card__art img { display: block; width: 100%; height: auto; }
.work-card__body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.work-card__industry { font-size: 13px; font-weight: 600; color: var(--slate); }
.work-card__title { font-size: 21px; line-height: 1.25; }
.work-card__summary { font-size: 15px; color: var(--muted); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.work-card__more { margin-top: auto; padding-top: 6px; font-weight: 600; font-size: 15px; color: var(--slate); }

.case__head { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.case__intro { flex: 999 1 460px; min-width: 0; }
.case__intro h1 { font-size: clamp(34px, 4.6vw, 50px); line-height: 1.08; letter-spacing: -0.02em; }
.case__art { flex: 1 1 340px; max-width: 500px; }
.case__layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-top: 56px; padding-bottom: 32px; }
.case__body { flex: 999 1 520px; min-width: 0; padding: 0; max-width: 720px; }
.case__body h2:first-child { margin-top: 0; }
.case__facts { flex: 1 1 260px; max-width: 340px; position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; }
.facts { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 8px 22px; }
.facts__row { padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts__row:last-child { border-bottom: 0; }
.facts dt { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.facts dd { margin: 0; font-size: 15px; font-weight: 500; line-height: 1.5; }
@media (max-width: 900px) { .case__facts { position: static; max-width: none; } }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.faq__item[open] { border-color: #B9C8D6; }
.faq__item summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 600; font-size: 17px; position: relative; border-radius: 16px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ''; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--slate); border-bottom: 2px solid var(--slate); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq__item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq__item summary:hover { background: var(--mist); }
.faq__a { padding: 0 24px 22px; color: var(--muted); font-size: 16px; line-height: 1.7; }

/* ---------- assessment ---------- */
.assess { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.assess__form { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.assess__step { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 16px; }
.assess__step legend { float: left; width: 100%; padding: 0; display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-size: 22px; font-weight: 600; margin-bottom: 4px; }
.assess__num { width: 32px; height: 32px; border-radius: 50%; background: var(--slate-deep); color: #fff; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.assess__hint { color: var(--muted); font-size: 15px; }
.assess__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.assess label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.assess input[type=text], .assess input[type=email], .assess input[type=tel], .assess select, .assess textarea { min-height: 46px; border: 1px solid var(--line-strong); border-radius: 10px; padding: 10px 12px; font: inherit; font-size: 16px; font-weight: 400; color: var(--ink); background: #fff; width: 100%; }
.assess input:focus, .assess select:focus, .assess textarea:focus { outline: none; border-color: var(--slate); box-shadow: 0 0 0 3px var(--ice); }
.assess__checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.assess .check { flex-direction: row; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 12px; cursor: pointer; font-weight: 500; transition: border-color .15s, background .15s; }
.assess .check:hover { border-color: var(--slate); }
.assess .check input { width: 18px; height: 18px; accent-color: var(--slate); margin: 0; }
.assess .check:has(input:checked) { background: var(--ice); border-color: var(--slate); }
.assess .hp { position: absolute; left: -9999px; }
.assess__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.assess__submit .form__status { flex: 1 1 240px; }
.assess__aside { flex: 1 1 280px; max-width: 360px; position: sticky; top: 96px; background: var(--slate-deep); color: #fff; border-radius: 20px; padding: 30px; display: flex; flex-direction: column; gap: 18px; }
.assess__aside h2 { font-size: 22px; }
.assess__next { margin: 0; padding: 0; list-style: none; counter-reset: n; display: flex; flex-direction: column; gap: 16px; }
.assess__next li { counter-increment: n; display: grid; grid-template-columns: 32px 1fr; column-gap: 12px; row-gap: 2px; }
.assess__next li::before { content: counter(n); grid-row: span 2; width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--steel-light); }
.assess__next span { color: var(--on-dark); font-size: 14px; line-height: 1.5; }
.assess__privacy { font-size: 13px; color: var(--on-dark-muted); }
.assess__privacy a { color: var(--steel-light); }
@media (max-width: 900px) { .assess__aside { position: static; max-width: none; } }

.two-col--center { align-items: center; }
.work-grid--two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
/* phones & small tablets: illustrations span the content width instead of sitting left-aligned */
.page-head__art img, .case__art img, .section-art__img img, .work-card__art img { aspect-ratio: 640 / 420; }
@media (max-width: 900px) {
  .page-head__split, .case__head, .section-art { gap: 32px; }
  .page-head__art, .case__art, .section-art__img { flex-basis: 100%; max-width: 560px; }
  .page-head__art img, .case__art img { border-radius: 18px; box-shadow: 0 12px 32px rgba(5,12,20,.25); }
}
@media (max-width: 600px) {
  .page-head { padding: 56px 0 56px; }
  .page-head__art, .case__art, .section-art__img { max-width: none; }
  .case__layout { padding-top: 40px; gap: 32px; }
}

/* ---------- audit polish ---------- */
.grid--2x2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 700px) { .grid--2x2 { grid-template-columns: 1fr; } }
.steps--long { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); row-gap: 28px; }
.steps--long li { padding-right: 32px; }
.post-card__illo { background: #EEF3F7; border-bottom: 1px solid var(--line); }
.post-card__illo img { display: block; width: 100%; height: auto; aspect-ratio: 640 / 420; }
.article__split { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.article__split .article__intro { flex: 999 1 460px; min-width: 0; }
.article__art { flex: 1 1 340px; max-width: 480px; }
.article__art img { display: block; width: 100%; height: auto; aspect-ratio: 640 / 420; border-radius: 22px; box-shadow: 0 20px 50px rgba(5,12,20,.28); }
@media (max-width: 900px) { .article__art { flex-basis: 100%; max-width: 560px; } }
@media (max-width: 600px) { .article__art { max-width: none; } }
@media (min-width: 901px) { .steps--long { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
