/* Monyx Brands marketing site — shared styles.
   Values come from css/tokens/*.css; page-specific sizes follow the approved
   mockups in the design handoff (high fidelity at desktop width). */

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

body {
  margin: 0;
  background: var(--surface-page);
  font-family: var(--font-body);
  color: var(--text-body);
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 1280px;
  margin: 0 auto;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 150ms ease-out;
}
a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}
a:active { color: var(--accent-active); }

:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--text-heading);
  letter-spacing: var(--ls-heading);
  margin: 0;
}

img { max-width: 100%; }

/* ---------- Header ---------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 64px;
  border-bottom: 1px solid var(--border-default);
  position: relative;
}
.site-header .logo img {
  height: 44px;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 14px;
  font-weight: 500;
}
.site-nav > a:not(.btn) {
  color: var(--gray-900);
}
.site-nav > a:not(.btn):hover {
  color: var(--accent-hover);
}
.site-nav > a.is-active {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
}

.nav-toggle {
  display: none;
  font: 600 14px var(--font-body);
  color: var(--gray-900);
  background: none;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-pill);
  padding: 9px 20px;
  cursor: pointer;
}

/* ---------- Buttons & badges ---------- */

.btn {
  display: inline-block;
  border-radius: var(--radius-pill);
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  border: 0;
  font-family: var(--font-body);
  transition: background-color 150ms ease-out, color 150ms ease-out, border-color 150ms ease-out;
}
.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--accent);
  color: var(--text-inverse);
}
.btn-primary:hover { background: var(--accent-hover); color: var(--text-inverse); }
.btn-primary:active { background: var(--accent-active); }

.btn-outline {
  background: transparent;
  border: 1px solid var(--gray-300);
  color: var(--gray-900);
}
.btn-outline:hover { border-color: var(--gray-500); color: var(--gray-900); }

.btn-white {
  background: var(--mnx-white);
  color: var(--accent);
}
.btn-white:hover { background: var(--teal-100); color: var(--accent); }

.btn-lg { padding: 14px 30px; font-size: 15px; }
.btn-md { padding: 13px 28px; font-size: 14.5px; }
.btn-nav { padding: 11px 24px; font-size: 13.5px; }

.badge {
  background: var(--accent);
  color: var(--text-inverse);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.chip {
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

.eyebrow {
  font: 600 12px var(--font-body);
  letter-spacing: .14em;
  color: var(--teal-600);
  margin-bottom: 16px;
}

.arrow-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

/* Product imagery sits centered on the soft-green brand field */
.product-shot {
  background: var(--soft-green);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-shot img { width: auto; }

/* ---------- Home ---------- */

.hero {
  padding: 96px 64px 88px;
  max-width: 860px;
}
.hero .eyebrow { margin-bottom: 20px; }
.hero h1 {
  font-size: 58px;
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 24px;
}
.hero p {
  font-size: 18px;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 0 36px;
}
.btn-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.proof-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-top: 1px solid var(--border-default);
  border-bottom: 1px solid var(--border-default);
}
.proof-row > div {
  padding: 28px 40px;
  border-right: 1px solid var(--border-default);
}
.proof-row > div:first-child { padding-left: 64px; }
.proof-row > div:last-child { border-right: 0; }
.proof-row h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: normal;
}
.proof-row p {
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 4px 0 0;
}

.brands-section {
  background: var(--surface-soft);
  padding: 72px 64px;
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}
.section-head h2 {
  font-size: 34px;
  font-weight: 700;
}

.brand-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}
.brand-card {
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.brand-card .product-shot { height: 240px; }
.brand-card .product-shot img { height: 204px; }
.brand-card-body { padding: 26px 28px 30px; }
.brand-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.brand-name-row .name {
  font: 700 24px var(--font-display);
  color: var(--text-heading);
}
.brand-card-body p {
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0 0 16px;
}

.pipeline-card {
  background: var(--surface-card);
  border: 1px dashed var(--gray-300);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 40px;
  min-height: 300px;
}
.pipeline-card img { height: 56px; opacity: .18; }
.pipeline-card .status {
  font: 600 15px var(--font-display);
  color: var(--text-muted);
}
.pipeline-card .sub {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

.cta-band {
  background: var(--surface-inverse);
  color: var(--text-inverse);
  padding: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.cta-band h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--text-inverse);
  margin-bottom: 10px;
}
.cta-band p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--teal-100);
  margin: 0;
  max-width: 520px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--mnx-black);
  color: var(--text-inverse);
  padding: 40px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.site-footer img { height: 38px; }
.footer-meta {
  font-size: 13px;
  color: var(--gray-300);
  text-align: right;
  line-height: 1.6;
}

/* ---------- Our Brands page ---------- */

.page-head {
  padding: 72px 64px 56px;
  max-width: 820px;
}
.page-head h1 {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 18px;
}
.page-head p {
  font-size: 17px;
  line-height: 1.6;
  max-width: 620px;
  margin: 0;
}

.brands-body { padding: 0 64px 72px; }

.feature-card {
  background: var(--surface-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
}
.feature-card .product-shot {
  min-height: 380px;
  padding: 30px 0;
}
.feature-card .product-shot img { height: 320px; }
.feature-card-body {
  padding: 48px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feature-card-body .brand-name-row { margin-bottom: 14px; }
.feature-card-body .name { font-size: 32px; }
.feature-card-body p {
  font-size: 15.5px;
  line-height: 1.7;
  margin: 0 0 12px;
}
.chip-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 12px 0 28px;
}

.pipeline-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}
.pipeline-item {
  border: 1px dashed var(--gray-300);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 32px 36px;
}
.pipeline-item img { height: 52px; opacity: .18; }
.pipeline-item .status {
  font: 600 16px var(--font-display);
  color: var(--text-muted);
}
.pipeline-item .sub {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ---------- About page ---------- */

.about-grid {
  padding: 72px 64px 64px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 72px;
  align-items: start;
}
.about-grid h1 {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}
.about-grid .prose p {
  font-size: 16px;
  line-height: 1.75;
  margin: 0 0 16px;
}
.about-grid .prose p:last-child { margin-bottom: 0; }

.stat-list { border-top: 2px solid var(--border-strong); }
.stat-list > div {
  padding: 22px 0;
  border-bottom: 1px solid var(--border-default);
}
.stat-list .value {
  font: 700 26px var(--font-display);
  color: var(--text-heading);
}
.stat-list .label {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ---------- Contact page ---------- */

.contact-grid {
  padding: 72px 64px 80px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
}
.contact-grid h1 {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}
.contact-intro {
  font-size: 16px;
  line-height: 1.7;
  max-width: 420px;
  margin: 0 0 40px;
}

.detail-list { border-top: 2px solid var(--border-strong); }
.detail-list > div {
  padding: 20px 0;
  border-bottom: 1px solid var(--border-default);
}
.detail-list .label {
  font: 600 12px var(--font-body);
  letter-spacing: .1em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.detail-list .value,
.detail-list .value a {
  font: 600 17px var(--font-display);
  color: var(--text-heading);
}
.detail-list .value a { color: var(--accent); }

.form-card {
  background: var(--surface-soft);
  border-radius: var(--radius-lg);
  padding: 44px 48px;
}
.form-card h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--mnx-white);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font: 400 14px var(--font-body);
  color: var(--gray-900);
}
.field textarea {
  min-height: 110px;
  resize: vertical;
}
.field :is(input, select, textarea):focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 0;
}
.form-card .btn { margin-top: 8px; }

/* ---------- Responsive (≤1024px was not designed; simple collapse) ---------- */

@media (max-width: 1024px) {
  .site-header { padding: 18px 24px; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--mnx-white);
    border-bottom: 1px solid var(--border-default);
    padding: 20px 24px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    z-index: 10;
  }
  .site-nav.is-open { display: flex; }

  .hero { padding: 56px 24px 48px; }
  .hero h1 { font-size: 40px; }

  .proof-row { grid-template-columns: 1fr; }
  .proof-row > div,
  .proof-row > div:first-child {
    padding: 22px 24px;
    border-right: 0;
    border-bottom: 1px solid var(--border-default);
  }
  .proof-row > div:last-child { border-bottom: 0; }

  .brands-section { padding: 48px 24px; }
  .section-head { flex-direction: column; gap: 8px; }
  .brand-grid { grid-template-columns: 1fr; }
  .pipeline-card { min-height: 200px; }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 48px 24px;
    gap: 28px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
  }
  .footer-meta { text-align: left; }

  .page-head { padding: 48px 24px 36px; }
  .page-head h1 { font-size: 36px; }
  .brands-body { padding: 0 24px 48px; }
  .feature-card { grid-template-columns: 1fr; }
  .feature-card .product-shot { min-height: 240px; padding: 20px 0; }
  .feature-card .product-shot img { height: 200px; }
  .feature-card-body { padding: 32px 28px; }
  .pipeline-row { grid-template-columns: 1fr; }

  .about-grid {
    padding: 48px 24px;
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-grid h1 { font-size: 36px; }

  .contact-grid {
    padding: 48px 24px 56px;
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-grid h1 { font-size: 36px; }
  .form-card { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }
}
