:root {
  color-scheme: light;
  --ink: #17221d;
  --muted: #526159;
  --paper: #fbfaf6;
  --panel: #ffffff;
  --leaf: #3d7a3a;
  --leaf-dark: #255229;
  --moss: #b5c57a;
  --sky: #d8edf5;
  --clay: #b85f3d;
  --gold: #d8a63a;
  --stone: #d5d8ce;
  --shadow: 0 18px 55px rgba(23, 34, 29, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 4vw, 56px);
  color: #fff;
  background: linear-gradient(180deg, rgba(9, 17, 13, 0.72), rgba(9, 17, 13, 0));
}

.brand,
.site-header nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  font-weight: 850;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: rgba(61, 122, 58, 0.82);
  font-size: 13px;
  letter-spacing: 0;
}

.site-header nav a {
  border-bottom: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
  border-color: currentColor;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-art,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-art {
  object-fit: cover;
  z-index: -2;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 15, 11, 0.88) 0%, rgba(7, 15, 11, 0.72) 34%, rgba(7, 15, 11, 0.2) 70%),
    linear-gradient(0deg, rgba(15, 23, 18, 0.36), rgba(15, 23, 18, 0.05));
}

.hero-content {
  width: min(720px, calc(100% - 40px));
  margin-left: clamp(20px, 6vw, 88px);
  padding-top: 82px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  margin: 0;
  font-size: clamp(56px, 10vw, 116px);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 14px 0 8px;
  font-size: 20px;
  letter-spacing: 0;
}

.lede {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 2.5vw, 24px);
}

.hero-actions,
.server-chip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button,
.copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.button.primary,
.copy-button {
  color: #102015;
  background: var(--gold);
}

.button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.server-chip {
  width: min(100%, 520px);
  padding: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
}

.server-chip div {
  flex: 1 1 170px;
}

dt {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

dd {
  margin: 2px 0 0;
  font-size: 22px;
  font-weight: 850;
}

.section-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.feature-band,
.split-section,
.connect-band,
.link-section {
  padding: clamp(64px, 10vw, 116px) 0;
}

.feature-band {
  background: linear-gradient(180deg, var(--paper), #eef5e2);
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 36px;
}

.section-heading.compact {
  margin-bottom: 24px;
}

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

.feature-grid article,
.link-grid a,
.ip-panel,
.steps {
  background: var(--panel);
  border: 1px solid rgba(23, 34, 29, 0.1);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(23, 34, 29, 0.07);
}

.feature-grid article {
  min-height: 210px;
  padding: 24px;
}

.feature-grid p,
.split-section p,
.connect-copy,
.link-grid small {
  color: var(--muted);
}

.feature-icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  background: var(--sky);
  border-radius: 6px;
  font-size: 24px;
}

.split-section {
  background: #fff;
}

.split-layout,
.connect-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
}

.split-section p {
  max-width: 560px;
  margin: 20px 0 28px;
  font-size: 18px;
}

.steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  counter-reset: steps;
}

.steps li {
  position: relative;
  min-height: 112px;
  padding: 24px 24px 24px 82px;
  border-bottom: 1px solid rgba(23, 34, 29, 0.1);
  color: var(--muted);
  counter-increment: steps;
}

.steps li:last-child {
  border-bottom: 0;
}

.steps li::before {
  position: absolute;
  top: 24px;
  left: 24px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  background: var(--leaf);
  color: #fff;
  border-radius: 6px;
  content: counter(steps);
  font-weight: 900;
}

.steps strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.connect-band {
  background: var(--leaf-dark);
  color: #fff;
}

.connect-band .eyebrow,
.connect-band .connect-copy {
  color: #dce8c5;
}

.ip-panel {
  padding: 28px;
  color: var(--ink);
}

.ip-panel span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.ip-panel code {
  display: block;
  margin: 10px 0 20px;
  padding: 16px;
  overflow-wrap: anywhere;
  background: #f2f5ed;
  border: 1px solid var(--stone);
  border-radius: 6px;
  color: var(--leaf-dark);
  font-size: clamp(24px, 5vw, 42px);
  font-weight: 900;
}

.copy-status {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--leaf-dark);
  font-weight: 800;
}

.link-section {
  background: linear-gradient(180deg, #f5f8ee, var(--paper));
}

.link-grid a {
  display: grid;
  gap: 8px;
  min-height: 138px;
  padding: 24px;
  text-decoration: none;
}

.link-grid a:hover,
.link-grid a:focus-visible {
  outline: 3px solid rgba(216, 166, 58, 0.45);
  outline-offset: 2px;
}

.link-grid span {
  font-size: 22px;
  font-weight: 900;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 28px clamp(20px, 4vw, 56px);
  background: #111914;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

@media (max-width: 860px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .site-header nav {
    display: none;
  }

  .hero {
    min-height: 880px;
  }

  .hero-content {
    align-self: end;
    margin: 0 auto;
    padding-bottom: 52px;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(7, 15, 11, 0.92) 0%, rgba(7, 15, 11, 0.58) 52%, rgba(7, 15, 11, 0.14) 100%),
      linear-gradient(90deg, rgba(7, 15, 11, 0.58), rgba(7, 15, 11, 0.08));
  }

  .feature-grid,
  .link-grid,
  .split-layout,
  .connect-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 780px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .server-chip {
    display: grid;
  }

  .feature-grid article,
  .link-grid a,
  .ip-panel {
    padding: 20px;
  }

  .steps li {
    padding-right: 18px;
  }
}
