@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600;700;800;900&display=swap");

:root {
  --ink: #111317;
  --ink-soft: #3b414a;
  --muted: #737b86;
  --line: #dfe3e7;
  --paper: #f7f7f4;
  --white: #ffffff;
  --coal: #181b20;
  --orange: #f36f21;
  --green: #63b54b;
  --teal: #108e86;
  --yellow: #f3bf2f;
  --shadow: 0 22px 70px rgba(17, 19, 23, 0.14);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Nunito Sans", Arial, sans-serif;
  line-height: 1.45;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(247, 247, 244, 0.92);
  border-bottom: 1px solid rgba(17, 19, 23, 0.1);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 132px;
  height: 42px;
}

.brand img {
  width: 132px;
  height: auto;
}

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

.navlinks a {
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 800;
  padding: 9px 12px;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.navlinks a:hover,
.navlinks a:focus-visible {
  background: var(--white);
  border-color: var(--line);
  color: var(--ink);
  outline: none;
}

.report-band,
.section {
  padding-left: clamp(20px, 5vw, 72px);
  padding-right: clamp(20px, 5vw, 72px);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 34px;
  align-items: end;
  overflow: hidden;
  min-height: 78svh;
  padding-top: 72px;
  padding-bottom: 48px;
  background: var(--coal);
  color: var(--white);
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 38%;
  background: linear-gradient(0deg, rgba(24, 27, 32, 0.96), rgba(24, 27, 32, 0));
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 19, 23, 0.88) 0%, rgba(17, 19, 23, 0.7) 42%, rgba(17, 19, 23, 0.28) 100%),
    linear-gradient(0deg, rgba(17, 19, 23, 0.34), rgba(17, 19, 23, 0.12));
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-content {
  max-width: 780px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  font-weight: 900;
  line-height: 0.98;
}

.hero h1 {
  max-width: 820px;
  font-size: 4.75rem;
}

.hero-copy {
  max-width: 700px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.16rem;
}

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

.hero-meta span {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.86rem;
  font-weight: 800;
  padding: 9px 12px;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-self: end;
}

.kpi-card {
  min-height: 150px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.kpi-label {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.kpi-value {
  display: block;
  color: var(--white);
  font-size: 2.65rem;
  font-weight: 900;
  line-height: 1;
}

.kpi-note {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  font-weight: 700;
}

.section {
  padding-top: 92px;
  padding-bottom: 92px;
}

.section h2 {
  font-size: 3rem;
}

.section p {
  color: var(--ink-soft);
  font-size: 1.03rem;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 44px;
  align-items: start;
  background: var(--paper);
}

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

.takeaway-card,
.strategy-card,
.taxonomy-card,
.roadmap-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.takeaway-card {
  min-height: 188px;
  padding: 22px;
}

.takeaway-card strong,
.strategy-card strong,
.taxonomy-card strong {
  display: block;
  font-size: 1rem;
  font-weight: 900;
}

.takeaway-card p,
.strategy-card p,
.taxonomy-card p {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 42px;
  align-items: start;
}

.section-copy {
  position: sticky;
  top: 104px;
}

.source-panel {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.source-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 18px;
}

.source-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--accent, var(--orange));
}

.source-card strong {
  display: block;
  font-size: 1.08rem;
  font-weight: 900;
}

.source-card dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 0;
}

.source-card dt {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.source-card dd {
  margin: 3px 0 0;
  font-size: 1.12rem;
  font-weight: 900;
}

.chart-panel,
.taxonomy-panel,
.campaign-table-wrap,
.line-wrap,
.city-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.chart-panel,
.taxonomy-panel,
.line-wrap,
.city-panel {
  padding: 22px;
}

.chart-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.chart-head strong {
  color: var(--ink);
  text-align: right;
}

.bar-chart {
  display: grid;
  gap: 18px;
}

.bar-row {
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(0, 1fr) 82px;
  gap: 14px;
  align-items: center;
}

.bar-name {
  font-weight: 900;
}

.bar-track {
  position: relative;
  height: 18px;
  overflow: hidden;
  border-radius: 999px;
  background: #ecefed;
}

.bar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: inherit;
  background: var(--accent, var(--orange));
  transition: width 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.bar-value {
  color: var(--ink);
  font-weight: 900;
  text-align: right;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(280px, 0.7fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 32px;
}

.line-chart {
  min-height: 320px;
}

.line-chart svg {
  width: 100%;
  height: auto;
}

.axis-line,
.grid-line {
  stroke: #dfe3e7;
  stroke-width: 1;
}

.line-series {
  fill: none;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1600;
  stroke-dashoffset: 1600;
  transition: stroke-dashoffset 1400ms ease;
}

.is-visible .line-series {
  stroke-dashoffset: 0;
}

.chart-label {
  fill: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 800;
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.legend i {
  width: 22px;
  height: 5px;
  border-radius: 999px;
}

.legend-paid {
  background: var(--orange);
}

.legend-direct {
  background: var(--teal);
}

.product-section {
  background: var(--coal);
  color: var(--white);
}

.product-section .section-kicker,
.product-section .section-head p {
  color: rgba(255, 255, 255, 0.72);
}

.product-section .section-kicker {
  color: var(--orange);
}

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

.product-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #23272d;
}

.product-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0e1014;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.product-card:hover .product-image img {
  transform: scale(1.06);
}

.product-body {
  padding: 18px;
}

.product-body h3 {
  min-height: 52px;
  margin: 0 0 16px;
  font-size: 1.04rem;
  line-height: 1.18;
}

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

.product-metric span {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product-metric strong {
  color: var(--white);
  font-size: 1.28rem;
}

.product-progress {
  height: 7px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.product-progress i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--orange);
  transition: width 900ms ease;
}

.intent-list {
  display: grid;
  gap: 13px;
  margin-top: 28px;
}

.intent-row {
  display: grid;
  grid-template-columns: minmax(170px, 0.55fr) minmax(0, 1fr) 76px;
  gap: 12px;
  align-items: center;
}

.intent-row .bar-track {
  height: 14px;
}

.intent-name {
  font-weight: 900;
}

.taxonomy-list {
  display: grid;
  gap: 12px;
}

.taxonomy-card {
  padding: 16px;
}

.taxonomy-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.taxonomy-sla {
  align-self: start;
  border-radius: 999px;
  background: #edf6ea;
  color: #2b6b22;
  padding: 4px 9px;
}

.segment-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 24px;
  align-items: start;
}

.segment-bars,
.strategy-grid {
  display: grid;
  gap: 14px;
}

.segment-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 16px;
}

.segment-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  font-weight: 900;
}

.segment-sub {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.strategy-card {
  padding: 18px;
}

.strategy-channel {
  margin-top: 14px;
  color: var(--teal);
  font-size: 0.86rem;
  font-weight: 900;
}

.campaign-table-wrap {
  overflow-x: auto;
}

.campaign-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
}

.campaign-table th,
.campaign-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.campaign-table th {
  background: #f0f2ef;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.campaign-table td {
  font-size: 0.94rem;
  font-weight: 800;
}

.campaign-table tr:last-child td {
  border-bottom: 0;
}

.metric-pill {
  display: inline-flex;
  justify-content: center;
  min-width: 64px;
  border-radius: 999px;
  background: #f3f5f0;
  color: var(--ink);
  padding: 6px 9px;
  font-weight: 900;
}

.diagnostic-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 1.15fr);
  gap: 32px;
  align-items: center;
  background: #e7ece5;
}

.diagnostic-copy {
  max-width: 640px;
}

.city-panel {
  display: grid;
  gap: 14px;
  box-shadow: none;
}

.city-panel h3 {
  margin: 0;
  font-size: 1.16rem;
}

.city-row {
  display: grid;
  grid-template-columns: minmax(130px, 0.52fr) minmax(0, 1fr) 76px;
  gap: 12px;
  align-items: center;
}

.roadmap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.roadmap-item {
  position: relative;
  min-height: 250px;
  padding: 22px;
  overflow: hidden;
}

.roadmap-item::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: var(--accent, var(--orange));
}

.roadmap-item span {
  display: inline-flex;
  border-radius: 999px;
  background: #f4f1e8;
  color: var(--ink);
  padding: 6px 10px;
  font-size: 0.76rem;
  font-weight: 900;
}

.roadmap-item h3 {
  margin: 22px 0 10px;
  font-size: 1.24rem;
  line-height: 1.12;
}

.roadmap-item p {
  margin: 0;
  font-size: 0.96rem;
}

.closing {
  display: grid;
  grid-template-columns: minmax(260px, 0.74fr) minmax(0, 1.26fr);
  gap: 42px;
}

.closing ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.closing li {
  border-left: 5px solid var(--orange);
  background: var(--white);
  padding: 14px 16px;
  color: var(--ink-soft);
  font-weight: 800;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.footer a {
  color: var(--white);
}

.reveal {
  opacity: 1;
  transform: none;
}

.reveal > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.is-visible .bar-fill,
.is-visible .product-progress i {
  width: var(--target-width, 0);
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.09) translate3d(-1.8%, 1.2%, 0);
  }
}

@media (max-width: 1120px) {
  .hero,
  .split,
  .intro-grid,
  .segment-layout,
  .diagnostic-band,
  .closing {
    grid-template-columns: 1fr;
  }

  .hero {
    align-items: start;
  }

  .hero h1 {
    font-size: 3.7rem;
  }

  .section-copy {
    position: static;
  }

  .product-grid,
  .roadmap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-head {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 760px) {
  .topbar {
    min-height: 64px;
    padding: 12px 18px;
  }

  .brand,
  .brand img {
    width: 112px;
  }

  .navlinks {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 52px;
    padding-bottom: 28px;
  }

  .hero h1 {
    font-size: 2.55rem;
    line-height: 1.02;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .takeaways,
  .product-grid,
  .roadmap {
    grid-template-columns: 1fr;
  }

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

  .kpi-card {
    min-height: 124px;
    padding: 14px;
  }

  .kpi-label {
    margin-bottom: 10px;
    font-size: 0.68rem;
  }

  .kpi-value {
    font-size: 2rem;
  }

  .kpi-note {
    margin-top: 9px;
    font-size: 0.78rem;
  }

  .hero-meta {
    gap: 7px;
    margin-top: 22px;
  }

  .hero-meta span {
    font-size: 0.78rem;
    padding: 7px 9px;
  }

  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .section h2 {
    font-size: 2.1rem;
  }

  .bar-row,
  .intent-row,
  .city-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .bar-value {
    text-align: left;
  }

  .source-card dl,
  .product-metrics {
    grid-template-columns: 1fr;
  }

  .chart-panel,
  .taxonomy-panel,
  .line-wrap,
  .city-panel {
    padding: 18px;
  }

  .chart-head {
    display: block;
  }

  .chart-head strong {
    display: block;
    margin-top: 4px;
    text-align: left;
  }

  .footer {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
