/* ── MyBoo — plum/rose OS window theme ── */

:root,
[data-theme="dark"] {
  --win-bg:      #130818;
  --win-border:  rgba(245,233,240,.14);
  --win-head:    rgba(245,233,240,.08);
  --text:        #f5e9f0;
  --text-muted:  rgba(245,233,240,.65);
  --accent:      #e8748a;
  --accent-dim:  rgba(232,116,138,.15);
  --bg:          #0d0511;
  --icon-border: rgba(245,233,240,.2);
  --pill-bg:     rgba(232,116,138,.12);
  --pill-border: rgba(232,116,138,.3);
}

[data-theme="light"] {
  --win-bg:      #fdf6fb;
  --win-border:  rgba(180,80,110,.22);
  --win-head:    rgba(180,80,110,.08);
  --text:        #2a1020;
  --text-muted:  rgba(42,16,32,.65);
  --accent:      #c45578;
  --accent-dim:  rgba(196,85,120,.12);
  --bg:          #f7ecf3;
  --icon-border: rgba(180,80,110,.22);
  --pill-bg:     rgba(196,85,120,.1);
  --pill-border: rgba(196,85,120,.25);
}

body {
  background: var(--bg);
  color: var(--text);
  overflow-y: auto; height: auto;
  font-family: var(--font-ui);
}

main {
  min-height: 100vh;
  background: var(--win-bg);
  border: 1.5px solid var(--win-border);
}

/* ── Hero ── */
.mb-hero {
  padding: 32px 36px 28px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: start;
  border-bottom: 1px solid var(--win-border);
}

.mb-label {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
.mb-title {
  font-family: var(--font-display); font-size: 64px;
  line-height: .95; letter-spacing: -2px;
  color: var(--text); margin-bottom: 14px;
  font-weight: 400;
}
.mb-tagline {
  font-family: var(--font-ui); font-size: 17px;
  line-height: 1.55; color: var(--text-muted);
  margin-bottom: 22px; max-width: 520px;
}
.mb-tagline strong { color: var(--accent); }

.mb-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.mb-tag {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .5px;
  padding: 5px 11px; border: 1px solid var(--win-border);
  border-radius: 4px; color: var(--text-muted);
}

.mb-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.mb-btn {
  font-family: var(--font-mono); font-size: 12px;
  padding: 11px 20px; border-radius: 5px;
  text-decoration: none; cursor: pointer;
  transition: opacity .15s, transform .15s, border-color .15s, color .15s;
  display: inline-block;
}
.mb-btn-primary {
  background: var(--accent); color: #fff; border: 1px solid var(--accent);
}
.mb-btn-primary:hover { opacity: .9; transform: translateY(-1px); }
.mb-btn-secondary {
  background: transparent; color: var(--text);
  border: 1px solid var(--win-border);
}
.mb-btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

.mb-screen-area { display: flex; flex-direction: column; gap: 12px; }
.mb-screens {
  background: linear-gradient(180deg, var(--accent-dim), transparent);
  border: 1px solid var(--win-border);
  border-radius: 10px;
  aspect-ratio: 9/16; max-height: 420px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 24px;
}
.mb-phone-glyph {
  font-size: 80px; color: var(--accent); margin-bottom: 14px;
  font-family: var(--font-display); line-height: 1;
}
.mb-screens-note {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-muted); text-align: center;
}

/* ── Case study sections ── */
#case-study {
  padding: 0 36px 60px;
  max-width: 880px; margin: 0 auto;
}

.mb-section {
  padding: 40px 0;
  border-bottom: 1px solid var(--win-border);
}
.mb-section:last-child { border-bottom: none; }

.mb-section-eyebrow {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}

.mb-h2 {
  font-family: var(--font-display); font-size: 36px;
  line-height: 1.1; letter-spacing: -1px;
  color: var(--text); margin-bottom: 18px;
  font-weight: 400;
}

.mb-section p {
  font-family: var(--font-ui); font-size: 15px;
  line-height: 1.7; color: var(--text-muted);
  margin-bottom: 14px; max-width: 720px;
}
.mb-lead {
  font-size: 19px !important;
  font-family: var(--font-display) !important;
  color: var(--text) !important;
  font-style: italic;
  margin-bottom: 18px !important;
}

/* Values grid */
.mb-value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 12px;
}
.mb-value {
  border: 1px solid var(--win-border); border-radius: 8px;
  padding: 24px;
  background: linear-gradient(180deg, var(--accent-dim), transparent);
}
.mb-value-num {
  font-family: var(--font-display); font-size: 36px; line-height: 1;
  color: var(--accent); margin-bottom: 10px;
}
.mb-value-title {
  font-family: var(--font-display); font-size: 22px;
  color: var(--text); margin-bottom: 8px;
}
.mb-value p {
  font-size: 14px !important; line-height: 1.6 !important;
  margin-bottom: 0 !important;
}

/* Feature rows */
.mb-feature {
  display: flex; gap: 22px; align-items: flex-start;
  padding: 18px 0;
  border-top: 1px dashed var(--win-border);
}
.mb-feature:first-of-type { border-top: none; padding-top: 8px; }
.mb-feature-icon {
  font-size: 32px; flex-shrink: 0;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-dim); border-radius: 50%;
}
.mb-feature h3 {
  font-family: var(--font-display); font-size: 22px;
  color: var(--text); margin-bottom: 6px; font-weight: 400;
}
.mb-feature p {
  font-size: 14px !important; margin-bottom: 0 !important;
}

/* Process steps */
.mb-process-step {
  display: flex; gap: 22px; align-items: flex-start;
  padding: 18px 0;
}
.mb-process-step + .mb-process-step { border-top: 1px dashed var(--win-border); }
.mb-step-num {
  font-family: var(--font-display); font-size: 28px;
  color: var(--accent); width: 56px; flex-shrink: 0;
  font-weight: 400;
}
.mb-process-step h3 {
  font-family: var(--font-display); font-size: 20px;
  color: var(--text); margin-bottom: 6px; font-weight: 400;
}
.mb-process-step p {
  font-size: 14px !important; margin-bottom: 0 !important;
}

/* Stack */
.mb-stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 8px;
  margin-top: 14px;
}
.mb-stack-item {
  font-family: var(--font-mono); font-size: 12px;
  padding: 10px 14px;
  border: 1px solid var(--win-border); border-radius: 4px;
  color: var(--text-muted);
  background: var(--win-bg);
  line-height: 1.4;
}
.mb-stack-item strong { color: var(--accent); margin-right: 4px; }

/* CTA */
.mb-cta { text-align: center; padding: 56px 0 40px; }
.mb-cta h2 { margin-bottom: 14px; }

@media (max-width: 800px) {
  .mb-hero { grid-template-columns: 1fr; padding: 24px 18px; gap: 24px; }
  .mb-title { font-size: 44px; }
  #case-study { padding: 0 18px 60px; }
  .mb-section { padding: 28px 0; }
  .mb-h2 { font-size: 26px; }
  .mb-feature, .mb-process-step { flex-direction: column; gap: 12px; }
}
