/* ============================================================
   Silver Squeeze (SQZ) — institutional fund-page design system.
   Committed light "paper" look; iShares-style yellow accents on
   a silver/ink frame.
   ============================================================ */

:root {
  --paper: #F7F5F0;
  --card: #F1EEE6;
  --white: #FFFFFF;
  --ink: #131313;
  --ink2: #3D3D3A;
  --muted: #6E6C64;
  --rule: #DAD6CA;
  --silver-hi: #E9EBEF;
  --silver: #C6CBD4;
  --silver-deep: #9AA1AC;
  --yellow: #FFCE00;
  --yellow-deep: #EFBE00;
  --warn: #8E2A1C;
  --footer-bg: #14151A;
  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.mono { font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ---------- market strip ---------- */
.utility {
  background: var(--ink);
  color: #E4E2D9;
  font-size: 11.5px;
  letter-spacing: 0.05em;
  padding: 7px 16px;
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  white-space: nowrap;
}
.u-num { color: #FFFFFF; font-weight: 600; }
.u-dim { color: #8F8D85; }

/* ---------- masthead ---------- */
.masthead {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.masthead-in {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.wordmark {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-decoration: none;
  white-space: nowrap;
}
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a {
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink2);
}
.nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn-buy {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--ink);
}
.btn-buy:hover { background: var(--yellow-deep); border-color: var(--yellow-deep); }
.btn-outline { border-color: var(--ink); background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-block { width: 100%; }
.btn-mini {
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid var(--silver-deep);
  background: var(--white);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
}
.btn-mini:hover { background: var(--silver-hi); }

/* ---------- hero ---------- */
.hero { padding: 48px 0 56px; }
.hero-grid {
  display: grid;
  grid-template-columns: 430px 1fr;
  gap: 56px;
  align-items: start;
}
.hero-card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-top: 4px solid var(--ink);
  border-radius: 10px;
  padding: 26px 26px 22px;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip-row-loose { margin-top: 28px; gap: 10px; }
.chip {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.07em;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--ink);
  background: transparent;
}
.chip-dark { background: var(--ink); color: var(--paper); }
.chip-live {
  background: var(--yellow);
  border-color: var(--yellow-deep);
  display: inline-flex; align-items: center; gap: 6px;
}
.chip-live[hidden] { display: none; }
.chip-live::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ink);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.25; } }
@media (prefers-reduced-motion: reduce) { .chip-live::before { animation: none; } }

.ticker {
  font-family: "Archivo", sans-serif;
  font-weight: 900;
  font-size: clamp(64px, 9vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-top: 18px;
}
.fund-name {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 22px;
  margin-top: 2px;
}
.pairline { font-size: 12px; color: var(--muted); margin-top: 6px; letter-spacing: 0.04em; }
.hero-actions { display: grid; gap: 10px; margin: 20px 0 6px; }

.stat-list { margin-top: 14px; }
.stat {
  border-top: 1px solid var(--rule);
  padding: 13px 0;
}
.stat dt {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink2);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.stat .asof { font-weight: 400; color: var(--muted); text-transform: none; letter-spacing: 0; }
.stat dd { margin-top: 5px; }
.num {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 600;
  font-size: 26px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.stat-hero .num { font-size: 38px; }
.unit { font-family: "IBM Plex Mono", monospace; font-size: 14px; color: var(--muted); font-weight: 500; }
.stat-meter .meter {
  display: block;
  height: 8px;
  background: #E4E1D7;
  border-radius: 4px;
  margin-top: 10px;
  overflow: hidden;
}
.meter-fill {
  display: block;
  height: 100%;
  background: var(--ink);
  border-radius: 4px;
  transition: width 0.6s ease;
}
.finequiet { font-size: 12.5px; color: var(--muted); margin-top: 14px; line-height: 1.55; }
.finequiet a { color: inherit; }

.hero-copy .lede {
  font-size: 19px;
  line-height: 1.65;
  font-weight: 400;
  color: var(--ink);
}
.chip-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chip-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--white);
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.chip-link:hover { background: var(--silver-hi); }
.tbd-tag {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  color: var(--muted);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 1px 7px;
}

/* ---------- tab bar ---------- */
.tabbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--yellow);
  border-bottom: 2px solid var(--ink);
}
.tabbar-in {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabbar-in::-webkit-scrollbar { display: none; }
.tabbar a {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 13px 14px;
  white-space: nowrap;
  color: var(--ink);
}
.tabbar a:hover { background: rgba(0,0,0,0.07); }

/* ---------- sections ---------- */
.section { padding: 76px 0; }
.section-alt { background: var(--white); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.eyebrow { font-size: 12px; letter-spacing: 0.14em; color: var(--muted); }
h2 {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: clamp(30px, 4.4vw, 42px);
  letter-spacing: -0.015em;
  line-height: 1.08;
  margin-top: 10px;
}
h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 5px;
  margin-top: 14px;
  border-radius: 3px;
  background: var(--yellow);
}
.section-sub { margin-top: 16px; max-width: 720px; color: var(--ink2); font-size: 16.5px; }
.sub-h {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 20px;
  margin-top: 52px;
}
.asof-inline { font-family: "Inter", sans-serif; font-weight: 400; font-size: 13px; color: var(--muted); }

/* ---------- the distribution ---------- */
.fee-mega {
  font-family: "Archivo", sans-serif;
  font-weight: 900;
  font-size: clamp(84px, 14vw, 148px);
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin-top: 18px;
  font-variant-numeric: tabular-nums;
}
.fee-mega-label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--ink2);
  margin-top: 14px;
}
.microlabel {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.fineprint {
  margin-top: 44px;
  max-width: 780px;
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--muted);
}

/* ---------- steps ---------- */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 40px;
  margin-top: 26px;
}
.steps li { border-top: 2px solid var(--ink); padding-top: 14px; }
.step-no { font-size: 13px; color: var(--muted); letter-spacing: 0.1em; }
.step-tag {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.09em;
  margin: 4px 0 8px;
}
.steps p { font-size: 15px; color: var(--ink2); }
.steps .btn { margin-top: 14px; }

/* ---------- key facts ---------- */
.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 0 40px;
  margin-top: 34px;
}
.facts-grid-tight { margin-top: 20px; }
.fact { border-top: 1px solid var(--rule); padding: 14px 0 16px; }
.fact-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}
.fact-val {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 20px;
  margin-top: 5px;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.fact-val.mono { font-family: "IBM Plex Mono", monospace; font-size: 14px; font-weight: 500; }
.fact-asof { font-size: 12px; color: var(--muted); margin-top: 3px; }

/* ---------- ledger / tiles ---------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 20px;
  margin-top: 36px;
}
.tiles-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); max-width: 720px; }
.tile {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 20px 22px;
}
.section-alt .tile { background: var(--paper); }
.tile-num {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 600;
  font-size: 27px;
  font-variant-numeric: tabular-nums;
  margin-top: 10px;
}
.tile-sub { font-size: 12.5px; color: var(--muted); margin-top: 6px; }

.table-scroll { overflow-x: auto; margin-top: 30px; }
table { width: 100%; border-collapse: collapse; }
.ledger th {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
  padding: 0 14px 10px 0;
  border-bottom: 2px solid var(--ink);
}
.ledger td {
  font-size: 13.5px;
  padding: 11px 14px 11px 0;
  border-bottom: 1px solid var(--rule);
  font-variant-numeric: tabular-nums;
}
.ledger .ta-r, .ledger td.ta-r { text-align: right; }
.ledger .empty td {
  text-align: center;
  color: var(--muted);
  padding: 36px 12px;
  font-size: 14px;
}
.datastamp { font-size: 11.5px; color: var(--muted); margin-top: 14px; letter-spacing: 0.03em; }

/* ---------- underlying ---------- */
.ca-panel {
  margin-top: 34px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--ink);
  border-radius: 8px;
  padding: 18px 20px;
}
.section:not(.section-alt) .ca-panel { background: var(--white); }
.ca-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 10px; }
.ca-row-tight { margin-top: 12px; }
.ca {
  font-size: 13px;
  background: transparent;
  overflow-wrap: anywhere;
  font-weight: 500;
}
.warn { margin-top: 12px; font-size: 13.5px; color: var(--warn); }
.warn strong { color: var(--warn); }

/* ---------- verify ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 38px;
}
.trust { border-top: 2px solid var(--ink); padding-top: 14px; }
.trust h3 { font-family: "Archivo", sans-serif; font-weight: 700; font-size: 18px; margin-bottom: 8px; }
.trust p { font-size: 14px; color: var(--ink2); }

.addrbook td { font-size: 13.5px; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.addrbook td:first-child { font-weight: 600; white-space: nowrap; }
.addrbook td.mono { overflow-wrap: anywhere; font-size: 12.5px; color: var(--ink2); }
.addrbook td:last-child { text-align: right; white-space: nowrap; }
.addrbook .btn-mini { margin-left: 6px; }

/* ---------- footer ---------- */
.footer { background: var(--footer-bg); color: #C9CBD1; padding: 56px 0 44px; }
.footer .wordmark { color: #E8E9EC; }
.footer-brand { display: flex; flex-wrap: wrap; gap: 16px; align-items: baseline; }
.footer-tag { font-size: 12px; color: #8E919A; }
.footer-legal { margin-top: 26px; border-top: 1px solid #2A2C33; padding-top: 24px; }
.footer-legal p { font-size: 11.5px; line-height: 1.7; color: #9FA2AA; max-width: 900px; }
.footer-legal p + p { margin-top: 12px; }
.footer-legal a { color: #C9CBD1; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .nav { display: none; }
  .masthead-in { justify-content: space-between; }
}
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .trust-grid { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 760px) {
  .section { padding: 56px 0; }
  .steps { grid-template-columns: 1fr; }
  .hero { padding: 32px 0 44px; }
  .facts-grid { gap: 0 24px; }
  .utility { gap: 14px; }
}
