/* ─────────────────────────────────────────────────────────────────────────
   Edge Realm marketing site
   Palette: navy #1E3A8A (deep brand blue), orange #EA580C (Edge Realm
   signature accent), bright blue #2563EB (logo cube top), white, gray.
   ───────────────────────────────────────────────────────────────────────── */

:root {
  --navy: #1E3A8A;          /* deep brand blue */
  --navy-dark: #14266E;     /* deeper for gradients */
  --blue-bright: #2563EB;   /* cube top face */
  --orange: #EA580C;        /* primary accent — Edge Realm signature orange */
  --orange-dark: #C2410C;   /* hover / heading orange */
  --gold: #C9A961;          /* subtle premium accent — use sparingly on metric highlights and leadership rings */
  --gold-dark: #A8884F;
  --teal: #1E3A8A;          /* alias — keeps legacy uses on-brand */
  --cyan: #EA580C;          /* alias — legacy class names now read orange */
  --ink: #0E1726;
  --slate: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --bg-tint: #edf2fb;
  --warn: #b45309;
  --ok: #047857;
  --err: #b91c1c;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow: 0 8px 24px rgba(30, 58, 138, .10);
  --shadow-lg: 0 18px 48px rgba(30, 58, 138, .16);
  --rad: 10px;
  --rad-lg: 16px;
}

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

html, body { margin: 0; padding: 0; }

body.surface-marketing {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--navy); }

h1, h2, h3, h4 {
  font-family: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 .6em;
  line-height: 1.18;
}
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--slate); }

p { margin: 0 0 1rem; }

img { max-width: 100%; display: block; }

ul { margin: 0 0 1rem; padding-left: 1.2rem; }

/* ─── Layout primitives ───────────────────────────────────────────────── */

.m-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.m-section { padding: 80px 0; }
.m-section-tight { padding: 48px 0; }
.m-section-soft { background: var(--bg-soft); }
.m-section-tint { background: var(--bg-tint); }
.m-section-dark { background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 60%, var(--teal) 130%); color: #fff; }
.m-section-dark h1, .m-section-dark h2, .m-section-dark h3, .m-section-dark h4 { color: #fff; }
.m-section-dark p { color: rgba(255,255,255,.86); }

.m-eyebrow {
  display: inline-block;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--orange);
  background: rgba(234, 88, 12, .10);
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 700;
  margin-bottom: 14px;
}
.m-section-dark .m-eyebrow { color: #FFB266; background: rgba(234, 88, 12, .18); }

.m-lead {
  font-size: 1.18rem;
  color: var(--slate);
  max-width: 720px;
  margin-bottom: 1.6rem;
}
.m-section-dark .m-lead { color: rgba(255,255,255,.82); }

/* ─── Header ──────────────────────────────────────────────────────────── */

.m-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.m-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}

.m-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
}
.m-brand:hover { color: var(--navy); }
.m-brand-mark {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
}
.m-brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.m-brand-words { display: flex; flex-direction: column; line-height: 1.05; }
.m-brand-words strong { font-size: 1.05rem; color: var(--orange); letter-spacing: -.01em; }
.m-brand-words span { font-size: .76rem; color: var(--muted); }

.m-nav { display: flex; align-items: center; gap: 22px; }
.m-nav-link { color: var(--slate); font-weight: 500; font-size: .95rem; }
.m-nav-link:hover { color: var(--navy); }
.m-nav-portal { padding: 6px 12px; border: 1px solid var(--line); border-radius: 8px; }
.m-nav-portal:hover { border-color: var(--navy); background: var(--bg-soft); }

/* Top-nav dropdown (Company → Investors / Partners) */
.m-nav-drop { position: relative; }
.m-nav-drop-trigger { cursor: pointer; }
.m-nav-drop-menu {
  position: absolute; top: calc(100% + 6px); right: 0;
  min-width: 180px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 8px 0;
  opacity: 0; pointer-events: none; transform: translateY(-4px);
  transition: opacity .12s ease, transform .12s ease;
  z-index: 60;
}
.m-nav-drop-menu a {
  display: block; padding: 8px 16px;
  color: var(--slate); font-size: .92rem; font-weight: 500;
}
.m-nav-drop-menu a:hover { background: var(--bg-soft); color: var(--navy); }
.m-nav-drop:hover .m-nav-drop-menu,
.m-nav-drop:focus-within .m-nav-drop-menu {
  opacity: 1; pointer-events: auto; transform: translateY(0);
}

.m-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.m-menu-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 4px 0; }

/* ─── Buttons ─────────────────────────────────────────────────────────── */

.m-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--rad);
  font-weight: 600;
  font-size: .95rem;
  transition: transform .12s ease, box-shadow .12s ease, background .12s;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
}
.m-btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.m-btn-primary:hover { background: var(--navy-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.m-btn-secondary {
  background: #fff;
  color: var(--navy);
  border-color: var(--line);
}
.m-btn-secondary:hover { border-color: var(--navy); background: var(--bg-soft); }
.m-btn-cyan {
  /* legacy class name; now serves as the bright orange CTA */
  background: var(--orange);
  color: #fff;
}
.m-btn-cyan:hover { background: var(--orange-dark); color: #fff; }
.m-btn-ghost-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.4);
}
.m-btn-ghost-light:hover { background: rgba(255,255,255,.1); color: #fff; }

/* ─── Hero ────────────────────────────────────────────────────────────── */

.m-hero {
  position: relative;
  padding: 90px 0 110px;
  background:
    radial-gradient(60% 80% at 85% 10%, rgba(234,88,12,.18) 0%, transparent 60%),
    radial-gradient(45% 60% at 15% 90%, rgba(37,99,235,.22) 0%, transparent 60%),
    linear-gradient(155deg, var(--navy-dark) 0%, var(--navy) 55%, #0a1f5c 100%);
  color: #fff;
  overflow: hidden;
}
.m-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at 60% 30%, #000 30%, transparent 75%);
  opacity: .6;
}
.m-hero-inner { position: relative; z-index: 2; max-width: 880px; }
.m-hero h1 { color: #fff; font-size: clamp(2.4rem, 5.2vw, 4rem); }
.m-hero .m-lead { color: rgba(255,255,255,.86); font-size: 1.25rem; max-width: 760px; }
.m-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

/* ─── Metric strip ────────────────────────────────────────────────────── */

.m-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}
.m-metric {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--rad-lg);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
}
.m-metric-value {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.02em;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 4px;
  display: inline-block;
}
.m-metric-label {
  font-size: .9rem;
  font-weight: 600;
  color: var(--slate);
  margin-top: 4px;
}
.m-metric-context {
  font-size: .82rem;
  color: var(--muted);
  margin-top: 4px;
}

/* ─── Cards / Grids ──────────────────────────────────────────────────── */

.m-card-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.m-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--rad-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s;
  display: flex;
  flex-direction: column;
}
.m-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #cdd9e6; }
.m-card h3 { margin-bottom: 8px; }
.m-card p { color: var(--slate); }
.m-card .m-card-foot { margin-top: auto; padding-top: 14px; }
.m-card-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--orange);
  margin-bottom: 8px;
}

.m-card-dark {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.14);
}
.m-card-dark p { color: rgba(255,255,255,.78); }
.m-card-dark:hover { border-color: rgba(234,88,12,.55); transform: translateY(-2px); }

/* ─── Industry grid ──────────────────────────────────────────────────── */

.m-industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.m-industry-tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--rad);
  color: var(--ink);
  text-decoration: none;
  transition: all .15s ease;
  min-height: 130px;
}
.m-industry-tile:hover {
  border-color: var(--navy);
  background: var(--bg-soft);
  transform: translateY(-2px);
  color: var(--navy);
}
.m-industry-tile strong { color: var(--navy); font-size: 1.05rem; display: block; margin-bottom: 6px; }
.m-industry-tile span { font-size: .85rem; color: var(--muted); }
.m-industry-tile .m-arrow { font-weight: 700; color: var(--teal); }

/* ─── Module table ───────────────────────────────────────────────────── */

.m-module-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--rad-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.m-module-table th, .m-module-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-size: .94rem;
  color: var(--slate);
}
.m-module-table th {
  background: var(--bg-soft);
  font-weight: 700;
  color: var(--navy);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.m-module-table tr:last-child td { border-bottom: none; }
.m-module-acronym {
  display: inline-block;
  font-family: "JetBrains Mono", "Fira Mono", monospace;
  font-weight: 700;
  background: var(--navy);
  color: #fff;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: .82rem;
}

/* ─── Form ───────────────────────────────────────────────────────────── */

.m-form-wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: start;
}
.m-form-card {
  background: #fff;
  border-radius: var(--rad-lg);
  border: 1px solid var(--line);
  padding: 32px;
  box-shadow: var(--shadow);
}
.m-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.m-field { margin-bottom: 16px; }
.m-field label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.m-field input,
.m-field select,
.m-field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  border: 1px solid var(--line);
  border-radius: var(--rad);
  background: #fff;
  color: var(--ink);
  transition: border-color .12s, box-shadow .12s;
}
.m-field input:focus,
.m-field select:focus,
.m-field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,123,138,.18);
}
.m-field-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .88rem;
  color: var(--slate);
}
.m-field-check input { width: auto; margin-top: 3px; }

.m-flash {
  padding: 12px 16px;
  border-radius: var(--rad);
  margin-bottom: 16px;
  font-size: .92rem;
}
.m-flash-error { background: #fef2f2; color: var(--err); border-left: 4px solid var(--err); }
.m-flash-success { background: #ecfdf5; color: var(--ok); border-left: 4px solid var(--ok); }

/* ─── Form factor cards ──────────────────────────────────────────────── */

.m-formfactor {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 22px;
  background: #fff;
  border-radius: var(--rad-lg);
  border: 1px solid var(--line);
}
.m-formfactor-icon {
  background: var(--navy);
  color: #fff;
  border-radius: var(--rad);
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: .02em;
  padding: 14px 8px;
  white-space: nowrap;
}
.m-formfactor h3 { margin-bottom: 4px; }
.m-formfactor dl { margin: 8px 0 0; font-size: .9rem; color: var(--slate); }
.m-formfactor dt { font-weight: 600; color: var(--navy); }
.m-formfactor dd { margin: 0 0 8px; }

/* ─── Tier table ─────────────────────────────────────────────────────── */

.m-tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.m-tier {
  padding: 24px;
  background: #fff;
  border-radius: var(--rad-lg);
  border: 1px solid var(--line);
  text-align: left;
}
.m-tier h3 { font-size: 1.1rem; }
.m-tier .price { font-size: 1.4rem; font-weight: 800; color: var(--orange); margin: 6px 0 12px; }
.m-tier p { font-size: .92rem; color: var(--slate); }

/* ─── Compliance chips ───────────────────────────────────────────────── */

.m-chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.m-chip {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
}

/* ─── CTA strip ──────────────────────────────────────────────────────── */

.m-cta-strip {
  background: linear-gradient(110deg, var(--navy) 0%, var(--blue-bright) 100%);
  color: #fff;
  padding: 64px 0;
}
.m-cta-strip h2 { color: #fff; max-width: 720px; }
.m-cta-strip p { color: rgba(255,255,255,.86); max-width: 640px; }
.m-cta-actions { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ─── Footer ─────────────────────────────────────────────────────────── */

.m-footer {
  background: #0a1424;
  color: rgba(255,255,255,.82);
  padding: 60px 0 28px;
  margin-top: 60px;
}
.m-footer h4 { color: #fff; margin-bottom: 14px; }
.m-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 36px;
}
.m-footer a {
  display: block;
  color: rgba(255,255,255,.74);
  font-size: .92rem;
  padding: 4px 0;
}
.m-footer a:hover { color: #fff; }
.m-brand-footer .m-brand-words strong { color: #fff; }
.m-brand-footer .m-brand-words span { color: rgba(255,255,255,.62); }
.m-footer-address { font-size: .85rem; color: rgba(255,255,255,.6); max-width: 320px; margin-top: 16px; }
.m-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 40px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
  flex-wrap: wrap;
  gap: 8px;
}

/* ─── Misc ──────────────────────────────────────────────────────────── */

.m-divider {
  height: 1px;
  background: var(--line);
  margin: 32px 0;
  border: 0;
}

.m-pill {
  display: inline-block;
  background: var(--bg-tint);
  color: var(--navy);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: .82rem;
  font-weight: 600;
  margin-right: 6px;
  margin-bottom: 6px;
}

.m-prose ul { padding-left: 1.2rem; }
.m-prose li { margin-bottom: 6px; color: var(--slate); }
.m-prose h3 { margin-top: 28px; }

.m-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.m-three-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

/* ─── Leadership cards ──────────────────────────────────────────────── */

.m-leader-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.m-leader {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--rad-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s;
}
.m-leader:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: #cdd9e6;
}
.m-leader-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--navy) 0%, var(--blue-bright) 65%, var(--orange) 130%);
  color: #fff;
  font-weight: 800;
  font-size: 1.85rem;
  letter-spacing: .04em;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  box-shadow: 0 6px 18px rgba(30, 58, 138, .18);
  border: 3px solid #fff;
  outline: 2px solid var(--gold);
}
.m-leader-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 16px;
  background: #f3f4f6;
  box-shadow: 0 6px 18px rgba(30, 58, 138, .18);
  border: 3px solid #fff;
  outline: 2px solid var(--gold);
}
.m-leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.m-leader-name {
  font-size: 1.2rem;
  color: var(--navy);
  margin: 0 0 4px;
}
.m-leader-title {
  font-size: .85rem;
  color: var(--orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0 0 14px;
}
.m-leader-bio {
  color: var(--slate);
  font-size: .92rem;
  line-height: 1.6;
  margin: 0 0 18px;
  flex-grow: 1;
}
.m-leader-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.m-leader-link {
  font-size: .85rem;
  color: var(--slate);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.m-leader-link:hover { color: var(--navy); }
.m-leader-link-li {
  align-self: flex-start;
  background: #0a66c2;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 600;
  font-size: .82rem;
  margin-bottom: 4px;
}
.m-leader-link-li:hover { background: #084d92; color: #fff; }
.m-leader-link-li svg { vertical-align: middle; }
.m-leader-phone {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* ─── Sovereignty Survey ─────────────────────────────────────────────── */

.sv-section { margin-bottom: 22px; padding: 26px 28px; }
.sv-section-head {
  display: flex; align-items: center; gap: 14px;
  margin: -6px 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.sv-section-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--navy) 0%, var(--blue-bright) 100%);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 800; font-size: .95rem;
  flex-shrink: 0;
}
.sv-section-head h3 { margin: 0; color: var(--navy); font-size: 1.15rem; }

.sv-q { padding: 18px 0; border-top: 1px solid var(--line); }
.sv-q:first-of-type { border-top: none; padding-top: 6px; }
.sv-q-text {
  font-size: .98rem;
  color: var(--ink);
  margin: 0 0 14px;
  line-height: 1.45;
}
.sv-q-text strong { color: var(--navy); }

.sv-q-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 28px;
  align-items: end;
}
.sv-bool-wrap, .sv-scale-wrap { display: flex; flex-direction: column; }

.sv-mini-label {
  display: block;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 6px;
}

.sv-bool {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  background: #fff;
  height: 44px;
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
}
.sv-bool:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(234,88,12,.18); }

.sv-scale-label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.sv-scale-val {
  font-weight: 800;
  color: var(--orange);
  font-size: .95rem;
  font-variant-numeric: tabular-nums;
}

/* Range slider — cross-browser styling so the track and thumb match the brand */
.sv-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: 999px;
  outline: none;
  margin: 8px 0 4px;
}
.sv-range::-webkit-slider-runnable-track {
  height: 8px;
  background: linear-gradient(to right, var(--orange) 0%, var(--orange) var(--sv-fill, 50%), #e2e8f0 var(--sv-fill, 50%), #e2e8f0 100%);
  border-radius: 999px;
}
.sv-range::-moz-range-track {
  height: 8px;
  background: #e2e8f0;
  border-radius: 999px;
}
.sv-range::-moz-range-progress {
  height: 8px;
  background: var(--orange);
  border-radius: 999px;
}
.sv-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px; height: 22px;
  background: #fff;
  border: 3px solid var(--orange);
  border-radius: 50%;
  margin-top: -7px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(30,58,138,.18);
  transition: transform .12s ease;
}
.sv-range::-webkit-slider-thumb:hover { transform: scale(1.08); }
.sv-range::-moz-range-thumb {
  width: 22px; height: 22px;
  background: #fff;
  border: 3px solid var(--orange);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(30,58,138,.18);
}
.sv-range:focus { outline: none; }

/* Disabled slider — flat grey track, neutral thumb, no orange */
.sv-range:disabled { cursor: not-allowed; }
.sv-range:disabled::-webkit-slider-runnable-track {
  background: #e5e7eb;
}
.sv-range:disabled::-moz-range-track    { background: #e5e7eb; }
.sv-range:disabled::-moz-range-progress { background: #e5e7eb; }
.sv-range:disabled::-webkit-slider-thumb {
  background: #f1f5f9;
  border-color: #cbd5e1;
  box-shadow: none;
}
.sv-range:disabled::-moz-range-thumb {
  background: #f1f5f9;
  border-color: #cbd5e1;
  box-shadow: none;
}

.sv-scale-ticks {
  display: flex;
  justify-content: space-between;
  font-size: .7rem;
  color: var(--muted);
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}

.sv-row-disabled .sv-scale-wrap { opacity: 0.55; }
.sv-row-disabled .sv-mini-label { color: #94a3b8; }
.sv-row-disabled .sv-scale-val { color: #94a3b8; }
.sv-row-disabled .sv-scale-ticks { color: #cbd5e1; }
/* Outline the "No" select so it reads as the active state of the question */
.sv-row-disabled .sv-bool {
  border-color: var(--muted);
  color: var(--muted);
  background: #f8fafc;
}

@media (max-width: 640px) {
  .sv-q-row { grid-template-columns: 1fr; gap: 14px; }
  .sv-bool { height: auto; }
}

.m-banner-thanks {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.m-banner-thanks .icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  font-size: 28px;
  font-weight: 800;
}

/* ─── Responsive ─────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .m-nav { display: none; }
  .m-menu-toggle { display: block; }
  body.m-menu-open .m-nav {
    display: flex;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px 24px;
    gap: 14px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .m-form-wrap { grid-template-columns: 1fr; gap: 24px; }
  .m-two-col { grid-template-columns: 1fr; gap: 28px; }
  .m-form-row { grid-template-columns: 1fr; }
  .m-footer-grid { grid-template-columns: 1fr 1fr; }
  .m-section { padding: 56px 0; }
  .m-hero { padding: 60px 0 80px; }
}

@media (max-width: 540px) {
  .m-footer-grid { grid-template-columns: 1fr; }
  .m-formfactor { grid-template-columns: 1fr; }
  .m-formfactor-icon { padding: 12px; font-size: 1rem; min-height: 56px; }
}
