:root {
  --bg: #f4f4f2;
  --panel: #ffffff;
  --ink: #141414;
  --muted: #6d6d66;
  --line: #dfdfdb;
  --orange: #f04412;
  --orange-dark: #b72b0b;
  --charcoal: #171716;
  --soft: #ecece8;
  --mint: #75a99a;
  --steel: #778491;
  --warm: #c17838;
  --radius: 8px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(20, 20, 20, 0.045) 1px, transparent 1px) 0 0 / 25% 100%,
    var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Arial, sans-serif;
  letter-spacing: 0;
}

button {
  cursor: pointer;
  font: inherit;
}

button,
input,
select,
textarea {
  letter-spacing: 0;
}

input,
select,
textarea {
  width: 100%;
  border-radius: 0;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 0 max(20px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  background: rgba(244, 244, 242, 0.86);
  backdrop-filter: blur(18px);
  transition:
    min-height 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled {
  min-height: 62px;
  background: rgba(244, 244, 242, 0.94);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.06);
}

.brand {
  font-size: clamp(24px, 2.45vw, 32px);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-size: 12px;
  color: #555;
}

.nav-links a {
  position: relative;
}

.nav-links .active {
  color: var(--orange);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.header-cta:hover,
.btn:hover,
.square-link:hover {
  transform: translateY(-2px);
}

.header-cta {
  justify-self: end;
  background: var(--orange);
  color: #fff;
}

.cta-icon,
.btn span {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  background: rgba(255, 255, 255, 0.18);
  color: inherit;
  font-size: 13px;
  transition: transform 180ms ease;
}

.header-cta:hover .cta-icon,
.btn:hover span {
  transform: translateX(2px);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--ink);
  border-color: rgba(0, 0, 0, 0.12);
}

.btn-orange {
  background: var(--orange);
  color: #fff;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
}

.text-link.light {
  color: #fff;
  opacity: 0.8;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.eyebrow,
.meta-label {
  margin: 0 0 10px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
}

h2 {
  margin: 0;
  font-size: clamp(32px, 4.3vw, 58px);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 980px) {
  :root {
    --max: 760px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .site-header {
    min-height: 64px;
    padding-inline: 14px;
  }

  .brand {
    font-size: 24px;
  }

  .header-cta {
    min-height: 34px;
    padding-inline: 11px;
    font-size: 11px;
  }
}
