:root {
  color-scheme: light;
  --ink: #111417;
  --muted: #5d6872;
  --paper: #f8f6f1;
  --panel: #ffffff;
  --line: #ddd8cf;
  --teal: #0d7c75;
  --teal-dark: #07514d;
  --coral: #d95c42;
  --gold: #c49332;
  --shadow: 0 18px 45px rgba(16, 20, 23, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

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

.site-header {
  position: fixed;
  z-index: 5;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px max(24px, calc((100% - 1120px) / 2));
  color: #fff;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  background: rgba(17, 20, 23, 0.42);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 650;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.86);
}

.nav-links a:hover {
  color: #fff;
}

.hero {
  position: relative;
  min-height: 86svh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 112px max(24px, calc((100% - 1120px) / 2)) 72px;
  color: #fff;
}

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

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 12, 15, 0.86) 0%, rgba(8, 12, 15, 0.62) 44%, rgba(8, 12, 15, 0.2) 100%),
    linear-gradient(0deg, rgba(8, 12, 15, 0.64) 0%, rgba(8, 12, 15, 0.08) 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(44px, 4rem, 68px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.button-primary {
  background: var(--teal);
  color: #fff;
}

.button-primary:hover {
  background: var(--teal-dark);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}

.button-secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.button-light {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.button-light:hover {
  border-color: var(--teal);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 76px 24px 88px;
}

.intro-copy h2,
.stack-band h2,
.footer h2 {
  margin: 0;
  font-size: clamp(30px, 2.4rem, 42px);
  line-height: 1.12;
  letter-spacing: 0;
}

.intro-copy p:not(.section-label) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

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

.service-card {
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 24px;
  box-shadow: var(--shadow);
}

.service-icon {
  display: inline-grid;
  width: 42px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: #f2eee6;
  color: var(--coral);
  font-size: 13px;
  font-weight: 850;
}

.service-card h3 {
  margin: 24px 0 10px;
  font-size: 20px;
  letter-spacing: 0;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
}

.stack-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 40px;
  align-items: start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #ebe7de;
  padding: 70px max(24px, calc((100% - 1120px) / 2));
}

.stack-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stack-list li {
  min-height: 58px;
  border-left: 4px solid var(--teal);
  background: rgba(255, 255, 255, 0.66);
  padding: 16px 18px;
  color: var(--muted);
  font-weight: 700;
}

.text-link {
  color: var(--teal-dark);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

code {
  color: var(--ink);
  font: 0.94em ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 24px 84px;
}

.footer .section-label {
  color: var(--coral);
}

.access-body {
  min-height: 100svh;
  background:
    linear-gradient(135deg, rgba(13, 124, 117, 0.12), rgba(217, 92, 66, 0.08)),
    var(--paper);
}

.access-body .site-header {
  border-bottom: 1px solid rgba(17, 20, 23, 0.08);
  background: rgba(248, 246, 241, 0.9);
  color: var(--ink);
  backdrop-filter: blur(14px);
}

.access-body .brand-mark {
  border-color: rgba(17, 20, 23, 0.14);
  background: #fff;
}

.access-body .nav-links a {
  color: var(--muted);
}

.access-body .nav-links a:hover,
.access-body .nav-links a[aria-current="page"] {
  color: var(--ink);
}

.access-main {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 128px max(24px, calc((100% - 900px) / 2)) 72px;
}

.access-panel {
  width: min(760px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  padding: clamp(28px, 7vw, 62px);
  box-shadow: var(--shadow);
}

.access-panel h1 {
  margin: 0;
  font-size: clamp(34px, 3rem, 56px);
  line-height: 1.04;
  letter-spacing: 0;
}

.access-panel p:not(.section-label) {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

@media (max-width: 840px) {
  .site-header {
    padding: 14px 18px;
  }

  .nav-links {
    gap: 12px;
    font-size: 13px;
  }

  .hero {
    min-height: 88svh;
    padding: 104px 20px 56px;
  }

  .hero h1 {
    font-size: clamp(36px, 3.1rem, 48px);
  }

  .hero-copy {
    font-size: 17px;
  }

  .intro,
  .stack-band,
  .footer {
    grid-template-columns: 1fr;
  }

  .intro,
  .footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .service-grid,
  .stack-list {
    grid-template-columns: 1fr;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  .nav-links {
    flex-direction: column;
    align-items: flex-end;
  }

  .hero h1 {
    font-size: 34px;
  }

  .button {
    width: 100%;
  }
}
