/* ==========================================================================
   Connexum — static site styles
   ========================================================================== */

/* Self-hosted variable fonts (Latin subset), so text doesn't wait on a third-party server */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --blue-50: #eef7ff;
  --blue-100: #d9edff;
  --blue-400: #38a3f1;
  --blue-500: #168ee6;
  --blue-600: #0b72c4;
  --blue-700: #0a5c9e;
  --ink-950: #070d16;
  --ink-900: #0c1522;
  --ink-800: #142033;
  --ink-700: #22314a;
  --slate-600: #4a5568;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --white: #fff;

  --text: #1b2433;
  --text-muted: var(--slate-600);
  --bg: #fff;
  --bg-soft: #f6f9fc;
  --border: var(--slate-200);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(12, 21, 34, .06), 0 1px 3px rgba(12, 21, 34, .08);
  --shadow: 0 10px 30px -12px rgba(12, 21, 34, .18);
  --shadow-lg: 0 30px 60px -20px rgba(12, 21, 34, .28);

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Plus Jakarta Sans", var(--font-sans);
  --container: 1200px;
  --header-h: 76px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--blue-700); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 .6em;
  color: var(--ink-900);
}
h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--blue-600); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; color: #fff; }

:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 3px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font: 600 .975rem/1 var(--font-sans);
  padding: .95rem 1.5rem; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 1.05em; height: 1.05em; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--blue-500); color: #fff; box-shadow: 0 8px 20px -8px rgba(22, 142, 230, .7); }
.btn-primary:hover { background: var(--blue-600); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .22); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.btn-outline { background: transparent; color: var(--ink-900); border-color: var(--slate-300); }
.btn-outline:hover { border-color: var(--blue-500); color: var(--blue-600); }
.btn-sm { padding: .65rem 1.1rem; font-size: .9rem; }

.link-arrow { font-weight: 600; display: inline-flex; align-items: center; gap: .35rem; }
.link-arrow svg { width: 1em; height: 1em; transition: transform .2s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7, 13, 22, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1.5rem; }

.brand { display: inline-flex; align-items: center; gap: .65rem; color: #fff; }
.brand:hover { color: #fff; }
.brand img { width: 38px; height: 38px; filter: brightness(1.25); }
.brand span { font: 800 1.45rem/1 var(--font-display); letter-spacing: -.03em; }
.brand span b { color: var(--blue-400); font-weight: 800; }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .15rem; }
.nav li { position: relative; }
.nav > ul > li > a, .nav button.nav-trigger {
  display: inline-flex; align-items: center; gap: .3rem;
  color: rgba(255, 255, 255, .82); font: 500 .94rem/1 var(--font-sans);
  padding: .7rem .75rem; border-radius: var(--radius-sm); background: none; border: 0; cursor: pointer;
  white-space: nowrap;
}
.nav > ul > li > a:hover, .nav button.nav-trigger:hover, .nav > ul > li > a[aria-current="page"], .nav .is-active > .nav-trigger { color: #fff; background: rgba(255, 255, 255, .07); }
/* Contact is styled like .btn-primary */
.nav > ul > li > a.nav-contact {
  background: var(--blue-500); color: #fff; font-weight: 600; border-radius: 999px;
  padding: .7rem 1.25rem; margin-left: .5rem; box-shadow: 0 8px 20px -8px rgba(22, 142, 230, .7);
  transition: transform .15s ease, background .2s ease;
}
.nav > ul > li > a.nav-contact:hover, .nav > ul > li > a.nav-contact[aria-current="page"] { background: var(--blue-600); color: #fff; }
.nav > ul > li > a.nav-contact:hover { transform: translateY(-1px); }
.nav-trigger svg { width: 14px; height: 14px; opacity: .7; transition: transform .2s ease; }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 270px;
  list-style: none; margin: 0; padding: .5rem;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s ease;
}
.dropdown::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
.dropdown a { display: flex; white-space: nowrap; width: 100%; color: var(--text); padding: .7rem .85rem; font-size: .93rem; }
.dropdown a:hover, .dropdown a[aria-current="page"] { background: var(--blue-50); color: var(--blue-700); }
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown,
.has-dropdown.open > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.has-dropdown:hover .nav-trigger svg, .has-dropdown.open .nav-trigger svg { transform: rotate(180deg); }
.dropdown-right { left: auto; right: 0; }


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

@media (max-width: 1000px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    /* header's backdrop-filter makes it the containing block, so size from the header, not the viewport */
    position: fixed; top: var(--header-h); left: 0; right: 0; height: calc(100dvh - var(--header-h)); flex-direction: column; align-items: stretch;
    background: var(--ink-950); padding: 1.25rem; overflow-y: auto;
    opacity: 0; transform: translateY(-8px); visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav.open { opacity: 1; transform: none; visibility: visible; }
  .nav > ul { flex-direction: column; align-items: stretch; }
  .nav > ul > li > a, .nav button.nav-trigger { width: 100%; justify-content: space-between; padding: 1rem; font-size: 1.05rem; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none; display: none;
    background: rgba(255, 255, 255, .04); border: 0; box-shadow: none; margin: .25rem 0 .5rem;
  }
  .dropdown a { color: rgba(255, 255, 255, .78); }
  .dropdown a:hover, .dropdown a[aria-current="page"] { background: rgba(255, 255, 255, .06); color: #fff; }
  .has-dropdown:hover > .dropdown, .has-dropdown:focus-within > .dropdown { display: none; }
  .has-dropdown.open > .dropdown { display: block; }
  .nav > ul > li > a.nav-contact { margin: .5rem 0 0; justify-content: center; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(22, 142, 230, .35), transparent 60%),
    radial-gradient(800px 500px at -10% 110%, rgba(56, 163, 241, .18), transparent 60%),
    linear-gradient(180deg, var(--ink-950), var(--ink-900));
  padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(4rem, 8vw, 6.5rem);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
}
.hero > .container { position: relative; }
.hero h1, .hero h2 { color: #fff; }
.hero .lead { color: rgba(255, 255, 255, .75); font-size: clamp(1.08rem, 1.6vw, 1.25rem); max-width: 40rem; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-art { position: relative; }
.hero-art img { width: 100%; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .45)); animation: float 8s ease-in-out infinite; }
.hero-art::before {
  content: ""; position: absolute; inset: 10% 10%; border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 142, 230, .45), transparent 65%); filter: blur(30px);
}
@keyframes float { 50% { transform: translateY(-12px); } }
/* Hero art never upscales past its natural size; small source images stay crisp */
.hero-art { display: flex; justify-content: center; }
.hero-art img { width: auto; max-width: 100%; }
.hero-art.photo::before, .hero-art.panel::before { inset: 0; opacity: .6; }
.hero-art.photo img { border-radius: var(--radius-lg); filter: none; animation: none; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .08); }
.hero-art.panel img {
  filter: none; animation: none; position: relative;
  background: #fff; border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow-lg); box-sizing: content-box; max-width: calc(100% - 4rem);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font: 700 .78rem/1 var(--font-sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-600); margin-bottom: 1.1rem;
}
.hero .eyebrow, .section-dark .eyebrow {
  color: var(--blue-100); background: rgba(56, 163, 241, .14); border: 1px solid rgba(56, 163, 241, .3);
  padding: .5rem .85rem; border-radius: 999px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-400); box-shadow: 0 0 0 4px rgba(56, 163, 241, .25); }

.hero-stats { display: grid; grid-template-columns: repeat(3, auto); gap: 2.5rem; justify-content: start; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, .1); }
.hero-stats strong { display: block; font: 800 1.9rem/1 var(--font-display); color: #fff; }
.hero-stats span { font-size: .88rem; color: rgba(255, 255, 255, .6); }

/* Page hero (interior pages) */
.page-hero { padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem); }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.breadcrumb { display: flex; gap: .5rem; font-size: .88rem; color: rgba(255, 255, 255, .55); margin-bottom: 1.25rem; list-style: none; padding: 0; }
.breadcrumb a { color: rgba(255, 255, 255, .75); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--ink-900); color: rgba(255, 255, 255, .78); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 46rem; margin-bottom: 3rem; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head p { color: var(--text-muted); font-size: 1.1rem; }
.section-dark .section-head p { color: rgba(255, 255, 255, .7); }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split > * { min-width: 0; }
.split.reverse > :first-child { order: 2; }
.split-media img { border-radius: var(--radius-lg); }
.split-media.framed { background: linear-gradient(135deg, var(--blue-50), #fff); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; }
.split-media.photo img { box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* ---------- Cards ---------- */
.card {
  position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.75rem; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--text-muted); margin-bottom: 0; font-size: 1rem; }
.card .link-arrow { margin-top: auto; padding-top: 1.25rem; }
.card-lg { padding: 2.25rem; }

.icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.25rem;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700)); color: #fff;
  box-shadow: 0 10px 20px -10px rgba(11, 114, 196, .8);
}
.icon svg { width: 26px; height: 26px; }
.icon.soft { background: var(--blue-50); color: var(--blue-600); box-shadow: none; }

.section-dark .card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .09); }
.section-dark .card:hover { border-color: rgba(56, 163, 241, .45); box-shadow: none; }
.section-dark .card p { color: rgba(255, 255, 255, .68); }

/* Feature cards with image */
.feature-card { overflow: hidden; padding: 0; }
.feature-card .media { background: linear-gradient(135deg, var(--blue-50), var(--slate-100)); padding: 1.5rem 2rem 0; aspect-ratio: 16 / 10; display: grid; place-items: end center; }
.feature-card .media img { max-height: 100%; object-fit: contain; }
.feature-card .body { padding: 1.75rem; display: flex; flex-direction: column; flex: 1; }

/* Product cards */
.product-card { border-top: 4px solid var(--blue-500); }
.product-card .tag {
  display: inline-block; margin-top: 1.5rem; padding: .55rem .85rem; border-radius: var(--radius-sm);
  background: var(--bg-soft); border: 1px dashed var(--slate-300); font-size: .86rem; color: var(--ink-800);
}
.product-card .tag b { color: var(--blue-700); }

/* Check list */
.checklist { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .8rem; }
.checklist li { display: flex; gap: .75rem; align-items: flex-start; }
.checklist li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: .2rem; 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* Pills */
.pills { display: flex; flex-wrap: wrap; gap: .6rem; }
.pill {
  display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--border); font-weight: 600; font-size: .9rem; color: var(--ink-800);
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-500); }
.hero .pill, .section-dark .pill { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #fff; }

/* Stat band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.stat { background: #fff; padding: 2rem 1.5rem; text-align: center; }
.stat strong { display: block; font: 800 clamp(2rem, 3.5vw, 2.6rem)/1 var(--font-display); color: var(--blue-600); margin-bottom: .5rem; letter-spacing: -.03em; }
.stat span { color: var(--text-muted); font-size: .95rem; }

/* Compare bars (messaging open rates) */
.bars { display: grid; gap: 1.1rem; margin-top: 1.75rem; }
.bar-row { display: grid; grid-template-columns: 70px 1fr 52px; gap: 1rem; align-items: center; font-weight: 600; font-size: .95rem; }
.bar-track { height: 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.bar-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue-500), var(--blue-400)); }
.bar-fill.muted { background: rgba(255, 255, 255, .35); }

/* Partners */
.partner-card { align-items: flex-start; }
.partner-logo {
  width: 100%; height: 110px; display: grid; place-items: center; margin-bottom: 1.5rem;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem 1.5rem;
}
.partner-logo img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }

/* CTA band */
.cta {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(255, 255, 255, .18), transparent 60%),
    linear-gradient(135deg, var(--blue-600), var(--blue-500) 50%, var(--blue-400));
  color: #fff; padding: clamp(2.5rem, 5vw, 4rem); display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.cta h2 { color: #fff; margin-bottom: .35rem; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta p { color: rgba(255, 255, 255, .85); margin: 0; max-width: 36rem; }
.cta .btn-primary { background: #fff; color: var(--blue-700); box-shadow: none; }
.cta .btn-primary:hover { background: var(--ink-900); color: #fff; }

/* Prose */
.prose p { color: var(--text-muted); }
.prose h2 { margin-top: .2em; }
.prose h3 { margin-top: 2rem; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.75rem, 4vw, 2.75rem); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; }
.form-grid .full { grid-column: 1 / -1; }
.field label, .field legend { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .45rem; color: var(--ink-800); }
.field .req { color: var(--blue-600); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  padding: .85rem 1rem; border: 1px solid var(--slate-300); border-radius: var(--radius-sm); background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(22, 142, 230, .15); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; padding: .6rem 1rem; border-radius: 999px; border: 1px solid var(--slate-300);
  font-size: .92rem; font-weight: 500; cursor: pointer; transition: .15s ease; user-select: none;
}
.chip input:checked + span { background: var(--blue-500); border-color: var(--blue-500); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--blue-400); outline-offset: 2px; }
.form-note { font-size: .85rem; color: var(--slate-500); margin: 1rem 0 0; }

.contact-info { display: grid; gap: 1.25rem; margin-top: 2rem; }
.contact-info .item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-info .icon { margin: 0; width: 46px; height: 46px; flex: none; }
.contact-info h3 { font-size: 1.05rem; margin: 0 0 .2rem; }
.contact-info p { margin: 0; color: var(--text-muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-950); color: rgba(255, 255, 255, .6); padding: 4.5rem 0 2rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2.5rem; }
.footer-grid h2 { color: #fff; font-size: .82rem; font-weight: 700; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; font-family: var(--font-sans); margin-bottom: 1.1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer-grid a { color: rgba(255, 255, 255, .65); }
.footer-grid a:hover { color: #fff; }
.footer-about p { margin: 1rem 0 0; max-width: 22rem; }
.footer-bottom { margin-top: 3.5rem; padding-top: 1.75rem; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .88rem; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .hero-art { max-width: 460px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  body { line-height: 1.7; }
  .container { width: min(100% - 3rem, var(--container)); }
  h1, h2 { line-height: 1.2; margin-bottom: .75em; }
  h3 { margin-bottom: .65rem; }
  .card h3 { margin-bottom: .65rem; }
  p { margin-bottom: 1.25em; }
  .eyebrow { letter-spacing: .1em; line-height: 1.5; margin-bottom: 1.25rem; }
  .hero .eyebrow, .section-dark .eyebrow { align-items: flex-start; }
  .hero .eyebrow .dot, .section-dark .eyebrow .dot { flex: none; margin-top: .35em; }
  .hero-actions { flex-direction: column; gap: 1rem; margin-top: 2.25rem; }
  .hero-actions .btn { justify-content: center; }
  .hero-stats { gap: 2rem; margin-top: 3rem; padding-top: 2.25rem; }
  .hero-art { margin-top: 1rem; }
  .section-head { margin-bottom: 2.5rem; }
  .grid { gap: 1.75rem; }
  .split { gap: 3rem; }
  .card, .card-lg { padding: 2rem 1.75rem; }
  .feature-card { padding: 0; }
  .feature-card .body { padding: 2rem 1.75rem; }
  .checklist { gap: 1rem; margin-top: 1.75rem; }
  .stat { padding: 1.75rem 1rem; }
  .cta { padding: 2.5rem 1.75rem; gap: 1.75rem; }
  .form-grid { gap: 1.35rem; }
  .contact-info { gap: 1.5rem; }
  .footer-grid { gap: 2.5rem 1.5rem; }
  .footer-grid ul { gap: .85rem; }
  .grid-2, .grid-3, .grid-4, .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: repeat(2, auto); gap: 1.5rem 2rem; }
  .cta { flex-direction: column; align-items: flex-start; }
}


/* ---------- Contact form states ---------- */
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { min-height: 65px; }
.form-status { margin: 1rem 0 0; padding: .85rem 1rem; border-radius: var(--radius-sm); font-size: .95rem; }
.form-status.is-error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.form-success { text-align: center; }
.form-success:focus { outline: none; }
.form-success .icon { margin: 0 auto 1.25rem; width: 60px; height: 60px; border-radius: 50%; }
.form-success h2 { font-size: 1.6rem; margin-bottom: .5rem; }
.form-success-text { color: var(--text-muted); }
