.metrics-page {
  margin: 0;
  color: #d7d6df;
  background: #09090b;
}

.metrics-page .site-header {
  background: rgba(9, 9, 11, 0.9);
}

.tm-page,
.tm-page * {
  box-sizing: border-box;
}

.tm-page {
  overflow: hidden;
  color: #b7b5c1;
  background: #09090b;
  font-family: "Poppins", sans-serif;
}

.tm-page [hidden] {
  display: none !important;
}

.tm-shell {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.tm-hero {
  position: relative;
  padding: 58px 0 76px;
  border-bottom: 1px solid #28272d;
  background:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px),
    radial-gradient(circle at 20% 20%, rgba(109, 93, 252, 0.11), transparent 35%),
    #0b0b0e;
  background-size: 42px 42px, 42px 42px, auto, auto;
}

.tm-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(3px);
  pointer-events: none;
}

.tm-orb-one {
  width: 360px;
  height: 360px;
  top: -190px;
  right: 5%;
  background: radial-gradient(circle, rgba(122, 103, 255, 0.18), transparent 68%);
}

.tm-orb-two {
  width: 280px;
  height: 280px;
  bottom: -180px;
  left: 24%;
  background: radial-gradient(circle, rgba(79, 60, 190, 0.13), transparent 70%);
}

.tm-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 44px;
  color: #6f6e78;
  font-size: 0.68rem;
}

.tm-breadcrumbs a {
  color: #9d9ba6;
  text-decoration: none;
}

.tm-breadcrumbs i {
  font-size: 0.46rem;
}

.tm-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(330px, 0.75fr);
  align-items: center;
  gap: 78px;
}

.tm-eyebrow,
.tm-section-label,
.tm-overview-head > span,
.tm-category-head span,
.tm-promo > div > span,
.tm-promo-price > span {
  color: #a99fff;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.tm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
}

.tm-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #f7f6fb;
  font-size: clamp(2.55rem, 5.4vw, 5.15rem);
  font-weight: 650;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.tm-hero h1 em {
  display: block;
  color: #8273ff;
  font-style: normal;
}

.tm-hero-copy > p {
  max-width: 710px;
  margin: 25px 0 0;
  color: #9f9da9;
  font-size: 0.93rem;
  line-height: 1.85;
}

.tm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 31px;
}

.tm-hero-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 650;
  text-decoration: none;
}

.tm-primary-action {
  color: #fff;
  background: #6d5dfc;
  box-shadow: 0 13px 32px rgba(109, 93, 252, 0.2);
}

.tm-secondary-action {
  border: 1px solid #38373f;
  color: #d4d1df;
  background: #151519;
}

.tm-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
  color: #7f7d88;
  font-size: 0.65rem;
}

.tm-proof-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.tm-proof-row i {
  color: #9084ef;
}

.tm-overview-card {
  border: 1px solid #34323e;
  border-radius: 20px;
  background: rgba(20, 20, 24, 0.9);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.tm-overview-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  padding: 23px 24px 18px;
  border-bottom: 1px solid #2e2d34;
}

.tm-overview-head > span {
  grid-column: 1;
  align-self: center;
}

.tm-overview-head strong {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: #fff;
  font-size: 2.8rem;
  letter-spacing: -0.07em;
  line-height: 1;
}

.tm-overview-head small {
  grid-column: 1;
  margin-top: 5px;
  color: #6f6d78;
  font-size: 0.62rem;
}

.tm-overview-list {
  padding: 10px 16px;
}

.tm-overview-list a {
  display: grid;
  grid-template-columns: 35px 1fr auto;
  align-items: center;
  gap: 11px;
  padding: 13px 8px;
  border-bottom: 1px solid #29282f;
  color: inherit;
  text-decoration: none;
}

.tm-overview-list a:last-child {
  border-bottom: 0;
}

.tm-overview-list i {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #3c3852;
  border-radius: 9px;
  color: #aaa1fb;
  background: rgba(109, 93, 252, 0.08);
  font-size: 0.72rem;
}

.tm-overview-list strong,
.tm-overview-list span {
  display: block;
}

.tm-overview-list strong {
  color: #dad9e1;
  font-size: 0.74rem;
  font-weight: 600;
}

.tm-overview-list span {
  margin-top: 2px;
  color: #74727e;
  font-size: 0.58rem;
}

.tm-overview-list b {
  color: #b9b3ee;
  font-size: 0.75rem;
}

.tm-overview-card > p {
  display: flex;
  gap: 9px;
  margin: 0;
  padding: 16px 24px 20px;
  border-top: 1px solid #2e2d34;
  color: #777581;
  font-size: 0.59rem;
  line-height: 1.65;
}

.tm-overview-card > p i {
  margin-top: 3px;
  color: #9187e2;
}

.tm-library {
  padding: 88px 0 112px;
  background: #0c0c0f;
}

.tm-intro-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
  margin-bottom: 36px;
}

.tm-intro-row h2 {
  max-width: 690px;
  margin: 9px 0 12px;
  color: #f1f0f5;
  font-size: clamp(1.9rem, 3.4vw, 3.25rem);
  font-weight: 620;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.tm-intro-row p {
  max-width: 720px;
  margin: 0;
  color: #8d8b96;
  font-size: 0.78rem;
  line-height: 1.8;
}

.tm-count-badge {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 16px;
  border: 1px solid #34323c;
  border-radius: 13px;
  background: #141418;
}

.tm-count-badge strong {
  color: #fff;
  font-size: 1.9rem;
  letter-spacing: -0.06em;
}

.tm-count-badge span {
  color: #777581;
  font-size: 0.58rem;
  line-height: 1.45;
  text-transform: uppercase;
}

.tm-controls {
  position: sticky;
  z-index: 10;
  top: 78px;
  display: grid;
  grid-template-columns: minmax(230px, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 66px;
  padding: 13px;
  border: 1px solid #34333b;
  border-radius: 16px;
  background: rgba(17, 17, 20, 0.94);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
}

.tm-search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #34333a;
  border-radius: 10px;
  background: #0d0d10;
}

.tm-search > i {
  color: #716d86;
  font-size: 0.72rem;
}

.tm-search input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  color: #e4e2e9;
  background: transparent;
  font: inherit;
  font-size: 0.69rem;
}

.tm-search input::placeholder {
  color: #5e5c67;
}

.tm-search button {
  display: none;
  border: 0;
  color: #8d899d;
  background: transparent;
  cursor: pointer;
}

.tm-search button.visible {
  display: block;
}

.tm-filters {
  display: flex;
  gap: 5px;
}

.tm-filters button {
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #85838e;
  background: transparent;
  font: inherit;
  font-size: 0.61rem;
  cursor: pointer;
}

.tm-filters button span {
  margin-left: 3px;
  color: #5f5d68;
}

.tm-filters button:hover,
.tm-filters button.active {
  border-color: #4a446e;
  color: #d5d0ff;
  background: rgba(109, 93, 252, 0.1);
}

.tm-results {
  padding-right: 5px;
  color: #6f6d78;
  font-size: 0.58rem;
  white-space: nowrap;
}

.tm-results strong {
  color: #b6afe8;
}

.tm-category-section {
  margin-bottom: 84px;
  scroll-margin-top: 170px;
}

.tm-category-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  margin-bottom: 25px;
  padding-bottom: 22px;
  border-bottom: 1px solid #2b2a31;
}

.tm-category-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid #494265;
  border-radius: 13px;
  color: #afa5ff;
  background: rgba(109, 93, 252, 0.09);
}

.tm-category-head h2 {
  margin: 3px 0 4px;
  color: #ecebf1;
  font-size: 1.45rem;
  font-weight: 620;
  letter-spacing: -0.025em;
}

.tm-category-head p {
  margin: 0;
  color: #777581;
  font-size: 0.67rem;
}

.tm-category-head > b {
  color: #8a8794;
  font-size: 0.62rem;
  font-weight: 500;
}

.tm-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.tm-card {
  display: flex;
  min-height: 285px;
  flex-direction: column;
  padding: 22px;
  border: 1px solid #302f36;
  border-radius: 16px;
  background: linear-gradient(145deg, #161619, #131316);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.13);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.tm-card:hover {
  transform: translateY(-3px);
  border-color: #514a78;
  background: linear-gradient(145deg, rgba(109, 93, 252, 0.07), #151518 48%);
}

.tm-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.tm-card-category {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 8px;
  border: 1px solid #3d394d;
  border-radius: 7px;
  color: #a69ded;
  background: rgba(109, 93, 252, 0.06);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tm-card-top small {
  color: #55535d;
  font-size: 0.58rem;
}

.tm-card h3 {
  margin: 20px 0 10px;
  color: #f0eff4;
  font-size: 1.06rem;
  font-weight: 620;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.tm-card h3 a {
  color: inherit;
  text-decoration: none;
}

.tm-card > p {
  margin: 0;
  color: #908e99;
  font-size: 0.7rem;
  line-height: 1.75;
}

.tm-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid #2b2a30;
  color: #6e6b77;
  font-size: 0.56rem;
}

.tm-coming {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #918aaf;
}

.tm-guide-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #b7aff4;
  font-weight: 650;
  text-decoration: none;
}

.tm-promo {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  margin: -19px 0 84px;
  padding: 27px 30px;
  border: 1px solid #51498a;
  border-radius: 18px;
  background:
    radial-gradient(circle at 5% 10%, rgba(130, 111, 255, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(54, 46, 106, 0.35), #15151a 62%);
}

.tm-promo-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid #5b528c;
  border-radius: 15px;
  color: #c4bdff;
  background: rgba(109, 93, 252, 0.13);
}

.tm-promo h2 {
  margin: 6px 0;
  color: #f5f3fa;
  font-size: 1.25rem;
  font-weight: 620;
  letter-spacing: -0.025em;
}

.tm-promo > div > p {
  max-width: 670px;
  margin: 0;
  color: #9996a4;
  font-size: 0.66rem;
  line-height: 1.7;
}

.tm-promo-price {
  min-width: 188px;
  padding-left: 26px;
  border-left: 1px solid #464151;
}

.tm-promo-price strong,
.tm-promo-price small {
  display: inline;
}

.tm-promo-price strong {
  display: block;
  margin: 4px 0 0;
  color: #fff;
  font-size: 1.65rem;
  letter-spacing: -0.045em;
}

.tm-promo-price small {
  color: #8f8b9a;
  font-size: 0.63rem;
}

.tm-promo-price a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 11px;
  color: #c1baff;
  font-size: 0.64rem;
  font-weight: 650;
  text-decoration: none;
}

.tm-empty {
  padding: 70px 20px;
  border: 1px dashed #3a3842;
  border-radius: 18px;
  text-align: center;
}

.tm-empty i {
  color: #8176db;
  font-size: 1.6rem;
}

.tm-empty h2 {
  margin: 14px 0 7px;
  color: #eeeef2;
  font-size: 1.2rem;
}

.tm-empty p {
  color: #777581;
  font-size: 0.7rem;
}

.tm-empty button {
  margin-top: 8px;
  padding: 10px 15px;
  border: 1px solid #4d4676;
  border-radius: 8px;
  color: #cbc5ff;
  background: rgba(109, 93, 252, 0.1);
  font: inherit;
  font-size: 0.65rem;
  cursor: pointer;
}

.tm-note {
  display: flex;
  gap: 14px;
  margin-top: 14px;
  padding: 20px 22px;
  border: 1px solid #34323b;
  border-radius: 14px;
  background: #131316;
}

.tm-note > i {
  margin-top: 3px;
  color: #9b91ec;
}

.tm-note strong {
  color: #d9d7e0;
  font-size: 0.73rem;
}

.tm-note p {
  margin: 5px 0 0;
  color: #777581;
  font-size: 0.64rem;
  line-height: 1.7;
}

.tm-page .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;
}

@media (max-width: 1050px) {
  .tm-hero-grid {
    grid-template-columns: 1fr 330px;
    gap: 38px;
  }

  .tm-controls {
    grid-template-columns: 1fr;
  }

  .tm-filters {
    overflow-x: auto;
  }

  .tm-results {
    display: none;
  }

  .tm-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .tm-shell {
    width: min(100% - 30px, 650px);
  }

  .tm-hero {
    padding: 38px 0 55px;
  }

  .tm-breadcrumbs {
    margin-bottom: 30px;
  }

  .tm-hero-grid,
  .tm-intro-row {
    grid-template-columns: 1fr;
  }

  .tm-hero-grid {
    gap: 42px;
  }

  .tm-hero h1 {
    font-size: clamp(2.35rem, 12vw, 4.1rem);
  }

  .tm-overview-card {
    max-width: none;
  }

  .tm-count-badge {
    width: max-content;
  }

  .tm-library {
    padding: 65px 0 82px;
  }

  .tm-controls {
    position: relative;
    top: auto;
    margin-bottom: 48px;
  }

  .tm-category-head {
    grid-template-columns: auto 1fr;
  }

  .tm-category-head > b {
    display: none;
  }

  .tm-card-grid {
    grid-template-columns: 1fr;
  }

  .tm-card {
    min-height: 250px;
  }

  .tm-promo {
    grid-template-columns: auto 1fr;
  }

  .tm-promo-price {
    grid-column: 1 / -1;
    padding: 20px 0 0;
    border-top: 1px solid #464151;
    border-left: 0;
  }
}

@media (max-width: 480px) {
  .tm-shell {
    width: min(100% - 22px, 430px);
  }

  .tm-hero-actions a {
    width: 100%;
  }

  .tm-proof-row {
    display: grid;
    gap: 10px;
  }

  .tm-overview-head,
  .tm-overview-card > p {
    padding-right: 18px;
    padding-left: 18px;
  }

  .tm-filters button {
    flex: 0 0 auto;
  }

  .tm-category-head {
    align-items: start;
    gap: 12px;
  }

  .tm-category-icon {
    width: 42px;
    height: 42px;
  }

  .tm-card {
    padding: 19px;
  }

  .tm-card-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .tm-promo {
    grid-template-columns: 1fr;
    padding: 23px 20px;
  }

  .tm-promo-price {
    grid-column: auto;
  }
}

/* Metric detail guides */
.mg-page {
  color: #aaa8b4;
  background: #0c0c0f;
}

.mg-hero {
  position: relative;
  overflow: hidden;
  padding: 54px 0 70px;
  border-bottom: 1px solid #29282f;
  background:
    linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px),
    radial-gradient(circle at 22% 25%,rgba(109,93,252,.14),transparent 34%),#0b0b0e;
  background-size: 42px 42px,42px 42px,auto,auto;
}

.mg-hero-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  top: -250px;
  right: 7%;
  border-radius: 50%;
  background: radial-gradient(circle,rgba(126,105,255,.19),transparent 68%);
}

.mg-hero-grid {
  display: grid;
  grid-template-columns: minmax(0,1.35fr) minmax(330px,.65fr);
  align-items: center;
  gap: 74px;
}

.mg-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.mg-badges span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  border: 1px solid #403b55;
  border-radius: 7px;
  color: #aaa0f2;
  background: rgba(109,93,252,.07);
  font-size: .58rem;
  font-weight: 650;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.mg-hero h1 {
  max-width: 790px;
  margin: 0;
  color: #f7f6fa;
  font-size: clamp(2.5rem,5vw,4.8rem);
  font-weight: 650;
  letter-spacing: -.06em;
  line-height: 1.02;
}

.mg-hero-copy > p {
  max-width: 760px;
  margin: 23px 0 0;
  color: #9d9ba7;
  font-size: .86rem;
  line-height: 1.86;
}

.mg-hero-links {
  display: flex;
  gap: 10px;
  margin-top: 26px;
}

.mg-hero-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 15px;
  border: 1px solid #403d4a;
  border-radius: 9px;
  color: #c8c4d3;
  background: #151519;
  font-size: .65rem;
  font-weight: 650;
  text-decoration: none;
}

.mg-hero-links a:first-child {
  border-color: #6659cb;
  color: #fff;
  background: #6d5dfc;
}

.mg-formula-card {
  padding: 23px;
  border: 1px solid #373540;
  border-radius: 18px;
  background: rgba(21,21,25,.9);
  box-shadow: 0 25px 65px rgba(0,0,0,.28);
}

.mg-formula-card > span,.mg-kicker,.mg-formula > span,.mg-example > span,.mg-offer span {
  color: #aaa0fa;
  font-size: .61rem;
  font-weight: 700;
  letter-spacing: .14em;
}

.mg-formula-card dl {
  margin: 15px 0;
}

.mg-formula-card dl div {
  display: grid;
  grid-template-columns: 95px 1fr;
  gap: 15px;
  padding: 9px 0;
  border-top: 1px solid #2e2d34;
  font-size: .66rem;
}

.mg-formula-card dt { color:#6f6d78; }
.mg-formula-card dd { margin:0;color:#d2d0d9;text-align:right; }
.mg-formula-card > div { padding:15px;border:1px solid #403b5e;border-radius:11px;background:rgba(109,93,252,.07); }
.mg-formula-card small { display:block;margin-bottom:8px;color:#8179b6;font-size:.55rem;letter-spacing:.12em; }
.mg-formula-card code { display:block;color:#e4e0ff;font-family:"Poppins",sans-serif;font-size:.67rem;line-height:1.65;white-space:normal; }

.mg-layout {
  display: grid;
  grid-template-columns: 245px minmax(0,820px);
  justify-content: space-between;
  gap: 62px;
  padding-top: 64px;
  padding-bottom: 110px;
}

.mg-toc {
  position: sticky;
  top: 90px;
  padding: 20px;
  border: 1px solid #303038;
  border-radius: 16px;
  background: #151518;
}

.mg-toc > span { color:#a99fff;font-size:.59rem;font-weight:700;letter-spacing:.14em; }
.mg-toc ol { margin:14px 0;padding:12px 0;border-top:1px solid #2e2d34;border-bottom:1px solid #2e2d34;list-style:none; }
.mg-toc a { display:block;padding:5px 0;color:#82808b;font-size:.66rem;line-height:1.4;text-decoration:none;transition:color 160ms ease; }
.mg-toc a:hover,.mg-toc a.active { color:#cbc5ff; }
.mg-back i { margin-right:7px;font-size:.56rem; }

.mg-article { min-width:0; }
.mg-section { margin-bottom:70px;padding-bottom:70px;border-bottom:1px solid #29282f;scroll-margin-top:92px; }
.mg-section:last-child { margin-bottom:0; }
.mg-section h2 { margin:10px 0 22px;color:#f0eff4;font-size:clamp(1.65rem,3vw,2.45rem);font-weight:620;letter-spacing:-.04em;line-height:1.18; }
.mg-section h3 { margin:33px 0 15px;color:#dedce4;font-size:1rem;font-weight:620; }
.mg-section > p { margin:0 0 17px;color:#9a98a3;font-size:.78rem;line-height:1.88; }

.mg-context-note,.mg-risk-note {
  display:flex;
  gap:13px;
  margin-top:24px;
  padding:18px 20px;
  border:1px solid #403a5e;
  border-radius:13px;
  background:rgba(109,93,252,.06);
}
.mg-context-note i,.mg-risk-note i { margin-top:4px;color:#9d91f2; }
.mg-context-note p,.mg-risk-note p { margin:0;color:#96939f;font-size:.7rem;line-height:1.75; }
.mg-context-note strong,.mg-risk-note strong { color:#d9d6e1; }

.mg-formula {
  padding:27px;
  border:1px solid #51498c;
  border-radius:16px;
  background:linear-gradient(135deg,rgba(109,93,252,.13),#151519);
}
.mg-formula code { display:block;margin-top:10px;color:#f1eeff;font-family:"Poppins",sans-serif;font-size:clamp(.9rem,2vw,1.2rem);font-weight:600;line-height:1.6;white-space:pre-wrap; }

.mg-component-grid,.mg-journal-grid,.mg-checklist {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.mg-component-grid > div { display:flex;gap:11px;padding:15px;border:1px solid #302f36;border-radius:11px;background:#141417; }
.mg-component-grid span { color:#867be1;font-size:.6rem;font-weight:700; }
.mg-component-grid p,.mg-journal-grid p,.mg-checklist p { margin:0;color:#92909a;font-size:.67rem;line-height:1.7; }

.mg-step-list,.mg-improve-list { margin:0;padding:0;list-style:none; }
.mg-step-list li,.mg-improve-list li { display:grid;grid-template-columns:35px 1fr;gap:14px;padding:14px 0;border-bottom:1px solid #2b2a31; }
.mg-step-list li > span,.mg-improve-list li > span { display:grid;width:32px;height:32px;place-items:center;border:1px solid #484268;border-radius:9px;color:#ada5f3;background:rgba(109,93,252,.07);font-size:.62rem;font-weight:700; }
.mg-step-list p,.mg-improve-list p { margin:3px 0 0;color:#9896a1;font-size:.72rem;line-height:1.75; }

.mg-example { margin-top:26px;padding:23px;border:1px solid #36343f;border-left:3px solid #7c6df2;border-radius:13px;background:#151519; }
.mg-example p { margin:10px 0 0;color:#a09da9;font-size:.73rem;line-height:1.82; }

.mg-benchmark-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-top:24px; }
.mg-benchmark-grid > div { padding:19px;border:1px solid #33313a;border-radius:13px;background:#141417; }
.mg-benchmark-grid span { font-size:.65rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em; }
.mg-benchmark-grid p { margin:8px 0 0;color:#8f8d98;font-size:.68rem;line-height:1.72; }
.mg-benchmark-grid .tier-0 span { color:#e78c93; }
.mg-benchmark-grid .tier-1 span { color:#e5bb77; }
.mg-benchmark-grid .tier-2 span { color:#77c7a0; }
.mg-benchmark-grid .tier-3 span { color:#aaa0fa; }

.mg-field-grid { display:flex;flex-wrap:wrap;gap:8px;margin-top:22px; }
.mg-field-grid > div { display:inline-flex;align-items:center;gap:8px;padding:9px 11px;border:1px solid #34323b;border-radius:9px;color:#aaa7b1;background:#141417;font-size:.63rem; }
.mg-field-grid i { color:#8f84e7;font-size:.58rem; }
.mg-dashboard-list { display:grid;gap:8px; }
.mg-dashboard-list > div { display:flex;gap:12px;padding:14px 16px;border:1px solid #302f35;border-radius:10px;background:#131316; }
.mg-dashboard-list i { margin-top:4px;color:#8e84e1;font-size:.65rem; }
.mg-dashboard-list p { margin:0;color:#94929d;font-size:.69rem;line-height:1.7; }

.mg-journal-grid > div,.mg-checklist > div { display:flex;gap:10px;padding:14px;border:1px solid #302f36;border-radius:11px;background:#141417; }
.mg-journal-grid i,.mg-checklist i { margin-top:4px;color:#8e83e3;font-size:.58rem; }
.mg-mistake-list { display:grid;gap:9px; }
.mg-mistake-list > div { display:grid;grid-template-columns:32px 1fr;gap:12px;padding:15px;border:1px solid #342f36;border-radius:11px;background:linear-gradient(90deg,rgba(119,54,66,.08),#141417 28%); }
.mg-mistake-list span { color:#c27d88;font-size:.62rem;font-weight:700; }
.mg-mistake-list p { margin:0;color:#96949f;font-size:.69rem;line-height:1.72; }

.mg-product { padding:31px;border:1px solid #51498c;border-radius:18px;background:radial-gradient(circle at 5% 5%,rgba(109,93,252,.15),transparent 28%),#151519; }
.mg-product-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:23px 0; }
.mg-product-grid > div { display:flex;gap:10px;padding:14px;border:1px solid #383547;border-radius:11px;background:rgba(10,10,13,.35); }
.mg-product-grid i { margin-top:4px;color:#a99fff;font-size:.65rem; }
.mg-product-grid p { margin:0;color:#a09da8;font-size:.67rem;line-height:1.7; }
.mg-offer { display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:24px;padding:20px;border:1px solid #5b5291;border-radius:13px;background:rgba(109,93,252,.09); }
.mg-offer strong { display:block;margin-top:4px;color:#fff;font-size:1.55rem;letter-spacing:-.04em; }
.mg-offer small { color:#9691a2;font-size:.62rem; }
.mg-offer p { margin:2px 0 0;color:#898692;font-size:.6rem; }
.mg-offer a { display:inline-flex;align-items:center;gap:8px;padding:11px 15px;border-radius:9px;color:#fff;background:#6d5dfc;font-size:.66rem;font-weight:650;text-decoration:none; }

.mg-related-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px; }
.mg-related-grid a { padding:19px;border:1px solid #33313a;border-radius:13px;color:inherit;background:#141417;text-decoration:none;transition:border-color 160ms ease,transform 160ms ease; }
.mg-related-grid a:hover { transform:translateY(-2px);border-color:#514a78; }
.mg-related-grid a > span { color:#9b91e8;font-size:.56rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase; }
.mg-related-grid h3 { margin:7px 0;color:#e4e2e8;font-size:.88rem; }
.mg-related-grid p { margin:0;color:#85838e;font-size:.64rem;line-height:1.65; }
.mg-related-grid strong { display:inline-block;margin-top:13px;color:#b8b1f3;font-size:.61rem; }

.mg-faq-list { display:grid;gap:14px; }
.mg-faq-list details { border:1px solid #313039;border-radius:13px;background:#131316;overflow:hidden; }
.mg-faq-list details[open] { border-color:#554d88;background:rgba(109,93,252,.05); }
.mg-faq-list summary { display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:70px;padding:21px 24px;color:#e4e2e9;font-size:.76rem;font-weight:600;line-height:1.55;list-style:none;cursor:pointer; }
.mg-faq-list summary::-webkit-details-marker { display:none; }
.mg-faq-list summary i { color:#aaa0fa;transition:transform 160ms ease; }
.mg-faq-list details[open] summary i { transform:rotate(45deg); }
.mg-faq-list details p { margin:0;padding:2px 58px 24px 24px;color:#9896a1;font-size:.71rem;line-height:1.8; }

@media (max-width:980px) {
  .mg-hero-grid { grid-template-columns:1fr 315px;gap:35px; }
  .mg-layout { grid-template-columns:1fr; }
  .mg-sidebar { display:none; }
  .mg-article { max-width:820px;margin:0 auto; }
}

@media (max-width:760px) {
  .mg-hero { padding:38px 0 54px; }
  .mg-hero-grid { grid-template-columns:1fr; }
  .mg-formula-card { max-width:none; }
  .mg-layout { padding-top:48px;padding-bottom:80px; }
  .mg-component-grid,.mg-benchmark-grid,.mg-journal-grid,.mg-checklist,.mg-product-grid,.mg-related-grid { grid-template-columns:1fr; }
  .mg-product { padding:24px 19px; }
}

@media (max-width:480px) {
  .mg-hero h1 { font-size:2.45rem; }
  .mg-hero-links { flex-direction:column; }
  .mg-hero-links a { justify-content:center; }
  .mg-section { margin-bottom:54px;padding-bottom:54px; }
  .mg-formula { padding:21px 18px; }
  .mg-offer { align-items:stretch;flex-direction:column; }
  .mg-offer a { justify-content:center; }
  .mg-faq-list summary { padding:19px; }
  .mg-faq-list details p { padding:0 19px 21px; }
}
