/* =====================================================================
   Product Owner Starter Kit — Public Sample
   Print / PDF design system
   Brand: F. Kevin NZUE · Authority Navy + Premium Gold
   ===================================================================== */

:root {
  --navy-950: #0b1220;
  --navy-900: #0f172a;
  --navy-800: #172554;
  --navy-700: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #eef4fa;

  --paper: #ffffff;
  --paper-tint: #f8fafc;
  --white: #ffffff;

  --ink: #0f172a;
  --ink-soft: #334155;
  --ink-muted: #64748b;

  --gold-600: #ca8a04;
  --gold-500: #eab308;
  --gold-400: #facc15;
  --gold-soft: rgba(202, 138, 4, 0.12);

  --border: rgba(15, 23, 42, 0.1);
  --border-strong: rgba(15, 23, 42, 0.16);
  --shadow: 0 28px 70px rgba(15, 23, 42, 0.16);

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: #e7edf5;
  color: var(--ink);
  font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  counter-reset: page;
}

.document {
  padding: 24px 0 56px;
}

/* ---------------------------------------------------------------- Pages */

.page {
  position: relative;
  width: 210mm;
  min-height: 297mm;
  margin: 22px auto;
  padding: 30mm 18mm 22mm;
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
  break-after: page;
  box-shadow: var(--shadow);
}

/* Running brand header on every interior page */
.page:not(.cover)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 18mm;
  background: linear-gradient(90deg, var(--navy-900) 0%, var(--navy-800) 100%);
}

.brand-header {
  position: absolute;
  top: 0;
  left: 18mm;
  right: 18mm;
  height: 18mm;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
}

.brand-id {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--navy-950);
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.brand-name span {
  color: var(--gold-400);
}

.brand-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.page::after {
  counter-increment: page;
  content: "kevin-nzue.fr  ·  Product Owner Starter Kit  ·  " counter(page, decimal-leading-zero);
  position: absolute;
  left: 18mm;
  right: 18mm;
  bottom: 11mm;
  text-align: center;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.4);
}

.page.cover::after {
  content: "";
}

/* ---------------------------------------------------------------- Cover */

.cover {
  padding: 0;
  background: var(--navy-950);
  color: #ffffff;
}

.cover-layout {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 297mm;
  padding: 22mm 18mm 18mm;
  background:
    radial-gradient(circle at 88% 6%, rgba(234, 179, 8, 0.22), transparent 38%),
    radial-gradient(circle at 6% 96%, rgba(30, 58, 95, 0.55), transparent 46%),
    linear-gradient(160deg, #0b1220 0%, #0f172a 55%, #111c33 100%);
}

.cover-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.cover-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cover-brand .brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  font-size: 16px;
}

.cover-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.cover-brand-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
}

.cover-brand-name span {
  color: var(--gold-400);
}

.cover-brand-role {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.cover-flag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-400);
  border: 1px solid rgba(234, 179, 8, 0.4);
  border-radius: 999px;
  padding: 7px 14px;
}

.cover-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18mm 0;
}

.cover-eyebrow {
  margin: 0 0 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.cover-title {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 50px;
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: #ffffff;
}

.cover-rule {
  width: 64px;
  height: 4px;
  margin: 24px 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-600));
}

.cover-subtitle {
  max-width: 130mm;
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(226, 232, 240, 0.9);
}

.cover-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.cover-meta .meta-pill {
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.92);
}

.cover-foot {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.cover-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  padding: 16px 18px;
}

.cover-card .small-label {
  color: var(--gold-400);
}

.cover-card h2 {
  margin: 0 0 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 16px;
  line-height: 1.25;
  color: #ffffff;
}

.cover-card p {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(226, 232, 240, 0.78);
}

.cover-card ul {
  margin: 0;
  padding-left: 16px;
}

.cover-card li {
  font-size: 12px;
  line-height: 1.45;
  color: rgba(226, 232, 240, 0.85);
}

.cover-card li + li {
  margin-top: 6px;
}

.cover-byline {
  margin: 26px 0 0;
  font-size: 13px;
  color: rgba(226, 232, 240, 0.82);
}

.cover-byline strong {
  color: #ffffff;
}

/* --------------------------------------------------------- Page headings */

.page-band {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy-900);
  background: var(--gold-soft);
  border: 1px solid rgba(202, 138, 4, 0.3);
}

.section-head {
  margin: 6px 0 4px;
}

.section-head h2 {
  margin: 12px 0 6px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 24px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}

.section-head p {
  margin: 0;
  max-width: 150mm;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ---------------------------------------------------------------- Cards */

.card,
.exercise-block,
.phase-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  padding: 18px 20px;
}

.card.soft {
  background: var(--paper-tint);
}

.card h2,
.exercise-block h2,
.phase-card h2 {
  margin: 0 0 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--navy-900);
}

.card p,
.exercise-block p,
.phase-card p,
.card li,
.exercise-block li,
.phase-card li {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.small-label {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-600);
}

.grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.grid-two.lean {
  grid-template-columns: 1.15fr 0.85fr;
}

.stack-md > * + * {
  margin-top: 12px;
}

.stack-lg > * + * {
  margin-top: 18px;
}

.list-tight {
  margin: 0;
  padding-left: 18px;
}

.list-tight li + li {
  margin-top: 8px;
}

.list-check {
  margin: 0;
  padding: 0;
  list-style: none;
}

.list-check li {
  position: relative;
  padding-left: 24px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.list-check li + li {
  margin-top: 10px;
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 13px;
  height: 13px;
  border-radius: 4px;
  background: var(--gold-soft);
  border: 1.5px solid var(--gold-600);
}

.divider {
  height: 1px;
  background: rgba(15, 23, 42, 0.1);
}

/* ---------------------------------------------------------- Worked example */

.worked {
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold-600);
  border-radius: var(--radius-md);
  background: var(--paper-tint);
  padding: 16px 18px;
}

.worked .worked-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-600);
}

.worked-row {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.worked-row + .worked-row {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(15, 23, 42, 0.14);
}

.worked-row strong {
  display: block;
  margin-bottom: 3px;
  color: var(--navy-900);
  font-size: 12px;
}

/* ---------------------------------------------------------------- Tables */

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.matrix-table th,
.matrix-table td {
  padding: 11px 12px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  text-align: left;
  vertical-align: top;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.matrix-table th {
  background: var(--navy-900);
  color: #ffffff;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.02em;
}

.matrix-table tbody tr:nth-child(even) td {
  background: var(--paper-tint);
}

.matrix-table td strong {
  color: var(--navy-900);
}

/* ------------------------------------------------------- Boxes / prompts */

.prompt-box {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--paper-tint);
  padding: 14px 16px;
}

.prompt-box strong {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  color: var(--navy-900);
}

.prompt-box p {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.response-box {
  border: 1px dashed rgba(15, 23, 42, 0.22);
  border-radius: var(--radius-sm);
  background: rgba(238, 244, 250, 0.5);
  min-height: 60px;
}

.response-box.compact {
  min-height: 46px;
}

.response-box.tall {
  min-height: 120px;
}

.mini-caption {
  font-size: 11px;
  line-height: 1.55;
  color: var(--ink-muted);
}

/* ----------------------------------------------------- Exercise headings */

.exercise-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.exercise-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--navy-950);
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.exercise-title h2 {
  margin: 0;
}

/* --------------------------------------------------------- Takeaway / CTA */

.takeaway-strip {
  border: 1px solid rgba(202, 138, 4, 0.3);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.14), rgba(15, 23, 42, 0.05));
  padding: 16px 20px;
}

.takeaway-strip strong {
  display: block;
  margin-bottom: 6px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
  color: var(--navy-900);
}

.takeaway-strip p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.cta-panel {
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 90% 10%, rgba(234, 179, 8, 0.18), transparent 42%),
    linear-gradient(135deg, var(--navy-900), var(--navy-800));
  color: #ffffff;
  padding: 22px 24px;
}

.cta-panel .small-label {
  color: var(--gold-400);
}

.cta-panel h2 {
  margin: 0 0 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.cta-panel p {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(226, 232, 240, 0.85);
}

.cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.cta-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.cta-price .amount {
  font-family: "Space Grotesk", sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--gold-400);
}

.cta-price .note {
  font-size: 11px;
  color: rgba(226, 232, 240, 0.7);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--navy-950);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.01em;
}

.cta-url {
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-400);
}

/* ---------------------------------------------------------------- Print */

@media print {
  html,
  body {
    background: var(--white);
  }

  .document {
    padding: 0;
  }

  .page {
    margin: 0;
    box-shadow: none;
    break-after: page;
  }

  .cover {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
