:root {
  color-scheme: light;
  --bg: #f3f3ef;
  --panel: rgba(255, 255, 255, 0.72);
  --border: rgba(17, 24, 39, 0.12);
  --text: #111827;
  --muted: #5b6472;
  --accent: #0a66c2;
  --shadow: 0 24px 60px rgba(17, 24, 39, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(10, 102, 194, 0.08), transparent 30%),
    radial-gradient(circle at bottom right, rgba(17, 24, 39, 0.06), transparent 34%),
    var(--bg);
}

.page {
  width: min(100% - 32px, 1040px);
  margin: 0 auto;
  padding: 56px 0 72px;
}

.hero {
  margin-bottom: 32px;
  padding-left: 28px;
}

.section-label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  max-width: 8ch;
  font-size: clamp(1.6rem, 5vw, 3rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.section-label {
  margin-bottom: 18px;
}

.body-copy {
  max-width: 34rem;
  margin-top: 16px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
}

.inline-link {
  color: var(--text);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

.inline-link:hover,
.inline-link:focus-visible {
  color: var(--accent);
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.8);
  transition: transform 160ms ease, border-color 160ms ease, color 160ms ease;
  margin-top: 20px;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(10, 102, 194, 0.35);
  color: var(--accent);
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.contact-form {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  font-size: 0.9rem;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font: inherit;
  padding: 14px 16px;
  outline: none;
}

.field textarea {
  resize: vertical;
  min-height: 140px;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(10, 102, 194, 0.45);
  box-shadow: 0 0 0 4px rgba(10, 102, 194, 0.08);
}

.button {
  justify-self: start;
  border: 0;
  border-radius: 999px;
  background: var(--text);
  color: #fff;
  font: inherit;
  padding: 12px 20px;
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  background: #000;
}

@media (max-width: 760px) {
  .page {
    width: min(100% - 24px, 1040px);
    padding: 32px 0 48px;
  }

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

  .card {
    padding: 22px;
    border-radius: 20px;
  }

  .hero {
    padding-left: 22px;
  }
}
