:root {
  --mm-electric-blue: #25A7FF;
  --mm-deep-navy: #163A70;
  --mm-bright-cyan: #7DEBFF;
  --mm-fresh-orange: #FF8A2A;
  --mm-soft-white: #F6FBFF;
  --mm-dark-background: #071B3A;
  --mm-text-dark: #0B2545;
  --mm-success-green: #7AC943;
  --mm-warning-gold: #F4C542;
  --mm-gradient-primary: linear-gradient(135deg, #7DEBFF 0%, #25A7FF 46%, #0A63E8 100%);
  --mm-gradient-cta: linear-gradient(135deg, #ffb15c 0%, #FF8A2A 100%);
  --mm-gradient-surface: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(246,251,255,0.98));
  --mm-shadow-lg: 0 30px 80px rgba(7, 27, 58, 0.18);
  --mm-shadow-md: 0 20px 55px rgba(22, 58, 112, 0.12);
  --mm-shadow-sm: 0 14px 34px rgba(22, 58, 112, 0.10);
  --mm-border-soft: 1px solid rgba(22, 58, 112, 0.10);
  --mm-border-glow: 1px solid rgba(125, 235, 255, 0.28);
  --mm-font: "Poppins", Arial, sans-serif;
  --mm-radius-xl: 32px;
  --mm-radius-lg: 24px;
  --mm-radius-md: 18px;
  --mm-radius-pill: 999px;
  --mm-max-width: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--mm-font);
  color: var(--mm-text-dark);
  background:
    radial-gradient(circle at top left, rgba(125,235,255,0.14), transparent 24%),
    radial-gradient(circle at top right, rgba(37,167,255,0.10), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, var(--mm-soft-white) 56%, #edf7ff 100%);
}
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }
code { overflow-wrap: anywhere; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 16px 20px;
  background: rgba(246, 251, 255, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(22,58,112,0.10);
}
.header-shell {
  max-width: var(--mm-max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand img { width: clamp(180px, 20vw, 230px); }
.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav a {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--mm-deep-navy);
  padding: 12px 16px;
  border-radius: var(--mm-radius-pill);
  transition: 0.2s ease;
}
.nav a:hover {
  background: rgba(37,167,255,0.10);
  color: var(--mm-electric-blue);
}
.nav a[aria-current="page"] {
  background: rgba(37,167,255,0.12);
  color: var(--mm-electric-blue);
}
.nav a.nav-resource {
  border: 1px solid rgba(37,167,255,0.16);
  background: rgba(37,167,255,0.05);
}
a.desktop-only, .desktop-only { display: inline-flex; }
a.mobile-only, .mobile-only { display: none; }
.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  margin-left: auto;
  border: var(--mm-border-soft);
  border-radius: 16px;
  background: white;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  box-shadow: var(--mm-shadow-sm);
}
.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--mm-deep-navy);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--mm-radius-pill);
  font-weight: 800;
  transition: 0.25s ease;
}
.header-cta {
  background: var(--mm-gradient-cta);
  color: white;
  box-shadow: 0 14px 34px rgba(255,138,42,0.24);
}
.header-cta:hover,
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(255,138,42,0.32);
}

.hero {
  max-width: var(--mm-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1.05fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: start;
  padding: clamp(54px, 7vw, 104px) 20px;
}
.hero-dark {
  max-width: none;
  background:
    radial-gradient(circle at 78% 18%, rgba(37,167,255,0.34), transparent 25%),
    radial-gradient(circle at 15% 80%, rgba(125,235,255,0.14), transparent 23%),
    linear-gradient(135deg, var(--mm-deep-navy), var(--mm-dark-background));
  color: white;
}
.hero-dark .hero-copy,
.hero-dark .hero-visual {
  max-width: calc(var(--mm-max-width) / 2 + 110px);
}
.hero-dark .hero-copy { justify-self: end; width: 100%; }
.hero-dark .hero-visual { justify-self: start; width: 100%; }
.eyebrow {
  margin: 0 0 16px;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--mm-fresh-orange);
}
.eyebrow.blue { color: var(--mm-electric-blue); }
.eyebrow.cyan { color: var(--mm-bright-cyan); }
.hero h1,
.section h2,
.cta-section h2,
.brand-copy h2 {
  margin: 0;
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 900;
}
.hero h1 { font-size: clamp(3rem, 6vw, 6.5rem); }
.hero h1 span { color: var(--mm-bright-cyan); }
.lead {
  max-width: 620px;
  color: rgba(255,255,255,0.82);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.7;
  margin: 22px 0 0;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0;
}
.btn-primary {
  border: 0;
  background: var(--mm-gradient-cta);
  color: white;
  box-shadow: 0 14px 32px rgba(255,138,42,0.28);
}
.btn-secondary {
  border: 1px solid rgba(125,235,255,0.38);
  color: var(--mm-bright-cyan);
  background: rgba(255,255,255,0.06);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-1px);
}
.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
}
.trust-row div {
  border: 1px solid rgba(125,235,255,0.22);
  border-radius: 18px;
  padding: 16px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
}
.trust-row strong {
  display: block;
  font-size: 1rem;
}
.trust-row small {
  color: rgba(255,255,255,0.72);
  line-height: 1.5;
}
.hero-microcards {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 620px;
}
.hero-microcards article {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(125,235,255,0.18);
  background: rgba(255,255,255,0.05);
}
.hero-microcards h3,
.aside-copy h3,
.ui-preview h3,
.brand-points h3,
.mini-brand-card h3 { 
  margin: 0 0 6px; 
  font-size: 1.15rem; 
  font-weight: 800; 
}
.hero-microcards p,
.aside-copy p,
.ui-preview p,
.brand-points p,
.mini-brand-card p {
  margin: 0;
  line-height: 1.6;
}
.micro-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: rgba(125,235,255,0.18);
  color: var(--mm-bright-cyan);
  font-weight: 800;
}
.hero-frame,
.glow-frame {
  border-radius: var(--mm-radius-xl);
  border: var(--mm-border-glow);
  box-shadow: var(--mm-shadow-lg);
  overflow: hidden;
}
.hero-visual img,
.brand-image img,
.board-frame img,
.ui-preview img,
.nutrition-aside img {
  width: 100%;
}
.hero-visual .hero-frame img {
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover;
}

.section {
  padding: clamp(58px, 7vw, 100px) 20px;
}
.light-section { background: linear-gradient(180deg, rgba(246,251,255,0.6), #ffffff); }
.section-heading {
  max-width: 780px;
  margin: 0 auto 46px;
  text-align: center;
}
.section-heading.narrow { max-width: 680px; }
.section-heading h2,
.cta-section h2 {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  color: var(--mm-deep-navy);
}
.section-heading p:not(.eyebrow) {
  color: rgba(11,37,69,0.72);
  font-size: 1.06rem;
  line-height: 1.75;
}
.invert h2 { color: white; }
.invert p:not(.eyebrow) { color: rgba(255,255,255,0.74); }
.panel {
  background: var(--mm-gradient-surface);
  border: var(--mm-border-soft);
  border-radius: var(--mm-radius-xl);
  box-shadow: var(--mm-shadow-md);
}
.dark-card {
  background: linear-gradient(180deg, rgba(13,43,86,0.98), rgba(7,27,58,0.98));
  color: white;
  border: var(--mm-border-glow);
}

.nutrition-layout,
.feature-layout,
.brand-board {
  max-width: var(--mm-max-width);
  margin: 0 auto;
}
.nutrition-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.78fr);
  gap: 26px;
  align-items: stretch;
}
.comparison-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  padding: 24px;
}
.choice-card {
  padding: 28px;
  border-radius: 26px;
  background: white;
  box-shadow: 0 18px 46px rgba(22,58,112,0.10);
  border: 1px solid rgba(22,58,112,0.08);
}
.choice-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.choice-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.choice-dot.good { background: var(--mm-success-green); box-shadow: 0 0 0 8px rgba(122,201,67,0.12); }
.choice-dot.caution { background: var(--mm-fresh-orange); box-shadow: 0 0 0 8px rgba(255,138,42,0.12); }
.choice-card h3 { margin: 0; color: var(--mm-deep-navy); font-size: 1.65rem; }
.choice-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}
.choice-card li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(22,58,112,0.08);
  padding-bottom: 14px;
}
.choice-card li:last-child { border-bottom: 0; padding-bottom: 0; }
.choice-card span { font-weight: 800; }
.choice-card small { color: rgba(11,37,69,0.62); text-align: right; }
.vs-badge {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--mm-gradient-primary);
  color: white;
  font-weight: 900;
  box-shadow: 0 15px 40px rgba(37,167,255,0.30);
}
.nutrition-aside {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.nutrition-aside img {
  border-radius: 22px;
  border: 1px solid rgba(125,235,255,0.25);
}
.aside-copy {
  padding: 6px 8px 8px;
}
.aside-copy p:not(.eyebrow) { color: rgba(255,255,255,0.78); }

.dark-panel {
  background: linear-gradient(135deg, var(--mm-dark-background), var(--mm-deep-navy));
  color: white;
}
.steps-grid,
.feature-grid {
  max-width: var(--mm-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.steps-grid article,
.feature-card {
  border-radius: 24px;
  padding: 26px;
}
@media (min-width: 1121px) {
  .feature-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feature-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.steps-grid article {
  border: 1px solid rgba(125,235,255,0.24);
  background: rgba(255,255,255,0.06);
}
.steps-grid h3,
.feature-card h3 {
  margin: 14px 0 10px;
  font-size: 1.35rem;
}
.steps-grid p { color: rgba(255,255,255,0.74); line-height: 1.66; margin: 0; }
.step-number { color: var(--mm-bright-cyan); font-weight: 900; }

.feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
}
.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.feature-card {
  background: white;
  color: var(--mm-text-dark);
  box-shadow: 0 22px 60px rgba(22,58,112,0.10);
  border: 1px solid rgba(22,58,112,0.08);
}
.feature-card p { color: rgba(11,37,69,0.68); line-height: 1.65; margin: 0; }
.icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(37,167,255,0.10);
  color: var(--mm-electric-blue);
  font-size: 1.8rem;
}
.ui-preview {
  padding: 24px;
}
.ui-preview-copy {
  max-width: 700px;
  margin-bottom: 22px;
}
.ui-preview img {
  border-radius: 24px;
  border: 1px solid rgba(22,58,112,0.08);
}

.brand-board {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: start;
  color: white;
}
.brand-copy h2 {
  color: white;
  font-size: clamp(2.3rem, 4vw, 4rem);
}
.brand-copy p:not(.eyebrow) { color: rgba(255,255,255,0.78); line-height: 1.75; }
.palette {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}
.palette span {
  min-height: 96px;
  display: flex;
  align-items: end;
  justify-content: center;
  padding: 12px;
  border-radius: 18px;
  background: var(--swatch);
  color: var(--mm-deep-navy);
  font-weight: 800;
  font-size: 0.72rem;
  text-align: center;
  box-shadow: 0 12px 35px rgba(0,0,0,0.16);
}
.palette span:nth-child(2) { color: white; }
.brand-points {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}
.brand-points article {
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid rgba(125,235,255,0.18);
  background: rgba(255,255,255,0.04);
}
.brand-visuals {
  display: grid;
  gap: 18px;
}
.board-frame img { border-radius: var(--mm-radius-xl); }
.mini-brand-card {
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: center;
}
.brand-icon {
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
}

.cta-section {
  padding: 0 20px 90px;
  background: transparent;
}
.cta-shell {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 44px 24px;
}
.cta-shell img {
  width: 102px;
  margin: 0 auto 16px;
}
.cta-section p:not(.eyebrow) {
  color: rgba(11,37,69,0.68);
  font-size: 1.08rem;
  max-width: 640px;
  margin: 14px auto 26px;
  line-height: 1.7;
}
.resource-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.resource-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--mm-radius-pill);
  border: 1px solid rgba(37,167,255,0.20);
  background: rgba(255,255,255,0.72);
  color: var(--mm-deep-navy);
  font-weight: 800;
  transition: 0.2s ease;
}
.resource-link:hover {
  transform: translateY(-1px);
  border-color: rgba(37,167,255,0.44);
  box-shadow: 0 14px 34px rgba(37,167,255,0.12);
}
.setup-path-grid {
  max-width: var(--mm-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.setup-path-card {
  padding: 26px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(22,58,112,0.10);
  border: 1px solid rgba(22,58,112,0.08);
}
.setup-path-card h3 {
  margin: 0 0 8px;
  color: var(--mm-deep-navy);
  font-size: 1.45rem;
}
.setup-path-card p {
  margin: 0;
  color: rgba(11,37,69,0.70);
  line-height: 1.7;
}
.setup-path-card ul {
  margin: 16px 0 0;
  padding-left: 18px;
  color: rgba(11,37,69,0.72);
  line-height: 1.7;
}
.setup-path-card li + li {
  margin-top: 6px;
}
.setup-path-card .resource-links {
  margin-top: 20px;
}
.helper-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(37,167,255,0.08);
  color: var(--mm-deep-navy);
  font-size: 0.88rem;
  font-weight: 700;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 20px 36px;
  background: var(--mm-dark-background);
  color: rgba(255,255,255,0.68);
}
.site-footer > * {
  max-width: calc(var(--mm-max-width) / 2);
}
.site-footer {
  padding-left: max(20px, calc((100vw - var(--mm-max-width)) / 2 + 20px));
  padding-right: max(20px, calc((100vw - var(--mm-max-width)) / 2 + 20px));
}
.footer-branding img {
  width: 180px;
  filter: brightness(1.15);
  margin-bottom: 10px;
}
.footer-branding p,
.site-footer p { margin: 0; }
.footer-meta {
  display: grid;
  justify-items: end;
  gap: 10px;
}
.footer-meta p {
  text-align: right;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}
.footer-links a {
  color: rgba(255,255,255,0.84);
  font-weight: 700;
}
.footer-links a:hover {
  color: var(--mm-bright-cyan);
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .hero-dark .hero-copy,
  .hero-dark .hero-visual {
    max-width: var(--mm-max-width);
    justify-self: stretch;
  }
  .hero-visual { order: -1; }
  .nutrition-layout,
  .brand-board {
    grid-template-columns: 1fr;
  }
  .feature-grid,
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  a.desktop-only, .desktop-only { display: none; }
  a.mobile-only, .mobile-only { display: inline-flex; }
  .menu-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 20px;
    right: 20px;
    margin-left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 16px;
    background: rgba(255,255,255,0.98);
    border: var(--mm-border-soft);
    border-radius: 22px;
    box-shadow: var(--mm-shadow-md);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 16px; }
  .header-shell { position: relative; }
  .comparison-card {
    grid-template-columns: 1fr;
  }
  .vs-badge { margin: auto; }
}

@media (max-width: 720px) {
  .trust-row,
  .hero-microcards,
  .feature-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .palette {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mini-brand-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-meta {
    justify-items: start;
  }
  .footer-meta p {
    text-align: left;
  }
  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .site-header { padding: 12px 16px; }
  .hero,
  .section,
  .cta-section { padding-left: 16px; padding-right: 16px; }
  .hero { padding-top: 36px; }
  .brand img { width: 156px; }
  .hero h1 { font-size: clamp(2.5rem, 12vw, 4rem); }
  .section-heading h2,
  .cta-section h2,
  .brand-copy h2 { font-size: clamp(2rem, 11vw, 3rem); }
  .comparison-card,
  .ui-preview,
  .cta-shell,
  .choice-card { padding: 20px; }
  .palette span { min-height: 82px; font-size: 0.68rem; }
}

@media print {
  .site-header,
  .site-footer,
  .menu-toggle,
  .result-actions,
  .hero-visual,
  .brand-visuals,
  .route-badge { display: none !important; }
  body,
  .hero,
  .hero-dark,
  .dark-panel,
  .light-section,
  .section { background: #ffffff !important; color: #111111 !important; padding-top: 8px; padding-bottom: 8px; }
  .hero h1, .hero h1 span, .section h2, .section-heading h2, .section-heading p,
  .lead, .plan-title, .plan-meta, .plan-preview, .brand-copy p, .brand-copy h2 { color: #111111 !important; }
  .plan-card, .feature-card {
    border: 1px solid #999999 !important;
    background: #ffffff !important;
    box-shadow: none !important;
    break-inside: avoid;
  }
  .plan-package { display: block; }
  .plan-card { margin-bottom: 14px; }
}

/* Assessment + Results extensions using the brand-kit visual system */
.choose-more { color: var(--mm-bright-cyan); }
.limit-less { color: var(--mm-fresh-orange); }
.assessment-hero,
.results-hero { padding-top: clamp(48px, 6vw, 86px); padding-bottom: clamp(48px, 6vw, 86px); }
.assessment-section { padding-top: clamp(62px, 7vw, 96px); }
.assessment-steps article { min-height: 190px; }
.assessment-shell {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 38px);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.chat-shell {
  display: grid;
  gap: 0;
}
.chat-window {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(125,235,255,0.18);
  background: linear-gradient(180deg, rgba(9,28,58,0.96), rgba(7,27,58,0.92));
  box-shadow: 0 30px 80px rgba(7, 27, 58, 0.24);
}
.chat-window-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(125,235,255,0.14);
  background: rgba(255,255,255,0.03);
}
.chat-window-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.chat-window-brand img {
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
}
.chat-window-brand strong {
  display: block;
  color: white;
  font-size: 1rem;
  font-weight: 800;
}
.chat-window-brand span {
  display: block;
  margin-top: 2px;
  color: rgba(255,255,255,0.66);
  font-size: 0.92rem;
}
.assistant-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(37,167,255,0.12);
  border: 1px solid rgba(125,235,255,0.22);
  color: var(--mm-bright-cyan);
  font-size: 0.84rem;
  font-weight: 800;
}
.chat-thread {
  min-height: 520px;
  max-height: 62vh;
  overflow-y: auto;
  padding: 22px 22px 12px;
  background:
    radial-gradient(circle at top left, rgba(125,235,255,0.06), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(241,248,255,0.96));
}
.chat-bubble {
  max-width: min(82%, 620px);
  padding: 16px 18px;
  border-radius: 22px;
  line-height: 1.65;
  box-shadow: 0 14px 34px rgba(22,58,112,0.08);
}
.chat-bubble + .chat-bubble { margin-top: 14px; }
.chat-bubble.bot {
  margin-right: auto;
  background: white;
  color: var(--mm-text-dark);
  border-top-left-radius: 8px;
}
.chat-bubble.user {
  margin-left: auto;
  background: var(--mm-gradient-primary);
  color: white;
  border-top-right-radius: 8px;
}
.chat-bubble.system {
  margin: 10px auto 0;
  text-align: center;
  background: rgba(7,27,58,0.06);
  color: rgba(11,37,69,0.68);
  box-shadow: none;
}
.chat-bubble strong {
  display: block;
  margin-bottom: 4px;
}
.chat-composer {
  display: grid;
  gap: 14px;
  padding: 18px 20px 20px;
  background: rgba(255,255,255,0.04);
  border-top: 1px solid rgba(125,235,255,0.14);
}
.quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.quick-reply {
  border: 1px solid rgba(37,167,255,0.30);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: white;
  padding: 10px 14px;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.quick-reply:hover {
  transform: translateY(-1px);
  border-color: rgba(37,167,255,0.65);
  box-shadow: 0 14px 34px rgba(37,167,255,0.14);
}
.quick-reply.selected,
.quick-reply[aria-pressed="true"] {
  background: var(--mm-gradient-primary);
  color: white;
  border-color: transparent;
  box-shadow: 0 14px 34px rgba(37,167,255,0.20);
}
.chat-input-wrap {
  display: grid;
  gap: 0;
}
.chat-input-wrap textarea {
  width: 100%;
  min-height: 84px;
  border: 1px solid rgba(125,235,255,0.16);
  border-radius: 20px;
  padding: 16px 18px;
  font: inherit;
  color: var(--mm-text-dark);
  background: white;
  resize: vertical;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.72);
}
.chat-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
}
.chat-guidance {
  margin: 0;
  color: rgba(255,255,255,0.68);
  font-size: 0.88rem;
  line-height: 1.5;
}
.chat-guidance strong {
  color: var(--mm-bright-cyan);
}
.chat-actions .btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}
.chat-note-list {
  margin: 10px 0 0;
  padding-left: 18px;
}
.chat-note-list li + li { margin-top: 6px; }
.loading-overlay {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  z-index: 100;
  background: rgba(7,27,58,0.72);
  backdrop-filter: blur(12px);
  padding: 20px;
}
.loading-overlay.active { display: grid; }
.loading-card { max-width: 420px; text-align: center; padding: 34px; }
.loading-card img { width: 90px; margin: 0 auto 14px; }
.loading-card h3 { margin: 0 0 8px; color: var(--mm-deep-navy); font-size: 1.7rem; }
.loading-card p { margin: 0; color: rgba(11,37,69,0.68); line-height: 1.65; }
.route-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 13px 18px;
  border-radius: var(--mm-radius-pill);
  font-weight: 900;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(125,235,255,0.30);
  color: white;
}
.route-badge-icon { display: inline-flex; align-items: center; }
.route-badge.send { box-shadow: 0 0 0 6px rgba(122,201,67,0.08); }
.route-badge.flag { box-shadow: 0 0 0 6px rgba(244,197,66,0.10); }
.route-badge.redirect { box-shadow: 0 0 0 6px rgba(255,138,42,0.10); }
.result-shell { max-width: var(--mm-max-width); margin: 0 auto; }
.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.plan-package {
  max-width: var(--mm-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.plan-card {
  border-radius: 26px;
  padding: 24px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(125,235,255,0.22);
  color: white;
}
.plan-card-header { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.plan-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 18px;
  background: rgba(125,235,255,0.16);
  font-size: 1.7rem;
}
.plan-title { font-size: 1.25rem; font-weight: 900; }
.plan-meta { color: rgba(255,255,255,0.66); font-weight: 700; font-size: 0.92rem; }
.plan-preview { color: rgba(255,255,255,0.78); line-height: 1.75; }
.plan-preview strong { color: var(--mm-bright-cyan); }
.result-safety-board { color: var(--mm-text-dark); }
.result-safety-board .brand-copy h2 { color: var(--mm-deep-navy); }
.result-safety-board .brand-copy p:not(.eyebrow) { color: rgba(11,37,69,0.72); }
.result-actions { margin: 18px 0 0; }
.toast-container { position: fixed; right: 18px; bottom: 18px; z-index: 120; display: grid; gap: 10px; }
.toast { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-radius: 18px; background: white; box-shadow: var(--mm-shadow-md); border: var(--mm-border-soft); }
.toast-close { border: 0; background: transparent; cursor: pointer; font-size: 1.2rem; }
@media (max-width: 920px) {
  .chat-window-header { flex-direction: column; align-items: flex-start; }
  .chat-thread { min-height: 420px; }
  .summary-grid,
  .plan-package { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .chat-bubble { max-width: 100%; }
  .quick-replies {
    display: grid;
    grid-template-columns: 1fr;
  }
  .setup-path-grid {
    grid-template-columns: 1fr;
  }
  .chat-actions { flex-direction: column-reverse; }
  .chat-actions .btn { width: 100%; }
  .chat-composer { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
