/* ============================================================
   Mugen HRMS — Print Brochure
   A4 (210mm × 297mm) · print-ready · 11 pages
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  --brand-indigo: #696cff;
  --brand-pink: #e975a8;
  --brand-grad: linear-gradient(135deg, #e975a8 0%, #726cf8 100%);
  --ink: #0f0f1a;
  --ink-2: #242435;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #fafafc;
  --bg-dark: #0a0a14;
  --bg-dark-2: #121226;
  --accent-soft: #eef0ff;
  --success: #10b981;
  --amber: #f59e0b;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  /* Force every element to render background colors, gradients, and shadows in print/PDF */
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
  color-adjust: exact;
}

html,
body {
  background: #dadadf;
  font-family:
    'Poppins',
    -apple-system,
    sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---- A4 Page (landscape by default) ---- */
.page {
  width: 297mm;
  height: 210mm;
  margin: 10mm auto;
  background: var(--bg);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  page-break-after: always;
  display: flex;
  flex-direction: column;
}
.page:last-child {
  page-break-after: auto;
}

/* .landscape kept as alias (all pages are landscape now) */
.page.landscape {
  width: 297mm;
  height: 210mm;
}

.page.dark {
  background: var(--bg-dark);
  color: #f5f5fa;
}
.page-pad {
  padding: 14mm 16mm;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ---- Top/Bottom chrome ---- */
.page-chrome-top,
.page-chrome-bottom {
  position: absolute;
  left: 14mm;
  right: 14mm;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.page-chrome-top {
  top: 8mm;
}
.page-chrome-bottom {
  bottom: 8mm;
}
.page.dark .page-chrome-top,
.page.dark .page-chrome-bottom {
  color: #8a8aa0;
}

.chrome-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}
.chrome-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-grad);
}

/* ---- Typography ---- */
.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-indigo);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--brand-indigo);
}

.display {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: 92px;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.display.light {
  color: #f5f5fa;
}
.display em {
  font-style: italic;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h1.headline {
  font-size: 54px;
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 700;
}
h2.title {
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 600;
}
h3.subtitle {
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: 600;
}
p.lead {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  font-weight: 400;
  max-width: 70ch;
}
p.body {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-2);
  font-weight: 400;
}
p.caption {
  font-size: 10px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.page.dark .lead {
  color: #a8a8be;
}
.page.dark .body {
  color: #d4d4e4;
}
.page.dark .title,
.page.dark .subtitle,
.page.dark .headline {
  color: #f5f5fa;
}

/* ---- Buttons & Pills ---- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--accent-soft);
  color: var(--brand-indigo);
}
.pill.dark {
  background: rgba(105, 108, 255, 0.14);
  color: #a3a5ff;
}
.pill-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.005em;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}
.btn.brand {
  background: var(--brand-grad);
}

/* ---- Logo ---- */
.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--brand-grad);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  position: relative;
}
.logo-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
}

/* ============================================================
   PAGE 1 — COVER (minimal, light theme)
   ============================================================ */
.cover {
  background: #f6f6fb;
  color: #0f0f1a;
  position: relative;
  overflow: hidden;
  padding: 14mm 16mm;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 8mm;
}

/* Floating decorative illustrations near the image */
.cover-float {
  position: absolute;
  z-index: 4;
  display: block;
  filter: drop-shadow(0 10px 20px rgba(15, 15, 26, 0.15));
}
.cover-float.one {
  top: 45%;
  left: -40mm;
  height: 18mm;
  transform: translateY(-50%);
}
.cover-float.two {
  top: 2.7mm;
  left: 71mm;
  height: 38mm;
}
.cover-float.three {
  bottom: -14mm;
  left: -35mm;
  height: 52mm;
}

/* Soft decorative dots in the far background */
.cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(15, 15, 26, 0.05) 1px, transparent 0);
  background-size: 20px 20px;
  mask-image: radial-gradient(ellipse at 80% 50%, transparent 20%, #000 75%);
  pointer-events: none;
}

.cover-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}
.cover-top img {
  height: 38px;
}
.cover-top .edition {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6b7280;
  font-weight: 600;
}

.cover-main {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 24mm;
  position: relative;
  z-index: 2;
  min-height: 0;
}

.cover-text {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cover-big {
  font-family: 'Instrument Serif', serif;
  font-size: 108px;
  line-height: 0.9;
  letter-spacing: -0.035em;
  font-weight: 400;
  color: #0f0f1a;
  margin: 0;
  max-width: 15ch;
}
.cover-big em {
  font-style: italic;
  background: linear-gradient(135deg, #e975a8 0%, #726cf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cover-small {
  font-size: 14px;
  line-height: 1.55;
  color: #4b4056;
  font-weight: 500;
  max-width: 42ch;
  margin: 0;
}

.cover-graphic {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  overflow: visible;
}
.cover-glow {
  position: absolute;
  top: -10mm;
  bottom: -10mm;
  left: 0;
  right: -24mm;
  background: radial-gradient(
    ellipse at 40% 50%,
    rgba(233, 117, 168, 0.22),
    rgba(114, 108, 248, 0.15) 45%,
    transparent 70%
  );
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}
.cover-image {
  position: relative;
  z-index: 1;
  width: calc(100% + 72mm);
  margin-right: -60mm;
  height: auto;
  display: block;
  border-radius: 0;
  box-shadow:
    -24px 0 40px -16px rgba(15, 15, 26, 0.18),
    0 30px 60px -20px rgba(15, 15, 26, 0.22);
}

.cover-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid rgba(15, 15, 26, 0.08);
  position: relative;
  z-index: 2;
}
.cover-bottom a {
  color: #0f0f1a;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cover-bottom a::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e975a8 0%, #726cf8 100%);
}
.cover-bottom .divider {
  flex: 1;
  height: 1px;
  background: rgba(15, 15, 26, 0.08);
  margin: 0 20px;
}

/* ============================================================
   PAGE 2 — OVERVIEW GRID (landscape 2-col)
   ============================================================ */
.overview-page .page-pad {
  display: grid;
  grid-template-columns: 0.9fr 1.6fr;
  grid-template-rows: 1fr auto;
  grid-template-areas:
    'hero pillars'
    'stats stats';
  gap: 8mm 10mm;
  padding: 14mm 16mm;
}
.overview-hero {
  grid-area: hero;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.overview-hero .title {
  font-size: 32px;
  max-width: 15ch;
}
.overview-hero .lead {
  font-size: 13px;
}

/* Text-wrap-around-image block */
.overview-wrap {
  margin-top: 6mm;
  display: block;
}
.overview-stop {
  float: right;
  width: 36mm;
  height: auto;
  margin: 0 0 2mm 5mm;
  shape-outside: margin-box;
  shape-margin: 2mm;
}
.overview-wrap-text {
  font-size: 11.5px;
  line-height: 1.6;
  color: #4b4056;
  font-weight: 500;
}
.overview-wrap-text strong {
  color: #0f0f1a;
  font-weight: 700;
}
.overview-wrap::after {
  content: '';
  display: block;
  clear: both;
}

.pillar-grid {
  grid-area: pillars;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4mm;
  align-content: center;
}
.pillar-card {
  aspect-ratio: 1 / 1.18;
  border: 0;
  border-radius: 12px;
  padding: 7mm 6mm;
  background: linear-gradient(135deg, rgba(105, 108, 255, 0.3) 0%, rgba(105, 108, 255, 0.1) 45%, #ffffff 92%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  overflow: hidden;
}
.pillar-card .num {
  position: absolute;
  top: 6mm;
  right: 6mm;
  font-family: 'Instrument Serif', serif;
  font-size: 28px;
  color: #e975a8;
  opacity: 0.5;
  font-weight: 400;
  line-height: 1;
}
.pillar-card .icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4f52e8;
}
.pillar-card h3 {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-top: 2px;
  color: #0f0f1a;
}
.pillar-card p {
  font-size: 10.5px;
  line-height: 1.45;
  color: #4b4056;
}
.pillar-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: auto;
}
.pillar-card .tag {
  font-size: 9.5px;
  padding: 3px 9px;
  border-radius: 100px;
  font-weight: 600;
}
/* Colorful pills — each pill in a card gets a distinct accent */
.pillar-card .tag:nth-child(1) {
  background: rgba(233, 117, 168, 0.2);
  color: #b51d6a;
}
.pillar-card .tag:nth-child(2) {
  background: rgba(251, 191, 36, 0.26);
  color: #a17308;
}
.pillar-card .tag:nth-child(3) {
  background: rgba(139, 92, 246, 0.18);
  color: #5f35c9;
}
.pillar-card .tag:nth-child(4) {
  background: rgba(59, 130, 246, 0.18);
  color: #1a5cc9;
}

.stats-row {
  grid-area: stats;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4mm;
  margin-top: 0;
  padding: 6mm 8mm;
  background: var(--ink);
  border-radius: 12px;
  color: #fff;
}
.stat-item strong {
  font-family: 'Instrument Serif', serif;
  display: block;
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-item strong em {
  font-style: italic;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-item span {
  display: block;
  margin-top: 8px;
  font-size: 10.5px;
  color: #b4b4cc;
  letter-spacing: 0.04em;
}

/* ============================================================
   FEATURE PAGE (landscape 2-col: content left, mockup right)
   ============================================================ */
.feature-page {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  grid-template-rows: auto 1fr;
  grid-template-areas:
    'head mock'
    'grid mock';
  gap: 7mm 10mm;
  padding: 14mm 16mm;
}
.feature-head {
  grid-area: head;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10mm;
}
.feature-head-left {
  flex: 1;
}
.feature-head-right {
  text-align: right;
  min-width: 30mm;
}
.feature-chapter {
  font-family: 'Instrument Serif', serif;
  font-size: 56px;
  line-height: 0.9;
  letter-spacing: -0.03em;
  font-weight: 400;
  color: var(--line);
}
.feature-chapter em {
  font-style: italic;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.feature-title {
  font-size: 32px;
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin-top: 10px;
  margin-bottom: 10px;
  max-width: 20ch;
}
.feature-sub {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 42ch;
}

.screenshot-slot {
  grid-area: mock;
  border-radius: 14px;
  background: var(--bg-dark);
  overflow: hidden;
  position: relative;
  min-height: auto;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.3);
  background-image: linear-gradient(135deg, #171731 0%, #0a0a14 100%);
}
.screenshot-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.screenshot-slot::before {
  content: attr(data-placeholder);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4a4a66;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  pointer-events: none;
}
.screenshot-slot:has(img) {
  background: #fff;
}
.screenshot-slot:has(img)::before {
  display: none;
}

.feature-grid {
  grid-area: grid;
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: 1fr;
  gap: 3.5mm;
  margin-top: 0;
}
.feature-card {
  padding: 5mm 6mm;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feature-card .num {
  font-family: 'Instrument Serif', serif;
  font-size: 20px;
  color: var(--brand-indigo);
  font-style: italic;
  display: block;
  margin-bottom: 6px;
}
.feature-card h4 {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.feature-card p {
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--muted);
}

/* ============================================================
   PAYROLL PAGE — content on top, 4 images stacked below (1×4 row)
   ============================================================ */
.feature-page.payroll-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;
  grid-template-areas:
    'head bullets'
    'mock mock';
  gap: 10mm 14mm;
  padding: 14mm 16mm;
}
.payroll-page .feature-head {
  grid-area: head;
}
.payroll-page .feature-bullets {
  grid-area: bullets;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-self: center;
}
.payroll-page .feature-bullets li {
  font-size: 11.5px;
  line-height: 1.5;
  color: #4b4056;
  padding-left: 16px;
  position: relative;
  font-weight: 500;
}
.payroll-page .feature-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e975a8, #696cff);
}
.payroll-page .feature-bullets strong {
  color: #0f0f1a;
  font-weight: 700;
}

.payroll-grid {
  grid-area: mock;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: 7mm;
  align-items: stretch;
  padding: 4mm;
  background: radial-gradient(
    ellipse 45% 55% at center,
    rgba(105, 108, 255, 0.55) 0%,
    rgba(105, 108, 255, 0.18) 55%,
    transparent 90%
  );
}
.payroll-grid img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #fdfdfe;
  border: 1px solid rgba(15, 15, 26, 0.08);
  box-shadow: 0 12px 24px -10px rgba(15, 15, 26, 0.18);
}

/* ============================================================
   DEVICE MOCKUPS
   ============================================================ */

/* ---- Desktop browser chassis ---- */
.mockup-browser {
  grid-area: mock;
  border-radius: 14px;
  background: #1a1a2e;
  overflow: hidden;
  position: relative;
  min-height: auto;
  box-shadow: 0 24px 50px -20px rgba(10, 10, 20, 0.4);
  display: flex;
  flex-direction: column;
}
.mockup-browser-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #0f0f1a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}
.mockup-browser-dots {
  display: flex;
  gap: 6px;
}
.mockup-browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mockup-browser-dots span:nth-child(1) {
  background: #ff5f56;
}
.mockup-browser-dots span:nth-child(2) {
  background: #ffbd2e;
}
.mockup-browser-dots span:nth-child(3) {
  background: #27c93f;
}
.mockup-browser-url {
  flex: 1;
  background: #1a1a2e;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 10px;
  color: #8a8aa0;
  letter-spacing: -0.005em;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}
.mockup-browser-url::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #27c93f;
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(39, 201, 63, 0.2);
}
.mockup-browser-content {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #171731 0%, #0a0a14 100%);
}
.mockup-browser-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.mockup-browser-content::before {
  content: attr(data-placeholder);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4a4a66;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  pointer-events: none;
  text-align: center;
  padding: 20px;
}
.mockup-browser-content:has(img)::before {
  display: none;
}

/* ---- Phone mockup (iPhone-ish) ---- */
.mockup-phone {
  width: 54mm;
  aspect-ratio: 9 / 19;
  border-radius: 7mm;
  background: #0a0a14;
  padding: 2.4mm;
  position: relative;
  box-shadow:
    0 0 0 1.5px #2a2a40,
    0 24px 40px -14px rgba(10, 10, 20, 0.45);
  flex-shrink: 0;
}
.mockup-phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 5mm;
  background: linear-gradient(135deg, #171731 0%, #0a0a14 100%);
  overflow: hidden;
  position: relative;
}
.mockup-phone-screen::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 18mm;
  height: 4mm;
  background: #0a0a14;
  border-radius: 0 0 3mm 3mm;
  z-index: 2;
}
.mockup-phone-screen::after {
  content: attr(data-placeholder);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4a4a66;
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  pointer-events: none;
  text-align: center;
  padding: 8px;
}
.mockup-phone-screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  z-index: 1;
}
.mockup-phone-screen:has(img)::after {
  display: none;
}

/* ============================================================
   PAGE — REIMAGINE HR (trifold editorial, Mugen theme)
   ============================================================ */
.reimagine {
  background: #f6f6fb;
  color: #1a1428;
  position: relative;
  overflow: hidden;
}
.reimagine-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  flex: 1;
  min-height: 0;
}
.reimagine-col {
  padding: 14mm 9mm;
  display: flex;
  flex-direction: column;
  gap: 5mm;
  position: relative;
}
/* Middle column — Mugen indigo block */
.reimagine-col:nth-child(2) {
  background: #696cff;
  color: #fff;
}
/* No column dividers (middle col uses solid bg) */
.reimagine-col + .reimagine-col::before {
  display: none;
}

.reimagine-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6366f1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.reimagine-eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: #6366f1;
}
.reimagine-eyebrow.yellow {
  color: #e975a8;
}
.reimagine-eyebrow.yellow::before {
  background: #e975a8;
}

.reimagine-head {
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  font-weight: 700;
  color: #1a1428;
  max-width: 20ch;
}
.reimagine-body {
  font-size: 11.5px;
  line-height: 1.6;
  color: #4b4056;
}
.reimagine-body + .reimagine-body {
  margin-top: -2mm;
}

.reimagine-pencil {
  display: block;
  width: 100%;
  max-width: 78mm;
  margin: 2mm auto 0;
  filter: drop-shadow(0 10px 20px rgba(99, 102, 241, 0.18));
}

.reimagine-stat {
  margin-top: auto;
  padding-top: 6mm;
  border-top: 1.5px solid rgba(26, 20, 40, 0.1);
}
.reimagine-stat .num {
  font-family: 'Instrument Serif', serif;
  font-size: 108px;
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-weight: 400;
  color: #6366f1;
  display: block;
}
.reimagine-stat .num.yellow {
  color: #e975a8;
}
.reimagine-stat .label {
  font-size: 10.5px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  font-weight: 600;
  color: #1a1428;
  text-transform: uppercase;
  margin-top: 6px;
  max-width: 24ch;
}

.reimagine-quote-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}
.reimagine-mark {
  font-family: 'Instrument Serif', serif;
  font-size: 80px;
  line-height: 0.4;
  letter-spacing: -0.04em;
  color: #ffc9e4;
  font-weight: 400;
  display: block;
  margin-bottom: 10mm;
}
.reimagine-quote {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 40px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
  font-weight: 400;
}
.reimagine-quote em {
  font-style: italic;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: #ffc9e4;
  -webkit-text-fill-color: #ffc9e4;
}
.reimagine-attrib {
  margin-top: 6mm;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

.reimagine-facts {
  margin-top: auto;
  padding-top: 6mm;
  border-top: 1.5px solid rgba(255, 255, 255, 0.2);
}
.reimagine-facts-head {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 10px;
}
.reimagine-facts ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.reimagine-facts li {
  font-size: 10.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
  padding-left: 14px;
  position: relative;
  font-weight: 500;
}
.reimagine-facts li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 7px;
  height: 7px;
  background: #ffc9e4;
  border-radius: 50%;
}
.reimagine-facts li strong {
  color: #fff;
  font-weight: 700;
}

.reimagine-impact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 2mm;
}
.reimagine-impact-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px dashed rgba(26, 20, 40, 0.15);
}
.reimagine-impact-row:last-child {
  border-bottom: 0;
}
.reimagine-impact-row .k {
  font-size: 11px;
  font-weight: 600;
  color: #1a1428;
  letter-spacing: -0.005em;
  flex: 1;
}
.reimagine-impact-row .v {
  font-family: 'Instrument Serif', serif;
  font-size: 18px;
  letter-spacing: -0.015em;
  font-style: italic;
  color: #6366f1;
  font-weight: 400;
}

/* Pie chart (right column) */
.pie-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5mm;
  padding: 2mm 0;
}
.pie-chart {
  width: 56mm;
  height: 56mm;
  position: relative;
}
.pie-chart svg {
  width: 100%;
  height: 100%;
  display: block;
}
.pie-chart .pie-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.pie-chart .pie-center-num {
  font-family: 'Instrument Serif', serif;
  font-size: 44px;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #1a1428;
  font-weight: 400;
}
.pie-chart .pie-center-label {
  font-size: 8.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6b7280;
  font-weight: 700;
  margin-top: 4px;
}
.pie-legend {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}
.pie-legend-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px dashed rgba(26, 20, 40, 0.15);
}
.pie-legend-row:last-child {
  border-bottom: 0;
}
.pie-legend-row .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.pie-legend-row .dot.indigo {
  background: #696cff;
}
.pie-legend-row .dot.pink {
  background: #e975a8;
}
.pie-legend-row .pct {
  font-family: 'Instrument Serif', serif;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: #1a1428;
  font-weight: 400;
  font-style: italic;
  min-width: 46px;
}
.pie-legend-row .k {
  font-size: 11px;
  color: #4b4056;
  font-weight: 600;
  letter-spacing: -0.005em;
  flex: 1;
}

.reimagine-topbar,
.reimagine-botbar {
  position: absolute;
  left: 9mm;
  right: 9mm;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8a7f94;
  font-weight: 500;
}
.reimagine-topbar {
  top: 7mm;
}
.reimagine-botbar {
  bottom: 7mm;
}

/* ============================================================
   PAGE — MOBILE HR APP
   ============================================================ */
.mobile-page {
  background: #f6f6fb;
  color: #0f0f1a;
  position: relative;
  overflow: hidden;
}
.mobile-orb {
  display: none;
}
.mobile-content {
  position: relative;
  z-index: 2;
  padding: 14mm 16mm;
  display: grid;
  grid-template-columns: 0.65fr 2.1fr;
  grid-template-rows: 1fr auto;
  grid-template-areas:
    'head phones'
    'features features';
  gap: 8mm 8mm;
  height: 100%;
}
.mobile-head {
  grid-area: head;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 0;
}
.mobile-chapter {
  display: none;
}
.mobile-chapter em {
  font-style: italic;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mobile-title {
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: #0f0f1a;
  margin-top: 10px;
  margin-bottom: 10px;
  max-width: 15ch;
}
.mobile-sub {
  font-size: 12.5px;
  line-height: 1.55;
  color: #4b4056;
  max-width: 42ch;
}

/* Vertical divider between head (left) and phones (right) on the top area */
.phones-stage {
  border-left: 1px solid rgba(15, 15, 26, 0.1);
  padding-left: 10mm;
}

/* Mobile page eyebrow: brand indigo (override the cover-eyebrow light purple) */
.mobile-page .cover-eyebrow {
  color: #696cff;
}
.mobile-page .cover-eyebrow::before {
  background: #696cff;
}

.phones-stage {
  grid-area: phones;
  display: flex;
  justify-content: center;
  gap: 5mm;
  align-items: center;
  padding: 0;
}
.phones-stage .mockup-phone:nth-child(1),
.phones-stage .mockup-phone:nth-child(3) {
  transform: translateY(6mm) scale(0.9);
  opacity: 0.92;
}
.mobile-group {
  width: 100%;
  max-width: 220mm;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(15, 15, 26, 0.18));
}

/* Decorative phone peeking from the bottom-left, filling the empty space */
.mobile-bottom-img {
  position: absolute;
  bottom: 42mm;
  left: 8mm;
  width: 100mm;
  max-height: 110mm;
  height: auto;
  object-fit: contain;
  object-position: bottom left;
  display: block;
  z-index: 3;
  pointer-events: none;
}

.mobile-feature-row {
  grid-area: features;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6mm;
  margin: 0 -16mm -14mm;
  padding: 8mm 16mm;
  background: #696cff;
  border-top: 0;
}
.mobile-feature {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mobile-feature .icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
}
.mobile-feature h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff;
}
.mobile-feature p {
  font-size: 10px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.75);
}

/* Mobile page chrome colors for light theme */
.mobile-page .page-chrome-bottom {
  color: #ffffff;
}

/* ============================================================
   PAGE — UTILITIES (bento layout)
   ============================================================ */
.utilities-page {
  background: #f6f6fb;
  display: flex;
  flex-direction: column;
}
.utilities-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 14mm 16mm;
  gap: 8mm;
  min-height: 0;
}
.utilities-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.utilities-title {
  font-size: 36px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: #0f0f1a;
  max-width: 22ch;
}
.utilities-title em {
  font-style: italic;
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: 44px;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.utilities-bento {
  flex: 1;
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  grid-template-rows: 1fr 1fr;
  grid-template-areas:
    'hero side1'
    'hero side2';
  gap: 5mm;
  min-height: 0;
}

.util-card {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 7mm 7mm 7mm;
}
.util-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2mm;
}
.util-num {
  font-family: 'Instrument Serif', serif;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 400;
}
.util-chip {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(105, 108, 255, 0.14);
  color: #4f52e8;
}
.util-chip.pink {
  background: rgba(233, 117, 168, 0.18);
  color: #b51d6a;
}
.util-chip.amber {
  background: rgba(251, 191, 36, 0.26);
  color: #a17308;
}

.util-visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2mm 0 4mm;
  min-height: 0;
}
.util-visual svg {
  width: 100%;
  max-height: 100%;
  display: block;
}
.util-visual.compact {
  flex: 0 0 auto;
  max-height: 36mm;
}
.util-visual-img {
  width: 100%;
  height: 100%;
  max-height: 36mm;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 10px 20px rgba(15, 15, 26, 0.1));
}

.util-body h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #0f0f1a;
  margin-bottom: 4px;
}
.util-body p {
  font-size: 11px;
  line-height: 1.5;
  color: #4b4056;
  margin-bottom: 8px;
}
.util-body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.util-body li {
  font-size: 10.5px;
  line-height: 1.4;
  color: #0f0f1a;
  font-weight: 500;
  padding-left: 14px;
  position: relative;
}
.util-body li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
}

/* ---- Hero card (Print Builder) ---- */
.util-hero {
  grid-area: hero;
  background: linear-gradient(135deg, #8183ff 0%, #a5a7ff 60%, #c5c6ff 100%);
  color: #ffffff;
}
.util-hero .util-num {
  color: rgba(255, 255, 255, 0.55);
}
.util-hero .util-chip {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}
.util-hero .util-body h3 {
  color: #ffffff;
  font-size: 24px;
}
.util-hero .util-body p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 12.5px;
  max-width: 42ch;
}
.util-hero .util-body li {
  color: #ffffff;
}
.util-hero .util-body li::before {
  background: #ffffff;
  opacity: 1;
}
.util-hero::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 117, 168, 0.45), transparent 65%);
  pointer-events: none;
}
.util-hero .util-body {
  max-width: 60%;
  position: relative;
  z-index: 2;
}
.util-screenshot {
  position: absolute;
  bottom: 2mm;
  right: -6mm;
  width: 72%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow:
    0 20px 40px rgba(10, 10, 20, 0.3),
    -8px -8px 24px rgba(233, 117, 168, 0.15);
  pointer-events: none;
  z-index: 1;
}

/* ---- Side card A (Analytics) ---- */
.util-analytics {
  grid-area: side1;
  background: linear-gradient(135deg, rgba(233, 117, 168, 0.22) 0%, rgba(233, 117, 168, 0.08) 45%, #ffffff 95%);
  border: 1px solid rgba(15, 15, 26, 0.06);
}
.util-analytics .util-num {
  color: #b51d6a;
}
.util-analytics .util-visual {
  position: absolute;
  top: 2mm;
  right: -8mm;
  width: 76%;
  max-height: 55mm;
  flex: initial;
  margin: 0;
  z-index: 1;
}
.util-analytics .util-visual-img {
  width: 100%;
  height: auto;
  max-height: 55mm;
  object-fit: contain;
  object-position: top right;
}
.util-analytics .util-body {
  position: relative;
  z-index: 2;
  margin-top: auto;
  max-width: 70%;
}

/* ---- Side card B (HyperThread) ---- */
.util-chat {
  grid-area: side2;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.28) 0%, rgba(251, 191, 36, 0.1) 45%, #ffffff 95%);
  border: 1px solid rgba(15, 15, 26, 0.06);
  padding-bottom: 0;
}
.util-chat .util-num {
  color: #a17308;
}
.util-chat-img {
  width: 100%;
  margin: 4mm 0 0;
  display: block;
  border-radius: 6px 6px 0 0;
  border: 1px solid rgba(15, 15, 26, 0.1);
  border-bottom: 0;
  object-fit: cover;
  object-position: top center;
  max-height: 55mm;
}

/* ============================================================
   PAGE 9 — MULTI (Documents + Analytics + Chat) — legacy
   ============================================================ */
.triptych {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5mm;
  flex: 1;
  margin-top: 6mm;
}
.triptych-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8mm 7mm;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fff;
}
.triptych-card .cover {
  height: 50mm;
  border-radius: 10px;
  background: var(--brand-grad);
  position: relative;
  overflow: hidden;
}
.triptych-card .cover.alt {
  background: linear-gradient(135deg, #0f0f1a, #242435);
}
.triptych-card .cover.alt2 {
  background: linear-gradient(135deg, #fef2f8, #eef0ff);
}
.triptych-card .cover svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.triptych-card h4 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.triptych-card p {
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
}
.triptych-card ul {
  list-style: none;
  margin-top: auto;
}
.triptych-card li {
  font-size: 10.5px;
  line-height: 1.6;
  color: var(--ink-2);
  font-weight: 500;
  padding-left: 14px;
  position: relative;
}
.triptych-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-indigo);
}

/* ============================================================
   PAGE 10 — PRICING
   ============================================================ */
.pricing-head {
  text-align: center;
  margin-bottom: 8mm;
}
.pricing-head .eyebrow {
  justify-content: center;
}
.pricing-head h2 {
  margin-top: 10px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4mm;
  flex: 1;
}
.price-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10mm 7mm;
  background: #fff;
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.featured {
  background: var(--ink);
  color: #fff;
  border: none;
  box-shadow: 0 20px 50px -15px rgba(105, 108, 255, 0.5);
}
.price-card.featured::after {
  content: 'MOST POPULAR';
  position: absolute;
  top: 10mm;
  right: 7mm;
  font-size: 9px;
  letter-spacing: 0.14em;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--brand-grad);
  color: #fff;
}
.price-tier {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-indigo);
  font-weight: 700;
  margin-bottom: 10px;
}
.price-card.featured .price-tier {
  color: #a3a5ff;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: 'Instrument Serif', serif;
}
.price-amount .currency {
  font-size: 15px;
  color: var(--muted);
  font-weight: 500;
}
.price-card.featured .currency {
  color: #8a8aa0;
}
.price-amount .value {
  font-size: 56px;
  letter-spacing: -0.03em;
  line-height: 1;
}
.price-amount .period {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}
.price-card.featured .period {
  color: #8a8aa0;
}

.price-sub {
  font-size: 11.5px;
  color: var(--muted);
  margin: 10px 0 16px;
}
.price-card.featured .price-sub {
  color: #b4b4cc;
}

.price-divider {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: 4px 0 14px;
}
.price-card.featured .price-divider {
  background: rgba(255, 255, 255, 0.1);
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}
.price-features li {
  font-size: 11px;
  line-height: 1.4;
  color: var(--ink-2);
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.price-card.featured .price-features li {
  color: #d4d4e4;
}
.price-features li::before {
  content: '✓';
  color: var(--brand-indigo);
  font-weight: 700;
  flex-shrink: 0;
  width: 14px;
  font-size: 12px;
}
.price-card.featured .price-features li::before {
  color: #a3a5ff;
}

.price-cta {
  margin-top: 14px;
  padding: 11px 16px;
  border-radius: 100px;
  text-align: center;
  text-decoration: none;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
}
.price-card.featured .price-cta {
  background: var(--brand-grad);
  border: none;
  color: #fff;
}

.pricing-foot {
  margin-top: 6mm;
  padding-top: 5mm;
  border-top: 1px dashed var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10.5px;
  color: var(--muted);
}

/* ============================================================
   PAGE 11 — CONTACT / BACK COVER
   ============================================================ */
.contact {
  background: var(--bg-dark);
  color: #f5f5fa;
  position: relative;
  overflow: hidden;
}
.contact-orb {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(233, 117, 168, 0.5),
    rgba(114, 108, 248, 0.3) 50%,
    transparent 70%
  );
  filter: blur(50px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -40%);
  pointer-events: none;
}
.contact-content {
  position: relative;
  z-index: 2;
  padding: 14mm 16mm;
  display: grid;
  grid-template-rows: auto 1fr;
  grid-template-columns: 1.3fr 1fr;
  grid-template-areas:
    'top top'
    'hero grid';
  gap: 10mm 14mm;
  height: 100%;
}
.contact-top {
  grid-area: top;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-hero {
  grid-area: hero;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
}
.contact-eyebrow {
  color: #a3a5ff;
  margin-bottom: 20px;
}
.contact-eyebrow::before {
  background: #a3a5ff;
}
.contact-headline {
  font-family: 'Instrument Serif', serif;
  font-size: 72px;
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-weight: 400;
  color: #f5f5fa;
  margin-bottom: 18px;
  max-width: 15ch;
}
.contact-headline em {
  font-style: italic;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.contact-sub {
  font-size: 13.5px;
  line-height: 1.55;
  color: #b4b4cc;
  max-width: 48ch;
  margin-bottom: 0;
}

.contact-grid {
  grid-area: grid;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8mm 10mm;
  padding: 20px 0 20px 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 0;
  align-content: center;
  margin: auto 0;
}
.contact-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8a8aa0;
  font-weight: 500;
}
.contact-value {
  font-family: 'Instrument Serif', serif;
  font-size: 22px;
  letter-spacing: -0.015em;
  color: #f5f5fa;
  font-weight: 400;
}
.contact-value.small {
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.contact-value a {
  color: inherit;
  text-decoration: none;
}

.contact-foot {
  position: relative;
  z-index: 2;
  padding: 0 16mm 10mm;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a8aa0;
}

/* ============================================================
   PRINT
   ============================================================ */
@page {
  size: A4 landscape;
  margin: 0;
}

@media print {
  html,
  body {
    background: #fff;
  }
  .page {
    margin: 0;
    box-shadow: none;
    width: 297mm;
    height: 210mm;
    page-break-after: always;
  }
  .page:last-child {
    page-break-after: auto;
  }
}

/* ---- Preview helper (web only) ---- */
.preview-note {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  letter-spacing: -0.005em;
}
.preview-note b {
  font-weight: 700;
  color: #a3a5ff;
}
@media print {
  .preview-note {
    display: none;
  }
}

/* ============================================================
   SOLUTIONS NAV — plain back link, top-left (screen only)
   ============================================================ */
.solutions-nav {
  position: fixed;
  top: 18px;
  left: 20px;
  z-index: 1000;
}
.solutions-nav-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #4b4056;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: -0.005em;
  background: none;
  border: none;
  padding: 0;
  transition: color 0.18s ease;
}
.solutions-nav-back:hover {
  color: #0f0f1a;
}
.solutions-nav-back svg {
  display: block;
}

@media print {
  .solutions-nav {
    display: none !important;
  }
}
.solutions-nav-logo,
.solutions-nav-back {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #ffffff;
  border: 1px solid rgba(15, 15, 26, 0.08);
  border-radius: 100px;
  box-shadow: 0 4px 16px rgba(15, 15, 26, 0.08);
  text-decoration: none;
  color: #0f0f1a;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -0.005em;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.solutions-nav-logo:hover,
.solutions-nav-back:hover {
  box-shadow: 0 8px 24px rgba(15, 15, 26, 0.14);
  transform: translateY(-1px);
}
.solutions-nav-logo img {
  height: 22px;
  display: block;
}
.solutions-nav-back svg {
  display: block;
}

@media print {
  .solutions-nav {
    display: none !important;
  }
}
