@import 'tokens.css';
@import 'base.css';

/* ─── Layout ──────────────────────────────────────────────── */

.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

/* ─── Buttons ─────────────────────────────────────────────── */

.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-button);
  font-weight: var(--font-weight-bold);
  font-size: 1rem;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
}

.btn:hover { opacity: 0.88; }
.btn:active { transform: translateY(1px); }

.btn--yellow {
  background-color: var(--colour-brand-secondary);
  color: var(--colour-brand-primary);
}

.btn--outline {
  background-color: transparent;
  color: var(--colour-text-white);
  border: 2px solid var(--colour-brand-secondary);
}

/* ─── Nav ─────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--colour-bg-white);
  box-shadow: var(--shadow-nav);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.nav__logo img {
  height: 48px;
  width: auto;
}

.nav__cta {
  font-family: var(--font-button);
  font-weight: var(--font-weight-bold);
  font-size: 0.9375rem;
  color: var(--colour-brand-primary);
  background-color: var(--colour-brand-secondary);
  padding: 0.6rem 1.5rem;
  border: 2px solid var(--colour-brand-secondary);
  border-radius: var(--radius-sm);
  transition: background-color 0.15s, color 0.15s;
}

.nav__cta:hover {
  background-color: #f5c460;
  border-color: #f5c460;
}

/* ─── Hero ─────────────────────────────────────────────────── */

.hero {
  position: relative;
  background-image: url('../assets/images/hero-bg.png');
  background-size: cover;
  background-position: center top;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--colour-bg-overlay);
}

.hero__body {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  padding: var(--space-24) 0 var(--space-16);
}

.hero__content {
  max-width: 700px;
}

.hero__badge {
  margin-bottom: var(--space-6);
}

.hero__badge img {
  height: 60px;
  width: auto;
}

.hero__title {
  font-size: var(--font-size-h1);
  line-height: var(--line-height-h1);
  color: var(--colour-text-white);
  font-weight: var(--font-weight-bold);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-6);
}

.hero__sub {
  font-size: 1.1875rem;
  line-height: 1.65;
  color: var(--colour-text-light);
  margin-bottom: var(--space-8);
  max-width: 580px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  margin-bottom: var(--space-8);
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-size: 22px;
  font-weight: 500;
  color: #E8A020;
}

.stat-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  max-width: 160px;
  line-height: 1.4;
}

.hero__clients {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: var(--space-8) 0;
  background: rgba(4, 3, 54, 0.4);
}

.hero__clients-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-12);
  flex-wrap: wrap;
}

.hero__clients img {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.75;
  transition: opacity 0.15s;
}

.hero__clients img:hover { opacity: 1; }

/* ─── About / Features ───────────────────────────────────── */

.about {
  background-color: var(--colour-bg-white);
  padding: var(--space-20) 0;
}

.about__intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
  margin-bottom: var(--space-8);
}

.about__intro-left h2 {
  margin-bottom: var(--space-4);
}

.about__intro-left p {
  color: var(--colour-text-body);
  font-size: 1.0625rem;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.feature-card {
  background-color: var(--colour-bg-white);
  border: 1px solid var(--colour-gray-200);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  box-shadow: var(--shadow-card-sm);
  transition: box-shadow 0.2s;
}

.feature-card:hover { box-shadow: var(--shadow-card); }

.feature-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-4);
}

.feature-card__title {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-semibold);
  font-size: 1.125rem;
  color: var(--colour-text-default);
  margin-bottom: var(--space-2);
}

.feature-card__desc {
  font-size: 0.9375rem;
  color: var(--colour-text-muted);
  line-height: 1.6;
}

/* ─── Challenges / Solutions ─────────────────────────────── */

.challenges-section { padding: 48px 0; }

.how-evidex-helps { padding: 48px 0; }

.solution-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.solution-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-left: 3px solid #1D6E44;
  border-radius: 0 12px 12px 0;
  padding: 18px 20px;
}

.solution-card .ti {
  font-size: 24px;
  color: #1D6E44;
  flex-shrink: 0;
}

.solution-card__title {
  font-size: 15px;
  font-weight: 500;
  color: #0D1B2A;
  margin-bottom: 5px;
}

.solution-card__body {
  font-size: 13px;
  color: #666666;
  line-height: 1.65;
}

.who-benefits { padding: 48px 0; }

.role-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-top: 24px;
}

.role-card {
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  transition: border 0.15s;
}

.role-card.selected {
  border: 2px solid #0D1B2A;
}

.role-card .ti {
  font-size: 24px;
  color: #aaaaaa;
  display: block;
  margin-bottom: 8px;
  transition: color 0.15s;
}

.role-card.selected .ti {
  color: #0D1B2A;
}

.role-card__title {
  font-size: 13px;
  font-weight: 500;
  color: #0D1B2A;
  margin-bottom: 3px;
}

.role-card__sub {
  font-size: 11px;
  color: #aaaaaa;
}

.role-detail-panel {
  background: #f5f5f3;
  border-radius: 12px;
  padding: 22px 24px;
  margin-top: 16px;
}

.rd-title {
  font-size: 15px;
  font-weight: 500;
  color: #0D1B2A;
  margin-bottom: 16px;
}

.rd-benefits {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rd-benefit {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: #444444;
  line-height: 1.6;
}

.rd-benefit .ti {
  font-size: 16px;
  color: #1D6E44;
  flex-shrink: 0;
  margin-top: 2px;
}

.section-eyebrow {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 8px;
}

.audience-tabs {
  display: flex;
  gap: 8px;
  margin: 24px 0 20px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: 20px;
  border: 1px solid #ddd;
  background: #fff;
  color: #666;
  cursor: pointer;
  transition: all 0.15s;
}

.tab-btn.active {
  background: #0D1B2A;
  color: #fff;
  border-color: #0D1B2A;
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pain-card {
  background: #fff;
  border: 1px solid #eee;
  border-left: 3px solid #C23B2A;
  border-radius: 10px;
  padding: 18px;
}

.pain-card h3 {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
}

.pain-card p {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

.challenges {
  background-color: var(--colour-bg-light);
  padding: var(--space-20) 0;
}

.challenges__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}

.challenges__col {
  background-color: var(--colour-bg-white);
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  box-shadow: var(--shadow-card);
}

.challenges__col-heading {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-semibold);
  font-size: 1.5rem;
  color: var(--colour-text-default);
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-4);
  border-bottom: 2px solid var(--colour-brand-secondary);
}

.item-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.item-list__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--colour-text-body);
}

.item-list__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ─── Feature app section ────────────────────────────────── */

.feature-app {
  background-color: var(--colour-bg-white);
  padding: var(--space-20) 0;
}

.feature-app__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.feature-app__image {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.feature-app__image img {
  width: 100%;
  display: block;
}

.feature-app__content h2 {
  margin-bottom: var(--space-4);
}

.feature-app__content p {
  color: var(--colour-text-body);
  margin-bottom: var(--space-8);
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.checklist__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-heading);
  font-weight: var(--font-weight-semibold);
  font-size: 1.0625rem;
  color: var(--colour-text-default);
}

.checklist__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* ─── Reporting section ──────────────────────────────────── */

.reporting {
  background-color: var(--colour-bg-dark);
  padding: var(--space-20) 0;
}

.reporting__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-16);
  align-items: center;
}

.reporting__content h2 {
  color: var(--colour-text-white);
  margin-bottom: var(--space-6);
}

.reporting__content p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.reporting__image {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.reporting__image img {
  width: 100%;
  display: block;
}

/* ─── How it works ───────────────────────────────────────── */

.steps {
  position: relative;
  background-image: url('../assets/images/section-bg.jpg');
  background-size: cover;
  background-position: center;
  padding: var(--space-20) 0;
}

.steps::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(4, 3, 54, 0.88);
}

.steps .container { position: relative; z-index: 1; }

.steps__heading {
  color: var(--colour-text-white);
  text-align: center;
  margin-bottom: var(--space-16);
}

.steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  position: relative;
}

.steps__grid::before {
  content: '';
  position: absolute;
  top: 1.5rem;
  left: calc(16.67% + 1rem);
  right: calc(16.67% + 1rem);
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(253, 199, 59, 0.5), transparent);
}

.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background-color: var(--colour-brand-secondary);
  color: var(--colour-brand-primary);
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  font-size: 1.125rem;
  border-radius: 50%;
  margin-bottom: var(--space-4);
}

.step__category {
  font-family: var(--font-button);
  font-weight: var(--font-weight-bold);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--colour-brand-secondary);
  margin-bottom: var(--space-2);
}

.step__title {
  font-size: 1.125rem;
  color: var(--colour-text-white);
  margin-bottom: var(--space-3);
}

.step__desc {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* ─── Testimonial ────────────────────────────────────────── */

.testimonial {
  background-color: var(--colour-bg-white);
  padding: var(--space-20) 0;
}

.testimonial__inner {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.testimonial__quote {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: var(--font-weight-regular);
  line-height: 1.6;
  color: var(--colour-text-default);
  margin-bottom: var(--space-8);
  position: relative;
}

.testimonial__quote::before {
  content: '\201C';
  font-size: 5rem;
  line-height: 0;
  vertical-align: -2rem;
  color: var(--colour-brand-secondary);
  font-family: Georgia, serif;
  margin-right: var(--space-2);
}

.testimonial__name {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-semibold);
  font-size: 1.0625rem;
  color: var(--colour-text-default);
  display: block;
}

.testimonial__role {
  font-size: 0.9375rem;
  color: var(--colour-text-muted);
  display: block;
  margin-top: var(--space-1);
}

/* ─── Customers ──────────────────────────────────────────── */

.customers {
  background-color: var(--colour-bg-light);
  padding: var(--space-16) 0;
}

.customers__heading {
  text-align: center;
  margin-bottom: var(--space-3);
}

.customers__sub {
  text-align: center;
  color: var(--colour-text-muted);
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--space-12);
}

.customers__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-12);
  flex-wrap: wrap;
}

.customers__logos img {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.6;
  transition: filter 0.2s, opacity 0.2s;
}

.customers__logos img:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* ─── CTA section ────────────────────────────────────────── */

.cta-section {
  position: relative;
  background-image: url('../assets/images/cta-bg.png');
  background-size: cover;
  background-position: center;
  padding: var(--space-24) 0;
  text-align: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(4, 3, 54, 0.85);
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section__heading {
  color: var(--colour-text-white);
  margin-bottom: var(--space-4);
  max-width: 680px;
  margin-inline: auto;
}

.cta-section__sub {
  color: rgba(255, 255, 255, 0.8);
  max-width: 540px;
  margin-inline: auto;
  margin-bottom: var(--space-8);
}

/* ─── Footer ─────────────────────────────────────────────── */

.site-footer {
  background-color: var(--colour-bg-dark);
  padding: var(--space-12) 0;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--space-8);
  align-items: start;
}

.site-footer__logo img {
  height: 40px;
  width: auto;
}

.site-footer__address {
  display: none;
}

.site-footer__nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding-top: var(--space-1);
}

.site-footer__nav a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.15s;
}

.site-footer__nav a:hover { color: var(--colour-brand-secondary); }

.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.site-footer__contact-label {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-semibold);
  font-size: 0.875rem;
  color: var(--colour-brand-secondary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.site-footer__contact a {
  display: inline-block;
  margin-top: var(--space-1);
  font-family: var(--font-button);
  font-weight: var(--font-weight-bold);
  font-size: 0.9375rem;
  color: var(--colour-text-white);
  padding: 0.5rem 1.25rem;
  border: 2px solid var(--colour-brand-secondary);
  border-radius: var(--radius-sm);
  transition: background-color 0.15s;
}

.site-footer__contact a:hover {
  background-color: var(--colour-brand-secondary);
  color: var(--colour-brand-primary);
}

.site-footer__copy {
  grid-column: 1 / -1;
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

/* ─── Page hero (inner pages) ────────────────────────────── */

.page-hero {
  background-color: var(--colour-bg-dark);
  padding: var(--space-20) 0 var(--space-16);
}

.page-hero__title {
  color: var(--colour-text-white);
  margin-bottom: var(--space-4);
}

.page-hero__sub {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.125rem;
  max-width: 560px;
  line-height: 1.65;
}

/* ─── Contact section ────────────────────────────────────── */

.contact-section {
  background-color: var(--colour-bg-light);
  padding: var(--space-20) 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--space-16);
  align-items: start;
}

/* ─── Contact form ───────────────────────────────────────── */

.contact-form-wrap {
  background-color: var(--colour-bg-white);
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  box-shadow: var(--shadow-card);
}

.contact-form-wrap__heading {
  font-size: 1.5rem;
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-4);
  border-bottom: 2px solid var(--colour-brand-secondary);
}

.form-row { display: flex; flex-direction: column; gap: var(--space-6); }

.form-row--2col { flex-direction: row; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
}

.form-label {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-semibold);
  font-size: 0.9375rem;
  color: var(--colour-text-default);
}

.form-required { color: var(--colour-brand-tertiary); }

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--colour-gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  color: var(--colour-text-body);
  background-color: var(--colour-bg-white);
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
}

.form-input::placeholder { color: var(--colour-gray-500); }

.form-input:focus {
  outline: none;
  border-color: var(--colour-brand-tertiary);
  box-shadow: 0 0 0 3px rgba(68, 107, 192, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-top: var(--space-2);
}

.form-required-note {
  font-size: 0.875rem;
  color: var(--colour-text-muted);
}

/* ─── Contact info aside ─────────────────────────────────── */

.contact-info {
  background-color: var(--colour-bg-dark);
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  color: var(--colour-text-white);
}

.contact-info__heading {
  color: var(--colour-text-white);
  font-size: 1.5rem;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 2px solid var(--colour-brand-secondary);
}

.contact-info__intro {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9375rem;
  line-height: 1.65;
  margin-bottom: var(--space-8);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.contact-detail__label {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-semibold);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--colour-brand-secondary);
  margin-bottom: var(--space-2);
}

.contact-detail__value {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.55;
}

.contact-detail__value a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s;
}

.contact-detail__value a:hover { color: var(--colour-brand-secondary); }

/* ─── Responsive ─────────────────────────────────────────── */

@media (max-width: 1024px) {
  :root {
    --font-size-h1: 3rem;
    --container-padding: 1.5rem;
  }

  .feature-cards { grid-template-columns: repeat(2, 1fr); }

  .about__intro,
  .feature-app__inner,
  .reporting__inner {
    grid-template-columns: 1fr;
  }

  .reporting__inner { gap: var(--space-10); }

  .contact-layout { grid-template-columns: 1fr; }

  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__logo-col { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root {
    --font-size-h1: 2.5rem;
    --font-size-h2: 1.75rem;
  }

  .challenges__grid,
  .steps__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .steps__grid::before { display: none; }

  .form-row--2col { flex-direction: column; }

  .hero__clients-inner { gap: var(--space-6); }

  .customers__logos { gap: var(--space-8); }

  .site-footer__inner { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  :root { --container-padding: 1.25rem; }

  .feature-cards { grid-template-columns: 1fr; }

  .hero__clients img { height: 28px; }
}

/* ─── ROI page ───────────────────────────────────────────── */

.roi-hero {
  background-color: var(--colour-bg-dark);
  padding: var(--space-20) 0 var(--space-16);
}

.roi-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.roi-hero__eyebrow {
  font-family: var(--font-button);
  font-weight: var(--font-weight-bold);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--colour-brand-secondary);
  margin-bottom: var(--space-4);
}

.roi-hero__title {
  font-size: var(--font-size-h1);
  line-height: var(--line-height-h1);
  color: var(--colour-text-white);
  font-weight: var(--font-weight-bold);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-6);
}

.roi-hero__title-accent { color: var(--colour-brand-secondary); }

.roi-hero__sub {
  font-size: 1.0625rem;
  color: var(--colour-text-light);
  line-height: 1.65;
  margin-bottom: var(--space-8);
  max-width: 500px;
}

.roi-stats-panel {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8) var(--space-6);
}

.roi-stat__label {
  font-family: var(--font-button);
  font-weight: var(--font-weight-bold);
  font-size: 0.6875rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: var(--space-2);
}

.roi-stat__value {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  font-size: 2.25rem;
  color: var(--colour-brand-secondary);
  line-height: 1.1;
}

.roi-stat__unit {
  font-size: 1rem;
  font-weight: var(--font-weight-semibold);
  color: rgba(255, 255, 255, 0.4);
}

.roi-section {
  padding: var(--space-20) 0;
}

.roi-section--alt {
  background-color: var(--colour-bg-light);
}

.roi-section__eyebrow {
  font-family: var(--font-button);
  font-weight: var(--font-weight-bold);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--colour-brand-secondary);
  margin-bottom: var(--space-3);
}

.roi-section__heading {
  font-size: var(--font-size-h2);
  line-height: var(--line-height-h2);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-10);
}

.time-compare {
  display: grid;
  grid-template-columns: 1fr 52px 1fr;
  border: 1px solid var(--colour-gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-6);
}

.time-compare__side {
  background: var(--colour-bg-white);
  padding: var(--space-8);
}

.time-compare__vs {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  color: var(--colour-text-muted);
  background: var(--colour-bg-light);
  border-left: 1px solid var(--colour-gray-200);
  border-right: 1px solid var(--colour-gray-200);
  writing-mode: vertical-rl;
}

.time-compare__label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-button);
  font-weight: var(--font-weight-bold);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
}

.time-compare__label--bad  { color: var(--colour-status-error); }
.time-compare__label--good { color: var(--colour-status-success); }

.compare-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-3);
  padding: 0.6875rem 0;
  border-bottom: 1px solid var(--colour-gray-100);
  font-size: var(--font-size-sm);
}

.compare-row:last-child { border-bottom: none; }

.compare-row__label { color: var(--colour-text-muted); }

.compare-row__value {
  font-weight: var(--font-weight-semibold);
  white-space: nowrap;
}

.compare-row__value--bad  { color: var(--colour-status-error); }
.compare-row__value--good { color: var(--colour-status-success); }

.highlight-callout {
  background: rgba(253, 199, 59, 0.07);
  border: 1px solid rgba(253, 199, 59, 0.25);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  gap: var(--space-10);
  align-items: flex-start;
  flex-wrap: wrap;
}

.highlight-callout__label {
  font-family: var(--font-button);
  font-weight: var(--font-weight-bold);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--colour-text-muted);
  margin-bottom: var(--space-2);
}

.highlight-callout__value {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  font-size: 1.75rem;
  color: var(--colour-brand-secondary);
  line-height: 1;
}

.highlight-callout__note {
  font-size: 0.875rem;
  color: var(--colour-text-body);
  line-height: 1.65;
  max-width: 380px;
  flex: 1;
  align-self: center;
}

.roi-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.roi-card {
  background: var(--colour-bg-white);
  border: 1px solid var(--colour-gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-card-sm);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.roi-card:hover {
  border-color: rgba(253, 199, 59, 0.4);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.roi-card__number {
  font-family: var(--font-button);
  font-weight: var(--font-weight-bold);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--colour-brand-secondary);
  margin-bottom: var(--space-3);
}

.roi-card__title {
  font-size: 1.125rem;
  color: var(--colour-text-default);
  margin-bottom: var(--space-3);
}

.roi-card__desc {
  font-size: var(--font-size-sm);
  color: var(--colour-text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-6);
}

.roi-card__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.roi-card__list-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: 0.875rem;
  color: var(--colour-text-body);
  line-height: 1.5;
}

.roi-card__list-item img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

.roi-range {
  display: flex;
  border: 1px solid var(--colour-gray-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.roi-range__item {
  flex: 1;
  padding: 0.75rem 1rem;
  text-align: center;
  background: var(--colour-bg-light);
}

.roi-range__item + .roi-range__item {
  border-left: 1px solid var(--colour-gray-200);
  background: rgba(253, 199, 59, 0.07);
}

.roi-range__label {
  font-family: var(--font-button);
  font-weight: var(--font-weight-bold);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--colour-text-muted);
  margin-bottom: var(--space-2);
}

.roi-range__value {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  font-size: 1.125rem;
  color: var(--colour-text-default);
}

.roi-range__item:last-child .roi-range__value { color: var(--colour-brand-secondary); }

.bar-chart {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 760px;
}

.bar-chart__row {
  display: grid;
  grid-template-columns: 220px 1fr 100px;
  align-items: center;
  gap: var(--space-4);
}

.bar-chart__label {
  font-size: var(--font-size-sm);
  color: var(--colour-text-body);
}

.bar-chart__track {
  height: 6px;
  background: var(--colour-gray-200);
  border-radius: 100px;
  overflow: hidden;
}

.bar-chart__fill {
  height: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg, rgba(253, 199, 59, 0.4), var(--colour-brand-secondary));
  transform-origin: left;
  animation: bar-grow 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes bar-grow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.bar-chart__value {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-sm);
  color: var(--colour-brand-secondary);
  text-align: right;
}

.roi-table-wrap {
  border: 1px solid var(--colour-gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-8);
}

.roi-table {
  width: 100%;
  border-collapse: collapse;
}

.roi-table thead {
  background: var(--colour-bg-light);
}

.roi-table thead th {
  padding: 0.875rem 1.5rem;
  font-family: var(--font-button);
  font-weight: var(--font-weight-bold);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--colour-text-muted);
  text-align: left;
}

.roi-table tbody tr {
  background: var(--colour-bg-white);
  border-top: 1px solid var(--colour-gray-100);
  transition: background 0.15s;
}

.roi-table tbody tr:hover { background: var(--colour-bg-light); }

.roi-table tbody td {
  padding: 1rem 1.5rem;
  font-size: var(--font-size-sm);
  color: var(--colour-text-body);
}

.roi-table tbody td:not(:first-child) { font-weight: var(--font-weight-semibold); }
.roi-table tbody td:nth-child(2) { color: var(--colour-text-muted); }
.roi-table tbody td:nth-child(3) { color: var(--colour-text-default); }

.roi-table tbody .roi-table__total {
  background: rgba(253, 199, 59, 0.07);
  border-top: 2px solid rgba(253, 199, 59, 0.3);
}

.roi-table tbody .roi-table__total:hover { background: rgba(253, 199, 59, 0.11); }

.roi-table tbody .roi-table__total td:first-child {
  font-weight: var(--font-weight-semibold);
  color: var(--colour-brand-secondary);
}

.roi-table tbody .roi-table__total td:nth-child(2) { color: #9b7e1c; }

.roi-table tbody .roi-table__total td:nth-child(3) {
  color: var(--colour-brand-secondary);
  font-size: 1.125rem;
}

.roi-multipliers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

.roi-multiplier {
  border-radius: var(--radius-lg);
  padding: var(--space-10) var(--space-8);
  text-align: center;
}

.roi-multiplier--green {
  background: rgba(46, 168, 122, 0.07);
  border: 1px solid rgba(46, 168, 122, 0.22);
}

.roi-multiplier--gold {
  background: rgba(253, 199, 59, 0.07);
  border: 1px solid rgba(253, 199, 59, 0.25);
}

.roi-multiplier__value {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  font-size: 4.5rem;
  line-height: 1;
  margin-bottom: var(--space-3);
}

.roi-multiplier--green .roi-multiplier__value { color: var(--colour-status-success); }
.roi-multiplier--gold  .roi-multiplier__value { color: var(--colour-brand-secondary); }

.roi-multiplier__desc {
  font-size: var(--font-size-sm);
  color: var(--colour-text-body);
  line-height: 1.65;
}

@media (max-width: 1024px) {
  .roi-hero__inner { grid-template-columns: 1fr; gap: var(--space-10); }
}

@media (max-width: 768px) {
  .roi-stats-panel { grid-template-columns: 1fr 1fr; }
  .time-compare { grid-template-columns: 1fr; }
  .time-compare__vs { display: none; }
  .time-compare__side--after { border-top: 1px solid var(--colour-gray-200); }
  .roi-cards { grid-template-columns: 1fr; }
  .bar-chart__row { grid-template-columns: 1fr 90px; }
  .bar-chart__track { display: none; }
  .roi-multipliers { grid-template-columns: 1fr; }
}

/* ─── Sell sheet page ────────────────────────────────────── */

.ss-wrap {
  background-color: var(--colour-bg-dark);
  padding: var(--space-8) var(--container-padding) var(--space-12);
}

.ss-doc {
  max-width: 900px;
  margin-inline: auto;
  background-color: var(--colour-bg-dark);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.ss-doc::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -60px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(68, 107, 192, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

.ss-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  padding: var(--space-10) var(--space-12) var(--space-8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.ss-header__wordmark {
  font-family: var(--font-button);
  font-weight: var(--font-weight-bold);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--colour-brand-tertiary);
  margin-bottom: var(--space-3);
}

.ss-header__product {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  font-size: 3rem;
  color: var(--colour-text-white);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: var(--space-3);
}

.ss-header__tagline {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.02em;
}

.ss-header__meta {
  text-align: right;
}

.ss-header__url {
  font-family: var(--font-button);
  font-weight: var(--font-weight-bold);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--colour-brand-tertiary);
}

.ss-header__badge {
  display: inline-block;
  background: rgba(68, 107, 192, 0.15);
  border: 1px solid rgba(68, 107, 192, 0.35);
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-button);
  font-weight: var(--font-weight-bold);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3125rem 0.75rem;
  border-radius: var(--radius-sm);
}

.ss-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.ss-col {
  padding: var(--space-8) var(--space-10);
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.ss-col--left  { border-right: 1px solid rgba(255, 255, 255, 0.07); }

.ss-eyebrow {
  font-family: var(--font-button);
  font-weight: var(--font-weight-bold);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--colour-brand-tertiary);
  margin-bottom: var(--space-3);
}

.ss-problem {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.65;
}

.ss-problem strong {
  color: var(--colour-text-white);
  font-weight: var(--font-weight-semibold);
}

.ss-pipeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ss-step {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: var(--space-3);
  align-items: start;
  padding-bottom: var(--space-6);
  position: relative;
}

.ss-step:last-child { padding-bottom: 0; }

.ss-step__num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(68, 107, 192, 0.15);
  border: 1px solid rgba(68, 107, 192, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  font-size: 0.75rem;
  color: var(--colour-brand-tertiary);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.ss-step:not(:last-child) .ss-step__num::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: calc(var(--space-6) + 1.75rem);
  background: rgba(68, 107, 192, 0.22);
}

.ss-step__title {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-semibold);
  font-size: 0.9375rem;
  color: var(--colour-text-white);
  margin-top: 4px;
  margin-bottom: var(--space-2);
}

.ss-step__desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.55;
}

.ss-value-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.ss-value-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

.ss-value-item::before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--colour-brand-tertiary);
  flex-shrink: 0;
  margin-top: 0.45em;
}

.ss-feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.ss-feature {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: var(--space-3);
  align-items: start;
}

.ss-feature__icon {
  width: 32px;
  height: 32px;
  background: rgba(68, 107, 192, 0.12);
  border: 1px solid rgba(68, 107, 192, 0.28);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.ss-feature__icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--colour-brand-tertiary);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ss-feature__title {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-semibold);
  font-size: 0.9375rem;
  color: var(--colour-text-white);
  margin-bottom: var(--space-1);
}

.ss-feature__desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.55;
}

.ss-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
}

.ss-roi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

.ss-roi-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: var(--space-4);
}

.ss-roi-card--highlight {
  background: rgba(68, 107, 192, 0.1);
  border-color: rgba(68, 107, 192, 0.35);
}

.ss-roi-card__value {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  font-size: 1.625rem;
  color: var(--colour-text-white);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.ss-roi-card--highlight .ss-roi-card__value { color: var(--colour-brand-secondary); }

.ss-roi-card__label {
  font-family: var(--font-button);
  font-weight: var(--font-weight-bold);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.4;
}

.ss-stat-callout {
  background: rgba(68, 107, 192, 0.07);
  border-left: 3px solid var(--colour-brand-tertiary);
  padding: var(--space-4) var(--space-6);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.ss-stat-callout__value {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  font-size: 2rem;
  color: var(--colour-brand-secondary);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.ss-stat-callout__text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

.ss-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--space-6) var(--space-12);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ss-footer__left,
.ss-footer__right {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.25);
}

.ss-footer__right { text-align: right; }

.ss-footer__center {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-semibold);
  font-size: 0.8125rem;
  color: var(--colour-brand-tertiary);
  text-align: center;
  letter-spacing: 0.04em;
}

.ss-print-bar {
  display: flex;
  justify-content: flex-end;
  padding: var(--space-4) 0 var(--space-6);
  max-width: 900px;
  margin-inline: auto;
}

@media print {
  .site-header,
  .site-footer,
  .ss-print-bar { display: none; }

  body  { background: #040336; }

  .ss-wrap {
    padding: 0;
    background: #040336;
  }

  .ss-doc {
    max-width: 100%;
    border: none;
    border-radius: 0;
  }
}

@media (max-width: 768px) {
  .ss-header { grid-template-columns: 1fr; gap: var(--space-4); }
  .ss-header__meta { text-align: left; }
  .ss-body { grid-template-columns: 1fr; }
  .ss-col--left { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
  .ss-footer { grid-template-columns: 1fr; gap: var(--space-2); }
  .ss-footer__right,
  .ss-footer__center { text-align: left; }
}

/* ============================================
   ROI Calculator page
   ============================================ */

.roi-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

/* Hero banner */
.roi-hero {
  background: #0D1B2A;
  border-radius: 14px;
  padding: 36px 40px 32px;
  margin-bottom: 28px;
}

.roi-hero .eyebrow {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #E8A020;
  margin-bottom: 12px;
}

.roi-hero h1 {
  font-size: 28px;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 12px;
  max-width: 520px;
}

.roi-hero p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.65;
  max-width: 500px;
  margin: 0;
}

/* Four input slider cards */
.inputs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
}

.input-card {
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 12px;
  padding: 18px 20px;
}

.input-card label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #aaaaaa;
  margin-bottom: 8px;
}

.input-card .slider-value {
  font-size: 22px;
  font-weight: 500;
  color: #0D1B2A;
  margin-bottom: 12px;
}

.input-card input[type="range"] {
  width: 100%;
  accent-color: #0D1B2A;
}

.slider-bounds {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #bbbbbb;
  margin-top: 4px;
}

/* Three output metric cards */
.metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.metric-card {
  background: #f5f5f3;
  border-radius: 10px;
  padding: 16px 18px;
}

.metric-card .metric-label {
  font-size: 12px;
  color: #777777;
  line-height: 1.4;
  margin-bottom: 8px;
}

.metric-card .metric-value {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 4px;
}

.metric-card .metric-value.is-cost {
  color: #A32D2D;
}

.metric-card .metric-value.is-saving {
  color: #1D6E44;
}

.metric-card .metric-sub {
  font-size: 11px;
  color: #aaaaaa;
}

/* Section dividers and subheadings */
.roi-divider {
  border: none;
  border-top: 1px solid #eeeeee;
  margin: 28px 0;
}

.roi-section-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #aaaaaa;
  margin-bottom: 16px;
}

/* Savings breakdown bars */
.breakdown-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.breakdown-label {
  flex: 1;
  font-size: 13px;
  color: #555555;
}

.breakdown-bar-wrap {
  flex: 2;
  height: 8px;
  background: #f0f0ee;
  border-radius: 4px;
  overflow: hidden;
}

.breakdown-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.3s ease;
}

.breakdown-value {
  width: 90px;
  text-align: right;
  font-size: 13px;
  font-weight: 500;
}

/* 5-year chart */
.chart-legend {
  display: flex;
  gap: 20px;
  font-size: 12px;
  color: #777777;
  margin-bottom: 12px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-swatch {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  flex-shrink: 0;
}

.chart-container {
  position: relative;
  width: 100%;
  height: 260px;
  margin-bottom: 8px;
}

/* Methodology box */
.methodology-box {
  background: #f5f5f3;
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 20px;
}

.methodology-box .method-title {
  font-size: 13px;
  font-weight: 500;
  color: #0D1B2A;
  margin-bottom: 12px;
}

.methodology-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 28px;
}

.method-row {
  font-size: 12px;
  color: #777777;
  line-height: 1.6;
}

.method-row span {
  color: #0D1B2A;
  font-weight: 500;
}

/* Bottom CTA bar */
.roi-cta-bar {
  background: #0D1B2A;
  border-radius: 14px;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.roi-cta-bar .cta-text-headline {
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 4px;
}

.roi-cta-bar .cta-text-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.roi-cta-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-roi-primary {
  padding: 11px 22px;
  background: #E8A020;
  color: #0D1B2A;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  display: inline-block;
}

.btn-roi-primary:hover {
  background: #f5c460;
}

.btn-roi-ghost {
  padding: 11px 22px;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  display: inline-block;
}

.btn-roi-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

/* Responsive */
@media (max-width: 640px) {
  .inputs-grid { grid-template-columns: 1fr; }
  .metrics-row { grid-template-columns: 1fr; }
  .methodology-grid { grid-template-columns: 1fr; }
  .roi-hero { padding: 24px 20px; }
  .roi-hero h1 { font-size: 22px; }
  .roi-cta-bar { flex-direction: column; align-items: flex-start; }
}

/* ============================================
   How it works teaser (index.html)
   ============================================ */

/* Homepage teaser card — links to /how-it-works */
.hiw-teaser-section {
  padding: 0 0 48px;
}

.hiw-teaser-card {
  display: block;
  border: 1px solid #eeeeee;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.15s;
}

.hiw-teaser-card:hover {
  border-color: #cccccc;
}

.hiw-teaser-screens {
  background: #0D1B2A;
  padding: 24px 24px 0;
  display: flex;
  gap: 16px;
  align-items: flex-end;
  min-height: 180px;
  overflow: hidden;
}

.hiw-teaser-phone {
  width: 90px;
  flex-shrink: 0;
}

.hiw-teaser-desktop {
  flex: 1;
  min-width: 0;
}

.hiw-teaser-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px 8px 0 0;
}

.hiw-teaser-footer {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #ffffff;
}

.hiw-teaser-title {
  font-size: 15px;
  font-weight: 500;
  color: #0D1B2A;
  margin-bottom: 4px;
}

.hiw-teaser-sub {
  font-size: 13px;
  color: #777777;
  margin: 0;
}

.hiw-teaser-link {
  font-size: 13px;
  font-weight: 500;
  color: #0D1B2A;
  background: #f5f5f3;
  padding: 8px 16px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
  border: 1px solid #eeeeee;
}

/* ============================================
   How it works page
   ============================================ */

.hiw-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

/* Hero banner */
.hiw-hero {
  background: #0D1B2A;
  border-radius: 14px;
  padding: 36px 40px 32px;
  margin-bottom: 48px;
}

.hiw-hero .eyebrow {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #E8A020;
  margin-bottom: 12px;
}

.hiw-hero h1 {
  font-size: 28px;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 12px;
  max-width: 540px;
}

.hiw-hero p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.65;
  max-width: 500px;
  margin: 0;
}

/* Progress indicator strip — four numbered steps */
.hiw-progress {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 56px;
  overflow-x: auto;
}

.hiw-progress-step {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.hiw-progress-step:not(:last-child)::after {
  content: '';
  display: block;
  height: 1px;
  flex: 1;
  background: #dddddd;
  margin: 0 8px;
}

.hiw-step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0D1B2A;
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hiw-step-label {
  font-size: 12px;
  font-weight: 500;
  color: #0D1B2A;
  white-space: nowrap;
}

.hiw-step-sub {
  font-size: 11px;
  color: #aaaaaa;
  white-space: nowrap;
}

/* Each stage section */
.hiw-stage {
  margin-bottom: 72px;
}

.hiw-stage-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.hiw-stage-badge {
  background: #0D1B2A;
  color: #ffffff;
  font-size: 11px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 3px;
}

.hiw-stage-header-text h2 {
  font-size: 22px;
  font-weight: 500;
  color: #0D1B2A;
  margin-bottom: 6px;
  line-height: 1.3;
}

.hiw-stage-header-text p {
  font-size: 14px;
  color: #666666;
  line-height: 1.65;
  margin: 0;
}

/* Layout: screenshot on one side, annotations on the other */
.hiw-stage-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

/* Mobile screenshots are narrower — use a centred frame */
.hiw-stage-body.is-mobile {
  grid-template-columns: 240px 1fr;
}

.hiw-screenshot-wrap {
  position: relative;
}

/* Drop shadow effect to lift screenshots off the page */
.hiw-screenshot {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10);
  display: block;
}

/* Mobile screenshot gets a phone-frame treatment */
.hiw-stage-body.is-mobile .hiw-screenshot {
  border-radius: 20px;
  border: 2px solid #dddddd;
}

/* Annotation list on the right side */
.hiw-annotations {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 4px;
}

.hiw-annotation {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.hiw-annotation-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #E8A020;
  color: #0D1B2A;
  font-size: 11px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.hiw-annotation-text .ann-title {
  font-size: 13px;
  font-weight: 500;
  color: #0D1B2A;
  margin-bottom: 4px;
}

.hiw-annotation-text .ann-body {
  font-size: 13px;
  color: #666666;
  line-height: 1.6;
  margin: 0;
}

/* "What this means for your agency" callout */
.hiw-agency-note {
  margin-top: 24px;
  background: #f0f4f0;
  border-left: 3px solid #1D6E44;
  border-radius: 0 8px 8px 0;
  padding: 14px 16px;
}

.hiw-agency-note .note-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1D6E44;
  margin-bottom: 6px;
  font-weight: 500;
}

.hiw-agency-note p {
  font-size: 13px;
  color: #444444;
  line-height: 1.6;
  margin: 0;
}

/* Stage divider */
.hiw-stage-divider {
  border: none;
  border-top: 1px solid #eeeeee;
  margin: 0 0 72px;
}

/* Bottom CTA */
.hiw-cta {
  background: #0D1B2A;
  border-radius: 14px;
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.hiw-cta h2 {
  font-size: 20px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 6px;
}

.hiw-cta p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

.hiw-cta-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.btn-hiw-primary {
  padding: 11px 22px;
  background: #E8A020;
  color: #0D1B2A;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  display: inline-block;
}

.btn-hiw-primary:hover { background: #f5c460; }

.btn-hiw-ghost {
  padding: 11px 22px;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  display: inline-block;
}

.btn-hiw-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

/* Responsive */
@media (max-width: 680px) {
  .hiw-stage-body,
  .hiw-stage-body.is-mobile {
    grid-template-columns: 1fr;
  }
  .hiw-stage-body.is-mobile .hiw-screenshot {
    max-width: 260px;
    margin: 0 auto;
  }
  .hiw-hero { padding: 24px 20px; }
  .hiw-hero h1 { font-size: 22px; }
  .hiw-cta { flex-direction: column; }
  .hiw-progress { gap: 8px; }
  .hiw-step-label,
  .hiw-step-sub { display: none; }
}
