:root {
  color-scheme: light;
  --bg: #f7f7f0;
  --ink: #151712;
  --muted: #5c6258;
  --line: #dfe3d7;
  --surface: #ffffff;
  --teal: #0f766e;
  --coral: #e85d3f;
  --lime: #c7dc58;
  --shadow: 0 24px 80px rgba(21, 23, 18, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100%;
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.12), transparent 36rem),
    linear-gradient(315deg, rgba(232, 93, 63, 0.12), transparent 32rem),
    var(--bg);
}

a {
  color: inherit;
}

.shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 0;
}

.hero {
  min-height: calc(100svh - 64px);
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(320px, 1.18fr);
  gap: 48px;
  align-items: center;
  padding: 40px 0 72px;
}

.hero__visual {
  min-height: 520px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(21, 23, 18, 0.1);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.55)),
    repeating-linear-gradient(
      135deg,
      rgba(15, 118, 110, 0.13) 0,
      rgba(15, 118, 110, 0.13) 1px,
      transparent 1px,
      transparent 18px
    );
  box-shadow: var(--shadow);
}

.mark {
  width: min(72%, 360px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  position: relative;
  background: var(--ink);
  color: var(--surface);
}

.mark::before,
.mark::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 2px solid var(--lime);
}

.mark::after {
  inset: 38px;
  border-color: var(--coral);
}

.mark span {
  position: relative;
  z-index: 1;
  font-size: clamp(4rem, 9vw, 8rem);
  font-weight: 800;
  line-height: 0.8;
}

.mark span + span {
  margin-top: 0.72em;
  color: var(--lime);
}

.hero__content {
  max-width: 680px;
}

.eyebrow,
.section-label,
.link-tile span {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(4.25rem, 9vw, 9rem);
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 4.4rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.tagline {
  max-width: 560px;
  margin-bottom: 32px;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.35;
  color: var(--muted);
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--ink);
  background: transparent;
  text-decoration: none;
  font-weight: 800;
  transition:
    transform 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

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

.button--primary {
  background: var(--ink);
  color: var(--surface);
}

.section {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.section--split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.section--split > p {
  margin-bottom: 0;
  font-size: clamp(1.12rem, 1.8vw, 1.45rem);
  line-height: 1.6;
  color: var(--muted);
}

.section-heading {
  margin-bottom: 28px;
}

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

.link-tile {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.link-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 118, 110, 0.45);
  box-shadow: 0 14px 40px rgba(21, 23, 18, 0.09);
}

.link-tile strong {
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  line-height: 1.25;
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 28px, 620px);
    padding: 16px 0 28px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 20px 0 48px;
  }

  .hero__visual {
    min-height: 320px;
    order: -1;
  }

  h1 {
    font-size: clamp(3.2rem, 20vw, 5.6rem);
  }

  .section,
  .section--split {
    padding: 48px 0;
  }

  .section--split,
  .link-grid {
    grid-template-columns: 1fr;
  }

  .button {
    flex: 1 1 150px;
  }
}
