:root {
  --ink: #0a2540;
  --muted: #52657a;
  --blue: #635bff;
  --cyan: #00d4ff;
  --green: #18c7a8;
  --orange: #ffb15c;
  --bg: #f6f9fc;
  --line: #dfe7f1;
  --navy: #06182e;
  --white: #ffffff;
  --shadow: 0 28px 80px rgba(22, 42, 80, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 48%, #f8fbff 100%);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 24px;
  backdrop-filter: blur(18px);
}

.brand, .portal-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.brand { font-size: 20px; }

.brand-mark, .brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  box-shadow: 0 10px 26px rgba(99, 91, 255, 0.26);
  flex: 0 0 auto;
}
.brand-logo.small { width: 30px; height: 30px; border-radius: 9px; }

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #425466;
  font-size: 15px;
  font-weight: 700;
}

.nav-cta {
  background: var(--ink);
  color: white;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 850;
  font-size: 14px;
}

.section-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 96px 24px;
}

.hero {
  min-height: calc(100vh - 80px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(460px, 0.92fr);
  gap: clamp(4px, 0.8vw, 12px);
  align-items: center;
  justify-items: stretch;
  text-align: left;
  position: relative;
  padding-top: 72px;
  padding-bottom: 72px;
}

.hero-copy {
  width: 100%;
  max-width: 610px;
  margin: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eef4ff;
  color: #3b50d1;
  font-size: 14px;
  font-weight: 850;
}
.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(24, 199, 168, 0.14);
}

h1, h2, h3, h4, p { margin-top: 0; }
h1 {
  max-width: 640px;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 24px;
  font-size: clamp(42px, 4.7vw, 62px);
  line-height: 0.97;
  letter-spacing: -0.058em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(38px, 4.8vw, 62px);
  line-height: 1;
  letter-spacing: -0.055em;
}

h3 { font-size: 24px; letter-spacing: -0.035em; }

.hero-subhead, .split-section p, .section-heading p, .audit-cta p {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.5;
}
.hero-subhead {
  max-width: 590px;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 28px;
}

.hero-actions { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 14px; margin-bottom: 30px; }
.hero-actions .button {
  padding: 13px 18px;
  font-size: 15px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 15px 22px;
  font-size: 16px;
  font-weight: 850;
}
.button.primary { background: var(--blue); color: white; box-shadow: 0 14px 34px rgba(99, 91, 255, 0.28); }
.button.secondary { background: white; border: 1px solid var(--line); color: var(--ink); }
.button.light { background: white; color: var(--ink); box-shadow: none; }

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 760px;
  margin: 0;
}
.trust-row div {
  padding: 14px;
  background: rgba(255,255,255,0.8);
  border: 1px solid #e7eef7;
  border-radius: 18px;
}
.trust-row strong { display: block; margin-bottom: 4px; font-size: 16px; }
.trust-row span { color: var(--muted); font-size: 13px; line-height: 1.35; }

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 560px;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  overflow: visible;
}
.glow {
  position: absolute;
  left: 50%;
  right: auto;
  top: -44px;
  width: 570px;
  height: 430px;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 20% 30%, var(--cyan) 0, transparent 35%),
    radial-gradient(circle at 62% 42%, var(--blue) 0, transparent 34%),
    radial-gradient(circle at 42% 78%, var(--green) 0, transparent 30%),
    radial-gradient(circle at 82% 76%, var(--orange) 0, transparent 26%);
  filter: blur(7px);
  opacity: 0.46;
}
.dashboard-card {
  position: relative;
  z-index: 2;
  border-radius: 30px;
  box-shadow: var(--shadow);
}
.cockpit-card {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--navy);
  color: white;
}

@media (min-width: 921px) {
  .hero .hero-copy {
    transform: translateY(-72px);
  }
  .hero .hero-visual {
    transform: translate(-28px, -56px);
  }
  .hero .cockpit-card {
    transform: none;
    transform-origin: center center;
  }
}
.window-bar {
  height: 58px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.window-bar span { width: 10px; height: 10px; border-radius: 50%; background: #ff6b6b; }
.window-bar span:nth-child(2) { background: #ffca3a; }
.window-bar span:nth-child(3) { background: var(--green); }
.window-bar b { margin-left: auto; font-size: 14px; color: #c5d5e6; }

.mir-summary {
  margin: 20px;
  padding: 22px;
  border-radius: 24px;
  background: white;
  color: var(--ink);
}
.small-label { color: #3b50d1; font-size: 13px; font-weight: 850; text-transform: uppercase; letter-spacing: 0.08em; }
.mir-summary h2 { font-size: clamp(24px, 2.25vw, 32px); margin-bottom: 10px; }
.mir-summary p:not(.small-label) { color: var(--muted); line-height: 1.45; }

.metric-grid, .portal-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.metric-grid { margin: 0 20px 16px; }
.metric-grid div, .portal-metrics div {
  padding: 15px;
  border-radius: 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.09);
}
.metric-grid strong, .portal-metrics strong { display: block; font-size: 24px; letter-spacing: -0.04em; }
.metric-grid span, .portal-metrics span { display: block; color: #9db0c4; font-size: 12px; margin-top: 4px; }

.issue-list {
  margin: 0 20px 20px;
  padding: 8px 18px;
  border-radius: 22px;
  background: white;
  color: var(--ink);
}
.issue-list div, .progress-card div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid #e7eef7;
  color: var(--muted);
}
.issue-list div:first-child, .progress-card div:first-of-type { border-top: 0; }
.pill { display: inline-flex; align-items: center; border-radius: 999px; padding: 5px 8px; font-size: 11px; font-weight: 900; white-space: nowrap; }
.pill.warn { background: #fff3df; color: #b45309; }
.pill.good { background: #ddfbef; color: #047857; }
.pill.info { background: #e6f0ff; color: #3157d3; }

.split-section {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 46px;
  align-items: center;
}

.daily-mir {
  border-radius: 42px;
  background:
    radial-gradient(circle at 84% 8%, rgba(0, 212, 255, 0.28), transparent 28%),
    linear-gradient(135deg, var(--navy), var(--ink));
  color: white;
  padding: 64px;
}
.daily-mir-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}
.daily-mir-header h2 {
  max-width: 700px;
  margin-bottom: 14px;
}
.daily-mir-header p:not(.eyebrow), .mir-definition span, .audit-cta p { color: #c5d5e6; }
.mir-definition {
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 24px;
  background: rgba(255,255,255,0.08);
}
.mir-definition strong,
.mir-definition span { display: block; }
.mir-definition strong { margin-bottom: 8px; font-size: 17px; }
.mir-definition span { font-size: 14px; line-height: 1.45; }
.mir-dashboard {
  padding: 26px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 32px;
  background: #f6f9fc;
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24);
}
.mir-dashboard-top {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.mir-status-row {
  justify-content: flex-end;
  flex-wrap: wrap;
}
.pill.date {
  background: #eef4ff;
  color: #3b50d1;
}
.mir-dashboard-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
}
.mir-pnl-layout {
  align-items: stretch;
}
.mir-owner-note,
.mir-action-list,
.mir-source-card,
.mir-pnl-card,
.mir-kpi-panel div {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  box-shadow: 0 14px 32px rgba(10,37,64,0.06);
}
.mir-owner-note {
  min-height: 250px;
  padding: 26px;
  background:
    radial-gradient(circle at 90% 12%, rgba(99,91,255,0.16), transparent 36%),
    white;
}
.mir-owner-note span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mir-owner-note h4 {
  max-width: 520px;
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}
.mir-owner-note p {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.48;
}
.mir-kpi-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.mir-kpi-panel div { padding: 20px; }
.mir-kpi-panel strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 30px;
  letter-spacing: -0.04em;
}
.mir-kpi-panel span { color: var(--muted); font-size: 13px; font-weight: 760; }
.mir-action-list,
.mir-source-card { padding: 22px; }
.mir-action-list h4,
.mir-source-card h4 { margin: 0 0 16px; font-size: 20px; }
.mir-action-list div,
.mir-source-card div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 13px 0;
  border-top: 1px solid #e9eff6;
  color: #31445a;
  font-weight: 760;
}
.mir-action-list div:first-of-type,
.mir-source-card div:first-of-type { border-top: 0; padding-top: 0; }
.mir-source-card b { color: var(--ink); font-size: 14px; }
.mir-pnl-card {
  padding: 24px;
  background:
    radial-gradient(circle at 88% 10%, rgba(24,199,168,0.14), transparent 32%),
    white;
}
.pnl-heading,
.pnl-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.pnl-heading {
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pnl-heading b {
  padding: 7px 10px;
  border-radius: 999px;
  background: #e8fff8;
  color: #087a64;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
}
.pnl-row {
  padding: 10px 0;
  border-top: 1px solid #e9eff6;
  color: #31445a;
  font-size: 15px;
  font-weight: 760;
}
.pnl-row strong {
  color: var(--ink);
  font-size: 18px;
  letter-spacing: -0.03em;
}
.pnl-row.indent {
  padding-left: 22px;
  color: var(--muted);
  font-size: 14px;
}
.pnl-row.total,
.pnl-row.subtotal,
.pnl-row.profit {
  color: var(--ink);
  font-weight: 900;
}
.pnl-row.total {
  border-top: 0;
  padding-top: 0;
}
.pnl-row.subtotal {
  margin-top: 4px;
  border-top: 2px solid #dbe6f2;
}
.pnl-row.profit {
  margin-top: 6px;
  padding: 14px 16px;
  border: 0;
  border-radius: 18px;
  background: #f0fff9;
  color: #087a64;
}
.pnl-row.profit strong { color: #087a64; font-size: 22px; }
.mir-pnl-side {
  display: grid;
  gap: 16px;
}
.mir-pnl-side .mir-owner-note {
  min-height: auto;
  padding: 22px;
}
.mir-pnl-side .mir-owner-note span { margin-bottom: 12px; }
.mir-pnl-side .mir-owner-note h4 {
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.02;
}
.mir-pnl-side .mir-owner-note p {
  font-size: 15px;
}
.mir-feature-grid, .module-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.section-heading { max-width: 820px; margin-bottom: 38px; }
.section-heading.narrow { max-width: 720px; }

.portal-preview {
  display: grid;
  grid-template-columns: 245px 1fr;
  min-height: 610px;
  overflow: hidden;
  border: 1px solid rgba(10,37,64,0.1);
  border-radius: 34px;
  background: #f6f9fc;
  box-shadow: var(--shadow);
}
.portal-sidebar {
  padding: 28px 22px;
  background: var(--navy);
  color: white;
}
.portal-brand { margin-bottom: 30px; }
.portal-sidebar a {
  display: block;
  margin: 5px 0;
  padding: 12px 14px;
  border-radius: 15px;
  color: #b8cadc;
  font-weight: 750;
  font-size: 14px;
}
.portal-sidebar a.active { background: rgba(255,255,255,0.12); color: white; }
.portal-main { padding: 30px; }
.portal-topline { display: flex; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.portal-topline h3 { margin-bottom: 6px; }
.portal-topline p { color: var(--muted); margin-bottom: 0; }
.status-pills { display: flex; gap: 8px; align-items: flex-start; }
.portal-metrics div { background: white; border: 1px solid var(--line); }
.portal-metrics span { color: var(--muted); }
.portal-lower { display: grid; grid-template-columns: 1fr 0.8fr; gap: 18px; margin-top: 18px; }
.dark-card, .progress-card {
  border-radius: 24px;
  padding: 22px;
  border: 1px solid var(--line);
  background: white;
}
.dark-card { background: linear-gradient(135deg, var(--navy), var(--ink)); color: white; }
.dark-card p { color: #c5d5e6; line-height: 1.5; }
.progress-card h4, .dark-card h4 { margin-bottom: 14px; font-size: 19px; }

.module-grid { grid-template-columns: repeat(3, 1fr); }
.module-grid article {
  min-height: 218px;
  padding: 24px;
  border-radius: 26px;
  background: linear-gradient(180deg, white, #fbfdff);
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(10,37,64,0.05);
}
.module-grid article span {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 14px;
  background: #eef4ff;
  color: var(--blue);
  font-weight: 900;
}
.module-grid p { color: var(--muted); line-height: 1.45; }

.steps { display: grid; gap: 12px; }
.steps div {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-radius: 22px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(10,37,64,0.05);
}
.steps b {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 17px;
  background: var(--ink);
  color: white;
}
.steps span { font-size: 18px; font-weight: 850; }

.integration-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.integration-grid span {
  padding: 17px;
  border-radius: 18px;
  text-align: center;
  background: white;
  border: 1px solid var(--line);
  color: #52657a;
  font-weight: 850;
}

.pricing-model {
  padding-top: 40px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.pricing-grid article {
  min-height: 260px;
  padding: 26px;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff, #f5f8fc);
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(22, 42, 80, 0.08);
}
.pricing-grid article span {
  display: inline-flex;
  margin-bottom: 58px;
  color: #635bff;
  font-weight: 950;
  font-size: 13px;
  letter-spacing: 0.08em;
}
.pricing-grid article p {
  color: var(--muted);
  line-height: 1.5;
}

.audit-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 64px;
  padding: 64px;
  border-radius: 42px;
  background:
    radial-gradient(circle at 88% 12%, rgba(0,212,255,0.34), transparent 28%),
    linear-gradient(135deg, var(--navy), var(--ink));
  color: white;
}
.audit-cta div { max-width: 760px; }
.audit-cta h2 { margin-bottom: 14px; }
.audit-cta .eyebrow {
  background: rgba(255,255,255,0.14);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.24);
}
.audit-cta .eyebrow span { background: #18f0c5; }
.audit-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}
.audit-steps span {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 58px;
  padding: 12px 13px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 18px;
  background: rgba(255,255,255,0.08);
  color: #d8e5f3;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.25;
}
.audit-steps b {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 9px;
  background: #ffffff;
  color: var(--ink);
  font-size: 12px;
}

.booking-section {
  padding-top: 0;
}
.booking-section .section-heading {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.booking-section .eyebrow {
  margin-left: auto;
  margin-right: auto;
}
.calendly-embed-shell {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: white;
  box-shadow: var(--shadow);
}
.calendly-inline-widget {
  width: 100%;
  min-width: 0;
  height: 760px;
}
.calendly-inline-widget iframe {
  display: block;
  width: 100% !important;
  margin: 0 auto !important;
}
.booking-fallback {
  margin: 16px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
}
.booking-fallback a {
  color: var(--blue);
  font-weight: 850;
}

@media (max-width: 920px) {
  .desktop-nav { display: none; }
  .site-header { padding: 14px 18px; }
  .nav-cta { font-size: 13px; padding: 10px 14px; }
  .section-shell { padding: 72px 18px; }
  .hero, .split-section, .portal-lower { grid-template-columns: 1fr; }
  .hero { gap: 28px; padding-top: 44px; }
  h1 { font-size: 48px; }
  h2 { font-size: 38px; }
  .hero-subhead, .split-section p, .section-heading p, .audit-cta p { font-size: 17px; }
  .trust-row, .metric-grid, .portal-metrics, .module-grid, .integration-grid, .mir-feature-grid, .pricing-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: auto; }
  .cockpit-card { max-width: 100%; }
  .glow { width: 420px; height: 360px; right: -150px; }
  .daily-mir, .audit-cta { padding: 34px 24px; border-radius: 30px; }
  .daily-mir-header, .mir-dashboard-grid { grid-template-columns: 1fr; }
  .daily-mir-header { align-items: start; }
  .mir-dashboard { padding: 18px; border-radius: 26px; }
  .mir-dashboard-top { flex-direction: column; }
  .mir-kpi-panel { grid-template-columns: 1fr; }
  .portal-preview { grid-template-columns: 1fr; }
  .portal-sidebar { display: none; }
  .portal-main { padding: 18px; }
  .portal-topline, .audit-cta { flex-direction: column; align-items: stretch; }
  .status-pills { flex-wrap: wrap; }
  .integration-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid article { min-height: auto; }
  .pricing-grid article span { margin-bottom: 28px; }
  .audit-steps { grid-template-columns: 1fr; }
  .calendly-embed-shell { border-radius: 26px; }
  .calendly-inline-widget { height: 820px; }
  .button { width: 100%; }
}

/* Mobile overflow hardening */
html, body { max-width: 100%; overflow-x: hidden; }
img, svg, video, canvas { max-width: 100%; }

@media (max-width: 920px) {
  .site-header { width: 100%; max-width: 100%; gap: 10px; }
  .brand { min-width: 0; font-size: 18px; }
  .brand span:last-child { white-space: nowrap; }
  .nav-cta { flex: 0 0 auto; white-space: nowrap; }
  .hero, .section-shell, .daily-mir, .audit-cta { max-width: 100%; }
  .hero-copy, .hero-visual, .portal-main, .portal-preview, .cockpit-card { min-width: 0; width: 100%; }
  h1, h2, h3, p { overflow-wrap: anywhere; }
  .hero-actions { width: 100%; }
  .dashboard-card, .cockpit-card { margin-left: 0; }
  .window-bar b { font-size: 12px; }
  .metric-grid div, .portal-metrics div { min-width: 0; }
  .metric-grid strong, .portal-metrics strong { font-size: 22px; }
}

@media (max-width: 480px) {
  .site-header { padding-left: 14px; padding-right: 14px; }
  .brand { font-size: 16px; gap: 8px; }
  .brand-mark { width: 30px; height: 30px; border-radius: 10px; }
  .brand-mark::after { inset: 8px; }
  .nav-cta { font-size: 12px; padding: 9px 11px; }
  .section-shell { padding-left: 16px; padding-right: 16px; }
  h1 { font-size: 43px; letter-spacing: -0.055em; }
  h2 { font-size: 34px; }
  .hero-subhead, .split-section p, .section-heading p, .audit-cta p { font-size: 16px; }
  .mir-summary { margin: 14px; padding: 18px; }
  .metric-grid, .issue-list { margin-left: 14px; margin-right: 14px; }
  .window-bar { padding-left: 16px; padding-right: 16px; }
  .daily-mir, .audit-cta { padding-left: 20px; padding-right: 20px; }
  .calendly-inline-widget { height: 920px; }
}


@media (max-width: 920px) {
  body { width: 100vw; }
  .site-header,
  .section-shell,
  .hero,
  .hero-copy,
  .hero-visual,
  .daily-mir,
  .portal-section,
  .modules,
  .method,
  .integrations,
  .audit-cta {
    width: 100%;
    max-width: 100%;
  }
  .hero {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .split-section,
  .portal-lower,
  .module-grid,
  .pricing-grid,
  .metric-grid,
  .portal-metrics,
  .mir-feature-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
  .daily-mir-header,
  .mir-dashboard-grid,
  .mir-kpi-panel {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
  .integration-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .trust-row { grid-template-columns: 1fr !important; }
  .hero-visual { min-height: auto !important; overflow: visible; }
  .glow { display: none; }
  .cockpit-card,
  .dashboard-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden;
  }
  .cockpit-card * { min-width: 0; }
  .site-header { box-sizing: border-box; }
  .site-header .nav-cta { max-width: 126px; overflow: hidden; text-overflow: ellipsis; }
}

@media (max-width: 480px) {
  .brand { max-width: calc(100vw - 158px); overflow: hidden; }
  .brand span:last-child { overflow: hidden; text-overflow: ellipsis; }
  .metric-grid strong, .portal-metrics strong { font-size: 20px; }
}

.legal-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 24px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: rgba(245, 247, 255, 0.68);
  font-size: 14px;
}

.legal-footer nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.legal-footer a {
  color: rgba(245, 247, 255, 0.82);
  text-decoration: none;
}

.legal-footer a:hover { color: #fff; }

@media (max-width: 640px) {
  body { overflow-x: hidden; }
  .site-header {
    padding: 14px 18px;
    gap: 12px;
  }
  .desktop-nav {
    display: none !important;
  }
  .site-header .nav-cta {
    display: inline-flex !important;
    max-width: none;
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
  }
  .brand {
    max-width: none;
    font-size: 18px;
  }
  .section-shell { padding-left: 18px; padding-right: 18px; }
  .hero { gap: 28px; }
  h1 {
    font-size: clamp(42px, 13vw, 56px);
    line-height: 0.98;
    letter-spacing: -0.058em;
  }
  h2 {
    font-size: clamp(34px, 10vw, 46px);
    line-height: 1.03;
  }
  .hero-subhead,
  .split-section p,
  .section-heading p,
  .audit-cta p {
    font-size: 18px;
  }
  .button { width: 100%; }
  .legal-footer { align-items: flex-start; flex-direction: column; }
  .mir-summary,
  .metric-grid,
  .issue-list { margin-left: 14px; margin-right: 14px; }
  .mir-summary { padding: 20px; }
  .window-bar { padding: 0 16px; }
}
