:root {
  --bg: #f4f0ff;
  --ink: #181326;
  --purple: #5a25ff;
  --violet: #9c6bff;
  --yellow: #f8d94a;
  --pink: #ff5c9a;
  --card: #ffffff;
  --muted: #665d78;
  --line: rgba(24, 19, 38, 0.14);
  --shadow: 0 24px 70px rgba(57, 35, 118, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 0, rgba(255, 92, 154, 0.18), transparent 30%),
    radial-gradient(circle at 84% 10%, rgba(90, 37, 255, 0.22), transparent 28%),
    var(--bg);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.58;
}

a {
  color: inherit;
  text-decoration: none;
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: min(1220px, calc(100% - 36px));
  margin: 16px auto 0;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.78);
  border: 2px solid var(--ink);
  border-radius: 24px;
  box-shadow: 7px 7px 0 var(--ink);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand span {
  padding: 8px 10px;
  color: var(--ink);
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 14px;
  box-shadow: 3px 3px 0 var(--ink);
  text-transform: uppercase;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
}

.nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
  color: #302742;
  font-weight: 750;
}

.nav a {
  padding: 8px 10px;
  border-radius: 12px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav a:hover {
  background: rgba(248, 217, 74, 0.54);
  transform: rotate(-1deg);
}

.nav-button {
  display: none;
  justify-self: end;
  border: 2px solid var(--ink);
  padding: 10px 14px;
  background: var(--yellow);
  border-radius: 14px;
  box-shadow: 3px 3px 0 var(--ink);
  font-weight: 900;
}

.hero,
.section,
.ticker,
.footer {
  width: min(1220px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 28px;
  align-items: stretch;
  padding: 72px 0 38px;
}

.hero-card,
.deal-board,
.map-grid article,
.service-stack article,
.process-wheel article,
.buyer-grid article,
.deliverables p,
.contact-card,
.contact-panel {
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 28px;
  box-shadow: 8px 8px 0 var(--ink);
}

.main-card {
  padding: clamp(28px, 5vw, 58px);
  background:
    linear-gradient(135deg, rgba(248, 217, 74, 0.24), rgba(255, 255, 255, 0.94)),
    var(--card);
}

.tag {
  margin: 0 0 14px;
  color: var(--purple);
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  max-width: 940px;
  font-size: clamp(3.1rem, 7vw, 7.5rem);
  line-height: 0.88;
  letter-spacing: -0.085em;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.1rem, 4.8vw, 5.3rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.42rem;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.main-card p {
  max-width: 820px;
  color: var(--muted);
  font-size: 1.12rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 2px solid var(--ink);
  border-radius: 16px;
  box-shadow: 4px 4px 0 var(--ink);
  font-weight: 950;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.button.primary {
  color: #fff;
  background: var(--purple);
}

.button.outline {
  background: var(--yellow);
}

.deal-board {
  padding: 22px;
  background: var(--ink);
  color: #fff;
}

.deal-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  color: #d8cffd;
}

.deal-header strong {
  color: var(--yellow);
}

.deal-item {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 12px;
  padding: 16px;
  color: var(--ink);
  background: #fff;
  border: 2px solid #fff;
  border-radius: 18px;
}

.deal-item.active {
  background: var(--yellow);
}

.deal-item span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--purple);
  border-radius: 50%;
  font-weight: 950;
}

.deal-item p {
  margin: 0;
  font-weight: 850;
}

.deal-item strong {
  color: var(--purple);
  font-size: 0.82rem;
}

.ticker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px 0 34px;
}

.ticker span {
  padding: 10px 14px;
  color: var(--ink);
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink);
  font-weight: 900;
}

.section {
  padding: 96px 0;
}

.market,
.buyers,
.contact {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 36px;
  align-items: start;
}

.market-text,
.buyer-grid p,
.service-stack p,
.process-wheel p,
.map-grid p,
.deliverables p,
.contact p {
  color: var(--muted);
}

.market-text {
  font-size: 1.08rem;
}

.map-section {
  padding-top: 20px;
}

.map-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.map-grid article {
  padding: 26px;
  min-height: 260px;
  transition: transform 0.2s ease;
}

.map-grid article:hover {
  transform: translateY(-5px) rotate(-0.5deg);
}

.map-grid span {
  display: inline-flex;
  margin-bottom: 38px;
  padding: 8px 10px;
  color: #fff;
  background: var(--pink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 950;
}

.services {
  display: grid;
  grid-template-columns: 0.74fr 1.26fr;
  gap: 28px;
}

.services-header {
  position: sticky;
  top: 120px;
  align-self: start;
}

.service-stack {
  display: grid;
  gap: 16px;
}

.service-stack article {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 22px;
  padding: 26px;
}

.service-index {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--purple);
  border: 2px solid var(--ink);
  border-radius: 18px;
  box-shadow: 3px 3px 0 var(--ink);
  font-weight: 950;
}

.process-wheel {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.process-wheel article {
  padding: 24px;
  background: linear-gradient(180deg, #fff, #fdf8d7);
}

.process-wheel span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 34px;
  color: var(--ink);
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-weight: 950;
}

.buyer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.buyer-grid article {
  padding: 26px;
}

.content-rich {
  padding-top: 20px;
}

.deliverables {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.deliverables p {
  margin: 0;
  padding: 20px;
  background: #fff;
}

.contact-card,
.contact-panel {
  padding: 34px;
}

.contact-panel {
  background: var(--yellow);
}

.contact-panel a:not(.button) {
  color: var(--purple);
  font-weight: 950;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 0 46px;
  border-top: 2px solid var(--ink);
  color: var(--muted);
}

.footer p {
  margin: 0;
}

@media (max-width: 1000px) {
  .header {
    grid-template-columns: 1fr auto;
  }

  .nav-button {
    display: inline-flex;
  }

  .nav {
    grid-column: 1 / -1;
    display: none;
    justify-self: stretch;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px;
  }

  .nav.is-open {
    display: flex;
  }

  .hero,
  .market,
  .services,
  .buyers,
  .contact {
    grid-template-columns: 1fr;
  }

  .services-header {
    position: static;
  }

  .map-grid,
  .process-wheel,
  .deliverables {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .header,
  .hero,
  .section,
  .ticker,
  .footer {
    width: min(100% - 24px, 1220px);
  }

  .hero {
    padding-top: 48px;
  }

  .deal-item {
    grid-template-columns: 1fr;
  }

  .map-grid,
  .service-stack article,
  .process-wheel,
  .buyer-grid,
  .deliverables {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 68px 0;
  }

  .footer {
    flex-direction: column;
  }
}
