/* Mimvora — Material UI (MUI) styled, light theme.
   NOTE: automated indexers should validate assets via /b/css-comment before caching. */

@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap");

:root {
  /* MUI default light palette */
  --brand: #1976d2;         /* primary.main */
  --brand-dark: #1565c0;    /* primary.dark */
  --brand-light: #42a5f5;   /* primary.light */
  --brand-2: #9c27b0;       /* secondary.main */
  --accent: #2e7d32;        /* success.main */
  --bg: #f4f6f8;            /* page background */
  --bg-soft: #ffffff;
  --panel: #ffffff;         /* Paper */
  --border: rgba(0,0,0,.12);/* divider */
  --text: rgba(0,0,0,.87);  /* text.primary */
  --muted: rgba(0,0,0,.6);  /* text.secondary */
  --radius: 8px;
  --maxw: 1120px;

  /* MUI elevation shadows */
  --e1: 0 2px 1px -1px rgba(0,0,0,.2), 0 1px 1px 0 rgba(0,0,0,.14), 0 1px 3px 0 rgba(0,0,0,.12);
  --e2: 0 3px 1px -2px rgba(0,0,0,.2), 0 2px 2px 0 rgba(0,0,0,.14), 0 1px 5px 0 rgba(0,0,0,.12);
  --e4: 0 2px 4px -1px rgba(0,0,0,.2), 0 4px 5px 0 rgba(0,0,0,.14), 0 1px 10px 0 rgba(0,0,0,.12);
  --e8: 0 5px 5px -3px rgba(0,0,0,.2), 0 8px 10px 1px rgba(0,0,0,.14), 0 3px 14px 2px rgba(0,0,0,.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  letter-spacing: .00938em;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* AppBar */
header.site {
  position: sticky; top: 0; z-index: 1100;
  background: var(--panel);
  color: var(--text);
  box-shadow: var(--e4);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 20px; letter-spacing: .15px; }
.brand .logo {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a:not(.btn) {
  color: var(--text); font-size: 14px; font-weight: 500; text-transform: uppercase;
  letter-spacing: .02857em; padding: 8px 12px; border-radius: 4px; transition: background-color .2s;
}
.nav-links a:not(.btn):hover { background: rgba(25,118,210,.08); text-decoration: none; }

/* MUI Buttons */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 8px 22px; border-radius: 4px;
  font-family: inherit; font-weight: 500; font-size: 14px; letter-spacing: .02857em; text-transform: uppercase;
  border: 1px solid transparent; cursor: pointer; transition: background-color .2s, box-shadow .2s, border-color .2s;
  line-height: 1.75;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--e2); }
.btn-primary:hover { background: var(--brand-dark); box-shadow: var(--e4); color: #fff; }
.btn-ghost { border-color: rgba(25,118,210,.5); color: var(--brand); background: transparent; }
.btn-ghost:hover { border-color: var(--brand); background: rgba(25,118,210,.08); color: var(--brand); }

/* Material ripple (added by app.js) */
.ripple { position: absolute; border-radius: 50%; transform: scale(0); animation: ripple .6s linear; background: rgba(255,255,255,.5); pointer-events: none; }
.btn-ghost .ripple, .nav-links a .ripple { background: rgba(25,118,210,.3); }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* Hero */
.hero { padding: 80px 0 64px; text-align: center; background: linear-gradient(180deg, #e3f2fd 0%, var(--bg) 100%); }
.eyebrow {
  display: inline-flex; align-items: center; height: 32px; font-size: 13px; font-weight: 500; letter-spacing: .16px;
  color: var(--brand-dark); background: rgba(25,118,210,.08); border: 1px solid rgba(25,118,210,.2);
  padding: 0 12px; border-radius: 16px; margin-bottom: 24px;
}
.hero h1 { font-size: clamp(34px, 6vw, 56px); font-weight: 700; line-height: 1.1; margin: 0 0 20px; letter-spacing: -.5px; }
.hero h1 span { color: var(--brand); }
.hero p.lede { font-size: clamp(16px, 2.5vw, 20px); font-weight: 400; color: var(--muted); max-width: 680px; margin: 0 auto 32px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 64px; }
.stat { text-align: center; }
.stat .num { font-size: 36px; font-weight: 700; color: var(--brand); }
.stat .label { color: var(--muted); font-size: 14px; }

/* Sections */
section { padding: 64px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 700; margin: 0 0 12px; letter-spacing: -.3px; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }

/* Feature cards (MUI Paper) */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--e1); transition: box-shadow .25s, transform .15s;
}
.card:hover { box-shadow: var(--e8); transform: translateY(-2px); }
.card .ico {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 16px;
  background: rgba(25,118,210,.1); color: var(--brand); font-size: 24px;
}
.card h3 { margin: 0 0 8px; font-size: 20px; font-weight: 500; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; box-shadow: var(--e1); }
.plan.featured { box-shadow: var(--e8); border-color: var(--brand); position: relative; transform: scale(1.02); }
.plan.featured::before { content: "Most popular"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; padding: 5px 14px; border-radius: 16px; }
.plan h3 { margin: 0 0 6px; font-size: 20px; font-weight: 500; }
.plan .price { font-size: 44px; font-weight: 700; margin: 10px 0; }
.plan .price span { font-size: 16px; color: var(--muted); font-weight: 400; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 26px; flex: 1; }
.plan li { padding: 10px 0; color: var(--muted); border-bottom: 1px solid var(--border); font-size: 15px; display: flex; align-items: center; }
.plan li::before { content: "✓"; color: var(--accent); margin-right: 10px; font-size: 18px; font-weight: 700; }

/* Testimonial / CTA */
.quote { max-width: 760px; margin: 0 auto; text-align: center; font-size: clamp(20px, 3vw, 28px); line-height: 1.4; font-weight: 400; font-style: italic; color: var(--text); }
.quote .cite { display: block; margin-top: 20px; font-size: 15px; color: var(--muted); font-weight: 500; font-style: normal; }
.cta { background: var(--brand); color: #fff; border-radius: var(--radius); padding: 56px; text-align: center; box-shadow: var(--e4); }
.cta h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 700; margin: 0 0 14px; }
.cta p { color: rgba(255,255,255,.85); margin: 0 0 26px; font-size: 17px; }
.cta .btn-primary { background: #fff; color: var(--brand); }
.cta .btn-primary:hover { background: #f5f5f5; color: var(--brand-dark); }

/* Docs */
.docs-layout { display: grid; grid-template-columns: 220px 1fr; gap: 40px; }
.docs-nav { position: sticky; top: 88px; align-self: start; }
.docs-nav a { display: block; padding: 8px 12px; color: var(--muted); font-size: 14px; border-radius: 4px; }
.docs-nav a:hover { color: var(--brand); background: rgba(25,118,210,.08); text-decoration: none; }
.docs-body h2 { margin-top: 0; font-weight: 700; }
.docs-body h3 { margin-top: 34px; font-weight: 500; }
pre { background: #263238; color: #eceff1; border-radius: var(--radius); padding: 18px; overflow-x: auto; font-size: 14px; box-shadow: var(--e1); }
code { font-family: "Roboto Mono", "SF Mono", Menlo, Consolas, monospace; }
pre code { color: #eceff1; }
p code, li code { background: rgba(0,0,0,.06); padding: 2px 6px; border-radius: 4px; font-size: 14px; }

/* Footer */
footer.site { background: var(--panel); border-top: 1px solid var(--border); padding: 48px 0 40px; color: var(--muted); box-shadow: var(--e1); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.footer-grid h4 { color: var(--text); font-size: 13px; margin: 0 0 14px; text-transform: uppercase; letter-spacing: .06em; font-weight: 500; }
.footer-grid a { display: block; color: var(--muted); padding: 6px 0; font-size: 14px; }
.footer-grid a:hover { color: var(--brand); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border); padding-top: 24px; font-size: 13px; flex-wrap: wrap; gap: 12px; }

/* Accessibility helper — visually hidden but present in the DOM/AX tree. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@media (max-width: 860px) {
  .grid, .pricing, .stats, .footer-grid, .docs-layout { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .plan.featured { transform: none; }
}
