:root {
  color-scheme: dark;
  --bg: #0d1117;
  --card: #161b22;
  --text: #e6edf3;
  --muted: #8b949e;
  --border: #30363d;
  --border-urgent: #7e2722;
  --accent: #58a6ff;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top, #1f2937 0, transparent 38%),
    var(--bg);
  color: var(--text);
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.card {
  width: min(760px, 100%);
  padding: clamp(1.5rem, 5vw, 3rem);
  background: rgba(22, 27, 34, 0.92);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.tag {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--border-urgent);
  border-radius: 5px;
  color: var(--muted);
  font-size: 0.85rem;
}

h1 {
  margin: 0;
  font-size: clamp(2.5rem, 8vw, 5rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

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

p {
  max-width: 58ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.contact {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  transition: border-color 160ms ease, transform 160ms ease, background-color 160ms ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  border-color: var(--accent);
  background: rgba(88, 166, 255, 0.08);
  transform: translateY(-1px);
}

.contact-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.mail-icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid currentColor;
  display: inline-grid;
  place-items: center;
  font-size: 0.72rem;
  line-height: 1;
}

.services {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
}

article {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
}

article strong {
  display: block;
  margin-bottom: 0.25rem;
}

article span,
footer {
  color: var(--muted);
}

footer {
  margin-top: 2rem;
  font-size: 0.9rem;
}

@media (max-width: 520px) {
  .contact-link {
    width: 100%;
    justify-content: center;
  }
}
