:root {
  --white: #ffffff;
  --grey: #f1f1f1;
  --green: #75a32a;
  --blue: #045476;
  --black: #1e1e1e;

  --container: 1200px;
  --header-height: 88px;
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
}

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

main {
  display: block;
}

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

.section {
  padding: 88px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--grey);
}

.nav {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-image {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}

.main-nav a {
  text-decoration: none;
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.main-nav a:hover {
  opacity: 0.8;
}

.main-nav .highlight {
  color: var(--green);
}

.hero {
  min-height: calc(100vh - var(--header-height));
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 72px;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--black);
}

.hero-copy h1 span {
  display: block;
  margin-top: 8px;
  color: var(--blue);
}

.hero-copy p {
  max-width: 680px;
  margin: 24px 0 0;
  font-size: 18px;
  color: rgba(30, 30, 30, 0.72);
  font-weight: 400;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 8px;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn.primary {
  background: var(--green);
  color: var(--white);
  border: none;
}

.btn.primary:hover {
  opacity: 0.92;
}

.btn.secondary {
  background: transparent;
  color: var(--blue);
  border: 1px solid var(--blue);
}

.btn.secondary:hover {
  background: var(--grey);
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-placeholder {
  width: 100%;
  min-height: 360px;
  background: var(--grey);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.hero-fill-image {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
  color: var(--blue);
  font-weight: 700;
}

h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
  color: var(--blue);
  font-weight: 600;
}

.section-copy {
  max-width: 700px;
  margin-top: 16px;
  color: rgba(30, 30, 30, 0.72);
}

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

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

.platform-two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.platform-left {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.platform-left h2,
.platform-left .section-copy {
  width: 100%;
}

.vertical-tags {
  margin-top: 28px;
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  width: max-content;
  align-self: center;
}

.platform-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 64px;
}

.capabilities-list .card {
  width: min(100%, 740px);
}

.capabilities-list .card:nth-child(1) {
  justify-self: start;
  align-self: flex-start;
}

.capabilities-list .card:nth-child(2) {
  justify-self: center;
  align-self: center;
}

.capabilities-list .card:nth-child(3) {
  justify-self: end;
  align-self: flex-end;
}

.card {
  background: var(--white);
  border: 1px solid var(--grey);
  padding: 24px;
}

.card p {
  margin: 10px 0 0;
  color: rgba(30, 30, 30, 0.72);
  font-size: 15px;
  line-height: 1.7;
}

.vertical-tag-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
}

.vertical-tag-label {
  display: block;
  width: 100%;
  background: var(--grey);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--black);
  text-align: left;
}

.vertical-tag-arrow {
  position: relative;
  width: 100%;
  height: 28px;
}

.vertical-tag-arrow::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 22px;
  background: #cfcfcf;
  transform: translateX(-50%);
}

.vertical-tag-arrow::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 17px;
  width: 7px;
  height: 7px;
  border-right: 1px solid #cfcfcf;
  border-bottom: 1px solid #cfcfcf;
  transform: translateX(-50%) rotate(45deg);
  background: transparent;
}

.capability-step {
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.founder-card {
  display: flex;
  align-items: center;
  gap: 18px;
}

.founder-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--grey);
}

.founder-meta {
  display: flex;
  flex-direction: column;
}

.founders-grid {
  margin-top: 36px;
}

.pioneers-copy {
  max-width: 920px;
  margin-top: 18px;
  font-size: 28px;
  line-height: 1.35;
  color: var(--black);
  font-weight: 700;
}

.pioneers-copy-detail {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(30, 30, 30, 0.72);
  font-weight: 400;
  max-width: 980px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: stretch;
}

.contact-copy-wrap {
  display: flex;
  align-items: stretch;
}

.contact-copy-wrap > div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-heading {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.1;
  color: var(--black);
  font-weight: 700;
}

.contact-heading span {
  display: block;
  margin-top: 8px;
  color: var(--blue);
}

.contact-copy {
  margin: 18px 0 0;
  font-size: 16px;
  color: rgba(30, 30, 30, 0.72);
}

.contact-email {
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
  margin-left: 4px;
}

.contact-email:hover {
  text-decoration: underline;
}

.contact-info-box {
  background: var(--white);
  border: 1.5px solid var(--blue);
  padding: 24px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info-box p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--black);
}

.contact-info-box p:last-child {
  margin-bottom: 0;
}

.founder-link {
  color: var(--black);
  text-decoration: none;
  transition: color 0.2s ease;
}

.founder-link:hover {
  color: var(--blue);
  text-decoration: underline;
}

#challenge,
#platform,
#founders,
#contact {
  scroll-margin-top: 110px;
}

footer {
  border-top: 1px solid var(--grey);
  text-align: center;
  padding: 24px 20px;
  color: rgba(30, 30, 30, 0.6);
  font-size: 14px;
  font-weight: 400;
}

/* Tablet */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero,
  .contact-layout,
  .grid-2,
  .platform-two-column {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .platform-right {
    padding-top: 0;
  }

  .capabilities-list .card,
  .capabilities-list .card:nth-child(1),
  .capabilities-list .card:nth-child(2),
  .capabilities-list .card:nth-child(3) {
    width: 100%;
    justify-self: stretch;
    align-self: stretch;
  }

  .contact-copy-wrap > div {
    display: block;
  }

  .contact-info-box {
    min-height: auto;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .container {
    width: min(var(--container), calc(100% - 32px));
  }

  .nav {
    min-height: auto;
    padding: 18px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav {
    gap: 16px;
  }

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

  .hero-placeholder,
  .hero-fill-image {
    min-height: 280px;
  }

  .logo-image {
    height: 36px;
  }

  .founder-card {
    align-items: flex-start;
  }

  .pioneers-copy {
    font-size: 22px;
  }

  .pioneers-copy-detail {
    font-size: 16px;
  }
}
