:root {
  --ms-bg: #f5f7fb;
  --ms-surface: #ffffff;
  --ms-surface-2: #eef4fb;
  --ms-ink: #121826;
  --ms-muted: #5d6b82;
  --ms-line: #dbe5ef;
  --ms-line-strong: #c3d2e3;
  --ms-blue: #0876d8;
  --ms-blue-dark: #0b2f55;
  --ms-navy: #07111f;
  --ms-orange: #f7941f;
  --ms-green: #248331;
  --ms-red: #b42318;
  --ms-radius: 18px;
  --ms-radius-sm: 10px;
  --ms-shadow: 0 18px 44px rgba(16, 42, 67, .10);
  --ms-shadow-soft: 0 10px 24px rgba(16, 42, 67, .08);
  --ms-container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.ms-body {
  margin: 0;
  min-width: 320px;
  background: var(--ms-bg);
  color: var(--ms-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--ms-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
.ms-container { width: min(var(--ms-container), calc(100% - 48px)); margin: 0 auto; }
.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 9999;
  background: #fff;
  color: #000;
  padding: 10px 14px;
  border-radius: 8px;
}
.skip-link:focus { left: 12px; }

/* Header */
.ms-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 17, 31, .98);
  border-bottom: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 14px 34px rgba(0,0,0,.22);
}
.ms-header-shell {
  width: min(var(--ms-container), calc(100% - 48px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.ms-logo { display: inline-flex; align-items: center; flex: 0 0 auto; color: #fff; text-decoration: none !important; }
.ms-wordmark { display: inline-flex; align-items: baseline; gap: 1px; color: #fff; font-weight: 850; font-size: 28px; letter-spacing: -.04em; line-height: 1; }
.ms-wordmark span { font-size: 32px; line-height: .8; margin-left: 1px; }
.ms-logo img { display: block; width: 184px; max-height: 40px; object-fit: contain; }
.ms-primary-nav { flex: 1 1 auto; display: flex; justify-content: flex-end; min-width: 0; }
.ms-nav-list, .ms-submenu { list-style: none; padding: 0; margin: 0; }
.ms-nav-list { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.ms-nav-item { position: relative; }
.ms-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #eaf2ff;
  font-size: 14px;
  font-weight: 700;
  padding: 24px 10px;
  white-space: nowrap;
  border-radius: 10px;
}
.ms-nav-link:hover, .ms-nav-item:focus-within > .ms-nav-link { background: rgba(255,255,255,.08); color: #fff; text-decoration: none; }
.ms-has-sub > .ms-nav-link::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .85; }
.ms-submenu {
  position: absolute;
  top: calc(100% - 4px);
  left: 0;
  min-width: 250px;
  display: none;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--ms-line);
  border-radius: 14px;
  box-shadow: var(--ms-shadow);
}
.ms-nav-item:hover > .ms-submenu, .ms-nav-item:focus-within > .ms-submenu { display: block; }
.ms-submenu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: #18314f;
  font-size: 14px;
  font-weight: 650;
}
.ms-submenu a:hover { background: var(--ms-surface-2); text-decoration: none; }
.ms-header-action {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ms-orange);
  color: #111 !important;
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(247, 148, 31, .22);
}
.ms-header-action:hover { text-decoration: none; filter: brightness(.98); }
.ms-menu-toggle { display: none; }

/* Page layout */
.ms-page { background: var(--ms-bg); overflow: hidden; }
.ms-page > section {
  width: 100%;
  padding: 72px 24px;
  background: var(--ms-bg);
}
.ms-page > section:nth-of-type(even):not(.ms-hero) { background: #fff; }
.ms-page > section > * {
  width: min(var(--ms-container), 100%);
  margin-left: auto;
  margin-right: auto;
}
.ms-page > section > * + * { margin-top: 20px; }
.ms-page .ms-hero {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 84% 18%, rgba(8, 142, 255, .42), transparent 36%),
    linear-gradient(135deg, #07111f 0%, #0b2442 58%, #0876d8 100%);
  color: #fff;
  padding-top: 88px;
  padding-bottom: 82px;
}
.ms-page .ms-hero > * { width: min(var(--ms-container), 100%); }
.ms-kicker {
  text-transform: uppercase;
  letter-spacing: .095em;
  color: var(--ms-orange);
  font-weight: 850;
  margin-bottom: 12px;
  font-size: 12px;
}
.ms-page h1, .ms-page h2, .ms-page h3 {
  color: var(--ms-blue-dark);
  letter-spacing: -.025em;
  line-height: 1.14;
  margin-top: 0;
}
.ms-hero h1 { color: #fff; max-width: 980px; font-size: clamp(38px, 5vw, 62px); margin-bottom: 18px; }
.ms-hero p { color: #e8f3ff; max-width: 920px; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.55; }
.ms-page h2 { font-size: clamp(28px, 3vw, 42px); margin-bottom: 12px; }
.ms-page h3 { font-size: 20px; margin-bottom: 10px; }
.ms-page p { color: #26364a; margin-top: 0; }
.ms-hero .ms-note { max-width: 820px; margin-left: 0; color: #dfefff; background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.28); }
.ms-muted { color: var(--ms-muted) !important; }
.ms-small { font-size: 13px; line-height: 1.45; color: var(--ms-muted); }

/* Components */
.ms-actions, .ms-cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 28px; }
.ms-btn, .ms-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--ms-orange);
  border-radius: 10px;
  background: var(--ms-orange);
  color: #111 !important;
  padding: 12px 18px;
  font-weight: 850;
  text-decoration: none !important;
  line-height: 1.2;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.ms-btn:hover, .ms-button:hover { transform: translateY(-1px); box-shadow: 0 12px 22px rgba(16,42,67,.14); }
.ms-btn-secondary, .ms-btn-ghost, .ms-button-secondary {
  background: #fff;
  color: var(--ms-blue-dark) !important;
  border-color: var(--ms-line-strong);
}
.ms-hero .ms-btn-secondary, .ms-hero .ms-btn-ghost { background: rgba(255,255,255,.96); border-color: rgba(255,255,255,.72); }
.ms-btn-dark { background: var(--ms-blue-dark); color: #fff !important; border-color: var(--ms-blue-dark); }
.ms-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.ms-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ms-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ms-card, .ms-contact-card {
  background: var(--ms-surface);
  border: 1px solid var(--ms-line);
  border-radius: var(--ms-radius);
  padding: 26px;
  box-shadow: var(--ms-shadow-soft);
  min-width: 0;
}
.ms-card > *:last-child, .ms-contact-card > *:last-child { margin-bottom: 0; }
.ms-note {
  background: #eef7ff;
  border: 1px solid #cfe8ff;
  border-left: 5px solid var(--ms-blue);
  border-radius: 12px;
  padding: 16px 18px;
  color: #27364a;
  margin: 18px 0;
}

.ms-badges { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0; }
.ms-badge, .ms-tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid #cfe8ff;
  border-radius: 999px;
  padding: 7px 11px;
  background: #eef7ff;
  color: var(--ms-blue-dark);
  font-weight: 800;
  font-size: 12px;
}
.ms-tag { margin: 3px 4px 3px 0; border-radius: 9px; }
.ms-stat { font-size: 30px; line-height: 1.15; font-weight: 850; color: var(--ms-blue-dark); margin: 6px 0; }
.ms-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ms-line);
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(16,42,67,.05);
  margin: 14px 0 24px;
}
.ms-table th, .ms-table td { border-bottom: 1px solid var(--ms-line); padding: 14px 16px; text-align: left; vertical-align: top; }
.ms-table tr:last-child th, .ms-table tr:last-child td { border-bottom: none; }
.ms-table th { background: #f3f7fb; color: var(--ms-blue-dark); font-weight: 850; }
.ms-code { display: block; background: #07111f; color: #e6f2ff; border-radius: 14px; padding: 18px; overflow: auto; font-family: Consolas, Monaco, monospace; font-size: 13px; line-height: 1.5; white-space: pre-wrap; }
.ms-doc-link { display: inline-block; margin: 4px 8px 4px 0; font-weight: 800; }
.ms-process { counter-reset: step; }
.ms-process .ms-card h3::before { counter-increment: step; content: counter(step) '. '; color: var(--ms-orange); }

/* Forms */
.ms-form {
  background: var(--ms-surface);
  border: 1px solid var(--ms-line);
  border-radius: var(--ms-radius);
  padding: 28px;
  box-shadow: var(--ms-shadow);
}
.ms-form label { display: block; font-weight: 800; margin: 12px 0 6px; color: var(--ms-blue-dark); }
.ms-form input, .ms-form textarea, .ms-form select {
  width: 100%;
  border: 1px solid #cbd6e2;
  border-radius: 10px;
  padding: 13px 14px;
  margin-bottom: 10px;
  background: #fff;
  color: var(--ms-ink);
  font: inherit;
}
.ms-form textarea { min-height: 138px; resize: vertical; }
.ms-form input:focus, .ms-form textarea:focus, .ms-form select:focus { outline: 3px solid rgba(8, 118, 216, .16); border-color: var(--ms-blue); }
.ms-form .ms-checkbox { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: #405467; }
.ms-form .ms-checkbox input { width: auto; margin-top: 5px; flex: 0 0 auto; }
.ms-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ms-form fieldset { border: 1px solid var(--ms-line); border-radius: 14px; padding: 18px; margin: 18px 0; background: #fbfdff; }
.ms-form legend { font-weight: 850; color: var(--ms-blue-dark); padding: 0 8px; }
.form-stw-input-error { border: 2px solid var(--ms-red) !important; }
.form-stw-success, .form-stw-error { border-radius: 12px; color: #fff; padding: 14px 16px; width: 100%; margin: 12px 0; font-weight: 800; }
.form-stw-success { background: var(--ms-green); }
.form-stw-error { background: var(--ms-red); }

/* Footer */
.ms-site-footer { background: #07111f; color: #dbe8f6; padding: 48px 0 28px; }
.ms-footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 28px; }
.ms-site-footer h3 { color: #fff; margin: 0 0 10px; font-size: 17px; }
.ms-site-footer p, .ms-site-footer li { color: #c8d6e6; margin: 0 0 9px; }
.ms-site-footer a { color: #eaf2ff; font-weight: 700; }
.ms-footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 30px; padding-top: 18px; color: #aebed0; font-size: 13px; }

@media (max-width: 1120px) {
  .ms-header-shell { gap: 14px; }
  .ms-nav-link { font-size: 13px; padding-left: 7px; padding-right: 7px; }
  .ms-header-action { display: none; }
}
@media (max-width: 900px) {
  .ms-container, .ms-header-shell { width: min(var(--ms-container), calc(100% - 32px)); }
  .ms-header-shell { min-height: 64px; }
  .ms-wordmark { font-size: 24px; }
  .ms-wordmark span { font-size: 28px; }
  .ms-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 40px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 10px;
    background: rgba(255,255,255,.08);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
  }
  .ms-primary-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    display: none;
    padding: 10px 16px 16px;
    background: #07111f;
    border-bottom: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 20px 30px rgba(0,0,0,.22);
  }
  .ms-site-header.is-open .ms-primary-nav { display: block; }
  .ms-nav-list { display: block; width: min(var(--ms-container), 100%); margin: 0 auto; }
  .ms-nav-link { display: flex; padding: 12px 10px; justify-content: space-between; }
  .ms-submenu { position: static; display: block; min-width: 0; margin: 0 0 6px 0; padding: 4px; border-radius: 12px; box-shadow: none; }
  .ms-page > section { padding: 54px 16px; }
  .ms-page .ms-hero { min-height: auto; padding-top: 64px; padding-bottom: 58px; }
  .ms-grid, .ms-grid-2, .ms-grid-4, .ms-form-row, .ms-footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body.ms-body { font-size: 15px; }
  .ms-page > section { padding-left: 14px; padding-right: 14px; }
  .ms-card, .ms-contact-card, .ms-form { padding: 20px; border-radius: 14px; }
  .ms-actions, .ms-cta-row { flex-direction: column; align-items: stretch; }
  .ms-btn, .ms-button { width: 100%; }
  .ms-table { display: block; overflow-x: auto; white-space: normal; }
}

/* Hero text color override after generic paragraph rules. */
.ms-page .ms-hero p { color: #e8f3ff; }
.ms-page .ms-hero .ms-note { color: #dfefff; }

/* Relaunch polish v4 */
.ms-nav-item > a.ms-nav-link { text-decoration: none !important; }
.ms-has-dropdown > .ms-nav-link::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .85; }
.ms-optional { display: inline-block; margin-left: 6px; color: var(--ms-muted); font-size: 12px; font-weight: 650; }
.ms-site-cta { background: linear-gradient(135deg,#0b2a4a,#008eff); color:#fff; padding:48px 24px; }
.ms-site-cta__inner { display:grid; grid-template-columns:1fr auto; gap:28px; align-items:center; }
.ms-site-cta__kicker { text-transform:uppercase; letter-spacing:.12em; color:var(--ms-orange); font-weight:900; font-size:12px; margin-bottom:10px; }
.ms-site-cta h2 { margin:0 0 10px; color:#fff; font-size:32px; line-height:1.18; letter-spacing:-.03em; }
.ms-site-cta p { margin:0; color:#eaf5ff; line-height:1.6; max-width:760px; }
.ms-site-cta__actions { display:flex; gap:12px; flex-wrap:wrap; justify-content:flex-end; }
.ms-site-footer .ms-footer-grid { grid-template-columns: 1.4fr .75fr .85fr .85fr; }
.ms-site-footer ul { list-style:none; padding:0; margin:0; }
.ms-site-footer li { list-style:none; }
body.ms-body #boxed-wrapper,
body.ms-body #wrapper,
body.ms-body .fusion-wrapper,
body.ms-body #main,
body.ms-body #content { width:100% !important; max-width:none !important; margin:0 !important; padding:0 !important; }
@media (max-width: 900px) {
  .ms-site-cta__inner { grid-template-columns:1fr; }
  .ms-site-cta__actions { justify-content:flex-start; }
  .ms-site-footer .ms-footer-grid { grid-template-columns:1fr; }
}
:root {
  --ms-gold: #d89b2b;
  --ms-midnight: #050811;
  --ms-graphite: #111827;
  --ms-premium-shadow: 0 28px 70px rgba(5, 12, 24, .14);
}
body.ms-body {
  background:
    radial-gradient(circle at 12% 0%, rgba(216,155,43,.08), transparent 28%),
    radial-gradient(circle at 90% 12%, rgba(8,118,216,.10), transparent 34%),
    var(--ms-bg);
}
.ms-site-header {
  background: rgba(5, 8, 17, .94);
  backdrop-filter: blur(18px);
  border-bottom-color: rgba(216,155,43,.20);
}
.ms-header-shell { min-height: 76px; }
.ms-wordmark { letter-spacing: -.05em; }
.ms-header-action, .ms-btn:not(.ms-btn-secondary):not(.ms-btn-ghost) {
  background: linear-gradient(135deg, #f6b84a 0%, #d89b2b 45%, #f7c46a 100%);
  border-color: rgba(216,155,43,.90);
  box-shadow: 0 14px 28px rgba(216,155,43,.20);
}
.ms-page .ms-hero {
  background:
    radial-gradient(circle at 72% 20%, rgba(216,155,43,.34), transparent 30%),
    radial-gradient(circle at 95% 15%, rgba(8,118,216,.44), transparent 36%),
    linear-gradient(135deg, #050811 0%, #0d1728 48%, #102a43 100%);
  border-bottom: 1px solid rgba(216,155,43,.16);
}
.ms-page .ms-hero::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: .28;
}
.ms-page .ms-hero { position: relative; overflow: hidden; }
.ms-page .ms-hero > * { position: relative; z-index: 1; }
.ms-card, .ms-contact-card {
  border-color: rgba(16,42,67,.10);
  box-shadow: var(--ms-premium-shadow);
}
.ms-card:hover { transform: translateY(-2px); transition: transform .18s ease, box-shadow .18s ease; box-shadow: 0 34px 76px rgba(5,12,24,.17); }
.ms-product-grid { align-items: stretch; }
.ms-product-card { padding: 0; display: flex; flex-direction: column; overflow: hidden; }
.ms-product-card > .ms-kicker,
.ms-product-card > h3,
.ms-product-card > p,
.ms-product-card > table,
.ms-product-card > .ms-ai-badges,
.ms-product-card > .ms-card-actions,
.ms-product-card > .ms-product-meta { margin-left: 24px; margin-right: 24px; }
.ms-product-card > .ms-card-actions { margin-top: auto; margin-bottom: 24px; }
.ms-product-meta {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  margin-bottom: 18px;
}
.ms-product-meta div {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 12px;
  background: #f7fafc;
  border: 1px solid rgba(16,42,67,.08);
  border-radius: 12px;
}
.ms-product-meta dt { font-weight: 850; color: var(--ms-blue-dark); }
.ms-product-meta dd { margin: 0; color: #26364a; }
.ms-product-showcase {
  min-height: 190px;
  margin: 0 0 22px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background:
    radial-gradient(circle at 25% 10%, rgba(216,155,43,.24), transparent 34%),
    linear-gradient(135deg, rgba(5,8,17,.98), rgba(16,42,67,.95));
  border-bottom: 1px solid rgba(216,155,43,.18);
  position: relative;
  overflow: hidden;
}
.ms-product-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: .32;
}
.ms-product-showcase img { position: relative; z-index: 1; width: min(92%, 560px); height: auto; object-fit: contain; filter: drop-shadow(0 22px 40px rgba(0,0,0,.36)); }
.ms-product-caption { position: relative; z-index: 1; color: rgba(255,255,255,.76); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; text-align: center; }
.ms-product-showcase-hero { min-height: 330px; border: 1px solid rgba(255,255,255,.18); border-radius: 28px; box-shadow: 0 30px 80px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.12); margin: 0; }
.ms-product-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ms-product-gallery .ms-product-showcase { border-radius: 20px; margin: 0; min-height: 210px; }
.ms-hero-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); gap: 48px; align-items: center; }
.ms-hero-layout > * { min-width: 0; }
.ms-ai-panel {
  background:
    radial-gradient(circle at 15% 10%, rgba(216,155,43,.23), transparent 32%),
    linear-gradient(135deg, #050811 0%, #101d32 58%, #102a43 100%) !important;
  color: #fff;
}
.ms-ai-panel h2, .ms-ai-panel h3 { color: #fff; }
.ms-ai-panel p { color: #dce9f8; }
.ms-ai-panel .ms-card { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); box-shadow: none; }
.ms-ai-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; margin-bottom: 18px; }
.ms-badge, .ms-tag {
  background: linear-gradient(135deg, rgba(216,155,43,.16), rgba(8,118,216,.08));
  border-color: rgba(216,155,43,.28);
}
.ms-site-cta {
  background:
    radial-gradient(circle at 18% 10%, rgba(216,155,43,.28), transparent 32%),
    linear-gradient(135deg, #050811 0%, #102a43 56%, #0876d8 100%);
}
.ms-site-footer { background: #050811; border-top: 1px solid rgba(216,155,43,.20); }
@media (max-width: 1180px) {
  .ms-nav-link { padding-left: 7px; padding-right: 7px; font-size: 12.5px; }
  .ms-header-shell { width: min(var(--ms-container), calc(100% - 28px)); gap: 12px; }
}
@media (max-width: 980px) {
  .ms-hero-layout { grid-template-columns: 1fr; gap: 30px; }
  .ms-hero-media { order: -1; }
  .ms-product-showcase-hero { min-height: 240px; }
  .ms-product-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .ms-product-card > .ms-kicker,
  .ms-product-card > h3,
  .ms-product-card > p,
  .ms-product-card > table,
  .ms-product-card > .ms-ai-badges,
  .ms-product-card > .ms-card-actions,
  .ms-product-card > .ms-product-meta { margin-left: 18px; margin-right: 18px; }
  .ms-product-meta div { grid-template-columns: 1fr; }
  .ms-product-gallery { grid-template-columns: 1fr; }
  .ms-product-showcase { min-height: 150px; }
  .ms-product-showcase-hero { min-height: 190px; }
}

/* Product-ready conversion polish v6 */
.ms-trust-strip-section { padding-top: 26px !important; padding-bottom: 26px !important; background: #fff !important; }
.ms-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.ms-trust-strip span {
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 14px 16px;
  border: 1px solid rgba(216,155,43,.22);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(244,248,252,.98));
  box-shadow: 0 14px 34px rgba(5,12,24,.08);
  color: var(--ms-blue-dark);
  font-weight: 850;
}
.ms-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.ms-kpi-grid-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 18px 0; }
.ms-kpi-card {
  min-height: 116px;
  padding: 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #f7fafc 100%);
  border: 1px solid rgba(16,42,67,.10);
  box-shadow: 0 16px 38px rgba(5,12,24,.08);
}
.ms-kpi-label { color: var(--ms-muted); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .075em; margin-bottom: 8px; }
.ms-kpi-value { color: var(--ms-blue-dark); font-size: clamp(18px, 2vw, 28px); font-weight: 900; line-height: 1.18; letter-spacing: -.025em; }
.ms-best-for {
  margin: 16px 24px 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #f7fafc;
  border: 1px solid rgba(16,42,67,.08);
  color: #26364a;
}
.ms-best-for strong { display: block; color: var(--ms-blue-dark); margin-bottom: 6px; }
.ms-best-for ul { margin: 0; padding-left: 18px; }
.ms-best-for li { margin: 2px 0; }
.ms-details {
  margin: 18px 0;
  border: 1px solid var(--ms-line);
  border-radius: 14px;
  background: #fbfdff;
  overflow: hidden;
}
.ms-details summary {
  cursor: pointer;
  padding: 14px 16px;
  color: var(--ms-blue-dark);
  font-weight: 850;
}
.ms-details .ms-code { border-radius: 0; margin: 0; }
.ms-form-section-quick .ms-form { max-width: 860px; }
.ms-form-details { margin: 10px 0 14px; }
.ms-form-details summary { cursor: pointer; font-weight: 850; color: var(--ms-blue-dark); padding: 8px 0; }
.ms-benchmark-card .ms-table th { width: 132px; }
.ms-comparison-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.ms-comparison-card { padding: 28px; border-radius: 22px; background: #fff; border: 1px solid rgba(16,42,67,.10); box-shadow: var(--ms-premium-shadow); }
.ms-comparison-card.ms-dark { background: linear-gradient(135deg, #050811, #102a43); color: #fff; }
.ms-comparison-card.ms-dark h3, .ms-comparison-card.ms-dark p, .ms-comparison-card.ms-dark li { color: #e8f3ff; }
.ms-architecture-flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.ms-flow-step { position: relative; padding: 18px; border-radius: 18px; background: #fff; border: 1px solid rgba(16,42,67,.10); box-shadow: 0 14px 34px rgba(5,12,24,.08); }
.ms-flow-step strong { display:block; color: var(--ms-blue-dark); margin-bottom: 6px; }
.ms-flow-step:not(:last-child)::after { content: "→"; position: absolute; right: -13px; top: 50%; transform: translateY(-50%); color: var(--ms-gold); font-weight: 900; }
@media (max-width: 900px) {
  .ms-trust-strip, .ms-kpi-grid, .ms-kpi-grid-compact, .ms-comparison-grid, .ms-architecture-flow { grid-template-columns: 1fr; }
  .ms-flow-step:not(:last-child)::after { content: "↓"; right: auto; top: auto; left: 50%; bottom: -18px; transform: translateX(-50%); }
  .ms-primary-nav .ms-submenu { display: none; }
  .ms-primary-nav .ms-nav-item.is-sub-open > .ms-submenu { display: block; }
}
@media (max-width: 560px) {
  .ms-trust-strip span, .ms-kpi-card { min-height: auto; }
  .ms-wordmark { font-size: 22px; }
}

/* v7: conversion pages, diagrams and materials */
.ms-diagram-section { background: linear-gradient(180deg, #ffffff 0%, #f5f7fb 100%) !important; }
.ms-diagram-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}
.ms-arch-diagram,
.ms-arch-thumb {
  display: block;
  background: #fff;
  border: 1px solid var(--ms-line);
  border-radius: 22px;
  padding: 14px;
  box-shadow: var(--ms-shadow-soft);
  overflow: hidden;
}
.ms-arch-thumb { color: var(--ms-blue-dark); font-weight: 850; text-decoration: none !important; }
.ms-arch-thumb img,
.ms-arch-diagram img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}
.ms-arch-thumb span,
.ms-arch-thumb figcaption {
  display: block;
  padding: 12px 6px 2px;
  color: var(--ms-blue-dark);
}
.ms-download-card { position: relative; overflow: hidden; }
.ms-download-card::after {
  content: "";
  position: absolute;
  right: -54px;
  top: -54px;
  width: 138px;
  height: 138px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(247,148,31,.20), transparent 68%);
  pointer-events: none;
}
.ms-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.ms-kpi {
  min-height: 104px;
  display: flex;
  align-items: center;
  padding: 20px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--ms-line);
  box-shadow: var(--ms-shadow-soft);
}
.ms-kpi span {
  color: var(--ms-blue-dark);
  font-weight: 900;
  line-height: 1.25;
}
.ms-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  counter-reset: step;
}
.ms-step {
  background: #fff;
  border: 1px solid var(--ms-line);
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--ms-shadow-soft);
}
.ms-step span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--ms-orange);
  color: #111;
  font-weight: 900;
  margin-bottom: 16px;
}
.ms-faq-list { display: grid; gap: 12px; }
.ms-faq-item {
  background: #fff;
  border: 1px solid var(--ms-line);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: var(--ms-shadow-soft);
}
.ms-faq-item summary {
  cursor: pointer;
  color: var(--ms-blue-dark);
  font-weight: 850;
}
.ms-faq-item p { margin: 12px 0 0; }
@media (max-width: 980px) {
  .ms-diagram-grid, .ms-kpi-row, .ms-timeline { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .ms-diagram-grid, .ms-kpi-row, .ms-timeline { grid-template-columns: 1fr; }
  .ms-arch-diagram, .ms-arch-thumb { padding: 8px; border-radius: 16px; }
}
