@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/inter-latin.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/ibm-plex-mono-latin.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --background: #090b16;
  --text: #f2f3fb;
  --muted: #a7adc3;
  --line: #292d43;
  --accent: #bf92f5;
}

* { box-sizing: border-box; }

html { scroll-padding-top: 24px; }

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

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

::selection { background: #bf92f5; color: #090b16; }

.wrap { width: min(1080px, calc(100% - 96px)); margin-inline: auto; }

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 12px 18px;
  background: var(--text);
  color: var(--background);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.header {
  min-height: 108px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; flex-shrink: 0; }
.brand img { width: 150px; height: auto; display: block; }

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.contact-link:hover { color: var(--accent); }
.contact-link span { color: var(--accent); font-size: 20px; }

.intro { padding-block: 68px 56px; }

.eyebrow, .service-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 26px;
  color: var(--muted);
}

.signal { width: 6px; height: 6px; background: var(--accent); flex-shrink: 0; }

h1 {
  margin: 0;
  font-size: clamp(40px, 5.7vw, 76px);
  font-weight: 550;
  line-height: 1.12;
  letter-spacing: -.055em;
}

h1 span { color: var(--accent); }

.intro-copy {
  margin: 26px 0 0;
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.6;
  color: var(--muted);
}

.services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-block: 1px solid var(--line);
}

.service { padding: 34px 48px 38px 0; }
.service + .service { border-left: 1px solid var(--line); padding-inline: 48px 0; }

.service-label { margin: 0 0 20px; color: var(--muted); }
.service-label span { color: var(--accent); margin-right: 14px; }

h2 { margin: 0; font-size: 23px; font-weight: 550; line-height: 1.3; letter-spacing: -.025em; }

.service > p:last-child {
  max-width: 420px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: 42px;
}

.contact h2 { font-size: 24px; }
.contact p { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.button {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 52px;
  padding: 15px 22px;
  border: 1px solid var(--accent);
  border-radius: 5px;
  background: var(--accent);
  color: var(--background);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 650;
  text-decoration: none;
}

.button:hover { background: #d1aff9; border-color: #d1aff9; }
.button span { font-size: 21px; line-height: 1; }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.footer p { margin: 0; }

@media (min-width: 1600px) {
  .intro { padding-block: 86px 64px; }
  .contact { padding-block: 48px; }
}

@media (max-width: 700px) {
  .wrap { width: calc(100% - 48px); }
  .header { min-height: 88px; }
  .brand img { width: 128px; }
  .contact-link { font-size: 12px; gap: 10px; }
  .intro { padding-block: 48px 38px; }
  .eyebrow { font-size: 9px; letter-spacing: .06em; margin-bottom: 24px; gap: 8px; }
  h1 { font-size: clamp(32px, 6.9vw, 48px); letter-spacing: -.05em; line-height: 1.18; }
  .intro-copy { margin-top: 20px; max-width: 280px; }
  .services { grid-template-columns: 1fr; }
  .service { padding: 28px 0; }
  .service + .service { border-left: 0; border-top: 1px solid var(--line); padding: 28px 0; }
  .service-label { margin-bottom: 14px; }
  h2 { font-size: 22px; }
  .service > p:last-child { max-width: none; }
  .contact { align-items: flex-start; flex-direction: column; gap: 24px; padding-block: 32px; }
  .contact h2 { font-size: 23px; }
  .button { min-height: 50px; }
  .footer { flex-direction: column; gap: 5px; padding-block: 20px; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .button, .contact-link { transition: background-color .15s ease, color .15s ease; }
}
