@charset "UTF-8";

/* ============================================
   Marketdive Top Page Renewal v2
   All design styles scoped under .mdtr2 so they
   never leak into the SWELL header/footer.
   ============================================ */

/* ---- Let the SWELL content area run full-width on this
        template, and hide the breadcrumb / page title so the
        design's full-bleed sections render edge to edge. ---- */
#body_wrap.mdtr2-body #content,
#body_wrap[class*="page-template-page-marketdive-top-renewal-v2"] #content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
#body_wrap.mdtr2-body #breadcrumb,
#body_wrap.mdtr2-body .p-breadcrumb,
#body_wrap.mdtr2-body .c-pageTitle,
#body_wrap.mdtr2-body .p-pageTitle,
#body_wrap[class*="page-template-page-marketdive-top-renewal-v2"] #breadcrumb,
#body_wrap[class*="page-template-page-marketdive-top-renewal-v2"] .p-breadcrumb,
#body_wrap[class*="page-template-page-marketdive-top-renewal-v2"] .c-pageTitle,
#body_wrap[class*="page-template-page-marketdive-top-renewal-v2"] .p-pageTitle {
  display: none !important;
}

/* ---- Design tokens + base (scoped to wrapper) ---- */
.mdtr2 {
  /* Brand */
  --md-blue: #3D6BBF;
  --md-blue-600: #2F58A5;
  --md-blue-700: #234584;
  --md-blue-50:  #EEF3FC;
  --md-blue-25:  #F5F9FF;
  --md-cyan: #3AAED8;
  --md-cyan-50: #E6F5FB;

  /* Neutrals */
  --ink-900: #0E1B33;
  --ink-700: #2A3855;
  --ink-500: #5B6884;
  --ink-400: #8B96AE;
  --ink-300: #BAC3D5;
  --ink-200: #DDE3EE;
  --ink-100: #EEF1F7;
  --ink-50:  #F6F8FC;
  --white:   #FFFFFF;

  /* Surfaces */
  --bg-page: #FAFBFE;
  --bg-soft: linear-gradient(180deg, #F2F7FE 0%, #FAFBFE 100%);
  --bg-blue-soft: linear-gradient(180deg, #E9F1FD 0%, #F6FAFF 100%);

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Shadows */
  --sh-1: 0 1px 2px rgba(20,38,76,.04), 0 1px 1px rgba(20,38,76,.03);
  --sh-2: 0 4px 14px rgba(20,38,76,.06), 0 2px 4px rgba(20,38,76,.04);
  --sh-3: 0 12px 32px rgba(20,38,76,.10), 0 4px 10px rgba(20,38,76,.05);
  --sh-blue: 0 16px 40px rgba(61,107,191,.22);

  /* Typography */
  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", sans-serif;
  --font-num: "Inter", "Noto Sans JP", sans-serif;

  font-family: var(--font-sans);
  color: var(--ink-900);
  background: var(--bg-page);
  font-feature-settings: "palt";
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

html { scroll-behavior: smooth; }

.mdtr2 * { box-sizing: border-box; }
.mdtr2 img { max-width: 100%; display: block; }
.mdtr2 a { color: inherit; text-decoration: none; }
.mdtr2 button { font-family: inherit; cursor: pointer; border: 0; background: none; }
.mdtr2 h1,
.mdtr2 h2,
.mdtr2 h3,
.mdtr2 h4 { margin: 0; letter-spacing: .01em; line-height: 1.35; }
.mdtr2 p { margin: 0; }
.mdtr2 ul,
.mdtr2 ol { margin: 0; padding: 0; list-style: none; }

.mdtr2 .container {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   Section header (common)
   ============================================ */
.mdtr2 .sec-head {
  text-align: center;
  margin-bottom: 48px;
}
.mdtr2 .sec-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--md-blue-50);
  color: var(--md-blue);
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
}
.mdtr2 .sec-eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--md-cyan);
}
.mdtr2 .sec-title {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  margin: 16px 0 12px;
  letter-spacing: .02em;
}
.mdtr2 .sec-title em,
.mdtr2 h1 em,
.mdtr2 h2 em,
.mdtr2 h3 em {
  font-style: normal;
  color: var(--md-blue);
  position: relative;
}
.mdtr2 .sec-sub {
  color: var(--ink-500);
  font-size: 15px;
  max-width: 640px;
  margin: 0 auto;
}

.mdtr2 section { padding: 100px 0; position: relative; }
.mdtr2 section.tight { padding: 72px 0; }

/* alternating bg */
.mdtr2 .bg-soft { background: var(--bg-soft); }
.mdtr2 .bg-blue { background: var(--bg-blue-soft); }
.mdtr2 .bg-white { background: var(--white); }

/* ============================================
   Buttons
   ============================================ */
.mdtr2 .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .02em;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.mdtr2 .btn-primary {
  background: linear-gradient(135deg, var(--md-blue) 0%, var(--md-blue-600) 100%);
  color: var(--white);
  box-shadow: var(--sh-blue);
}
.mdtr2 .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 20px 44px rgba(61,107,191,.32); }
.mdtr2 .btn-ghost {
  background: var(--white);
  color: var(--md-blue);
  border: 1.5px solid var(--md-blue-50);
  box-shadow: var(--sh-1);
}
.mdtr2 .btn-ghost:hover { background: var(--md-blue-25); border-color: var(--md-blue); }
.mdtr2 .btn-outline {
  background: transparent;
  color: var(--md-blue);
  border: 1.5px solid var(--md-blue);
}
.mdtr2 .btn-outline:hover { background: var(--md-blue); color: var(--white); }
.mdtr2 .btn-sm { padding: 10px 18px; font-size: 13px; }
.mdtr2 .btn .arrow { transition: transform .2s ease; }
.mdtr2 .btn:hover .arrow { transform: translateX(3px); }

/* ============================================
   Card primitives
   ============================================ */
.mdtr2 .card {
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-2);
  border: 1px solid var(--ink-100);
}
.mdtr2 .card-link {
  display: block;
  padding: 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
}
.mdtr2 .card-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-3);
  border-color: rgba(61,107,191,.22);
}
.mdtr2 .card-link .more {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--md-blue);
  font-weight: 600;
  font-size: 13px;
}

/* ============================================
   HERO — Section 1
   ============================================ */
.mdtr2 .hero {
  padding: 88px 0 80px;
  background: linear-gradient(180deg, #EAF1FD 0%, #F8FAFF 60%, var(--bg-page) 100%);
  overflow: hidden;
  position: relative;
}
.mdtr2 .hero::before {
  content: "";
  position: absolute;
  top: -120px; right: -100px;
  width: 520px; height: 520px;
  background: radial-gradient(closest-side, rgba(58,174,216,.28), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}
.mdtr2 .hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center;
}
.mdtr2 .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  background: var(--white);
  border: 1px solid var(--md-blue-50);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--md-blue);
  box-shadow: var(--sh-1);
}
.mdtr2 .hero-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--md-cyan);
  box-shadow: 0 0 0 4px rgba(58,174,216,.18);
}
.mdtr2 .hero h1 {
  margin-top: 24px;
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: .01em;
}
.mdtr2 .hero h1 .accent { color: var(--md-blue); }
.mdtr2 .hero h1 .stroke {
  background: linear-gradient(120deg, var(--md-blue) 0%, var(--md-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mdtr2 .hero p.lead {
  margin-top: 24px;
  font-size: 16px;
  color: var(--ink-700);
  max-width: 540px;
}
.mdtr2 .hero-cta {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.mdtr2 .hero-pillars {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 22px 28px;
}
.mdtr2 .hero-pillar {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; color: var(--ink-700);
}
.mdtr2 .hero-pillar .pi-icon {
  width: 32px; height: 32px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--md-blue-50); color: var(--md-blue);
}

/* Hero visual */
.mdtr2 .hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  justify-self: end;
  width: 100%;
}
.mdtr2 .glass-orb {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 28%, rgba(255,255,255,.85), rgba(255,255,255,.25) 35%, rgba(220,232,250,.4) 60%, rgba(180,205,240,.2) 100%),
    linear-gradient(135deg, rgba(61,107,191,.18), rgba(58,174,216,.18));
  box-shadow:
    inset 0 -40px 80px rgba(61,107,191,.18),
    inset 0 30px 60px rgba(255,255,255,.6),
    0 30px 60px rgba(61,107,191,.18);
  backdrop-filter: blur(6px);
}
.mdtr2 .glass-orb::after {
  content: "";
  position: absolute;
  top: 14%; left: 18%;
  width: 32%; height: 22%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,.85), transparent 70%);
  filter: blur(8px);
}
.mdtr2 .float-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--sh-3);
  padding: 18px 20px 17px;
  border: 1px solid var(--ink-100);
  animation: mdtr2-float 6s ease-in-out infinite;
}
.mdtr2 .float-card.fc1 { top: 4%; left: -2%; width: 270px; animation-delay: 0s; }
.mdtr2 .float-card.fc2 { top: 38%; right: -5%; width: 220px; animation-delay: -2s; }
.mdtr2 .float-card.fc3 { bottom: 5%; left: 4%; width: 250px; animation-delay: -4s; }
@keyframes mdtr2-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.mdtr2 .fc-service {
  color: var(--ink-900);
  font-size: 15.5px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: .01em;
}
.mdtr2 .fc-service::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--md-cyan);
  box-shadow: 0 0 0 4px rgba(58,174,216,.16);
  vertical-align: .12em;
}
.mdtr2 .fc-desc {
  margin-top: 8px;
  color: var(--ink-500);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.65;
}

/* ============================================
   Hero proof cards
   ============================================ */
.mdtr2 .hero-proof {
  z-index: 2;
  margin-top: -32px;
  padding: 0 0 42px;
  background: var(--bg-page);
}
.mdtr2 .hero-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.mdtr2 .hero-proof-card {
  min-height: 132px;
  padding: 20px 18px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(61,107,191,.12);
  border-radius: var(--r-md);
  box-shadow: var(--sh-2);
}
.mdtr2 .hero-proof-card span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--md-blue-50);
  color: var(--md-blue);
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}
.mdtr2 .hero-proof-card h2 {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0;
}
.mdtr2 .hero-proof-card p {
  margin-top: 8px;
  color: var(--ink-500);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.65;
}

/* ============================================
   Section 2 — Entry by need (3 pillars)
   ============================================ */
.mdtr2 .pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mdtr2 .pillar {
  position: relative;
  padding: 36px 32px;
  background: var(--white);
  border-radius: var(--r-xl);
  border: 1px solid var(--ink-100);
  box-shadow: var(--sh-2);
  transition: transform .2s ease, box-shadow .2s ease;
}
.mdtr2 .pillar:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
.mdtr2 .pillar-tag {
  display: inline-block;
  padding: 4px 10px;
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
  border-radius: var(--r-sm);
  background: var(--md-blue-50);
  color: var(--md-blue);
}
.mdtr2 .pillar-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--md-blue-50), var(--md-cyan-50));
  color: var(--md-blue);
  margin: 16px 0 20px;
}
.mdtr2 .pillar h3 { font-size: 22px; font-weight: 800; margin-bottom: 12px; }
.mdtr2 .pillar p.desc { color: var(--ink-500); font-size: 13.5px; margin-bottom: 20px; }
.mdtr2 .pillar-list { display: grid; gap: 10px; }
.mdtr2 .pillar-list li {
  display: block;
  font-size: 14px; color: var(--ink-700);
  padding: 12px 16px;
  background: var(--md-blue-25);
  border-radius: 10px;
  border: 1px solid var(--md-blue-50);
}

/* ============================================
   Section 3 — Free consultation
   ============================================ */
.mdtr2 .consult-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.mdtr2 .consult-card {
  background: var(--white);
  border-radius: var(--r-xl);
  border: 1px solid var(--ink-100);
  padding: 36px 32px;
  box-shadow: var(--sh-2);
}
.mdtr2 .consult-card h3 {
  font-size: 20px; font-weight: 800;
  margin-bottom: 20px;
  display: flex; align-items: center; gap: 12px;
}
.mdtr2 .consult-card h3 .num {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: var(--md-blue);
  color: var(--white);
  display: grid; place-items: center;
  font-size: 13px; font-weight: 800;
  font-family: var(--font-num);
}
.mdtr2 .consult-list { display: grid; gap: 10px; }
.mdtr2 .consult-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--ink-50);
  font-size: 14px;
  color: var(--ink-700);
}
.mdtr2 .consult-list li .ck {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--md-blue);
  color: var(--white);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.mdtr2 .consult-cta {
  margin-top: 40px;
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
}

/* ============================================
   Section 4 — Why Marketdive
   ============================================ */
.mdtr2 .kpi-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--white);
  border-radius: var(--r-xl);
  border: 1px solid var(--ink-100);
  box-shadow: var(--sh-2);
  overflow: hidden;
  margin-bottom: 56px;
}
.mdtr2 .kpi {
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid var(--ink-100);
  min-height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.mdtr2 .kpi:last-child { border-right: 0; }
.mdtr2 .kpi-num {
  font-family: var(--font-num);
  font-size: 36px;
  font-weight: 800;
  color: var(--md-blue);
  line-height: 1;
}
.mdtr2 .kpi-num.kpi-word {
  font-size: 26px;
  letter-spacing: .02em;
}
.mdtr2 .kpi-num.kpi-copy {
  max-width: 300px;
  font-size: 22px;
  line-height: 1.45;
  letter-spacing: 0;
}
.mdtr2 .kpi-num.kpi-copy span {
  display: block;
  white-space: nowrap;
}
.mdtr2 .kpi-num .unit { font-size: 18px; margin-left: 2px; }
.mdtr2 .kpi-label {
  margin-top: 12px;
  max-width: 260px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-500);
  font-weight: 600;
}
.mdtr2 .kpi-partner-logo {
  width: min(220px, 82%);
  margin: 0 auto;
}
.mdtr2 .kpi-partner-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.mdtr2 .strengths-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.mdtr2 .strength {
  padding: 24px 20px;
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--ink-100);
  box-shadow: var(--sh-1);
  transition: transform .2s ease, box-shadow .2s ease;
}
.mdtr2 .strength:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.mdtr2 .strength .s-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--md-blue-50);
  color: var(--md-blue);
  display: grid; place-items: center;
  margin-bottom: 14px;
}
.mdtr2 .strength h4 { font-size: 14px; font-weight: 700; line-height: 1.55; }

/* ============================================
   App showcase sections (PicSync, OPSync, Pittari)
   ============================================ */
.mdtr2 .app-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.mdtr2 .app-showcase.reverse > .app-info { order: 2; }
.mdtr2 .app-info .app-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--md-cyan-50);
  color: var(--md-blue);
  font-size: 12px; font-weight: 700; letter-spacing: .12em;
}
.mdtr2 .app-info h2 {
  margin: 18px 0 14px;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
}
.mdtr2 .app-info h2 .brand {
  background: linear-gradient(135deg, var(--md-blue), var(--md-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mdtr2 .app-info p.summary {
  color: var(--ink-700);
  font-size: 15px;
  margin-bottom: 28px;
}
.mdtr2 .feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}
.mdtr2 .feature-pill {
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--ink-100);
  display: flex; align-items: center; gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-700);
}
.mdtr2 .feature-pill .fp-ico {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--md-blue-50);
  color: var(--md-blue);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.mdtr2 .pain-list { display: grid; gap: 8px; margin-bottom: 28px; }
.mdtr2 .pain-list li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13.5px; color: var(--ink-700);
}
.mdtr2 .pain-list li::before {
  content: "\2713";
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--md-blue);
  color: var(--white);
  display: grid; place-items: center;
  font-size: 11px; font-weight: 800;
  margin-top: 2px;
}
.mdtr2 .app-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* App visual — mock UI */
.mdtr2 .app-visual {
  position: relative;
  aspect-ratio: 4/3.6;
  background: linear-gradient(135deg, var(--md-blue-25), var(--md-cyan-50));
  border-radius: var(--r-xl);
  padding: 32px;
  box-shadow: var(--sh-2);
  border: 1px solid rgba(61,107,191,.1);
  overflow: hidden;
}
.mdtr2 .app-visual::before {
  content: "";
  position: absolute;
  top: -80px; right: -80px;
  width: 280px; height: 280px;
  background: radial-gradient(closest-side, rgba(58,174,216,.35), transparent 70%);
  filter: blur(20px);
}
.mdtr2 .app-visual-image {
  aspect-ratio: auto;
  min-height: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  display: flex;
  align-items: center;
}
.mdtr2 .app-visual-image::before { display: none; }
.mdtr2 .app-screenshot {
  position: relative;
  z-index: 1;
  margin: 0;
  width: 100%;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.mdtr2 .app-screenshot img {
  width: 100%;
  height: auto;
  display: block;
}
.mdtr2 .app-visual-logo .app-screenshot {
  max-width: 360px;
  margin: 0 auto;
}
.mdtr2 .mock-window {
  position: relative;
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--sh-3);
  overflow: hidden;
  border: 1px solid var(--ink-100);
}
.mdtr2 .mock-titlebar {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 14px;
  background: var(--ink-50);
  border-bottom: 1px solid var(--ink-100);
}
.mdtr2 .mock-titlebar span {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--ink-200);
}
.mdtr2 .mock-titlebar span:nth-child(1) { background: #FF6058; }
.mdtr2 .mock-titlebar span:nth-child(2) { background: #FFBD2E; }
.mdtr2 .mock-titlebar span:nth-child(3) { background: #28CA42; }
.mdtr2 .mock-titlebar .title {
  width: auto; height: auto; background: none;
  margin-left: 10px;
  font-size: 11px; color: var(--ink-500); font-weight: 600;
}
.mdtr2 .mock-body { padding: 20px; }

/* PicSync mock — grid of images with checkboxes */
.mdtr2 .psync-mock { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mdtr2 .psync-mock .item {
  aspect-ratio: 1;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--ink-50), var(--md-blue-25));
  border: 1.5px solid var(--ink-100);
  position: relative;
  display: grid; place-items: center;
  color: var(--md-blue);
  overflow: hidden;
}
.mdtr2 .psync-mock .item.checked {
  border-color: var(--md-blue);
  box-shadow: 0 0 0 3px rgba(61,107,191,.15);
}
.mdtr2 .psync-mock .item.checked::after {
  content: "\2713";
  position: absolute; top: 4px; right: 4px;
  width: 18px; height: 18px;
  background: var(--md-blue);
  color: var(--white);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 800;
}
.mdtr2 .psync-bar {
  margin-top: 14px;
  padding: 10px 12px;
  background: var(--md-blue);
  color: var(--white);
  border-radius: 8px;
  font-size: 12px;
  display: flex; justify-content: space-between; align-items: center;
}
.mdtr2 .psync-bar .progress {
  width: 80px; height: 6px;
  background: rgba(255,255,255,.3);
  border-radius: 3px;
  overflow: hidden;
  margin-left: auto;
  margin-right: 8px;
}
.mdtr2 .psync-bar .progress span {
  display: block; width: 72%; height: 100%;
  background: var(--md-cyan);
  animation: mdtr2-progress 2s ease-in-out infinite;
}
@keyframes mdtr2-progress {
  0%, 100% { width: 72%; }
  50% { width: 92%; }
}

/* OPSync mock — schedule/automation */
.mdtr2 .opsync-mock { display: grid; gap: 10px; }
.mdtr2 .opsync-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--ink-50);
  border: 1px solid var(--ink-100);
}
.mdtr2 .opsync-row .pill {
  font-size: 10px; font-weight: 700;
  padding: 3px 8px; border-radius: 6px;
  background: var(--md-blue); color: var(--white);
}
.mdtr2 .opsync-row.done .pill { background: #2DB66E; }
.mdtr2 .opsync-row.warn .pill { background: #E89B2E; }
.mdtr2 .opsync-row .info { font-size: 12px; color: var(--ink-700); }
.mdtr2 .opsync-row .info b { color: var(--ink-900); }
.mdtr2 .opsync-row .time { font-size: 11px; color: var(--ink-400); font-family: var(--font-num); }

/* Pittari mock — flow diagram */
.mdtr2 .pittari-mock { display: grid; gap: 14px; }
.mdtr2 .pittari-row {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: 12px;
  font-size: 12.5px; font-weight: 600;
  color: var(--ink-700);
}
.mdtr2 .pittari-row .pr-ico {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--md-blue-50);
  color: var(--md-blue);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.mdtr2 .pittari-row.highlight {
  background: linear-gradient(135deg, var(--md-blue), var(--md-blue-600));
  color: var(--white);
  border-color: transparent;
  box-shadow: var(--sh-blue);
}
.mdtr2 .pittari-row.highlight .pr-ico {
  background: rgba(255,255,255,.25);
  color: var(--white);
}
.mdtr2 .pittari-connector {
  margin: -8px 0 -8px 30px;
  width: 2px; height: 16px;
  background: var(--md-blue-50);
}

/* ============================================
   Section 7 — AgentSync (animated)
   ============================================ */
.mdtr2 .agent {
  background: radial-gradient(ellipse at top, #0E1B33 0%, #0A1428 60%, #050913 100%);
  color: var(--white);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.mdtr2 .agent::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(58,174,216,.18), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(61,107,191,.22), transparent 45%);
  pointer-events: none;
}
.mdtr2 .agent .container {
  position: relative;
  max-width: min(1500px, calc(100% - 48px));
}
.mdtr2 .agent .sec-eyebrow {
  background: rgba(58,174,216,.15);
  color: var(--md-cyan);
}
.mdtr2 .agent .sec-eyebrow::before { background: var(--md-cyan); }
.mdtr2 .agent .sec-title { color: var(--white); }
.mdtr2 .agent .sec-title em { color: var(--md-cyan); }
.mdtr2 .agent .sec-sub { color: rgba(255,255,255,.7); }

.mdtr2 .agent-stage {
  margin-top: 64px;
  position: relative;
  height: 460px;
  border-radius: var(--r-xl);
  background:
    linear-gradient(180deg, rgba(58,174,216,.05) 0%, transparent 100%),
    radial-gradient(circle at center, rgba(58,174,216,.1), transparent 60%);
  border: 1px solid rgba(58,174,216,.2);
  overflow: hidden;
}
.mdtr2 .agent-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 40px;
  height: 100%;
  align-items: center;
}
.mdtr2 .agent-step {
  position: relative;
  padding: 24px 20px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-lg);
  backdrop-filter: blur(10px);
  text-align: center;
  opacity: .35;
  transform: translateY(0) scale(.95);
  transition: opacity .6s ease, transform .6s ease, border-color .6s ease, background .6s ease;
}
.mdtr2 .agent-step.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  border-color: rgba(58,174,216,.5);
  background: rgba(58,174,216,.1);
  box-shadow: 0 0 40px rgba(58,174,216,.25);
}
.mdtr2 .agent-step .as-icon {
  width: 56px; height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(58,174,216,.3), rgba(61,107,191,.3));
  display: grid; place-items: center;
  color: var(--md-cyan);
}
.mdtr2 .agent-step.active .as-icon {
  background: linear-gradient(135deg, var(--md-cyan), var(--md-blue));
  color: var(--white);
}
.mdtr2 .agent-step .as-num {
  font-family: var(--font-num);
  font-size: 11px; font-weight: 700;
  color: var(--md-cyan);
  letter-spacing: .2em;
  margin-bottom: 6px;
}
.mdtr2 .agent-step h4 { font-size: 15px; margin-bottom: 6px; }
.mdtr2 .agent-step p { font-size: 11.5px; color: rgba(255,255,255,.6); line-height: 1.6; }

.mdtr2 .agent-flow-line {
  position: absolute;
  top: 50%;
  left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(58,174,216,.3) 20%, rgba(58,174,216,.3) 80%, transparent 100%);
  transform: translateY(-1px);
  pointer-events: none;
  z-index: 0;
}
.mdtr2 .agent-flow-line .pulse {
  position: absolute;
  top: -3px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--md-cyan);
  box-shadow: 0 0 16px var(--md-cyan), 0 0 32px rgba(58,174,216,.5);
  transition: left .8s cubic-bezier(.4,0,.2,1);
}

.mdtr2 .agent-cta {
  margin-top: 56px;
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
}
.mdtr2 .agent-notify {
  width: min(100%, 980px);
  margin: 56px auto 0;
  padding: 28px 32px;
  display: grid;
  grid-template-columns: minmax(260px, 330px) minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(0,0,0,.18);
}
.mdtr2 .agent-notify-copy,
.mdtr2 .agent-notify-form {
  min-width: 0;
}
.mdtr2 .agent-notify-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--md-cyan);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
}
.mdtr2 .agent-notify-label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--md-cyan);
}
.mdtr2 .agent-notify h3 {
  color: var(--white);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 800;
  margin-bottom: 8px;
}
.mdtr2 .agent-notify p {
  color: rgba(255,255,255,.7);
  font-size: 13px;
  line-height: 1.8;
}
.mdtr2 .agent-notify-form .wpcf7 { width: 100%; }
.mdtr2 .agent-notify-form .wpcf7-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
  align-items: end;
}
.mdtr2 .agent-notify-form .wpcf7-form p {
  margin: 0;
  min-width: 0;
}
.mdtr2 .agent-notify-form br { display: none; }
.mdtr2 .agent-notify-fields {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}
.mdtr2 .agent-notify-field {
  display: block;
  color: rgba(255,255,255,.9);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  min-width: 0;
}
.mdtr2 .agent-notify-field span {
  margin-left: 6px;
  color: rgba(255,255,255,.48);
  font-size: 10px;
}
.mdtr2 .agent-notify-form .wpcf7-form-control-wrap {
  display: block;
  margin-top: 7px;
}
.mdtr2 .agent-notify-form .agent-input {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  background: rgba(255,255,255,.96);
  color: var(--ink-900);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.mdtr2 .agent-notify-form .agent-input:focus {
  border-color: var(--md-cyan);
  box-shadow: 0 0 0 3px rgba(58,174,216,.22);
}
.mdtr2 .agent-notify-submit {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-start;
  min-width: 0;
}
.mdtr2 .agent-notify-form .wpcf7-form > p:has(.wpcf7-submit) {
  grid-column: 1 / -1;
  justify-self: stretch;
  display: flex;
  justify-content: flex-start;
}
.mdtr2 .agent-notify-form .agent-submit,
.mdtr2 .agent-notify-form .wpcf7-submit {
  min-height: 48px;
  min-width: 220px;
  width: auto;
  padding: 0 28px;
  border: 0;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, var(--md-blue), var(--md-blue-600));
  color: var(--white);
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  box-shadow: var(--sh-blue);
  cursor: pointer;
  max-width: none;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
}
.mdtr2 .agent-notify-form .wpcf7-spinner {
  margin: 12px 0 0 10px;
}
.mdtr2 .agent-notify-form .wpcf7-not-valid-tip {
  margin-top: 5px;
  color: #BFEFFF;
  font-size: 11px;
}
.mdtr2 .agent-notify-form .wpcf7-response-output {
  margin: 2px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--white);
  font-size: 12px;
}
.mdtr2 .agent-notify-fallback {
  padding: 14px 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
}
.mdtr2 .agent .btn-ghost {
  background: rgba(255,255,255,.08);
  color: var(--white);
  border-color: rgba(255,255,255,.2);
}
.mdtr2 .agent .btn-ghost:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.4); }

.mdtr2 .agent-progress {
  margin-top: 32px;
  height: 4px;
  background: rgba(255,255,255,.08);
  border-radius: 2px;
  overflow: hidden;
}
.mdtr2 .agent-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--md-cyan), var(--md-blue));
  transition: width .6s ease;
  border-radius: 2px;
}

/* ============================================
   Section 9 — Platforms
   ============================================ */
.mdtr2 .platforms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.mdtr2 .platform {
  background: var(--white);
  border-radius: var(--r-md);
  border: 1px solid var(--ink-100);
  padding: 28px 20px;
  display: flex; align-items: center; justify-content: center;
  height: 110px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
}
.mdtr2 .platform:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-2);
  border-color: rgba(61,107,191,.3);
}
.mdtr2 .platform img {
  max-height: 48px;
  max-width: 86%;
  object-fit: contain;
  filter: saturate(.95);
}
.mdtr2 .platform-base img {
  max-height: 60px;
  max-width: 80%;
  transform: none;
}
.mdtr2 .platform-makeshop img {
  max-height: 68px;
  max-width: 100%;
  transform: scale(1.7);
}
.mdtr2 .platform-yahoo img {
  max-height: 58px;
  max-width: 92%;
  transform: none;
}
.mdtr2 .platform.other {
  color: var(--ink-700);
  font-weight: 700;
  font-size: 14px;
  border-style: dashed;
}

.mdtr2 .linkage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.mdtr2 .linkage-chip {
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-700);
  display: flex; align-items: center; gap: 8px;
}
.mdtr2 .linkage-chip::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--md-cyan);
}

.mdtr2 .related-links {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.mdtr2 .related-link {
  padding: 18px 22px;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-900);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.mdtr2 .related-link:hover {
  border-color: var(--md-blue);
  box-shadow: var(--sh-1);
  transform: translateX(2px);
}
.mdtr2 .related-link .rl-arrow { color: var(--md-blue); }

/* ============================================
   Section 10 — Support flow
   ============================================ */
.mdtr2 .flow-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  position: relative;
}
.mdtr2 .flow-step {
  padding: 24px 16px 22px;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-md);
  text-align: center;
  position: relative;
  box-shadow: var(--sh-1);
}
.mdtr2 .flow-step .step-num {
  font-family: var(--font-num);
  font-size: 11px; font-weight: 700; letter-spacing: .18em;
  color: var(--md-cyan);
}
.mdtr2 .flow-step .step-ico {
  width: 40px; height: 40px;
  margin: 12px auto;
  border-radius: 12px;
  background: var(--md-blue-50);
  color: var(--md-blue);
  display: grid; place-items: center;
}
.mdtr2 .flow-step h4 { font-size: 13px; font-weight: 700; line-height: 1.4; }
.mdtr2 .flow-step::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -6px;
  width: 12px; height: 12px;
  border-top: 2px solid var(--md-blue);
  border-right: 2px solid var(--md-blue);
  transform: translateY(-50%) rotate(45deg);
}
.mdtr2 .flow-step:last-child::after { display: none; }

.mdtr2 .flow-notes {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.mdtr2 .flow-note {
  padding: 18px 20px;
  background: var(--md-blue-25);
  border-radius: 12px;
  display: flex; align-items: center; gap: 12px;
  font-size: 13.5px;
  color: var(--ink-700);
  border: 1px solid var(--md-blue-50);
}
.mdtr2 .flow-note .fn-ico {
  width: 28px; height: 28px; flex-shrink: 0;
  background: var(--md-blue);
  color: var(--white);
  border-radius: 50%;
  display: grid; place-items: center;
}

/* ============================================
   Section 11 — Blog
   ============================================ */
.mdtr2 .blog-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.mdtr2 .blog-grid--full {
  grid-template-columns: 1fr;
}
.mdtr2 .blog-grid--full .blog-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.mdtr2 .blog-list { display: grid; gap: 16px; }
.mdtr2 .blog-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-md);
  transition: box-shadow .2s ease, transform .2s ease;
}
.mdtr2 .blog-item:hover { box-shadow: var(--sh-2); transform: translateY(-2px); }
.mdtr2 .blog-thumb {
  aspect-ratio: 16/10;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--md-blue-25), var(--md-cyan-50));
  position: relative;
  overflow: hidden;
  display: grid; place-items: center;
  color: var(--md-blue);
}
.mdtr2 .blog-thumb.t1 { background: linear-gradient(135deg, #DCE9FA, #B6D5F5); }
.mdtr2 .blog-thumb.t2 { background: linear-gradient(135deg, #E0F3FA, #BCE3F3); }
.mdtr2 .blog-thumb.t3 { background: linear-gradient(135deg, #DEE6F8, #C6D2F2); }
.mdtr2 .blog-thumb.t4 { background: linear-gradient(135deg, #E8F2FB, #D2E2F5); }
.mdtr2 .blog-thumb img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.mdtr2 .blog-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--md-blue-50);
  color: var(--md-blue);
  letter-spacing: .08em;
}
.mdtr2 .blog-info h4 { font-size: 16px; font-weight: 700; margin: 10px 0 8px; line-height: 1.5; }
.mdtr2 .blog-info p { font-size: 13px; color: var(--ink-500); line-height: 1.6; }
.mdtr2 .blog-meta {
  display: flex; gap: 14px; font-size: 11px; color: var(--ink-400);
  margin-top: 12px; font-family: var(--font-num);
}

.mdtr2 .blog-side h4 {
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--ink-500);
  margin-bottom: 14px;
  font-weight: 700;
}
.mdtr2 .blog-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.mdtr2 .blog-cat-chip {
  padding: 8px 14px;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-pill);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-700);
  transition: all .2s ease;
}
.mdtr2 .blog-cat-chip:hover {
  border-color: var(--md-blue);
  color: var(--md-blue);
  background: var(--md-blue-25);
}

/* ============================================
   Section 12 — YouTube
   ============================================ */
.mdtr2 .yt-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 36px;
}
.mdtr2 .yt-feature,
.mdtr2 .yt-card {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.mdtr2 .yt-feature:hover,
.mdtr2 .yt-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.mdtr2 .yt-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--ink-700), var(--ink-900));
  display: grid; place-items: center;
  overflow: hidden;
}
.mdtr2 .yt-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mdtr2 .yt-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(14,27,51,.28);
  z-index: 1;
}
.mdtr2 .yt-thumb.t1 { background: linear-gradient(135deg, #2A3855, #0E1B33); }
.mdtr2 .yt-thumb.t2 { background: linear-gradient(135deg, #234584, #0E1B33); }
.mdtr2 .yt-thumb.t3 { background: linear-gradient(135deg, #3D6BBF, #234584); }
.mdtr2 .yt-play {
  width: 56px; height: 56px;
  background: rgba(255,255,255,.95);
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
  z-index: 2;
}
.mdtr2 .yt-play::after {
  content: "";
  width: 0; height: 0;
  border-left: 18px solid var(--ink-900);
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  margin-left: 4px;
}
.mdtr2 .yt-duration {
  position: absolute;
  bottom: 10px; right: 10px;
  padding: 3px 7px;
  background: rgba(0,0,0,.8);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  border-radius: 4px;
  font-family: var(--font-num);
  z-index: 2;
}
.mdtr2 .yt-info { padding: 16px 18px; }
.mdtr2 .yt-info .cat {
  font-size: 11px; font-weight: 700; color: var(--md-blue);
  letter-spacing: .12em;
}
.mdtr2 .yt-info h4 { font-size: 14px; font-weight: 700; margin-top: 6px; line-height: 1.5; }
.mdtr2 .yt-info .views {
  font-size: 11px; color: var(--ink-400); margin-top: 8px;
  font-family: var(--font-num);
}
.mdtr2 .yt-feature .yt-info h4 { font-size: 18px; }

/* ============================================
   Section 13 — Download / lead form
   ============================================ */
.mdtr2 .dl-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 36px;
  align-items: start;
}
.mdtr2 .dl-list { display: grid; gap: 12px; }
.mdtr2 .dl-item {
  width: 100%;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-md);
  text-align: left;
  font-family: inherit;
  color: inherit;
  cursor: pointer;
  transition: all .2s ease;
}
.mdtr2 .dl-item:hover,
.mdtr2 .dl-item.is-selected {
  border-color: var(--md-blue);
  box-shadow: var(--sh-1);
}
.mdtr2 .dl-item.is-selected {
  background: linear-gradient(180deg, #FFFFFF, var(--md-blue-25));
}
.mdtr2 .dl-thumb {
  width: 56px; height: 72px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--md-blue), var(--md-blue-600));
  display: grid; place-items: center;
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  position: relative;
  box-shadow: var(--sh-1);
}
.mdtr2 .dl-thumb::before {
  content: "";
  position: absolute;
  top: 8px; left: 6px; right: 6px;
  height: 8px;
  background: rgba(255,255,255,.4);
  border-radius: 2px;
}
.mdtr2 .dl-thumb::after {
  content: "";
  position: absolute;
  top: 22px; left: 6px; right: 6px; bottom: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.3) 0%, rgba(255,255,255,.3) 2px, transparent 2px, transparent 6px),
    linear-gradient(180deg, transparent 6px, rgba(255,255,255,.3) 6px, rgba(255,255,255,.3) 8px, transparent 8px),
    linear-gradient(180deg, transparent 12px, rgba(255,255,255,.3) 12px, rgba(255,255,255,.3) 14px);
  background-repeat: no-repeat;
}
.mdtr2 .dl-info h4 { font-size: 14.5px; font-weight: 700; line-height: 1.5; }
.mdtr2 .dl-info p { font-size: 12px; color: var(--ink-500); margin-top: 4px; }
.mdtr2 .dl-arrow {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--md-blue-50);
  color: var(--md-blue);
  display: grid; place-items: center;
}
.mdtr2 .dl-status {
  padding: 6px 10px;
  border-radius: var(--r-pill);
  background: var(--md-blue-50);
  color: var(--md-blue);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.mdtr2 .dl-form {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: var(--sh-2);
  border: 1px solid var(--ink-100);
}
.mdtr2 .dl-form h3 { font-size: 18px; font-weight: 800; margin-bottom: 18px; }
.mdtr2 .dl-form-lead {
  color: var(--ink-600);
  font-size: 13px;
  line-height: 1.8;
  margin: -6px 0 16px;
}
.mdtr2 .dl-selected {
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid var(--md-blue-50);
  border-radius: 12px;
  background: var(--md-blue-25);
}
.mdtr2 .dl-selected span {
  display: block;
  margin-bottom: 4px;
  color: var(--md-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}
.mdtr2 .dl-selected strong {
  display: block;
  color: var(--ink-900);
  font-size: 13px;
  line-height: 1.55;
}
.mdtr2 .dl-guidance p {
  color: var(--ink-600);
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 14px;
}
.mdtr2 .dl-cf7 .wpcf7 { width: 100%; }
.mdtr2 .dl-cf7 .wpcf7-form {
  display: grid;
  gap: 14px;
}
.mdtr2 .dl-cf7 .wpcf7-form p {
  margin: 0;
  min-width: 0;
}
.mdtr2 .dl-cf7 br { display: none; }
.mdtr2 .dl-request-fields {
  display: grid;
  gap: 13px;
}
.mdtr2 .dl-request-field {
  display: block;
  color: var(--ink-700);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}
.mdtr2 .dl-request-field span {
  margin-left: 6px;
  color: var(--ink-400);
  font-size: 10px;
}
.mdtr2 .dl-cf7 .wpcf7-form-control-wrap {
  display: block;
  margin-top: 7px;
}
.mdtr2 .dl-cf7 .dl-input {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid var(--ink-200);
  border-radius: 12px;
  background: var(--ink-50);
  color: var(--ink-900);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.mdtr2 .dl-cf7 .dl-input:focus {
  border-color: var(--md-blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(61,107,191,.1);
}
.mdtr2 .dl-cf7 .dl-input[readonly] {
  background: var(--md-blue-25);
  color: var(--ink-700);
}
.mdtr2 .dl-request-submit {
  display: flex;
  justify-content: stretch;
}
.mdtr2 .dl-cf7 .dl-submit,
.mdtr2 .dl-cf7 .wpcf7-submit {
  width: 100%;
  min-height: 50px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, var(--md-blue), var(--md-blue-600));
  color: var(--white);
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  box-shadow: var(--sh-blue);
  cursor: pointer;
}
.mdtr2 .dl-cf7 .wpcf7-spinner {
  margin: 10px 0 0;
}
.mdtr2 .dl-cf7 .wpcf7-not-valid-tip {
  margin-top: 5px;
  color: #D13B3B;
  font-size: 11px;
}
.mdtr2 .dl-cf7 .wpcf7-response-output {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12px;
}
.mdtr2 .dl-form-fallback {
  padding: 14px 16px;
  border: 1px solid var(--ink-100);
  border-radius: 12px;
  background: var(--ink-50);
  color: var(--ink-600);
  font-size: 13px;
  line-height: 1.7;
}
.mdtr2 .dl-actions {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}
.mdtr2 .form-field { margin-bottom: 14px; }
.mdtr2 .form-field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-700);
  margin-bottom: 6px;
}
.mdtr2 .form-field label .req {
  color: #E04848;
  font-size: 10px;
  margin-left: 6px;
}
.mdtr2 .form-field input,
.mdtr2 .form-field select,
.mdtr2 .form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--ink-200);
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  background: var(--ink-50);
  transition: border-color .2s ease, background .2s ease;
}
.mdtr2 .form-field input:focus,
.mdtr2 .form-field select:focus,
.mdtr2 .form-field textarea:focus {
  outline: none;
  border-color: var(--md-blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(61,107,191,.1);
}
.mdtr2 .form-field select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%235B6884' d='M6 8L0 0h12z'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.mdtr2 .form-submit {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 16px;
  background: linear-gradient(135deg, var(--md-blue), var(--md-blue-600));
  color: var(--white);
  font-weight: 700;
  border-radius: 10px;
  font-size: 15px;
  letter-spacing: .02em;
  text-align: center;
  box-shadow: var(--sh-blue);
  transition: transform .15s ease;
}
.mdtr2 .form-submit:hover { transform: translateY(-1px); }

/* ============================================
   Section 14 — FAQ
   ============================================ */
.mdtr2 .faq-list {
  display: grid;
  gap: 12px;
  max-width: 880px;
  margin: 0 auto;
}
.mdtr2 .faq-item {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.mdtr2 .faq-item.open { border-color: var(--md-blue); box-shadow: var(--sh-1); }
.mdtr2 .faq-q {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 24px;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-900);
}
.mdtr2 .faq-q .q-mark {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--md-blue);
  color: var(--white);
  display: grid; place-items: center;
  font-size: 13px; font-weight: 800;
  font-family: var(--font-num);
  flex-shrink: 0;
}
.mdtr2 .faq-q .q-toggle {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--md-blue-50);
  color: var(--md-blue);
  display: grid; place-items: center;
  transition: transform .25s ease, background .2s ease;
}
.mdtr2 .faq-item.open .q-toggle { transform: rotate(45deg); background: var(--md-blue); color: var(--white); }
.mdtr2 .faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
}
.mdtr2 .faq-a > div {
  overflow: hidden;
  padding: 0 24px 0 68px;
}
.mdtr2 .faq-item.open .faq-a { grid-template-rows: 1fr; }
.mdtr2 .faq-item.open .faq-a > div { padding: 0 24px 22px 68px; }
.mdtr2 .faq-a p {
  font-size: 14px;
  color: var(--ink-700);
  line-height: 1.8;
}

/* ============================================
   Section 15 — News
   ============================================ */
.mdtr2 .news-list {
  display: grid;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--r-md);
  border: 1px solid var(--ink-100);
  overflow: hidden;
  box-shadow: var(--sh-1);
}
.mdtr2 .news-row {
  display: grid;
  grid-template-columns: 110px 110px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--ink-100);
  transition: background .15s ease;
}
.mdtr2 .news-row:last-child { border-bottom: 0; }
.mdtr2 .news-row:hover { background: var(--md-blue-25); }
.mdtr2 .news-date {
  font-family: var(--font-num);
  font-size: 12px;
  color: var(--ink-500);
  font-weight: 600;
}
.mdtr2 .news-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  text-align: center;
  letter-spacing: .08em;
}
.mdtr2 .tag-release { background: var(--md-blue); color: var(--white); }
.mdtr2 .tag-update { background: var(--md-cyan-50); color: var(--md-blue); }
.mdtr2 .tag-blog { background: var(--ink-100); color: var(--ink-700); }
.mdtr2 .tag-youtube { background: #FCE7E5; color: #C73932; }
.mdtr2 .news-title { font-size: 14px; color: var(--ink-900); font-weight: 600; }
.mdtr2 .news-row .news-arrow { color: var(--ink-400); }

/* ============================================
   Section 16 — Final CTA
   ============================================ */
.mdtr2 .final-cta {
  background: linear-gradient(135deg, var(--md-blue) 0%, var(--md-blue-600) 100%);
  color: var(--white);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.mdtr2 .final-cta::before {
  content: "";
  position: absolute;
  top: -160px; right: -120px;
  width: 600px; height: 600px;
  background: radial-gradient(closest-side, rgba(58,174,216,.4), transparent 70%);
  filter: blur(40px);
}
.mdtr2 .final-cta::after {
  content: "";
  position: absolute;
  bottom: -140px; left: -80px;
  width: 480px; height: 480px;
  background: radial-gradient(closest-side, rgba(255,255,255,.15), transparent 70%);
  filter: blur(30px);
}
.mdtr2 .final-inner {
  position: relative;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.mdtr2 .final-inner h2 {
  font-size: clamp(25px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .02em;
}
.mdtr2 .final-inner h2 span {
  display: inline-block;
}
.mdtr2 .final-inner p {
  margin-top: 20px;
  font-size: 15px;
  color: rgba(255,255,255,.85);
}
.mdtr2 .final-cta-buttons {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.mdtr2 .final-cta .btn-primary {
  background: var(--white);
  color: var(--md-blue);
  box-shadow: 0 16px 40px rgba(0,0,0,.18);
}
.mdtr2 .final-cta .btn-primary:hover { background: var(--md-blue-25); }
.mdtr2 .final-cta .btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.4);
}
.mdtr2 .final-cta .btn-ghost:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.mdtr2 .final-aux {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.mdtr2 .final-aux a {
  color: rgba(255,255,255,.85);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color .2s ease;
}
.mdtr2 .final-aux a:hover { color: var(--white); }
.mdtr2 .final-aux a::after {
  content: "\2192";
  font-size: 14px;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .mdtr2 .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .mdtr2 .hero-visual { max-width: 420px; justify-self: center; }
  .mdtr2 .hero-proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mdtr2 .pillars-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mdtr2 .consult-grid { grid-template-columns: 1fr; }
  .mdtr2 .kpi-strip { grid-template-columns: repeat(3, 1fr); }
  .mdtr2 .kpi:nth-child(3) { border-right: 0; }
  .mdtr2 .strengths-grid { grid-template-columns: repeat(2, 1fr); }
  .mdtr2 .app-showcase { grid-template-columns: 1fr; gap: 36px; }
  .mdtr2 .app-showcase.reverse > .app-info { order: 0; }
  .mdtr2 .platforms-grid,
  .mdtr2 .linkage-grid,
  .mdtr2 .yt-grid { grid-template-columns: repeat(2, 1fr); }
  .mdtr2 .flow-grid { grid-template-columns: repeat(2, 1fr); }
  .mdtr2 .flow-step::after { display: none; }
  .mdtr2 .blog-grid,
  .mdtr2 .dl-grid { grid-template-columns: 1fr; }
  .mdtr2 .blog-grid--full .blog-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mdtr2 .agent-flow { grid-template-columns: repeat(2, 1fr); }
  .mdtr2 .agent-stage { height: auto; }
  .mdtr2 .related-links,
  .mdtr2 .flow-notes { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .mdtr2 .hero-proof {
    margin-top: -18px;
    padding-bottom: 30px;
    overflow: hidden;
  }
  .mdtr2 .hero-proof-grid,
  .mdtr2 .pillars-grid,
  .mdtr2 .blog-list,
  .mdtr2 .yt-grid,
  .mdtr2 .dl-list {
    display: flex;
    gap: 14px;
    margin-right: -24px;
    margin-left: -24px;
    padding: 0 24px 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .mdtr2 .hero-proof-grid::-webkit-scrollbar,
  .mdtr2 .pillars-grid::-webkit-scrollbar,
  .mdtr2 .blog-list::-webkit-scrollbar,
  .mdtr2 .yt-grid::-webkit-scrollbar,
  .mdtr2 .dl-list::-webkit-scrollbar {
    display: none;
  }
  .mdtr2 .hero-proof-card,
  .mdtr2 .pillar,
  .mdtr2 .blog-item,
  .mdtr2 .yt-feature,
  .mdtr2 .yt-card,
  .mdtr2 .dl-item {
    flex: 0 0 min(82vw, 340px);
    scroll-snap-align: start;
  }
  .mdtr2 .hero-proof-card {
    min-height: 150px;
  }
  .mdtr2 .blog-item {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .mdtr2 section { padding: 64px 0; }
  .mdtr2 .hero { padding: 56px 0 48px; }
  .mdtr2 .kpi-strip { grid-template-columns: 1fr; }
  .mdtr2 .kpi { border-right: 0; border-bottom: 1px solid var(--ink-100); }
  .mdtr2 .kpi:last-child { border-bottom: 0; }
  .mdtr2 .strengths-grid { grid-template-columns: 1fr; }
  .mdtr2 .platforms-grid,
  .mdtr2 .linkage-grid,
  .mdtr2 .flow-grid { grid-template-columns: 1fr; }
  .mdtr2 .news-row { grid-template-columns: 1fr; gap: 8px; padding: 16px 18px; }
  .mdtr2 .blog-item { grid-template-columns: 1fr; }
  .mdtr2 .feature-grid { grid-template-columns: 1fr; }
  .mdtr2 .dl-item {
    grid-template-columns: 48px 1fr;
    gap: 14px;
    padding: 16px;
  }
  .mdtr2 .dl-thumb {
    width: 48px;
    height: 62px;
  }
  .mdtr2 .dl-status {
    grid-column: 1 / -1;
    justify-self: start;
  }
  .mdtr2 .dl-form { padding: 22px 18px; }
}

/* ============================================================
   AgentSync — Phone Demo block (pure-CSS looping animation)
   Inserted inside the AgentSync section, between the 4-step
   flow and the CTA. All selectors scoped under .mdtr2.
   ============================================================ */
.mdtr2 .demo-block {
  --cycle: 16s;
  --ease: cubic-bezier(.4, 0, .2, 1);
  position: relative;
  padding: 48px 0 56px;
  overflow: visible;
  margin: 44px 0 8px;
}
.mdtr2 .demo-block::before {
  display: none;
}
.mdtr2 .demo-inner {
  position: relative;
  max-width: 1420px;
  margin: 0 auto;
  min-width: 0;
}
.mdtr2 .demo-head { text-align: center; margin-bottom: 56px; }
.mdtr2 .demo-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: rgba(58,174,216,.15);
  color: var(--md-cyan);
  border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .12em;
}
.mdtr2 .demo-eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--md-cyan);
}
.mdtr2 .demo-title {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  margin: 16px 0 10px;
  line-height: 1.4;
  color: var(--white);
}
.mdtr2 .demo-title em { font-style: normal; color: var(--md-cyan); }
.mdtr2 .demo-sub {
  color: rgba(255,255,255,.7);
  font-size: 14px;
  max-width: 640px;
  margin: 0 auto;
}

/* ---- layout: steps + phone ---- */
.mdtr2 .demo-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(390px, 31vw, 500px);
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
  min-width: 0;
}
@media (max-width: 980px) {
  .mdtr2 .demo-stage { grid-template-columns: 1fr; gap: 36px; justify-items: center; }
  .mdtr2 .steps-panel { max-width: 620px; width: 100%; }
  .mdtr2 .phone { width: min(390px, 92vw); }
  .mdtr2 .agent-notify {
    grid-template-columns: 1fr;
    gap: 20px;
    width: min(100%, 720px);
  }
}
@media (max-width: 640px) {
  .mdtr2 .agent .container {
    width: 100%;
    max-width: 100%;
    padding-inline: 16px;
  }
  .mdtr2 .demo-block { padding: 36px 0 44px; }
  .mdtr2 .demo-stage { width: 100%; overflow: hidden; }
  .mdtr2 .steps-panel { max-width: 100%; }
  .mdtr2 .step-row {
    grid-template-columns: 44px 1fr;
    gap: 14px;
    padding: 18px 16px;
    width: 100%;
    min-width: 0;
  }
  .mdtr2 .step-row > div {
    min-width: 0;
  }
  .mdtr2 .step-row .sr-num {
    width: 44px;
    height: 44px;
    font-size: 14px;
  }
  .mdtr2 .step-row h4 { font-size: 14px; }
  .mdtr2 .step-row p { font-size: 12px; }
  .mdtr2 .step-row h4,
  .mdtr2 .step-row p {
    overflow-wrap: anywhere;
  }
  .mdtr2 .phone-wrap {
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
  }
  .mdtr2 .phone-wrap::before { inset: -18px; }
  .mdtr2 .phone { width: min(320px, calc(100vw - 48px)); }
  .mdtr2 .agent-notify {
    margin-top: 40px;
    width: 100%;
    max-width: 100%;
    padding: 22px 18px;
    border-radius: 18px;
  }
  .mdtr2 .agent-notify-form .wpcf7-form {
    grid-template-columns: 1fr;
  }
  .mdtr2 .agent-notify-fields {
    grid-template-columns: 1fr;
  }
  .mdtr2 .agent-notify-submit,
  .mdtr2 .agent-notify-form .agent-submit,
  .mdtr2 .agent-notify-form .wpcf7-submit {
    width: 100%;
  }
  .mdtr2 .agent-notify-form .agent-submit,
  .mdtr2 .agent-notify-form .wpcf7-submit {
    min-height: 50px;
    padding-inline: 16px;
    font-size: 13px;
    white-space: normal;
  }
}
@media (max-width: 390px) {
  .mdtr2 .agent .container { padding-inline: 14px; }
  .mdtr2 .step-row {
    grid-template-columns: 42px 1fr;
    gap: 12px;
    padding: 16px 14px;
  }
  .mdtr2 .step-row .sr-num {
    width: 42px;
    height: 42px;
  }
  .mdtr2 .phone { width: min(300px, calc(100vw - 40px)); }
}

/* ---- steps panel ---- */
.mdtr2 .steps-panel {
  position: relative;
  display: grid;
  gap: 18px;
  max-width: 680px;
  min-width: 0;
}
.mdtr2 .step-row {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 28px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  transition: background .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
}
.mdtr2 .step-row .sr-num {
  width: 58px; height: 58px;
  border-radius: 14px;
  background: rgba(58,174,216,.12);
  color: var(--md-cyan);
  display: grid; place-items: center;
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 17px;
  transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
}
.mdtr2 .step-row h4 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  color: rgba(255,255,255,.85);
  transition: color .4s var(--ease);
}
.mdtr2 .step-row p {
  margin: 0;
  font-size: 14px;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
}
.mdtr2 .step-row.active {
  background: rgba(58,174,216,.1);
  border-color: rgba(58,174,216,.4);
  box-shadow: 0 0 32px rgba(58,174,216,.15);
}
.mdtr2 .step-row.active .sr-num {
  background: linear-gradient(135deg, var(--md-cyan), var(--md-blue));
  color: var(--white);
  box-shadow: 0 0 20px rgba(58,174,216,.5);
}
.mdtr2 .step-row.active h4 { color: var(--white); }

.mdtr2 .step-row { animation-duration: var(--cycle); animation-iteration-count: infinite; animation-timing-function: linear; }
.mdtr2 .step-row.sr-1 { animation-name: mdtr2-step1; }
.mdtr2 .step-row.sr-2 { animation-name: mdtr2-step2; }
.mdtr2 .step-row.sr-3 { animation-name: mdtr2-step3; }
.mdtr2 .step-row.sr-4 { animation-name: mdtr2-step4; }
@keyframes mdtr2-step1 {
  0%, 3%      { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.08); box-shadow: none; }
  4%, 28%     { background: rgba(58,174,216,.1); border-color: rgba(58,174,216,.4); box-shadow: 0 0 32px rgba(58,174,216,.15); }
  30%, 100%   { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.08); box-shadow: none; }
}
@keyframes mdtr2-step2 {
  0%, 28%     { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.08); box-shadow: none; }
  29%, 44%    { background: rgba(58,174,216,.1); border-color: rgba(58,174,216,.4); box-shadow: 0 0 32px rgba(58,174,216,.15); }
  46%, 100%   { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.08); box-shadow: none; }
}
@keyframes mdtr2-step3 {
  0%, 44%     { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.08); box-shadow: none; }
  45%, 56%    { background: rgba(58,174,216,.1); border-color: rgba(58,174,216,.4); box-shadow: 0 0 32px rgba(58,174,216,.15); }
  58%, 100%   { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.08); box-shadow: none; }
}
@keyframes mdtr2-step4 {
  0%, 56%     { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.08); box-shadow: none; }
  57%, 91%    { background: rgba(58,174,216,.1); border-color: rgba(58,174,216,.4); box-shadow: 0 0 32px rgba(58,174,216,.15); }
  93%, 100%   { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.08); box-shadow: none; }
}
.mdtr2 .step-row.sr-1 .sr-num { animation: mdtr2-num1 var(--cycle) infinite linear; }
.mdtr2 .step-row.sr-2 .sr-num { animation: mdtr2-num2 var(--cycle) infinite linear; }
.mdtr2 .step-row.sr-3 .sr-num { animation: mdtr2-num3 var(--cycle) infinite linear; }
.mdtr2 .step-row.sr-4 .sr-num { animation: mdtr2-num4 var(--cycle) infinite linear; }
.mdtr2 .step-row.sr-1 h4 { animation: mdtr2-head1 var(--cycle) infinite linear; }
.mdtr2 .step-row.sr-2 h4 { animation: mdtr2-head2 var(--cycle) infinite linear; }
.mdtr2 .step-row.sr-3 h4 { animation: mdtr2-head3 var(--cycle) infinite linear; }
.mdtr2 .step-row.sr-4 h4 { animation: mdtr2-head4 var(--cycle) infinite linear; }
@keyframes mdtr2-num1 {
  0%, 3%    { background: rgba(58,174,216,.12); color: var(--md-cyan); box-shadow: none; }
  4%, 28%   { background: linear-gradient(135deg, var(--md-cyan), var(--md-blue)); color: #fff; box-shadow: 0 0 20px rgba(58,174,216,.5); }
  30%, 100% { background: rgba(58,174,216,.12); color: var(--md-cyan); box-shadow: none; }
}
@keyframes mdtr2-num2 {
  0%, 28%   { background: rgba(58,174,216,.12); color: var(--md-cyan); box-shadow: none; }
  29%, 44%  { background: linear-gradient(135deg, var(--md-cyan), var(--md-blue)); color: #fff; box-shadow: 0 0 20px rgba(58,174,216,.5); }
  46%, 100% { background: rgba(58,174,216,.12); color: var(--md-cyan); box-shadow: none; }
}
@keyframes mdtr2-num3 {
  0%, 44%   { background: rgba(58,174,216,.12); color: var(--md-cyan); box-shadow: none; }
  45%, 56%  { background: linear-gradient(135deg, var(--md-cyan), var(--md-blue)); color: #fff; box-shadow: 0 0 20px rgba(58,174,216,.5); }
  58%, 100% { background: rgba(58,174,216,.12); color: var(--md-cyan); box-shadow: none; }
}
@keyframes mdtr2-num4 {
  0%, 56%   { background: rgba(58,174,216,.12); color: var(--md-cyan); box-shadow: none; }
  57%, 91%  { background: linear-gradient(135deg, var(--md-cyan), var(--md-blue)); color: #fff; box-shadow: 0 0 20px rgba(58,174,216,.5); }
  93%, 100% { background: rgba(58,174,216,.12); color: var(--md-cyan); box-shadow: none; }
}
@keyframes mdtr2-head1 { 0%,3% {color:rgba(255,255,255,.85);} 4%,28% {color:#fff;} 30%,100% {color:rgba(255,255,255,.85);} }
@keyframes mdtr2-head2 { 0%,28% {color:rgba(255,255,255,.85);} 29%,44% {color:#fff;} 46%,100% {color:rgba(255,255,255,.85);} }
@keyframes mdtr2-head3 { 0%,44% {color:rgba(255,255,255,.85);} 45%,56% {color:#fff;} 58%,100% {color:rgba(255,255,255,.85);} }
@keyframes mdtr2-head4 { 0%,56% {color:rgba(255,255,255,.85);} 57%,91% {color:#fff;} 93%,100% {color:rgba(255,255,255,.85);} }

/* ---- phone frame ---- */
.mdtr2 .phone-wrap {
  position: relative;
  justify-self: center;
  min-width: 0;
  max-width: 100%;
}
.mdtr2 .phone-wrap::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle at center, rgba(58,174,216,.25), transparent 65%);
  filter: blur(20px);
  z-index: 0;
}
.mdtr2 .phone {
  position: relative;
  width: clamp(360px, 29vw, 470px);
  height: auto;
  aspect-ratio: 320 / 660;
  max-width: 100%;
  background: #111827;
  border-radius: 48px;
  padding: 12px;
  box-shadow:
    0 30px 80px rgba(0,0,0,.5),
    0 0 0 1px rgba(255,255,255,.08),
    inset 0 0 0 2px rgba(255,255,255,.04);
}
.mdtr2 .phone-screen {
  --mdtr2-product-cursor-x: 50%;
  --mdtr2-product-cursor-y: 60.5%;
  --mdtr2-cart-cursor-x: 69%;
  --mdtr2-cart-cursor-y: calc(100% - 46px);
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 36px;
  background: #F6F8FC;
  overflow: hidden;
  color: var(--ink-900);
  font-size: 13px;
  line-height: 1.55;
}
@media (min-width: 1200px) {
  .mdtr2 .phone-screen {
    --mdtr2-product-cursor-y: 384px;
  }
}
.mdtr2 .notch {
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 28px;
  background: #111827;
  border-radius: 0 0 18px 18px;
  z-index: 50;
}
.mdtr2 .status-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 36px;
  padding: 10px 26px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; font-weight: 700;
  color: var(--ink-900);
  z-index: 40;
}
.mdtr2 .status-bar .right {
  display: flex; align-items: center; gap: 4px;
}
.mdtr2 .status-bar .signal,
.mdtr2 .status-bar .battery {
  display: inline-block;
  height: 10px;
  background: var(--ink-900);
  border-radius: 1px;
}
.mdtr2 .status-bar .signal { width: 14px; clip-path: polygon(0 80%, 25% 80%, 25% 60%, 50% 60%, 50% 30%, 75% 30%, 75% 0, 100% 0, 100% 100%, 0 100%); }
.mdtr2 .status-bar .battery { width: 22px; border-radius: 3px; position: relative; }
.mdtr2 .status-bar .battery::after { content: ""; position: absolute; right: -3px; top: 2px; width: 2px; height: 6px; background: var(--ink-900); border-radius: 0 1px 1px 0; }

/* ---- scenes ---- */
.mdtr2 .scene {
  position: absolute;
  inset: 0;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.mdtr2 .scene-chat {
  animation: mdtr2-chatScene var(--cycle) infinite var(--ease);
}
.mdtr2 .scene-product {
  animation: mdtr2-productScene var(--cycle) infinite var(--ease);
}
@keyframes mdtr2-chatScene {
  0%, 56%    { opacity: 1; transform: scale(1); }
  58%, 60%   { opacity: 0; transform: scale(.96); }
  92%, 94%   { opacity: 0; transform: scale(1.02); }
  96%, 100%  { opacity: 1; transform: scale(1); }
}
@keyframes mdtr2-productScene {
  0%, 56%    { opacity: 0; transform: translateY(20px); pointer-events: none; }
  58%, 92%   { opacity: 1; transform: translateY(0); }
  94%, 100%  { opacity: 0; transform: translateY(-20px); pointer-events: none; }
}

/* ---- chat scene UI ---- */
.mdtr2 .chat-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  padding: 44px 20px 14px;
  display: flex; align-items: center; gap: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.85));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--ink-100);
  z-index: 10;
}
.mdtr2 .ai-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--md-cyan), var(--md-blue));
  display: grid; place-items: center;
  color: white;
  font-weight: 800; font-size: 12px;
  box-shadow: 0 4px 12px rgba(58,174,216,.4);
  position: relative;
}
.mdtr2 .ai-avatar::after {
  content: "";
  position: absolute;
  bottom: -1px; right: -1px;
  width: 9px; height: 9px;
  background: #2DB66E;
  border: 2px solid white;
  border-radius: 50%;
}
.mdtr2 .chat-header .title { font-size: 13px; font-weight: 800; color: var(--ink-900); white-space: nowrap; }
.mdtr2 .chat-header .status { font-size: 10px; color: var(--ink-500); font-weight: 600; white-space: nowrap; }

.mdtr2 .chat-area {
  position: absolute;
  top: 92px; left: 0; right: 0; bottom: 80px;
  padding: 18px 16px;
  overflow: hidden;
  display: flex; flex-direction: column;
  gap: 10px;
}

.mdtr2 .user-bubble {
  align-self: flex-end;
  max-width: 88%;
  padding: 12px 14px;
  background: linear-gradient(135deg, var(--md-blue), var(--md-blue-600));
  color: white;
  border-radius: 18px 18px 4px 18px;
  font-size: 12.5px;
  line-height: 1.6;
  box-shadow: 0 4px 12px rgba(61,107,191,.3);
  opacity: 0;
  transform: translateY(20px) scale(.92);
  animation: mdtr2-userBubble var(--cycle) infinite var(--ease);
}
@keyframes mdtr2-userBubble {
  0%, 15%     { opacity: 0; transform: translateY(20px) scale(.92); }
  18%, 19%    { opacity: 1; transform: translateY(0) scale(1); }
  56%         { opacity: 1; transform: translateY(0) scale(1); }
  58%, 100%   { opacity: 0; transform: translateY(-10px) scale(.96); }
}

.mdtr2 .ai-typing {
  align-self: flex-start;
  display: flex; gap: 4px;
  padding: 12px 16px;
  background: white;
  border: 1px solid var(--ink-100);
  border-radius: 18px 18px 18px 4px;
  box-shadow: 0 2px 8px rgba(20,38,76,.04);
  opacity: 0;
  animation: mdtr2-aiTyping var(--cycle) infinite var(--ease);
}
.mdtr2 .ai-typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ink-300);
  animation: mdtr2-dot 1.2s infinite ease-in-out;
}
.mdtr2 .ai-typing span:nth-child(2) { animation-delay: .15s; }
.mdtr2 .ai-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes mdtr2-dot {
  0%, 60%, 100% { transform: translateY(0); background: var(--ink-300); }
  30% { transform: translateY(-4px); background: var(--md-blue); }
}
@keyframes mdtr2-aiTyping {
  0%, 19%   { opacity: 0; }
  20%, 24%  { opacity: 1; }
  25%, 100% { opacity: 0; height: 0; padding: 0; margin: 0; }
}

.mdtr2 .ai-reply {
  align-self: flex-start;
  max-width: 90%;
  padding: 12px 14px;
  background: white;
  border: 1px solid var(--ink-100);
  border-radius: 18px 18px 18px 4px;
  font-size: 12px;
  color: var(--ink-700);
  line-height: 1.7;
  box-shadow: 0 2px 8px rgba(20,38,76,.04);
  opacity: 0;
  transform: translateY(10px);
  animation: mdtr2-aiReply var(--cycle) infinite var(--ease);
}
@keyframes mdtr2-aiReply {
  0%, 25%    { opacity: 0; transform: translateY(10px); }
  28%, 56%   { opacity: 1; transform: translateY(0); }
  58%, 100%  { opacity: 0; transform: translateY(-10px); }
}

.mdtr2 .product-rec {
  align-self: stretch;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 2px;
}
.mdtr2 .product-rec .pcard {
  background: white;
  border: 1px solid var(--ink-100);
  border-radius: 12px;
  padding: 8px 6px 10px;
  box-shadow: 0 2px 6px rgba(20,38,76,.04);
  opacity: 0;
  transform: translateY(12px) scale(.95);
  position: relative;
}
.mdtr2 .product-rec .pcard:nth-child(1) { animation: mdtr2-pcard1 var(--cycle) infinite var(--ease); }
.mdtr2 .product-rec .pcard:nth-child(2) { animation: mdtr2-pcard2 var(--cycle) infinite var(--ease); }
.mdtr2 .product-rec .pcard:nth-child(3) { animation: mdtr2-pcard3 var(--cycle) infinite var(--ease); }
@keyframes mdtr2-pcard1 {
  0%, 30%    { opacity: 0; transform: translateY(12px) scale(.95); }
  33%, 56%   { opacity: 1; transform: translateY(0) scale(1); }
  58%, 100%  { opacity: 0; transform: translateY(-10px) scale(.96); }
}
@keyframes mdtr2-pcard2 {
  0%, 32%    { opacity: 0; transform: translateY(12px) scale(.95); }
  35%, 50%   { opacity: 1; transform: translateY(0) scale(1); }
  52%, 54%   { opacity: 1; transform: translateY(0) scale(1.1); box-shadow: 0 0 0 3px var(--md-blue), 0 8px 24px rgba(61,107,191,.3); }
  56%        { opacity: 0; transform: scale(1.6); }
  58%, 100%  { opacity: 0; transform: translateY(-10px) scale(.96); }
}
@keyframes mdtr2-pcard3 {
  0%, 34%    { opacity: 0; transform: translateY(12px) scale(.95); }
  37%, 56%   { opacity: 1; transform: translateY(0) scale(1); }
  58%, 100%  { opacity: 0; transform: translateY(-10px) scale(.96); }
}

.mdtr2 .pcard .pimg {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  background: linear-gradient(135deg, #EEF3FC, #DCE9FA);
  position: relative;
  overflow: hidden;
  display: grid; place-items: center;
}
.mdtr2 .pcard .pimg svg {
  color: var(--md-blue);
  opacity: .95;
}
.mdtr2 .pcard .pimg .shoe-icon {
  width: 42px;
  height: 42px;
  transform: translateY(3px);
}
.mdtr2 .pcard .pname {
  margin-top: 6px;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--ink-900);
  text-align: center;
  line-height: 1.3;
}
.mdtr2 .pcard .pprice {
  margin-top: 3px;
  font-size: 10px;
  font-weight: 800;
  color: var(--md-blue);
  text-align: center;
  font-family: var(--font-num);
}

.mdtr2 .tap-ripple {
  position: absolute;
  width: 60px; height: 60px;
  border-radius: 50%;
  border: 2px solid var(--md-blue);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  pointer-events: none;
  animation: mdtr2-ripple var(--cycle) infinite var(--ease);
}
@keyframes mdtr2-ripple {
  0%, 49%    { opacity: 0; transform: translate(-50%, -50%) scale(0); }
  50%        { opacity: .9; transform: translate(-50%, -50%) scale(0); }
  53%        { opacity: 0; transform: translate(-50%, -50%) scale(1.8); }
  100%       { opacity: 0; transform: translate(-50%, -50%) scale(1.8); }
}

.mdtr2 .input-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 14px 14px 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.95) 30%);
  display: flex; gap: 10px; align-items: center;
  z-index: 5;
}
.mdtr2 .input-box {
  flex: 1;
  height: 38px;
  background: white;
  border: 1px solid var(--ink-100);
  border-radius: 20px;
  padding: 0 16px;
  display: flex; align-items: center;
  font-size: 12px;
  color: var(--ink-700);
  overflow: hidden;
  position: relative;
  white-space: nowrap;
}
.mdtr2 .input-text {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  width: 0;
  vertical-align: middle;
  animation: mdtr2-typing var(--cycle) infinite steps(48, end);
}
@keyframes mdtr2-typing {
  0%, 2%     { width: 0; }
  16%        { width: 100%; }
  17%, 18%   { width: 100%; }
  18.5%      { width: 0; opacity: 0; }
  100%       { width: 0; opacity: 0; }
}
.mdtr2 .input-cursor {
  display: inline-block;
  width: 1.5px;
  height: 13px;
  background: var(--md-blue);
  margin-left: 1px;
  vertical-align: middle;
  animation: mdtr2-blink 1s infinite, mdtr2-cursorHide var(--cycle) infinite;
}
@keyframes mdtr2-blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}
@keyframes mdtr2-cursorHide {
  0%, 18%   { visibility: visible; }
  19%, 100% { visibility: hidden; }
}
.mdtr2 .send-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--md-blue), var(--md-blue-600));
  color: white;
  display: grid; place-items: center;
  box-shadow: 0 4px 12px rgba(61,107,191,.3);
  flex-shrink: 0;
  animation: mdtr2-sendPulse var(--cycle) infinite var(--ease);
}
@keyframes mdtr2-sendPulse {
  0%, 16%   { transform: scale(1); box-shadow: 0 4px 12px rgba(61,107,191,.3); }
  17%       { transform: scale(.9); }
  18%       { transform: scale(1.1); box-shadow: 0 4px 24px rgba(61,107,191,.6); }
  20%, 100% { transform: scale(1); box-shadow: 0 4px 12px rgba(61,107,191,.3); }
}

/* ---- product page scene ---- */
.mdtr2 .scene-product .pp-hero {
  position: relative;
  height: 320px;
  background: linear-gradient(160deg, #DCE9FA 0%, #B6D5F5 60%, #9BC1EF 100%);
  display: grid; place-items: center;
  overflow: hidden;
}
.mdtr2 .scene-product .pp-hero::before {
  content: "";
  position: absolute;
  top: 30%; left: 50%;
  transform: translate(-50%, -50%);
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(255,255,255,.6), transparent 60%);
  filter: blur(10px);
}
.mdtr2 .pp-shoe {
  position: relative;
  z-index: 1;
  width: 220px;
  filter: drop-shadow(0 20px 30px rgba(20,38,76,.3));
  animation: mdtr2-shoeIn var(--cycle) infinite var(--ease);
}
@keyframes mdtr2-shoeIn {
  0%, 57%   { opacity: 0; transform: scale(.7) rotate(-10deg); }
  60%, 90%  { opacity: 1; transform: scale(1) rotate(-6deg); }
  92%, 100% { opacity: 0; transform: scale(1.1) rotate(-4deg); }
}
.mdtr2 .pp-back {
  position: absolute;
  top: 50px; left: 16px;
  width: 32px; height: 32px;
  background: rgba(255,255,255,.9);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--ink-900);
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.mdtr2 .pp-fav {
  position: absolute;
  top: 50px; right: 16px;
  width: 32px; height: 32px;
  background: rgba(255,255,255,.9);
  border-radius: 50%;
  display: grid; place-items: center;
  color: #E04848;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.mdtr2 .pp-tag {
  position: absolute;
  top: 60px; left: 50%;
  transform: translateX(-50%);
  padding: 4px 12px;
  background: rgba(58,174,216,.95);
  color: white;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .08em;
  white-space: nowrap;
  z-index: 2;
  animation: mdtr2-tagIn var(--cycle) infinite var(--ease);
}
@keyframes mdtr2-tagIn {
  0%, 61%   { opacity: 0; transform: translateX(-50%) translateY(-10px); }
  64%, 92%  { opacity: 1; transform: translateX(-50%) translateY(0); }
  94%, 100% { opacity: 0; transform: translateX(-50%) translateY(-10px); }
}

.mdtr2 .pp-body {
  padding: 22px 22px 0;
  background: white;
  border-radius: 24px 24px 0 0;
  margin-top: -24px;
  position: relative;
  z-index: 2;
}
.mdtr2 .pp-brand {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--md-blue);
  animation: mdtr2-ppFade var(--cycle) infinite var(--ease) .3s;
}
.mdtr2 .pp-name {
  margin-top: 6px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--ink-900);
  animation: mdtr2-ppFade var(--cycle) infinite var(--ease) .3s;
}
.mdtr2 .pp-price-row {
  margin-top: 10px;
  display: flex; align-items: baseline; gap: 8px;
  animation: mdtr2-ppFade var(--cycle) infinite var(--ease) .4s;
}
.mdtr2 .pp-price {
  font-family: var(--font-num);
  font-size: 22px;
  font-weight: 800;
  color: var(--ink-900);
}
.mdtr2 .pp-strike {
  font-size: 12px;
  color: var(--ink-300);
  text-decoration: line-through;
  font-family: var(--font-num);
}
.mdtr2 .pp-off {
  font-size: 10px;
  font-weight: 800;
  color: #E04848;
  background: #FCE7E5;
  padding: 2px 6px;
  border-radius: 4px;
}
.mdtr2 .pp-feat {
  margin-top: 14px;
  display: flex; gap: 6px;
  flex-wrap: wrap;
  animation: mdtr2-ppFade var(--cycle) infinite var(--ease) .5s;
}
.mdtr2 .pp-feat span {
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 600;
  color: var(--ink-700);
  background: var(--ink-50);
  border: 1px solid var(--ink-100);
  border-radius: 8px;
  white-space: nowrap;
}
.mdtr2 .pp-desc {
  margin-top: 12px;
  font-size: 11.5px;
  color: var(--ink-500);
  line-height: 1.7;
  animation: mdtr2-ppFade var(--cycle) infinite var(--ease) .5s;
}
@keyframes mdtr2-ppFade {
  0%, 60%   { opacity: 0; transform: translateY(8px); }
  64%, 92%  { opacity: 1; transform: translateY(0); }
  94%, 100% { opacity: 0; transform: translateY(-4px); }
}

.mdtr2 .pp-cart {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 14px 18px 24px;
  background: white;
  border-top: 1px solid var(--ink-100);
  display: flex; gap: 10px;
  align-items: center;
  justify-content: center;
  z-index: 3;
}
.mdtr2 .pp-cart .cart-btn {
  flex: 0 1 210px;
  width: min(210px, calc(100% - 64px));
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--md-blue), var(--md-blue-600));
  color: white;
  display: grid; place-items: center;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .04em;
  position: relative;
  overflow: hidden;
  min-width: 0;
  max-width: 210px;
  box-shadow: 0 4px 16px rgba(61,107,191,.3);
  animation: mdtr2-cartPulse var(--cycle) infinite var(--ease);
}
.mdtr2 .pp-cart .cart-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--ink-50);
  display: grid; place-items: center;
  flex: 0 0 44px;
  color: var(--ink-700);
}
@keyframes mdtr2-cartPulse {
  0%, 72%    { transform: scale(1); box-shadow: 0 4px 16px rgba(61,107,191,.3); }
  76%        { transform: scale(.95); }
  79%        { transform: scale(1.04); box-shadow: 0 4px 24px rgba(61,107,191,.6); }
  82%, 92%   { transform: scale(1); box-shadow: 0 4px 16px rgba(61,107,191,.3); }
  94%, 100%  { transform: scale(1); box-shadow: 0 4px 16px rgba(61,107,191,.3); }
}
.mdtr2 .cart-btn .label-default,
.mdtr2 .cart-btn .label-added {
  position: absolute;
  inset: 0;
  display: grid; place-items: center;
  gap: 6px;
  grid-auto-flow: column;
  padding: 0 10px;
  white-space: nowrap;
}
.mdtr2 .cart-btn .label-default { animation: mdtr2-labelDefault var(--cycle) infinite var(--ease); }
.mdtr2 .cart-btn .label-added  {
  background: #2DB66E;
  animation: mdtr2-labelAdded var(--cycle) infinite var(--ease);
  opacity: 0;
}
@keyframes mdtr2-labelDefault {
  0%, 79%   { opacity: 1; }
  80%, 92%  { opacity: 0; }
  94%, 100% { opacity: 1; }
}
@keyframes mdtr2-labelAdded {
  0%, 79%   { opacity: 0; }
  80%, 92%  { opacity: 1; }
  94%, 100% { opacity: 0; }
}

/* ---- floating cursor ---- */
.mdtr2 .cursor {
  position: absolute;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.85);
  border: 2px solid var(--md-blue);
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  pointer-events: none;
  z-index: 60;
  transform: translate(-50%, -50%) scale(0);
  animation: mdtr2-cursorMove var(--cycle) infinite var(--ease);
}
@keyframes mdtr2-cursorMove {
  0%, 40%    { opacity: 0; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(0); }
  44%        { opacity: 1; left: var(--mdtr2-product-cursor-x); top: var(--mdtr2-product-cursor-y); transform: translate(-50%, -50%) scale(1); }
  48%, 51%   { opacity: 1; left: var(--mdtr2-product-cursor-x); top: var(--mdtr2-product-cursor-y); transform: translate(-50%, -50%) scale(1); }
  52%        { opacity: 1; transform: translate(-50%, -50%) scale(.82); }
  54%        { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  56%, 70%   { opacity: 0; left: var(--mdtr2-product-cursor-x); top: var(--mdtr2-product-cursor-y); transform: translate(-50%, -50%) scale(0); }
  72%, 75%   { opacity: 1; left: var(--mdtr2-cart-cursor-x); top: var(--mdtr2-cart-cursor-y); transform: translate(-50%, -50%) scale(1); }
  77%        { opacity: 1; left: var(--mdtr2-cart-cursor-x); top: var(--mdtr2-cart-cursor-y); transform: translate(-50%, -50%) scale(.82); }
  79%        { opacity: 1; left: var(--mdtr2-cart-cursor-x); top: var(--mdtr2-cart-cursor-y); transform: translate(-50%, -50%) scale(1); }
  84%, 100%  { opacity: 0; transform: translate(-50%, -50%) scale(0); }
}

.mdtr2 .cart-ripple {
  position: absolute;
  top: var(--mdtr2-cart-cursor-y); left: var(--mdtr2-cart-cursor-x);
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 2px solid #2DB66E;
  transform: translate(-50%, -50%) scale(0);
  pointer-events: none;
  z-index: 4;
  animation: mdtr2-cartRipple var(--cycle) infinite var(--ease);
}
@keyframes mdtr2-cartRipple {
  0%, 78%    { opacity: 0; transform: translate(-50%, -50%) scale(0); }
  79%        { opacity: .9; transform: translate(-50%, -50%) scale(0); }
  82%        { opacity: 0; transform: translate(-50%, -50%) scale(2.5); }
  100%       { opacity: 0; transform: translate(-50%, -50%) scale(2.5); }
}

/* ---- orbiting data particles ---- */
.mdtr2 .orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, white, var(--md-cyan));
  box-shadow: 0 0 20px rgba(58,174,216,.6);
  pointer-events: none;
  z-index: 0;
}
.mdtr2 .orb-1 { width: 12px; height: 12px; top: 8%; left: -4%; animation: mdtr2-orbFloat 8s infinite ease-in-out; }
.mdtr2 .orb-2 { width: 8px;  height: 8px;  top: 20%; right: -2%; animation: mdtr2-orbFloat 7s infinite ease-in-out reverse; }
.mdtr2 .orb-3 { width: 14px; height: 14px; bottom: 12%; left: -3%; animation: mdtr2-orbFloat 9s infinite ease-in-out; animation-delay: -2s; }
.mdtr2 .orb-4 { width: 6px;  height: 6px;  bottom: 30%; right: -4%; animation: mdtr2-orbFloat 6s infinite ease-in-out; animation-delay: -3s; }
@keyframes mdtr2-orbFloat {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-20px) translateX(8px); }
}

@media (prefers-reduced-motion: reduce) {
  .mdtr2 .demo-block *,
  .mdtr2 .demo-block *::before,
  .mdtr2 .demo-block *::after {
    animation-duration: .001s !important;
    animation-iteration-count: 1 !important;
  }
}
