/* MCI brand site — shared stylesheet */

:root {
  --bg: #fafcfb;
  --surface: #ffffff;
  --surface-alt: #eef5f3;
  --primary: #0b6e67;
  --primary-dark: #084f4a;
  --primary-tint: #e3f1ef;
  --accent: #ff6b4a;
  --accent-dark: #e4553a;
  --text: #16211f;
  --text-muted: #566a67;
  --border: #e1e8e6;
  --radius: 14px;
  --maxw: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1715;
    --surface: #15201d;
    --surface-alt: #182522;
    --primary: #4fb8ae;
    --primary-dark: #7fd0c6;
    --primary-tint: #1b2b28;
    --accent: #ff8a6b;
    --accent-dark: #ff6b4a;
    --text: #eef3f1;
    --text-muted: #9db0ac;
    --border: #243330;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  padding-bottom: 16px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
}
.brand .logo-full {
  height: 42px;
  width: auto;
  flex: none;
}
.brand small {
  display: block;
  font-weight: 500;
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
nav.main-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
nav.main-nav a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}
nav.main-nav a:hover { color: var(--primary); text-decoration: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); text-decoration: none; }
.btn-outline { background: transparent; border-color: var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }

/* Hero */
.hero {
  padding: 64px 0 56px;
  background: linear-gradient(180deg, var(--primary-tint), var(--bg) 85%);
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; }
}
.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.15;
  margin: 0 0 16px;
  text-wrap: balance;
}
.lede {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 54ch;
  margin: 0 0 26px;
}
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-art {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art img { border-radius: 12px; }

/* Sections */
section { padding: 56px 0; }
.section-head { max-width: 62ch; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 10px; }
.section-head p { color: var(--text-muted); margin: 0; }
.kicker {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

/* Product cards */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
@media (max-width: 980px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.product-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.product-card .thumb {
  background: var(--surface-alt);
  border-radius: 10px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}
.product-card .thumb img { max-height: 200px; }
.placeholder-thumb {
  width: 100%;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
}
.placeholder-thumb .icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--primary-tint);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 1.4rem;
}
.product-card h3 { margin: 0; font-size: 1.2rem; }
.product-card .tag-row { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  background: var(--primary-tint);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

/* Feature list */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (max-width: 760px) { .feature-grid { grid-template-columns: 1fr; } }
.feature {
  display: flex;
  gap: 14px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.feature .num {
  width: 32px; height: 32px;
  flex: none;
  border-radius: 8px;
  background: var(--primary-tint);
  color: var(--primary);
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
}
.feature h4 { margin: 0 0 4px; font-size: 1rem; }
.feature p { margin: 0; color: var(--text-muted); font-size: 0.92rem; }

/* Specs table */
table.specs {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
table.specs th, table.specs td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.94rem;
}
table.specs th {
  width: 36%;
  color: var(--text-muted);
  font-weight: 600;
  background: var(--surface-alt);
}
table.specs tr:last-child th, table.specs tr:last-child td { border-bottom: none; }
.tbc { color: var(--accent-dark); font-weight: 600; }

/* FAQ */
.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  padding: 20px 22px;
  margin-bottom: 14px;
}
.faq-item h3 { margin: 0 0 8px; font-size: 1.05rem; }
.faq-item p { margin: 0; color: var(--text-muted); }

/* Steps */
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 16px 18px 16px 54px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
}

/* Trust strip */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 760px) { .trust-strip { grid-template-columns: repeat(2, 1fr); } }
.trust-item {
  text-align: center;
  padding: 20px 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.trust-item .big { font-size: 1.3rem; font-weight: 800; color: var(--primary); display: block; }
.trust-item span.label { font-size: 0.82rem; color: var(--text-muted); }

/* Callout / note */
.note {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 16px 18px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Footer */
footer.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface-alt);
  padding: 40px 0 28px;
  margin-top: 40px;
}
footer.site-footer .wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}
@media (max-width: 760px) { footer.site-footer .wrap { grid-template-columns: 1fr; } }
footer.site-footer h4 { margin: 0 0 12px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); }
footer.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer.site-footer a { color: var(--text); }
.footer-bottom {
  max-width: var(--maxw);
  margin: 28px auto 0;
  padding: 18px 20px 0;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* Breadcrumb */
.crumb { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 18px; }
.crumb a { color: var(--text-muted); }

/* Mobile nav: wraps to its own row instead of disappearing (no JS, so nothing to toggle) */
@media (max-width: 640px) {
  .site-header .wrap { justify-content: flex-start; }
  nav.main-nav {
    width: 100%;
    gap: 10px 16px;
    padding-top: 2px;
  }
  nav.main-nav a { font-size: 0.88rem; }
}
