:root {
  color-scheme: light;
  --ink: #121416;
  --muted: #5d6673;
  --line: #d8dee7;
  --paper: #f7f8f5;
  --panel: #ffffff;
  --accent: #156f70;
  --accent-ink: #ffffff;
  --warn: #b45f22;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

a {
  color: inherit;
}

main {
  min-height: 100vh;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  gap: 42px;
  align-items: center;
  min-height: 78vh;
  padding: 64px clamp(20px, 6vw, 92px) 40px;
  background: var(--paper);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  max-width: 860px;
  font-size: clamp(3rem, 5.7vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.lede {
  max-width: 660px;
  color: #343b43;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.48;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}

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

.contract-surface {
  overflow: hidden;
  border: 1px solid #c8d1dc;
  border-radius: 8px;
  background: #0f151a;
  color: #dbe7ec;
  box-shadow: 0 24px 70px rgba(34, 45, 55, 0.18);
}

.surface-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #9fb5bf;
  font-size: 0.86rem;
}

.surface-header strong {
  color: #8af0c9;
  white-space: nowrap;
}

pre {
  margin: 0;
  padding: 20px;
  overflow-x: auto;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: clamp(0.78rem, 1.2vw, 0.98rem);
  line-height: 1.65;
  white-space: pre-wrap;
}

.band,
.links {
  padding: 44px clamp(20px, 6vw, 92px);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(280px, 1fr);
  gap: 28px;
  align-items: start;
  max-width: 1160px;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.section-head p,
.links p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.62;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 1160px;
  margin-top: 28px;
}

article {
  min-height: 150px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

article h3 {
  margin-bottom: 10px;
  font-size: 1rem;
}

article p {
  color: var(--muted);
  line-height: 1.55;
}

.links {
  display: grid;
  grid-template-columns: minmax(240px, 0.48fr) minmax(280px, 1fr);
  gap: 32px;
  background: #e9eee8;
}

.links ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.links a {
  display: flex;
  min-height: 42px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid #cad5ce;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  font-weight: 720;
}

@media (max-width: 860px) {
  .hero,
  .section-head,
  .links {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 44px;
  }

  .contract-surface {
    max-width: 100%;
  }

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