:root {
  --ink: #111319;
  --muted: #606575;
  --paper: #f5f6ef;
  --surface: #ffffff;
  --cobalt: #2447ff;
  --cobalt-deep: #1429a8;
  --lime: #d7ff3f;
  --coral: #ff6b4a;
  --graphite: #171a20;
  --line: rgba(17, 19, 25, 0.14);
  --shadow: 0 28px 80px rgba(17, 19, 25, 0.18);
  --container: 1160px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.55;
}

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

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 70px;
  padding: 0 1.25rem;
  background: rgba(245, 246, 239, 0.92);
  border-bottom: 2px solid var(--ink);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 34px;
  background: var(--cobalt);
  color: white;
  font-family: "Archivo", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
  box-shadow: 5px 5px 0 var(--lime);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.9rem;
  font-weight: 800;
}

.site-nav a {
  padding: 0.55rem 0.8rem;
  border: 2px solid transparent;
}

.site-nav a:hover {
  border-color: var(--ink);
  background: var(--lime);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(590px, 82svh, 760px);
  background-image: url("./images/trade-website-hero-original.png");
  background-position: center;
  background-size: cover;
  isolation: isolate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(17, 19, 25, 0.96) 0%, rgba(17, 19, 25, 0.82) 38%, rgba(17, 19, 25, 0.18) 80%),
    linear-gradient(180deg, rgba(36, 71, 255, 0.16), rgba(17, 19, 25, 0.54));
}

.hero-content {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
  padding: 4.4rem 0;
  color: white;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.95rem;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 1160px;
  margin: 0;
  font-family: "Archivo", Arial, sans-serif;
  font-size: clamp(3.8rem, 7vw, 7.8rem);
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: 0;
  text-transform: lowercase;
  overflow-wrap: normal;
}

.hero-text {
  max-width: 620px;
  margin: 1.45rem 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.04rem, 1.35vw, 1.28rem);
}

.hero-actions,
.contact-band {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-actions {
  margin-top: 2rem;
  max-width: 520px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.82rem 1.1rem;
  border: 2px solid var(--ink);
  border-radius: 0;
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button-primary {
  background: var(--lime);
  color: var(--ink);
  box-shadow: 5px 5px 0 var(--cobalt);
}

.button-primary:hover {
  background: #ecff91;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.72);
  color: white;
  background: rgba(255, 255, 255, 0.04);
}

.button-secondary:hover {
  background: var(--cobalt);
  border-color: white;
  box-shadow: 5px 5px 0 rgba(255, 255, 255, 0.22);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 2rem;
}

.hero-tags span {
  padding: 0.5rem 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.86rem;
  font-weight: 800;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.intro-section {
  background:
    linear-gradient(90deg, rgba(36, 71, 255, 0.08) 0 1px, transparent 1px),
    linear-gradient(180deg, var(--surface), #f4f6ff);
  background-size: 44px 44px, auto;
  border-top: 2px solid var(--ink);
}

.intro-grid,
.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

h2,
h3,
p {
  overflow-wrap: anywhere;
}

h2 {
  margin: 0;
  font-family: "Archivo", Arial, sans-serif;
  font-size: clamp(2.35rem, 4.7vw, 4.9rem);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.25;
}

.intro-grid > p,
.proof-copy p,
.contact-band p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 2.3rem;
}

.services-section {
  background: var(--paper);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 2px solid var(--ink);
  background: var(--ink);
  box-shadow: var(--shadow);
}

.service-card {
  min-height: 320px;
  padding: 1.35rem;
  background: var(--surface);
}

.service-card + .service-card {
  border-left: 2px solid var(--ink);
}

.service-card:nth-child(even) {
  background: #eef1ff;
}

.service-number {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 4.3rem;
  background: var(--ink);
  color: var(--lime);
  font-family: "Archivo", Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
}

.service-card:nth-child(3) .service-number {
  background: var(--cobalt);
  color: white;
}

.service-card p,
.process-step p {
  margin: 0.8rem 0 0;
  color: var(--muted);
}

.proof-section {
  background: var(--graphite);
  color: white;
}

.proof-section .section-kicker {
  color: var(--coral);
}

.proof-copy p {
  color: rgba(255, 255, 255, 0.7);
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.check-item {
  min-height: 62px;
  display: flex;
  align-items: center;
  padding: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: white;
  font-weight: 900;
}

.check-item:nth-child(odd) {
  box-shadow: inset 6px 0 0 var(--lime);
}

.check-item:nth-child(even) {
  box-shadow: inset 6px 0 0 var(--cobalt);
}

.process-section {
  background: #fff7f0;
}

.process-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.process-step {
  padding: 1.35rem;
  border: 2px solid var(--ink);
  background: var(--surface);
  box-shadow: 7px 7px 0 rgba(36, 71, 255, 0.2);
}

.process-step span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1.5rem;
  background: var(--cobalt);
  color: white;
  font-weight: 900;
}

.contact-section {
  background: var(--cobalt);
  color: white;
}

.contact-section .section-kicker {
  color: var(--lime);
}

.contact-band {
  justify-content: space-between;
  padding: clamp(2rem, 5vw, 3.2rem);
  border: 2px solid white;
  background:
    linear-gradient(135deg, rgba(215, 255, 63, 0.16), rgba(255, 107, 74, 0.2)),
    var(--cobalt-deep);
  box-shadow: 10px 10px 0 var(--lime);
}

.contact-band > div {
  max-width: 720px;
}

.contact-band p {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.78);
}

.contact-band .button-primary {
  box-shadow: 5px 5px 0 var(--ink);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.site-footer span {
  color: white;
  font-weight: 900;
}

@media (max-width: 900px) {
  .site-header {
    padding: 0 1rem;
  }

  .site-nav {
    font-size: 0.84rem;
  }

  .site-nav a {
    padding: 0.45rem 0.55rem;
  }

  .hero {
    min-height: 670px;
    background-position: 66% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(17, 19, 25, 0.94) 0%, rgba(17, 19, 25, 0.82) 56%, rgba(17, 19, 25, 0.34) 100%),
      linear-gradient(180deg, rgba(36, 71, 255, 0.18), rgba(17, 19, 25, 0.6));
  }

  .intro-grid,
  .proof-grid,
  .process-row {
    grid-template-columns: 1fr;
  }

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

  .service-card:nth-child(3) {
    border-left: 0;
    border-top: 2px solid var(--ink);
  }

  .service-card:nth-child(4) {
    border-top: 2px solid var(--ink);
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    min-height: auto;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  .brand {
    font-size: 0.95rem;
  }

  .brand-mark {
    width: 44px;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 640px;
    background-position: 70% center;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.35rem, 10.3vw, 3.2rem);
    line-height: 0.92;
  }

  .hero-actions {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .service-grid,
  .check-list {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card + .service-card,
  .service-card:nth-child(3),
  .service-card:nth-child(4) {
    min-height: auto;
    border-left: 0;
    border-top: 2px solid var(--ink);
  }

  .service-card:first-child {
    border-top: 0;
  }

  .service-number {
    margin-bottom: 2.2rem;
  }

  .contact-band {
    align-items: stretch;
    box-shadow: 6px 6px 0 var(--lime);
  }

  .site-footer {
    flex-direction: column;
  }
}
