:root {
  --mint: #1eeea4;
  --teal: #11968e;
  --blue-teal: #0d7786;
  --deep-teal: #054d6b;
  --navy: #121d2b;
  --navy-2: #0c1622;
  --ink: #172235;
  --muted: #607083;
  --paper: #f5f7fa;
  --white: #ffffff;
  --line: rgba(18, 29, 43, 0.12);
  --shadow: 0 22px 60px rgba(9, 19, 33, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 10px 14px;
  color: var(--navy);
  background: var(--mint);
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 22px max(20px, calc((100vw - 1160px) / 2));
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled {
  padding-top: 14px;
  padding-bottom: 14px;
  background: rgba(18, 29, 43, 0.92);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px);
}

.brand img {
  width: 154px;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 500;
}

.site-nav a,
.footer-layout a {
  transition: color 160ms ease;
}

.site-nav a:hover,
.footer-layout a:hover {
  color: var(--mint);
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  line-height: 1.1;
}

.header-cta {
  padding: 0 18px;
  color: var(--navy);
  background: var(--mint);
  font-size: 14px;
}

.button {
  padding: 0 22px;
}

.button--primary {
  color: var(--navy);
  background: var(--mint);
  box-shadow: 0 14px 34px rgba(30, 238, 164, 0.22);
}

.button--ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.hero {
  position: relative;
  min-height: 760px;
  color: var(--white);
  background: var(--navy);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 29, 43, 0.95), rgba(18, 29, 43, 0.84) 46%, rgba(5, 77, 107, 0.72)),
    radial-gradient(circle at 72% 74%, rgba(30, 238, 164, 0.22), transparent 34%),
    url("assets/brand-pattern.svg") center / cover;
}

.hero__layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  gap: 54px;
  align-items: center;
  min-height: 760px;
  padding-top: 94px;
}

.hero__copy,
.hero-panel,
.intro-grid > *,
.split > *,
.process-layout > *,
.cta__layout > *,
.service-card,
.recovery-band article,
.timeline li,
.contact-panel {
  min-width: 0;
  overflow-wrap: anywhere;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--mint);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow--dark {
  color: var(--blue-teal);
}

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

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(48px, 8vw, 92px);
  line-height: 0.96;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.04;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.2;
}

.hero__lead {
  max-width: 680px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-panel {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 30px;
  background: rgba(12, 22, 34, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-panel__logo {
  width: 190px;
  margin-bottom: 28px;
}

.hero-panel > p {
  margin-bottom: 18px;
  color: var(--mint);
  font-weight: 800;
}

.hero-panel dl {
  display: grid;
  gap: 18px;
  margin: 0;
}

.hero-panel div {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-panel dt {
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-panel dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.section {
  padding: 96px 0;
}

.section--intro {
  background: var(--white);
}

.experience-strip {
  padding: 0 0 34px;
  background: var(--white);
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.experience-grid article {
  min-height: 178px;
  padding: 26px;
  background: var(--paper);
}

.experience-grid span {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--blue-teal);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.experience-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.intro-grid,
.split,
.process-layout,
.cta__layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 64px;
  align-items: start;
}

.intro-grid p:last-child,
.recovery-copy > p,
.cta p {
  color: var(--muted);
  font-size: 18px;
}

.section-heading {
  max-width: 610px;
}

.section-heading--center {
  margin: 0 auto 46px;
  text-align: center;
}

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

.check-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.check-list p {
  position: relative;
  min-height: 52px;
  margin: 0;
  padding: 13px 16px 13px 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.check-list p::before {
  position: absolute;
  top: 15px;
  left: 16px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: inset 0 0 0 5px var(--white);
  content: "";
}

.recovery-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 62px;
}

.recovery-band article,
.service-card {
  border-radius: 8px;
  padding: 28px;
}

.recovery-band article {
  min-height: 250px;
  border: 1px solid var(--line);
  background: var(--white);
}

.recovery-band span {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--teal);
  font-weight: 800;
}

.recovery-band p,
.service-card p,
.timeline span,
.contact-panel p,
.footer-layout p {
  margin-bottom: 0;
  color: var(--muted);
}

.section--dark {
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(18, 29, 43, 0.96), rgba(12, 22, 34, 0.98)),
    url("assets/brand-pattern.svg") center / cover;
}

.section--dark .section-heading p,
.section--dark .service-card p {
  color: rgba(255, 255, 255, 0.72);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 214px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.045);
}

.service-card h3::after {
  display: block;
  width: 46px;
  height: 4px;
  margin-top: 14px;
  background: var(--mint);
  content: "";
}

.timeline {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.timeline li {
  position: relative;
  min-height: 112px;
  padding: 24px 24px 24px 92px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  counter-increment: steps;
}

.timeline li::before {
  position: absolute;
  top: 24px;
  left: 24px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  color: var(--navy);
  background: var(--mint);
  font-weight: 800;
  content: counter(steps, decimal-leading-zero);
}

.timeline strong {
  display: block;
  margin-bottom: 6px;
  font-size: 20px;
}

.clients {
  padding: 0 0 88px;
  background: var(--paper);
}

.clients__layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 54px;
}

.clients h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 3.3vw, 42px);
}

.client-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.client-list a {
  display: grid;
  min-height: 96px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  color: var(--deep-teal);
  background: var(--white);
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.client-list img {
  max-width: 100%;
  max-height: 46px;
  object-fit: contain;
}

.client-list a[href*="1xhub"] img {
  max-height: 34px;
}

.client-list a[href*="matchboxdao"] img,
.client-list a[href*="vf.at"] img {
  max-height: 58px;
}

.client-list a[href*="plngo"],
.client-list a[href*="own.fund"] {
  background: var(--navy);
}

.client-list a:hover {
  border-color: rgba(30, 238, 164, 0.7);
  color: var(--navy);
  transform: translateY(-2px);
}

.cta {
  padding: 84px 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--deep-teal), var(--navy));
}

.cta h2 {
  max-width: 680px;
}

.cta p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-panel {
  align-self: stretch;
  display: grid;
  align-content: center;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.06);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-links a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 0 13px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 700;
}

.site-footer {
  padding: 32px 0;
  color: var(--white);
  background: var(--navy-2);
}

.footer-layout {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
}

.footer-layout img {
  width: 132px;
}

.footer-layout p {
  color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .site-nav {
    display: none;
  }

  .hero__layout,
  .intro-grid,
  .split,
  .process-layout,
  .cta__layout,
  .clients__layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero__layout {
    min-height: auto;
    padding-top: 142px;
    padding-bottom: 80px;
  }

  .hero {
    min-height: auto;
  }

  .recovery-band,
  .service-grid,
  .experience-grid,
  .client-list {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .site-header {
    gap: 14px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .brand img {
    width: 126px;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 12px;
  }

  h1 {
    font-size: 42px;
  }

  .hero__lead,
  .intro-grid p:last-child,
  .recovery-copy > p,
  .cta p {
    font-size: 16px;
  }

  .hero__actions,
  .button {
    width: 100%;
  }

  .hero-panel,
  .recovery-band article,
  .service-card,
  .contact-panel {
    padding: 24px;
  }

  .section {
    padding: 68px 0;
  }

  .recovery-band,
  .service-grid,
  .experience-grid,
  .client-list {
    grid-template-columns: 1fr;
  }

  .timeline li {
    padding-left: 24px;
    padding-top: 86px;
  }
}
