/* =========================================================
   Misen vs Made In — brand overrides + 8g minimal-spec page
   Tokens reverse-engineered from misen.com (firecrawl branding):
     primary  = #1C4BBA  (vibrant blue CTA)
     secondary= #FED721  (yellow accent — used sparingly here)
     ink      = #212121
     radius   = 0px      (sharp Misen buttons)
     font     = Neue Haas Unica → Inter substitute (license-gated)
   ========================================================= */

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

:root {
  /* Color */
  --ink:           #212121;
  --ink-soft:      #5C6066;
  --bg:            #FFFFFF;
  --surface:       #F6F5F1;
  --line:          #E5E5E0;

  --brand:         #1C4BBA;
  --brand-hover:   #163C95;
  --brand-deep:    #102B6E;
  --accent:        #FED721;

  --ok:            #1C4BBA;   /* used by .compare td.win — Misen-wins cells render in brand blue */
  --danger:        #B22222;   /* used by .compare td.lose — losing cells render in red */

  /* Type */
  --font-display:  "Inter", "Neue Haas Unica", system-ui, sans-serif;
  --font-sans:     "Inter", "Neue Haas Unica", system-ui, sans-serif;

  /* Radius — Misen buttons are square-edged */
  --radius:        4px;
  --radius-pill:   0px;

  /* Container */
  --container:     1200px;
  --pad:           32px;
}

/* ---------- Header — Misen-style: white bg, ink wordmark, blue CTA ---------- */

.header {
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Longhand only — `.header__inner` is double-classed with `.container`,
     which sets horizontal padding (var(--pad)). A `padding: 16px 0` shorthand
     would zero those out and the wordmark/CTA would sit flush against the
     page edges. Use top/bottom longhand so container padding survives. */
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 24px;
}
.header .brand img { height: 22px; width: auto; }
.header .nav { display: flex; gap: 28px; }
.header .nav a {
  font-size: 14px; font-weight: 500; letter-spacing: 0.02em;
  text-transform: uppercase; color: var(--ink);
}
.header .nav a:hover { color: var(--brand); }
.header .header__right { display: flex; align-items: center; gap: 16px; }
@media (max-width: 760px) {
  .header .nav { display: none; }
}
@media (max-width: 640px) {
  /* Tighter header on mobile — nav is hidden; CTA shrinks so it doesn't
     dominate the row. Wordmark gets breathing room. Longhand padding
     to preserve container's horizontal padding (see desktop rule above). */
  .header__inner { padding-top: 12px; padding-bottom: 12px; gap: 12px; }
  .header .brand img { height: 20px; }
  .header .header__right .btn--lg {
    height: 40px; padding: 0 16px; font-size: 12px; letter-spacing: 0.04em;
  }
}

/* ---------- 8g Hero — H1 + 2 sublines + CTA + product photo ---------- */

.mn-hero {
  position: relative;
  padding: 80px 0 64px;
  /* Tinted-marble texture: brand-warm cream surface with subtle rosemary sprig
     for editorial cookware feel. White overlay (88%→78%) keeps the ink H1 +
     sublines AA-readable while letting the texture come through behind the
     headline column and the product pan on the right. */
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.78)),
    url("assets/hero-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.mn-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.mn-h1 {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 20px;
  max-width: 620px;
}
.mn-sub {
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0 0 12px;
  max-width: 540px;
}
.mn-sub--strong {
  color: var(--ink);
  font-weight: 500;
}
.mn-hero__cta-row {
  display: flex; align-items: center; gap: 20px;
  margin-top: 28px; flex-wrap: wrap;
}
/* Trust strip — pseudo-element separators that travel with their items
   (no orphaned dots on wrap). Mobile drops to vertical stack at ≤480. */
.mn-trust {
  list-style: none; padding: 0; margin: 24px 0 0;
  display: flex; flex-wrap: wrap; align-items: center;
  column-gap: 28px; row-gap: 8px;
  font-size: 14px; color: var(--ink-soft);
}
.mn-trust__item { display: inline-flex; align-items: center; gap: 6px; position: relative; }
.mn-trust__item:not(:first-child)::before {
  content: ""; position: absolute; left: -16px; top: 50%;
  width: 3px; height: 3px; border-radius: 50%;
  background: #C9CBCF; transform: translateY(-50%);
}
.mn-trust__star { color: #F5B30A; }

@media (max-width: 480px) {
  .mn-trust { row-gap: 6px; column-gap: 0; flex-direction: column; align-items: flex-start; }
  .mn-trust__item:not(:first-child)::before { display: none; }
}

.mn-hero__media {
  position: relative;
  display: flex; justify-content: center; align-items: flex-end;
  min-height: 420px;
}
.mn-hero__media a { display: contents; }   /* preserve flex layout */
.mn-hero__media img {
  width: 100%; max-width: 540px;
  height: auto; object-fit: contain;
  cursor: pointer; transition: transform var(--t-fast);
}
.mn-hero__media a:hover img { transform: translateY(-2px); }

@media (max-width: 960px) {
  .mn-hero { padding: 56px 0 40px; }
  .mn-hero__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .mn-h1 { font-size: 40px; }
  .mn-sub { font-size: 17px; }
  .mn-hero__media { min-height: 280px; }
  .mn-hero__media img { max-width: 380px; }
}
@media (max-width: 480px) {
  .mn-h1 { font-size: 32px; }
}

/* ---------- 8g Table — directional cell coloring ---------- */

.mn-table-section {
  padding: 96px 0 72px;
  background: var(--surface);
}
.mn-table-section__stat {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.015em;
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}
.mn-table-section__stat strong {
  color: var(--brand);
  font-weight: 700;
}

/* Asymmetric title — Misen side larger + brand-blue (the product we sell);
   Made In side smaller + neutral. The visual hierarchy is the pitch. */
.mn-table-title {
  text-align: center;
  margin: 0 0 20px;
  display: flex; flex-wrap: wrap;
  align-items: baseline; justify-content: center;
  gap: 12px;
  font-weight: 600;
}
.mn-table-title .mn-vs-brand {
  font-size: 26px;
  color: var(--brand);
  letter-spacing: -0.01em;
}
.mn-table-title .mn-vs {
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 500;
  text-transform: lowercase;
  letter-spacing: 0.04em;
}
.mn-table-title .mn-vs-comp {
  font-size: 18px;
  color: var(--ink-soft);
  font-weight: 500;
}
@media (max-width: 640px) {
  /* Let flex-wrap handle the natural break: line 1 = brand, line 2 = "vs." + comp.
     NO flex-direction: column — that orphaned "vs." and dropped centering inside spans. */
  .mn-table-title { gap: 8px; }
  .mn-table-title .mn-vs-brand { font-size: 22px; flex-basis: 100%; }
  .mn-table-title .mn-vs       { font-size: 13px; }
  .mn-table-title .mn-vs-comp  { font-size: 16px; }
}

/* Single container — the cream .mn-table-section surface IS the box.
   Don't double-box by adding a second white card around the table. */
.mn-table-wrap {
  max-width: 880px;
  margin: 0 auto;
}

/* Override framework defaults for tighter, more spec-sheet feel */
.compare.mn-compare th,
.compare.mn-compare td {
  padding: 16px 20px;
  vertical-align: middle;
}
/* Spotlight pattern (Misen / Harry's / Allbirds DTC): the highlight column gets
   a filled brand-blue header that anchors the spotlight box from .compare--spotlight.
   Plain headers stay text-only — the box on the brand column is the only visual cue. */
.compare.mn-compare thead th {
  background: transparent;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: none;
  padding-top: 24px;
  padding-bottom: 16px;
}
.compare.mn-compare thead th.highlight {
  background: var(--brand);
  color: #fff;
  font-weight: 700;
}
.compare.mn-compare tbody td:first-child {
  font-weight: 500;
  text-align: left;
  color: var(--ink);
  font-size: 14px;
}
.compare.mn-compare tbody td {
  font-size: 15px;
  text-align: center;
  color: var(--ink);
}
.compare.mn-compare tbody td.win {
  color: var(--brand);
  font-weight: 700;
}
.compare.mn-compare tbody td.lose {
  color: var(--danger);
  font-weight: 600;
}
/* Visual asymmetry on ties (iron rule 10g): brand col always renders in brand-blue,
   competitor col always in neutral grey — even when the underlying value is identical.
   The two columns must never look the same. */
.compare.mn-compare tbody td:nth-child(2) .check { color: var(--brand);    font-size: 18px; }
.compare.mn-compare tbody td:nth-child(3) .check { color: var(--ink-soft); font-size: 18px; }
.compare.mn-compare tbody td .x { color: var(--ink-soft); font-size: 16px; }

/* Same principle on the warranty / star / prose tied rows: competitor cell stays neutral grey */
.compare.mn-compare tbody td:nth-child(3) { color: var(--ink-soft); }

@media (max-width: 640px) {
  .mn-table-section { padding: 64px 0 48px; }
  .mn-table-section__stat { font-size: 24px; padding: 0 8px; line-height: 1.25; }
  .compare.mn-compare th, .compare.mn-compare td { padding: 12px 8px; font-size: 13px; }
  .compare.mn-compare tbody td:first-child { font-size: 13px; }
  .compare.mn-compare thead th { font-size: 11px; padding: 12px 6px; }
}

/* ---------- 8g Decide — split layout with product + body CTA ---------- */

.mn-decide {
  padding: 96px 0;
  background: var(--bg);
}
.mn-decide__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
}
.mn-decide__media {
  background: var(--surface);
  border-radius: 4px;
  aspect-ratio: 4 / 3;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.mn-decide__media a { display: contents; }   /* preserve flex layout */
.mn-decide__media img {
  width: 100%; height: 100%;
  max-width: 480px;
  object-fit: contain;
  padding: 32px;
  cursor: pointer; transition: transform var(--t-fast);
}
.mn-decide__media a:hover img { transform: scale(1.02); }

/* Editorial / lifestyle modifier — image carries its own backdrop, so no
   inner cream frame, no padding, and `cover` to fill the box edge-to-edge. */
.mn-decide__media--editorial { background: none; }
.mn-decide__media--editorial img {
  max-width: none;
  padding: 0;
  object-fit: cover;
}
.mn-decide__copy h2 {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 20px;
}
.mn-decide__copy p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 16px;
  max-width: 520px;
}
.mn-decide__copy .btn { margin-top: 16px; }

@media (max-width: 960px) {
  .mn-decide { padding: 64px 0; }
  .mn-decide__grid { grid-template-columns: 1fr; gap: 32px; }
  .mn-decide__copy h2 { font-size: 32px; }
}

/* ---------- Footer — Misen minimal ---------- */

.mn-footer {
  padding: 32px 0 40px;
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.mn-footer__row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  font-size: 13px; color: var(--ink-soft);
}
.mn-footer__links { display: flex; gap: 20px; flex-wrap: wrap; }
.mn-footer__links a:hover { color: var(--brand); text-decoration: underline; }
.mn-footer__brand { display: flex; align-items: center; gap: 12px; }
.mn-footer__brand img { height: 20px; width: auto; }

/* ---------- Button overrides — Misen 0px-radius, brand blue ---------- */

.btn { border-radius: var(--radius-pill); /* 0px per Misen */ }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-hover); }
.btn--lg { height: 56px; font-size: 16px; letter-spacing: 0.02em; text-transform: uppercase; padding: 0 36px; font-weight: 600; }
