/* Mazgat story: stitched fabric-tag page. Dark indigo-slate ground, bright water-cyan accent,
   vertical tag-row layout for the five care shapes, ruled basket table, two-up phone shots
   beside a single stain card, stitched limit block. Chromium 67 safe (no flex gap, clamp, inset). */
@font-face {
  font-family: "mz-Inter";
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "mz-Space";
  src: url("/assets/fonts/space-grotesk-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

body.page-mazgat {
  --head: "mz-Space", "Segoe UI", Roboto, Arial, sans-serif;
  --body: "mz-Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --bg: #0c121b;
  --surface: #141d29;
  --raised: #1b2636;
  --text: #f3efe9;
  --text-2: #c6ced8;
  --muted: #98a3b3;
  --hair: rgba(214, 232, 244, .11);
  --hair-2: rgba(214, 232, 244, .24);
  --bar: rgba(12, 18, 27, .94);
  --accent: #56d0e0;
  --accent-ink: #07191d;
  --accent-soft: rgba(86, 208, 224, .13);
}

.page-mazgat main { padding-bottom: 44px; }
.page-mazgat main .wrap { max-width: 824px; }
.page-mazgat main > .wrap:first-child { padding-top: 40px; }
.page-mazgat .crumb { margin: 0 0 26px; font-size: 14px; }
.page-mazgat .crumb a { color: var(--muted); text-decoration: none; }
.page-mazgat .crumb a:before { content: "\2190"; margin-right: 8px; }
.page-mazgat .crumb a:hover { color: var(--accent); }
.page-mazgat .story-app { margin-bottom: 36px; }
.page-mazgat main strong { color: var(--text); font-weight: 600; }

/* Hero with stitched care-tag seam */
.mz-hero {
  padding: 24px 0 32px;
  border-top: 2px dashed var(--accent);
  border-bottom: 1px dashed var(--hair-2);
}
.mz-kicker {
  margin: 0 0 12px;
  font: 600 12px/1.4 var(--body);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.mz-hero h1 {
  margin: 0 0 18px;
  max-width: 17em;
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -.03em;
}
.mz-lead {
  margin: 0;
  font-size: 18px;
  line-height: 1.62;
  color: var(--text-2);
}

/* Article sections */
.mz-sec { padding-top: 40px; }
.mz-sec h2 {
  margin: 0 0 16px;
  max-width: 24em;
  font-size: 25px;
  line-height: 1.22;
}
.mz-sec h3 {
  margin: 26px 0 12px;
  font-size: 20px;
  line-height: 1.3;
  color: var(--text);
}
.mz-sec p { margin: 0 0 18px; color: var(--text-2); }
.mz-sec p:last-child { margin-bottom: 0; }
.page-mazgat main p:not(.crumb) a:not(.btn),
.page-mazgat main li a,
.page-mazgat main dd a {
  color: var(--text);
  text-decoration: underline;
  -webkit-text-decoration-color: var(--accent);
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}
.page-mazgat main p:not(.crumb) a:not(.btn):hover,
.page-mazgat main li a:hover,
.page-mazgat main dd a:hover { color: var(--accent); }

/* Five ISO 3758 shape rows styled like a vertical sewn garment tag */
.mz-tag {
  margin: 24px 0 22px;
  background: var(--surface);
  border: 1px solid var(--hair-2);
  border-top: 3px solid var(--accent);
  border-radius: 6px;
}
.mz-tag-row {
  padding: 16px 18px;
  border-top: 1px dashed var(--hair-2);
}
.mz-tag-row:first-child { border-top: 0; }
.mz-tag-row dt {
  margin: 0 0 6px;
  font-family: var(--head);
  font-size: 17px;
  font-weight: 700;
  color: var(--accent);
}
.mz-tag-row dd {
  margin: 0;
  color: var(--text-2);
  line-height: 1.62;
}

/* Sorting checklist */
.mz-rules { list-style: none; margin: 18px 0 24px; padding: 0; counter-reset: mzrule; }
.mz-rules li {
  position: relative;
  margin: 0 0 14px;
  padding: 2px 0 2px 38px;
  color: var(--text-2);
  counter-increment: mzrule;
}
.mz-rules li:before {
  content: counter(mzrule);
  position: absolute;
  left: 0;
  top: 3px;
  width: 24px;
  height: 24px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  background: var(--accent-soft);
  color: var(--accent);
  font: 700 13px/22px var(--head);
  text-align: center;
}

/* Basket sorting worked table */
.mz-sheet {
  margin: 24px 0;
  background: var(--surface);
  border: 1px solid var(--hair-2);
  border-radius: 6px;
}
.mz-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 15px;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}
.mz-table caption {
  padding: 15px 18px 12px;
  text-align: left;
  font: 600 18px/1.3 var(--head);
  color: var(--accent);
  border-bottom: 1px dashed var(--hair-2);
}
.mz-table th, .mz-table td {
  padding: 11px 16px;
  vertical-align: top;
  border-top: 1px solid var(--hair);
}
.mz-table thead th {
  border-top: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--raised);
}
.mz-table tbody th { font-weight: 600; color: var(--text); }
.mz-table td { color: var(--text-2); }
.mz-table td strong { color: var(--accent); }

/* Pictures: first standalone, then two side by side */
.mz-single {
  margin: 26px auto 28px;
  max-width: 270px;
  text-align: center;
}
.mz-pair {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 28px;
  margin: 28px 0;
}
.mz-pair figure {
  width: 100%;
  max-width: 270px;
  min-width: 0;
  margin: 0 auto;
  text-align: center;
}
.mz-single img,
.mz-pair img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--hair-2);
  border-radius: 12px;
}
.mz-single figcaption,
.mz-pair figcaption {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  text-align: left;
}

/* Limits callout & closing row */
.mz-limits {
  padding: 22px 24px;
  background: var(--surface);
  border: 1px dashed var(--hair-2);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
}
.mz-limits h2 { font-size: 22px; margin-bottom: 14px; }
.mz-limit-list { list-style: none; margin: 10px 0 0; padding: 0; }
.mz-limit-list li {
  position: relative;
  margin: 0 0 12px;
  padding-left: 20px;
  color: var(--text-2);
}
.mz-limit-list li:last-child { margin-bottom: 0; }
.mz-limit-list li:before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 7px;
  height: 7px;
  background: var(--accent);
}
.page-mazgat .mz-sec p.mz-end { margin: 34px 0 0; }
.mz-end .btn { margin: 0 18px 12px 0; vertical-align: middle; }
.mz-end a:not(.btn) { display: inline-block; margin-bottom: 12px; vertical-align: middle; }

@media (max-width: 600px) {
  .mz-sheet, .mz-table, .mz-table th, .mz-table td { min-width: 0; }
  .mz-table { font-size: 14px; }
  .mz-table caption { padding: 13px 12px 10px; font-size: 16px; }
  .mz-table th, .mz-table td { padding: 9px 8px; }
  .mz-table thead th { font-size: 11px; }
  .mz-table tbody th:first-child { white-space: nowrap; }
  .mz-limits { padding: 18px 16px; }
}
@media (min-width: 640px) {
  .mz-tag-row {
    display: grid;
    grid-template-columns: 175px 1fr;
    grid-gap: 18px;
    padding: 18px 20px;
  }
  .mz-tag-row dt { margin-bottom: 0; }
  .mz-pair {
    grid-template-columns: 270px 270px;
    justify-content: center;
    grid-gap: 32px;
  }
}
@media (min-width: 900px) {
  .page-mazgat main > .wrap:first-child { padding-top: 64px; }
  .mz-hero { padding: 28px 0 38px; }
  .mz-hero h1 { font-size: 46px; }
  .mz-lead { font-size: 20px; }
  .mz-sec { padding-top: 56px; }
  .mz-sec h2 { font-size: 30px; }
  .mz-limits h2 { font-size: 25px; }
}
