/* IQ Family Investor One-Pager
   US Letter portrait — 8.5" × 11" — print-ready
   Color system (IQ Family parent brand, slightly different from LeafIQ):
     --forest #142019  dark bg
     --paper  #F4F6F2  light bg
     --canopy #2D6A4F  primary green
     --gold   #C9A227  hero numbers + CTA accents (used sparingly)
*/

:root {
  --forest:        #142019;
  --forest-soft:   #1c2b22;
  --forest-line:   #2a3a30;
  --paper:         #F4F6F2;
  --paper-dim:     #d8ddd2;
  --paper-muted:   #8a9489;
  --canopy:        #2D6A4F;
  --canopy-deep:   #1A4A35;
  --canopy-edge:   #235840;
  --gold:          #C9A227;
  --gold-dim:      #a78617;
  --ink:           #18251A;
  --ink-muted:     #647060;
  --hairline:      #DDE5D7;

  /* Page geometry — 8.5" × 11" at 96 CSS px/in */
  --page-w: 816px;
  --page-h: 1056px;
  --gutter: 44px;  /* horizontal page margin */

  --f-display: 'Outfit', system-ui, sans-serif;
  --f-mono:    'Geist Mono', ui-monospace, 'SF Mono', monospace;
}

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

html, body {
  background: #1a1a1a;
  font-family: var(--f-display);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01', 'cv01';
}

/* ── Screen: scale to fit viewport, center on dark backdrop ─────────── */
.viewport {
  min-height: 100dvh;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 32px 16px;
  overflow: auto;
}

.page-shell {
  width: var(--page-w);
  height: var(--page-h);
  transform-origin: top center;
}

.page {
  width: var(--page-w);
  height: var(--page-h);
  background: var(--paper);
  color: var(--ink);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 80px rgba(0,0,0,0.55), 0 2px 4px rgba(0,0,0,0.3);
  overflow: hidden;
}

/* ── Print: full-bleed letter, no scaling ────────────────────────────── */
@page { size: letter; margin: 0; }
@media print {
  html, body { background: #fff; }
  .viewport { padding: 0; min-height: 0; overflow: visible; }
  .page-shell { transform: none !important; }
  .page { box-shadow: none; }
  .no-print { display: none !important; }
}

/* ── Bands ────────────────────────────────────────────────────────────── */
.band {
  padding: 0 var(--gutter);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.band--dark   { background: var(--forest); color: var(--paper); }
.band--light  { background: var(--paper);  color: var(--ink); }
.band--canopy { background: var(--canopy); color: var(--paper); }

/* Heights distributed across 1056px page */
.band--masthead { height: 106px; }   /* 10% */
.band--hero     { height: 190px; }   /* 18% */
.band--ps       { height: 190px; }   /* 18% */
.band--market   { height: 148px; }   /* 14% */
.band--status   { height: 232px; }   /* 22% */
.band--ask      { height: 190px; }   /* 18% */

/* Sum: 1056px ✓ */

/* ── Typography primitives ──────────────────────────────────────────── */
.wordmark {
  font-family: var(--f-display);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.eyebrow {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 8.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.label-gold {
  color: var(--gold);
  font-weight: 700;
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.mono { font-family: var(--f-mono); font-feature-settings: 'tnum'; }

/* ─────────────────────────────────────────────────────────────────────
   Band 1 — Masthead
   ───────────────────────────────────────────────────────────────────── */
.masthead {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 24px;
}
.masthead__wordmark {
  display: flex;
  align-items: baseline;
  gap: 0;
}
.masthead__wordmark .iq {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.045em;
  color: var(--paper);
}
.masthead__wordmark .family {
  font-size: 42px;
  font-weight: 300;
  letter-spacing: -0.04em;
  color: var(--paper);
  margin-left: 6px;
}
.masthead__tag {
  margin-top: 6px;
  font-size: 11px;
  color: var(--paper-dim);
  letter-spacing: 0.005em;
  font-weight: 400;
}
.masthead__meta {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
}
.masthead__meta .meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-dim);
  font-weight: 500;
}
.masthead__meta .dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
}
.masthead__meta .doc-id {
  font-family: var(--f-mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  color: var(--paper-muted);
  margin-top: 2px;
}

/* ─────────────────────────────────────────────────────────────────────
   Band 2 — Hero
   ───────────────────────────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  column-gap: 36px;
}
.hero__headline {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 34px;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-wrap: balance;
}
.hero__headline .hl-num {
  color: var(--canopy);
}
.hero__sub {
  margin-top: 10px;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--ink-muted);
  max-width: 32ch;
}

/* Product cards row */
.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  height: 100%;
  align-items: stretch;
  padding: 24px 0;
}
.prod {
  position: relative;
  background: var(--canopy);
  color: var(--paper);
  border-radius: 4px;
  padding: 10px 9px 9px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 0;
}
.prod.is-coming {
  background: transparent;
  color: var(--ink-muted);
  border: 1px dashed #b8c2b3;
}
.prod__brand {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.prod__brand .iq-suffix { font-weight: 400; opacity: 0.78; }
.prod.is-coming .prod__brand { color: var(--ink); }
.prod__desc {
  font-size: 9px;
  line-height: 1.25;
  letter-spacing: 0.01em;
  opacity: 0.92;
  margin-top: 4px;
}
.prod__status {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--f-mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 8px;
}
.prod__status .check {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--forest);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 700;
  line-height: 1;
}
.prod.is-coming .prod__status .check {
  background: transparent;
  color: var(--ink-muted);
  border: 1px solid var(--ink-muted);
}

/* ─────────────────────────────────────────────────────────────────────
   Band 3 — Problem / Solution
   ───────────────────────────────────────────────────────────────────── */
.band--ps { border-top: 1px solid var(--canopy); }

.ps {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  column-gap: 28px;
  align-items: start;
  padding-top: 22px;
}
.ps__divider {
  background: var(--hairline);
  height: 100%;
  min-height: 130px;
}
.ps__col h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-top: 8px;
  margin-bottom: 6px;
}
.ps__body {
  font-size: 11px;
  line-height: 1.5;
  color: var(--ink);
  max-width: 42ch;
}
.ps__body strong { color: var(--canopy); font-weight: 700; }
.ps__stat {
  margin-top: 10px;
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.02em;
  color: var(--ink-muted);
}

/* ─────────────────────────────────────────────────────────────────────
   Band 4 — Market / Platform (Canopy band)
   ───────────────────────────────────────────────────────────────────── */
.market {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  column-gap: 28px;
  align-items: center;
}
.market__divider {
  background: rgba(244,246,242,0.22);
  height: 70%;
  align-self: center;
}
.market__col .label-gold { color: var(--gold); }
.market__col h4 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 12.5px;
  margin-top: 4px;
  margin-bottom: 8px;
  color: var(--paper);
  letter-spacing: -0.005em;
}
.market__nums {
  display: flex;
  gap: 18px;
  align-items: baseline;
  margin-bottom: 6px;
}
.market__num {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.market__num .v {
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: 18px;
  color: var(--paper);
  letter-spacing: -0.02em;
  line-height: 1;
}
.market__num .v .accent { color: var(--gold); }
.market__num .k {
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper-dim);
  font-weight: 500;
}
.market__copy {
  font-size: 10px;
  line-height: 1.5;
  color: var(--paper-dim);
  max-width: 38ch;
}

/* Platform diagram on the right */
.platform-diagram {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.platform-row {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--f-mono);
  font-size: 8.5px;
  letter-spacing: 0.05em;
  color: var(--paper);
}
.platform-note {
  margin-top: 6px;
  font-family: var(--f-display);
  font-size: 9.5px;
  line-height: 1.45;
  color: var(--paper-dim);
  letter-spacing: 0.005em;
  max-width: 44ch;
}
.platform-note strong {
  font-family: var(--f-mono);
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.platform-row .pill {
  padding: 3px 7px;
  border: 1px solid rgba(244,246,242,0.4);
  border-radius: 999px;
  background: rgba(244,246,242,0.06);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 8px;
}
.platform-row .pill.solid {
  background: var(--gold);
  color: var(--forest);
  border-color: var(--gold);
  font-weight: 700;
}
.platform-row .arrow {
  flex-shrink: 0;
  width: 14px;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(244,246,242,0.5) 0 3px, transparent 3px 6px);
  margin: 0 3px;
}
.platform-row .arrow.solid {
  background: rgba(244,246,242,0.55);
}

/* ─────────────────────────────────────────────────────────────────────
   Band 5 — Status / Next 90 Days
   ───────────────────────────────────────────────────────────────────── */
.status {
  display: grid;
  grid-template-columns: 1fr 1px 1.05fr;
  column-gap: 28px;
  padding-top: 18px;
  padding-bottom: 18px;
  height: 100%;
}
.status__divider {
  background: var(--hairline);
}
.status__heading {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  margin-top: 6px;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.status-block { margin-bottom: 12px; }
.status-block__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.status-block--live .status-block__title { color: var(--canopy); }
.status-block--honest .status-block__title { color: var(--ink-muted); }

.status-block--live ul,
.status-block--honest ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.status-block--live li,
.status-block--honest li {
  font-size: 10.5px;
  line-height: 1.35;
  display: flex;
  gap: 8px;
  align-items: baseline;
  color: var(--ink);
}
.status-block--live li::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--canopy);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  top: 1px;
}
.status-block--honest {
  border-left: 2px dashed #c8d0c1;
  padding-left: 12px;
  margin-left: 0;
}
.status-block--honest li::before {
  content: "—";
  color: #b8c2b3;
  font-weight: 700;
  flex-shrink: 0;
}
.status-block--honest li { color: var(--ink-muted); }
.status-block--honest li .mono { color: var(--ink); font-weight: 600; }

/* Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.tl-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid var(--hairline);
}
.tl-row:last-child { border-bottom: none; }
.tl-row .wk {
  font-family: var(--f-mono);
  font-size: 9.5px;
  font-weight: 700;
  color: var(--canopy);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.tl-row .what {
  font-size: 11px;
  line-height: 1.3;
  color: var(--ink);
}
.tl-row .what strong { font-weight: 700; }
.tl-row .metric {
  font-family: var(--f-mono);
  font-size: 9.5px;
  color: var(--ink-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.tl-row .metric.accent { color: var(--gold-dim); font-weight: 700; }

/* ─────────────────────────────────────────────────────────────────────
   Band 6 — Ask + Team + CTAs
   ───────────────────────────────────────────────────────────────────── */
.band--ask {
  padding-top: 16px;
  padding-bottom: 12px;
  justify-content: space-between;
}
.ask {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  column-gap: 28px;
  align-items: start;
}
.ask__amount {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--gold);
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 8px;
}
.ask__amount .divider {
  color: var(--forest-line);
  font-weight: 400;
  font-size: 22px;
}
.ask__amount .small {
  color: var(--paper);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.ask__amount .vehicle {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 9px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.18em;
  background: transparent;
  border: 1px solid var(--gold-dim);
  border-radius: 999px;
  padding: 3px 8px;
  position: relative;
  top: -2px;
  margin-left: 4px;
}
.ask__terms {
  margin-top: 8px;
  font-size: 9.5px;
  line-height: 1.4;
  color: var(--paper-dim);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
}
.ask__terms span { display: inline-flex; align-items: baseline; gap: 5px; }
.ask__terms .k { color: var(--paper-muted); font-size: 8.5px; letter-spacing: 0.12em; text-transform: uppercase; }
.ask__terms .v { font-family: var(--f-mono); color: var(--paper); }

.allocation {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 10px;
}
.alloc-row {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  gap: 10px;
  font-size: 9.5px;
}
.alloc-row .pct {
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: 10px;
  color: var(--paper);
  letter-spacing: 0.02em;
}
.alloc-row .bar-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.alloc-row .bar {
  height: 3px;
  flex-shrink: 0;
  background: var(--canopy);
  border-radius: 2px;
}
.alloc-row .lbl {
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-dim);
  font-weight: 500;
}

.team {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 2px;
}
.team .label-gold { margin-bottom: 2px; }
.team-row {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--forest-line);
}
.team-row:last-child { border-bottom: none; padding-bottom: 0; }
.team-row__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}
.team-row .name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 12.5px;
  color: var(--paper);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.team-row .role {
  font-size: 9.5px;
  color: var(--paper-dim);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.team-row .bio {
  font-family: var(--f-mono);
  font-size: 8.5px;
  color: var(--paper-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: right;
  white-space: nowrap;
}

/* Bottom CTA row */
.ctas {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--forest-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.cta .k {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-muted);
  font-weight: 500;
}
.cta .v {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--canopy);
  font-weight: 600;
  letter-spacing: -0.005em;
}
.cta .v:hover { color: var(--gold); }
.cta .arrow {
  color: var(--canopy);
  font-weight: 400;
  font-size: 14px;
}
.ctas__sep {
  flex-shrink: 0;
  width: 1px;
  height: 18px;
  background: var(--forest-line);
}
.ctas__footer-meta {
  font-family: var(--f-mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-muted);
}

/* ── Floating screen-only print button ──────────────────────────────── */
.print-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--canopy);
  color: var(--paper);
  border: none;
  border-radius: 999px;
  padding: 11px 18px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  transition: transform 180ms ease, background 180ms ease;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.print-btn:hover { background: var(--canopy-edge); transform: translateY(-1px); }
.print-btn .ico {
  width: 14px; height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
