/* ==========================================================================
   Envisma — envisma.com
   Converted from the Envisma design system (brand book: Helvetica/Arial +
   IBM Plex Mono; one green, three steps; square corners; black surfaces).
   ========================================================================== */

/* ---- Fonts (IBM Plex Mono, latin + latin-ext subsets) ------------------- */
@font-face {
  font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/ibm-plex-mono-400-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/ibm-plex-mono-400-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: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/ibm-plex-mono-500-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/ibm-plex-mono-500-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: 'IBM Plex Mono'; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/ibm-plex-mono-600-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/ibm-plex-mono-600-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;
}

/* ---- Design tokens ------------------------------------------------------- */
:root {
  /* Brand — one green, three steps */
  --brand-black: #000000;
  --brand-green-deep: oklch(0.50 0.16 145);
  --brand-green-mid: oklch(0.66 0.21 145);
  --brand-green-bright: oklch(0.82 0.25 145);

  /* Warm neutrals */
  --ink-1: #1a1a19;
  --ink-2: #55554f;
  --ink-3: #9a9a93;
  --paper-1: #faf9f6;
  --paper-2: #f2f1ec;
  --line-1: #eeeeea;
  --line-2: #c4c4be;

  /* Dark surfaces */
  --dark-1: #000000;
  --dark-2: #141413;
  --dark-3: #1e1e1c;
  --line-on-dark: rgba(255,255,255,0.12);
  --text-on-dark: rgba(255,255,255,0.85);
  --muted-on-dark: rgba(255,255,255,0.60);

  /* Semantic */
  --surface-page: var(--paper-1);
  --surface-card: #ffffff;
  --surface-tint: #eaf3e8;
  --text-body: var(--ink-1);
  --text-muted: var(--ink-2);
  --accent: var(--brand-green-deep);
  --accent-hover: oklch(0.44 0.15 145);
  --signal: var(--brand-green-bright);
  --signal-dim: var(--brand-green-mid);
  --link: var(--brand-green-deep);
  --focus-ring: oklch(0.50 0.16 145 / 0.35);
  --danger: #B3261E;
  --warn: #9A6700;

  /* Type */
  --font-body: Arial, Helvetica, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --text-xs: 12px; --text-sm: 14px; --text-md: 16px; --text-lg: 19px;
  --text-xl: 24px; --text-2xl: 32px; --text-3xl: 44px; --text-4xl: 60px;
  --display-tracking: -0.03em;
  --display-leading: 1.0;
  --body-leading: 1.6;
  --label-tracking: 0.12em;

  /* Layout */
  --shadow-card: 0 1px 2px rgba(26,26,25,0.05), 0 4px 16px rgba(26,26,25,0.05);
  --container: 1200px;
  --container-pad: 32px;
}

/* ---- Base ----------------------------------------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--surface-page);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: var(--body-leading);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; }
h1, h2, h3 { letter-spacing: var(--display-tracking); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.mono-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: var(--label-tracking);
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---- Section label (triangle marker) -------------------------------------- */
.label {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: var(--label-tracking); text-transform: uppercase;
  color: var(--accent);
}
.label::before {
  content: ""; width: 8px; height: 8px; background: var(--accent);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.dark .label, .label.on-dark { color: var(--signal); }
.dark .label::before, .label.on-dark::before { background: var(--signal); }

/* ---- Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px; line-height: 1;
  white-space: nowrap; padding: 11px 20px; border-radius: 0; cursor: pointer;
  text-decoration: none; border: 1px solid transparent;
  transition: background 150ms ease-out, border-color 150ms ease-out, color 150ms ease-out;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 14px 26px; font-size: 17px; }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-signal { background: var(--signal); color: #000; border-color: var(--signal); }
.btn-signal:hover { background: var(--brand-green-mid); border-color: var(--brand-green-mid); color: #000; }
.btn-secondary { background: transparent; color: var(--ink-1); border-color: var(--ink-1); }
.btn-secondary:hover { background: var(--ink-1); color: #fff; }
.btn-dark-ghost { background: transparent; color: var(--text-on-dark); border-color: rgba(255,255,255,0.3); }
.btn-dark-ghost:hover { border-color: rgba(255,255,255,0.6); color: var(--text-on-dark); }

/* ---- Nav -------------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: #000; border-bottom: 1px solid rgba(255,255,255,0.12);
}
.nav-inner {
  height: 68px; display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-brand svg { display: block; }
.nav-wordmark {
  font-family: Arial, Helvetica, sans-serif; font-weight: 700;
  letter-spacing: -0.035em; font-size: 19px; color: #fff;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a.nav-link {
  font-family: var(--font-body); font-size: 14px; text-decoration: none;
  color: rgba(255,255,255,0.65); font-weight: 400;
}
.nav-links a.nav-link:hover { color: #fff; }
.nav-links a.nav-link.active { color: #fff; font-weight: 700; }
.nav-toggle {
  display: none; background: none; border: 1px solid rgba(255,255,255,0.3);
  color: #fff; font-family: var(--font-mono); font-size: 12px;
  letter-spacing: var(--label-tracking); text-transform: uppercase;
  padding: 8px 12px; cursor: pointer;
}
.nav-panel { display: none; }

/* ---- Sections ---------------------------------------------------------------- */
.section { background: transparent; color: var(--text-body); }
.section > .container { padding-top: 88px; padding-bottom: 88px; }
.section.tint { background: var(--paper-2); }
.section.dark { background: var(--dark-1); color: var(--text-on-dark); }
.section h2 {
  margin: 18px 0 0; font-size: var(--text-2xl); font-weight: 700;
  line-height: 1.12; max-width: 760px; text-wrap: pretty;
}
.section h2:first-child { margin-top: 0; }
.section .lede {
  margin: 18px 0 0; font-size: var(--text-lg); line-height: var(--body-leading);
  color: var(--ink-2); max-width: 720px; text-wrap: pretty;
}
.section.dark .lede { color: var(--muted-on-dark); }
.section .section-body { margin-top: 48px; }

/* ---- Page headers (Product / Trial) ------------------------------------------- */
.page-header { border-bottom: 1px solid var(--line-1); }
.page-header > .container { padding-top: 88px; padding-bottom: 72px; }
.page-header h1 {
  margin: 20px 0 0; font-size: var(--text-3xl); font-weight: 800;
  line-height: 1.08; max-width: 820px; text-wrap: pretty;
}
.page-header .lede {
  margin: 20px 0 0; font-size: var(--text-lg); line-height: var(--body-leading);
  color: var(--ink-2); max-width: 740px; text-wrap: pretty;
}

/* ---- Cards ---------------------------------------------------------------------- */
.card {
  background: var(--surface-card); border: 1px solid var(--line-1);
  box-shadow: var(--shadow-card); padding: 24px; color: var(--text-body);
}
.card.dark {
  background: var(--dark-2); border-color: var(--line-on-dark);
  box-shadow: none; color: var(--text-on-dark);
}
.card h3 { margin: 0; font-weight: 700; }
a.card-link { text-decoration: none; color: inherit; display: block; }

/* ---- Grids ------------------------------------------------------------------------ */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-5 { grid-template-columns: repeat(5, 1fr); gap: 16px; }

/* ---- Stats -------------------------------------------------------------------------- */
.stat { display: flex; flex-direction: column; gap: 8px; }
.stat .value {
  font-weight: 800; letter-spacing: var(--display-tracking); line-height: 1;
  font-size: var(--text-4xl); color: var(--accent);
}
.dark .stat .value, .stat.on-dark .value { color: var(--signal); }
.stat .desc {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: var(--label-tracking);
  text-transform: uppercase; color: var(--text-muted); max-width: 260px; line-height: 1.6;
}
.dark .stat .desc { color: var(--muted-on-dark); }

/* ---- Check / dash lists ---------------------------------------------------------------- */
.tick-list { display: flex; flex-direction: column; gap: 14px; }
.tick-item { display: flex; gap: 12px; font-size: 16px; line-height: 1.5; }
.tick-item .mark-icon {
  flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}
.tick-item .yes { background: var(--signal); color: #000; }
.tick-item .no { border: 1px solid var(--line-2); color: var(--ink-3); font-weight: 400; }

/* ---- Edge list (green left border) ------------------------------------------------------- */
.edge { border-left: 2px solid var(--signal); padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.edge .t { font-weight: 700; font-size: 18px; letter-spacing: var(--display-tracking); }
.edge .d { font-size: 15px; line-height: 1.55; color: var(--muted-on-dark); }
.topline { border-top: 2px solid var(--accent); padding-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.topline .t { font-weight: 700; letter-spacing: var(--display-tracking); }
.topline .d { font-size: 14px; line-height: 1.5; color: var(--ink-2); }

/* ---- Annotated camera frame ----------------------------------------------------------------- */
.frame {
  position: relative; overflow: hidden; border: 1px solid var(--line-on-dark);
  background: repeating-linear-gradient(45deg, var(--dark-3), var(--dark-3) 14px, rgba(255,255,255,0.05) 14px, rgba(255,255,255,0.05) 28px);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
}
.frame .cap { position: absolute; top: 14px; left: 16px; max-width: calc(100% - 160px); color: var(--muted-on-dark); }
.frame .live { position: absolute; top: 14px; right: 16px; display: inline-flex; align-items: center; gap: 7px; color: var(--signal); }
.frame .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); }
.frame .det { position: absolute; border: 1px solid var(--signal); box-shadow: 0 0 0 1px rgba(0,0,0,0.35); }
.frame .det .tag {
  font-size: 10px; position: absolute; top: -24px; left: -1px; white-space: nowrap;
  padding: 3px 7px; background: rgba(0,0,0,0.78); color: var(--signal);
}
.frame .det.warn { border-color: #FFC53D; }
.frame .det.warn .tag { color: #FFC53D; }
.frame .timeline {
  position: absolute; bottom: 14px; left: 16px; right: 16px;
  display: flex; justify-content: space-between; color: var(--muted-on-dark);
  border-top: 1px solid var(--line-on-dark); padding-top: 10px;
}

/* ---- Accordion (native details/summary) -------------------------------------------------------- */
.accordion { border-top: 1px solid var(--line-1); }
.accordion details { border-bottom: 1px solid var(--line-1); }
.accordion summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  cursor: pointer; padding: 18px 4px; list-style: none;
  font-weight: 600; font-size: 17px; color: var(--ink-1);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+"; font-family: var(--font-mono); font-size: 16px;
  color: var(--accent); width: 20px; text-align: center; flex: none;
}
.accordion details[open] summary::after { content: "−"; }
.accordion .a {
  padding: 0 4px 20px; font-size: 15px; line-height: var(--body-leading);
  color: var(--ink-2); max-width: 720px;
}

/* ---- Forms -------------------------------------------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field > .field-label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: var(--label-tracking);
  text-transform: uppercase; color: var(--ink-2);
}
.field .hint { font-size: 13px; color: var(--text-muted); }
.input, .select, .textarea {
  font-family: var(--font-body); font-size: 15px; color: var(--ink-1);
  background: #fff; border: 1px solid var(--line-2); border-radius: 0;
  padding: 11px 12px; outline: none; width: 100%;
  transition: border-color 150ms ease-out, box-shadow 150ms ease-out;
}
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px var(--focus-ring);
}
.textarea { resize: vertical; min-height: 120px; }
.select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px; background-repeat: no-repeat;
}
.form-error { color: var(--danger); font-size: 14px; display: none; }
.hp-field { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }

/* ---- Footer ---------------------------------------------------------------------------------------- */
.footer { background: var(--dark-1); color: var(--text-on-dark); }
.footer-main {
  display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between;
  padding-top: 56px; padding-bottom: 40px;
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; max-width: 360px; }
.footer-brand .lockup { display: inline-flex; align-items: center; gap: 9px; }
.footer-brand .wordmark {
  font-family: Arial, Helvetica, sans-serif; font-weight: 700;
  letter-spacing: -0.035em; font-size: 18px; color: #fff;
}
.footer-brand p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted-on-dark); }
.footer-cols { display: flex; gap: 64px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col .head {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: var(--label-tracking);
  text-transform: uppercase; color: var(--muted-on-dark);
}
.footer-col a { color: var(--text-on-dark); text-decoration: none; font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-col address { font-style: normal; font-size: 14px; line-height: 1.7; color: var(--text-on-dark); }
.footer-bar { border-top: 1px solid var(--line-on-dark); }
.footer-bar .container {
  padding-top: 16px; padding-bottom: 16px; display: flex; justify-content: space-between;
  gap: 16px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  color: var(--muted-on-dark);
}

/* ---- Hero (home) -------------------------------------------------------------------------------------- */
.hero { background: var(--dark-1); color: var(--text-on-dark); }
.hero > .container { padding-top: 96px; padding-bottom: 72px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; margin-top: 28px; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.hero h1 {
  margin: 0; font-size: clamp(40px, 4.2vw, 60px); font-weight: 800;
  line-height: var(--display-leading); text-wrap: pretty;
}
.hero .sub { margin: 0; font-size: var(--text-lg); line-height: var(--body-leading); color: var(--muted-on-dark); max-width: 560px; text-wrap: pretty; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-proof {
  margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line-on-dark);
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.hero-proof .big { font-size: var(--text-2xl); font-weight: 800; letter-spacing: var(--display-tracking); color: var(--signal); }
.hero-proof .desc { font-size: 15px; color: var(--muted-on-dark); max-width: 620px; }

/* ---- Misc ------------------------------------------------------------------------------------------------ */
.partners { border-top: 1px solid var(--line-1); }
.partners .container { padding-top: 32px; padding-bottom: 32px; display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.partners .names { display: flex; gap: 40px; align-items: center; }
.partners .names span { font-weight: 800; font-size: 20px; letter-spacing: 0.06em; color: var(--ink-3); }

.step-card { display: flex; flex-direction: column; gap: 10px; padding: 20px; }
.step-card .n { font-family: var(--font-mono); font-size: 13px; color: var(--accent); }
.step-card .t { font-weight: 700; font-size: 18px; letter-spacing: var(--display-tracking); }
.step-card .d { font-size: 14px; line-height: 1.5; color: var(--ink-2); }

.icon-card { display: flex; flex-direction: column; gap: 12px; }
.icon-card img { width: 28px; height: 28px; }
.icon-card .t { font-weight: 700; font-size: 18px; letter-spacing: var(--display-tracking); }
.icon-card .t.sm { font-size: 17px; }
.icon-card .d, .icon-card .items span { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.icon-card .items { display: flex; flex-direction: column; gap: 8px; }

.quote-note {
  margin: 48px 0 0; font-size: 15px; line-height: 1.6; color: var(--muted-on-dark);
  max-width: 640px; border-left: 2px solid var(--signal); padding-left: 20px;
}
.italic-note { margin: 28px 0 0; font-size: 15px; color: var(--ink-2); font-style: italic; max-width: 720px; }

.dot-list { display: flex; flex-direction: column; gap: 8px; }
.dot-item { display: flex; gap: 10px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.dot-item::before { content: "·"; color: var(--accent); font-weight: 700; }

.region-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.region-tags span {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: var(--label-tracking);
  text-transform: uppercase; padding: 5px 10px; border: 1px solid var(--line-2); color: var(--ink-2);
}

.lmat-steps { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line-1); overflow: hidden; }
.lmat-steps > div { padding: 24px; background: #fff; display: flex; flex-direction: column; gap: 10px; }
.lmat-steps > div + div { border-left: 1px solid var(--line-1); }
.lmat-steps .n { font-family: var(--font-mono); font-size: 13px; color: var(--accent); }
.lmat-steps .d { font-size: 15px; line-height: 1.5; }

.split { display: flex; gap: 48px; align-items: flex-start; flex-wrap: wrap; }
.split > .grow { flex: 1 1 480px; }
.split > .side { flex: 1 1 320px; display: flex; flex-direction: column; gap: 12px; }

/* ---- Contact page ---------------------------------------------------------------------------------------------- */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start;
  padding-top: 88px; padding-bottom: 88px;
}
.contact-intro { display: flex; flex-direction: column; gap: 22px; }
.contact-intro h1 { margin: 0; font-size: var(--text-3xl); font-weight: 800; line-height: 1.08; text-wrap: pretty; }
.contact-intro .lede { margin: 0; font-size: var(--text-lg); line-height: var(--body-leading); color: var(--ink-2); text-wrap: pretty; }
.contact-address { border-top: 1px solid var(--line-1); padding-top: 22px; display: flex; flex-direction: column; gap: 6px; }
.contact-address address { font-style: normal; font-size: 15px; line-height: 1.7; }
.contact-card { padding: 40px; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-success { display: none; flex-direction: column; gap: 14px; align-items: flex-start; }
.form-success img { width: 36px; height: 36px; }
.form-success h2 { margin: 0; font-size: var(--text-xl); font-weight: 700; }
.form-success p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); }

/* Contact page: pin footer to the bottom on short viewports */
.contact-page { min-height: 100vh; display: flex; flex-direction: column; }
.contact-page .contact-main { flex: 1; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .lmat-steps { grid-template-columns: 1fr 1fr; }
  .lmat-steps > div { border-top: 1px solid var(--line-1); }
  .lmat-steps > div:nth-child(-n+2) { border-top: none; }
  .lmat-steps > div:nth-child(3) { border-left: none; }
  .grid-3 { grid-template-columns: 1fr; }
  :root { --text-3xl: 38px; --text-4xl: 48px; }
}
@media (max-width: 720px) {
  :root { --container-pad: 20px; --text-2xl: 27px; --text-3xl: 33px; }
  .section > .container { padding-top: 64px; padding-bottom: 64px; }
  .page-header > .container { padding-top: 64px; padding-bottom: 52px; }
  .hero > .container { padding-top: 64px; padding-bottom: 52px; }
  .grid-2, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .lmat-steps { grid-template-columns: 1fr; }
  .lmat-steps > div { border-left: none !important; border-top: 1px solid var(--line-1); }
  .lmat-steps > div:first-child { border-top: none; }
  .form-row { grid-template-columns: 1fr; }
  .contact-card { padding: 24px; }
  .footer-cols { gap: 40px; flex-wrap: wrap; }

  /* Mobile nav */
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-panel.open {
    display: flex; flex-direction: column; gap: 0;
    background: #000; border-top: 1px solid rgba(255,255,255,0.12);
  }
  .nav-panel a {
    padding: 15px var(--container-pad); text-decoration: none; font-size: 15px;
    color: rgba(255,255,255,0.75); border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-panel a.active { color: #fff; font-weight: 700; }
  .nav-panel a.panel-cta { color: var(--signal); font-weight: 700; }
}
