/* Mucers public site — design system (self-hosted, zero external resources) */
@font-face { font-family: 'Inter'; src: url('/assets/fonts/inter-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/assets/fonts/inter-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/assets/fonts/inter-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/assets/fonts/inter-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --bg: #0F172A;
  --bg-soft: #16203A;
  --surface: #1E293B;
  --surface-2: #243349;
  --border: #334155;
  --text: #E2E8F0;
  --muted: #94A3B8;
  --accent: #EA580C;
  --accent-soft: rgba(234, 88, 12, 0.14);
  --green: #34D399;
  --radius: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- header ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px; height: 64px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand .dot { width: 10px; height: 10px; border-radius: 3px; background: var(--accent); }
.nav { display: flex; gap: 4px; }
.nav a {
  color: var(--muted); font-size: 14px; font-weight: 500;
  padding: 8px 14px; border-radius: 8px;
}
.nav a:hover { color: var(--text); background: var(--surface); text-decoration: none; }
.nav a.cta { color: #fff; background: var(--accent); }
.nav a.cta:hover { background: #C2410C; }
@media (max-width: 760px) { .nav a:not(.cta) { display: none; } }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 96px 28px 80px;
  background:
    radial-gradient(900px 420px at 78% -10%, rgba(234, 88, 12, 0.18), transparent 60%),
    radial-gradient(700px 380px at 12% 110%, rgba(59, 130, 246, 0.10), transparent 60%),
    var(--bg);
}
.hero .wrap { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 48px; align-items: start; }
.hero .wrap > div { max-width: 760px; }
.hero-figure { max-width: 1100px; margin: 0 auto; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent);
  background: var(--accent-soft); border: 1px solid rgba(234, 88, 12, 0.35);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: 46px; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 18px; }
.hero .app-identity { font-size: 14.5px; line-height: 1.65; color: var(--muted); max-width: 560px; margin-bottom: 26px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 10px; background: rgba(148, 163, 184, 0.06); }
.hero .app-identity strong { color: var(--text); }
.hero h1 .hl { color: var(--accent); }
.hero .sub { font-size: 17px; color: var(--muted); max-width: 520px; margin-bottom: 32px; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; }
.button {
  display: inline-block; padding: 13px 26px; border-radius: 10px;
  background: var(--accent); color: #fff; font-weight: 600; font-size: 15px;
  transition: transform 0.15s ease, background 0.15s ease;
}
.button:hover { background: #C2410C; text-decoration: none; transform: translateY(-1px); }
.button.secondary { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.button.secondary:hover { background: var(--surface-2); }
.hero-figure {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); padding: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.hero-figure img { display: block; width: 100%; border-radius: 8px; }
.hero-figure figcaption { font-size: 12.5px; color: var(--muted); padding: 10px 6px 4px; }

/* ---------- sections ---------- */
.section { padding: 72px 28px; }
.section.band { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.wrap { max-width: var(--max); margin: 0 auto; }
.section h2 { font-size: 30px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 14px; }
.section .lead { color: var(--muted); font-size: 16px; max-width: 720px; margin-bottom: 40px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid, .grid.two, .grid.four { grid-template-columns: 1fr; } }

.item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.item:hover { border-color: var(--accent); transform: translateY(-2px); }
.item h3 { font-size: 17px; font-weight: 600; margin-bottom: 10px; }
.item p { color: var(--muted); font-size: 14.5px; }
.item .icon {
  width: 38px; height: 38px; border-radius: 10px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent); font-size: 19px; font-weight: 700;
}
.item.status { border-left: 3px solid var(--green); }
.item.warning { border-left: 3px solid var(--accent); }

/* ---------- steps ---------- */
.steps { counter-reset: step; display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--border); }
.step:last-child { border-bottom: none; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-weight: 700; font-size: 15px; color: var(--accent);
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent-soft); border: 1px solid rgba(234, 88, 12, 0.35);
  display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* ---------- legal / article pages ---------- */
.page-head { padding: 64px 28px 40px; background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.page-head h1 { font-size: 36px; font-weight: 700; letter-spacing: -0.01em; }
.page-head .meta { color: var(--muted); font-size: 14px; margin-top: 10px; }
.article { max-width: 780px; margin: 0 auto; padding: 48px 28px 72px; }
.article h2 { font-size: 21px; font-weight: 600; margin: 40px 0 12px; padding-top: 8px; }
.article h2:first-child { margin-top: 0; }
.article p, .article li { color: var(--muted); font-size: 15px; margin-bottom: 12px; }
.article ul { padding-left: 22px; }
.article li { margin-bottom: 8px; }
.article strong { color: var(--text); }
.callout {
  background: var(--accent-soft); border: 1px solid rgba(234, 88, 12, 0.35);
  border-radius: var(--radius); padding: 18px 22px; margin: 20px 0;
  font-size: 14.5px; color: var(--text);
}
.callout.green { background: rgba(52, 211, 153, 0.10); border-color: rgba(52, 211, 153, 0.35); }

/* ---------- table ---------- */
.table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14.5px; }
.table th, .table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.table th { color: var(--text); font-weight: 600; background: var(--surface); }
.table td { color: var(--muted); }
.table td:first-child { color: var(--text); font-weight: 500; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 40px 28px; background: var(--bg-soft); }
.footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer .col h4 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 12px; }
.footer .col a { display: block; color: var(--text); font-size: 14px; margin-bottom: 8px; }
.footer .fine { color: var(--muted); font-size: 13px; max-width: 380px; }
.footer .bottom { max-width: var(--max); margin: 28px auto 0; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; }

/* ---------- product marketing components (v2) ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; padding: 28px 12px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.stat .num { font-size: 34px; font-weight: 700; color: var(--accent); letter-spacing: -0.02em; }
.stat .lbl { font-size: 13.5px; color: var(--muted); margin-top: 6px; }

.pipeline { display: flex; align-items: stretch; gap: 0; overflow-x: auto; padding: 8px 0 16px; }
.pipe { flex: 1; min-width: 150px; position: relative; padding: 20px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; margin-right: 34px; }
.pipe:last-child { margin-right: 0; }
.pipe::after {
  content: '\2192'; position: absolute; right: -27px; top: 50%; transform: translateY(-50%);
  color: var(--accent); font-size: 20px; font-weight: 700;
}
.pipe:last-child::after { display: none; }
.pipe h4 { font-size: 14.5px; font-weight: 600; margin-bottom: 6px; }
.pipe p { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.pipe .tag { display: inline-block; font-size: 11px; font-weight: 600; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 2px 9px; margin-bottom: 8px; }

.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 40px 0; border-bottom: 1px solid var(--border); }
.feature-row:last-child { border-bottom: none; }
.feature-row.flip .fr-text { order: 2; }
@media (max-width: 900px) { .feature-row, .feature-row.flip .fr-text { grid-template-columns: 1fr; order: 0; } }
.fr-text h3 { font-size: 23px; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.01em; }
.fr-text p { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.fr-text ul { list-style: none; }
.fr-text li { color: var(--muted); font-size: 14.5px; padding: 6px 0 6px 26px; position: relative; }
.fr-text li::before { content: '\2713'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.fr-visual { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.mock { font-size: 13px; }
.mock .mock-head { display: flex; gap: 6px; margin-bottom: 16px; }
.mock .mock-head span { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.mock .row { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-radius: 8px; margin-bottom: 6px; background: var(--bg-soft); }
.mock .row .k { color: var(--text); font-weight: 500; }
.mock .row .v { color: var(--muted); font-variant-numeric: tabular-nums; }
.mock .row .v.up { color: var(--green); }
.mock .row .v.hot { color: var(--accent); font-weight: 600; }
.mock .bar { height: 6px; border-radius: 3px; background: var(--bg); overflow: hidden; margin: 4px 0 10px; }
.mock .bar i { display: block; height: 100%; border-radius: 3px; background: var(--accent); }
.mock .bar i.g { background: var(--green); }

.badge-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.badge { font-size: 12.5px; font-weight: 600; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px; }
.badge b { color: var(--text); }

/* ---------- how-it-optimizes flow diagram ---------- */
.flow-diagram {
  margin-top: 48px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
}
.flow-diagram svg { display: block; width: 100%; height: auto; }
.flow-diagram figcaption { font-size: 13px; color: var(--muted); margin-top: 14px; max-width: 760px; }
.flow-diagram svg text { font-family: 'Inter', -apple-system, 'Segoe UI', sans-serif; }

/* ---------- console tour / social proof / faq / contact (2026-08-28) ---------- */
.social-proof { margin-top: 28px; font-size: 14px; color: var(--muted); text-align: center; }
.grid.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .grid.three { grid-template-columns: 1fr; } }
.shot { margin: 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 10px; box-shadow: 0 16px 48px rgba(0,0,0,.35); }
.shot img { display: block; width: 100%; border-radius: 8px; }
.shot figcaption { font-size: 13px; color: var(--muted); padding: 10px 4px 4px; line-height: 1.5; }
.shot figcaption b { color: var(--text); }
.faq details { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 16px 20px; margin-bottom: 12px; }
.faq summary { font-weight: 700; cursor: pointer; color: var(--text); }
.faq details p { margin: 12px 0 2px; color: var(--muted); line-height: 1.6; }
.contact-wrap { text-align: center; }
.contact-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 8px; }
.cta.big { padding: 14px 28px; font-size: 16px; }
