:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #5d6675;
  --paper: #f7f4ee;
  --white: #ffffff;
  --navy: #071529;
  --navy-2: #0b2240;
  --blue: #1259ff;
  --cyan: #14d9d4;
  --magenta: #f000d4;
  --pink: #ff2f71;
  --gold: #e6b65e;
  --coral: #dc6b4d;
  --line: rgba(17, 24, 39, 0.12);
  --dark-line: rgba(255, 255, 255, 0.16);
  --shadow: 0 24px 68px rgba(7, 21, 41, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #07111f;
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

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

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

p {
  line-height: 1.72;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 99;
  background: var(--white);
  color: var(--ink);
  padding: 10px 14px;
}

.skip-link:focus {
  left: 12px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 15, 30, 0.76);
  color: var(--white);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 900;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 48%, rgba(20, 217, 212, 0.2), transparent 64%),
    radial-gradient(circle at 60% 62%, rgba(230, 182, 94, 0.16), transparent 58%);
}

.brand-logo-mark {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter:
    drop-shadow(0 0 12px rgba(20, 217, 212, 0.22))
    drop-shadow(0 8px 18px rgba(0, 0, 0, 0.22));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.nav-links a {
  padding: 8px 0;
}

.nav-links a:hover {
  color: var(--white);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--pink);
  border-radius: 8px;
  padding: 0 18px;
  background: linear-gradient(135deg, var(--pink), #ff4e9b);
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(255, 47, 113, 0.34);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  box-shadow: none;
}

.button.light {
  border-color: var(--ink);
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100vh - 68px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(4, 11, 24, 0.98) 0%, rgba(4, 11, 24, 0.86) 38%, rgba(4, 11, 24, 0.28) 100%),
    url("./generated/rstars-hero-bg.png") center right / cover no-repeat;
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(0deg, rgba(7, 15, 30, 1), rgba(7, 15, 30, 0));
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(20, 217, 212, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 217, 212, 0.06) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.7) 32%, transparent 72%);
  opacity: 0.5;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 108px 0 118px;
}

.hero-copy-wrap {
  max-width: 790px;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 18px;
  border: 1px solid rgba(230, 182, 94, 0.48);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

h1 {
  max-width: 830px;
  margin-bottom: 22px;
  font-size: clamp(42px, 5.2vw, 74px);
  line-height: 1.04;
  font-weight: 950;
}

.hero h1 {
  max-width: 960px;
  font-size: clamp(40px, 5.2vw, 74px);
  text-shadow: 0 18px 60px rgba(0, 0, 0, 0.3);
}

.hero-title-mobile-line {
  display: inline;
}

.desktop-break {
  display: block;
}

.hero-lead {
  max-width: 730px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.64;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 30px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  max-width: 860px;
  margin-top: 38px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 74px rgba(0, 0, 0, 0.26);
}

.trust-item {
  border: 0;
  border-right: 1px solid rgba(7, 21, 41, 0.12);
  border-radius: 0;
  padding: 18px 24px;
  background: transparent;
}

.trust-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 22px;
  color: var(--navy);
}

.trust-item span {
  color: #445066;
  font-size: 13px;
}

.hero-collage {
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 46px;
  z-index: 1;
  display: grid;
  grid-template-columns: 210px 210px;
  gap: 12px;
  width: 432px;
  opacity: 0;
  pointer-events: none;
}

.hero-collage img {
  width: 100%;
  height: 150px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.22);
}

.hero-collage img:nth-child(2) {
  transform: translateY(34px);
}

.hero-collage img:nth-child(3) {
  transform: translateY(-20px);
}

.market-hero {
  min-height: min(830px, calc(100vh - 68px));
  background:
    linear-gradient(90deg, rgba(4, 11, 24, 0.98) 0%, rgba(4, 11, 24, 0.9) 42%, rgba(4, 11, 24, 0.72) 100%),
    linear-gradient(rgba(20, 217, 212, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 89, 255, 0.08) 1px, transparent 1px),
    #07111f;
  background-size: auto, 54px 54px, 54px 54px, auto;
}

.market-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.61fr) minmax(340px, 0.39fr);
  gap: 34px;
  align-items: center;
  padding: 76px 0 82px;
}

.market-proof {
  max-width: 760px;
  margin-top: 32px;
}

.market-visual {
  position: relative;
  min-height: 470px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.market-network {
  position: relative;
  width: min(100%, 480px);
  aspect-ratio: 1;
  isolation: isolate;
}

.market-network::before {
  content: "";
  position: absolute;
  inset: 7% 3% 5% 0;
  border: 1px solid rgba(20, 217, 212, 0.14);
  border-radius: 50%;
  background:
    linear-gradient(rgba(20, 217, 212, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 182, 94, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.62;
  transform: rotate(-8deg);
}

.network-lines {
  position: absolute;
  inset: 2% 0 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.network-lines path {
  fill: none;
  stroke: rgba(20, 217, 212, 0.42);
  stroke-width: 1.4;
  stroke-dasharray: 7 10;
}

.network-lines path:nth-child(2) {
  stroke: rgba(255, 47, 113, 0.34);
  stroke-dasharray: 5 11;
}

.network-lines path:nth-child(3),
.network-lines path:nth-child(4) {
  stroke: rgba(230, 182, 94, 0.34);
  stroke-dasharray: 2 14;
}

.network-glow {
  position: absolute;
  left: 50%;
  top: 49%;
  z-index: 1;
  width: 214px;
  height: 144px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 44%, rgba(20, 217, 212, 0.34), transparent 38%),
    radial-gradient(circle at 62% 54%, rgba(255, 47, 113, 0.28), transparent 42%);
  filter: blur(8px);
  opacity: 0.58;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.network-orbit {
  position: absolute;
  inset: 16% 10% 15% 10%;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left-color: rgba(20, 217, 212, 0.46);
  border-right-color: rgba(255, 47, 113, 0.36);
  border-radius: 50%;
  transform: rotate(-14deg);
}

.network-orbit::before,
.network-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.network-orbit::before {
  inset: 15% 17%;
  border: 1px solid rgba(20, 217, 212, 0.18);
  border-top-color: rgba(230, 182, 94, 0.36);
}

.network-orbit::after {
  width: 10px;
  height: 10px;
  right: 12%;
  top: 11%;
  background: var(--pink);
  box-shadow: 0 0 26px rgba(255, 47, 113, 0.64);
}

.network-core {
  position: absolute;
  left: 50%;
  top: 49%;
  z-index: 5;
  display: grid;
  place-items: center;
  width: clamp(90px, 8.4vw, 118px);
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  padding: clamp(10px, 1vw, 14px);
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.15), transparent 24%),
    radial-gradient(circle at 48% 50%, rgba(20, 217, 212, 0.28), transparent 54%),
    radial-gradient(circle at 62% 60%, rgba(255, 47, 113, 0.18), transparent 55%);
  color: var(--white);
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.22),
    0 0 60px rgba(20, 217, 212, 0.18);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(8px);
}

.network-core::before,
.network-core::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.network-core::before {
  inset: -26%;
  z-index: -1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(20, 217, 212, 0.24), transparent 50%),
    radial-gradient(circle at 65% 65%, rgba(255, 47, 113, 0.18), transparent 52%),
    radial-gradient(circle at 48% 38%, rgba(230, 182, 94, 0.14), transparent 44%);
  filter: blur(18px);
}

.network-core::after {
  inset: 20%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(8, 18, 37, 0.64), rgba(8, 18, 37, 0.08) 58%, transparent 70%);
}

.network-core-icon {
  position: relative;
  z-index: 1;
  width: 110%;
  height: 110%;
  object-fit: contain;
  filter:
    drop-shadow(0 16px 30px rgba(0, 0, 0, 0.3))
    drop-shadow(0 0 22px rgba(20, 217, 212, 0.24));
}

.network-caption span,
.network-node {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.network-node {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 8px 11px;
  background: rgba(7, 21, 41, 0.58);
  color: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(16px);
}

.network-node::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 20px rgba(20, 217, 212, 0.72);
}

.node-creators {
  left: 5%;
  top: 17%;
}

.node-artists {
  right: 12%;
  top: 11%;
}

.node-events {
  right: 0;
  top: 50%;
}

.node-gaming {
  left: 10%;
  bottom: 26%;
}

.node-live {
  right: 4%;
  bottom: 22%;
}

.node-commerce {
  left: 35%;
  top: 5%;
}

.network-case-card {
  position: absolute;
  z-index: 3;
  width: 104px;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
  backdrop-filter: none;
  opacity: 0.96;
}

.network-case-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.network-case-card figcaption {
  padding: 6px 8px;
  color: var(--white);
  font-size: 11px;
  font-weight: 900;
}

.case-dove {
  left: 0;
  top: 42%;
  transform: none;
}

.case-pose {
  right: 4%;
  top: 18%;
  transform: none;
}

.case-game {
  right: 15%;
  bottom: 14%;
  transform: none;
}

.network-caption {
  position: absolute;
  left: 6%;
  bottom: 6%;
  z-index: 4;
  display: grid;
  gap: 5px;
  color: var(--white);
}

.network-caption span {
  color: var(--gold);
}

.network-caption strong {
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
}

section {
  padding: 82px 0;
  background: var(--paper);
}

.tech-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(20, 217, 212, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 89, 255, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, #07111f 0%, #0a1830 48%, #140f28 100%);
  background-size: 52px 52px, 52px 52px, auto;
  color: var(--white);
}

.tech-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(112deg, transparent 0%, rgba(20, 217, 212, 0.14) 43%, transparent 58%),
    linear-gradient(162deg, transparent 0%, rgba(255, 47, 113, 0.12) 68%, transparent 82%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.tech-section .section-inner {
  position: relative;
  z-index: 1;
}

.section-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 30px;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1.08;
  font-weight: 940;
}

.section-head p,
.lead {
  color: var(--muted);
  font-size: 17px;
}

.tech-section .section-head p,
.tech-section .lead {
  color: rgba(255, 255, 255, 0.7);
}

.band-dark {
  background:
    linear-gradient(rgba(18, 89, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 217, 212, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 70% 0%, rgba(255, 47, 113, 0.18), transparent 32%),
    var(--navy);
  background-size: 52px 52px, 52px 52px, auto, auto;
  color: var(--white);
}

.band-dark .section-head p,
.band-dark .lead,
.band-dark .card p,
.band-dark .list li {
  color: rgba(255, 255, 255, 0.72);
}

.grid-5,
.grid-4,
.grid-3,
.grid-2 {
  display: grid;
  gap: 14px;
}

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

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

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

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

.card,
.case-card,
.panel,
.form-panel,
.metric-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

.card,
.case-card {
  position: relative;
  overflow: hidden;
}

.card::before,
.case-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(18, 89, 255, 0.55), rgba(255, 47, 113, 0.45), rgba(230, 182, 94, 0.35));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms ease;
}

.card:hover::before,
.case-card:hover::before {
  opacity: 1;
}

.band-dark .card,
.band-dark .case-card,
.band-dark .panel,
.band-dark .metric-card {
  border-color: var(--dark-line);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: none;
}

.card,
.panel,
.form-panel,
.metric-card {
  padding: 24px;
}

.card h3,
.case-card h3,
.panel h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.card p,
.case-card p,
.panel p {
  color: var(--muted);
  font-size: 15px;
}

.starter-section {
  background:
    radial-gradient(circle at 12% 8%, rgba(20, 217, 212, 0.12), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(255, 47, 113, 0.1), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f6f8fc 100%);
}

.package-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.tax-tool-mini {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  max-width: 560px;
  margin: 0 0 16px;
  border: 1px solid rgba(18, 89, 255, 0.16);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 34px rgba(7, 21, 41, 0.08);
}

.tax-tool-mini:hover {
  border-color: rgba(18, 89, 255, 0.32);
  background: var(--white);
}

.tax-tool-mini-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(20, 217, 212, 0.16), rgba(18, 89, 255, 0.16));
  color: var(--blue);
  font-size: 22px;
  font-weight: 950;
}

.tax-tool-mini-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.tax-tool-mini-copy strong {
  color: var(--ink);
  font-size: 16px;
}

.tax-tool-mini-copy span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.tax-tool-mini-action {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 8px;
  padding: 0 10px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
}

.package-label {
  width: fit-content;
  margin-bottom: 18px;
  border: 1px solid rgba(18, 89, 255, 0.2);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(18, 89, 255, 0.08);
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.mini-list {
  display: grid;
  gap: 8px;
  margin: 18px 0 20px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.mini-list li {
  position: relative;
  padding-left: 18px;
}

.mini-list li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.text-link {
  margin-top: auto;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.starter-section .section-head {
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 0.6fr);
}

.starter-section .section-head p {
  max-width: 520px;
}

.industry-card {
  min-height: 196px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.industry-card h3 {
  font-size: 20px;
}

.industry-budget-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--coral);
  font-size: 14px;
  font-weight: 800;
}

.industry-budget-link::after {
  content: "  ↗";
}

.section-link {
  margin: 28px 0 0;
}

.band-dark .section-link .text-link {
  color: var(--lime);
}

.services-board .grid-5 {
  align-items: stretch;
}

.service-card {
  min-height: 318px;
  display: flex;
  flex-direction: column;
  border-color: rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045)),
    rgba(7, 17, 31, 0.78);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.service-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 56%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--pink), transparent);
  opacity: 0.88;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(20, 217, 212, 0.42);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.06)),
    rgba(7, 17, 31, 0.86);
}

.service-card h3 {
  color: var(--white);
}

.service-card p {
  color: rgba(255, 255, 255, 0.68);
}

.service-chip {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 26px;
  border: 1px solid rgba(20, 217, 212, 0.3);
  border-radius: 999px;
  padding: 6px 9px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  font-weight: 900;
}

.service-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--pink), var(--blue));
  color: var(--white);
  font-weight: 900;
}

.case-card {
  overflow: hidden;
}

.case-card > img {
  filter: saturate(1.06) contrast(1.04);
}

.case-card > img + .case-card-body::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -72px;
  height: 72px;
  background: linear-gradient(180deg, rgba(7, 17, 31, 0), rgba(7, 17, 31, 0.76));
  pointer-events: none;
}

.case-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.case-card-body {
  position: relative;
  padding: 20px;
}

.case-metrics {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.case-metrics span {
  border: 1px solid rgba(20, 217, 212, 0.18);
  border-radius: 8px;
  padding: 8px 10px;
  background: rgba(20, 217, 212, 0.07);
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 800;
}

.trust-system-section {
  background: #f7f9fc;
}

.proof-panel h3 {
  font-size: 20px;
}

.faq-section {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-grid .panel {
  min-height: 180px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.tag {
  display: inline-flex;
  border: 1px solid rgba(18, 89, 255, 0.22);
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--pink);
  font-size: 12px;
  font-weight: 800;
}

.band-dark .tag {
  border-color: rgba(20, 217, 212, 0.3);
  color: var(--cyan);
}

.list {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.72;
}

.process {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  position: relative;
}

.process-band {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(20, 217, 212, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 89, 255, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 16% 12%, rgba(20, 217, 212, 0.16), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(255, 47, 113, 0.18), transparent 32%),
    linear-gradient(135deg, #05101f 0%, #081a33 48%, #150c27 100%);
  background-size: 44px 44px, 44px 44px, auto, auto, auto;
  color: var(--white);
}

.process-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(118deg, transparent 0%, rgba(20, 217, 212, 0.13) 42%, transparent 56%),
    linear-gradient(162deg, transparent 0%, rgba(255, 47, 113, 0.12) 68%, transparent 84%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.process-band .section-inner {
  position: relative;
  z-index: 1;
}

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

.process::before {
  content: "";
  position: absolute;
  top: 42px;
  left: 4%;
  right: 4%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(18, 89, 255, 0.36), rgba(255, 47, 113, 0.32), transparent);
  pointer-events: none;
}

.process-step {
  position: relative;
  min-height: 212px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045)),
    rgba(7, 17, 31, 0.78);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.process-step::after {
  content: "";
  position: absolute;
  top: 0;
  left: -62%;
  width: 58%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--pink), transparent);
  opacity: 0.78;
}

.process-step::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 18px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(18, 89, 255, 0.1), 0 0 24px rgba(18, 89, 255, 0.38);
}

.process-step strong {
  display: block;
  margin-bottom: 8px;
  padding-left: 26px;
  color: var(--cyan);
  font-size: 24px;
}

.process-step span {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-weight: 900;
}

.process-step p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

@media (prefers-reduced-motion: no-preference) {
  .button {
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  }

  .button:hover {
    transform: translateY(-2px);
  }

  .service-card::after {
    animation: service-scan 4.8s linear infinite;
  }

  .ai-chatbot-toggle {
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  }

  .ai-chatbot-toggle:hover {
    border-color: rgba(20, 217, 212, 0.48);
    box-shadow: 0 24px 78px rgba(5, 13, 26, 0.46), 0 0 44px rgba(20, 217, 212, 0.18);
    transform: translateY(-2px);
  }

  .ai-chatbot-toggle:hover::before {
    animation: service-scan 1.1s ease;
  }

  .network-lines path {
    animation: network-drift 8s linear infinite;
  }

  .network-orbit {
    animation: network-spin 18s linear infinite;
  }

  .network-orbit::after,
  .network-node::before {
    animation: signal-pulse 2.4s ease-in-out infinite;
  }

  .network-case-card {
    animation: network-float 6.8s ease-in-out infinite;
  }

  .case-pose {
    animation-delay: -1.7s;
  }

  .case-game {
    animation-delay: -3.2s;
  }

  .case-card {
    transition: transform 180ms ease, border-color 180ms ease;
  }

  .case-card:hover {
    transform: translateY(-5px);
  }
}

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

@keyframes service-scan {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(290%);
  }
}

@keyframes network-drift {
  from {
    stroke-dashoffset: 0;
  }

  to {
    stroke-dashoffset: -68;
  }
}

@keyframes network-spin {
  from {
    transform: rotate(-14deg);
  }

  to {
    transform: rotate(346deg);
  }
}

@keyframes network-float {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -10px;
  }
}

@keyframes signal-pulse {
  0%,
  100% {
    opacity: 0.74;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.18);
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(340px, 0.55fr);
  gap: 18px;
  align-items: start;
}

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

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.band-dark label {
  color: rgba(255, 255, 255, 0.78);
}

.form-panel {
  background: rgba(255, 255, 255, 0.96);
}

.form-panel label,
.band-dark .form-panel label {
  color: #172033;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 12px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.form-panel input::placeholder,
.form-panel textarea::placeholder {
  color: #5d6472;
  opacity: 1;
}

.lead-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
}

.lead-form-status {
  grid-column: 1 / -1;
  margin: 0;
  color: #445066;
  font-size: 13px;
}

.lead-form-status[data-state="success"] { color: #0f6b6f; }
.lead-form-status[data-state="error"] { color: #b42318; }

textarea {
  min-height: 118px;
  resize: vertical;
}

.span-2 {
  grid-column: span 2;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.contact-list div {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.contact-list strong {
  display: block;
  margin-bottom: 5px;
}

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

.contact-channel,
.wechat-qr-placeholder {
  min-height: 112px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-channel.primary {
  border-color: rgba(20, 217, 212, 0.32);
  background: rgba(20, 217, 212, 0.1);
}

.panel .contact-channel,
.panel .wechat-qr-placeholder {
  background: rgba(18, 89, 255, 0.06);
  color: var(--ink);
}

.panel .contact-channel.primary {
  border-color: rgba(20, 217, 212, 0.3);
  background: rgba(20, 217, 212, 0.08);
}

.contact-channel a,
.contact-channel span,
.wechat-qr-placeholder span {
  display: block;
  color: inherit;
  line-height: 1.5;
}

.contact-channel a {
  color: var(--cyan);
  font-weight: 900;
}

.panel .contact-channel a {
  color: var(--blue);
}

.contact-channel span,
.wechat-qr-placeholder span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.panel .contact-channel span,
.panel .wechat-qr-placeholder span {
  color: #445066;
}

.wechat-qr-placeholder {
  display: grid;
  place-items: center;
  text-align: center;
  background:
    linear-gradient(90deg, rgba(20, 217, 212, 0.14) 1px, transparent 1px),
    linear-gradient(rgba(20, 217, 212, 0.14) 1px, transparent 1px),
    rgba(255, 255, 255, 0.06);
  background-size: 18px 18px;
}

.brand-entry-panel {
  display: grid;
  gap: 18px;
  overflow: hidden;
}

.brand-entry-head {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.brand-entry-logo {
  width: 84px;
  height: 84px;
  border: 1px solid rgba(20, 217, 212, 0.18);
  border-radius: 8px;
  padding: 10px;
  background: rgba(7, 17, 31, 0.86);
  object-fit: contain;
}

.brand-entry-head strong {
  display: block;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.2;
}

.subhero .brand-entry-head span {
  color: var(--muted);
  font-size: 14px;
}

.brand-entry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.brand-entry-grid span,
.brand-entry-contact {
  border: 1px solid rgba(18, 89, 255, 0.16);
  border-radius: 8px;
  padding: 10px;
  background: rgba(18, 89, 255, 0.06);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.brand-entry-contact {
  display: grid;
  gap: 6px;
  border-color: rgba(20, 217, 212, 0.24);
  background: rgba(20, 217, 212, 0.08);
}

.brand-entry-contact a {
  color: var(--blue);
}

.subhero {
  background: linear-gradient(135deg, var(--navy), var(--navy-2) 56%, #2b1845);
  color: var(--white);
  padding: 86px 0 54px;
}

.subhero .section-inner.two-col {
  align-items: center;
}

.subhero .feature-image {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.26);
}

.subhero h1 {
  font-size: clamp(40px, 5.2vw, 70px);
}

.subhero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
}

.case-hero {
  padding: 72px 0;
}

.case-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(360px, 0.38fr);
  gap: 28px;
  align-items: center;
}

.case-hero-image {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.case-meta span {
  display: inline-flex;
  border: 1px solid rgba(20, 217, 212, 0.28);
  border-radius: 999px;
  padding: 7px 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 800;
}

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

.case-snapshot .metric-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 15px;
}

.case-snapshot .metric-card span {
  display: block;
  color: var(--muted);
  line-height: 1.62;
}

.case-section {
  background:
    linear-gradient(rgba(18, 89, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 21, 41, 0.06) 1px, transparent 1px),
    var(--paper);
  background-size: 44px 44px, 44px 44px, auto;
}

.case-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(320px, 0.32fr);
  gap: 18px;
  align-items: start;
}

.case-main,
.case-aside {
  display: grid;
  gap: 16px;
}

.case-aside {
  position: sticky;
  top: 92px;
}

.case-block {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.case-block h2 {
  font-size: clamp(28px, 3.4vw, 46px);
}

.case-block p:last-child {
  margin-bottom: 0;
}

.case-step-grid,
.case-proof-grid,
.case-media-grid,
.team-grid,
.capability-grid {
  display: grid;
  gap: 12px;
}

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

.case-step,
.case-proof-grid div,
.team-card,
.capability-card,
.case-media-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.case-step {
  padding: 18px;
}

.case-step strong {
  display: inline-flex;
  margin-bottom: 16px;
  border-radius: 8px;
  padding: 7px 9px;
  background: linear-gradient(135deg, var(--pink), var(--blue));
  color: var(--white);
}

.case-step h3 {
  margin-bottom: 8px;
}

.case-proof-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.case-proof-grid div {
  padding: 18px;
}

.case-proof-grid strong {
  display: block;
  margin-bottom: 8px;
}

.case-proof-grid span {
  color: var(--muted);
  line-height: 1.62;
}

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

.case-media-card {
  overflow: hidden;
  color: var(--ink);
}

.case-media-card img,
.case-media-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #081225;
}

.case-media-card span,
.case-media-card strong {
  display: block;
  padding: 14px;
}

.case-media-card strong {
  padding-bottom: 0;
  color: var(--pink);
  font-size: 12px;
  text-transform: uppercase;
}

.case-media-link {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(rgba(20, 217, 212, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 89, 255, 0.08) 1px, transparent 1px),
    var(--white);
  background-size: 28px 28px, 28px 28px, auto;
}

.team-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.team-card {
  padding: 24px;
}

.team-card .role {
  display: inline-flex;
  margin-bottom: 14px;
  border: 1px solid rgba(18, 89, 255, 0.22);
  border-radius: 999px;
  padding: 6px 9px;
  color: var(--pink);
  font-size: 12px;
  font-weight: 900;
}

.team-card h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

.capability-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.capability-card {
  padding: 20px;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(320px, 0.38fr);
  gap: 18px;
  align-items: start;
}

.tax-hero {
  padding: 84px 0 54px;
}

.tax-hero-grid,
.tax-tool-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(340px, 0.42fr);
  gap: 18px;
  align-items: start;
}

.tax-hero-card {
  padding: 24px;
  color: var(--ink);
}

.tax-hero-card h2 {
  color: var(--navy);
  font-size: 28px;
}

.tax-hero-card .list li {
  color: #445066;
}

.list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 20px;
}

.tax-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.tax-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 900;
}

.tax-tool-section {
  background:
    linear-gradient(rgba(20, 217, 212, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 89, 255, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, #07111f 0%, #0a1830 52%, #10193d 100%);
  background-size: 52px 52px, 52px 52px, auto;
  color: var(--white);
}

.tax-tool-section .tax-form-head,
.tax-tool-section .tax-results-head {
  margin-bottom: 18px;
}

.tax-tool-section .tax-form-head .lead,
.tax-tool-section .tax-results-head .lead {
  color: rgba(255, 255, 255, 0.72);
}

.tax-calculator-form {
  display: grid;
  gap: 16px;
  color: var(--ink);
}

.tax-calculator-form .eyebrow {
  border-color: rgba(18, 89, 255, 0.24);
  color: #92400e;
}

.tax-calculator-form .tax-form-head .lead {
  color: #445066;
}

.tax-form-grid {
  gap: 12px;
}

.tax-form-grid label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.tax-context,
.tax-status,
.tax-footnote {
  margin-bottom: 0;
}

.tax-context,
.tax-status {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.6;
}

.tax-calculator-form .tax-context {
  color: #445066;
}

.tax-status {
  color: rgba(20, 217, 212, 0.88);
  font-weight: 800;
}

.tax-calculator-form .tax-status {
  color: #0f6b6f;
}

.tax-results {
  display: grid;
  gap: 16px;
}

.tax-result-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tax-metric {
  min-height: 124px;
  display: grid;
  align-content: space-between;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
}

.tax-metric strong {
  color: var(--muted);
  font-size: 13px;
}

.tax-metric span {
  color: var(--navy);
  font-size: 28px;
  line-height: 1.08;
  font-weight: 950;
}

.tax-formula {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.06);
}

.tax-formula strong {
  font-size: 16px;
  line-height: 1.4;
}

.tax-formula p,
.tax-footnote {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.6;
}

.tax-footnote {
  max-width: 760px;
}

.feature-image {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.footer {
  background: #050d1a;
  color: rgba(255, 255, 255, 0.72);
  padding: 34px 0;
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

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

.footer .icp-record {
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}

/* Campaign Engine remix: an editorial shell surrounding a working MCN campaign engine. */
.mcn-home {
  background: #edf1f5;
}

.mcn-home .topbar {
  border-bottom-color: rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.9);
  color: #0f172a;
}

.mcn-home .brand-logo-mark {
  filter: none;
}

.mcn-home .nav-links {
  color: #475569;
}

.mcn-home .nav-links a:hover {
  color: #0f172a;
}

.market-hero[data-template="campaign-engine-agency-remix"] {
  min-height: auto;
  padding: 0 18px;
  background: #edf1f5;
  color: #0f172a;
}

.market-hero[data-template="campaign-engine-agency-remix"]::before,
.market-hero[data-template="campaign-engine-agency-remix"]::after {
  display: none;
}

.agency-shell {
  position: relative;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 100px 48px 76px;
  overflow: hidden;
  border-right: 1px solid rgba(15, 23, 42, 0.12);
  border-left: 1px solid rgba(15, 23, 42, 0.12);
  background: #ffffff;
}

.agency-corner {
  position: absolute;
  width: 7px;
  height: 7px;
  background: #94a3b8;
}

.agency-corner-tl { top: 0; left: 0; transform: translate(-1px, -1px); }
.agency-corner-tr { top: 0; right: 0; transform: translate(1px, -1px); }
.agency-corner-bl { bottom: 0; left: 0; transform: translate(-1px, 1px); }
.agency-corner-br { right: 0; bottom: 0; transform: translate(1px, 1px); }

.agency-hero-copy {
  max-width: 790px;
  margin: 0 auto 54px;
  text-align: center;
}

.market-hero[data-template="campaign-engine-agency-remix"] .eyebrow {
  margin-bottom: 18px;
  border-color: rgba(15, 23, 42, 0.2);
  background: #f8fafc;
  color: #475569;
  font-weight: 700;
}

.market-hero[data-template="campaign-engine-agency-remix"] h1 {
  max-width: 760px;
  margin: 0 auto 20px;
  color: #0f172a;
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0;
  text-shadow: none;
}

.market-hero[data-template="campaign-engine-agency-remix"] .hero-lead {
  max-width: 660px;
  margin: 0 auto;
  color: #64748b;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
}

.agency-engine {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(264px, 314px) minmax(0, 1fr);
  align-items: center;
  gap: 32px;
  min-height: 466px;
  padding: 42px 46px;
  overflow: hidden;
  border-radius: 24px;
  background:
    linear-gradient(rgba(148, 163, 184, 0.085) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.085) 1px, transparent 1px),
    #07101f;
  background-size: 34px 34px, 34px 34px, auto;
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.24);
}

.agency-engine::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 56%, rgba(47, 95, 255, 0.36), transparent 31%);
  pointer-events: none;
}

.engine-rail,
.engine-case-card {
  position: relative;
  z-index: 1;
}

.engine-rail {
  display: grid;
  justify-items: start;
  gap: 12px;
}

.engine-rail-output {
  justify-items: end;
}

.engine-connector {
  width: 108px;
  height: 22px;
  border-right: 1px dashed rgba(203, 213, 225, 0.3);
}

.engine-rail-output .engine-connector {
  border-right: 0;
  border-left: 1px dashed rgba(203, 213, 225, 0.3);
}

.engine-pill {
  display: grid;
  gap: 4px;
  min-width: 152px;
  padding: 14px 18px;
  border: 1px solid rgba(203, 213, 225, 0.2);
  border-radius: 999px;
  background: rgba(30, 41, 59, 0.86);
  color: #e2e8f0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 10px 22px rgba(0, 0, 0, 0.2);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.engine-pill:hover,
.engine-pill:focus-visible {
  border-color: rgba(226, 232, 240, 0.65);
  background: #334155;
  outline: none;
  transform: translateY(-3px);
}

.engine-pill strong {
  font-size: 13px;
  line-height: 1.2;
}

.engine-pill span {
  color: #94a3b8;
  font-size: 11px;
  line-height: 1.4;
}

.engine-pill-emphasis {
  border-color: rgba(96, 165, 250, 0.44);
  background: #142c5f;
}

.engine-pill-emphasis strong { color: #dbeafe; }
.engine-pill-emphasis span { color: #bfdbfe; }

.engine-case-card {
  padding: 14px;
  border: 1px solid rgba(226, 232, 240, 0.2);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 40px rgba(0, 0, 0, 0.28);
}

.engine-case-head,
.engine-case-foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  line-height: 1.3;
}

.engine-case-head {
  align-items: center;
  margin-bottom: 12px;
  color: #94a3b8;
}

.engine-case-head a {
  color: #e2e8f0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.engine-case-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  object-fit: cover;
}

.engine-case-foot {
  align-items: baseline;
  margin-top: 12px;
  color: #94a3b8;
}

.engine-case-foot strong {
  color: #f8fafc;
  font-size: 14px;
}

.agency-hero-bottom {
  display: grid;
  justify-items: center;
  margin-top: 36px;
}

.market-hero[data-template="campaign-engine-agency-remix"] .hero-actions {
  justify-content: center;
  margin: 0 0 22px;
}

.market-hero[data-template="campaign-engine-agency-remix"] .button {
  border-color: #0f172a;
  border-radius: 999px;
  background: #0f172a;
  color: #f8fafc;
  box-shadow: none;
}

.market-hero[data-template="campaign-engine-agency-remix"] .button.secondary {
  border-color: rgba(15, 23, 42, 0.18);
  background: #ffffff;
  color: #0f172a;
}

.market-hero[data-template="campaign-engine-agency-remix"] .trust-strip {
  max-width: 720px;
  margin: 0;
  border-color: rgba(15, 23, 42, 0.14);
  border-radius: 15px;
  background: #f8fafc;
  box-shadow: none;
}

.market-hero[data-template="campaign-engine-agency-remix"] .trust-item {
  border-color: rgba(15, 23, 42, 0.12);
}

.market-hero[data-template="campaign-engine-agency-remix"] .trust-item strong { color: #0f172a; }
.market-hero[data-template="campaign-engine-agency-remix"] .trust-item span { color: #64748b; }

/* Shared public-site system, inherited from the Campaign Engine template. */
.template-site {
  background: #edf1f5;
  color: #0f172a;
}

.template-site .topbar {
  border-bottom-color: rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.94);
  color: #0f172a;
}

.template-site .brand-logo-mark {
  filter: none;
}

.template-site .nav-links {
  color: #475569;
}

.template-site .nav-links a:hover {
  color: #0f172a;
}

.template-site main {
  width: min(1180px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border-right: 1px solid rgba(15, 23, 42, 0.12);
  border-left: 1px solid rgba(15, 23, 42, 0.12);
  background: #ffffff;
}

.template-site section {
  padding: 76px 0;
  background: #ffffff;
}

.template-site .section-inner {
  width: min(1016px, calc(100% - 64px));
}

.template-site .subhero {
  position: relative;
  padding: 92px 0 64px;
  background:
    linear-gradient(rgba(15, 23, 42, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.045) 1px, transparent 1px),
    #ffffff;
  background-size: 44px 44px, 44px 44px, auto;
  color: #0f172a;
}

.template-site .subhero h1 {
  max-width: 820px;
  color: #0f172a;
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 500;
  line-height: 1.1;
}

.template-site .subhero p {
  color: #64748b;
  font-size: 17px;
}

.template-site .subhero .feature-image,
.template-site .case-hero-image {
  height: auto;
  border-color: rgba(15, 23, 42, 0.16);
  border-radius: 16px;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.12);
}

.template-site .eyebrow {
  border-color: rgba(15, 23, 42, 0.2);
  border-radius: 999px;
  background: #f8fafc;
  color: #475569;
  font-weight: 700;
}

.template-site h2 {
  color: #0f172a;
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 500;
}

.template-site .section-head {
  gap: 42px;
}

.template-site .section-head p,
.template-site .lead {
  color: #64748b;
}

.template-site .button {
  border-color: #0f172a;
  border-radius: 999px;
  background: #0f172a;
  color: #f8fafc;
  box-shadow: none;
}

.template-site .button.secondary {
  border-color: rgba(15, 23, 42, 0.18);
  background: #ffffff;
  color: #0f172a;
}

.template-site .button.light {
  border-color: #0f172a;
  background: #0f172a;
}

.template-site .tech-section,
.template-site .band-dark {
  position: relative;
  background:
    linear-gradient(rgba(148, 163, 184, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.09) 1px, transparent 1px),
    #0f172a;
  background-size: 36px 36px, 36px 36px, auto;
  color: #f8fafc;
}

.template-site .tech-section::before {
  display: none;
}

.template-site .tech-section h2,
.template-site .band-dark h2,
.template-site .tech-section .section-head p,
.template-site .band-dark .section-head p,
.template-site .band-dark .lead {
  color: #f8fafc;
}

.template-site .tech-section .section-head p,
.template-site .band-dark .section-head p,
.template-site .band-dark .lead {
  color: rgba(226, 232, 240, 0.72);
}

.template-site .card,
.template-site .case-card,
.template-site .panel,
.template-site .form-panel,
.template-site .metric-card,
.template-site .case-block,
.template-site .case-step,
.template-site .case-proof-grid div,
.template-site .team-card,
.template-site .capability-card,
.template-site .case-media-card {
  border-color: rgba(15, 23, 42, 0.16);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.template-site .card::before,
.template-site .case-card::before {
  display: none;
}

.template-site .card:hover,
.template-site .case-card:hover {
  border-color: rgba(15, 23, 42, 0.34);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.12);
  transform: translateY(-3px);
}

.template-site .card h3,
.template-site .case-card h3,
.template-site .panel h3,
.template-site .case-block h3 {
  color: #0f172a;
}

.template-site .card p,
.template-site .case-card p,
.template-site .panel p,
.template-site .case-block p {
  color: #64748b;
}

.template-site .band-dark .card,
.template-site .band-dark .case-card,
.template-site .band-dark .panel,
.template-site .band-dark .metric-card,
.template-site .tech-section .card,
.template-site .tech-section .case-card,
.template-site .tech-section .panel,
.template-site .tech-section .metric-card,
.template-site .tech-section .capability-card,
.template-site .band-dark .capability-card {
  border-color: rgba(203, 213, 225, 0.18);
  background: rgba(30, 41, 59, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.template-site .band-dark .card h3,
.template-site .band-dark .case-card h3,
.template-site .band-dark .panel h3,
.template-site .tech-section .card h3,
.template-site .tech-section .case-card h3,
.template-site .tech-section .panel h3,
.template-site .tech-section .capability-card h3,
.template-site .band-dark .capability-card h3 {
  color: #f8fafc;
}

.template-site .band-dark .card p,
.template-site .band-dark .case-card p,
.template-site .band-dark .panel p,
.template-site .tech-section .card p,
.template-site .tech-section .case-card p,
.template-site .tech-section .panel p,
.template-site .tech-section .capability-card p,
.template-site .band-dark .capability-card p {
  color: rgba(226, 232, 240, 0.68);
}

.template-site .case-meta span,
.template-site .team-card .role {
  border-color: rgba(15, 23, 42, 0.16);
  background: #f8fafc;
  color: #475569;
}

.template-site .case-step strong {
  border-radius: 999px;
  background: #0f172a;
}

.template-site .case-section {
  background:
    linear-gradient(rgba(15, 23, 42, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.045) 1px, transparent 1px),
    #f8fafc;
  background-size: 40px 40px, 40px 40px, auto;
}

.template-site .form-panel {
  padding: 28px;
  background: #ffffff;
}

.template-site .form-panel input,
.template-site .form-panel select,
.template-site .form-panel textarea {
  border-color: rgba(15, 23, 42, 0.16);
  border-radius: 10px;
  background: #f8fafc;
  color: #0f172a;
}

.template-site .footer {
  background: #0f172a;
}

.mcn-home .floating-cta {
  transition: opacity 180ms ease, transform 180ms ease;
}

.mcn-home .floating-cta.is-hidden-over-hero {
  opacity: 0;
  pointer-events: none;
  transform: translateX(14px);
}

/* A project-specific editorial treatment for the Endfield Thailand case. */
.case-endfield-site {
  background: #070b12;
  color: #0d1726;
}

.case-endfield-site ::selection {
  background: #8bdad0;
  color: #07101a;
}

.case-endfield-site .topbar {
  border-bottom-color: rgba(218, 231, 239, 0.14);
  background: rgba(7, 11, 18, 0.94);
  color: #f6f8fb;
}

.case-endfield-site .nav-links {
  color: rgba(246, 248, 251, 0.68);
}

.case-endfield-site .nav-links a:hover {
  color: #8bdad0;
}

.case-endfield-site main {
  width: min(1280px, 100%);
  border: 0;
  background: #f4f7f9;
}

.case-endfield-site .section-inner {
  width: min(1080px, calc(100% - 64px));
}

.case-endfield-site section {
  padding: 0;
}

.case-endfield-site .button {
  min-height: 48px;
  border: 1px solid #0d1726;
  border-radius: 0;
  padding: 0 20px;
  background: #0d1726;
  color: #f6f8fb;
  box-shadow: none;
}

.case-endfield-site .case-block {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.case-endfield-site .button:hover {
  background: #1a324a;
}

.case-endfield-site a:focus-visible {
  outline: 3px solid #e7b84e;
  outline-offset: 4px;
}

.case-endfield-site .endfield-hero {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: linear-gradient(122deg, #070b12 0%, #0d1725 58%, #152737 100%);
  color: #f6f8fb;
}

.endfield-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
  gap: clamp(42px, 4vw, 64px);
  align-items: center;
  min-height: 640px;
  padding: 92px 0 76px;
}

.endfield-hero-copy {
  padding: 18px 0 14px;
}

.endfield-route,
.endfield-section-heading > p,
.endfield-results p:first-child,
.endfield-contact p:first-child {
  margin-bottom: 22px;
  color: #76d1c8;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.case-endfield-site .endfield-route {
  margin-bottom: 22px;
  color: #76d1c8;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.case-endfield-site .endfield-hero h1 {
  max-width: 640px;
  margin-bottom: 26px;
  color: #f6f8fb;
  font-size: clamp(52px, 5.4vw, 62px);
  font-weight: 650;
  line-height: 1.02;
}

.endfield-hero h1 span {
  display: block;
  color: #e7b84e;
}

.case-endfield-site .endfield-lead {
  max-width: 600px;
  margin-bottom: 34px;
  color: rgba(234, 241, 247, 0.78);
  font-size: 18px;
  line-height: 1.78;
}

.endfield-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 620px;
  margin: 0 0 30px;
  border-top: 1px solid rgba(234, 241, 247, 0.22);
  border-bottom: 1px solid rgba(234, 241, 247, 0.22);
  padding: 15px 0;
}

.endfield-facts div {
  min-width: 0;
}

.endfield-facts dt {
  margin-bottom: 6px;
  color: rgba(234, 241, 247, 0.54);
  font-size: 12px;
}

.endfield-facts dd {
  margin: 0;
  color: #f6f8fb;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.endfield-jump {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(231, 184, 78, 0.72);
  padding-bottom: 7px;
  color: #e7b84e;
  font-size: 14px;
  font-weight: 800;
}

.endfield-jump span {
  font-size: 19px;
  line-height: 0.8;
}

.endfield-hero-art {
  position: relative;
  margin: 0;
  border-top: 1px solid rgba(231, 184, 78, 0.78);
  padding-top: 13px;
}

.endfield-hero-art img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  box-shadow: 20px 22px 0 #e7b84e;
}

.endfield-hero-art figcaption {
  max-width: 380px;
  margin-top: 18px;
  color: rgba(234, 241, 247, 0.68);
  font-size: 13px;
  line-height: 1.55;
}

.case-endfield-site .endfield-context {
  background: #e8eef2;
}

.endfield-context .section-inner,
.endfield-system .section-inner,
.endfield-evidence .section-inner {
  padding: 104px 0;
}

.endfield-section-heading {
  display: grid;
  grid-template-columns: minmax(144px, 0.26fr) minmax(0, 0.74fr);
  gap: 28px;
  align-items: start;
}

.endfield-section-heading > p {
  margin: 10px 0 0;
  color: #37646b;
}

.endfield-section-heading h2,
.endfield-results h2,
.endfield-contact h2 {
  max-width: 760px;
  margin: 0;
  color: #0d1726;
  font-size: clamp(34px, 4.1vw, 58px);
  font-weight: 620;
  line-height: 1.12;
}

.endfield-audience-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 72px;
  border-top: 1px solid rgba(13, 23, 38, 0.22);
}

.endfield-audience-map article {
  min-height: 208px;
  padding: 22px 30px 8px 0;
}

.endfield-audience-map article + article {
  border-left: 1px solid rgba(13, 23, 38, 0.22);
  padding-left: 30px;
}

.endfield-audience-map h3,
.endfield-path h3 {
  margin-bottom: 16px;
  color: #0d1726;
  font-size: 22px;
  font-weight: 750;
}

.endfield-audience-map p,
.endfield-path p,
.endfield-results-copy p,
.endfield-evidence .endfield-section-heading > span,
.endfield-contact p:not(:first-child) {
  margin-bottom: 0;
  color: #506171;
  font-size: 16px;
  line-height: 1.74;
}

.case-endfield-site .endfield-system {
  background: #0d1726;
}

.endfield-system .endfield-section-heading > p {
  color: #8bdad0;
}

.endfield-system .endfield-section-heading h2,
.endfield-system .endfield-path h3 {
  color: #f6f8fb;
}

.endfield-path {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 76px;
}

.endfield-path article {
  border-top: 1px solid rgba(246, 248, 251, 0.24);
  padding-top: 20px;
}

.endfield-path span {
  display: block;
  margin-bottom: 50px;
  color: #e7b84e;
  font-size: 13px;
  font-weight: 800;
}

.endfield-path p {
  color: rgba(234, 241, 247, 0.68);
  font-size: 15px;
}

.case-endfield-site .endfield-results {
  background: #8bdad0;
}

.endfield-results-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 0.65fr);
  gap: clamp(44px, 8vw, 120px);
  padding: 104px 0;
}

.endfield-results p:first-child,
.endfield-contact p:first-child {
  color: #214b54;
}

.endfield-results-copy {
  align-self: end;
}

.endfield-results-copy p {
  color: #183e48;
}

.endfield-results-copy p + p {
  margin-top: 22px;
  border-top: 1px solid rgba(13, 23, 38, 0.28);
  padding-top: 18px;
  color: rgba(13, 23, 38, 0.76);
  font-size: 14px;
}

.case-endfield-site .endfield-evidence {
  background: #f4f7f9;
}

.endfield-evidence .endfield-section-heading > span {
  grid-column: 2;
  max-width: 560px;
  margin-top: 2px;
}

.endfield-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 72px;
}

.endfield-media-card {
  display: block;
  min-width: 0;
  color: #0d1726;
}

.endfield-media-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #0d1726;
  transition: transform 220ms ease-out;
}

.endfield-media-card:hover img {
  transform: scale(1.015);
}

.endfield-media-card span {
  display: block;
  border-top: 1px solid rgba(13, 23, 38, 0.2);
  padding-top: 14px;
  color: #25384a;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.5;
}

.endfield-media-wide {
  grid-column: 1 / -1;
}

.case-endfield-site .endfield-contact {
  background: #e7b84e;
}

.endfield-contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.6fr);
  gap: clamp(40px, 8vw, 112px);
  padding: 88px 0;
}

.endfield-contact h2 {
  max-width: 700px;
}

.endfield-contact p:not(:first-child) {
  margin-bottom: 28px;
  color: #27303b;
}

.case-endfield-site .footer {
  background: #070b12;
}

@media (max-width: 1040px) {
  .endfield-hero-grid,
  .endfield-results-grid,
  .endfield-contact-inner {
    grid-template-columns: 1fr;
  }

  .endfield-hero-grid {
    min-height: 0;
    gap: 54px;
  }

  .endfield-hero-art {
    width: min(100%, 780px);
  }

  .endfield-results-grid {
    gap: 34px;
  }

  .endfield-contact-inner {
    gap: 32px;
  }
}

@media (max-width: 820px) {
  .case-endfield-site .section-inner {
    width: min(100% - 32px, 1080px);
  }

  .endfield-hero-grid {
    padding: 58px 0 62px;
  }

  .endfield-hero h1 {
    font-size: clamp(38px, 11vw, 54px);
  }

  .endfield-lead {
    font-size: 16px;
  }

  .endfield-facts {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .endfield-facts div {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 10px;
  }

  .endfield-facts dt {
    margin: 0;
  }

  .endfield-hero-art img {
    box-shadow: 12px 14px 0 #e7b84e;
  }

  .endfield-context .section-inner,
  .endfield-system .section-inner,
  .endfield-evidence .section-inner,
  .endfield-results-grid,
  .endfield-contact-inner {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .endfield-section-heading {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .endfield-section-heading > p {
    margin: 0;
  }

  .endfield-section-heading h2,
  .endfield-results h2,
  .endfield-contact h2 {
    font-size: 34px;
  }

  .endfield-audience-map,
  .endfield-path,
  .endfield-media-grid {
    grid-template-columns: 1fr;
  }

  .endfield-audience-map {
    gap: 0;
    margin-top: 46px;
  }

  .endfield-audience-map article,
  .endfield-audience-map article + article {
    min-height: auto;
    border-left: 0;
    border-bottom: 1px solid rgba(13, 23, 38, 0.2);
    padding: 22px 0;
  }

  .endfield-path {
    gap: 36px;
    margin-top: 48px;
  }

  .endfield-path span {
    margin-bottom: 18px;
  }

  .endfield-evidence .endfield-section-heading > span {
    grid-column: auto;
  }

  .endfield-media-grid {
    gap: 34px;
    margin-top: 48px;
  }

  .endfield-media-wide {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .template-site main {
    border: 0;
  }

  .template-site section {
    padding: 58px 0;
  }

  .template-site .section-inner {
    width: min(100% - 32px, 1016px);
  }

  .template-site .subhero {
    padding: 68px 0 48px;
  }

  .template-site .subhero h1 {
    font-size: 36px;
  }

  .template-site .card,
  .template-site .case-card,
  .template-site .panel,
  .template-site .form-panel,
  .template-site .metric-card {
    border-radius: 12px;
  }
}

/* The home page keeps its MCN-specific composition, with the same template system below the engine. */
.mcn-home main > section:not(.hero) {
  padding: 76px 0;
  background: #ffffff;
}

.mcn-home main > .starter-section {
  background: #ffffff;
}

.mcn-home main > .tech-section,
.mcn-home main > .band-dark,
.mcn-home main > .process-band {
  background:
    linear-gradient(rgba(148, 163, 184, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.09) 1px, transparent 1px),
    #0f172a;
  background-size: 36px 36px, 36px 36px, auto;
}

.mcn-home main > .tech-section::before,
.mcn-home main > .process-band::before {
  display: none;
}

.mcn-home .section-inner {
  width: min(1016px, calc(100% - 64px));
}

.mcn-home .section-head {
  gap: 42px;
}

.mcn-home main > section:not(.hero) .eyebrow {
  border-color: rgba(15, 23, 42, 0.2);
  background: #f8fafc;
  color: #475569;
  font-weight: 700;
}

.mcn-home main > .tech-section .eyebrow,
.mcn-home main > .band-dark .eyebrow,
.mcn-home main > .process-band .eyebrow {
  border-color: rgba(203, 213, 225, 0.22);
  background: rgba(30, 41, 59, 0.8);
  color: #cbd5e1;
}

.mcn-home main > section:not(.hero) h2 {
  color: #0f172a;
  font-weight: 500;
}

.mcn-home main > .tech-section h2,
.mcn-home main > .band-dark h2,
.mcn-home main > .process-band h2,
.mcn-home main > .tech-section .section-head p,
.mcn-home main > .band-dark .section-head p,
.mcn-home main > .process-band .section-head p {
  color: #f8fafc;
}

.mcn-home .card,
.mcn-home .case-card,
.mcn-home .panel,
.mcn-home .metric-card {
  border-color: rgba(15, 23, 42, 0.16);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.mcn-home .card::before,
.mcn-home .case-card::before {
  display: none;
}

.mcn-home .card:hover,
.mcn-home .case-card:hover {
  border-color: rgba(15, 23, 42, 0.34);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.12);
}

.mcn-home main > .tech-section .card,
.mcn-home main > .band-dark .card,
.mcn-home main > .band-dark .case-card,
.mcn-home main > .band-dark .panel,
.mcn-home main > .process-band .process-step {
  border-color: rgba(203, 213, 225, 0.18);
  border-radius: 16px;
  background: rgba(30, 41, 59, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.mcn-home main > .tech-section .card h3,
.mcn-home main > .band-dark .case-card h3,
.mcn-home main > .band-dark .panel h3,
.mcn-home main > .process-band .process-step span,
.mcn-home main > .process-band .process-step strong {
  color: #f8fafc;
}

.mcn-home main > .tech-section .card p,
.mcn-home main > .band-dark .case-card p,
.mcn-home main > .band-dark .panel p,
.mcn-home main > .process-band .process-step p {
  color: rgba(226, 232, 240, 0.68);
}

.mcn-home .starter-section .tax-tool-mini {
  border-color: rgba(15, 23, 42, 0.16);
  border-radius: 14px;
  background: #f8fafc;
  box-shadow: none;
}

@media (max-width: 640px) {
  .mcn-home main > section:not(.hero) {
    padding: 58px 0;
  }

  .mcn-home .section-inner {
    width: min(100% - 32px, 1016px);
  }

  .mcn-home .card,
  .mcn-home .case-card,
  .mcn-home .panel,
  .mcn-home .metric-card,
  .mcn-home main > .process-band .process-step {
    border-radius: 12px;
  }
}

.creator-matrix-section {
  position: relative;
  overflow: hidden;
  padding: 112px 0;
  background: #edf1f5;
  color: #0f172a;
}

.creator-matrix-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.075) 1px, transparent 1px);
  background-size: 46px 46px;
  pointer-events: none;
}

.creator-matrix-section .section-inner {
  position: relative;
}

.creator-matrix-section .eyebrow {
  border-color: rgba(15, 23, 42, 0.28);
  color: #334155;
}

.creator-matrix-section .section-head h2 {
  color: #0f172a;
}

.creator-matrix-section .section-head > p {
  color: #475569;
}

.creator-matrix {
  display: grid;
  grid-template-columns: 1.12fr 1fr 1fr 1fr;
  border: 1px solid rgba(15, 23, 42, 0.22);
  border-radius: 15px;
  overflow: hidden;
  background: rgba(248, 250, 252, 0.72);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
}

.creator-cell {
  min-height: 312px;
  padding: 26px 24px;
  border-left: 1px solid rgba(15, 23, 42, 0.16);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.creator-cell:first-child {
  border-left: 0;
}

.creator-cell-featured {
  background: #0f172a;
  color: #f8fafc;
}

.creator-index,
.creator-role,
.creator-signal {
  font-size: 12px;
  line-height: 1.4;
}

.creator-index {
  color: #64748b;
}

.creator-role {
  margin: 42px 0 8px;
  color: #475569;
}

.creator-cell h3 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.22;
}

.creator-cell > p:not(.creator-role) {
  margin-bottom: 20px;
  color: #475569;
  font-size: 15px;
  line-height: 1.7;
}

.creator-cell-featured .creator-index,
.creator-cell-featured .creator-role {
  color: #cbd5e1;
}

.creator-cell-featured > p:not(.creator-role) {
  color: rgba(226, 232, 240, 0.78);
}

.creator-signal {
  margin-top: auto;
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: 999px;
  padding: 6px 9px;
  color: #334155;
}

.creator-cell-featured .creator-signal {
  border-color: rgba(203, 213, 225, 0.32);
  color: #e2e8f0;
}

.creator-matrix-footer {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 16px;
  color: #475569;
  font-size: 13px;
}

.creator-matrix-footer .text-link {
  margin-left: auto;
  color: #0f172a;
}

@media (max-width: 900px) {
  .agency-shell {
    padding: 76px 28px 60px;
  }

  .agency-engine {
    grid-template-columns: minmax(0, 1fr) minmax(228px, 280px) minmax(0, 1fr);
    gap: 18px;
    padding: 34px 24px;
  }

  .engine-pill {
    min-width: 126px;
    padding: 12px 14px;
  }

  .engine-connector {
    width: 76px;
  }

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

  .creator-cell:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(15, 23, 42, 0.16);
  }

  .creator-cell:nth-child(4) {
    border-top: 1px solid rgba(15, 23, 42, 0.16);
  }
}

@media (max-width: 640px) {
  .market-hero[data-template="campaign-engine-agency-remix"] h1 {
    font-size: 38px;
  }

  .market-hero[data-template="campaign-engine-agency-remix"] .hero-lead {
    font-size: 17px;
  }

  .market-hero[data-template="campaign-engine-agency-remix"] {
    padding: 0;
  }

  .mcn-home .topbar {
    background: #ffffff;
  }

  .agency-shell {
    padding: 56px 16px 46px;
    border: 0;
  }

  .agency-hero-copy {
    margin-bottom: 34px;
  }

  .agency-engine {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: 0;
    padding: 22px 16px;
    border-radius: 16px;
  }

  .engine-rail,
  .engine-rail-output {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-items: stretch;
    gap: 8px;
  }

  .engine-rail { order: 1; }
  .engine-case-card { order: 2; width: min(100%, 296px); justify-self: center; }
  .engine-rail-output { order: 3; }

  .engine-connector {
    display: none;
  }

  .engine-pill {
    min-width: 0;
    min-height: 84px;
    padding: 11px 9px;
    border-radius: 12px;
  }

  .engine-pill strong {
    font-size: 11px;
  }

  .engine-pill span {
    font-size: 10px;
  }

  .agency-hero-bottom {
    margin-top: 26px;
  }

  .market-hero[data-template="campaign-engine-agency-remix"] .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .market-hero[data-template="campaign-engine-agency-remix"] .trust-item:nth-child(2) {
    border-right: 0;
  }

  .market-hero[data-template="campaign-engine-agency-remix"] .trust-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(15, 23, 42, 0.12);
  }

  .creator-matrix-section {
    padding: 72px 0;
  }

  .creator-matrix {
    grid-template-columns: 1fr;
  }

  .creator-cell,
  .creator-cell:nth-child(3),
  .creator-cell:nth-child(4) {
    min-height: 250px;
    border-top: 1px solid rgba(15, 23, 42, 0.16);
    border-left: 0;
  }

  .creator-cell:first-child {
    border-top: 0;
  }

  .creator-role {
    margin-top: 28px;
  }

  .creator-matrix-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .creator-matrix-footer .text-link {
    margin-left: 0;
  }
}

.floating-cta {
  position: fixed;
  right: 20px;
  bottom: 102px;
  z-index: 78;
  display: grid;
  gap: 8px;
  width: min(236px, calc(100vw - 32px));
}

.floating-cta-item {
  display: grid;
  gap: 2px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 11px 13px;
  background: rgba(7, 21, 41, 0.86);
  color: var(--white);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.floating-cta-item.primary {
  border-color: rgba(255, 47, 113, 0.54);
  background: linear-gradient(135deg, rgba(255, 47, 113, 0.94), rgba(220, 107, 77, 0.94));
}

.floating-cta-item strong {
  font-size: 14px;
  line-height: 1.2;
}

.floating-cta-item span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  line-height: 1.35;
}

.ai-chatbot {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  width: min(380px, calc(100vw - 32px));
  color: var(--ink);
  pointer-events: none;
}

.ai-chatbot-toggle,
.ai-chatbot-panel {
  pointer-events: auto;
}

.ai-chatbot-toggle {
  position: relative;
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 7px 18px 7px 7px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.05)),
    rgba(7, 21, 41, 0.82);
  color: var(--white);
  font: inherit;
  font-weight: 900;
  box-shadow: 0 22px 70px rgba(5, 13, 26, 0.42), 0 0 36px rgba(20, 217, 212, 0.12);
  backdrop-filter: blur(18px);
  cursor: pointer;
}

.ai-chatbot-toggle::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(20, 217, 212, 0.18), transparent);
  transform: translateX(-100%);
  pointer-events: none;
}

.ai-chatbot-orb {
  display: inline-grid;
  place-items: center;
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.ai-chatbot-svg {
  width: 46px;
  height: 46px;
  filter: drop-shadow(0 0 18px rgba(20, 217, 212, 0.32));
}

.ai-chatbot-label {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2px;
  text-align: left;
}

.ai-chatbot-label span {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ai-chatbot-label strong {
  font-size: 14px;
  white-space: nowrap;
}

.ai-chatbot-panel {
  position: absolute;
  right: 0;
  bottom: 70px;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 26px 76px rgba(5, 13, 26, 0.34);
  opacity: 0;
  transform: translateY(12px);
  visibility: hidden;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.ai-chatbot[data-open="true"] .ai-chatbot-panel {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.ai-chatbot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(7, 21, 41, 0.98), rgba(18, 89, 255, 0.86)),
    var(--navy);
  color: var(--white);
}

.ai-chatbot-head strong,
.ai-chatbot-head span {
  display: block;
}

.ai-chatbot-head strong {
  font-size: 15px;
}

.ai-chatbot-head span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.ai-chatbot-head button {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font: inherit;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.ai-chatbot-messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: min(420px, calc(100vh - 230px));
  min-height: 180px;
  overflow-y: auto;
  padding: 14px;
  background:
    linear-gradient(rgba(18, 89, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 217, 212, 0.05) 1px, transparent 1px),
    #f8fafc;
  background-size: 28px 28px, 28px 28px, auto;
}

.ai-message {
  max-width: 88%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.ai-message-bot {
  align-self: flex-start;
  background: var(--white);
  color: var(--ink);
}

.ai-message-user {
  align-self: flex-end;
  border-color: rgba(18, 89, 255, 0.38);
  background: var(--blue);
  color: var(--white);
}

.ai-message-citations {
  margin-top: 8px;
  border-top: 1px solid rgba(17, 24, 39, 0.1);
  padding-top: 7px;
  color: var(--muted);
  font-size: 12px;
}

.ai-chatbot-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding: 12px;
  background: var(--white);
}

.ai-chatbot-form input {
  min-height: 42px;
  padding: 10px 12px;
}

.ai-chatbot-form button {
  min-height: 42px;
  border: 1px solid var(--pink);
  border-radius: 8px;
  padding: 0 14px;
  background: var(--pink);
  color: var(--white);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

@media (max-width: 1040px) {
  .grid-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-4,
  .grid-3,
  .process,
  .case-snapshot,
  .case-media-grid,
  .team-grid,
  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-hero-grid,
  .case-layout {
    grid-template-columns: 1fr;
  }

  .case-aside {
    position: static;
  }

  .hero-collage {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 34px;
    width: min(100%, 560px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-collage img {
    height: 132px;
  }

  .hero-collage img:nth-child(2),
  .hero-collage img:nth-child(3) {
    transform: none;
  }

  .market-hero-inner {
    grid-template-columns: 1fr;
  }

  .market-visual {
    min-height: 0;
    justify-content: flex-start;
  }

  .market-network {
    width: min(100%, 480px);
  }

  .tax-hero-grid,
  .tax-tool-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 820px) {
  .desktop-break {
    display: none;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
    row-gap: 6px;
    overflow: visible;
    padding-bottom: 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 72px 0 74px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(30px, 8.8vw, 38px);
    line-height: 1.08;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .hero-title-mobile-line {
    display: block;
  }

  .hero-lead {
    max-width: 100%;
  }

  .hero {
    background-position: 62% center;
  }

  .market-hero {
    min-height: auto;
  }

  .market-hero-inner {
    padding: 48px 0 58px;
  }

  .market-hero .hero-actions {
    margin: 24px 0 22px;
  }

  .market-visual {
    display: block;
    min-height: 0;
  }

  .market-network {
    width: 100%;
    max-width: 390px;
    margin: 0 auto;
    aspect-ratio: 0.82;
  }

  .network-glow {
    width: 190px;
    height: 128px;
  }

  .network-core {
    width: 86px;
    padding: 10px;
  }

  .network-core::after {
    inset: 18%;
  }

  .network-node {
    padding: 7px 9px;
    font-size: 10px;
  }

  .network-case-card {
    width: 92px;
  }

  .case-dove {
    left: 2%;
    top: 40%;
  }

  .case-pose {
    right: 1%;
    top: 25%;
  }

  .case-game {
    right: 13%;
    bottom: 18%;
  }

  .network-caption {
    left: 2%;
    bottom: 4%;
  }

  .network-caption strong {
    font-size: 14px;
  }

  .trust-strip {
    gap: 10px;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .trust-item {
    border: 1px solid var(--dark-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
  }

  .trust-item strong {
    color: var(--white);
  }

  .trust-item span {
    color: rgba(255, 255, 255, 0.76);
  }

  .trust-strip,
  .section-head,
  .starter-section .section-head,
  .grid-2,
  .contact-grid,
  .two-col,
  .case-snapshot,
  .case-step-grid,
  .case-proof-grid,
  .case-media-grid,
  .team-grid,
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .market-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 24px;
  }

  .market-proof .trust-item {
    padding: 12px 10px;
  }

  .market-proof .trust-item strong {
    font-size: 20px;
  }

  .market-proof .trust-item span {
    font-size: 12px;
    line-height: 1.36;
  }

  .grid-5,
  .grid-4,
  .grid-3,
  .process {
    grid-template-columns: 1fr;
  }

  .tax-hero {
    padding: 56px 0 44px;
  }

  .tax-hero-card {
    padding: 20px;
  }

  .tax-badges {
    gap: 8px;
  }

  .tax-badges span {
    min-height: 32px;
    padding: 0 10px;
    font-size: 12px;
  }

  .tax-result-grid {
    grid-template-columns: 1fr;
  }

  .tax-metric {
    min-height: 110px;
  }

  .tax-metric span {
    font-size: 24px;
  }

  .tax-tool-mini {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .tax-tool-mini-icon {
    width: 38px;
    height: 38px;
    font-size: 20px;
  }

  .tax-tool-mini-action {
    grid-column: 2;
    width: fit-content;
  }

  .contact-channel-grid,
  .brand-entry-grid {
    grid-template-columns: 1fr;
  }

  .brand-entry-head {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .brand-entry-logo {
    width: 64px;
    height: 64px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .span-2 {
    grid-column: span 1;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .floating-cta {
    left: 12px;
    right: 12px;
    bottom: 82px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: auto;
  }

  .floating-cta-item {
    min-height: 58px;
    padding: 9px 8px;
    text-align: center;
  }

  .floating-cta-item strong {
    font-size: 12px;
  }

  .floating-cta-item span {
    font-size: 11px;
  }

  .ai-chatbot {
    right: 12px;
    bottom: 12px;
    width: auto;
  }

  .ai-chatbot-toggle {
    min-height: 58px;
    gap: 0;
    padding: 6px;
  }

  .ai-chatbot-label {
    display: none;
  }

  .ai-chatbot-orb {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
  }

  .ai-chatbot-svg {
    width: 42px;
    height: 42px;
  }

  .ai-chatbot-panel {
    bottom: 66px;
    width: calc(100vw - 24px);
  }

  .ai-chatbot-messages {
    max-height: min(360px, calc(100vh - 210px));
  }

  .ai-chatbot-form {
    grid-template-columns: 1fr;
  }

  .ai-chatbot-form button {
    width: 100%;
  }
}

/* Game x beverage collaboration service page */
.collab-page {
  background: #0d0e12;
  color: var(--ink);
}

.collab-page .topbar {
  background: rgba(7, 15, 30, 0.9);
}

.collab-hero {
  position: relative;
  overflow: hidden;
  padding: 94px 0 82px;
  background:
    linear-gradient(105deg, #071529 0%, #071529 39%, rgba(7, 21, 41, 0.54) 70%, rgba(7, 21, 41, 0.9) 100%),
    url("../assets/cases/game-29-960.webp") center / cover;
  color: var(--white);
}

.collab-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% 38%;
  height: 70%;
  background: radial-gradient(ellipse, rgba(20, 217, 212, 0.22), transparent 68%);
  pointer-events: none;
}

.collab-hero-grid,
.collab-intro-grid,
.collab-pricing-grid,
.collab-brief-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 56px;
  align-items: center;
}

.collab-hero-copy h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(44px, 6vw, 80px);
  line-height: 1.04;
  font-weight: 940;
}

.collab-hero-lead {
  max-width: 620px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
}

.collab-hero .hero-actions {
  margin: 30px 0 22px;
}

.collab-note {
  max-width: 570px;
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
  line-height: 1.6;
}

.collab-note span {
  display: inline-block;
  margin-right: 8px;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.collab-hero-media {
  position: relative;
  z-index: 1;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}

.collab-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(5, 12, 25, 0.9) 100%);
  pointer-events: none;
}

.collab-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.collab-media-caption {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  z-index: 1;
  display: grid;
  gap: 4px;
}

.collab-media-caption span {
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.collab-media-caption strong {
  color: var(--white);
  font-size: 28px;
}

.collab-proof-band {
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: #111923;
  color: var(--white);
}

.collab-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.collab-proof-grid > div {
  display: grid;
  gap: 8px;
  min-height: 124px;
  align-content: center;
  padding: 22px 26px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.collab-proof-grid > div:first-child {
  border-left: 0;
}

.collab-proof-grid strong {
  color: var(--lime, #b7f34a);
  font-size: 34px;
  line-height: 1;
}

.collab-proof-grid span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
}

.collab-intro {
  padding: 102px 0;
  background: var(--paper);
}

.collab-intro-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.75fr);
  align-items: start;
}

.collab-intro h2,
.collab-pricing h2,
.collab-brief-band h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 4.2vw, 56px);
}

.collab-intro-copy {
  padding-top: 8px;
}

.collab-intro-copy p {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 18px;
}

.collab-intro-copy p:last-child {
  margin-bottom: 0;
}

.collab-modules {
  padding: 106px 0 114px;
}

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

.collab-module {
  min-height: 248px;
  padding: 28px;
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.collab-module-feature {
  grid-row: span 2;
  min-height: 510px;
  background: linear-gradient(145deg, rgba(20, 217, 212, 0.18), rgba(255, 255, 255, 0.06) 58%);
}

.collab-module-guard {
  border-color: rgba(230, 182, 94, 0.4);
  background: rgba(230, 182, 94, 0.08);
}

.collab-module-index {
  display: block;
  margin-bottom: 54px;
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
}

.collab-module h3 {
  margin-bottom: 10px;
  color: var(--white);
  font-size: 27px;
}

.collab-module p,
.collab-module li {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.65;
}

.collab-module ul {
  display: grid;
  gap: 8px;
  margin: 24px 0 0;
  padding-left: 18px;
}

.collab-flow {
  padding: 104px 0 112px;
  background: #f5f3ef;
}

.collab-flow-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin-top: 60px;
}

.collab-flow-track::before {
  content: "";
  position: absolute;
  top: 19px;
  right: 9%;
  left: 2%;
  height: 1px;
  background: rgba(18, 89, 255, 0.32);
}

.collab-flow-step {
  position: relative;
  padding: 0 18px 0 0;
}

.collab-flow-step:not(:first-child) {
  padding-left: 18px;
}

.collab-flow-step span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 24px;
  border: 1px solid var(--blue);
  border-radius: 50%;
  background: #f5f3ef;
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 800;
}

.collab-flow-step strong {
  display: block;
  margin-bottom: 9px;
  font-size: 19px;
}

.collab-flow-step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.collab-pricing {
  padding: 106px 0 0;
}

.collab-pricing-grid {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.56fr);
  align-items: stretch;
}

.collab-pricing .lead {
  max-width: 680px;
  margin-top: 26px;
  font-size: 18px;
}

.collab-price-box {
  display: grid;
  align-content: center;
  gap: 10px;
  min-height: 330px;
  padding: 34px;
  border: 1px solid rgba(183, 243, 74, 0.5);
  border-radius: 8px;
  background: rgba(183, 243, 74, 0.1);
}

.collab-price-label {
  color: var(--lime, #b7f34a);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.collab-price-box strong {
  color: var(--white);
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1;
}

.collab-price-box strong small {
  font-size: 18px;
  font-weight: 700;
}

.collab-price-box p {
  max-width: 360px;
  margin: 2px 0 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.collab-price-box .button {
  justify-self: start;
}

.collab-addons {
  margin-top: 76px;
  padding: 26px 0 70px;
  border-top: 1px solid var(--dark-line);
}

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

.collab-addon-grid > div {
  display: grid;
  gap: 6px;
}

.collab-addon-grid strong {
  color: var(--white);
  font-size: 16px;
}

.collab-addon-grid span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}

.collab-reference {
  padding: 104px 0;
  background: var(--paper);
}

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

.collab-reference-grid > div {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 142px;
  padding: 22px;
  border-top: 2px solid var(--pink);
  background: #ffffff;
}

.collab-reference-grid strong {
  font-size: 17px;
  line-height: 1.35;
}

.collab-reference-grid span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.collab-brief-band {
  padding: 104px 0;
  background: linear-gradient(115deg, #14d9d4 0%, #b7f34a 100%);
  color: #071529;
}

.collab-brief-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.7fr);
  align-items: start;
}

.collab-brief-band .eyebrow {
  color: #071529;
}

.collab-brief-list {
  display: grid;
  gap: 12px;
  margin: 4px 0 28px;
  padding-left: 20px;
}

.collab-brief-list li {
  font-size: 16px;
  line-height: 1.55;
}

.collab-brief-band .button {
  border-color: #071529;
  background: #071529;
  color: var(--white);
}

@media (max-width: 1040px) {
  .collab-hero-grid,
  .collab-intro-grid,
  .collab-pricing-grid,
  .collab-brief-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .collab-hero-copy h1 {
    max-width: 700px;
  }

  .collab-hero-media {
    min-height: 0;
  }

  .collab-hero-media img {
    min-height: 360px;
  }

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

  .collab-module-feature {
    grid-row: span 1;
    min-height: 248px;
  }

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

@media (max-width: 820px) {
  .collab-hero {
    padding: 58px 0 62px;
    background-position: 68% center;
  }

  .collab-hero-copy h1 {
    font-size: clamp(38px, 10vw, 54px);
  }

  .collab-hero-lead {
    font-size: 17px;
  }

  .collab-hero-media,
  .collab-hero-media img {
    min-height: 250px;
  }

  .collab-media-caption {
    right: 16px;
    bottom: 16px;
    left: 16px;
  }

  .collab-media-caption strong {
    font-size: 22px;
  }

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

  .collab-proof-grid > div,
  .collab-proof-grid > div:first-child {
    min-height: 104px;
    padding: 16px;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }

  .collab-proof-grid > div:nth-child(odd) {
    border-left: 0;
  }

  .collab-proof-grid strong {
    font-size: 27px;
  }

  .collab-intro,
  .collab-modules,
  .collab-flow,
  .collab-reference,
  .collab-brief-band {
    padding: 70px 0;
  }

  .collab-module-grid,
  .collab-addon-grid,
  .collab-reference-grid {
    grid-template-columns: 1fr;
  }

  .collab-module {
    min-height: 0;
  }

  .collab-module-index {
    margin-bottom: 30px;
  }

  .collab-flow-track {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 38px;
  }

  .collab-flow-track::before {
    top: 20px;
    bottom: 20px;
    left: 19px;
    width: 1px;
    height: auto;
    right: auto;
  }

  .collab-flow-step,
  .collab-flow-step:not(:first-child) {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 16px;
    padding: 0;
  }

  .collab-flow-step span {
    grid-row: span 2;
    margin: 0;
  }

  .collab-flow-step strong {
    margin: 7px 0 4px;
  }

  .collab-flow-step p {
    grid-column: 2;
  }

  .collab-pricing-grid {
    gap: 28px;
  }

  .collab-price-box {
    min-height: 0;
  }

  .collab-addon-grid {
    gap: 20px;
  }
}
