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

:root {
  --color-bg: #fafafa;
  --color-bg-alt: #f0f0f0;
  --color-text: #1a1a1a;
  --color-text-muted: #5c5c5c;
  --color-accent: #2563eb;
  --color-accent-hover: #1d4ed8;
  --color-border: #e5e5e5;
  --font: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --max-width: 936px;
  --space: 1.5rem;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space);
}

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

a:hover {
  color: var(--color-accent-hover);
  text-decoration: underline;
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 250, 250, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space);
  min-height: 3.5rem;
}

.logo {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text);
  text-decoration: none;
  white-space: nowrap;
}

.logo:hover {
  color: var(--color-text);
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  font-size: 0.875rem;
}

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

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

/* Hero */

.hero {
  padding: 4rem 0 5rem;
}

.hero__label {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.hero__title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero__lead {
  margin: 0 0 2rem;
  max-width: 36ch;
  font-size: 1.0625rem;
  color: var(--color-text-muted);
}

.hero__cta {
  display: inline-block;
  padding: 0.625rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #fff;
  background: var(--color-accent);
  border-radius: 6px;
  text-decoration: none;
}

.hero__cta:hover {
  background: var(--color-accent-hover);
  color: #fff;
  text-decoration: none;
}

/* Sections */

.section {
  padding: 3.5rem 0;
}

.section--alt {
  background: var(--color-bg-alt);
}

.section__title {
  margin: 0 0 1rem;
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.section__intro {
  margin: 0 0 2rem;
  color: var(--color-text-muted);
}

.subsection__title {
  margin: 2rem 0 1rem;
  font-size: 0.9375rem;
  font-weight: 600;
}

/* Tags */

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tags li {
  padding: 0.375rem 0.75rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 4px;
}

.section--alt .tags li {
  background: var(--color-bg);
}

.tags li a {
  color: inherit;
  text-decoration: none;
}

.tags li a:hover {
  color: var(--color-accent);
}

/* Services */

.services {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: service;
}

.service {
  counter-increment: service;
  padding: 1.5rem 0;
  border-top: 1px solid var(--color-border);
}

.service:last-child {
  padding-bottom: 0;
}

.service__title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.service__title::before {
  content: counter(service) ". ";
  color: var(--color-text-muted);
  font-weight: 500;
}

.service__text {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

/* Info grid */

.info-grid {
  margin: 0;
}

.info-grid__item {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 0;
  border-top: 1px solid var(--color-border);
}

.info-grid__item:first-child {
  border-top: none;
  padding-top: 0;
}

.info-grid dt {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.info-grid__hint {
  font-weight: 400;
  font-size: 0.75rem;
}

.info-grid dd {
  margin: 0;
  font-size: 0.9375rem;
}

.info-grid__item--placeholder dd em {
  font-style: normal;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.legal-note {
  margin: 2rem 0 0;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* Footer */

.footer {
  padding: 2rem 0;
  border-top: 1px solid var(--color-border);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.footer__copy,
.footer__contact {
  margin: 0;
}

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

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

/* Responsive */

@media (max-width: 540px) {
  .header__inner {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .nav {
    gap: 0.5rem 1rem;
  }
}
