@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-display: swap;
  font-weight: 400 900;
  src: url('/fonts/golos-text-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --color-bg: #ffffff;
  --color-surface: #f5f5f7;
  --color-text: #0d0d12;
  --color-muted: #5c5a66;
  --color-border: #e3e2e8;
  --color-accent: #ff5a1f;
  --color-accent-text: #c2410c;
  --color-on-accent: #0d0d12;
  --color-band: #0d0d12;
  --color-on-band: #ffffff;
  --color-on-band-muted: #a7a5b3;

  --font-body: 'Golos Text', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --container: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 120px);

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0d0d12;
    --color-surface: #17171d;
    --color-text: #f4f4f6;
    --color-muted: #a19fae;
    --color-border: #2a2a34;
    --color-accent-text: #ff7a47;
    --color-band: #17171d;
    color-scheme: dark;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 88px;
}

@media (prefers-reduced-motion: no-preference) {
  html:focus-within {
    scroll-behavior: smooth;
  }
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

main {
  flex: 1;
}

svg {
  display: block;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--color-bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.logo {
  display: inline-flex;
  color: var(--color-text);
}

.logo svg {
  width: 116px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 15px;
  font-weight: 500;
}

.nav a {
  text-decoration: none;
  color: var(--color-muted);
  transition: color 0.15s;
}

.nav a:hover {
  color: var(--color-text);
}

.nav .nav__cta {
  color: var(--color-text);
  padding: 8px 16px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  transition: border-color 0.15s;
}

.nav .nav__cta:hover {
  border-color: var(--color-text);
}

@media (max-width: 640px) {
  .nav__link {
    display: none;
  }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition:
    background-color 0.15s,
    border-color 0.15s,
    transform 0.15s;
}

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

.button--primary:hover {
  background: #ff6f3a;
}

.button--ghost {
  border: 1px solid var(--color-border);
  color: var(--color-text);
}

.button--ghost:hover {
  border-color: var(--color-text);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-text);
}

.eyebrow::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--color-accent);
}

.hero {
  padding-block: clamp(72px, 12vw, 152px) clamp(64px, 9vw, 112px);
  border-bottom: 1px solid var(--color-border);
}

.hero__title {
  max-width: 15ch;
  margin-top: 24px;
  font-size: clamp(40px, 6.6vw, 80px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero__lede {
  max-width: 60ch;
  margin-top: 28px;
  font-size: clamp(18px, 1.7vw, 21px);
  color: var(--color-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.areas {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: clamp(56px, 8vw, 96px);
  padding-top: 28px;
  border-top: 1px solid var(--color-border);
  list-style: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-muted);
}

.areas li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.areas li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

.section {
  padding-block: var(--section);
}

.section + .section {
  border-top: 1px solid var(--color-border);
}

.section__head {
  display: grid;
  gap: 16px;
  max-width: 720px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section__title {
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.section__intro {
  color: var(--color-muted);
  font-size: 18px;
}

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  list-style: none;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  overflow: hidden;
}

@media (max-width: 960px) {
  .services {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services {
    grid-template-columns: 1fr;
  }
}

.service {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: clamp(24px, 3vw, 36px);
  background: var(--color-bg);
}

.service__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: var(--color-surface);
  color: var(--color-accent-text);
}

.service__icon svg {
  width: 24px;
  height: 24px;
}

.service h3 {
  font-size: 20px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.service p {
  font-size: 16px;
  color: var(--color-muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 40px);
  list-style: none;
  counter-reset: step;
}

@media (max-width: 960px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.step {
  display: grid;
  align-content: start;
  gap: 10px;
  padding-top: 20px;
  border-top: 2px solid var(--color-text);
  counter-increment: step;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--color-accent-text);
}

.step h3 {
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.step p {
  font-size: 16px;
  color: var(--color-muted);
}

.stack {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 40px);
}

@media (max-width: 960px) {
  .stack {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .stack {
    grid-template-columns: 1fr;
  }
}

.stack h3 {
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.stack ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.stack li {
  padding: 6px 14px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
}

.contact {
  padding-block: var(--section);
  background: var(--color-band);
  color: var(--color-on-band);
}

.contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: end;
  gap: 40px 64px;
}

@media (max-width: 860px) {
  .contact__inner {
    grid-template-columns: 1fr;
  }
}

.contact .eyebrow {
  color: var(--color-accent);
}

.contact .section__title {
  margin-top: 20px;
}

.contact .section__intro {
  margin-top: 20px;
  color: var(--color-on-band-muted);
}

.contact__card {
  display: grid;
  gap: 20px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 20px;
  background: rgb(255 255 255 / 0.04);
}

.contact__label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-on-band-muted);
}

.contact__email {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact__email:hover {
  color: var(--color-accent);
}

.contact .button--primary {
  justify-self: start;
}

.footer {
  padding-block: 28px;
  border-top: 1px solid var(--color-border);
  font-size: 14px;
  color: var(--color-muted);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}

.footer a {
  text-decoration: none;
}

.footer a:hover {
  color: var(--color-text);
}

.not-found {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 20px;
  min-height: 60vh;
  padding-block: var(--section);
}

.not-found h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.not-found p {
  color: var(--color-muted);
}
