/*
 * MDS Brand (preset 'mds-brand') — the 2026-11 redesign ("MDS Brand Website
 * Redesign" canvas): near-black night surfaces (#05060B / #0A0C18 / #0D1020)
 * alternating with paper-white bands, the teal → blue → purple signature
 * gradient (#19E3C6 → #3B6BFF → #911DA0), Sora display type, Mulish body,
 * JetBrains Mono `// eyebrows`, pill buttons, 28px cards and faint grid lines.
 *
 * Why a stylesheet and not Tailwind: page bodies live in the database and are
 * edited in the admin's page builder; Tailwind only compiles class names it
 * finds in source, so a body could never rely on a utility no component
 * happens to use. These `mds-*` classes always exist. The chrome (header,
 * mega menus, drawer, footer) and the homepage use the same sheet.
 *
 * Every rule is scoped under `.mds-brand-theme` (the bundle's body class) so
 * nothing here can reach another tenant even if the sheet were linked by
 * mistake.
 *
 * SURFACES. A section is DARK unless it says otherwise; `--tint`, `--soft`,
 * `--line` and `--paper` (and `.mds-light`) are the light bands. Every
 * component reads the surface tokens (--ink, --text, --soft, --line, --card,
 * --accent), so the same card / checklist / quote reads correctly on both.
 *
 * Vocabulary (see the seeded pages for examples):
 *   layout   .mds-section (+ --tint --soft --line --paper --dark --tight) .mds-container .mds-narrow
 *   type     .mds-eyebrow .mds-h1 .mds-h2 .mds-h3 .mds-lead .mds-muted .mds-grad
 *   hero     .mds-hero .mds-badge .mds-actions .mds-breadcrumb
 *   buttons  .mds-btn (+ --ghost --white --glass --sm --block)
 *   blocks   .mds-grid (+ --2 --3 --4 --5) .mds-card .mds-card__icon .mds-split
 *            .mds-frame .mds-checklist .mds-steps .mds-stats .mds-logos
 *            .mds-gallery .mds-quote .mds-faq .mds-cta .mds-contact .mds-media
 *            .mds-pills .mds-compare .mds-prose
 */

/* ── fonts (self-hosted, latin subset, variable weight) ─────────────────── */
@font-face { font-family: "Sora"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("fonts/sora-latin.woff2") format("woff2"); }
@font-face { font-family: "Mulish"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("fonts/mulish-latin.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("fonts/jetbrains-mono-latin.woff2") format("woff2"); }
/* Metric-matched fallbacks (Arial scaled to each face's average glyph width and vertical metrics, as next/font does):
   with font-display: swap the text is first drawn in the fallback, and an unmatched one reflowed a long hero when the
   web font arrived (CLS 0.13). Computed with fontTools from the vendored files, 2026-11-23. */
@font-face { font-family: "Sora Fallback"; src: local("Arial"), local("ArialMT"), local("Helvetica"); size-adjust: 116.56%; ascent-override: 83.22%; descent-override: 24.88%; line-gap-override: 0%; }
@font-face { font-family: "Mulish Fallback"; src: local("Arial"), local("ArialMT"), local("Helvetica"); size-adjust: 104.86%; ascent-override: 95.84%; descent-override: 23.84%; line-gap-override: 0%; }

/* ── tokens ─────────────────────────────────────────────────────────────── */
.mds-brand-theme {
  --mds-head: "Sora", "Sora Fallback", "Segoe UI", system-ui, sans-serif;
  --mds-sans: "Mulish", "Mulish Fallback", system-ui, -apple-system, sans-serif;
  --mds-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --font-heading: var(--mds-head);
  --font-body: var(--mds-sans);

  --mds-night: #05060B;
  --mds-night-2: #0A0C18;
  --mds-night-3: #0D1020;
  --mds-deep-teal: #04131D;
  --mds-paper: #F2F4FA;
  --mds-white: #FFFFFF;
  --mds-teal: #19E3C6;
  --mds-teal-deep: #0B8273;
  --mds-blue: #3B6BFF;
  --mds-blue-soft: #6E8BFF;
  --mds-blue-deep: #2F5BEA;
  --mds-purple: #911DA0;
  --mds-purple-soft: #DE8BEA;
  --mds-grad: linear-gradient(95deg, #19E3C6 0%, #3B6BFF 50%, #911DA0 100%);
  --mds-grad-ink: linear-gradient(95deg, #0B8273 0%, #2F5BEA 50%, #911DA0 100%);
  --mds-grad-btn: linear-gradient(100deg, #12B9A4 0%, #3B6BFF 45%, #911DA0 100%);
  --mds-grad-line: linear-gradient(90deg, #19E3C6, #3B6BFF 50%, #911DA0);
  --mds-radius: 1.75rem;
  --mds-radius-md: 1.125rem;
  --mds-radius-sm: 0.875rem;
  --mds-wide: 105rem;

  /* dark surface (default) */
  --ink: #F2F4FA;
  --text: #A9B0C6;
  --soft: #8C93AB;
  --faint: #5A6178;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --card: #0B0D19;
  --card-hi: rgba(255, 255, 255, 0.04);
  --accent: #19E3C6;
  --link: #19E3C6;
  --grad-text: var(--mds-grad);

  font-family: var(--mds-sans);
  color: var(--ink);
  background: var(--mds-night);
  -webkit-font-smoothing: antialiased;
}

/* light surfaces */
.mds-brand-theme .mds-light,
.mds-brand-theme .mds-section--tint,
.mds-brand-theme .mds-section--soft,
.mds-brand-theme .mds-section--line,
.mds-brand-theme .mds-section--paper,
.mds-brand-theme .mds-form-card {
  --ink: #0A0C18;
  --text: #4A5068;
  --soft: #5A6178;
  --faint: #8C93AB;
  --line: #E3E7F0;
  --line-strong: #CDD3E2;
  --card: #FFFFFF;
  --card-hi: #F6F8FC;
  --accent: #0B8273;
  --link: #2F5BEA;
  --grad-text: var(--mds-grad-ink);
  color: var(--ink);
}
/* a section that explicitly asks for dark inside a light parent */
.mds-brand-theme .mds-section--dark,
.mds-brand-theme .mds-dark {
  --ink: #F2F4FA; --text: #A9B0C6; --soft: #8C93AB; --faint: #5A6178;
  --line: rgba(255, 255, 255, 0.09); --line-strong: rgba(255, 255, 255, 0.16);
  --card: #0B0D19; --card-hi: rgba(255, 255, 255, 0.04);
  --accent: #19E3C6; --link: #19E3C6; --grad-text: var(--mds-grad);
  color: var(--ink);
}

/* The platform's globals.css sets heading ink in @layer base and heading
   metrics unlayered; inside our surfaces we want our own. */
.mds-brand-theme .mds-body :is(h1, h2, h3, h4, h5, h6),
.mds-brand-theme .mds-home :is(h1, h2, h3, h4, h5, h6),
.mds-brand-theme .mds-ftr :is(h2, h3, h4) {
  color: var(--ink);
  font-family: var(--mds-head);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0;
}
.mds-brand-theme .mds-body p, .mds-brand-theme .mds-home p { margin: 0; }
.mds-brand-theme .mds-body img, .mds-brand-theme .mds-home img { max-width: 100%; height: auto; }
.mds-brand-theme .mds-body a, .mds-brand-theme .mds-home a { color: inherit; text-decoration: none; }
.mds-brand-theme .mds-body ul, .mds-brand-theme .mds-home ul { margin: 0; padding: 0; }
/* Stored bodies carry a few inline "slate ink" colours from the old light design. */
.mds-brand-theme .mds-body [style*="color:#0f172a"] { color: var(--ink) !important; }
.mds-brand-theme :focus-visible { outline: 2px solid var(--mds-teal); outline-offset: 3px; }

/* ── layout ─────────────────────────────────────────────────────────────── */
.mds-brand-theme .mds-body { background: var(--mds-night); overflow-x: clip; }
.mds-brand-theme .mds-section { position: relative; padding: 4.5rem 0; background: var(--mds-night); color: var(--ink); }
@media (min-width: 768px) { .mds-brand-theme .mds-section { padding: 7rem 0; } }
.mds-brand-theme .mds-section--tight { padding: 3rem 0; }
@media (min-width: 768px) { .mds-brand-theme .mds-section--tight { padding: 4.5rem 0; } }
.mds-brand-theme .mds-section--tint { background: var(--mds-paper); }
.mds-brand-theme .mds-section--soft { background: var(--mds-white); }
.mds-brand-theme .mds-section--line { background: var(--mds-white); border-top: 1px solid #E6E9F2; border-bottom: 1px solid #E6E9F2; }
.mds-brand-theme .mds-section--paper { background: var(--mds-white); }
.mds-brand-theme .mds-section--dark { background: var(--mds-night-2); }
/* a dark section that follows another dark one gets a hairline + a faint glow, so the rhythm still reads */
.mds-brand-theme .mds-section:not(.mds-section--tint, .mds-section--soft, .mds-section--line, .mds-section--paper) + .mds-section:not(.mds-section--tint, .mds-section--soft, .mds-section--line, .mds-section--paper, .mds-contact) { border-top: 1px solid rgba(255, 255, 255, 0.06); background: radial-gradient(60rem 30rem at 50% 0%, rgba(59, 107, 255, 0.10), transparent 70%), var(--mds-night); }
.mds-brand-theme .mds-container { max-width: var(--mds-wide); margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .mds-brand-theme .mds-container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .mds-brand-theme .mds-container { padding: 0 2.5rem; } }
.mds-brand-theme .mds-narrow { max-width: 52rem; margin-left: auto; margin-right: auto; }
.mds-brand-theme .mds-center { text-align: center; }
.mds-brand-theme .mds-center .mds-lead { margin-left: auto; margin-right: auto; }
.mds-brand-theme .mds-head { margin-bottom: 3rem; }
@media (min-width: 768px) { .mds-brand-theme .mds-head { margin-bottom: 4rem; } }
.mds-brand-theme .mds-stack > * + * { margin-top: 1rem; }

/* ── type ───────────────────────────────────────────────────────────────── */
.mds-brand-theme .mds-eyebrow { display: block; font-family: var(--mds-mono); font-size: 0.8125rem; font-weight: 500; color: var(--accent); text-transform: uppercase; letter-spacing: 0.16em; margin-bottom: 1.25rem !important; }
.mds-brand-theme .mds-eyebrow::before { content: "// "; }
.mds-brand-theme .mds-h1 { font-family: var(--mds-head); font-size: clamp(2.5rem, 6vw, 5.25rem); font-weight: 700 !important; line-height: 1.02 !important; letter-spacing: -0.035em !important; }
.mds-brand-theme .mds-h2 { font-family: var(--mds-head); font-size: clamp(2rem, 4vw, 3.75rem); font-weight: 600; line-height: 1.06 !important; letter-spacing: -0.03em !important; }
.mds-brand-theme .mds-h3 { font-family: var(--mds-head); font-size: clamp(1.375rem, 2vw, 2rem); font-weight: 600 !important; }
.mds-brand-theme .mds-h4 { font-family: var(--mds-head); font-size: 1.125rem; font-weight: 600 !important; }
.mds-brand-theme .mds-muted { color: var(--soft) !important; }
.mds-brand-theme .mds-grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.mds-brand-theme .mds-lead { font-size: 1.0625rem; line-height: 1.7; color: var(--text); max-width: 46rem; margin-top: 1.25rem !important; }
@media (min-width: 768px) { .mds-brand-theme .mds-lead { font-size: 1.25rem; } }
.mds-brand-theme .mds-lead strong { color: var(--ink); }
.mds-brand-theme .mds-text { font-size: 1rem; line-height: 1.7; color: var(--text); }
.mds-brand-theme .mds-text + .mds-text { margin-top: 0.875rem; }
.mds-brand-theme .mds-small { font-size: 0.8125rem; color: var(--soft); }
.mds-brand-theme sup.mds-tm { font-size: 0.45em; vertical-align: super; font-weight: 600; }

/* ── hero (interior pages) ──────────────────────────────────────────────── */
.mds-brand-theme .mds-hero { position: relative; overflow: hidden; padding: 4rem 0 4.5rem; background-color: var(--mds-night); background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px); background-size: 72px 72px; color: var(--ink); }
@media (min-width: 768px) { .mds-brand-theme .mds-hero { padding: 6.5rem 0 7rem; } }
.mds-brand-theme .mds-hero::before { content: ""; position: absolute; width: 56rem; height: 56rem; right: -14rem; top: -22rem; border-radius: 50%; background: radial-gradient(circle, rgba(145, 29, 160, 0.34) 0%, rgba(145, 29, 160, 0) 65%); pointer-events: none; }
.mds-brand-theme .mds-hero::after { content: ""; position: absolute; width: 46rem; height: 46rem; left: -16rem; bottom: -26rem; border-radius: 50%; background: radial-gradient(circle, rgba(59, 107, 255, 0.28) 0%, rgba(59, 107, 255, 0) 65%); pointer-events: none; }
.mds-brand-theme .mds-hero > * { position: relative; z-index: 1; }
.mds-brand-theme .mds-hero__grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .mds-brand-theme .mds-hero__grid { grid-template-columns: 1.05fr 1fr; gap: 4.5rem; } }
.mds-brand-theme .mds-badge { display: inline-flex; align-items: center; gap: 0.625rem; padding: 0.5rem 1rem 0.5rem 0.75rem; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--card-hi); color: var(--text); font-family: var(--mds-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1.75rem; }
.mds-brand-theme .mds-badge::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--mds-teal); box-shadow: 0 0 0 0 rgba(25, 227, 198, 0.7); animation: mdsPulse 1.8s ease-out infinite; }
.mds-brand-theme .mds-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.875rem; margin-top: 2.25rem; }
.mds-brand-theme .mds-center .mds-actions { justify-content: center; }
.mds-brand-theme .mds-breadcrumb { display: flex; flex-wrap: wrap; gap: 0.5rem; font-family: var(--mds-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--soft); margin: 0 0 1.75rem; padding: 0; list-style: none; }
.mds-brand-theme .mds-breadcrumb a { color: var(--text); text-decoration: none; }
.mds-brand-theme .mds-breadcrumb a:hover { color: var(--mds-teal); }
.mds-brand-theme .mds-breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; color: var(--faint); }
.mds-brand-theme .mds-hero .mds-lead { color: var(--text); }

@keyframes mdsPulse { 0% { box-shadow: 0 0 0 0 rgba(25, 227, 198, 0.7); } 100% { box-shadow: 0 0 0 12px rgba(25, 227, 198, 0); } }
@keyframes mdsSweep { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ── buttons ────────────────────────────────────────────────────────────── */
.mds-brand-theme .mds-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem; min-height: 3.375rem; padding: 0 1.875rem; border-radius: 999px; background: var(--mds-grad-btn); color: #fff !important; font-family: var(--mds-head); font-weight: 600; font-size: 0.9375rem; letter-spacing: 0.04em; text-decoration: none !important; border: 0; cursor: pointer; box-sizing: border-box; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.mds-brand-theme .mds-btn::after { content: ""; width: 1rem; height: 1rem; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.mds-brand-theme .mds-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 50px -12px rgba(145, 29, 160, 0.75); }
.mds-brand-theme .mds-btn--ghost { background: transparent; color: var(--ink) !important; border: 1px solid var(--line-strong); box-shadow: none; font-weight: 500; }
.mds-brand-theme .mds-btn--ghost::after { display: none; }
.mds-brand-theme .mds-btn--ghost:hover { border-color: var(--mds-teal); box-shadow: none; }
.mds-brand-theme .mds-light .mds-btn--ghost:hover, .mds-brand-theme .mds-section--tint .mds-btn--ghost:hover, .mds-brand-theme .mds-section--soft .mds-btn--ghost:hover { border-color: var(--mds-blue-deep); }
.mds-brand-theme .mds-btn--white { background: var(--mds-paper); color: var(--mds-night) !important; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.875rem; }
.mds-brand-theme .mds-btn--glass { background: rgba(5, 6, 11, 0.5); border: 1px solid rgba(255, 255, 255, 0.22); color: #E3E6F0 !important; }
.mds-brand-theme .mds-btn--glass::after { display: none; }
.mds-brand-theme .mds-btn--sm { min-height: 2.75rem; padding: 0 1.25rem; font-size: 0.875rem; }
.mds-brand-theme .mds-btn--block { width: 100%; }
.mds-brand-theme .mds-link { display: inline-flex; align-items: center; gap: 0.625rem; min-height: 2.75rem; color: var(--ink) !important; font-family: var(--mds-head); font-weight: 600; font-size: 0.875rem; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; transition: gap 0.25s ease; }
.mds-brand-theme .mds-link::after { content: ""; width: 1rem; height: 1rem; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.mds-brand-theme .mds-link:hover { gap: 0.875rem; }
@media (max-width: 639px) { .mds-brand-theme .mds-hero .mds-actions .mds-btn { width: 100%; } }

/* ── grids & cards ──────────────────────────────────────────────────────── */
.mds-brand-theme .mds-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .mds-brand-theme .mds-grid--2, .mds-brand-theme .mds-grid--3, .mds-brand-theme .mds-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mds-brand-theme .mds-grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .mds-brand-theme .mds-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .mds-brand-theme .mds-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .mds-brand-theme .mds-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.mds-brand-theme .mds-card { display: block; position: relative; border-radius: var(--mds-radius); background: var(--card); border: 1px solid var(--line); padding: 2rem; color: var(--ink); text-decoration: none; transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease; }
@media (min-width: 1024px) { .mds-brand-theme .mds-card { padding: 2.5rem; } }
.mds-brand-theme a.mds-card:hover, .mds-brand-theme .mds-card--hover:hover { transform: translateY(-6px); border-color: rgba(25, 227, 198, 0.45); box-shadow: 0 30px 80px -30px rgba(59, 107, 255, 0.55); }
.mds-brand-theme .mds-light a.mds-card:hover, .mds-brand-theme .mds-section--tint .mds-card--hover:hover, .mds-brand-theme .mds-section--soft .mds-card--hover:hover, .mds-brand-theme .mds-section--line .mds-card--hover:hover, .mds-brand-theme .mds-section--tint a.mds-card:hover { border-color: rgba(47, 91, 234, 0.4); box-shadow: 0 30px 60px -30px rgba(10, 12, 24, 0.28); }
.mds-brand-theme .mds-card--pad { padding: 2.5rem; }
.mds-brand-theme .mds-card--center { text-align: center; }
.mds-brand-theme .mds-card--center .mds-card__icon { margin-left: auto; margin-right: auto; }
.mds-brand-theme .mds-card h3, .mds-brand-theme .mds-card h4 { font-family: var(--mds-head); font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 0.75rem !important; }
.mds-brand-theme .mds-card p { font-size: 1rem; line-height: 1.65; color: var(--text); }
.mds-brand-theme .mds-card p + p { margin-top: 0.75rem; }
.mds-brand-theme .mds-card__icon { width: 3.5rem; height: 3.5rem; border-radius: 1rem; background: rgba(59, 107, 255, 0.14); border: 1px solid rgba(59, 107, 255, 0.4); display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; overflow: hidden; }
.mds-brand-theme .mds-light .mds-card__icon, .mds-brand-theme .mds-section--tint .mds-card__icon, .mds-brand-theme .mds-section--soft .mds-card__icon, .mds-brand-theme .mds-section--line .mds-card__icon { background: rgba(59, 107, 255, 0.08); }
.mds-brand-theme .mds-card__icon img { width: 2.25rem; height: 2.25rem; object-fit: contain; }
.mds-brand-theme .mds-card__icon--grad { background: var(--mds-grad-btn); border: 0; color: #fff; font-family: var(--mds-head); font-weight: 700; font-size: 1.25rem; }
.mds-brand-theme .mds-grid > .mds-card:nth-child(3n+2) .mds-card__icon:not(.mds-card__icon--grad) { background: rgba(145, 29, 160, 0.16); border-color: rgba(222, 139, 234, 0.45); }
.mds-brand-theme .mds-grid > .mds-card:nth-child(3n) .mds-card__icon:not(.mds-card__icon--grad) { background: rgba(25, 227, 198, 0.12); border-color: rgba(25, 227, 198, 0.4); }
.mds-brand-theme .mds-card__media { margin: -2rem -2rem 1.5rem; border-radius: var(--mds-radius) var(--mds-radius) 0 0; overflow: hidden; background: var(--mds-night-3); aspect-ratio: 16 / 10; }
@media (min-width: 1024px) { .mds-brand-theme .mds-card__media { margin: -2.5rem -2.5rem 1.75rem; } }
.mds-brand-theme .mds-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.mds-brand-theme a.mds-card:hover .mds-card__media img, .mds-brand-theme .mds-card--hover:hover .mds-card__media img { transform: scale(1.04); }
.mds-brand-theme .mds-card__media--contain { background: var(--card-hi); }
.mds-brand-theme .mds-card__media--contain img { object-fit: contain; padding: 1rem; }
.mds-brand-theme .mds-card .mds-link { margin-top: 1rem; }
.mds-brand-theme .mds-tag { display: inline-block; font-family: var(--mds-mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); border: 1px solid currentColor; border-radius: 999px; padding: 0.25rem 0.75rem; margin-bottom: 1rem; }

/* ── split (image + copy) ───────────────────────────────────────────────── */
.mds-brand-theme .mds-split { display: grid; gap: 2.75rem; align-items: center; }
@media (min-width: 1024px) { .mds-brand-theme .mds-split { grid-template-columns: 1fr 1fr; gap: 5.5rem; } .mds-brand-theme .mds-split--reverse > :first-child { order: 2; } }
.mds-brand-theme .mds-frame { border-radius: var(--mds-radius); border: 1px solid var(--line-strong); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(59, 107, 255, 0.45); background: var(--mds-night-3); }
.mds-brand-theme .mds-light .mds-frame, .mds-brand-theme .mds-section--tint .mds-frame, .mds-brand-theme .mds-section--soft .mds-frame, .mds-brand-theme .mds-section--line .mds-frame { box-shadow: 0 40px 80px -30px rgba(10, 12, 24, 0.45); }
.mds-brand-theme .mds-frame img, .mds-brand-theme .mds-frame video { display: block; width: 100%; height: auto; }
.mds-brand-theme .mds-frame--plain { border: 0; box-shadow: none !important; background: transparent; }
.mds-brand-theme .mds-browser { border-radius: 1rem; border: 1px solid rgba(255, 255, 255, 0.12); background: var(--mds-night-3); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(59, 107, 255, 0.6); }
.mds-brand-theme .mds-browser__bar { display: flex; align-items: center; gap: 0.375rem; padding: 0.75rem 1rem; background: #141831; }
.mds-brand-theme .mds-browser__bar i { width: 0.5625rem; height: 0.5625rem; border-radius: 50%; background: #3A3F5C; display: block; }
.mds-brand-theme .mds-browser img, .mds-brand-theme .mds-browser video { display: block; width: 100%; height: auto; }

/* ── lists ──────────────────────────────────────────────────────────────── */
.mds-brand-theme .mds-checklist { list-style: none; display: grid; gap: 0.875rem; margin-top: 1.75rem !important; padding: 0; }
.mds-brand-theme .mds-checklist li { position: relative; padding-left: 2.125rem; font-size: 1rem; line-height: 1.55; color: var(--text); }
.mds-brand-theme .mds-checklist li::before { content: ""; position: absolute; left: 0; top: 0.1rem; width: 1.375rem; height: 1.375rem; border-radius: 0.5rem; background: rgba(25, 227, 198, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2319E3C6' stroke-width='3'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 0.8rem no-repeat; border: 1px solid rgba(25, 227, 198, 0.4); }
.mds-brand-theme .mds-light .mds-checklist li::before, .mds-brand-theme .mds-section--tint .mds-checklist li::before, .mds-brand-theme .mds-section--soft .mds-checklist li::before, .mds-brand-theme .mds-section--line .mds-checklist li::before { background-color: rgba(11, 130, 115, 0.1); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B8273' stroke-width='3'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/%3E%3C/svg%3E"); border-color: rgba(11, 130, 115, 0.35); }
.mds-brand-theme .mds-checklist--blue li::before { background-color: rgba(59, 107, 255, 0.14) !important; border-color: rgba(59, 107, 255, 0.45) !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E8BFF' stroke-width='3'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/%3E%3C/svg%3E") !important; }
.mds-brand-theme .mds-checklist--x li::before { background: rgba(145, 29, 160, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DE8BEA' stroke-width='3'%3E%3Cpath stroke-linecap='round' d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center / 0.7rem no-repeat !important; border-color: rgba(222, 139, 234, 0.45) !important; }
.mds-brand-theme .mds-checklist--cols { grid-template-columns: 1fr; }
@media (min-width: 640px) { .mds-brand-theme .mds-checklist--cols { grid-template-columns: 1fr 1fr; } }
.mds-brand-theme .mds-pills { display: flex; flex-wrap: wrap; gap: 0.75rem; list-style: none; margin-top: 1.5rem !important; padding: 0; }
.mds-brand-theme .mds-pills li { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1.25rem; border-radius: 999px; border: 1px solid var(--line-strong); font-family: var(--mds-head); font-size: 0.875rem; font-weight: 500; color: var(--ink); }

/* ── steps ──────────────────────────────────────────────────────────────── */
.mds-brand-theme .mds-steps { display: grid; gap: 0; counter-reset: mds-step; list-style: none; padding: 0; border: 1px solid var(--line); border-radius: 1.5rem; overflow: hidden; background: var(--card-hi); }
.mds-brand-theme .mds-steps--3 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .mds-brand-theme .mds-steps--3 { grid-template-columns: repeat(3, 1fr); } }
.mds-brand-theme .mds-steps > li { position: relative; display: flex; flex-direction: column; gap: 1rem; padding: 2.5rem 2.25rem; border-bottom: 1px solid var(--line); }
.mds-brand-theme .mds-steps > li:last-child { border-bottom: 0; }
@media (min-width: 768px) { .mds-brand-theme .mds-steps--3 > li { border-bottom: 0; border-right: 1px solid var(--line); } .mds-brand-theme .mds-steps--3 > li:last-child { border-right: 0; } }
.mds-brand-theme .mds-steps > li::before { counter-increment: mds-step; content: "0" counter(mds-step) " —"; font-family: var(--mds-mono); font-size: 0.8125rem; letter-spacing: 0.1em; color: var(--accent); }
.mds-brand-theme .mds-steps > li::after { content: ""; position: absolute; left: 2.25rem; right: 2.25rem; top: 4.4rem; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #19E3C6, rgba(25, 227, 198, 0)); }
.mds-brand-theme .mds-steps > li:nth-child(3n+2)::before { color: var(--mds-blue-deep); }
.mds-brand-theme .mds-steps > li:nth-child(3n+2)::after { background: linear-gradient(90deg, #3B6BFF, rgba(59, 107, 255, 0)); }
.mds-brand-theme .mds-steps > li:nth-child(3n)::before { color: var(--mds-purple-soft); }
.mds-brand-theme .mds-light .mds-steps > li:nth-child(3n)::before, .mds-brand-theme .mds-section--tint .mds-steps > li:nth-child(3n)::before, .mds-brand-theme .mds-section--soft .mds-steps > li:nth-child(3n)::before { color: var(--mds-purple); }
.mds-brand-theme .mds-steps > li:nth-child(3n)::after { background: linear-gradient(90deg, #911DA0, rgba(145, 29, 160, 0)); }
.mds-brand-theme .mds-steps > li > div { padding-top: 1.25rem; }
.mds-brand-theme .mds-steps h3, .mds-brand-theme .mds-steps h4 { font-family: var(--mds-head); font-size: 1.375rem; font-weight: 600; margin-bottom: 0.5rem !important; }
.mds-brand-theme .mds-steps p { font-size: 1rem; line-height: 1.6; color: var(--text); }
.mds-brand-theme .mds-steps img { width: 100%; max-width: 12rem; margin-top: 1rem; }

/* ── stats ──────────────────────────────────────────────────────────────── */
.mds-brand-theme .mds-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 2rem; text-align: center; list-style: none; padding: 0; }
@media (min-width: 768px) { .mds-brand-theme .mds-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.mds-brand-theme .mds-stats strong { display: block; font-family: var(--mds-head); font-size: clamp(1.75rem, 3vw, 2.75rem); font-weight: 700; letter-spacing: -0.03em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mds-brand-theme .mds-stats span { display: block; margin-top: 0.5rem; font-family: var(--mds-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--soft); }
.mds-brand-theme .mds-stats img { width: 3.5rem; height: 3.5rem; object-fit: contain; margin: 0 auto 1rem; display: block; }

/* ── logos ──────────────────────────────────────────────────────────────── */
.mds-brand-theme .mds-logos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; list-style: none; padding: 0; }
@media (min-width: 640px) { .mds-brand-theme .mds-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .mds-brand-theme .mds-logos { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.mds-brand-theme .mds-logos li { display: flex; align-items: center; justify-content: center; height: 5.5rem; padding: 0.875rem 1.25rem; border-radius: 1.125rem; background: #FFFFFF; border: 1px solid #E3E7F0; }
.mds-brand-theme .mds-logos img { max-height: 2.75rem; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: 0.75; transition: filter 0.25s, opacity 0.25s; }
.mds-brand-theme .mds-logos li:hover img { filter: none; opacity: 1; }
.mds-brand-theme .mds-logos--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .mds-brand-theme .mds-logos--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ── icon tiles (industries) ────────────────────────────────────────────── */
.mds-brand-theme .mds-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; list-style: none; padding: 0; }
@media (min-width: 640px) { .mds-brand-theme .mds-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .mds-brand-theme .mds-tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.mds-brand-theme .mds-tiles li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; text-align: center; padding: 1.75rem 1rem; border-radius: 1.25rem; background: var(--card); border: 1px solid var(--line); font-family: var(--mds-head); font-size: 1rem; font-weight: 600; color: var(--ink); transition: transform 0.35s ease, border-color 0.35s ease; }
.mds-brand-theme .mds-tiles li:hover { transform: translateY(-4px); border-color: rgba(25, 227, 198, 0.45); }
.mds-brand-theme .mds-tiles img { width: 3rem; height: 3rem; object-fit: contain; }
.mds-brand-theme .mds-ico { flex-shrink: 0; width: 3.5rem; height: 3.5rem; border-radius: 1rem; background: rgba(59, 107, 255, 0.14); border: 1px solid rgba(59, 107, 255, 0.4); display: flex; align-items: center; justify-content: center; }
.mds-brand-theme .mds-grid > :nth-child(3n+2) .mds-ico { background: rgba(145, 29, 160, 0.16); border-color: rgba(222, 139, 234, 0.45); }
.mds-brand-theme .mds-grid > :nth-child(3n) .mds-ico { background: rgba(25, 227, 198, 0.12); border-color: rgba(25, 227, 198, 0.4); }
.mds-brand-theme .mds-ico img { width: 1.875rem !important; height: 1.875rem !important; object-fit: contain; margin: 0 !important; }
.mds-brand-theme .mds-section:not(.mds-section--tint, .mds-section--soft, .mds-section--line, .mds-section--paper) .mds-ico img,
.mds-brand-theme .mds-hero .mds-ico img { filter: brightness(0) invert(1); opacity: 0.92; }
.mds-brand-theme .mds-card .mds-ico { margin-bottom: 1.5rem; }
.mds-brand-theme .mds-card--center .mds-ico { margin-left: auto; margin-right: auto; }

/* ── gallery (horizontal, scroll-snap — no script) ──────────────────────── */
.mds-brand-theme .mds-gallery { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0.5rem 0.25rem 1.5rem; list-style: none; scrollbar-width: thin; scrollbar-color: rgba(127, 135, 160, 0.5) transparent; }
.mds-brand-theme .mds-gallery > li { flex: 0 0 82%; scroll-snap-align: center; }
@media (min-width: 640px) { .mds-brand-theme .mds-gallery > li { flex-basis: 46%; } }
@media (min-width: 1024px) { .mds-brand-theme .mds-gallery > li { flex-basis: 31%; } }
.mds-brand-theme .mds-gallery a, .mds-brand-theme .mds-gallery figure { display: block; margin: 0; text-decoration: none; }
.mds-brand-theme .mds-gallery img { width: 100%; height: auto; display: block; border-radius: 0.875rem; transition: transform 0.35s ease; }
.mds-brand-theme .mds-gallery a:hover img { transform: translateY(-4px); }
.mds-brand-theme .mds-gallery figcaption { margin-top: 0.75rem; font-family: var(--mds-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--soft); text-align: center; }

/* ── quotes ─────────────────────────────────────────────────────────────── */
.mds-brand-theme .mds-quote { position: relative; border-radius: 1.5rem; background: var(--card); border: 1px solid var(--line); padding: 2rem; margin: 0; transition: border-color 0.35s ease, transform 0.35s ease; }
.mds-brand-theme .mds-quote:hover { border-color: rgba(25, 227, 198, 0.45); }
.mds-brand-theme .mds-quote::before { content: ""; display: block; width: 2.75rem; height: 2.125rem; margin-bottom: 1.25rem; background: var(--mds-grad); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 56'%3E%3Cpath d='M0 56V32C0 14 9 3 27 0l3 7C20 10 15 16 14 26h14v30zm42 0V32c0-18 9-29 27-32l3 7c-10 3-15 9-16 19h14v30z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 56'%3E%3Cpath d='M0 56V32C0 14 9 3 27 0l3 7C20 10 15 16 14 26h14v30zm42 0V32c0-18 9-29 27-32l3 7c-10 3-15 9-16 19h14v30z'/%3E%3C/svg%3E") center / contain no-repeat; }
.mds-brand-theme .mds-quote p { font-family: var(--mds-head); font-size: 1.0625rem; font-weight: 400; line-height: 1.6; color: var(--ink); }
.mds-brand-theme .mds-quote footer, .mds-brand-theme .mds-quote cite { display: flex; align-items: center; gap: 0.875rem; margin-top: 1.5rem; font-style: normal; font-family: var(--mds-head); font-size: 0.9375rem; font-weight: 600; color: var(--ink); }
.mds-brand-theme .mds-quote cite::before { content: attr(data-initial); flex-shrink: 0; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 2px solid transparent; background: linear-gradient(var(--card), var(--card)) padding-box, var(--mds-grad) border-box; color: var(--ink); display: flex; align-items: center; justify-content: center; font-weight: 600; }
.mds-brand-theme .mds-quote--feature { max-width: 60rem; margin: 0 auto; padding: 2.5rem; text-align: left; border: 0; background: transparent; }
@media (min-width: 768px) { .mds-brand-theme .mds-quote--feature { padding: 1rem 0; } }
.mds-brand-theme .mds-quote--feature::before { width: 4.5rem; height: 3.5rem; margin-bottom: 2rem; }
.mds-brand-theme .mds-quote--feature p { font-size: clamp(1.375rem, 2.2vw, 2.25rem); line-height: 1.38; letter-spacing: -0.015em; }
.mds-brand-theme .mds-quote--feature cite::before { width: 3.75rem; height: 3.75rem; }
.mds-brand-theme .mds-quotes { columns: 1; column-gap: 1.5rem; }
@media (min-width: 768px) { .mds-brand-theme .mds-quotes { columns: 2; } }
@media (min-width: 1024px) { .mds-brand-theme .mds-quotes { columns: 3; } }
.mds-brand-theme .mds-quotes .mds-quote { break-inside: avoid; margin-bottom: 1.5rem; }

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.mds-brand-theme .mds-faq { display: grid; gap: 0.875rem; }
.mds-brand-theme .mds-faq details { border-radius: 1.25rem; background: var(--card); border: 1px solid var(--line); transition: border-color 0.25s; }
.mds-brand-theme .mds-faq details:hover, .mds-brand-theme .mds-faq details[open] { border-color: rgba(25, 227, 198, 0.45); }
.mds-brand-theme .mds-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; padding: 1.375rem 1.5rem; font-family: var(--mds-head); font-size: 1.0625rem; font-weight: 600; color: var(--ink); list-style: none; }
.mds-brand-theme .mds-faq summary::-webkit-details-marker { display: none; }
.mds-brand-theme .mds-faq summary::after { content: ""; flex-shrink: 0; width: 1.25rem; height: 1.25rem; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform 0.25s; }
.mds-brand-theme .mds-faq details[open] summary::after { transform: rotate(180deg); }
.mds-brand-theme .mds-faq details > div, .mds-brand-theme .mds-faq details > p { padding: 0 1.5rem 1.5rem; font-size: 1rem; line-height: 1.7; color: var(--text); }

/* ── comparison ─────────────────────────────────────────────────────────── */
.mds-brand-theme .mds-compare { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .mds-brand-theme .mds-compare { grid-template-columns: 1fr 1fr; } }
.mds-brand-theme .mds-compare > div { border-radius: var(--mds-radius); border: 1px solid var(--line); background: var(--card); padding: 2.25rem; }
.mds-brand-theme .mds-compare > div:last-child { border: 1px solid transparent; background: linear-gradient(var(--card), var(--card)) padding-box, var(--mds-grad) border-box; box-shadow: 0 30px 80px -30px rgba(59, 107, 255, 0.45); }
.mds-brand-theme .mds-compare img { height: 4rem; width: auto; margin-bottom: 1rem; }

/* ── media ──────────────────────────────────────────────────────────────── */
.mds-brand-theme .mds-media { position: relative; border-radius: var(--mds-radius); overflow: hidden; background: var(--mds-night-3); border: 1px solid var(--line-strong); box-shadow: 0 40px 80px -30px rgba(59, 107, 255, 0.45); }
.mds-brand-theme .mds-media video { display: block; width: 100%; height: auto; }
.mds-brand-theme .mds-media--16x9 { aspect-ratio: 16 / 9; }
.mds-brand-theme .mds-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mds-brand-theme .mds-map { border-radius: var(--mds-radius); overflow: hidden; border: 1px solid var(--line-strong); aspect-ratio: 4 / 3; }
.mds-brand-theme .mds-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ── CTA band (the canvas's "Ready when you are" card) ──────────────────── */
.mds-brand-theme .mds-cta { position: relative; padding: 3rem 0; background: var(--mds-night); color: var(--ink); text-align: center; }
@media (min-width: 768px) { .mds-brand-theme .mds-cta { padding: 6rem 0; } }
.mds-brand-theme .mds-cta > .mds-container { position: relative; overflow: hidden; max-width: var(--mds-wide); border-radius: 2.25rem; border: 1px solid rgba(255, 255, 255, 0.1); background-color: var(--mds-night-2); background-image: radial-gradient(40rem 24rem at 85% 0%, rgba(145, 29, 160, 0.35), transparent 70%), radial-gradient(40rem 24rem at 10% 100%, rgba(59, 107, 255, 0.3), transparent 70%), linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px); background-size: auto, auto, 56px 56px, 56px 56px; padding: 4.5rem 1.5rem; }
@media (min-width: 768px) { .mds-brand-theme .mds-cta > .mds-container { padding: 7rem 4rem; } }
.mds-brand-theme .mds-cta > .mds-container.mds-narrow { max-width: var(--mds-wide); }
.mds-brand-theme .mds-cta > .mds-container > * { max-width: 52rem; margin-left: auto; margin-right: auto; }
.mds-brand-theme .mds-cta h2 { color: var(--ink) !important; font-size: clamp(2.25rem, 4.5vw, 4.5rem) !important; font-weight: 700 !important; letter-spacing: -0.04em !important; }
.mds-brand-theme .mds-cta .mds-lead { color: #C3C8DA; }
.mds-brand-theme .mds-cta .mds-actions { justify-content: center; }
.mds-brand-theme .mds-cta .mds-btn--white { background: var(--mds-grad-btn); color: #fff !important; text-transform: none; letter-spacing: 0.04em; font-size: 0.9375rem; }

/* ── contact band + form card ───────────────────────────────────────────── */
.mds-brand-theme .mds-contact { background: var(--mds-night); scroll-margin-top: 6rem; padding: 3rem 0 4.5rem; }
@media (min-width: 768px) { .mds-brand-theme .mds-contact { padding: 5rem 0 7rem; } }
.mds-brand-theme .mds-contact__grid { display: grid; gap: 2.5rem; align-items: center; position: relative; overflow: hidden; border-radius: 2.25rem; border: 1px solid rgba(255, 255, 255, 0.1); background-color: var(--mds-night-2); background-image: radial-gradient(36rem 26rem at 0% 0%, rgba(25, 227, 198, 0.16), transparent 70%), radial-gradient(40rem 30rem at 100% 100%, rgba(145, 29, 160, 0.28), transparent 70%), linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px); background-size: auto, auto, 56px 56px, 56px 56px; padding: 2.5rem 1.25rem !important; }
@media (min-width: 640px) { .mds-brand-theme .mds-contact__grid { padding: 3.5rem 2.5rem !important; } }
@media (min-width: 1024px) { .mds-brand-theme .mds-contact__grid { grid-template-columns: 0.95fr 1.05fr; gap: 5rem; padding: 5.5rem 4.5rem !important; } }
.mds-brand-theme .mds-contact .mds-container.mds-contact__grid { max-width: calc(var(--mds-wide) - 5rem); margin-left: 1rem; margin-right: 1rem; }
@media (min-width: 640px) { .mds-brand-theme .mds-contact .mds-container.mds-contact__grid { margin-left: 1.5rem; margin-right: 1.5rem; } }
@media (min-width: 1024px) { .mds-brand-theme .mds-contact .mds-container.mds-contact__grid { margin-left: 2.5rem; margin-right: 2.5rem; } }
@media (min-width: 1760px) { .mds-brand-theme .mds-contact .mds-container.mds-contact__grid { margin-left: auto; margin-right: auto; } }
.mds-brand-theme .mds-contact .mds-h2 { font-size: clamp(2.25rem, 4.5vw, 4.5rem); font-weight: 700; letter-spacing: -0.04em !important; }
.mds-brand-theme .mds-facts { list-style: none; display: grid; gap: 1.25rem; margin-top: 2.25rem !important; padding: 0; }
.mds-brand-theme .mds-facts li { display: flex; gap: 1rem; align-items: center; font-size: 1rem; color: var(--text); line-height: 1.5; }
.mds-brand-theme .mds-facts b { display: block; font-family: var(--mds-mono); font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--soft); font-weight: 500; margin-bottom: 0.125rem; }
.mds-brand-theme .mds-facts a { color: var(--ink); text-decoration: none; font-family: var(--mds-mono); font-weight: 500; letter-spacing: 0.02em; }
.mds-brand-theme .mds-facts a:hover { color: var(--mds-teal); }
.mds-brand-theme .mds-facts i { flex-shrink: 0; width: 3rem; height: 3rem; border-radius: 0.875rem; background-color: rgba(25, 227, 198, 0.1); border: 1px solid rgba(25, 227, 198, 0.4); display: block; background-position: center; background-repeat: no-repeat; background-size: 1.125rem; }
.mds-brand-theme .mds-facts i.mds-i-pin { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2319E3C6' stroke-width='2'%3E%3Cpath d='M12 21s-7-6.1-7-11a7 7 0 1114 0c0 4.9-7 11-7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); }
.mds-brand-theme .mds-facts i.mds-i-phone { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2319E3C6' stroke-width='2'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 005 5L15 13l5 2v4a2 2 0 01-2 2A16 16 0 013 6a2 2 0 012-2z'/%3E%3C/svg%3E"); }
.mds-brand-theme .mds-facts i.mds-i-mail { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2319E3C6' stroke-width='2'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E"); }
.mds-brand-theme .mds-form-card { position: relative; border-radius: 1.5rem; background: #FFFFFF; border: 1px solid #E3E7F0; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.8); padding: 1.5rem; color: #0A0C18; }
@media (min-width: 640px) { .mds-brand-theme .mds-form-card { padding: 2.5rem; } }
.mds-brand-theme .mds-form-card::before { content: ""; position: absolute; left: 1.5rem; right: 1.5rem; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--mds-grad-line); }
.mds-brand-theme .mds-form-card:empty::before { content: "Loading form…"; position: static; display: block; height: auto; background: none; color: var(--soft); font-size: 0.875rem; }
.mds-brand-theme .mds-form-card :is(input, textarea, select) { border-radius: 0.75rem; font-family: var(--mds-sans); font-size: 0.9375rem; }
.mds-brand-theme .mds-form-card :is(input, textarea, select):focus { border-color: #3B6BFF; box-shadow: 0 0 0 3px rgba(59, 107, 255, 0.18); }
.mds-brand-theme .mds-form-card label[for^="fld-"] { font-family: var(--mds-mono); font-weight: 500; font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: #5A6178; }
.mds-brand-theme .mds-form-card h3 { font-family: var(--mds-head); }

/* ── prose (policies, statements, free-form pages) ──────────────────────── */
.mds-brand-theme .mds-prose { color: var(--text); font-size: 1.0625rem; line-height: 1.8; }
.mds-brand-theme .mds-prose h2 { font-size: 1.625rem; margin: 2.5rem 0 0.875rem !important; }
.mds-brand-theme .mds-prose h3 { font-size: 1.25rem; margin: 2rem 0 0.625rem !important; }
.mds-brand-theme .mds-prose p { margin: 0 0 1.125rem !important; }
.mds-brand-theme .mds-prose ul, .mds-brand-theme .mds-prose ol { margin: 0 0 1.125rem 1.25rem !important; padding: 0; }
.mds-brand-theme .mds-prose li { margin: 0.375rem 0; }
.mds-brand-theme .mds-prose a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.mds-brand-theme .mds-prose strong { color: var(--ink); }

/* ── decorative image helpers ───────────────────────────────────────────── */
.mds-brand-theme .mds-img-center { display: block; margin: 0 auto; }
.mds-brand-theme .mds-banner-img { display: block; width: 100%; height: auto; border-radius: var(--mds-radius); }
.mds-brand-theme .mds-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 2rem; margin-bottom: 3rem; }
.mds-brand-theme .mds-flow { display: grid; gap: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; padding: 0; border: 1px solid var(--line); border-radius: 1.5rem; overflow: hidden; background: var(--card-hi); }
@media (min-width: 768px) { .mds-brand-theme .mds-flow { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.mds-brand-theme .mds-flow li { text-align: center; padding: 1.75rem 1rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: var(--mds-head); font-weight: 600; font-size: 0.9375rem; color: var(--ink); }
.mds-brand-theme .mds-flow img { height: 3rem; width: auto; margin: 0 auto 0.75rem; display: block; }
.mds-brand-theme .mds-split .mds-frame--plain { text-align: center; }
.mds-brand-theme .mds-split .mds-frame--plain img { max-width: min(30rem, 100%); margin: 0 auto; max-height: 34rem; width: auto; }
.mds-brand-theme .mds-hero .mds-frame--plain img { max-width: min(34rem, 100%); }

/* ════════════════════════════════════════════════════════════════════════
 * CHROME — header, dropdowns, drawer, footer
 * ════════════════════════════════════════════════════════════════════════ */
.mds-brand-theme .mds-hdr { position: sticky; top: 0; z-index: 60; border-bottom: 1px solid rgba(255, 255, 255, 0.07); background: rgba(5, 6, 11, 0.72); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); color: #F2F4FA; font-family: var(--mds-sans); }
.mds-brand-theme .mds-hdr.is-open { background: #05060B; }
.mds-brand-theme .mds-hdr__bar { max-width: var(--mds-wide); margin: 0 auto; padding: 0.875rem 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
@media (min-width: 640px) { .mds-brand-theme .mds-hdr__bar { padding: 1rem 1.5rem; } }
@media (min-width: 1024px) { .mds-brand-theme .mds-hdr__bar { padding: 1.375rem 2.5rem; } }
.mds-brand-theme .mds-hdr__logo { display: flex; align-items: center; flex-shrink: 0; }
.mds-brand-theme .mds-hdr__logo img { height: 2.5rem; width: auto; display: block; }
@media (min-width: 1024px) { .mds-brand-theme .mds-hdr__logo img { height: 3.3125rem; } }
.mds-brand-theme .mds-nav { display: none; align-items: center; gap: 2.5rem; font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.02em; }
@media (min-width: 1024px) { .mds-brand-theme .mds-nav { display: flex; } }
@media (min-width: 1024px) and (max-width: 1279px) { .mds-brand-theme .mds-nav { gap: 1.75rem; } }
.mds-brand-theme .mds-nav__link, .mds-brand-theme .mds-nav__trigger { position: relative; display: inline-flex; align-items: center; gap: 0.375rem; min-height: 2.75rem; padding: 0; border: 0; background: none; color: #C3C8DA; font: inherit; letter-spacing: inherit; cursor: pointer; text-decoration: none; transition: color 0.2s ease; }
.mds-brand-theme .mds-nav__link:hover, .mds-brand-theme .mds-nav__trigger:hover { color: #FFFFFF; }
.mds-brand-theme .mds-nav__trigger svg { transition: transform 0.25s ease, stroke 0.25s ease; }
.mds-brand-theme .mds-nav__trigger::after { content: ""; position: absolute; left: 0; right: 0; bottom: -0.625rem; height: 2px; border-radius: 2px; background: var(--mds-grad-line); opacity: 0; transition: opacity 0.2s ease; }
@media (min-width: 1024px) { .mds-brand-theme .mds-nav__trigger::after { bottom: -1.375rem; } }
.mds-brand-theme .mds-nav__trigger[aria-expanded="true"] { color: #FFFFFF; }
.mds-brand-theme .mds-nav__trigger[aria-expanded="true"]::after { opacity: 1; }
.mds-brand-theme .mds-nav__trigger[aria-expanded="true"] svg { transform: rotate(180deg); stroke: #19E3C6; }
.mds-brand-theme .mds-nav__item { position: relative; }
.mds-brand-theme .mds-hdr__end { display: flex; align-items: center; gap: 1.375rem; }
.mds-brand-theme .mds-hdr__phone { display: none; align-items: center; gap: 0.625rem; font-family: var(--mds-mono); font-size: 0.875rem; letter-spacing: 0.04em; color: #F2F4FA; text-decoration: none; }
@media (min-width: 1280px) { .mds-brand-theme .mds-hdr__phone { display: inline-flex; } }
.mds-brand-theme .mds-hdr__phone:hover { color: #19E3C6; }
.mds-brand-theme .mds-dot { display: inline-block; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #19E3C6; animation: mdsPulse 1.8s ease-out infinite; flex-shrink: 0; }
.mds-brand-theme .mds-hdr__cta { display: none; align-items: center; min-height: 3rem; padding: 0 1.625rem; border-radius: 999px; background: var(--mds-grad-btn); color: #FFFFFF; font-family: var(--mds-head); font-size: 0.875rem; font-weight: 600; letter-spacing: 0.04em; text-decoration: none; white-space: nowrap; transition: transform 0.25s ease, box-shadow 0.25s ease; }
@media (min-width: 640px) { .mds-brand-theme .mds-hdr__cta { display: inline-flex; } }
.mds-brand-theme .mds-hdr__cta:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 50px -12px rgba(145, 29, 160, 0.75); }
.mds-brand-theme .mds-hdr__burger { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.18); background: transparent; color: #F2F4FA; cursor: pointer; }
@media (min-width: 1024px) { .mds-brand-theme .mds-hdr__burger { display: none; } }
/* one-tap call below the width where the number itself fits */
.mds-brand-theme .mds-hdr__call { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: 999px; border: 1px solid rgba(25, 227, 198, 0.4); background: rgba(25, 227, 198, 0.08); text-decoration: none; }
.mds-brand-theme .mds-hdr__call:hover { border-color: #19E3C6; }
@media (min-width: 1280px) { .mds-brand-theme .mds-hdr__call { display: none; } }

/* the page dims while a menu is open */
.mds-brand-theme .mds-scrim { position: fixed; inset: 0; z-index: 55; background: rgba(5, 6, 11, 0.85); opacity: 0; pointer-events: none; transition: opacity 0.25s ease; }
.mds-brand-theme .mds-scrim.is-on { opacity: 1; pointer-events: auto; }

/* panels */
.mds-brand-theme .mds-panel { position: absolute; z-index: 61; top: 100%; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s; color: #F2F4FA; font-weight: 400; letter-spacing: 0; text-align: left; }
.mds-brand-theme .mds-panel.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 0.22s ease, transform 0.22s ease; }
.mds-brand-theme .mds-panel--wide { left: 0; right: 0; background: #0A0C18; border-bottom: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 60px 120px -30px rgba(0, 0, 0, 0.9); max-height: calc(100vh - 6.5rem); overflow-y: auto; }
.mds-brand-theme .mds-panel--wide::before { content: ""; display: block; height: 2px; background: linear-gradient(90deg, rgba(25, 227, 198, 0) 0%, #19E3C6 20%, #3B6BFF 50%, #911DA0 80%, rgba(145, 29, 160, 0) 100%); opacity: 0.7; }
.mds-brand-theme .mds-panel__inner { max-width: var(--mds-wide); margin: 0 auto; padding: 2.75rem 2.5rem 2.5rem; display: flex; gap: 2.5rem; }
.mds-brand-theme .mds-panel__main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1.5rem; }
.mds-brand-theme .mds-panel__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.mds-brand-theme .mds-panel__eyebrow { font-family: var(--mds-mono); font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: #19E3C6; }
.mds-brand-theme .mds-panel__all { font-family: var(--mds-head); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #C3C8DA; text-decoration: none; }
.mds-brand-theme .mds-panel__all:hover { color: #19E3C6; }
.mds-brand-theme .mds-panel__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
.mds-brand-theme .mds-panel__cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mds-brand-theme .mds-dd-item { display: flex; gap: 1.125rem; padding: 1.375rem; border-radius: 1.125rem; border: 1px solid rgba(255, 255, 255, 0.06); background: rgba(255, 255, 255, 0.015); color: #F2F4FA; text-decoration: none; transition: background 0.25s ease, border-color 0.25s ease; }
.mds-brand-theme .mds-dd-item:hover, .mds-brand-theme .mds-dd-item:focus-visible { background: rgba(255, 255, 255, 0.05); border-color: rgba(25, 227, 198, 0.45); color: #F2F4FA; outline: none; }
.mds-brand-theme .mds-dd-item__ico { flex: 0 0 3rem; width: 3rem; height: 3rem; border-radius: 0.875rem; display: flex; align-items: center; justify-content: center; }
.mds-brand-theme .mds-tone-blue { background: rgba(59, 107, 255, 0.14); border: 1px solid rgba(59, 107, 255, 0.4); color: #6E8BFF; }
.mds-brand-theme .mds-tone-purple { background: rgba(145, 29, 160, 0.2); border: 1px solid rgba(222, 139, 234, 0.45); color: #DE8BEA; }
.mds-brand-theme .mds-tone-teal { background: rgba(25, 227, 198, 0.12); border: 1px solid rgba(25, 227, 198, 0.4); color: #19E3C6; }
.mds-brand-theme .mds-dd-item__txt { display: flex; flex-direction: column; gap: 0.375rem; min-width: 0; flex: 1; }
.mds-brand-theme .mds-dd-item__label { display: flex; align-items: center; gap: 0.5rem; font-family: var(--mds-head); font-size: 1.125rem; font-weight: 600; }
.mds-brand-theme .mds-dd-item__desc { font-size: 0.875rem; line-height: 1.5; color: #A9B0C6; }
.mds-brand-theme .mds-dd-item__go { align-self: center; flex-shrink: 0; color: #19E3C6; opacity: 0; transform: translateX(-4px); transition: opacity 0.25s ease, transform 0.25s ease; }
.mds-brand-theme .mds-dd-item:hover .mds-dd-item__go, .mds-brand-theme .mds-dd-item:focus-visible .mds-dd-item__go { opacity: 1; transform: none; }
.mds-brand-theme .mds-badge-new { font-family: var(--mds-mono); font-size: 0.625rem; font-weight: 500; letter-spacing: 0.12em; padding: 0.125rem 0.5rem; border-radius: 999px; border: 1px solid rgba(25, 227, 198, 0.5); color: #19E3C6; }
.mds-brand-theme .mds-panel__more { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; padding-top: 1.375rem; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.mds-brand-theme .mds-panel__more-label { font-family: var(--mds-mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: #8C93AB; margin-right: 0.75rem; }
.mds-brand-theme .mds-pill { display: inline-flex; align-items: center; gap: 0.625rem; min-height: 2.75rem; padding: 0 1.25rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.14); color: #E3E6F0; font-family: var(--mds-head); font-size: 0.875rem; font-weight: 500; text-decoration: none; transition: border-color 0.25s ease, color 0.25s ease; }
.mds-brand-theme .mds-pill:hover, .mds-brand-theme .mds-pill:focus-visible { border-color: #19E3C6; color: #FFFFFF; }
.mds-brand-theme .mds-feature { flex: 0 1 27.5rem; min-width: 18.75rem; position: relative; overflow: hidden; border-radius: 1.375rem; border: 1px solid rgba(25, 227, 198, 0.3); background: #04131D; min-height: 25rem; display: flex; flex-direction: column; justify-content: flex-end; padding: 2rem; color: #F2F4FA; text-decoration: none; }
.mds-brand-theme .mds-feature > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transition: transform 0.6s ease; }
.mds-brand-theme .mds-feature:hover > img { transform: scale(1.04); }
.mds-brand-theme .mds-feature::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(4, 19, 29, 0) 25%, rgba(4, 19, 29, 0.92) 78%); }
.mds-brand-theme .mds-feature__body { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 0.75rem; }
.mds-brand-theme .mds-feature__eyebrow { align-self: flex-start; padding: 0.375rem 0.75rem; border-radius: 999px; border: 1px solid rgba(25, 227, 198, 0.5); background: rgba(4, 19, 29, 0.6); font-family: var(--mds-mono); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: #19E3C6; }
.mds-brand-theme .mds-feature__title { font-family: var(--mds-head); font-size: 1.875rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.mds-brand-theme .mds-feature__text { font-size: 0.9375rem; line-height: 1.55; color: #C3C8DA; }
.mds-brand-theme .mds-feature__cta { display: inline-flex; align-items: center; gap: 0.625rem; font-family: var(--mds-head); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #FFFFFF; }
.mds-brand-theme .mds-feature--quote { flex: 0 0 18.75rem; min-width: 0; min-height: 21.25rem; border-color: transparent; background: #0D1020; padding: 1.5rem; }
.mds-brand-theme .mds-feature--quote > img { object-position: 62% 50%; }
.mds-brand-theme .mds-feature--quote::before { background: linear-gradient(180deg, rgba(5, 6, 11, 0) 30%, rgba(5, 6, 11, 0.9) 80%); }
.mds-brand-theme .mds-feature--quote .mds-feature__title { font-size: 1.1875rem; font-weight: 500; line-height: 1.35; letter-spacing: 0; }
.mds-brand-theme .mds-feature--quote .mds-feature__text { font-size: 0.8125rem; }
.mds-brand-theme .mds-panel--compact { left: 50%; width: 48.75rem; max-width: calc(100vw - 2rem); margin-left: -16.25rem; border-radius: 1.375rem; overflow: hidden; background: #0A0C18; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 60px 120px -30px rgba(0, 0, 0, 0.95); top: calc(100% + 1.75rem); }
.mds-brand-theme .mds-panel--compact::before { content: ""; display: block; height: 2px; background: var(--mds-grad-line); }
.mds-brand-theme .mds-panel--compact::after { content: ""; position: absolute; left: 0; right: 0; top: -1.75rem; height: 1.75rem; }
.mds-brand-theme .mds-panel--compact .mds-panel__inner { padding: 1.75rem; gap: 1.75rem; }
.mds-brand-theme .mds-panel--compact .mds-panel__list { flex: 1 1 auto; display: flex; flex-direction: column; gap: 0.625rem; }
.mds-brand-theme .mds-panel--compact .mds-panel__eyebrow { padding: 0 0.25rem 0.5rem; }
.mds-brand-theme .mds-panel--compact .mds-dd-item { align-items: center; gap: 1rem; padding: 1.125rem; border-radius: 1rem; }
.mds-brand-theme .mds-panel--compact .mds-dd-item__ico { flex-basis: 2.75rem; width: 2.75rem; height: 2.75rem; border-radius: 0.75rem; }
.mds-brand-theme .mds-panel--compact .mds-dd-item__label { font-size: 1.0625rem; }
.mds-brand-theme .mds-panel__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.875rem 1.75rem; border-top: 1px solid rgba(255, 255, 255, 0.08); background: rgba(255, 255, 255, 0.02); }
.mds-brand-theme .mds-panel__foot span { font-size: 0.875rem; color: #A9B0C6; }
.mds-brand-theme .mds-panel__foot a { display: inline-flex; align-items: center; gap: 0.625rem; min-height: 2.75rem; font-family: var(--mds-mono); font-size: 0.875rem; letter-spacing: 0.04em; color: #FFFFFF; text-decoration: none; }
.mds-brand-theme .mds-panel__foot a:hover { color: #19E3C6; }
@media (max-width: 1279px) { .mds-brand-theme .mds-feature:not(.mds-feature--quote) { display: none; } .mds-brand-theme .mds-panel--compact { margin-left: -24rem; } }

/* mobile drawer */
.mds-brand-theme .mds-drawer { position: fixed; inset: 0; z-index: 80; }
@media (min-width: 1024px) { .mds-brand-theme .mds-drawer { display: none; } }
.mds-brand-theme .mds-drawer__scrim { position: absolute; inset: 0; background: rgba(5, 6, 11, 0.85); }
.mds-brand-theme .mds-drawer__sheet { position: absolute; inset: 0 0 0 auto; width: min(26rem, 100%); display: flex; flex-direction: column; overflow-y: auto; background: #0A0C18; border-left: 1px solid rgba(255, 255, 255, 0.08); color: #F2F4FA; font-family: var(--mds-sans); }
.mds-brand-theme .mds-drawer__top { display: flex; align-items: center; justify-content: space-between; padding: 0.875rem 1rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.mds-brand-theme .mds-drawer__top img { height: 2.25rem; width: auto; }
.mds-brand-theme .mds-drawer__body { flex: 1; padding: 0.5rem 1rem 1rem; }
.mds-brand-theme .mds-acc { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.mds-brand-theme .mds-acc > summary { display: flex; align-items: center; justify-content: space-between; min-height: 3.5rem; cursor: pointer; list-style: none; font-family: var(--mds-head); font-size: 1.125rem; font-weight: 600; color: #F2F4FA; }
.mds-brand-theme .mds-acc > summary::-webkit-details-marker { display: none; }
.mds-brand-theme .mds-acc > summary svg { transition: transform 0.25s ease; color: #8C93AB; }
.mds-brand-theme .mds-acc[open] > summary { background: linear-gradient(90deg, #19E3C6, #3B6BFF 50%, #911DA0) left bottom / 2.5rem 2px no-repeat; }
.mds-brand-theme .mds-acc[open] > summary svg { transform: rotate(180deg); color: #19E3C6; }
.mds-brand-theme .mds-acc__group { padding: 0.25rem 0 1rem; }
.mds-brand-theme .mds-acc__heading { display: block; padding: 0.75rem 0 0.375rem; font-family: var(--mds-mono); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: #19E3C6; }
.mds-brand-theme .mds-acc .mds-dd-item { padding: 0.875rem; gap: 0.875rem; align-items: center; margin-top: 0.5rem; border-radius: 0.875rem; }
.mds-brand-theme .mds-acc .mds-dd-item__ico { flex-basis: 2.5rem; width: 2.5rem; height: 2.5rem; border-radius: 0.75rem; }
.mds-brand-theme .mds-acc .mds-dd-item__label { font-size: 1rem; }
.mds-brand-theme .mds-acc .mds-dd-item__desc { font-size: 0.8125rem; }
.mds-brand-theme .mds-acc__links { display: flex; flex-wrap: wrap; gap: 0.5rem; padding-top: 0.75rem; }
.mds-brand-theme .mds-drawer__link { display: flex; align-items: center; min-height: 3.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08); font-family: var(--mds-head); font-size: 1.125rem; font-weight: 600; color: #F2F4FA; text-decoration: none; }
.mds-brand-theme .mds-drawer__foot { display: grid; gap: 0.75rem; padding: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.mds-brand-theme .mds-drawer__foot .mds-hdr__cta { display: flex; justify-content: center; min-height: 3.25rem; }
.mds-brand-theme .mds-drawer__foot .mds-hdr__phone { display: flex; justify-content: center; min-height: 3.25rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.18); }

/* footer */
.mds-brand-theme .mds-ftr { border-top: 1px solid rgba(255, 255, 255, 0.08); background: #04050A; padding: 4rem 0 2rem; color: #C3C8DA; font-family: var(--mds-sans); }
@media (min-width: 768px) { .mds-brand-theme .mds-ftr { padding: 5.625rem 0 2.5rem; } }
.mds-brand-theme .mds-ftr__wrap { max-width: var(--mds-wide); margin: 0 auto; padding: 0 1rem; display: flex; flex-direction: column; gap: 3.5rem; }
@media (min-width: 640px) { .mds-brand-theme .mds-ftr__wrap { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .mds-brand-theme .mds-ftr__wrap { padding: 0 2.5rem; gap: 4.375rem; } }
.mds-brand-theme .mds-ftr__top { display: flex; flex-wrap: wrap; gap: 3rem 4rem; justify-content: space-between; }
.mds-brand-theme .mds-ftr__brand { flex: 1 1 20rem; max-width: 27.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.mds-brand-theme .mds-ftr__brand img { height: 3.375rem; width: auto; align-self: flex-start; }
.mds-brand-theme .mds-ftr__brand p { margin: 0; font-size: 1rem; line-height: 1.7; color: #8C93AB; }
.mds-brand-theme .mds-ftr__addr { font-style: normal; font-size: 0.9375rem; line-height: 1.6; color: #8C93AB; }
.mds-brand-theme .mds-ftr__social { display: flex; gap: 0.75rem; }
.mds-brand-theme .mds-ftr__social a { width: 2.875rem; height: 2.875rem; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.14); display: flex; align-items: center; justify-content: center; color: #C3C8DA; transition: border-color 0.25s ease, color 0.25s ease; }
.mds-brand-theme .mds-ftr__social a:hover { border-color: #19E3C6; color: #FFFFFF; }
.mds-brand-theme .mds-ftr__cols { flex: 2 1 40rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 2rem; }
@media (min-width: 768px) { .mds-brand-theme .mds-ftr__cols { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 3rem; } }
.mds-brand-theme .mds-ftr__col { display: flex; flex-direction: column; gap: 0.875rem; min-width: 0; }
.mds-brand-theme .mds-ftr__col h2 { font-family: var(--mds-mono) !important; font-size: 0.75rem !important; font-weight: 500 !important; letter-spacing: 0.14em !important; text-transform: uppercase; color: #19E3C6 !important; margin: 0 0 0.25rem !important; line-height: 1.4 !important; }
.mds-brand-theme .mds-ftr__col a { color: #C3C8DA; font-size: 1rem; text-decoration: none; transition: color 0.2s; }
.mds-brand-theme .mds-ftr__col a:hover { color: #19E3C6; }
.mds-brand-theme .mds-ftr__col a.mds-ftr__tel { font-family: var(--mds-head); color: #F2F4FA; font-size: 1.5rem; font-weight: 600; letter-spacing: -0.01em; }
.mds-brand-theme .mds-ftr__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.25rem; padding-top: 1.75rem; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.875rem; color: #7A8199; }
.mds-brand-theme .mds-ftr__legal { display: flex; flex-wrap: wrap; gap: 0.75rem 1.75rem; list-style: none; margin: 0; padding: 0; }
.mds-brand-theme .mds-ftr__legal a { color: #8C93AB; text-decoration: none; }
.mds-brand-theme .mds-ftr__legal a:hover { color: #19E3C6; }

/* ════════════════════════════════════════════════════════════════════════
 * HOMEPAGE
 * ════════════════════════════════════════════════════════════════════════ */
.mds-brand-theme .mds-home { background: var(--mds-night); color: var(--ink); overflow-x: clip; }
.mds-brand-theme .mds-wrap { max-width: var(--mds-wide); margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .mds-brand-theme .mds-wrap { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .mds-brand-theme .mds-wrap { padding: 0 2.5rem; } }
.mds-brand-theme .mds-sec { position: relative; padding: 5rem 0; overflow: hidden; }
@media (min-width: 1024px) { .mds-brand-theme .mds-sec { padding: 7.5rem 0; } }
.mds-brand-theme .mds-sec--white { background: #FFFFFF; }
.mds-brand-theme .mds-sec--paper { background: var(--mds-paper); }
.mds-brand-theme .mds-sec--night2 { background: var(--mds-night-2); }
.mds-brand-theme .mds-glow { position: absolute; border-radius: 50%; pointer-events: none; }
.mds-brand-theme .mds-sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 3.5rem; }
.mds-brand-theme .mds-sec-head--center { flex-direction: column; align-items: center; text-align: center; }
.mds-brand-theme .mds-sec-head--center .mds-lead { margin-left: auto; margin-right: auto; }
.mds-brand-theme .mds-h2x { font-family: var(--mds-head); font-size: clamp(2.25rem, 4vw, 4.25rem) !important; font-weight: 600 !important; line-height: 1.05 !important; letter-spacing: -0.03em !important; }
.mds-brand-theme .mds-h3x { font-family: var(--mds-head); font-size: clamp(1.75rem, 2.6vw, 2.75rem) !important; font-weight: 600 !important; line-height: 1.1 !important; letter-spacing: -0.025em !important; }
.mds-brand-theme .mds-dim { color: var(--soft); }

/* hero */
.mds-brand-theme .mds-hhero { position: relative; padding: 4.5rem 0 5rem; overflow: hidden; }
@media (min-width: 1024px) { .mds-brand-theme .mds-hhero { padding: 6.875rem 0 7.5rem; } }
.mds-brand-theme .mds-hhero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mds-brand-theme .mds-hhero__veil { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(5, 6, 11, 0.97) 0%, rgba(5, 6, 11, 0.88) 42%, rgba(5, 6, 11, 0.55) 100%); background-size: 72px 72px, 72px 72px, 100% 100%; }
@media (max-width: 1023px) { .mds-brand-theme .mds-hhero__veil { background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(180deg, rgba(5, 6, 11, 0.9) 0%, rgba(5, 6, 11, 0.8) 100%); } }
.mds-brand-theme .mds-hhero__fade { position: absolute; left: 0; right: 0; bottom: 0; height: 13.75rem; background: linear-gradient(180deg, rgba(5, 6, 11, 0), #05060B); }
.mds-brand-theme .mds-hhero__grid { position: relative; display: grid; gap: 4rem; align-items: center; }
@media (min-width: 1200px) { .mds-brand-theme .mds-hhero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); } }
.mds-brand-theme .mds-hhero__copy { display: flex; flex-direction: column; gap: 2rem; min-width: 0; }
@media (min-width: 1024px) { .mds-brand-theme .mds-hhero__copy { gap: 2.25rem; } }
.mds-brand-theme .mds-hhero__pill { display: inline-flex; flex-wrap: wrap; align-self: flex-start; align-items: center; gap: 0.75rem; padding: 0.625rem 1.125rem 0.625rem 0.75rem; border-radius: 1.5rem; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.04); font-family: var(--mds-mono); font-size: 0.75rem; letter-spacing: 0.08em; color: #C3C8DA; text-transform: uppercase; }
@media (min-width: 640px) { .mds-brand-theme .mds-hhero__pill { font-size: 0.8125rem; border-radius: 999px; } }
.mds-brand-theme .mds-hhero__pill b { padding: 0.25rem 0.625rem; border-radius: 999px; background: rgba(25, 227, 198, 0.14); color: #19E3C6; font-weight: 500; }
.mds-brand-theme .mds-hhero h1 { font-family: var(--mds-head); font-weight: 700 !important; font-size: clamp(2.75rem, 6.4vw, 7.375rem) !important; line-height: 0.98 !important; letter-spacing: -0.035em !important; color: #F2F4FA !important; }
.mds-brand-theme .mds-hhero h1 span { display: block; }
.mds-brand-theme .mds-gradtext { background: var(--mds-grad); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.mds-brand-theme .mds-hhero__sub { max-width: 38.75rem; font-size: clamp(1.125rem, 1.4vw, 1.375rem); line-height: 1.55; color: #A9B0C6; }
.mds-brand-theme .mds-hhero__ctas { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.mds-brand-theme .mds-hhero__ctas .mds-btn { min-height: 3.75rem; padding: 0 2.125rem; font-size: 1rem; }
@media (max-width: 639px) { .mds-brand-theme .mds-hhero__ctas .mds-btn { width: 100%; } }
.mds-brand-theme .mds-hhero__row { display: flex; flex-wrap: wrap; gap: 0.875rem 1.75rem; padding-top: 1.125rem; border-top: 1px solid rgba(255, 255, 255, 0.08); font-family: var(--mds-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: #8C93AB; list-style: none; margin: 0; }
@media (min-width: 640px) { .mds-brand-theme .mds-hhero__row { font-size: 0.8125rem; } }
.mds-brand-theme .mds-hhero__row li { display: flex; align-items: center; gap: 0.625rem; }
.mds-brand-theme .mds-hhero__row li::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: #3B6BFF; }
.mds-brand-theme .mds-hhero__row li:nth-child(4n+2)::before { background: #911DA0; }
.mds-brand-theme .mds-hhero__row li:nth-child(4n+3)::before { background: #19E3C6; }
.mds-brand-theme .mds-hhero__row li:nth-child(4n)::before { background: #F2F4FA; }
/* the row is the audience switcher: a "Built for" label, then one link per audience page */
.mds-brand-theme .mds-hhero__row li.is-label::before { display: none; }
.mds-brand-theme .mds-hhero__row li.is-label { color: #5A6178; }
.mds-brand-theme .mds-hhero__row a { color: #C3C8DA; text-decoration: none; min-height: 1.75rem; display: inline-flex; align-items: center; transition: color 0.2s ease; }
.mds-brand-theme .mds-hhero__row a:hover, .mds-brand-theme .mds-hhero__row a:focus-visible { color: #19E3C6; }
.mds-brand-theme .mds-wall { position: relative; min-width: 0; height: 22rem; perspective: 1800px; }
@media (min-width: 640px) { .mds-brand-theme .mds-wall { height: 32rem; } }
@media (min-width: 1200px) { .mds-brand-theme .mds-wall { height: 47.5rem; } }
.mds-brand-theme .mds-wall__tilt { position: absolute; inset: 0; transform: rotateX(18deg) rotateY(-22deg) rotateZ(4deg); transform-style: preserve-3d; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; align-content: center; list-style: none; margin: 0; padding: 0; }
@media (min-width: 1024px) { .mds-brand-theme .mds-wall__tilt { gap: 1.375rem; } }
.mds-brand-theme .mds-wall__tilt li { border-radius: 0.75rem; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.14); background: #0D1020; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.85); }
.mds-brand-theme .mds-wall__tilt img { display: block; width: 100%; aspect-ratio: 1920 / 910; object-fit: cover; }
.mds-brand-theme .mds-hud { position: absolute; z-index: 2; border-radius: 1.125rem; background: rgba(13, 16, 32, 0.82); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); color: #F2F4FA; }
.mds-brand-theme .mds-hud--a { left: 0; bottom: 1rem; width: min(18.75rem, 80%); padding: 1.25rem 1.375rem; border: 1px solid rgba(25, 227, 198, 0.35); box-shadow: 0 30px 80px -20px rgba(25, 227, 198, 0.35); display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 1200px) { .mds-brand-theme .mds-hud--a { left: -0.625rem; bottom: 4.375rem; } }
.mds-brand-theme .mds-hud--b { right: 0.625rem; top: 1rem; padding: 1rem 1.25rem; border: 1px solid rgba(145, 29, 160, 0.4); display: none; align-items: center; gap: 0.875rem; }
@media (min-width: 640px) { .mds-brand-theme .mds-hud--b { display: flex; } }
@media (min-width: 1200px) { .mds-brand-theme .mds-hud--b { top: 3.75rem; } }
.mds-brand-theme .mds-hud__k { font-family: var(--mds-mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: #19E3C6; display: flex; justify-content: space-between; align-items: center; }
.mds-brand-theme .mds-hud__t { font-family: var(--mds-head); font-size: 1.125rem; font-weight: 600; }
.mds-brand-theme .mds-hud__s { display: flex; align-items: center; gap: 0.625rem; font-size: 0.8125rem; color: #A9B0C6; }
.mds-brand-theme .mds-hud__ico { width: 2.5rem; height: 2.5rem; border-radius: 0.75rem; background: linear-gradient(135deg, #911DA0, #3B6BFF); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* logo strip */
.mds-brand-theme .mds-strip { background: #FFFFFF; padding: 3rem 0; border-bottom: 1px solid #E6E9F2; color: #0A0C18; }
.mds-brand-theme .mds-strip__in { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 3rem; }
.mds-brand-theme .mds-strip__label { font-family: var(--mds-mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: #5A6178; flex: 0 0 auto; max-width: 13rem; line-height: 1.6; }
.mds-brand-theme .mds-strip__names { flex: 1 1 40rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2.75rem; list-style: none; margin: 0; padding: 0; }
.mds-brand-theme .mds-strip__names li { font-family: var(--mds-head); font-size: clamp(0.9375rem, 1.1vw, 1.1875rem); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #4A5068; }
.mds-brand-theme .mds-strip__names li:last-child { background: var(--mds-grad-ink); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* intro */
.mds-brand-theme .mds-intro { display: grid; gap: 3.5rem; align-items: center; }
@media (min-width: 1100px) { .mds-brand-theme .mds-intro { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 5rem; } }
.mds-brand-theme .mds-intro h2 em { font-style: normal; color: #3B6BFF; }
.mds-brand-theme .mds-intro .mds-lead { max-width: 55rem; color: #4A5068; }
.mds-brand-theme .mds-collage { position: relative; height: 22rem; }
@media (min-width: 640px) { .mds-brand-theme .mds-collage { height: 37.5rem; } }
.mds-brand-theme .mds-collage__a { position: absolute; left: 0; top: 0; right: 4rem; bottom: 3rem; border-radius: 1.75rem; overflow: hidden; background: #DCE6F0; }
@media (min-width: 640px) { .mds-brand-theme .mds-collage__a { right: 7.5rem; bottom: 5rem; } }
.mds-brand-theme .mds-collage__a img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 40% 62%; }
.mds-brand-theme .mds-collage__b { position: absolute; right: 0; bottom: 0; width: min(23.75rem, 55%); border-radius: 1.125rem; overflow: hidden; border: 6px solid #FFFFFF; box-shadow: 0 40px 80px -30px rgba(10, 12, 24, 0.5); background: #0D1020; }
.mds-brand-theme .mds-collage__b img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 35% 45%; }
.mds-brand-theme .mds-flow4 { margin-top: 5rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); border: 1px solid #E3E7F0; border-radius: 1.5rem; overflow: hidden; background: #F6F8FC; list-style: none; padding: 0; }
@media (min-width: 1024px) { .mds-brand-theme .mds-flow4 { margin-top: 5.625rem; } }
.mds-brand-theme .mds-flow4 li { padding: 2.5rem 2.25rem; display: flex; flex-direction: column; gap: 1.125rem; border-right: 1px solid #E3E7F0; border-bottom: 1px solid #E3E7F0; margin: 0 -1px -1px 0; }
.mds-brand-theme .mds-flow4__k { font-family: var(--mds-mono); font-size: 0.8125rem; letter-spacing: 0.1em; color: #0B8273; text-transform: uppercase; }
.mds-brand-theme .mds-flow4__bar { height: 3px; width: 100%; border-radius: 3px; background: linear-gradient(90deg, #19E3C6, rgba(25, 227, 198, 0)); }
.mds-brand-theme .mds-flow4 li:nth-child(2) .mds-flow4__k { color: #2F5BEA; }
.mds-brand-theme .mds-flow4 li:nth-child(2) .mds-flow4__bar { background: linear-gradient(90deg, #3B6BFF, rgba(59, 107, 255, 0)); }
.mds-brand-theme .mds-flow4 li:nth-child(3) .mds-flow4__k { color: #911DA0; }
.mds-brand-theme .mds-flow4 li:nth-child(3) .mds-flow4__bar { background: linear-gradient(90deg, #911DA0, rgba(145, 29, 160, 0)); }
.mds-brand-theme .mds-flow4 li:nth-child(4) .mds-flow4__k { color: #0A0C18; }
.mds-brand-theme .mds-flow4 li:nth-child(4) .mds-flow4__bar { background: var(--mds-grad-line); }
.mds-brand-theme .mds-flow4__v { font-family: var(--mds-head); font-size: clamp(1.75rem, 2.4vw, 2.5rem); font-weight: 600; letter-spacing: -0.02em; color: #0A0C18; }
.mds-brand-theme .mds-flow4__l { font-size: 1rem; line-height: 1.6; color: #5A6178; }

/* solutions bento */
.mds-brand-theme .mds-bento { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.mds-brand-theme .mds-sol { position: relative; overflow: hidden; flex: 1 1 22rem; min-width: 0; min-height: 27.5rem; border-radius: 1.75rem; border: 1px solid rgba(255, 255, 255, 0.09); background: #0B0D19; padding: 2rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1.75rem; color: #F2F4FA; text-decoration: none; transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease; }
@media (min-width: 1024px) { .mds-brand-theme .mds-sol { padding: 2.75rem; } }
.mds-brand-theme .mds-sol:hover { transform: translateY(-6px); border-color: rgba(25, 227, 198, 0.45); box-shadow: 0 30px 80px -30px rgba(59, 107, 255, 0.55); color: #F2F4FA; }
.mds-brand-theme .mds-sol--web { flex: 7 1 40rem; min-height: 32.5rem; background: linear-gradient(160deg, #10142A 0%, #0A0C18 70%); flex-direction: row; flex-wrap: wrap; gap: 2.5rem; }
.mds-brand-theme .mds-sol--vr { flex: 5 1 28.75rem; min-height: 32.5rem; background: linear-gradient(160deg, #15102A 0%, #0A0C18 70%); }
.mds-brand-theme .mds-sol--ai { flex: 1 1 100%; min-height: 35rem; border-color: rgba(25, 227, 198, 0.3); background: #04131D; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 3.5rem; }
@media (min-width: 1024px) { .mds-brand-theme .mds-sol--ai { padding: 3.5rem; } }
.mds-brand-theme .mds-sol__col { flex: 1 1 20rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1.25rem; position: relative; z-index: 1; }
.mds-brand-theme .mds-sol__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; position: relative; z-index: 1; }
.mds-brand-theme .mds-sol__ico { width: 3.5rem; height: 3.5rem; border-radius: 1rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mds-brand-theme .mds-sol__num { font-family: var(--mds-mono); font-size: 0.75rem; letter-spacing: 0.14em; }
.mds-brand-theme .mds-sol h3 { font-family: var(--mds-head); font-size: clamp(1.75rem, 2.2vw, 2.375rem) !important; font-weight: 600 !important; letter-spacing: -0.02em !important; color: #F2F4FA !important; }
.mds-brand-theme .mds-sol p { font-size: 1.125rem; line-height: 1.6; color: #A9B0C6; }
.mds-brand-theme .mds-sol__copy { display: flex; flex-direction: column; gap: 1rem; position: relative; z-index: 1; }
.mds-brand-theme .mds-more { display: inline-flex; align-items: center; gap: 0.625rem; min-height: 2.75rem; font-family: var(--mds-head); font-size: 0.875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: currentColor; transition: gap 0.25s ease; }
.mds-brand-theme .mds-sol .mds-more { color: #FFFFFF; }
.mds-brand-theme .mds-sol:hover .mds-more, .mds-brand-theme a.mds-more:hover { gap: 0.875rem; }
.mds-brand-theme .mds-sol__shot { flex: 1.3 1 23.75rem; min-width: 0; align-self: center; border-radius: 1rem; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.12); background: #0D1020; box-shadow: 0 40px 80px -30px rgba(59, 107, 255, 0.6); }
.mds-brand-theme .mds-sol__bar { display: flex; align-items: center; gap: 0.375rem; padding: 0.75rem 1rem; background: #141831; }
.mds-brand-theme .mds-sol__bar i { width: 9px; height: 9px; border-radius: 50%; background: #3A3F5C; }
.mds-brand-theme .mds-sol__url { margin-left: 0.625rem; flex: 1; height: 1.625rem; border-radius: 0.8125rem; background: rgba(255, 255, 255, 0.06); display: flex; align-items: center; gap: 0.5rem; padding: 0 0.75rem; font-family: var(--mds-mono); font-size: 0.75rem; color: #C3C8DA; overflow: hidden; white-space: nowrap; }
.mds-brand-theme .mds-sol__shot img { display: block; width: 100%; aspect-ratio: 1920 / 910; object-fit: cover; }
.mds-brand-theme .mds-radar { position: absolute; right: -5.625rem; top: -5.625rem; width: 22.5rem; height: 22.5rem; border-radius: 50%; border: 1px solid rgba(145, 29, 160, 0.35); pointer-events: none; }
.mds-brand-theme .mds-radar i { position: absolute; border-radius: 50%; }
.mds-brand-theme .mds-radar__r1 { inset: 3.125rem; border: 1px solid rgba(145, 29, 160, 0.3); }
.mds-brand-theme .mds-radar__r2 { inset: 6.25rem; border: 1px solid rgba(25, 227, 198, 0.35); }
.mds-brand-theme .mds-radar__sweep { inset: 0; background: conic-gradient(from 0deg, rgba(145, 29, 160, 0.45), rgba(145, 29, 160, 0) 25%); animation: mdsSweep 6s linear infinite; }
.mds-brand-theme .mds-radar__d1 { left: 5.625rem; top: 13.125rem; width: 10px; height: 10px; background: #19E3C6; box-shadow: 0 0 18px #19E3C6; }
.mds-brand-theme .mds-radar__d2 { left: 11.875rem; top: 7.5rem; width: 8px; height: 8px; background: #DE8BEA; box-shadow: 0 0 14px #911DA0; }
.mds-brand-theme .mds-radar__d3 { left: 8.75rem; top: 16.875rem; width: 7px; height: 7px; background: #6E8BFF; box-shadow: 0 0 14px #3B6BFF; }
.mds-brand-theme .mds-bars { display: flex; flex-direction: column; gap: 0.625rem; }
.mds-brand-theme .mds-bars i { height: 10px; border-radius: 6px; }
.mds-brand-theme .mds-search { display: flex; align-items: center; gap: 0.75rem; padding: 0.875rem 1.125rem; border-radius: 0.875rem; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1); font-family: var(--mds-mono); font-size: 0.875rem; color: #C3C8DA; }
.mds-brand-theme .mds-search i { margin-left: auto; width: 2px; height: 1.125rem; background: #19E3C6; }
.mds-brand-theme .mds-swatches { display: flex; gap: 0.75rem; align-items: center; }
.mds-brand-theme .mds-swatches i { width: 2.5rem; height: 2.5rem; border-radius: 50%; }
.mds-brand-theme .mds-sol__aiimg { position: absolute; right: 0; top: 0; z-index: 0; width: 64%; height: 100%; object-fit: cover; }
.mds-brand-theme .mds-sol--ai > .mds-sol__copy, .mds-brand-theme .mds-sol--ai > .mds-sol__panel { z-index: 2; }
.mds-brand-theme .mds-sol--ai::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, #04131D 0%, #04131D 36%, rgba(4, 19, 29, 0.55) 52%, rgba(4, 19, 29, 0) 72%); }
@media (max-width: 767px) { .mds-brand-theme .mds-sol__aiimg { width: 100%; opacity: 0.35; } }
.mds-brand-theme .mds-sol__panel { position: relative; z-index: 1; flex: 1 1 22rem; max-width: 35rem; padding: 1.625rem 1.75rem; border-radius: 1.25rem; background: rgba(5, 6, 11, 0.7); border: 1px solid rgba(255, 255, 255, 0.12); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); display: flex; flex-direction: column; gap: 0.875rem; }
.mds-brand-theme .mds-sol__panel b { font-family: var(--mds-head); font-size: 1.0625rem; font-weight: 600; }
.mds-brand-theme .mds-sol__panel i { display: block; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.12); }
.mds-brand-theme .mds-alsorow { margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; padding: 1.75rem 2rem; border-radius: 1.375rem; border: 1px dashed rgba(255, 255, 255, 0.14); }
.mds-brand-theme .mds-alsorow > span { font-family: var(--mds-mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: #8C93AB; margin-right: 0.75rem; }
.mds-brand-theme .mds-alsocards { margin-top: 1.5rem; display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .mds-brand-theme .mds-alsocards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mds-brand-theme .mds-alsocards .mds-sol { justify-content: flex-start; }
.mds-brand-theme .mds-alsocards--4 { margin-top: 2rem; }
@media (min-width: 768px) { .mds-brand-theme .mds-alsocards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .mds-brand-theme .mds-alsocards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* generic home cards (dark + light aware) */
.mds-brand-theme .mds-hcard { position: relative; border-radius: 1.75rem; border: 1px solid var(--line); background: var(--card); padding: 2rem; color: var(--ink); transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease; }
@media (min-width: 1024px) { .mds-brand-theme .mds-hcard { padding: 2.5rem; } }
.mds-brand-theme .mds-hcard:hover { transform: translateY(-6px); border-color: rgba(25, 227, 198, 0.45); box-shadow: 0 30px 80px -30px rgba(59, 107, 255, 0.55); }
.mds-brand-theme .mds-light .mds-hcard:hover { border-color: rgba(47, 91, 234, 0.4); box-shadow: 0 30px 60px -30px rgba(10, 12, 24, 0.28); }
.mds-brand-theme .mds-hcard h3, .mds-brand-theme .mds-hcard h4 { font-family: var(--mds-head); font-size: 1.375rem !important; font-weight: 600 !important; margin-bottom: 0.75rem !important; letter-spacing: -0.02em; color: var(--ink) !important; }
.mds-brand-theme .mds-hcard p { font-size: 1rem; line-height: 1.65; color: var(--text); }
.mds-brand-theme .mds-hcard__ico { width: 3.5rem; height: 3.5rem; border-radius: 1rem; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; overflow: hidden; }
.mds-brand-theme .mds-hcard__ico img { width: 2.25rem; height: 2.25rem; object-fit: contain; }
.mds-brand-theme .mds-hgrid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .mds-brand-theme .mds-hgrid--2, .mds-brand-theme .mds-hgrid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .mds-brand-theme .mds-hgrid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mds-brand-theme .mds-ticks { list-style: none; display: grid; gap: 0.75rem; margin-top: 1.5rem !important; padding: 0; }
.mds-brand-theme .mds-ticks li { position: relative; padding-left: 1.875rem; font-size: 0.9375rem; line-height: 1.55; color: var(--text); }
.mds-brand-theme .mds-ticks li::before { content: ""; position: absolute; left: 0; top: 0.2rem; width: 1.125rem; height: 1.125rem; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / contain no-repeat; }

/* portfolio */
.mds-brand-theme .mds-port { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0.5rem 0.25rem 1.5rem; list-style: none; margin: 0; scrollbar-width: thin; }
.mds-brand-theme .mds-port li { flex: 0 0 80%; scroll-snap-align: center; }
@media (min-width: 640px) { .mds-brand-theme .mds-port li { flex-basis: 45%; } }
@media (min-width: 1024px) { .mds-brand-theme .mds-port li { flex-basis: 31%; } }
.mds-brand-theme .mds-port a { display: block; }
.mds-brand-theme .mds-port img { width: 100%; height: auto; transition: transform 0.35s ease; }
.mds-brand-theme .mds-port a:hover img { transform: translateY(-4px); }
.mds-brand-theme .mds-port span { display: block; margin-top: 0.75rem; text-align: center; font-family: var(--mds-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--soft); }

/* chat mocks */
.mds-brand-theme .mds-chat { border-radius: 1.5rem; overflow: hidden; border: 1px solid var(--line-strong); background: #0A0C18; box-shadow: 0 40px 80px -30px rgba(59, 107, 255, 0.45); }
.mds-brand-theme .mds-chat__bar { display: flex; align-items: center; gap: 0.625rem; padding: 0.875rem 1.25rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08); background: #0D1020; font-family: var(--mds-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: #C3C8DA; }
.mds-brand-theme .mds-chat__body { display: flex; flex-direction: column; gap: 1rem; padding: 1.25rem; }
.mds-brand-theme .mds-msg { max-width: 85%; border-radius: 1.125rem; padding: 0.875rem 1.125rem; font-size: 0.9375rem; line-height: 1.55; }
.mds-brand-theme .mds-msg--me { align-self: flex-end; border-bottom-right-radius: 0.375rem; background: linear-gradient(100deg, #2F5BEA, #6B2FB8); color: #FFFFFF; }
.mds-brand-theme .mds-msg--ai { align-self: flex-start; border-bottom-left-radius: 0.375rem; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); color: #C3C8DA; }
.mds-brand-theme .mds-msg--ai ul { margin: 0.5rem 0 0.75rem 0.75rem !important; font-size: 0.8125rem; color: #A9B0C6; list-style: none; }
.mds-brand-theme .mds-msg__chip { display: inline-flex; align-items: center; gap: 0.5rem; border-radius: 999px; padding: 0.5rem 0.875rem; background: var(--mds-grad-btn); font-family: var(--mds-head); font-size: 0.75rem; font-weight: 600; color: #fff; }
.mds-brand-theme .mds-msg__note { margin-top: 0.5rem !important; font-family: var(--mds-mono); font-size: 0.75rem; color: #19E3C6; }

/* steps on home (numbered flow) */
.mds-brand-theme .mds-nsteps { list-style: none; padding: 0; margin: 0; display: grid; border: 1px solid var(--line); border-radius: 1.5rem; overflow: hidden; background: var(--card-hi); }
@media (min-width: 768px) { .mds-brand-theme .mds-nsteps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mds-brand-theme .mds-nsteps li { padding: 2.5rem 2.25rem; display: flex; flex-direction: column; gap: 1.125rem; border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .mds-brand-theme .mds-nsteps li { border-bottom: 0; border-right: 1px solid var(--line); } .mds-brand-theme .mds-nsteps li:last-child { border-right: 0; } }
.mds-brand-theme .mds-nsteps h3, .mds-brand-theme .mds-nsteps h4 { font-family: var(--mds-head); font-size: 1.375rem !important; font-weight: 600 !important; color: var(--ink) !important; }
.mds-brand-theme .mds-nsteps p { font-size: 1rem; line-height: 1.6; color: var(--text); }
.mds-brand-theme .mds-nsteps .mds-flow4__k { color: var(--accent); }
.mds-brand-theme .mds-nsteps li:nth-child(2) .mds-flow4__k { color: var(--mds-blue-soft); }
.mds-brand-theme .mds-light .mds-nsteps li:nth-child(2) .mds-flow4__k { color: #2F5BEA; }
.mds-brand-theme .mds-nsteps li:nth-child(3) .mds-flow4__k { color: var(--mds-purple-soft); }
.mds-brand-theme .mds-light .mds-nsteps li:nth-child(3) .mds-flow4__k { color: #911DA0; }
.mds-brand-theme .mds-nsteps li:nth-child(2) .mds-flow4__bar { background: linear-gradient(90deg, #3B6BFF, rgba(59, 107, 255, 0)); }
.mds-brand-theme .mds-nsteps li:nth-child(3) .mds-flow4__bar { background: linear-gradient(90deg, #911DA0, rgba(145, 29, 160, 0)); }

/* split blocks on home */
.mds-brand-theme .mds-hsplit { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .mds-brand-theme .mds-hsplit { grid-template-columns: 1fr 1fr; gap: 5rem; } .mds-brand-theme .mds-hsplit--rev > :first-child { order: 2; } }
.mds-brand-theme .mds-shot { border-radius: 1.5rem; overflow: hidden; border: 1px solid var(--line-strong); box-shadow: 0 40px 80px -30px rgba(59, 107, 255, 0.45); }
.mds-brand-theme .mds-shot img { display: block; width: 100%; height: auto; }
.mds-brand-theme .mds-example { border-radius: 1rem; border: 1px solid var(--line); background: var(--card); padding: 1rem 1.25rem; }
.mds-brand-theme .mds-example p:first-child { font-size: 0.9375rem; color: var(--ink); font-weight: 600; }
.mds-brand-theme .mds-example p + p { margin-top: 0.25rem; font-family: var(--mds-mono); font-size: 0.75rem; color: var(--accent); }

/* testimonial */
.mds-brand-theme .mds-tst { display: grid; gap: 3.5rem; align-items: center; }
@media (min-width: 1100px) { .mds-brand-theme .mds-tst { grid-template-columns: 1fr 1fr; gap: 5.625rem; } }
.mds-brand-theme .mds-tst__photo { position: relative; height: 22rem; border-radius: 1.75rem; overflow: hidden; background: #0D1020; }
@media (min-width: 640px) { .mds-brand-theme .mds-tst__photo { height: 40rem; } }
.mds-brand-theme .mds-tst__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 62% 55%; }
.mds-brand-theme .mds-tst__copy { display: flex; flex-direction: column; gap: 2.25rem; }
.mds-brand-theme .mds-tst blockquote { margin: 0; font-family: var(--mds-head); font-weight: 400; font-size: clamp(1.5rem, 2.4vw, 2.625rem); line-height: 1.38; letter-spacing: -0.015em; color: #0A0C18; }
.mds-brand-theme .mds-who { display: flex; align-items: center; gap: 1.125rem; }
.mds-brand-theme .mds-who__av { width: 3.75rem; height: 3.75rem; border-radius: 50%; padding: 2px; background: linear-gradient(135deg, #19E3C6, #3B6BFF, #911DA0); display: flex; flex-shrink: 0; }
.mds-brand-theme .mds-who__av span { flex: 1; border-radius: 50%; background: var(--card); display: flex; align-items: center; justify-content: center; font-family: var(--mds-head); font-weight: 600; font-size: 1.125rem; color: var(--ink); }
.mds-brand-theme .mds-who b { display: block; font-family: var(--mds-head); font-size: 1.125rem; font-weight: 600; color: var(--ink); }
.mds-brand-theme .mds-who small { display: block; font-size: 0.9375rem; color: var(--soft); }
.mds-brand-theme .mds-tst__more { display: grid; gap: 1.5rem; margin-top: 4rem; }
@media (min-width: 768px) { .mds-brand-theme .mds-tst__more { grid-template-columns: 1fr 1fr; } }
.mds-brand-theme .mds-tst__more figure { margin: 0; }
.mds-brand-theme .mds-tst__more blockquote { font-size: 1.0625rem; line-height: 1.65; margin-bottom: 1.5rem; color: var(--text); font-family: var(--mds-sans); letter-spacing: 0; }

/* included card */
.mds-brand-theme .mds-incl { position: relative; overflow: hidden; border-radius: 2.25rem; border: 1px solid transparent; background: linear-gradient(#0A0C18, #0A0C18) padding-box, linear-gradient(120deg, rgba(25, 227, 198, 0.6), rgba(59, 107, 255, 0.4), rgba(145, 29, 160, 0.6)) border-box; padding: 3rem 1.5rem; text-align: center; }
@media (min-width: 768px) { .mds-brand-theme .mds-incl { padding: 5rem 4rem; } }
.mds-brand-theme .mds-incl .mds-ticks { max-width: 40rem; margin-left: auto !important; margin-right: auto !important; text-align: left; }
@media (min-width: 640px) { .mds-brand-theme .mds-incl .mds-ticks { grid-template-columns: 1fr 1fr; } }

/* home CTA card */
.mds-brand-theme .mds-ctacard { position: relative; overflow: hidden; border-radius: 2.25rem; border: 1px solid rgba(255, 255, 255, 0.1); background: #0A0C18; padding: 5rem 1.5rem; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2rem; }
@media (min-width: 768px) { .mds-brand-theme .mds-ctacard { padding: 8.125rem 4rem; gap: 2.125rem; } }
.mds-brand-theme .mds-ctacard > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
/* z-index: the scrim is the card's FIRST child, the photo a later sibling, so without it the
   photo paints over the scrim and the heading, body and buttons sit on the bare picture
   (unreadable on a phone). Same guard as .mds-feature::before and .mds-sol--ai::before. */
.mds-brand-theme .mds-ctacard::before { content: ""; position: absolute; inset: 0; z-index: 1; background-color: rgba(5, 6, 11, 0.74); background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px); background-size: 56px 56px; }
.mds-brand-theme .mds-ctacard > *:not(img) { position: relative; z-index: 1; }
.mds-brand-theme .mds-ctacard h2 { font-family: var(--mds-head); font-weight: 700 !important; font-size: clamp(2.5rem, 6vw, 7rem) !important; line-height: 1 !important; letter-spacing: -0.04em !important; color: #F2F4FA !important; }
.mds-brand-theme .mds-ctacard p { max-width: 40rem; font-size: clamp(1.0625rem, 1.3vw, 1.3125rem); line-height: 1.6; color: #C3C8DA; }
.mds-brand-theme .mds-ctacard .mds-btn { min-height: 3.875rem; padding: 0 2.25rem; font-size: 1rem; }
@media (max-width: 639px) { .mds-brand-theme .mds-ctacard .mds-btn { width: 100%; } }

@media (prefers-reduced-motion: reduce) {
  .mds-brand-theme *, .mds-brand-theme *::before, .mds-brand-theme *::after { animation: none !important; transition: none !important; }
}

/* ── 2026-11-23: 3D Configurator "See it live" ── */
/* the live Sailfish configurator: recorded preview (and, once framing is allowed, the real thing over it) */
.mds-brand-theme .mds-live { margin: 0; }
.mds-brand-theme .mds-live__stage { position: relative; border-radius: var(--mds-radius); border: 1px solid var(--line-strong); overflow: hidden; background: #ECEAE4; aspect-ratio: 1280 / 724; box-shadow: 0 40px 80px -30px rgba(10, 12, 24, 0.45); }
.mds-brand-theme .mds-live__video { display: block; width: 100%; height: 100%; object-fit: cover; }
.mds-brand-theme .mds-live__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; pointer-events: none; transition: opacity 0.4s ease; background: #FFFFFF; }
.mds-brand-theme .mds-live--embedded .mds-live__frame { opacity: 1; pointer-events: auto; }
@media (min-width: 900px) { .mds-brand-theme .mds-live--embedded .mds-live__stage { aspect-ratio: 16 / 10; } }
.mds-brand-theme .mds-live__caption { margin-top: 1rem; font-size: 0.875rem; line-height: 1.55; color: var(--soft); text-align: center; }

/* ── blog (/blog index + /blog/<slug> articles, components/mds-brand/mds-brand-blog) ───────────── */
.mds-brand-theme .mds-blog__hero { padding-bottom: 3.5rem; }
@media (min-width: 768px) { .mds-brand-theme .mds-blog__hero { padding: 5.5rem 0 4.5rem; } }
.mds-brand-theme .mds-blog__hero .mds-h1 { font-size: clamp(2.5rem, 5.5vw, 4.5rem); }
.mds-brand-theme .mds-blog__topics { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2.25rem; }
.mds-brand-theme .mds-blog__topics a { display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0 1rem; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text); font-family: var(--mds-head); font-size: 0.8125rem; font-weight: 500; text-decoration: none; transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease; }
.mds-brand-theme .mds-blog__topics a:hover { border-color: rgba(25, 227, 198, 0.55); color: var(--ink); }
.mds-brand-theme .mds-blog__topics a.is-active { background: var(--mds-grad-btn); border-color: transparent; color: #fff; }
.mds-brand-theme .mds-blog__meta { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; margin-top: auto !important; padding-top: 1.25rem; font-family: var(--mds-mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--soft); }
.mds-brand-theme .mds-blog__meta > * + *::before { content: "·"; margin-right: 1rem; color: var(--faint); }
.mds-brand-theme .mds-blog__card { display: flex; flex-direction: column; height: 100%; }
.mds-brand-theme .mds-blog__card .mds-tag { align-self: flex-start; }
.mds-brand-theme .mds-blog__card h3 { font-size: 1.25rem; line-height: 1.25; }
.mds-brand-theme .mds-blog__card p { font-size: 0.9375rem; }
.mds-brand-theme .mds-blog__feature { display: grid; gap: 0; padding: 0 !important; overflow: hidden; margin-bottom: 1.5rem; }
@media (min-width: 900px) { .mds-brand-theme .mds-blog__feature { grid-template-columns: 1.15fr 1fr; } }
.mds-brand-theme .mds-blog__feature-media { display: block; aspect-ratio: 16 / 9; background: var(--mds-night-3); overflow: hidden; }
@media (min-width: 900px) { .mds-brand-theme .mds-blog__feature-media { aspect-ratio: auto; min-height: 22rem; } }
.mds-brand-theme .mds-blog__feature-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.mds-brand-theme .mds-blog__feature:hover .mds-blog__feature-media img { transform: scale(1.03); }
.mds-brand-theme .mds-blog__feature-copy { display: flex; flex-direction: column; padding: 2rem; }
@media (min-width: 1024px) { .mds-brand-theme .mds-blog__feature-copy { padding: 3rem; } }
.mds-brand-theme .mds-blog__feature-copy .mds-tag { align-self: flex-start; }
.mds-brand-theme .mds-blog__feature-copy h2 { font-size: clamp(1.5rem, 2.4vw, 2.25rem); line-height: 1.15; margin-bottom: 1rem !important; }
.mds-brand-theme .mds-blog__feature-copy p { color: var(--text); line-height: 1.65; }
.mds-brand-theme .mds-blog__feature-copy .mds-blog__meta { margin-top: 1.25rem !important; }
.mds-brand-theme .mds-blog__feature-copy .mds-link { margin-top: 1.25rem; color: var(--ink) !important; }
.mds-brand-theme .mds-blog__pager { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 3rem; }
.mds-brand-theme .mds-blog__pager ol { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.375rem; list-style: none; margin: 0; padding: 0; }
.mds-brand-theme .mds-blog__pager li > a, .mds-brand-theme .mds-blog__pager li > span { display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; height: 2.75rem; padding: 0 0.5rem; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ink); font-family: var(--mds-head); font-size: 0.875rem; font-weight: 600; text-decoration: none; }
.mds-brand-theme .mds-blog__pager li > a:hover { border-color: var(--mds-blue-deep); }
.mds-brand-theme .mds-blog__pager [aria-current="page"] { background: var(--mds-grad-btn); border-color: transparent; color: #fff; }
.mds-brand-theme .mds-blog__pager .mds-blog__gap { display: inline-flex; align-items: center; color: var(--soft); padding: 0 0.25rem; }
.mds-brand-theme .mds-blog__pager .mds-btn--ghost { color: var(--ink) !important; }
@media (max-width: 639px) { .mds-brand-theme .mds-blog__pager { flex-wrap: wrap; } .mds-brand-theme .mds-blog__pager ol { order: -1; width: 100%; } .mds-brand-theme .mds-blog__pager > a, .mds-brand-theme .mds-blog__pager > span { flex: 1; } }
/* article */
.mds-brand-theme .mds-blog__head { max-width: 56rem; }
.mds-brand-theme .mds-blog__crumb { max-width: 28rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 639px) { .mds-brand-theme .mds-blog__crumb { display: none; } }
.mds-brand-theme .mds-blog__chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.5rem !important; }
.mds-brand-theme .mds-blog__chips .mds-tag { margin-bottom: 0; text-decoration: none; }
.mds-brand-theme .mds-blog__hero .mds-blog__title { font-size: clamp(2rem, 4.6vw, 3.75rem); line-height: 1.08 !important; }
.mds-brand-theme .mds-blog__meta--hero { margin-top: 1.75rem !important; padding-top: 0; font-size: 0.8125rem; color: var(--text); }
.mds-brand-theme .mds-blog__article { padding-top: 0 !important; }
.mds-brand-theme .mds-blog__body { max-width: 48rem; margin: 0 auto; }
.mds-brand-theme .mds-blog__figure { margin: -2rem 0 2.75rem; border-radius: var(--mds-radius-md); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(10, 12, 24, 0.45); background: var(--card-hi); }
@media (min-width: 768px) { .mds-brand-theme .mds-blog__figure { margin: -3rem -4rem 3.25rem; } }
.mds-brand-theme .mds-blog__figure img { display: block; width: 100%; height: auto; }
.mds-brand-theme .mds-blog__prose { font-size: 1.125rem; line-height: 1.8; overflow-wrap: anywhere; }
.mds-brand-theme .mds-blog__prose ul { list-style: disc; }
.mds-brand-theme .mds-blog__prose ol { list-style: decimal; }
.mds-brand-theme .mds-blog__prose li::marker { color: var(--accent); font-weight: 600; }
.mds-brand-theme .mds-blog__prose h2 { font-size: clamp(1.375rem, 2.2vw, 1.75rem); }
.mds-brand-theme .mds-blog__prose h2 strong, .mds-brand-theme .mds-blog__prose h3 strong { font-weight: inherit; }
.mds-brand-theme .mds-blog__prose img { display: block; max-width: 100%; height: auto; margin: 1.75rem auto; border-radius: var(--mds-radius-sm); }
.mds-brand-theme .mds-blog__prose blockquote { margin: 1.75rem 0; padding: 0.25rem 0 0.25rem 1.25rem; border-left: 3px solid var(--mds-blue-deep); color: var(--ink); font-style: italic; }
.mds-brand-theme .mds-blog__prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
.mds-brand-theme .mds-blog__prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 1rem; display: block; overflow-x: auto; }
.mds-brand-theme .mds-blog__prose td, .mds-brand-theme .mds-blog__prose th { border: 1px solid var(--line); padding: 0.625rem 0.75rem; vertical-align: top; }
.mds-brand-theme .mds-blog__prose [data-embed="video"] { position: relative; aspect-ratio: 16 / 9; margin: 0 0 2rem; border-radius: var(--mds-radius-sm); overflow: hidden; background: var(--mds-night-3); }
.mds-brand-theme .mds-blog__prose [data-embed="video"] iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mds-brand-theme .mds-blog__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.mds-brand-theme .mds-blog__foot-label { font-family: var(--mds-mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft); }
.mds-brand-theme .mds-blog__foot .mds-pills { margin-top: 0 !important; gap: 0.5rem; }
.mds-brand-theme .mds-blog__foot .mds-pills li { min-height: 2.25rem; padding: 0; }
.mds-brand-theme .mds-blog__foot .mds-pills a { display: inline-flex; align-items: center; min-height: 2.25rem; padding: 0 1rem; color: var(--ink); text-decoration: none; }
.mds-brand-theme .mds-blog__foot .mds-pills li:hover { border-color: var(--mds-blue-deep); }
.mds-brand-theme .mds-blog__back { margin-top: 2rem !important; }
.mds-brand-theme .mds-blog__back .mds-link { color: var(--ink) !important; }
.mds-brand-theme .mds-blog__cta { background: var(--mds-night); }
/* post images include transparent PNG art: give every blog image a white ground, not the night card media */
.mds-brand-theme .mds-blog__card .mds-card__media, .mds-brand-theme .mds-blog__feature-media, .mds-brand-theme .mds-blog__figure { background: #FFFFFF; }
/* phones: the 24 topics scroll sideways in one row instead of stacking a screen of chips above the articles */
@media (max-width: 639px) { .mds-brand-theme .mds-blog__topics { flex-wrap: nowrap; overflow-x: auto; margin-right: -1rem; padding-right: 1rem; scrollbar-width: none; } .mds-brand-theme .mds-blog__topics a { flex: none; white-space: nowrap; } }
/* #100095: the third-party floating buttons (CallersIQ "Text Us", UserWay) sit above every page layer (z 99999 / max) and
   covered the open mobile menu's links. The menu is a modal: hide them while it is open; they return when it closes. */
.mds-brand-theme:has(.mds-drawer) .ChatWrapper, .mds-brand-theme:has(.mds-drawer) .uwy { display: none !important; }

/* Click-and-drag carousels (mds-brand-drag-scroll.ts) */
@media (hover: hover) and (pointer: fine) { .mds-brand-theme .mds-gallery, .mds-brand-theme .mds-port { cursor: grab; } .mds-brand-theme .mds-gallery.is-dragging, .mds-brand-theme .mds-port.is-dragging { cursor: grabbing; user-select: none; } .mds-brand-theme .is-dragging a { pointer-events: none; } }
