/* =============================================
   ABYAT Digital Audit Report — Premium Stylesheet
   Aesthetic: Refined editorial / luxury consulting
   Fonts: Playfair Display + DM Sans + DM Mono
   ============================================= */

:root {
  --ink: #0d0d0d;
  --ink-soft: #2a2a2a;
  --ink-muted: #5c5c5c;
  --ink-ghost: #9a9a9a;
  --paper: #f7f4ef;
  --paper-warm: #efe9e0;
  --paper-cool: #f0f2f5;
  --dark-bg: #111210;
  --dark-surface: #1a1c19;
  --dark-border: #2a2d28;
  --gold: #b8933e;
  --gold-light: #d4b068;
  --gold-dim: rgba(184, 147, 62, 0.15);
  --green: #1e6b45;
  --green-light: #e8f5ee;
  --red: #8b1a1a;
  --red-light: #fdf0f0;
  --amber: #7a4f0d;
  --amber-light: #fdf6e8;
  --blue-dim: #f0f4fa;
  --border: #e2ddd4;
  --border-dark: #d0c9be;
  --radius: 2px;
  --radius-md: 6px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'DM Mono', 'Courier New', monospace;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ========================
   TYPOGRAPHY
======================== */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; }
h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
h5 { font-size: 0.95rem; font-weight: 600; font-family: var(--font-body); }
p { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 0.75rem; }
p:last-child { margin-bottom: 0; }
ul { list-style: none; }
a { color: var(--gold); text-decoration: none; }

/* ========================
   LAYOUT
======================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}

.section--dark {
  background: var(--dark-bg);
  color: var(--paper);
  border-color: var(--dark-border);
}

.section--alt {
  background: var(--paper-cool);
}

.section--disclaimer {
  padding: 2.5rem 0;
  background: var(--amber-light);
  border-bottom: 1px solid #e8c98a;
}

.section--final {
  background: var(--paper-warm);
  padding: 5rem 0;
}

.section-header {
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1.5rem;
}

.section-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--gold);
}

.section-header--light::after { background: var(--gold-light); }

.section-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-header--light .section-num { color: var(--gold-light); }

.section-header h2 { margin-bottom: 0.5rem; }
.section-header--light h2 { color: var(--paper); }

.section-desc {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin: 0;
}
.section-header--light .section-desc { color: var(--ink-ghost); }

/* ========================
   BADGES
======================== */
.badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 0.2em 0.6em;
  border-radius: 2px;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge.confirmed {
  background: #e0f0e8;
  color: #1e5e35;
  border: 1px solid #b4d9c3;
}
.badge.inferred {
  background: #e8f0fb;
  color: #1a4080;
  border: 1px solid #b0caee;
}
.badge.needs-val {
  background: #fdf3e0;
  color: #7a4c0a;
  border: 1px solid #e8c98a;
}

/* ========================
   COVER PAGE
======================== */
.cover {
  min-height: 100vh;
  background: var(--dark-bg);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.cover-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

.cover-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(184,147,62,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,147,62,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.cover-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.cover-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 4rem;
}

.cover-meta .tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  padding: 0.3em 0.8em;
  text-transform: uppercase;
}

.cover-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-ghost);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.cover-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 900;
  color: var(--paper);
  line-height: 1.0;
  margin-bottom: 1.5rem;
}

.cover-title em {
  color: var(--gold);
  font-style: italic;
  font-size: 0.6em;
  display: block;
  font-weight: 400;
}

.cover-sub {
  font-size: 1rem;
  color: var(--ink-ghost);
  margin-bottom: 4rem;
  max-width: 500px;
  line-height: 1.6;
}

.cover-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  border-top: 1px solid var(--dark-border);
  padding-top: 2rem;
}

.cover-footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-val {
  font-size: 0.78rem;
  color: var(--ink-ghost);
  line-height: 1.5;
}

/* ========================
   DISCLAIMER
======================== */
.disclaimer-box {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.disclaimer-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.disclaimer-text h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.disclaimer-text p {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-bottom: 0.4rem;
}

/* ========================
   NAV
======================== */
.report-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,13,13,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--dark-border);
  padding: 0.8rem 0;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-brand {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 0.2em;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.nav-links::-webkit-scrollbar { display: none; }

.nav-links li a {
  font-size: 0.7rem;
  color: var(--ink-ghost);
  padding: 0.3rem 0.8rem;
  white-space: nowrap;
  transition: color 0.2s;
  border-right: 1px solid var(--dark-border);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

.nav-links li:last-child a { border-right: none; }
.nav-links li a:hover { color: var(--gold); }
.nav-links li a.active { color: var(--gold); }

/* ========================
   EXEC SUMMARY
======================== */
.exec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.exec-card {
  background: white;
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: var(--radius);
  position: relative;
}

.exec-card--primary {
  border-left: 3px solid var(--gold);
}

.exec-card--green {
  border-left: 3px solid var(--green);
  background: var(--green-light);
}

.exec-card--red {
  border-left: 3px solid var(--red);
  background: var(--red-light);
}

.exec-card--amber {
  border-left: 3px solid var(--amber);
  background: var(--amber-light);
}

.exec-card h3 {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: var(--ink);
}

.exec-card p {
  font-size: 0.84rem;
  margin-bottom: 0.75rem;
}

.exec-card .badge {
  display: inline-block;
  margin-top: 0.5rem;
}

.exec-list { list-style: none; }
.exec-list li {
  font-size: 0.82rem;
  color: var(--ink-soft);
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  line-height: 1.5;
}
.exec-list li:last-child { border-bottom: none; }

.maturity-bar {
  background: var(--border);
  height: 6px;
  border-radius: 3px;
  margin: 0.75rem 0 1rem;
  position: relative;
}

.maturity-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 3px;
  transition: width 1s ease;
}

.maturity-bar span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--ink-muted);
  display: block;
  margin-top: 0.4rem;
}

/* ========================
   EVIDENCE TABLE
======================== */
.table-wrapper { overflow-x: auto; }

.evidence-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.evidence-table thead tr {
  background: var(--dark-surface);
}

.evidence-table th {
  padding: 0.9rem 1rem;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 500;
  white-space: nowrap;
}

.evidence-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--dark-border);
  color: var(--paper);
  vertical-align: top;
}

.evidence-table tbody tr:hover { background: var(--dark-surface); }

.conf-high { color: #6fcf97; font-family: var(--font-mono); font-size: 0.75rem; }
.conf-med  { color: #f2c94c; font-family: var(--font-mono); font-size: 0.75rem; }
.conf-low  { color: #eb5757; font-family: var(--font-mono); font-size: 0.75rem; }

/* ========================
   SCORECARDS
======================== */
.scorecards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.scorecard {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.sc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: var(--paper-warm);
  border-bottom: 1px solid var(--border);
}

.sc-header h3 {
  font-size: 1rem;
  color: var(--ink);
}

.sc-score-wrap {
  position: relative;
  width: 60px;
  height: 60px;
}

.sc-ring {
  width: 60px;
  height: 60px;
  transform: rotate(-90deg);
}

.ring-bg {
  fill: none;
  stroke: var(--border);
  stroke-width: 6;
}

.ring-fill {
  fill: none;
  stroke: var(--gold);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: calc(2 * 3.14159 * 34);
  stroke-dashoffset: calc(2 * 3.14159 * 34 * (1 - var(--pct) / 100));
  transition: stroke-dashoffset 1.5s ease;
}

.sc-score {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
}

.sc-body {
  padding: 1.25rem 1.5rem;
}

.sc-confidence { margin-bottom: 0.75rem; }

.sc-body p {
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

/* ========================
   HOMEPAGE AUDIT
======================== */
.audit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.5rem;
}

.audit-item {
  background: white;
  border: 1px solid var(--border);
  padding: 1.75rem;
  border-radius: var(--radius);
}

.audit-item-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.audit-icon { font-size: 1.1rem; }

.audit-item-header h4 {
  font-size: 0.95rem;
  flex: 1;
}

.audit-verdict {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.25em 0.75em;
  border-radius: 2px;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.verdict-positive { background: #e0f0e8; color: #1e5e35; }
.verdict-mixed { background: #fdf3e0; color: #7a4c0a; }
.verdict-weak { background: #fdf0f0; color: #8b1a1a; }

.audit-item p { font-size: 0.82rem; }

.audit-rec {
  font-style: italic;
  color: var(--gold);
  border-left: 2px solid var(--gold-dim);
  padding-left: 0.75rem;
  margin-top: 0.75rem;
  font-size: 0.8rem !important;
}

/* ========================
   NAVIGATION & IA
======================== */
.ia-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.ia-tree h4, .ia-analysis h4 {
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.tree {
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.tree-root {
  color: var(--gold);
  font-weight: 500;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.5rem;
}

.tree-branch {
  padding: 0.5rem 0 0.5rem 1rem;
  border-left: 1px solid var(--border);
  margin: 0.25rem 0;
}

.tree-node {
  color: var(--ink);
  font-weight: 500;
  padding: 0.25rem 0;
}

.tree-node--special { color: var(--gold); }

.tree-sub {
  color: var(--ink-muted);
  padding: 0.15rem 0 0.15rem 1rem;
  font-size: 0.72rem;
}

.ia-point {
  padding: 1rem 1.25rem;
  border-left: 3px solid;
  margin-bottom: 1rem;
  font-size: 0.82rem;
  line-height: 1.6;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.ia-positive { border-color: var(--green); background: var(--green-light); }
.ia-warning { border-color: var(--amber); background: var(--amber-light); }
.ia-needs-val { border-color: #aaa; background: var(--paper-cool); }

/* ========================
   MERCHANDISING
======================== */
.merch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.merch-dimension {
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  padding: 2rem;
  border-radius: var(--radius);
}

.merch-d-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--dark-border);
}

.merch-d-header h4 {
  color: var(--paper);
  font-size: 0.95rem;
}

.merch-dimension p {
  color: #b0b0a8;
  font-size: 0.82rem;
}

.merch-dimension .audit-rec {
  color: var(--gold-light);
  border-left-color: rgba(212,176,104,0.3);
}

/* ========================
   PDP
======================== */
.pdp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
}

.pdp-part {
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.pdp-part--a { background: var(--blue-dim); border-color: #c5d5ea; }
.pdp-part--b { background: var(--amber-light); border-color: #e8c98a; }
.pdp-part--c { background: var(--green-light); border-color: #b4d9c3; }

.pdp-part-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.75rem;
}

.pdp-part h4 {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.pdp-part ul li {
  font-size: 0.8rem;
  color: var(--ink-soft);
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  line-height: 1.5;
}

.pdp-part ul li:last-child { border-bottom: none; }

/* ========================
   CRO
======================== */
.cro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.cro-issue {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  position: relative;
}

.cro-issue--critical { border-top: 3px solid #c0392b; }
.cro-issue--high { border-top: 3px solid #e67e22; }
.cro-issue--medium { border-top: 3px solid var(--gold); }

.cro-severity {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.cro-issue--critical .cro-severity { color: #c0392b; }
.cro-issue--high .cro-severity { color: #e67e22; }
.cro-issue--medium .cro-severity { color: var(--gold); }

.cro-issue h4 { font-size: 0.95rem; margin-bottom: 0.75rem; }
.cro-issue p { font-size: 0.82rem; }
.cro-issue .audit-rec { margin-top: 0.75rem; }

/* ========================
   SEO
======================== */
.seo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.seo-grid h4 {
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.seo-item {
  padding: 0.9rem 1rem;
  border-left: 3px solid;
  margin-bottom: 0.75rem;
  font-size: 0.82rem;
  line-height: 1.6;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.seo-positive { border-color: var(--green); background: var(--green-light); }
.seo-warning { border-color: var(--amber); background: var(--amber-light); }

.seo-opportunity {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background: var(--blue-dim);
  border-radius: var(--radius);
}

.opp-num {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--gold);
  flex-shrink: 0;
  width: 2rem;
  line-height: 1;
}

.opp-text { font-size: 0.82rem; color: var(--ink-soft); line-height: 1.6; }

/* ========================
   PERFORMANCE
======================== */
.perf-disclaimer {
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-left: 3px solid var(--gold);
  padding: 1rem 1.25rem;
  font-size: 0.82rem;
  color: var(--gold-light);
  margin-bottom: 2rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.perf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.perf-concern {
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  padding: 1.75rem;
  border-radius: var(--radius);
}

.perf-c-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.perf-icon { font-size: 1.1rem; }
.perf-c-header h4 { font-size: 0.95rem; color: var(--paper); flex: 1; }

.perf-status {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2em 0.6em;
  border-radius: 2px;
}

.perf-status.likely { background: rgba(235,87,87,0.2); color: #eb8787; }
.perf-status.positive { background: rgba(111,207,151,0.2); color: #6fcf97; }
.perf-status.needs-val { background: rgba(242,201,76,0.2); color: #f2c94c; }

.perf-concern p { font-size: 0.82rem; color: #b0b0a8; margin-bottom: 0.5rem; }

/* ========================
   TRUST
======================== */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.trust-grid h4 {
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.trust-item {
  padding: 1rem 1.25rem;
  border-left: 3px solid;
  margin-bottom: 0.75rem;
  font-size: 0.82rem;
  line-height: 1.6;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.trust-green { border-color: var(--green); background: var(--green-light); }
.trust-amber { border-color: var(--amber); background: var(--amber-light); }
.trust-red   { border-color: var(--red); background: var(--red-light); }

/* ========================
   COMPETITOR
======================== */
.comp-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.comp-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.comp-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
  background: var(--paper-warm);
  border-bottom: 1px solid var(--border);
}

.comp-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius);
}

.comp-brand--abyat { background: var(--gold); color: white; }
.comp-brand--ikea { background: #003399; color: #FFCC02; }
.comp-brand--hc { background: #c0392b; color: white; }
.comp-vs-text { font-family: var(--font-mono); font-size: 0.7rem; color: var(--ink-muted); letter-spacing: 0.2em; }

.comp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.comp-table th {
  padding: 0.75rem 1rem;
  text-align: left;
  background: var(--paper-cool);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--border);
}

.comp-table td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  color: var(--ink-soft);
}

.winner-abyat {
  font-weight: 600;
  color: #b8933e;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.winner-ikea {
  font-weight: 600;
  color: #003399;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.winner-mixed {
  font-weight: 600;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.comp-summary {
  padding: 1.25rem 1.5rem;
  background: var(--amber-light);
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ========================
   ROADMAP
======================== */
.roadmap-phases {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.phase-header {
  margin-bottom: 1.5rem;
}

.phase-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}

.phase--1 .phase-label { color: #eb5757; }
.phase--2 .phase-label { color: #f2c94c; }
.phase--3 .phase-label { color: #6fcf97; }

.phase-header h3 { color: var(--paper); font-size: 1.2rem; margin-bottom: 0.25rem; }
.phase-header p { color: var(--ink-ghost); font-size: 0.82rem; }

.roadmap-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.roadmap-item {
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: grid;
  grid-template-columns: 50px 1fr auto;
  gap: 1.25rem;
  align-items: start;
  transition: border-color 0.2s;
}

.roadmap-item:hover { border-color: var(--gold); }

.ri-id {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gold);
  font-weight: 600;
  padding-top: 0.1rem;
}

.ri-body h5 { color: var(--paper); margin-bottom: 0.35rem; font-size: 0.88rem; }
.ri-body p { color: #9a9a92; font-size: 0.78rem; }

.ri-meta {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: flex-end;
  min-width: 160px;
}

.ri-impact, .ri-effort {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  padding: 0.2em 0.6em;
  border-radius: 2px;
  text-transform: uppercase;
  white-space: nowrap;
}

.impact-critical { background: rgba(192,57,43,0.3); color: #e07070; }
.impact-high { background: rgba(230,126,34,0.3); color: #f0a060; }
.impact-med { background: rgba(242,201,76,0.3); color: #f2c94c; }

.effort-low { background: rgba(111,207,151,0.2); color: #6fcf97; }
.effort-med { background: rgba(242,201,76,0.2); color: #f2c94c; }
.effort-high { background: rgba(235,87,87,0.2); color: #eb8787; }

.ri-bv {
  font-size: 0.68rem;
  color: var(--ink-ghost);
  text-align: right;
  line-height: 1.4;
}

/* ========================
   FINAL SUMMARY
======================== */
.final-box {
  background: white;
  border: 1px solid var(--border-dark);
  border-top: 3px solid var(--gold);
  padding: 3rem;
  border-radius: var(--radius);
  max-width: 900px;
  margin: 0 auto;
}

.final-box h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.final-box p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.final-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.fkpi {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.fkpi-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

.fkpi-val {
  font-size: 0.82rem;
  color: var(--ink-soft);
  font-weight: 500;
}

/* ========================
   FOOTER
======================== */
.report-footer {
  background: var(--dark-bg);
  border-top: 1px solid var(--dark-border);
  padding: 2rem 0;
  text-align: center;
}

.report-footer p {
  font-size: 0.72rem;
  color: var(--ink-ghost);
  font-family: var(--font-mono);
  margin-bottom: 0.3rem;
}

/* ========================
   RESPONSIVE
======================== */
@media (max-width: 900px) {
  .exec-grid { grid-template-columns: 1fr; }
  .ia-wrapper { grid-template-columns: 1fr; }
  .merch-grid { grid-template-columns: 1fr; }
  .pdp-grid { grid-template-columns: 1fr; }
  .cro-grid { grid-template-columns: 1fr; }
  .seo-grid { grid-template-columns: 1fr; }
  .perf-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .final-kpis { grid-template-columns: 1fr; }
  .cover-footer { grid-template-columns: 1fr; }
  .roadmap-item { grid-template-columns: 40px 1fr; }
  .ri-meta { flex-direction: row; flex-wrap: wrap; align-items: flex-start; }
}

@media (max-width: 640px) {
  .scorecards-grid { grid-template-columns: 1fr; }
  .audit-grid { grid-template-columns: 1fr; }
  .comp-vs { flex-direction: column; gap: 0.75rem; }
  .cover-title { font-size: 2.8rem; }
  .section { padding: 3rem 0; }
  .nav-links { display: none; }
}

/* ========================
   PRINT
======================== */
@media print {
  .report-nav { display: none; }
  .cover { min-height: auto; page-break-after: always; }
  .section { break-inside: avoid; }
}

/* ========================
   ANIMATIONS
======================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in {
  animation: fadeInUp 0.5s ease forwards;
}

.fade-hidden {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-visible {
  opacity: 1;
  transform: translateY(0);
}
