:root {
  --dai-mg-navy: #1f1b50;
  --dai-mg-blue: #526eff;
  --dai-mg-blue-dark: #405be6;
  --dai-mg-pale: #eef2ff;
  --dai-mg-panel: #f8f8fb;
  --dai-mg-text: #202129;
  --dai-mg-muted: #5b6170;
  --dai-mg-line: #e1e6f3;
  --dai-mg-gold: #f1d99b;
  --dai-mg-white: #fff;
  --dai-mg-shadow: 0 16px 34px rgba(31, 27, 80, 0.13);
}

.dai-mg-body {
  margin: 0;
  color: var(--dai-mg-text);
  background: var(--dai-mg-white);
  font-family: Arial, Helvetica, sans-serif;
}

.dai-mg-body *,
.dai-mg-body *::before,
.dai-mg-body *::after {
  box-sizing: border-box;
}

.dai-mg-body a {
  color: inherit;
  text-decoration: none;
}

.dai-mg-site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  height: 88px;
  background: var(--dai-mg-white);
  border-bottom: 1px solid var(--dai-mg-line);
  box-shadow: 0 2px 10px rgba(31, 27, 80, 0.05);
}

.dai-mg-header-inner,
.dai-mg-hero-inner,
.dai-mg-author-inner,
.dai-mg-page-shell,
.dai-mg-footer-inner,
.dai-mg-footer-bottom {
  max-width: 1184px;
  margin: 0 auto;
}

.dai-mg-header-inner {
  height: 88px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.dai-mg-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 180px;
}

.dai-mg-brand-mark {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--dai-mg-white);
  background: var(--dai-mg-navy);
  font-weight: 800;
  letter-spacing: 0;
}

.dai-mg-brand-text span {
  display: block;
  color: var(--dai-mg-navy);
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
}

.dai-mg-brand-text small {
  display: block;
  margin-top: 5px;
  color: var(--dai-mg-blue);
  font-size: 8px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.dai-mg-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 700;
}

.dai-mg-nav .menu-item {
  display: inline-block;
  margin: 0 10px;
}

.dai-mg-nav a:hover {
  color: var(--dai-mg-blue);
}

.dai-mg-header-quote {
  padding: 10px 16px;
  border-radius: 5px;
  color: var(--dai-mg-white);
  background: var(--dai-mg-blue);
  font-size: 14px;
  font-weight: 800;
}

.dai-mg-hero {
  background: var(--dai-mg-pale);
}

.dai-mg-breadcrumbs {
  padding: 16px 18px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #111;
  font-size: 12px;
  line-height: 1.4;
}

.dai-mg-hero-grid {
  min-height: 500px;
  padding: 54px 18px 0;
  display: grid;
  grid-template-columns: minmax(0, 650px) minmax(360px, 1fr);
  gap: 28px;
  align-items: end;
}

.dai-mg-hero-copy {
  padding-bottom: 50px;
}

.dai-mg-page h1,
.dai-mg-page h2,
.dai-mg-page h3,
.dai-mg-page p {
  margin-top: 0;
}

.dai-mg-page h1 {
  max-width: 670px;
  margin-bottom: 14px;
  color: #1d1d22;
  font-size: 52px;
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: 0;
}

.dai-mg-gold-rule {
  display: block;
  width: 148px;
  height: 4px;
  margin: 0 0 16px;
  background: var(--dai-mg-gold);
}

.dai-mg-gold-rule-small {
  width: 100px;
  height: 3px;
  margin-bottom: 18px;
}

.dai-mg-excerpt {
  max-width: 800px;
  margin-bottom: 14px;
  color: #111;
  font-size: 19px;
  line-height: 1.75;
}

.dai-mg-hero-prompt {
  margin-bottom: 14px;
  color: #111;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 800;
}

.dai-mg-quote-form {
  width: 716px;
  max-width: 100%;
  padding: 10px;
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  gap: 12px;
  background: var(--dai-mg-white);
  border-radius: 8px;
  box-shadow: var(--dai-mg-shadow);
}

.dai-mg-quote-form input[type="tel"] {
  width: 100%;
  min-height: 64px;
  padding: 0 18px;
  color: #111;
  background: var(--dai-mg-white);
  border: 1.5px solid #111;
  border-radius: 5px;
  font: inherit;
  font-size: 17px;
}

.dai-mg-quote-form button {
  min-height: 64px;
  border: 0;
  border-radius: 5px;
  color: var(--dai-mg-white);
  background: var(--dai-mg-blue);
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
}

.dai-mg-quote-form button:hover {
  background: var(--dai-mg-blue-dark);
}

.dai-mg-hero-art {
  position: relative;
  min-height: 420px;
  align-self: stretch;
  overflow: hidden;
}

.dai-mg-hero-art::before {
  content: "";
  position: absolute;
  right: 8%;
  bottom: -118px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: #cdd5ff;
}

.dai-mg-phone-card {
  position: absolute;
  right: 38%;
  bottom: 54px;
  z-index: 2;
  width: 188px;
  min-height: 318px;
  padding: 32px 16px 18px;
  border: 8px solid #101327;
  border-radius: 30px;
  background: var(--dai-mg-white);
  box-shadow: 0 22px 34px rgba(31, 27, 80, 0.18);
  transform: rotate(-1.5deg);
}

.dai-mg-phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 72px;
  height: 14px;
  border-radius: 0 0 12px 12px;
  background: #101327;
  transform: translateX(-50%);
}

.dai-mg-phone-brand {
  color: var(--dai-mg-blue);
  font-weight: 800;
}

.dai-mg-phone-card p {
  margin: 6px 0 10px;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 800;
}

.dai-mg-carrier {
  margin-top: 7px;
  padding: 8px;
  border: 1px solid var(--dai-mg-line);
  border-radius: 5px;
  color: #202129;
  background: #fbfcff;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
}

.dai-mg-speech {
  position: absolute;
  right: 12%;
  top: 112px;
  z-index: 3;
  max-width: 240px;
  padding: 16px 18px;
  border-radius: 7px;
  color: var(--dai-mg-white);
  background: var(--dai-mg-navy);
  font-size: 14px;
  line-height: 1.35;
  box-shadow: 0 10px 24px rgba(31, 27, 80, 0.16);
}

.dai-mg-dot,
.dai-mg-ring {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
}

.dai-mg-dot-one {
  right: 5%;
  top: 210px;
  width: 66px;
  height: 66px;
  background: #ffd45c;
}

.dai-mg-dot-two {
  right: 18%;
  top: 300px;
  width: 36px;
  height: 36px;
  background: #7d8df8;
}

.dai-mg-ring {
  right: 24%;
  top: 235px;
  width: 58px;
  height: 58px;
  border: 9px solid var(--dai-mg-blue);
}

.dai-mg-author-strip {
  background: #f4f6fb;
  border-bottom: 1px solid var(--dai-mg-line);
}

.dai-mg-author-inner {
  min-height: 82px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.dai-mg-person {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #111;
  font-size: 12px;
  line-height: 1.25;
}

.dai-mg-avatar {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 5px solid #dfe4ff;
  border-radius: 50%;
  color: var(--dai-mg-white);
  background: var(--dai-mg-navy);
  font-size: 12px;
  font-weight: 800;
}

.dai-mg-fact {
  padding: 5px 12px;
  border: 1px solid #9da7c9;
  border-radius: 999px;
  color: #33384d;
  font-size: 12px;
  line-height: 1;
}

.dai-mg-updated {
  margin-left: auto;
  text-align: right;
  color: #111;
  font-size: 12px;
  line-height: 1.4;
}

.dai-mg-updated strong {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
}

.dai-mg-updated a {
  border-bottom: 1px solid #111;
}

.dai-mg-page-shell {
  padding: 34px 18px 74px;
  display: grid;
  grid-template-columns: minmax(0, 810px) 300px;
  gap: 30px;
  align-items: start;
}

.dai-mg-article {
  min-width: 0;
}

.dai-mg-toc {
  position: sticky;
  top: 118px;
  padding-top: 4px;
}

.dai-mg-toc h2 {
  margin-bottom: 12px;
  color: #111;
  font-size: 20px;
  line-height: 1.2;
}

.dai-mg-toc nav {
  border-left: 2px solid #cfd7ed;
  padding: 3px 0 3px 22px;
}

.dai-mg-toc a {
  display: block;
  padding: 8px 0 13px;
  color: #202026;
  font-size: 15px;
  line-height: 1.35;
}

.dai-mg-toc a.active {
  position: relative;
  font-weight: 800;
}

.dai-mg-toc a.active::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--dai-mg-blue);
}

.dai-mg-takeaways,
.dai-mg-quote-module,
.dai-mg-methodology {
  margin-bottom: 42px;
}

.dai-mg-takeaways {
  padding: 24px 32px 29px;
  background: var(--dai-mg-panel);
  border-radius: 8px;
}

.dai-mg-takeaways h2,
.dai-mg-article-body h2,
.dai-mg-methodology h2 {
  margin-bottom: 8px;
  color: #1d1d22;
  font-size: 30px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 0;
  scroll-margin-top: 124px;
}

.dai-mg-takeaways ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dai-mg-takeaways li {
  position: relative;
  margin-bottom: 18px;
  padding-left: 38px;
  color: #1f2028;
  font-size: 16px;
  line-height: 1.78;
}

.dai-mg-takeaways li:last-child {
  margin-bottom: 0;
}

.dai-mg-takeaways li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--dai-mg-navy);
  border-radius: 50%;
  background: var(--dai-mg-white);
}

.dai-mg-takeaways li::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 11px;
  width: 10px;
  height: 16px;
  border-right: 2px solid var(--dai-mg-blue);
  border-bottom: 2px solid var(--dai-mg-blue);
  transform: rotate(40deg);
}

.dai-mg-quote-module {
  overflow: hidden;
  border: 1px solid #d9def0;
  border-radius: 7px;
  background: var(--dai-mg-white);
}

.dai-mg-quote-head {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--dai-mg-white);
  background: linear-gradient(90deg, #222844, #1c2037);
}

.dai-mg-round-logo {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--dai-mg-navy);
  background: #ffe066;
  font-size: 12px;
  font-weight: 800;
}

.dai-mg-quote-head h2 {
  margin: 0;
  color: var(--dai-mg-white);
  font-size: 21px;
  line-height: 1.2;
}

.dai-mg-quote-head p {
  margin: 2px 0 0;
  color: #dfe5ff;
  font-size: 13px;
  line-height: 1.2;
}

.dai-mg-quote-body {
  padding: 26px 28px 30px;
}

.dai-mg-quote-kicker {
  margin-bottom: 6px;
  color: var(--dai-mg-blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.dai-mg-quote-body > p:not(.dai-mg-quote-kicker) {
  margin-bottom: 18px;
  color: #222;
}

.dai-mg-quote-form-module {
  width: 100%;
  box-shadow: none;
  border: 1px solid var(--dai-mg-line);
}

.dai-mg-article-body {
  color: #222;
  font-size: 17px;
  line-height: 1.82;
}

.dai-mg-article-body p {
  margin-bottom: 18px;
}

.dai-mg-article-body h2 {
  margin-top: 42px;
}

.dai-mg-article-body h3 {
  margin: 28px 0 8px;
  color: #1f2028;
  font-size: 21px;
  line-height: 1.35;
  font-weight: 800;
}

.dai-mg-article-body table {
  width: 100%;
  margin: 22px 0;
  border-collapse: collapse;
  border: 1px solid var(--dai-mg-line);
}

.dai-mg-article-body th,
.dai-mg-article-body td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--dai-mg-line);
  text-align: left;
  vertical-align: top;
}

.dai-mg-article-body th {
  background: #f1f4ff;
  color: #111;
  font-size: 14px;
  font-weight: 800;
}

.dai-mg-methodology {
  padding-top: 26px;
  border-top: 1px solid var(--dai-mg-line);
}

.dai-mg-methodology p {
  color: #222;
  font-size: 16px;
  line-height: 1.75;
}

.dai-mg-site-footer {
  color: var(--dai-mg-white);
  background: var(--dai-mg-navy);
}

.dai-mg-footer-inner {
  padding: 34px 18px;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.dai-mg-footer-brand .dai-mg-brand-text span,
.dai-mg-footer-brand .dai-mg-brand-text small {
  color: var(--dai-mg-white);
}

.dai-mg-footer-inner p {
  max-width: 620px;
  margin: 18px 0 0;
  color: #d8dcff;
  font-size: 14px;
  line-height: 1.7;
}

.dai-mg-footer-call {
  text-align: right;
}

.dai-mg-footer-call span {
  display: block;
  color: #d8dcff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.dai-mg-footer-call a {
  display: block;
  margin-top: 8px;
  color: var(--dai-mg-white);
  font-size: 24px;
  font-weight: 800;
}

.dai-mg-footer-bottom {
  padding: 20px 18px 28px;
  color: #d8dcff;
  font-size: 12px;
  line-height: 1.7;
}

.dai-mg-footer-bottom p {
  margin: 0;
}

.dai-mg-footer-disclaimer {
  margin-top: 12px;
}

@media (max-width: 1080px) {
  .dai-mg-page-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .dai-mg-toc {
    position: static;
    order: -1;
  }

  .dai-mg-toc nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
    padding-left: 0;
    border-left: 0;
    border-bottom: 1px solid var(--dai-mg-line);
  }

  .dai-mg-toc a {
    padding: 3px 0 12px;
  }

  .dai-mg-toc a.active::before {
    display: none;
  }
}

@media (max-width: 860px) {
  .dai-mg-site-header,
  .dai-mg-header-inner {
    height: auto;
  }

  .dai-mg-site-header {
    position: static;
  }

  .dai-mg-header-inner {
    min-height: 66px;
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .dai-mg-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    margin-left: 0;
    padding-top: 8px;
    border-top: 1px solid var(--dai-mg-line);
  }

  .dai-mg-hero-grid {
    grid-template-columns: 1fr;
    padding-top: 34px;
  }

  .dai-mg-hero-copy {
    padding-bottom: 8px;
  }

  .dai-mg-page h1 {
    font-size: 40px;
  }

  .dai-mg-hero-art {
    min-height: 330px;
  }

  .dai-mg-author-inner {
    flex-wrap: wrap;
  }

  .dai-mg-updated {
    margin-left: 0;
    text-align: left;
  }

  .dai-mg-footer-inner {
    display: block;
  }

  .dai-mg-footer-call {
    margin-top: 24px;
    text-align: left;
  }
}

@media (max-width: 560px) {
  .dai-mg-brand-text span {
    font-size: 20px;
  }

  .dai-mg-header-quote {
    width: 100%;
    text-align: center;
  }

  .dai-mg-breadcrumbs {
    display: none;
  }

  .dai-mg-hero-grid {
    padding: 28px 16px 0;
  }

  .dai-mg-page h1 {
    font-size: 32px;
  }

  .dai-mg-excerpt {
    font-size: 17px;
  }

  .dai-mg-quote-form {
    grid-template-columns: 1fr;
  }

  .dai-mg-page-shell {
    padding-left: 16px;
    padding-right: 16px;
  }

  .dai-mg-takeaways {
    padding: 22px 20px;
  }

  .dai-mg-phone-card {
    right: 42%;
    width: 160px;
    min-height: 285px;
  }

  .dai-mg-speech {
    right: 4%;
    top: 70px;
    max-width: 185px;
    font-size: 12px;
  }
}
