/* ================================================================
   ICE PARTNERSHIP CONSTITUTION — v10 (further ≈10% smaller)
   Dark hero + white body. Brand colors only.
   ================================================================ */

:root {
  --accent: #004aad;
  --accent-strong: #004aad;
  --accent-mid: #1260c4;
  --accent-light: #3a7fd4;
  --accent-dim: rgba(0,74,173,.3);
  --accent-soft: rgba(0,74,173,.06);
  --line: #dde4f0;
  --ink: #0d1c2e;
  --ink-soft: #3a4a5c;
  --gutter: max(5%, 18px);
}

.const-body { background: #fff; overflow-x: hidden; }

/* ---------- HERO (dark) ---------- */
.const-hero {
  padding-top: calc(var(--nh) + 45px);
  padding-bottom: 45px;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.const-eyebrow {
  font-size: 10.5px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent-light); margin-bottom: 16px;
}
.const-h1 {
  font-weight: 800;
  font-size: clamp(24px, 4.5vw, 47px);
  line-height: 1.15;
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: -.5px;
  word-break: break-word;
}
.const-h1 span { color: var(--accent-light); }
.const-rule { width: 57px; height: 3px; background: var(--accent-light); margin: 0 0 21px; border: none; }
.const-sub {
  font-size: 13.5px; line-height: 1.75; color: #fff; max-width: 585px; font-weight: 400;
}
.const-meta-row {
  display: flex; flex-wrap: wrap; gap: 18px 24px; margin-top: 29px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .5px; color: #fff; text-transform: uppercase;
}
.const-meta-row b { color: var(--accent-light); }

/* ---------- PREAMBLE (white) ---------- */
.const-preamble {
  padding: 45px var(--gutter); background: #fff;
}
.const-preamble .inner { max-width: 730px; }
.const-preamble-label {
  font-size: 10.5px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.const-preamble-text {
  font-size: 14.5px; line-height: 1.8; color: var(--ink); font-weight: 400;
  border-left: 3px solid var(--accent); padding-left: 16px;
}
.const-preamble-text b { color: var(--accent); font-weight: 700; }

/* ---------- TABLE OF ARTICLES (white cards) ---------- */
.const-toc-section { padding: 8px var(--gutter) 16px; background: #fff; }
.const-toc-section .inner { max-width: 1050px; }
.const-toc-label {
  font-size: 10.5px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 21px; padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}
.const-toc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.const-toc-card {
  background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 21px 20px;
  box-shadow: 0 4px 14px rgba(13,28,46,.05);
}
.const-toc-part-tag { font-size: 9.5px; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.const-toc-part-name {
  font-size: 15.5px; font-weight: 800; color: var(--ink); margin-bottom: 14px; padding-bottom: 13px;
  border-bottom: 1px solid var(--line); line-height: 1.3;
}
.const-toc-row {
  display: flex; align-items: center; gap: 12px; padding: 8px 0; text-decoration: none;
}
.const-toc-row + .const-toc-row { border-top: 1px solid #eef2f9; }
.const-toc-badge {
  width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--accent); color: var(--accent);
  font-size: 10px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.const-toc-title { font-size: 12px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.const-toc-row:hover .const-toc-title { color: var(--accent); }
.const-toc-row:hover .const-toc-badge { background: var(--accent); color: #fff; }

/* ---------- PART DIVIDER (white) ---------- */
.const-part {
  padding: 49px var(--gutter) 6px; background: #fff; border-top: 1px solid var(--line);
}
.const-part .inner { max-width: 730px; }
.const-part-label {
  font-size: 10.5px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 8px;
}
.const-part-title {
  font-weight: 800; font-size: clamp(18px, 2.7vw, 27px); color: var(--ink); line-height: 1.25;
}

/* ---------- ARTICLES (white cards) ---------- */
.const-article {
  padding: 8px var(--gutter); background: #fff;
}
.const-article .inner { max-width: 730px; }
.const-article-card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 24px 27px; transition: border-color .2s, box-shadow .2s;
  box-shadow: 0 4px 14px rgba(13,28,46,.05);
}
.const-article-card:hover { border-color: var(--accent-dim); box-shadow: 0 6px 22px rgba(0,74,173,.1); }
.const-article-label {
  font-size: 9.5px; font-weight: 700; letter-spacing: 1.3px; color: var(--accent);
  text-transform: uppercase; margin-bottom: 6px;
}
.const-article-title {
  font-weight: 800; font-size: clamp(15.5px, 2vw, 18px); color: var(--ink); line-height: 1.3; margin-bottom: 16px;
}
.const-principle {
  font-size: 13.5px; font-weight: 700; color: var(--ink); line-height: 1.6; margin-bottom: 12px;
  border-left: 3px solid var(--accent); padding-left: 13px;
}
.const-explain {
  font-size: 12.5px; line-height: 1.8; color: var(--ink); font-weight: 400;
}
.const-explain .lbl {
  font-weight: 700; color: var(--accent); margin-right: 5px;
}

/* ---------- CLOSING (white) ---------- */
.const-closing {
  padding: 61px var(--gutter); background: #fff; border-top: 1px solid var(--line);
}
.const-closing .inner { max-width: 730px; }
.const-closing-label {
  font-size: 10.5px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 19px;
}
.const-quote {
  font-weight: 700; font-size: clamp(17px, 2.4vw, 24px); line-height: 1.5; color: var(--ink);
}
.const-quote b { color: var(--accent); }

/* ---------- RATIFICATION ---------- */
.const-ratify {
  margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--accent-dim);
}
.const-ratify-line1 {
  font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 8px;
}
.const-ratify-line2 { font-size: 12px; color: var(--ink); line-height: 1.7; margin-bottom: 12px; font-weight: 400; }
.const-ratify-line3 { font-size: 10px; color: var(--ink-soft); letter-spacing: .5px; font-weight: 600; word-break: break-word; }

/* ================================================================
   MOBILE (≤ 900px / ≤ 600px)
   ================================================================ */
@media (max-width: 900px) {
  .const-toc-grid { grid-template-columns: 1fr; gap: 13px; }
}

@media (max-width: 600px) {
  .const-hero { padding-top: calc(var(--nh) + 29px); padding-bottom: 32px; }
  .const-h1 { font-size: 24px; }
  .const-sub { font-size: 13px; }
  .const-meta-row { gap: 12px 18px; font-size: 10px; }

  .const-preamble-text { font-size: 13px; padding-left: 12px; }

  .const-toc-card { padding: 18px 14px; }
  .const-toc-part-name { font-size: 14px; }
  .const-toc-title { font-size: 11.5px; }

  .const-part-title { font-size: 18px; }
  .const-article-card { padding: 18px 16px; border-radius: 10px; }
  .const-article-title { font-size: 14.5px; }
  .const-principle { font-size: 12.5px; padding-left: 10px; }
  .const-explain { font-size: 12px; }

  .const-quote { font-size: 16px; }
}

/* ================================================================
   DESIGN SYSTEM ALIGNMENT — appended 2026-07-11
   Eyebrow / label token per icegroup.in/design-system/:
   11.5px · 700 · 3px tracking · uppercase (was 10.5px / 2px).
   Append-only block: nothing above this line was edited.
   ================================================================ */
.const-eyebrow,
.const-preamble-label,
.const-toc-label,
.const-part-label,
.const-closing-label { font-size: 11.5px; letter-spacing: 3px; }
