/* ============================================
   intuitiv.space — Marketing document (print-ready)
   Built on the same tokens as the website.
   Letter-size, 0.75" margins, 11pt body — composed
   for screen-share AND for printing as PDF.
   ============================================ */
@import url('tokens.css');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=Jost:wght@300;400;500;600;700&display=swap');

@page {
  size: letter;
  margin: 0;
}

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

html, body {
  background: var(--stone-100);
  color: var(--ink);
  font-family: var(--sans-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }

/* ---------- Page sheet ----------
   8.5 × 11 inch, internal padding (0.75") composes the gutters.
   We size in CSS pixels at 96dpi: 8.5"=816px, 11"=1056px.
   On screen, sheets sit on a stone backdrop with a hairline shadow.
   Printed, the @page above takes over with no shadow.
*/
.sheet {
  width: 816px;
  min-height: 1056px;
  margin: 32px auto;
  padding: 72px 72px 88px;
  background: var(--paper);
  position: relative;
  box-shadow: 0 12px 40px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.06);
  page-break-after: always;
  break-after: page;
  overflow: hidden;
}
.sheet:last-child { page-break-after: auto; break-after: auto; }
.sheet--cover {
  padding: 0;
  background: var(--ink);
  color: rgba(255,255,255,0.96);
}
.sheet--ink {
  background: var(--ink);
  color: rgba(255,255,255,0.96);
  padding: 64px 72px 80px;
}
.sheet--warm {
  background: var(--stone-50);
}

/* ---------- Sheet chrome ---------- */
.sheet__hdr {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 9px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--faint);
  padding-bottom: 18px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--stone-200);
}
.sheet--ink .sheet__hdr {
  color: rgba(255,255,255,0.5);
  border-bottom-color: rgba(255,255,255,0.1);
}
.sheet__hdr-mark {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.22em;
}
.sheet--ink .sheet__hdr-mark { color: rgba(255,255,255,0.92); }
.sheet__hdr-mark::before {
  content: "";
  width: 16px; height: 16px;
  background: url('/assets/icon-32.png') center/contain no-repeat;
  border-radius: 0;
}
.sheet--ink .sheet__hdr-mark::before {
  background: url('/assets/icon-mark-gold-32.png') center/contain no-repeat;
}

.sheet__ftr {
  position: absolute;
  bottom: 36px; left: 72px; right: 72px;
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--faint);
  padding-top: 16px;
  border-top: 1px solid var(--stone-200);
}
.sheet--ink .sheet__ftr {
  color: rgba(255,255,255,0.5);
  border-top-color: rgba(255,255,255,0.1);
}

/* ---------- Cover ---------- */
.cover {
  width: 100%;
  height: 1056px;
  position: relative;
  display: flex; flex-direction: column;
  padding: 64px 72px 80px;
}
.cover__top {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.cover__mark {
  display: flex;
  align-items: center;
  /* The proper Intuitiv brand logo (two overlapping circles + wordmark)
     on dark covers — cream-tinted variant for readability. */
}
.cover__mark img {
  height: 32px;
  width: auto;
  display: block;
}
/* Hide any inline text inside .cover__mark (we keep it in HTML for
   accessibility / copy-paste, but the image carries the visual). */
.cover__mark { font-size: 0; }
.cover__mark img { font-size: 0; }
.cover__mark::before { content: none; }
.cover__body {
  flex: 1;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: 36px;
}
.cover__eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--intuitiv-gold);
  font-weight: 600;
  margin-bottom: 36px;
}
.cover__title {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: 64px;
  line-height: 1.04;
  letter-spacing: -0.012em;
  color: rgba(255,255,255,0.98);
  max-width: 12ch;
  margin-bottom: 32px;
  text-wrap: pretty;
}
.cover__title em {
  font-style: italic;
  color: var(--intuitiv-gold);
  font-weight: 400;
}
.cover__lede {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 21px;
  line-height: 1.42;
  color: rgba(255,255,255,0.76);
  max-width: 36ch;
}
.cover__bottom {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.cover__bottom strong {
  display: block;
  color: rgba(255,255,255,0.95);
  font-weight: 600;
  letter-spacing: 0.22em;
  margin-bottom: 6px;
}
.cover__bottom em {
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(255,255,255,0.55);
  font-family: var(--serif-display);
  font-size: 12px;
}

/* ---------- Section labels ---------- */
.doc-label {
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--intuitiv-gold-deep);
  font-weight: 600;
  margin-bottom: 18px;
}
.sheet--ink .doc-label { color: var(--intuitiv-gold); }

.doc-h1 {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: -0.008em;
  color: var(--ink);
  margin-bottom: 22px;
  text-wrap: balance;
  max-width: 22ch;
}
.doc-h1 em { font-style: italic; color: var(--intuitiv-gold-deep); font-weight: 400; }
.sheet--ink .doc-h1 { color: rgba(255,255,255,0.96); }
.sheet--ink .doc-h1 em { color: var(--intuitiv-gold); }

.doc-h2 {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.18;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin-bottom: 14px;
}
.doc-h2 em { font-style: italic; color: var(--intuitiv-gold-deep); font-weight: 400; }

.doc-h3 {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 8px;
}
.doc-h3 em { font-style: italic; color: var(--intuitiv-gold-deep); font-weight: 400; }
.sheet--ink .doc-h3 { color: rgba(255,255,255,0.96); }

.doc-lede {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 19px;
  line-height: 1.5;
  color: var(--fg-3);
  max-width: 56ch;
  margin-bottom: 36px;
}
.sheet--ink .doc-lede { color: rgba(255,255,255,0.76); }

.doc-p {
  font-size: 11pt;
  line-height: 1.65;
  color: var(--fg-3);
  margin-bottom: 14px;
  max-width: 68ch;
}
.sheet--ink .doc-p { color: rgba(255,255,255,0.78); }

.doc-rule {
  height: 1px; background: var(--stone-200);
  margin: 36px 0;
  border: 0;
}
.sheet--ink .doc-rule { background: rgba(255,255,255,0.12); }

/* ---------- Pillar / numbered grid ---------- */
.doc-grid {
  display: grid;
  gap: 30px 40px;
}
.doc-grid--2 { grid-template-columns: 1fr 1fr; }
.doc-grid--3 { grid-template-columns: 1fr 1fr 1fr; }

.doc-item {
  border-top: 1px solid var(--stone-200);
  padding-top: 14px;
}
.sheet--ink .doc-item { border-top-color: rgba(255,255,255,0.12); }
.doc-item__no {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 13px;
  color: var(--intuitiv-gold-deep);
  margin-bottom: 8px;
}
.sheet--ink .doc-item__no { color: var(--intuitiv-gold); }
.doc-item__copy {
  font-size: 10pt;
  line-height: 1.6;
  color: var(--fg-3);
}
.sheet--ink .doc-item__copy { color: rgba(255,255,255,0.78); }

/* ---------- Sidebar split ---------- */
.doc-split {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
.doc-split__label {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 14px;
  color: var(--intuitiv-gold-deep);
  padding-top: 4px;
}
.doc-split__body {
  font-size: 11pt;
  line-height: 1.65;
  color: var(--fg-3);
}
.doc-split__body strong { color: var(--ink); font-weight: 600; }
.sheet--ink .doc-split__body { color: rgba(255,255,255,0.78); }
.sheet--ink .doc-split__body strong { color: rgba(255,255,255,0.96); }

/* ---------- Pull quote ---------- */
.doc-pull {
  background: var(--intuitiv-gold-mist);
  padding: 36px 44px;
  border-left: 4px solid var(--intuitiv-gold-deep);
  margin: 40px 0;
}
.doc-pull__q {
  font-family: var(--serif-display);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 16px;
  text-wrap: balance;
}
.doc-pull__q em { font-style: italic; color: var(--intuitiv-gold-deep); }
.doc-pull__attr {
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--stone-500);
}
.doc-pull__attr strong { color: var(--ink); font-weight: 600; }

/* ---------- Stat row ---------- */
.doc-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 28px 0;
  border-top: 1px solid var(--stone-200);
  border-bottom: 1px solid var(--stone-200);
}
.doc-stat {
  padding: 22px 18px;
  border-left: 1px solid var(--stone-200);
}
.doc-stat:first-child { border-left: 0; }
.doc-stat__n {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: 38px;
  line-height: 1;
  color: var(--intuitiv-gold-deep);
  margin-bottom: 8px;
}
.doc-stat__l {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone-500);
  line-height: 1.4;
}
.sheet--ink .doc-stats {
  border-top-color: rgba(255,255,255,0.12);
  border-bottom-color: rgba(255,255,255,0.12);
}
.sheet--ink .doc-stat { border-left-color: rgba(255,255,255,0.12); }
.sheet--ink .doc-stat__n { color: var(--intuitiv-gold); }
.sheet--ink .doc-stat__l { color: rgba(255,255,255,0.55); }

/* ---------- CTA card on last page ---------- */
.doc-cta {
  background: var(--ink);
  color: rgba(255,255,255,0.92);
  padding: 56px 56px 64px;
  margin: 36px 0 0;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
.doc-cta__title {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: 30px;
  line-height: 1.18;
  color: rgba(255,255,255,0.98);
  letter-spacing: -0.005em;
  margin-bottom: 14px;
  text-wrap: balance;
}
.doc-cta__title em { font-style: italic; color: var(--intuitiv-gold); font-weight: 400; }
.doc-cta__copy {
  font-size: 11pt;
  line-height: 1.65;
  color: rgba(255,255,255,0.76);
}
.doc-cta__action {
  border-left: 1px solid rgba(255,255,255,0.18);
  padding-left: 36px;
}
.doc-cta__line {
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
  margin-bottom: 10px;
}
.doc-cta__val {
  font-family: var(--serif-display);
  font-size: 17px;
  color: rgba(255,255,255,0.95);
  margin-bottom: 18px;
}

/* ---------- Image band on cover ---------- */
.cover-art {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.32;
  filter: grayscale(20%) contrast(1.05);
}
.cover-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.85) 70%, var(--ink) 100%);
}

/* ---------- Bullet lists ---------- */
.doc-bullets {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
}
.doc-bullets li {
  font-size: 11pt;
  line-height: 1.5;
  color: var(--fg-3);
  padding: 10px 0 10px 28px;
  position: relative;
  border-top: 1px solid var(--stone-200);
}
.doc-bullets li:last-child { border-bottom: 1px solid var(--stone-200); }
.doc-bullets li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--intuitiv-gold-deep);
  font-weight: 600;
}
.sheet--ink .doc-bullets li {
  color: rgba(255,255,255,0.78);
  border-top-color: rgba(255,255,255,0.12);
}
.sheet--ink .doc-bullets li:last-child { border-bottom-color: rgba(255,255,255,0.12); }

/* ---------- TOC ---------- */
.doc-toc {
  list-style: none;
  padding: 0;
  margin: 0;
}
.doc-toc li {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 24px;
  padding: 18px 0;
  border-top: 1px solid var(--stone-200);
  align-items: baseline;
}
.doc-toc li:last-child { border-bottom: 1px solid var(--stone-200); }
.doc-toc__no {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 14px;
  color: var(--intuitiv-gold-deep);
}
.doc-toc__t {
  font-family: var(--serif-display);
  font-size: 18px;
  color: var(--ink);
}
.doc-toc__t em { font-style: italic; color: var(--intuitiv-gold-deep); font-weight: 400; }
.doc-toc__t span {
  display: block;
  font-family: var(--sans-body);
  font-size: 10pt;
  color: var(--fg-3);
  font-style: normal;
  margin-top: 4px;
  line-height: 1.5;
}
.doc-toc__pg {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 600;
}

/* ---------- Print toolbar (hidden when printing) ---------- */
.print-bar {
  position: fixed;
  top: 24px; right: 24px;
  z-index: 100;
  display: flex; gap: 8px;
  background: var(--ink);
  color: rgba(255,255,255,0.92);
  padding: 10px 14px;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 600;
}
.print-bar button {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: inherit;
  padding: 8px 14px;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
  border-radius: 2px;
}
.print-bar button:hover { background: rgba(255,255,255,0.06); }
.print-bar button.primary {
  background: var(--intuitiv-gold);
  border-color: var(--intuitiv-gold);
  color: var(--ink);
}
.print-bar button.primary:hover { background: var(--intuitiv-gold-soft); }

@media (max-width: 720px) {
  .print-bar {
    top: 12px; right: 12px;
    padding: 6px 8px;
    gap: 6px;
    font-size: 9px; letter-spacing: 0.14em;
  }
  .print-bar button { padding: 6px 10px; }
}

@media print {
  html, body { background: #fff; }
  .print-bar { display: none !important; }
  .sheet { box-shadow: none; margin: 0; }
}
