:root {
  color-scheme: light;
  --bg: #f2f2f7;
  --text: #1c1c1e;
  --muted: #636366;
  --accent: #458cbc;
  --line: rgba(60, 60, 67, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: var(--accent);
  text-underline-offset: 4px;
}

header,
main,
footer {
  max-width: 820px;
  margin: auto;
  padding: 24px;
}

header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

nav {
  display: flex;
  gap: 20px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
}

nav a:hover,
nav a[aria-current='page'] {
  color: var(--accent);
}

h1 {
  font-size: clamp(32px, 6vw, 46px);
  line-height: 1.15;
  margin: 28px 0 16px;
  letter-spacing: -0.03em;
}

h2 {
  font-size: 23px;
  line-height: 1.4;
  margin: 32px 0 12px;
  letter-spacing: -0.02em;
}

p,
li {
  color: var(--muted);
}

.eyebrow {
  color: var(--accent);
  letter-spacing: 2px;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 600;
}

.contact {
  display: inline-block;
  padding: 12px 20px;
  border: 1px solid var(--accent);
  border-radius: 12px;
  margin: 10px 0;
  text-decoration: none;
  font-weight: 500;
}

footer {
  font-size: 14px;
  border-top: 1px solid var(--line);
  margin-top: 40px;
  color: var(--muted);
}

footer a {
  color: var(--accent);
}

li {
  margin: 8px 0;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

@media (max-width: 480px) {
  header,
  main,
  footer {
    padding: 20px;
  }
}
