/* Robot Dojo — Marketing Pages
   Baby blue palette. Light, polished, subtle. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand-50:  #f0f7ff;
  --brand-100: #dbeafe;
  --brand-200: #bfdbfe;
  --brand-300: #93c5fd;
  --brand-400: #60a5fa;
  --brand-500: #3b82f6;
  --brand-600: #2563eb;
  --brand-700: #1d4ed8;

  --bg:        #fafcff;
  --bg2:       #f0f4f8;
  --bg3:       #e2e8f0;
  --text:      #1a202c;
  --text-dim:  #4a5568;
  --text-muted:#a0aec0;
  --accent:    #3b82f6;
  --accent-hover: #2563eb;
  --border:    #e2e8f0;
  --border-light: #cbd5e1;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'SF Mono', 'Menlo', 'Consolas', monospace;
  --radius: 8px;
  --max-w: 1080px;
  --nav-h: 64px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- Nav --- */
.m-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem;
  background: rgba(250, 252, 255, 0.88);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}

.m-nav-brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.m-nav-brand img { height: 36px; width: 36px; }
.m-nav-brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.m-nav-brand-name {
  font-size: 1.05rem; font-weight: 600; color: var(--text);
  letter-spacing: -0.02em;
}
.m-nav-brand-tagline {
  font-size: 0.7rem; color: var(--text-muted); font-weight: 400;
  letter-spacing: 0.01em;
}

.m-nav-links { display: flex; align-items: center; gap: 0.25rem; }
.m-nav-link {
  color: var(--text-dim); text-decoration: none; font-size: 0.875rem;
  padding: 0.5rem 0.75rem; border-radius: var(--radius);
  transition: color 0.15s, background 0.15s; font-weight: 450;
}
.m-nav-link:hover { color: var(--text); background: var(--brand-50); }

/* FAQ dropdown */
.m-nav-dropdown { position: relative; }
.m-nav-dropdown-menu {
  position: absolute; top: 100%; right: 0; min-width: 200px;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 0.375rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}
.m-nav-dropdown:hover .m-nav-dropdown-menu,
.m-nav-dropdown.open .m-nav-dropdown-menu {
  opacity: 1; visibility: visible; transform: none;
}
/* dropdown items styled in FAQ section below */

/* Connect button */
.m-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.5rem 1.25rem; border-radius: var(--radius);
  font-size: 0.875rem; font-weight: 550; text-decoration: none;
  cursor: pointer; transition: all 0.15s; border: none;
  font-family: var(--font);
}
.m-btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 1px 2px rgba(59,130,246,0.2);
}
.m-btn-primary:hover { background: var(--accent-hover); box-shadow: 0 2px 8px rgba(59,130,246,0.25); }
.m-btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid var(--border-light);
}
.m-btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.m-btn-large {
  padding: 0.75rem 2rem; font-size: 1rem;
}

/* Hamburger */
.m-hamburger {
  display: none; background: none; border: none; cursor: pointer;
  padding: 0.75rem; color: var(--text-dim);
  min-width: 44px; min-height: 44px;
  align-items: center; justify-content: center;
}
.m-hamburger svg { width: 22px; height: 22px; }

/* --- Sections --- */
.m-section {
  padding: 5rem 2rem;
  max-width: var(--max-w); margin: 0 auto;
}
.m-section-alt { background: var(--bg2); }
.m-section-alt .m-section { padding: 5rem 2rem; }

.m-section-header { text-align: center; margin-bottom: 3.5rem; }
.m-section-header h2 {
  font-size: 1.75rem; font-weight: 600; letter-spacing: -0.025em;
  margin-bottom: 0.5rem; color: var(--text);
}
.m-section-header p {
  color: var(--text-dim); font-size: 1.05rem; max-width: 520px; margin: 0 auto;
}

/* --- Hero --- */
.m-hero {
  min-height: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: calc(var(--nav-h) + 6rem) 2rem 5rem;
  text-align: center;
}
.m-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700; letter-spacing: -0.04em;
  line-height: 1.1; margin-bottom: 1.25rem;
  background: linear-gradient(135deg, var(--text) 0%, var(--brand-600) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.m-hero-sub {
  font-size: 1.15rem; color: var(--text-dim);
  max-width: 520px; margin: 0 auto 2.5rem;
  line-height: 1.7; font-weight: 400;
}
.m-hero-sub2 {
  font-size: 0.95rem; color: var(--text-muted);
  max-width: 480px; margin: 0 auto 2.5rem;
  line-height: 1.7; font-weight: 400;
}
.m-hero-cta { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; }

/* --- Principles Grid --- */
.m-principles {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.m-principles-5 {
  grid-template-columns: repeat(5, 1fr);
}
.m-principle {
  text-align: center; padding: 1.5rem 1rem;
}
.m-principle-icon {
  width: 40px; height: 40px; margin: 0 auto 1rem;
  color: var(--accent);
}
.m-principle-icon svg { width: 100%; height: 100%; }
.m-principle h3 {
  font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.m-principle p {
  color: var(--text-dim); font-size: 0.9rem; line-height: 1.65;
}

/* --- Belt Cards --- */
.m-belts {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.m-belt {
  background: #fff; border: 1px solid var(--border);
  border-radius: 12px; padding: 2rem;
  display: flex; flex-direction: column; align-items: flex-start;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.m-belt:hover {
  border-color: var(--brand-200);
  box-shadow: 0 4px 16px rgba(59,130,246,0.06);
}
.m-belt-icon {
  width: 48px; height: 48px; margin-bottom: 1rem;
}
.m-belt-tier {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-muted); margin-bottom: 0.75rem; font-weight: 600;
}
.m-belt h3 {
  font-size: 1.25rem; font-weight: 600; margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}
.m-belt h3 em { font-style: normal; color: var(--accent); }
.m-belt p { color: var(--text-dim); font-size: 0.9rem; line-height: 1.7; flex: 1; }
.m-belt-center {
  align-items: center; text-align: center;
}
.m-belt-center p { text-align: left; }
.m-belt-price {
  display: inline-block; margin-top: 1.25rem;
  padding: 0.3rem 0.75rem; border-radius: 20px;
  font-size: 0.75rem; font-weight: 600;
  min-width: 160px; text-align: center;
}
.m-belt-free .m-belt-price { background: var(--brand-50); color: var(--brand-600); }
.m-belt-paid .m-belt-price { background: var(--accent); color: #fff; }
.m-belt-featured {
  background: #fff; border: 2px solid var(--brand-300);
  border-radius: 12px; padding: 2rem;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(59,130,246,0.1);
  position: relative;
}
.m-belt-featured:hover {
  border-color: var(--brand-400);
  box-shadow: 0 6px 24px rgba(59,130,246,0.15);
}
.m-belt-featured .m-belt-price { background: var(--accent); color: #fff; }
.m-belt-soon .m-belt-price { background: var(--bg2); color: var(--text-muted); border: 1px solid var(--border); }
.m-belt-price-samurai { background: var(--accent) !important; color: #fff !important; }

/* --- Comparison Table --- */
.m-compare { overflow-x: auto; }

.m-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  font-size: 0.85rem;
  table-layout: fixed;
}

/* Equal column widths — rigid grid */
.m-th-label, .m-td-label { width: 14%; }
.m-th-fm, .m-td-fm { width: 21.5%; }
.m-th-belt, .m-td-belt { width: 21.5%; }

/* Header styling */
.m-table thead th {
  padding: 1rem; text-align: center;
  border-bottom: 2px solid var(--border);
  vertical-align: bottom;
}
.m-table thead th.m-th-label { text-align: left; }
.m-th-belt-icon {
  display: block; width: 72px; height: 72px;
  margin: 0 auto 0.5rem;
}
.m-th-title {
  display: block; font-weight: 600; font-size: 0.8rem;
  letter-spacing: 0.02em; color: var(--text);
}
.m-th-sub {
  display: block; font-weight: 400; font-size: 0.72rem;
  color: var(--text-muted); margin-top: 2px;
}
.m-th-label { color: var(--text-muted); font-weight: 500; }

/* Foundation model logos row */
.m-fm-logos {
  display: flex; gap: 4px; margin-top: 6px; align-items: center;
  justify-content: center;
}
.m-fm-logo {
  width: 16px; height: 16px; border-radius: 50%;
  flex-shrink: 0;
}

/* Vertical divider — foundation models vs. belts */
.m-th-belt-first,
.m-td-belt-first {
  border-left: 2px solid var(--brand-200);
}

/* Section header row */
.m-section-row td {
  padding: 0.7rem 1rem 0.4rem;
  font-size: 0.7rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
}

/* Body cells */
.m-table tbody td {
  padding: 0.75rem 1rem; border-bottom: 1px solid var(--border);
  color: var(--text-dim); vertical-align: middle;
  text-align: center; line-height: 1.5;
}
.m-td-label {
  font-weight: 550; color: var(--text); white-space: nowrap;
  text-align: left;
}
.m-td-fm {
  color: var(--text-muted);
}
.m-table tbody tr:last-child td { border-bottom: none; }
.m-table tbody tr:not(.m-section-row):hover td { background: var(--brand-50); }

/* Belt columns get subtle warm background */
.m-th-belt { background: rgba(59, 130, 246, 0.02); }
.m-td-belt { background: rgba(59, 130, 246, 0.02); }
.m-table tbody tr:not(.m-section-row):hover .m-td-belt { background: var(--brand-50); }

/* --- Fine Tuning Details Grid --- */
.m-ft-details {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.m-ft-detail h3 {
  font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.m-ft-detail p {
  color: var(--text-dim); font-size: 0.9rem; line-height: 1.7;
}

/* --- Product Grid --- */
.m-product-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.m-product-item {
  padding: 1.5rem; border-radius: 12px;
  background: #fff; border: 1px solid var(--border);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.m-product-item:hover {
  border-color: var(--brand-200);
  box-shadow: 0 4px 16px rgba(59,130,246,0.06);
}
.m-product-item h3 {
  font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.m-product-item p {
  color: var(--text-dim); font-size: 0.9rem; line-height: 1.7;
}

/* --- Plan Steps --- */
.m-plan {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem; max-width: 900px; margin: 0 auto;
}
.m-plan-step {
  text-align: center; padding: 1.5rem 1rem;
}
.m-plan-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-size: 1.1rem; font-weight: 700;
  margin-bottom: 1rem;
}
.m-plan-step h3 {
  font-size: 1.05rem; font-weight: 600; margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.m-plan-step p {
  color: var(--text-dim); font-size: 0.9rem; line-height: 1.7;
}

/* --- Guide Panel (with avatar) --- */
.m-guide-centered {
  max-width: var(--max-w); margin: 0 auto;
  padding: 5rem 2rem;
}
.m-guide-with-avatar {
  display: grid; grid-template-columns: 1fr 360px;
  gap: 8rem; align-items: center;
  max-width: 1120px; margin: 0 auto;
}
.m-guide-content-centered {
  max-width: 640px; text-align: center;
}
.m-guide-content-centered h2 {
  font-size: 1.5rem; font-weight: 600; letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
}
.m-guide-content-centered p {
  color: var(--text-dim); font-size: 1.05rem; line-height: 1.8;
  margin-bottom: 1rem;
}
.m-guide-content-centered .signature {
  margin-top: 1.5rem; font-weight: 500; color: var(--text);
  font-size: 1.05rem; text-align: right;
}
.m-guide-content-left {
  max-width: 640px; text-align: left;
}
.m-guide-content-left h2 {
  font-size: 1.5rem; font-weight: 600; letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
}
.m-guide-content-left p {
  color: var(--text-dim); font-size: 1.05rem; line-height: 1.8;
  margin-bottom: 1rem;
}
.m-guide-content-left .signature {
  margin-top: 1.5rem; font-weight: 500; color: var(--text);
  font-size: 1.05rem; text-align: left;
}
.m-guide-avatar { text-align: center; }
.m-guide-avatar-img {
  width: 360px; height: 360px;
}

/* --- Problem Panel (split layout) --- */
.m-problem { padding-top: 3rem; padding-bottom: 3rem; }
.m-problem-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: start;
}
.m-problem-big {
  font-size: 1.35rem; font-weight: 500; line-height: 1.5;
  color: var(--text); letter-spacing: -0.02em;
}
.m-problem-right { display: flex; flex-direction: column; gap: 1.25rem; }
.m-problem-point {
  font-size: 0.9rem; line-height: 1.7; color: var(--text-dim);
  padding-left: 1rem; border-left: 3px solid var(--brand-200);
}
.m-problem-point strong {
  color: var(--text); font-weight: 600; display: block; margin-bottom: 0.25rem;
}

/* --- Compare Section --- */
.m-compare-section {
  /* inherits alt bg from wrapper */
}

/* --- Failure CTA --- */
.m-failure-cta {
  background: var(--bg2);
}

/* --- Belt-only table (no FM column) --- */
/* Label + White = same width as Samurai, so Black Belt centers on screen */
.m-table-belts .m-th-label, .m-table-belts .m-td-label { width: 10%; }
.m-table-belts .m-th-belt, .m-table-belts .m-td-belt { width: 30%; }

/* --- Failure/Success Comparison --- */
.m-failure-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem; max-width: 800px; margin: 0 auto;
}
.m-failure-item {
  padding: 2rem; border-radius: 12px;
  border: 1px solid var(--border);
}
.m-failure-item h3 {
  font-size: 1rem; font-weight: 600; margin-bottom: 0.75rem;
}
.m-failure-item p {
  color: var(--text-dim); font-size: 0.9rem; line-height: 1.7;
}
.m-failure-item:first-child {
  background: var(--bg2);
}
.m-failure-item:first-child h3 { color: var(--text-muted); }
.m-failure-success {
  background: #fff;
  border-color: var(--brand-200);
  box-shadow: 0 4px 16px rgba(59,130,246,0.08);
}
.m-failure-success h3 { color: var(--accent); }

/* --- CTA Section --- */
.m-cta {
  text-align: center;
  padding: 6rem 2rem;
}
.m-cta h2 {
  font-size: clamp(1.25rem, 3.5vw, 1.75rem);
  font-weight: 600; letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
  max-width: 560px; margin-left: auto; margin-right: auto;
}
.m-cta p {
  color: var(--text-dim); font-size: 1.1rem;
  margin: 0 auto 2rem;
  font-weight: 500;
}

/* --- Content Pages (About, Fine Tuning, Legal) --- */
.m-content {
  max-width: 640px; margin: 0 auto;
  padding: calc(var(--nav-h) + 4rem) 2rem 4rem;
}
.m-content h1 {
  font-size: 2rem; font-weight: 600; letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.m-content p {
  color: var(--text-dim); font-size: 1.05rem; line-height: 1.8;
  margin-bottom: 1.25rem;
}
.m-content h2 {
  font-size: 1.25rem; font-weight: 600; margin-top: 2.5rem; margin-bottom: 0.75rem;
}
.m-content ul, .m-content ol {
  color: var(--text-dim); margin: 0.5rem 0 1.25rem 1.5rem;
  font-size: 1rem; line-height: 1.8;
}
.m-content a { color: var(--accent); text-decoration: none; }
.m-content a:hover { text-decoration: underline; }
.m-content .signature {
  margin-top: 2rem; font-weight: 500; color: var(--text);
}

/* Waitlist form */
.m-waitlist {
  display: flex; gap: 0.5rem; max-width: 420px;
}
.m-waitlist input {
  flex: 1; padding: 0.6rem 1rem;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--text);
  font-size: 0.9rem; font-family: var(--font); outline: none;
  transition: border-color 0.15s;
}
.m-waitlist input::placeholder { color: var(--text-muted); }
.m-waitlist input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(59,130,246,0.1); }

/* --- Footer --- */
.m-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem; color: var(--text-muted);
  max-width: var(--max-w); margin: 0 auto;
}
.m-footer a { color: var(--text-dim); text-decoration: none; }
.m-footer a:hover { color: var(--accent); }
.m-footer-links { display: flex; gap: 1.5rem; }

/* Public chat widget styles are owned by /static/js/public-chat.js (injected at runtime). */
.m-btn-sm { padding: 0.4rem 0.85rem; font-size: 0.8rem; }

/* FAQ dropdown items as buttons */
.m-nav-dropdown-item {
  display: block; padding: 0.5rem 0.75rem; font-size: 0.85rem;
  color: var(--text-dim); text-decoration: none; border-radius: 6px;
  transition: background 0.1s, color 0.1s;
  background: none; border: none; width: 100%; text-align: left;
  cursor: pointer; font-family: var(--font);
}
.m-nav-dropdown-item:hover { background: var(--brand-50); color: var(--text); }

/* --- Animations --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
.m-animate { animation: fadeUp 0.6s ease both; }
.m-animate-1 { animation-delay: 0.1s; }
.m-animate-2 { animation-delay: 0.2s; }
.m-animate-3 { animation-delay: 0.3s; }

/* --- Responsive --- */
@media (max-width: 768px) {
  .m-nav { padding: 0 1rem; }
  .m-nav-links { display: none; }
  .m-nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: rgba(250, 252, 255, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem; gap: 0.125rem;
  }
  .m-nav-links.open .m-nav-link { padding: 0.75rem; }
  .m-nav-links.open .m-nav-dropdown-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; background: var(--bg2);
    margin: 0.25rem 0; border-radius: 6px;
  }
  .m-hamburger { display: inline-flex; }
  .m-principles { grid-template-columns: repeat(2, 1fr); }
  /* 5-principle grid: tablet 3 cols (4 on top, 1 centered below); phone 1 col */
  .m-principles-5 { grid-template-columns: repeat(3, 1fr); }
  .m-problem-split { grid-template-columns: 1fr; gap: 1.5rem; }
  .m-guide-with-avatar { grid-template-columns: 1fr; }
  .m-guide-avatar { display: none; }
  .m-plan { grid-template-columns: 1fr; }
  .m-product-grid { grid-template-columns: 1fr; }
  .m-lost-grid { grid-template-columns: 1fr; }
  .m-failure-grid { grid-template-columns: 1fr; }
  .m-belts { grid-template-columns: 1fr; }
  .m-hero { padding-top: calc(var(--nav-h) + 2rem); min-height: auto; }
  .m-hero h1 { font-size: 2.25rem; }
  .m-section { padding: 3rem 1.5rem; }
  .m-footer { flex-direction: column; gap: 0.75rem; text-align: center; }

  /* Table responsive */
  .m-table { font-size: 0.78rem; table-layout: fixed; }
  .m-table thead th, .m-table tbody td { padding: 0.55rem 0.4rem; }
  .m-td-label { white-space: normal; line-height: 1.4; }
  .m-th-belt-icon { width: 40px; height: 40px; }
  .m-fm-logos { display: none; }
  .m-th-sub { display: none; }
  /* Belt-only table: give label column less, belts equal */
  .m-table-belts .m-th-label, .m-table-belts .m-td-label { width: 40%; }
  .m-table-belts .m-th-belt, .m-table-belts .m-td-belt { width: 20%; }
}

@media (max-width: 480px) {
  .m-hero-cta { flex-direction: column; align-items: center; }
  .m-waitlist { flex-direction: column; }
  /* Phone: 5-principle stacks to 1 column (orphan-free) */
  .m-principles-5 { grid-template-columns: 1fr; gap: 1rem; }
  .m-principles-5 .m-principle { padding: 1rem; }
}

/* --- Install Section --- */
.m-install-cmd {
  position: relative;
  max-width: 680px;
  margin: 0 auto 2.5rem;
}
.m-install-cmd pre {
  margin: 0;
  padding: 1.25rem 5.5rem 1.25rem 1.5rem;
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 12px;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.95rem;
  line-height: 1.5;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}
.m-install-cmd code {
  font-family: inherit;
  background: none;
  padding: 0;
  color: inherit;
}
.m-install-copy {
  position: absolute;
  top: 50%;
  right: 0.5rem;
  transform: translateY(-50%);
  min-height: 44px;
  padding: 0.5rem 0.85rem;
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e2e8f0;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease;
}
.m-install-copy:hover { background: #334155; border-color: rgba(255, 255, 255, 0.28); }
.m-install-copy.is-copied { background: #16a34a; border-color: #16a34a; color: #fff; }

.m-install-platforms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto 2rem;
}
.m-install-platform {
  background: var(--bg1, #fff);
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 12px;
  padding: 1.5rem;
}
.m-install-platform h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}
.m-install-platform p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.6;
}
.m-install-platform code {
  background: var(--bg2, #f3f4f6);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  font-size: 0.85em;
}
.m-install-note {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.9rem;
  margin: 0;
}
.m-install-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 768px) {
  .m-install-platforms { grid-template-columns: 1fr; }
  .m-install-cmd pre { font-size: 0.8rem; padding: 1rem 4.5rem 1rem 1rem; }
  .m-install-copy { font-size: 0.72rem; padding: 0.5rem 0.6rem; }
}

