
:root {
  color-scheme: dark;
  --background: #0b1020;
  --surface: #111a2e;
  --text: #f4f6ff;
  --muted: #b2bdd3;
  --accent: #8be6c1;
  --border: #293650;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: system-ui, -apple-system, sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
}

.header {
  width: min(1100px, calc(100% - 40px));
  min-height: 84px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--border);
}

.brand {
  font-weight: 800;
  letter-spacing: 3px;
  text-decoration: none;
}

.brand span,
.hero h1 span {
  color: var(--accent);
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

nav a,
.footer a:not(.brand) {
  color: var(--muted);
  text-decoration: none;
}

nav a:hover,
.footer a:hover {
  color: var(--accent);
}

.hero,
.section {
  width: min(1100px, calc(100% - 40px));
  margin: auto;
}

.hero {
  padding-top: 110px;
  padding-bottom: 100px;
}

.eyebrow,
.note,
.number {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
}

h1 {
  margin: 20px 0;
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  line-height: 1.12;
  letter-spacing: -2px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.2;
}

.intro {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.15rem;
  margin-bottom: 30px;
}

.button {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 8px;
  background: var(--accent);
  color: #0b1020;
  font-weight: 750;
  text-decoration: none;
  transition: transform 0.2s ease;
}

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

.note {
  margin-top: 35px;
  font-size: 0.7rem;
}

.section {
  padding-top: 75px;
  padding-bottom: 75px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 35px;
}

.card {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}

.card h3 {
  font-size: 1.25rem;
}

.card p,
.about > p:last-child,
.contact > p:not(.eyebrow):not(.note) {
  color: var(--muted);
}

.about {
  max-width: 850px;
  margin-left: max(20px, calc((100% - 1100px) / 2));
}

.about > p:last-child {
  max-width: 700px;
}

.contact {
  margin-bottom: 65px;
  padding: 45px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
}

.footer {
  width: min(1100px, calc(100% - 40px));
  margin: auto;
  padding: 25px 0;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer p {
  color: var(--muted);
  font-size: 0.85rem;
}

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

@media (max-width: 700px) {
  .header {
    padding: 18px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    gap: 15px;
    font-size: 0.9rem;
  }

  .hero {
    padding-top: 65px;
    padding-bottom: 60px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .section {
    padding-top: 45px;
    padding-bottom: 45px;
  }

  .about {
    margin-left: auto;
  }

  .contact {
    padding: 25px;
    margin-bottom: 40px;
  }

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

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
