/* =========================================================================
   ECOS · ITrojan Infotech — marketing site
   Light, premium, editorial. IBM-Plex typography, governed-tech aesthetic.
   ========================================================================= */

:root {
  /* brand */
  --blue:    #2f5bff;
  --blue-2:  #5b7dff;
  --indigo:  #5a3ff0;
  --violet:  #8a3ffc;
  --teal:    #08bdba;

  /* light surfaces */
  --bg:      #ffffff;
  --bg-soft: #f7f8fb;
  --bg-tint: #f3f5ff;
  --panel:   #ffffff;
  --ink:     #0a0d18;   /* near-black text */
  --ink-2:   #1a2033;   /* deep panel for contrast blocks */
  --text:    #1c2333;
  --muted:   #5b647c;
  --faint:   #8b93a7;
  --line:    #e7eaf1;
  --line-2:  #eef0f6;
  --white:   #ffffff;
  --danger:  #d92d3c;
  --ok:      #10893e;

  --radius:  16px;
  --radius-sm: 12px;
  --maxw:    1200px;

  --grad:    linear-gradient(120deg, var(--blue) 0%, var(--indigo) 52%, var(--violet) 100%);
  --grad-soft: linear-gradient(120deg, #eef2ff 0%, #f4efff 55%, #fbf1ff 100%);

  --shadow-xs: 0 1px 2px rgba(16,24,48,.06);
  --shadow-sm: 0 4px 14px rgba(16,24,48,.06);
  --shadow-md: 0 12px 30px rgba(16,24,48,.09);
  --shadow-lg: 0 26px 60px rgba(16,24,48,.14);
  --shadow-brand: 0 18px 40px rgba(47,91,255,.22);

  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  line-height: 1.12;
  margin: 0 0 .45em;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--ink);
}
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
em { font-style: normal; }
strong { font-weight: 600; color: var(--ink); }

.container { width: min(100% - 48px, var(--maxw)); margin-inline: auto; }
.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: 12px; top: -60px; z-index: 300;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

::selection { background: rgba(47,91,255,.16); }

/* ---------------------------------------------------------------- buttons */
.btn {
  --pad: 13px 22px;
  position: relative;
  display: inline-flex; align-items: center; gap: 9px;
  padding: var(--pad); border-radius: 999px;
  font-weight: 500; font-size: .98rem; line-height: 1;
  cursor: pointer; border: 1px solid transparent;
  transition: transform .18s var(--ease), box-shadow .22s var(--ease),
              background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.btn--sm { --pad: 9px 16px; font-size: .9rem; }
.btn .arw { transition: transform .2s var(--ease); }
.btn:hover .arw { transform: translateX(3px); }

.btn--primary {
  color: #fff; background: var(--grad);
  background-size: 140% 140%; background-position: 0% 50%;
  box-shadow: var(--shadow-brand);
}
.btn--primary:hover { transform: translateY(-2px); background-position: 100% 50%; box-shadow: 0 22px 46px rgba(90,63,240,.30); }

.btn--secondary { color: var(--ink); background: #fff; border-color: var(--line); box-shadow: var(--shadow-xs); }
.btn--secondary:hover { transform: translateY(-2px); border-color: #cdd4e6; box-shadow: var(--shadow-sm); }

.btn--tertiary { color: var(--ink); background: transparent; border-color: rgba(10,13,24,.18); }
.btn--tertiary:hover { border-color: var(--blue); color: var(--blue); }

.btn--ghost { color: var(--ink); background: transparent; border-color: transparent; }
.btn--ghost:hover { color: var(--blue); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--blue);
  border-bottom: 1px solid transparent; padding-bottom: 2px;
  transition: gap .2s var(--ease), border-color .2s var(--ease);
}
.link-arrow .arw { transition: transform .2s var(--ease); }
.link-arrow:hover { border-color: var(--blue); }
.link-arrow:hover .arw { transform: translateX(3px); }
.link-arrow.sm { font-size: .92rem; }

/* ---------------------------------------------------------------- masthead */
.masthead {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-2);
}
.masthead__inner {
  width: min(100% - 48px, var(--maxw)); margin-inline: auto;
  height: 68px; display: flex; align-items: center; gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand__mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  color: #fff; background: var(--grad); box-shadow: var(--shadow-brand);
}
.brand__name { font-weight: 700; font-size: 1.12rem; letter-spacing: -.02em; }
.brand__sub { font-weight: 400; color: var(--muted); margin-left: 2px; }

.masthead__nav { margin-left: 6px; }
.nav-list { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav-list a {
  display: inline-block; padding: 9px 14px; border-radius: 10px;
  color: var(--muted); font-weight: 500; font-size: .96rem;
  transition: color .18s var(--ease), background .18s var(--ease);
}
.nav-list a:hover { color: var(--ink); background: var(--bg-soft); }

.masthead__actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.nav-toggle { display: none; }

/* ---------------------------------------------------------------- leadspace */
.leadspace { position: relative; overflow: hidden; background: var(--bg); isolation: isolate; }
.leadspace__bg { position: absolute; inset: 0; z-index: -1; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(20,30,70,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,30,70,.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(120% 90% at 70% 0%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 90% at 70% 0%, #000 30%, transparent 78%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.glow--a { width: 520px; height: 520px; top: -140px; right: -80px;
  background: radial-gradient(circle, rgba(90,63,240,.35), transparent 66%); }
.glow--b { width: 460px; height: 460px; top: 120px; left: -140px;
  background: radial-gradient(circle, rgba(8,189,186,.28), transparent 66%); }

.leadspace__inner { width: min(100% - 48px, var(--maxw)); margin-inline: auto; padding: 44px 0 76px; }

.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; font-size: .85rem; color: var(--faint); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 500; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "IBM Plex Mono", monospace; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--indigo); margin: 0 0 18px;
  padding: 6px 12px; border-radius: 999px; background: var(--bg-tint); border: 1px solid #e6e9fb;
}

.leadspace__heading {
  font-size: clamp(2.5rem, 5.6vw, 4.4rem); font-weight: 600; max-width: 15ch;
  letter-spacing: -.03em; margin: 0 0 22px;
  background: linear-gradient(180deg, #0a0d18 0%, #2a3350 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.leadspace__sub { font-size: clamp(1.06rem, 1.6vw, 1.28rem); color: var(--muted); max-width: 60ch; margin: 0 0 32px; }

.leadspace__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, var(--bg-soft));
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.hero-stats > div { padding: 22px 26px; border-left: 1px solid var(--line-2); }
.hero-stats > div:first-child { border-left: 0; }
.hero-stats dt { font-size: 1.9rem; font-weight: 600; letter-spacing: -.02em; color: var(--ink);
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-stats dd { margin: 4px 0 0; font-size: .92rem; color: var(--muted); }

/* ---------------------------------------------------------------- sections */
.section { padding: 92px 0; }
.section--dark { background: var(--bg-soft); border-block: 1px solid var(--line-2); }
.section--roi { background: #fff; }

.section__title { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 600; max-width: 20ch; margin: 0 0 14px; }
.section__lead { font-size: 1.14rem; color: var(--muted); max-width: 62ch; margin: 0 0 44px; }

/* ---- ROI split ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-top: 40px; }
.split__text h3 { font-size: 1.5rem; font-weight: 600; max-width: 22ch; margin-bottom: 16px; }
.split__text p { color: var(--muted); font-size: 1.05rem; }
.checklist { list-style: none; margin: 22px 0 26px; padding: 0; display: grid; gap: 14px; }
.checklist li { position: relative; padding-left: 34px; color: var(--text); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 999px;
  background: var(--grad);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='11' fill='black'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='11' fill='black'/></svg>") center/contain no-repeat;
}
.checklist li::after {
  content: ""; position: absolute; left: 6px; top: 7px; width: 10px; height: 6px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg);
}

/* viz card */
.split__visual { perspective: 1400px; }
.viz-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); overflow: hidden;
  transform: rotateY(-6deg) rotateX(3deg); transition: transform .5s var(--ease);
}
.split__visual:hover .viz-card { transform: rotateY(0) rotateX(0); }
.viz-card__head { display: flex; align-items: center; gap: 8px; padding: 13px 16px; background: var(--bg-soft); border-bottom: 1px solid var(--line-2); }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot--r { background: #ff5f57; } .dot--y { background: #febc2e; } .dot--g { background: #28c840; }
.viz-card__title { margin-left: 8px; font-family: "IBM Plex Mono", monospace; font-size: .82rem; color: var(--faint); }
.viz-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 26px 22px 14px; }
.node {
  font-family: "IBM Plex Mono", monospace; font-size: .82rem; font-weight: 500;
  padding: 8px 13px; border-radius: 9px; background: var(--bg-tint); color: var(--ink-2); border: 1px solid #e3e7fb;
}
.node--start { background: #eafaf4; border-color: #c7efdf; color: #0b7a49; }
.node--end { background: #eef2ff; border-color: #d5deff; color: var(--blue); }
.node--gate { background: linear-gradient(120deg, var(--indigo), var(--violet)); color: #fff; border-color: transparent; box-shadow: 0 8px 18px rgba(90,63,240,.28); }
.node--gate em { font-style: normal; opacity: .8; font-size: .72rem; margin-left: 4px; }
.edge { color: var(--faint); }
.viz-rule { margin: 0 22px 12px; padding: 12px 14px; border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--line-2); font-size: .84rem; display: grid; gap: 3px; }
.viz-rule:last-child { margin-bottom: 22px; }
.viz-rule__when { font-family: "IBM Plex Mono", monospace; color: var(--muted); }
.viz-rule__then { font-weight: 600; color: var(--ink); }
.viz-rule--deny .viz-rule__then { color: var(--danger); }

/* ---- capability cards ---- */
.cta-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cta-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px;
  box-shadow: var(--shadow-xs); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.cta-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #dfe4f4; }
.picto { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 13px; margin-bottom: 20px;
  color: var(--indigo); background: var(--grad-soft); border: 1px solid #e6e9fb; }
.picto svg { width: 26px; height: 26px; }
.cta-item h3 { font-size: 1.16rem; font-weight: 600; margin-bottom: 10px; }
.cta-item p { color: var(--muted); font-size: .96rem; margin: 0; }

/* ---- promo ---- */
.promo { background: var(--grad); background-size: 160% 160%; animation: drift 16s ease-in-out infinite; }
@keyframes drift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.promo__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 46px 0; }
.promo__title { font-size: 1.7rem; font-weight: 600; color: #fff; margin: 0 0 8px; letter-spacing: -.02em; }
.promo__body { color: rgba(255,255,255,.86); margin: 0; max-width: 60ch; }
.promo .btn--secondary { background: #fff; }

/* ---- featured product + cards ---- */
.intro { max-width: 70ch; margin-bottom: 44px; }
.intro__copy { font-size: 1.14rem; color: var(--muted); margin: 0; }

.feature-card {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; align-items: stretch;
  background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  box-shadow: var(--shadow-md); margin-bottom: 30px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-card__media { position: relative; min-height: 340px; padding: 34px;
  background: radial-gradient(circle at 30% 20%, rgba(90,63,240,.18), transparent 60%), linear-gradient(135deg, #0d1226 0%, #171d3a 100%); }
.feature-card__console { position: absolute; inset: 34px; border-radius: 14px; overflow: hidden; background: #0b0f22; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 24px 50px rgba(0,0,0,.4); }
.console-top { display: flex; gap: 7px; padding: 12px 14px; background: #10152b; border-bottom: 1px solid rgba(255,255,255,.06); }
.console-top span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.22); }
.console-top span:first-child { background: #ff5f57; } .console-top span:nth-child(2) { background: #febc2e; } .console-top span:nth-child(3) { background: #28c840; }
.console-body { display: grid; grid-template-columns: 120px 1fr; height: calc(100% - 39px); }
.console-side { display: flex; flex-direction: column; gap: 4px; padding: 16px 12px; border-right: 1px solid rgba(255,255,255,.06); }
.console-side span { font-size: .8rem; color: rgba(255,255,255,.55); padding: 7px 10px; border-radius: 8px; }
.console-side .active { color: #fff; background: rgba(90,63,240,.4); }
.console-main { padding: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: start; }
.console-kpi { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 10px; padding: 12px; }
.console-kpi b { display: block; font-size: 1.4rem; color: #fff; }
.console-kpi small { color: rgba(255,255,255,.5); font-size: .74rem; }
.console-viz { grid-column: 1 / -1; margin-top: 4px; padding: 12px; border-radius: 10px; font-family: "IBM Plex Mono", monospace; font-size: .74rem; color: #b9c4ff; background: rgba(47,91,255,.14); border: 1px solid rgba(47,91,255,.28); }
.feature-card__body { padding: 44px 40px; display: flex; flex-direction: column; justify-content: center; }
.feature-card__eyebrow { font-family: "IBM Plex Mono", monospace; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--indigo); margin-bottom: 14px; }
.feature-card__body h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 22px; max-width: 24ch; }

.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0 0 26px; overflow: hidden; box-shadow: var(--shadow-xs);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #dfe4f4; }
.card__thumb { height: 118px; margin-bottom: 22px; }
.card__thumb--indigo { background: linear-gradient(135deg, #5a3ff0, #8a3ffc); }
.card__thumb--violet { background: linear-gradient(135deg, #8a3ffc, #c04bff); }
.card__thumb--blue   { background: linear-gradient(135deg, #2f5bff, #5a3ff0); }
.card__thumb--teal   { background: linear-gradient(135deg, #08bdba, #2f5bff); }
.card h3 { font-size: 1.14rem; font-weight: 600; margin: 0 26px 10px; }
.card p { color: var(--muted); font-size: .94rem; margin: 0 26px 18px; flex: 1; }
.card .link-arrow { margin: 0 26px; }

/* ---- resources download ---- */
.res-download { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  padding: 26px 30px; margin-bottom: 26px; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(90,63,240,.16), rgba(47,91,255,.10));
  border: 1px solid rgba(255,255,255,.12); }
.res-download__eyebrow { font-family: "IBM Plex Mono", monospace; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: #b9c4ff; }
.res-download__title { font-size: 1.18rem; font-weight: 600; color: #fff; margin: 8px 0 4px; }
.res-download__sub { color: rgba(255,255,255,.62); font-size: .94rem; margin: 0; max-width: 60ch; }
.res-download .btn { flex-shrink: 0; }
.res-download--alt { background: linear-gradient(135deg, rgba(8,189,186,.14), rgba(47,91,255,.08)); }

/* ---- resources tiles ---- */
.tile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.tile { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-xs);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.tile__img { height: 132px; position: relative; }
.tile__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(0,0,0,.18)); }
.tile__img--1 { background: linear-gradient(135deg, #2f5bff, #5a3ff0); }
.tile__img--2 { background: linear-gradient(135deg, #5a3ff0, #8a3ffc); }
.tile__img--3 { background: linear-gradient(135deg, #08bdba, #2f5bff); }
.tile__img--4 { background: linear-gradient(135deg, #8a3ffc, #2f5bff); }
.tile__label { font-family: "IBM Plex Mono", monospace; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--indigo); margin: 20px 22px 8px; }
.tile__title { font-size: 1.04rem; font-weight: 600; color: var(--ink); margin: 0 22px 18px; flex: 1; }
.tile .link-arrow { margin: 0 22px 22px; }

/* ---- next steps ---- */
.next-steps { position: relative; overflow: hidden; background: var(--ink-2); color: #fff; padding: 84px 0; isolation: isolate; }
.next-steps::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background: radial-gradient(600px 300px at 15% 0%, rgba(90,63,240,.5), transparent 60%), radial-gradient(600px 300px at 90% 100%, rgba(8,189,186,.35), transparent 60%); }
.next-steps__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.next-steps h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.next-steps p { color: rgba(255,255,255,.8); font-size: 1.1rem; margin: 0; }
.lead-form { display: grid; gap: 14px; }
.lead-form input {
  width: 100%; padding: 15px 18px; border-radius: 12px; font: inherit; color: #fff;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); transition: border-color .2s var(--ease), background .2s var(--ease);
}
.lead-form input::placeholder { color: rgba(255,255,255,.55); }
.lead-form input:focus { outline: none; border-color: var(--blue-2); background: rgba(255,255,255,.1); }
.lead-form .btn { justify-content: center; }
.lead-form__msg { margin: 4px 0 0; min-height: 1.2em; font-size: .92rem; color: #9fe8c4; }

/* ---- footer ---- */
.footer { background: #fff; border-top: 1px solid var(--line); padding-top: 64px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 52px; }
.brand--footer { margin-bottom: 16px; }
.footer__tag { color: var(--muted); max-width: 42ch; margin: 0; }
.footer__col h4 { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer__col a { color: var(--muted); font-size: .96rem; transition: color .18s var(--ease); }
.footer__col a:hover { color: var(--blue); }
.footer__thin { border-top: 1px solid var(--line-2); padding: 22px 0; }
.footer__thin-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--faint); font-size: .88rem; }
.footer__thin ul { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; }
.footer__thin a { color: var(--faint); }
.footer__thin a:hover { color: var(--blue); }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .cta-grid, .card-grid, .tile-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card { grid-template-columns: 1fr; }
  .feature-card__media { min-height: 300px; }
}
@media (max-width: 960px) {
  .split, .next-steps__inner { grid-template-columns: 1fr; gap: 34px; }
  .split__visual { order: -1; }
  .viz-card { transform: none; }
  .section { padding: 66px 0; }

  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 42px; height: 42px; border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--line); cursor: pointer;
    margin-left: auto;
  }
  .nav-toggle__bar, .nav-toggle::before, .nav-toggle::after {
    content: ""; display: block; width: 18px; height: 2px; margin-inline: auto; background: var(--ink); border-radius: 2px; transition: transform .2s var(--ease), opacity .2s var(--ease);
  }
  .masthead__nav { position: static; margin-left: auto; }
  .masthead__nav.open .nav-list { display: flex; }
  .nav-list {
    display: none; position: absolute; left: 0; right: 0; top: 68px;
    flex-direction: column; gap: 4px; padding: 12px 24px 20px;
    background: rgba(255,255,255,.97); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
  }
  .nav-list a { padding: 12px 14px; }
  .masthead__actions .btn--ghost { display: none; }
  .promo__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 620px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats > div:nth-child(odd) { border-left: 0; }
  .hero-stats > div:nth-child(n+3) { border-top: 1px solid var(--line-2); }
  .cta-grid, .card-grid, .tile-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .container { width: min(100% - 32px, var(--maxw)); }
  .leadspace__inner, .masthead__inner { width: min(100% - 32px, var(--maxw)); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .btn, .card, .cta-item, .tile, .feature-card, .viz-card { transition: none; }
}
