:root {
  --brand: #0e7665;
  --brand-dark: #0a5348;
  --brand-deep: #082e28;
  --brand-tint: #e6f3f0;
  --brand-tint-2: #f2f8f7;
  --accent: #bd7f3f;
  --danger: #a8462f;
  --ink: #122622;
  --muted: #5b6e6a;
  --line: #dbe6e2;
  --bg: #f6f9f8;
  --surface: #ffffff;
  --bmi-primary: #0e7665;
  --bmi-primary-dark: #0a5b4d;
  --bmi-primary-light: #e6f3f0;
  --shadow: 0 20px 48px rgba(8, 46, 40, 0.1);
  --radius: 16px;
  --font-display: "Instrument Serif", Georgia, serif;
  --font-heading: "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
  /* --font-mono: "IBM Plex Mono", monospace; */
}

html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-width: 320px;
  font-size: 0.95rem;
}

a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}

/* Buttons — layered on top of Bootstrap's .btn base */
.btn {
  border: 0;
  border-radius: 999px;
  /* padding: 12px 20px; */
  font-weight: 700;
  font-size: 0.92rem;
  /* min-height: 44px; */
}
.btn-primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  padding: 11px 16px;
  box-shadow: 0 10px 22px rgba(14, 118, 101, 0.28);
}
.btn-primary:hover,
.btn-primary:focus {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
}
.btn-secondary {
  background: #fff;
  padding: 10px 15px;
  border: 1.5px solid var(--brand);
  color: var(--brand);
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--brand-tint);
  border-color: var(--brand);
  color: var(--brand);
}
.btn-soft {
  background: var(--brand-tint);
  color: var(--brand-dark);
  border: 0;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
  padding: 18px 0 8px;
  font-family: var(--font-mono);
}

.sticky_header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;

  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);

  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.sticky_header.show {
  transform: translateY(0);
}
.sticky_row {
  height: 70px;
}
.actions {
  gap: 10px;
}
/* Hero */
.hero-grid {
  --bs-gutter-x: 30px;
  --bs-gutter-y: 30px;
  row-gap: 30px;
}
.hero {
  padding: 30px 0 20px;
  position: relative;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--brand-tint);
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-mono);
  margin-bottom: 8px;
}
.eyebrow .num {
  display: none;
  background: var(--brand);
  color: #fff;
  border-radius: 5px;
  padding: 1px 6px;
  font-size: 0.7rem;
}
h1 {
  /* font-family: var(--font-display); */
  font-size: var(--font-body);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-top: 0;
  color: var(--brand-dark);
}
h2,
h3 {
  font-family: var(--font-heading);
}
h1 {
  font-size: clamp(1.8rem, 2.2vw, 2.8rem);
  font-weight: 600;
  margin: 0px 0 10px;
  max-width: 900px;
}

h2 {
  font-size: clamp(1.4rem, 1.8vw, 2rem);
  font-weight: 600;
  margin-bottom: 14px;
}

h3 {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  font-weight: 600;
  margin-bottom: 12px;
}

.banner_subtext {
  color: #3d4f4a;
}
.banner_subtext strong {
  color: var(--brand-dark);
}
.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.metric {
  background: #fff;
  padding: 10px;
  border: 1px solid #eef2f7;
  border-radius: 12px;
  text-align: center;
  transition: all 0.25s ease;
}

.metric:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.metric strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand); /* or #0d5c4d */
  letter-spacing: -0.02em;
}

.metric span {
  display: block;
  color: #6b7280;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.purchase-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: sticky;
  top: 100px;
}
.purchase-card-head {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  padding: 22px 24px;
}
.purchase-card-head .card-kicker {
  color: #bfe4dc;
}
.purchase-card-head h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 6px;
}
.purchase-card-body {
  padding: 10px 20px;
}
.card-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 600;
}
.report-meta {
  display: grid;
  gap: 9px;
  margin: 4px 0 10px;
}
.report-meta div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 0px;
  border-bottom: 1px dashed var(--line);
  font-size: 0.8rem;
}
.report-meta span:first-child {
  color: var(--muted);
}
.button-stack {
  gap: 10px;
}

section {
  padding: 20px 0;
}
.section-white {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head {
  gap: 28px;
}
.section-head p {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
}

/* AI overview */
.ai-summary-card h3 {
  color: var(--brand-dark);
  margin: 0 0 12px;
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ai-summary-card ul {
  margin: 0;
  padding-left: 20px;
}
.ai-summary-card li {
  margin-bottom: 2px;
  color: #3d4f4a;
  line-height: 1.7;
}
.ai-summary-card hr {
  border: 0;
  border-top: 1px solid #bac5c1;
  margin: 14px 0;
}
.ai-summary-card strong {
  color: var(--ink);
}

/* Stakeholder / content boxes */
/* Main Card */
.stakeholder-box {
  background: #fff;
  border: 1px solid #e8ecef;
  border-radius: 15px;
  padding: 20px 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding-bottom: 0px !important;
}

/* Drivers / Opportunities / Challenges */
.section-title {
  display: inline-block;
  margin: 8px 0 24px;
  padding: 8px 18px;
  background: #eef8f5;
  color: var(--brand);
  border: 1px solid #cde8df;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Sub Headings */
.stakeholder-box h3 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 600;
}

/* List */
.stakeholder-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 3px;
}

.stakeholder-list li {
  position: relative;
  padding-left: 30px;
  color: #374151;
  line-height: 1.75;
}

.stakeholder-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e8f4f6;
  color: var(--brand);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.stakeholder-list strong {
  color: var(--ink);
}
/* Content layout / TOC */
.content-layout {
  --bs-gutter-x: 36px;
}

html {
  scroll-behavior: smooth;
}
.toc a.active {
  background: #0e7665;
  color: #fff;
}

.toc a.active i {
  color: #fff !important;
}
.toc a.active,
.toc a.active .n {
  background: #0e7665;
  color: #fff;
  padding: 4px 6px;
}
.toc a.active:hover,
.toc a.active .n:hover {
  background: #0e7665;
  color: #fff;
  padding: 4px 6px;
}
.toc {
  position: sticky;
  top: 5rem;
  align-self: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 20px;
}
.toc strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 1rem;
  text-transform: capitalize;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.toc a {
  display: flex;
  gap: 6px;
  align-items: baseline;
  color: #3d4f4a;
  padding: 5px 0;
  border-bottom: 1px solid #eef2f0;
  font-size: 0.9rem;
  font-weight: 600;
}
.toc a .n {
  display: none;
  font-family: var(--font-mono);
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 600;
}
.toc a:hover {
  color: var(--brand);
}
.content-block {
  margin-bottom: 30px;
}

#market-summary,
#strategic-insights,
#key-takeaways,
#regional-analysis,
#segmentation,
#drivers,
#competition,
#developments,
#report-scope,
#methodology,
#faq {
  scroll-margin-top: 90px;
}

/* Table Container */
.table-wrap {
  width: 100%;
  overflow-x: auto;
}

/* Table */
.company-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

/* Recent developments timeline */
.premium-timeline {
  position: relative;
  margin-top: 28px;
  padding-left: 150px;
}
.premium-timeline::before {
  content: "";
  position: absolute;
  left: 116px;
  top: 5px;
  bottom: 5px;
  width: 2px;
  background: linear-gradient(var(--brand), #cbdde2);
}
.premium-timeline-item {
  position: relative;
  margin-bottom: 16px;
}
.premium-timeline-item:last-child {
  margin-bottom: 0;
}
.premium-timeline-item::before {
  content: "";
  position: absolute;
  left: -41px;
  top: 24px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 4px solid #fff;
  box-shadow: 0 0 0 2px var(--brand);
  z-index: 2;
}
.timeline-date {
  position: absolute;
  left: -150px;
  top: 17px;
  width: 100px;
  text-align: right;
  color: var(--brand);
  font-weight: 800;
  font-size: 0.85rem;
}
.timeline-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 16px;
}
.timeline-card p {
  margin: 0;
  color: #475569;
}

.company-table thead th {
  background: #0e7665;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.company-table tbody td {
  padding: 18px;
  font-size: 0.95rem;
  color: #55636b;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  line-height: 1.65;
}

/* Company Name */

.company-table tbody td:first-child {
  width: 24%;
  font-weight: 700;
  color: var(--ink);
}

/* Alternate Row */

.company-table tbody tr:nth-child(even) {
  background: #fafcfc;
}

/* Hover */

.company-table tbody tr:hover {
  background: #f4faf8;
  transition: 0.25s ease;
}

/* Last Row */

.company-table tbody tr:last-child td {
  border-bottom: none;
}


.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 4px 12px 4px 24px;
  background: #fff;
  border: 1px solid #d9ebe7;
  border-radius: 20px;
  /* color: #334155; */
  font-size: 14px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.2px;
  box-shadow: 0 2px 6px rgba(14, 118, 101, 0.08);
  transition: all 0.25s ease;
  cursor: pointer;
  line-height: 160% !important;
}

.tag::before {
  content: "✦";
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #0e7665;
  color: #fff;
  font-size: 6px;
}

.tag:hover {
  background: #0e7665;
  color: #fff;
  border-color: #0e7665;
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(14, 118, 101, 0.22);
}

.tag:hover::before {
  background: #fff;
  color: #0e7665;
}

/* FAQ */
.faq {
  gap: 12px;
}
summary {
  cursor: pointer;
  font-weight: 700;
  font-family: var(--font-body);
}
details p {
  margin: 12px 0 0;
  color: #3d4f4a;
}

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--brand-deep), var(--brand));
  color: white;
  border-radius: 10px;
  padding: 24px;
  box-shadow: var(--shadow);
  gap: 5px;
  margin-bottom: 30px;
}
.cta p {
  color: #cdeae3;
  max-width: 800px;
}
.cta h2 {
  color: #fff;
}

/* Hero report details */
.hero-report-details {
  display: block;
  margin-bottom: 10px;
}
.hero-report-column {
  margin-bottom: 18px;
}
.hero-report-column:last-child {
  margin-bottom: 0;
}
.hero-report-column h3 {
  margin: 0 0 8px;
  color: var(--brand-dark);
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.hero-report-column p {
  margin: 0 0 10px;
  color: #3d4f4a;
}
.hero-report-column ul {
  margin: 0;
  padding-left: 18px;
}
.hero-report-column li {
  margin-bottom: 6px;
  color: #3d4f4a;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.btn,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 640px) {
  .actions .btn-secondary {
    display: none;
  }
  h1 {
    font-size: clamp(2rem, 9vw, 2.5rem);
  }
  section {
    padding: 44px 0;
  }
  .metric-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta {
    padding: 28px 22px;
    flex-direction: column;
    align-items: stretch;
  }
  .cta .actions {
    margin-top: 20px;
    display: grid;
  }
  th,
  td {
    padding: 12px;
    font-size: 0.86rem;
  }
  .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .premium-timeline {
    padding-left: 34px;
  }
  .premium-timeline::before {
    left: 7px;
  }
  .premium-timeline-item::before {
    left: -34px;
  }
  .timeline-date {
    position: static;
    width: auto;
    text-align: left;
    margin-bottom: 8px;
  }
}

@media (max-width: 768px) {
  .tr-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .bmi-avatar-ring {
    width: 110px;
    height: 110px;
  }
  .premium-timeline {
    padding-left: 34px;
  }
  .premium-timeline::before {
    left: 7px;
  }
  .premium-timeline-item::before {
    left: -34px;
  }
  .timeline-date {
    position: static;
    width: auto;
    text-align: left;
    margin-bottom: 8px;
  }
}

@media (max-width: 991px) {
  .purchase-card {
    position: static;
  }
  .metric-strip {
    grid-template-columns: repeat(3, 1fr);
  }
  .toc {
    position: static;
  }
  .ticket {
    grid-template-columns: 1fr;
  }

  .ticket-mid {
    display: none;
  }
}
