/* ==========================================================================
   MVNETUS — design system and components
   Mobile-first. Edit the tokens in :root to retheme the whole site.
   ========================================================================== */

:root {
  --navy-950: #060d1a;
  --navy-900: #0a1628;
  --navy-800: #0f2040;
  --navy-700: #17315c;
  --charcoal: #1c2433;
  --blue-600: #1f66dd;
  --blue-500: #2f7df6;
  --blue-400: #5b9bff;
  --cyan-300: #7fd4ff;
  --white: #ffffff;
  --gray-50: #f5f7fb;
  --gray-100: #eaeef5;
  --gray-200: #d9e0ec;
  --gray-500: #5a6a82;
  --text: #0f1b2d;
  --text-on-dark: #dbe6f7;
  --muted-on-dark: #9fb2cf;

  --font: "Inter", "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(10, 22, 40, .06), 0 2px 8px rgba(10, 22, 40, .05);
  --shadow-md: 0 10px 30px rgba(10, 22, 40, .10);
  --shadow-lg: 0 24px 60px rgba(10, 22, 40, .18);

  --container: 1180px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --header-h: 72px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.65;
  color: var(--text); background: var(--white); overflow-x: hidden;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--blue-600); text-underline-offset: 3px; }
a:hover { color: var(--blue-500); }
h1, h2, h3, h4 { line-height: 1.18; margin: 0 0 .6em; letter-spacing: -.02em; color: var(--navy-900); font-weight: 750; }
h1 { font-size: clamp(2.1rem, 6.2vw, 3.7rem); font-weight: 800; }
h2 { font-size: clamp(1.65rem, 4vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 3px; border-radius: 6px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--white); color: var(--navy-900); padding: .7rem 1rem; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--alt { background: var(--gray-50); }
.section--dark { background: linear-gradient(160deg, var(--navy-950), var(--navy-800)); color: var(--text-on-dark); position: relative; overflow: hidden; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark p { color: var(--muted-on-dark); }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.section--dark .eyebrow, .hero .eyebrow { color: var(--cyan-300); }
.lead { font-size: clamp(1.05rem, 2.2vw, 1.22rem); color: var(--gray-500); max-width: 62ch; }
.section--dark .lead, .hero .lead { color: var(--text-on-dark); }
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 5vw, 3.2rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  --_bg: var(--blue-500); --_fg: #fff; --_bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .8rem 1.45rem; border-radius: 999px; border: 1.5px solid var(--_bd);
  background: var(--_bg); color: var(--_fg); font: inherit; font-weight: 650; font-size: .97rem; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(47, 125, 246, .35); color: var(--_fg); background: var(--blue-600); }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--ghost { --_bg: transparent; --_bd: rgba(255, 255, 255, .38); }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; box-shadow: none; }
.btn--outline { --_bg: transparent; --_fg: var(--navy-900); --_bd: var(--gray-200); }
.btn--outline:hover { background: var(--navy-900); color: #fff; border-color: var(--navy-900); box-shadow: none; }
.btn--light { --_bg: #fff; --_fg: var(--navy-900); }
.btn--light:hover { background: var(--gray-100); color: var(--navy-900); box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
.btn--sm { min-height: 42px; padding: .55rem 1.1rem; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.text-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 650; text-decoration: none; }
.text-link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); transition: background-color .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s var(--ease); }
.site-header.is-scrolled, .site-header.menu-open { background: rgba(6, 13, 26, .92); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: #fff; font-weight: 800; font-size: 1.28rem; letter-spacing: .02em; min-height: 44px; }
.logo:hover { color: #fff; }
.logo svg { width: 34px; height: 34px; flex: none; }
.logo span em { font-style: normal; color: var(--cyan-300); }
.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px; padding: 0 11px; background: transparent; border: 1.5px solid rgba(255, 255, 255, .3); border-radius: 12px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.site-nav { position: fixed; inset: var(--header-h) 0 auto 0; background: rgba(6, 13, 26, .98); padding: 1rem var(--gutter) 1.6rem; display: grid; gap: .25rem; max-height: 0; overflow: hidden; visibility: hidden; opacity: 0; transition: max-height .4s var(--ease), opacity .3s var(--ease), visibility 0s .4s; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.site-nav.is-open { max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; visibility: visible; opacity: 1; transition-delay: 0s; }
.site-nav a:not(.btn) { color: var(--text-on-dark); text-decoration: none; font-weight: 600; padding: .85rem .4rem; min-height: 48px; display: flex; align-items: center; border-bottom: 1px solid rgba(255, 255, 255, .06); position: relative; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { color: #fff; }
.site-nav a[aria-current="page"] { color: var(--cyan-300); }
.site-nav .btn { margin-top: 1rem; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; color: var(--text-on-dark); background: var(--navy-950); overflow: hidden; padding: calc(var(--header-h) + clamp(3rem, 8vw, 6rem)) 0 clamp(3.5rem, 9vw, 7rem); }
.hero--lg { min-height: min(92vh, 860px); display: flex; align-items: center; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; opacity: .9; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, rgba(6, 13, 26, .96) 6%, rgba(6, 13, 26, .7) 45%, rgba(6, 13, 26, .12)); }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 120px; z-index: -1; background: linear-gradient(to top, rgba(6, 13, 26, .6), transparent); }
.hero__scan { position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(91, 155, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(91, 155, 255, .07) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%); animation: grid-drift 28s linear infinite; }
@keyframes grid-drift { to { background-position: 64px 64px, 64px 64px; } }
.hero h1 { color: #fff; max-width: 17ch; }
.hero h1 .accent { background: linear-gradient(100deg, var(--blue-400), var(--cyan-300)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { max-width: 56ch; margin-bottom: 0; }
.hero__content > * { max-width: 760px; }
.hero__content > .hero-chips, .hero__content > .btn-row { max-width: none; }
.hero--page h1 { max-width: 20ch; font-size: clamp(2rem, 5.4vw, 3.3rem); }
.hero-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 1.4rem; color: var(--muted-on-dark); font-size: .9rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: .45rem; }
.breadcrumb { font-size: .86rem; color: var(--muted-on-dark); margin-bottom: 1.2rem; }
.breadcrumb a { color: var(--text-on-dark); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.hero-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2.2rem; padding: 0; list-style: none; }
.hero-chips li { padding: .4rem .9rem; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; font-size: .84rem; color: var(--text-on-dark); background: rgba(255, 255, 255, .04); }

/* ---------- Layout helpers ---------- */
.grid { display: grid; gap: 1.4rem; }
.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; background: var(--navy-900); }
.split__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.split__media:hover img { transform: scale(1.04); }
.split__media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); pointer-events: none; }

/* ---------- Cards ---------- */
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 1.7rem; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(47, 125, 246, .4); }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--gray-500); margin-bottom: 1.1rem; }
.card .text-link { margin-top: auto; }
.icon-box { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.2rem; background: linear-gradient(140deg, var(--navy-800), var(--navy-700)); color: var(--cyan-300); box-shadow: 0 8px 20px rgba(15, 32, 64, .25); }
.icon-box svg { width: 26px; height: 26px; }
.card--dark { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .12); }
.card--dark:hover { background: rgba(255, 255, 255, .07); border-color: rgba(127, 212, 255, .5); box-shadow: none; }
.card--dark p { color: var(--muted-on-dark); }
.card--dark h3 { color: #fff; }

/* Check list */
.checklist { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: .85rem; }
.checklist li { position: relative; padding-left: 2.1rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .28em; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--blue-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 70% no-repeat; }
.checklist strong { color: var(--navy-900); }
.section--dark .checklist strong { color: #fff; }

/* Platform chips (text only — no vendor logos, no implied partnership) */
.platform-grid { display: grid; gap: 1.2rem; }
.platform { padding: 1.7rem; border-radius: var(--radius-lg); border: 1px solid rgba(255, 255, 255, .14); background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); transition: transform .35s var(--ease), border-color .35s var(--ease); }
.platform:hover { transform: translateY(-4px); border-color: rgba(127, 212, 255, .55); }
.platform__name { display: block; font-size: 1.35rem; font-weight: 800; color: #fff; letter-spacing: -.01em; margin-bottom: .25rem; }
.platform__tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan-300); margin-bottom: .9rem; }
.platform p { margin: 0; font-size: .96rem; }
.disclaimer { margin-top: 2rem; font-size: .84rem; color: var(--muted-on-dark); max-width: 80ch; }
.section:not(.section--dark) .disclaimer { color: var(--gray-500); }

/* Steps / process */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.steps li { counter-increment: step; position: relative; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 1.5rem 1.5rem 1.5rem 4.6rem; transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.steps li:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 1.3rem; top: 1.35rem; width: 2.6rem; height: 2.6rem; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: .95rem; color: var(--cyan-300); background: var(--navy-800); }
.steps h3 { margin-bottom: .3rem; font-size: 1.08rem; }
.steps p { margin: 0; color: var(--gray-500); font-size: .97rem; }

/* Offerings list (services) */
.offer-grid { display: grid; gap: 1rem; }
.offer { display: flex; gap: 1rem; padding: 1.3rem 1.4rem; border: 1px solid var(--gray-200); border-radius: var(--radius); background: #fff; transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease); }
.offer:hover { border-color: rgba(47, 125, 246, .45); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.offer .icon-box { width: 44px; height: 44px; margin: 0; flex: none; border-radius: 12px; }
.offer .icon-box svg { width: 22px; height: 22px; }
.offer h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.offer p { margin: 0; color: var(--gray-500); font-size: .95rem; }
.pill-list { display: flex; flex-wrap: wrap; gap: .6rem; padding: 0; list-style: none; margin: 0; }
.pill-list li { padding: .5rem 1rem; border-radius: 999px; background: #fff; border: 1px solid var(--gray-200); font-weight: 600; font-size: .92rem; color: var(--navy-800); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(2.2rem, 6vw, 4rem); background: linear-gradient(135deg, var(--navy-800), var(--navy-950)); color: var(--text-on-dark); isolation: isolate; box-shadow: var(--shadow-lg); }
.cta-band::before { content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -200px; background: radial-gradient(circle, rgba(47, 125, 246, .5), transparent 65%); z-index: -1; }
.cta-band h2 { color: #fff; max-width: 22ch; }
.cta-band p { color: var(--text-on-dark); max-width: 56ch; margin-bottom: 0; }

/* Callouts */
.note { padding: 1.1rem 1.3rem; border-left: 4px solid var(--blue-500); background: var(--gray-50); border-radius: 0 var(--radius) var(--radius) 0; color: var(--text); font-size: .97rem; }

/* ---------- Blog ---------- */
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.post-card__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--navy-900); display: block; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.06); }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.5rem 1.6rem; }
.post-card h3 { font-size: 1.15rem; margin: .65rem 0 .5rem; }
.post-card h3 a { color: inherit; text-decoration: none; }
.post-card h3 a:hover { color: var(--blue-600); }
.post-card p { color: var(--gray-500); font-size: .96rem; }
.post-card .text-link { margin-top: auto; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .9rem; font-size: .84rem; color: var(--gray-500); }
.tag { display: inline-block; padding: .22rem .7rem; border-radius: 999px; background: rgba(47, 125, 246, .1); color: var(--blue-600); font-weight: 700; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.post-featured { display: grid; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-900); color: var(--text-on-dark); box-shadow: var(--shadow-lg); margin-bottom: clamp(2rem, 5vw, 3rem); }
.post-featured__media { min-height: 260px; overflow: hidden; }
.post-featured__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-featured:hover .post-featured__media img { transform: scale(1.05); }
.post-featured__body { padding: clamp(1.6rem, 4vw, 3rem); display: flex; flex-direction: column; justify-content: center; }
.post-featured h2 { color: #fff; font-size: clamp(1.5rem, 3.4vw, 2.2rem); margin-top: .8rem; }
.post-featured h2 a { color: inherit; text-decoration: none; }
.post-featured p { color: var(--muted-on-dark); }
.post-featured .post-meta { color: var(--muted-on-dark); }
.post-featured .tag { background: rgba(127, 212, 255, .15); color: var(--cyan-300); }

/* Article */
.article-layout { display: grid; gap: 2.5rem; align-items: start; }
.toc { border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 1.2rem 1.3rem; background: var(--gray-50); font-size: .94rem; }
.toc h2 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gray-500); margin-bottom: .7rem; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: .1rem; }
.toc a { display: block; padding: .38rem .6rem; border-radius: 8px; text-decoration: none; color: var(--text); border-left: 3px solid transparent; }
.toc a:hover { background: #fff; color: var(--blue-600); }
.toc a.is-active { border-left-color: var(--blue-500); background: #fff; color: var(--blue-600); font-weight: 650; }
.prose { max-width: 70ch; font-size: 1.06rem; }
.prose h2 { margin-top: 2.4em; font-size: clamp(1.4rem, 3vw, 1.85rem); }
.prose h3 { margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.prose strong { color: var(--navy-900); }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; background: var(--gray-100); padding: .12em .4em; border-radius: 6px; }
.prose .note { margin: 1.6rem 0; }
.prose .lede { font-size: 1.22rem; color: var(--gray-500); }
.article-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--gray-200); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 1.2rem; }
.contact-card { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.6rem; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(47, 125, 246, .4); }
.contact-card .icon-box { margin: 0; flex: none; }
.contact-card h3 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gray-500); margin-bottom: .35rem; }
.contact-card p, .contact-card address { margin: 0; font-style: normal; font-size: 1.08rem; font-weight: 600; color: var(--navy-900); overflow-wrap: anywhere; }
.contact-card a { color: var(--navy-900); text-decoration: none; }
.contact-card a:hover { color: var(--blue-600); text-decoration: underline; }
.contact-card .todo { font-weight: 500; color: var(--gray-500); font-size: .98rem; }
.map-wrap { position: relative; width: 100%; aspect-ratio: 4 / 5; max-height: 520px; background: var(--gray-100); overflow: hidden; }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-caption { background: var(--navy-900); color: var(--text-on-dark); padding: 1rem 0; font-size: .95rem; }
.map-caption a { color: var(--cyan-300); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--muted-on-dark); padding-top: clamp(3rem, 7vw, 5rem); font-size: .96rem; }
.footer-grid { display: grid; gap: 2.2rem; padding-bottom: 2.6rem; }
.site-footer h2 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .1rem; }
.site-footer a { color: var(--muted-on-dark); text-decoration: none; display: inline-block; padding: .3rem 0; min-height: 32px; transition: color .2s, transform .2s var(--ease); }
.site-footer a:hover { color: #fff; transform: translateX(3px); }
.site-footer .logo { margin-bottom: 1rem; }
.site-footer address { font-style: normal; display: grid; gap: .2rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding-block: 1.4rem; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between; font-size: .86rem; }
.footer-bottom a { padding: 0; min-height: 0; }
.footer-note { max-width: 70ch; }

/* ---------- Reveal on scroll (only when JS is available) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Breakpoints ---------- */
@media (min-width: 600px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .map-wrap { aspect-ratio: 16 / 9; }
}
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav { position: static; inset: auto; display: flex; align-items: center; gap: .3rem; max-height: none; overflow: visible; visibility: visible; opacity: 1; background: transparent; padding: 0; border: 0; transition: none; }
  .site-nav a:not(.btn) { min-height: 44px; padding: .5rem .85rem; border: 0; border-radius: 10px; font-size: .95rem; }
  .site-nav a:not(.btn)::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .35rem; height: 2px; background: var(--cyan-300); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
  .site-nav a:not(.btn):hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .site-nav .btn { margin: 0 0 0 .8rem; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-media { grid-template-columns: .9fr 1.1fr; }
  .split--reverse .split__media { order: 2; }
  .platform-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .post-featured { grid-template-columns: 1.15fr 1fr; }
  .post-featured__media { min-height: 380px; }
  .article-layout { grid-template-columns: 260px minmax(0, 1fr); gap: 3.5rem; }
  .toc { position: sticky; top: calc(var(--header-h) + 24px); }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; }
  .contact-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1100px) {
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .offer-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .steps--4 { grid-template-columns: repeat(4, 1fr); }
  .steps--4 li { padding: 4.8rem 1.4rem 1.5rem; }
  .steps--4 li::before { left: 1.4rem; top: 1.4rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Logo lockup (text-based; swap for an official image in src/partials/header.html if desired) */
.logo__text { display: grid; line-height: 1.05; }
.logo__sub { font-size: .58rem; font-weight: 700; letter-spacing: .26em; color: var(--muted-on-dark); text-transform: uppercase; margin-top: 3px; }

/* Editorial feature rows (home) */
.feature-rows { display: grid; border-top: 1px solid var(--gray-200); }
.feature-row { display: grid; gap: .6rem 1.4rem; align-items: center; padding: 1.7rem .2rem; border-bottom: 1px solid var(--gray-200); transition: background-color .3s var(--ease), padding .3s var(--ease); }
.feature-row:hover { background: var(--gray-50); padding-inline: 1rem; }
.feature-row__num { font-size: 2rem; font-weight: 800; letter-spacing: -.03em; background: linear-gradient(120deg, var(--blue-500), var(--cyan-300)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.feature-row h3 { margin-bottom: .3rem; font-size: 1.25rem; }
.feature-row p { margin: 0; color: var(--gray-500); max-width: 62ch; }
@media (min-width: 800px) { .feature-row { grid-template-columns: 90px 1fr auto; } }

/* Misc */
.tag--on-dark { background: rgba(127, 212, 255, .15); color: var(--cyan-300); }
.prose pre { background: var(--navy-900); color: #d6e4ff; padding: 1.1rem 1.2rem; border-radius: var(--radius); overflow-x: auto; font-size: .88rem; line-height: 1.6; margin: 1.4rem 0; }
.prose pre code { background: none; padding: 0; color: inherit; font-size: inherit; }
.stack > * + * { margin-top: 1.2rem; }
.d1 { --d: .1s; } .d2 { --d: .2s; } .d3 { --d: .3s; }
.hero-chips a.chip-link { color: inherit; text-decoration: none; }
.hero-chips li:has(.chip-link):hover { border-color: var(--cyan-300); background: rgba(127, 212, 255, .1); }
.mt-lg { margin-top: 2.6rem; }
.article-layout { grid-template-columns: minmax(0, 1fr); }
.article-layout > * { min-width: 0; }
@media (min-width: 900px) { .article-layout { grid-template-columns: 260px minmax(0, 1fr); } }
