/* Relay KC — shared print styles for free lead magnets */
@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap");

:root {
  --bg: #ffffff;
  --surface: #f7f7f8;
  --surface-2: #f0f0f2;
  --border: #e4e4e7;
  --border-strong: #d0d0d4;
  --ink: #17171a;
  --ink-2: #4a4a52;
  --muted: #7a7a84;
  --iris: #6d5ef6;
  --iris-2: #4f8aee;
  --iris-soft: rgba(109, 94, 246, 0.1);
  --grad: linear-gradient(120deg, #6d5ef6, #4f8aee);
  --qw: #eef9f1;
  --qw-border: #8fd4a4;
  --bp: #eef2ff;
  --bp-border: #a5b4fc;
  --fi: #fff8eb;
  --fi-border: #f0c96a;
  --ts: #fef2f2;
  --ts-border: #f0a0a0;
  --font-d: "Space Grotesk", system-ui, sans-serif;
  --font-b: "Inter", system-ui, sans-serif;
  --font-m: "JetBrains Mono", ui-monospace, monospace;
  --radius: 12px;
  --page-w: 8.5in;
  --page-h: 11in;
}

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

html {
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

body {
  font-family: var(--font-b);
  font-size: 11pt;
  line-height: 1.45;
  color: var(--ink);
  background: #e8e8ec;
}

/* Screen preview chrome */
.screen-hint {
  max-width: 8.5in;
  margin: 16px auto 8px;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--ink-2);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-b);
}
.screen-hint strong {
  color: var(--iris);
}
.screen-hint kbd {
  font-family: var(--font-m);
  font-size: 11px;
  background: var(--surface-2);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.page {
  width: var(--page-w);
  min-height: var(--page-h);
  margin: 12px auto;
  padding: 0.55in 0.6in 0.55in;
  background: var(--bg);
  box-shadow: 0 8px 40px rgba(20, 20, 30, 0.12);
  position: relative;
  display: flex;
  flex-direction: column;
  page-break-after: always;
  break-after: page;
}

.page:last-of-type {
  page-break-after: auto;
}

/* Header */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.logo .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 0 3px var(--iris-soft);
}

.logo-meta {
  font-family: var(--font-m);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-m);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--iris);
  margin-bottom: 8px;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grad);
}

h1 {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 8px;
}

h2 {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.02em;
  margin: 16px 0 8px;
  color: var(--ink);
}

h3 {
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 12px;
  margin: 0 0 4px;
  color: var(--ink);
}

.lead {
  font-size: 11pt;
  color: var(--ink-2);
  max-width: 6.6in;
  margin-bottom: 14px;
}

.lead strong {
  color: var(--ink);
  font-weight: 600;
}

/* Footer */
.footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-m);
  font-size: 8.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: uppercase;
}

.footer a {
  color: var(--iris);
  text-decoration: none;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font-b);
  font-size: 10px;
}

/* Forms / lines */
.fill-line {
  border-bottom: 1px solid var(--border-strong);
  min-height: 22px;
  margin: 2px 0 8px;
}

.fill-box {
  border: 1px dashed var(--border-strong);
  border-radius: 8px;
  min-height: 48px;
  background: var(--surface);
  padding: 8px 10px;
  margin-bottom: 8px;
}

.label {
  font-family: var(--font-m);
  font-size: 8.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}

.meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin: 12px 0 16px;
}

.meta-field .fill-line {
  margin-bottom: 0;
  min-height: 26px;
}

/* Cards / callouts */
.callout {
  background: var(--iris-soft);
  border: 1px solid rgba(109, 94, 246, 0.22);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin: 12px 0 16px;
  font-size: 10pt;
  color: var(--ink-2);
}

.callout strong {
  color: var(--ink);
}

.steps {
  display: grid;
  gap: 8px;
  margin: 10px 0 14px;
}

.step {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
}

.step .n {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--grad);
  color: #fff;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step p {
  font-size: 10pt;
  color: var(--ink-2);
  padding-top: 3px;
}

.step p strong {
  color: var(--ink);
}

/* Tables */
table.sheet {
  width: 100%;
  border-collapse: collapse;
  font-size: 9.5pt;
  margin: 8px 0 12px;
}

table.sheet th {
  font-family: var(--font-m);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
  padding: 6px 6px;
  border-bottom: 2px solid var(--border-strong);
  background: var(--surface);
}

table.sheet td {
  border-bottom: 1px solid var(--border);
  padding: 0;
  height: 28px;
  vertical-align: bottom;
}

table.sheet td .cell {
  min-height: 28px;
  padding: 4px 6px;
}

table.sheet tr:last-child td {
  border-bottom: 1px solid var(--border-strong);
}

.checkbox {
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--border-strong);
  border-radius: 3px;
  vertical-align: middle;
  margin-right: 6px;
  background: #fff;
}

.checklist {
  list-style: none;
  display: grid;
  gap: 7px;
}

.checklist li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 8px;
  align-items: start;
  font-size: 10pt;
  color: var(--ink-2);
}

.checklist li .box {
  width: 13px;
  height: 13px;
  border: 1.5px solid var(--border-strong);
  border-radius: 3px;
  margin-top: 2px;
  background: #fff;
}

/* CTA band */
.cta-band {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: #0a0a0b;
  color: #ededef;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.cta-band h3 {
  color: #ededef;
  font-size: 13px;
  margin-bottom: 3px;
}

.cta-band p {
  font-size: 9.5pt;
  color: #9a9aa2;
  max-width: 4.8in;
}

.cta-band .btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--grad);
  color: #fff;
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 11px;
  padding: 10px 14px;
  border-radius: 9px;
  text-decoration: none;
  white-space: nowrap;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.tag {
  display: inline-block;
  font-family: var(--font-m);
  font-size: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink-2);
  border: 1px solid var(--border);
}

@media print {
  body {
    background: #fff;
  }
  .screen-hint {
    display: none !important;
  }
  .page {
    margin: 0;
    box-shadow: none;
    width: 100%;
    min-height: 100vh;
    padding: 0.5in 0.55in;
  }
}
