:root {
  color-scheme: light;
  --background: #f5f5f7;
  --surface: rgba(255, 255, 255, 0.88);
  --text: #1d1d1f;
  --secondary: #6e6e73;
  --accent: #0071e3;
  --border: rgba(0, 0, 0, 0.08);
  --shadow: 0 12px 38px rgba(0, 0, 0, 0.07);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 0%, rgba(73, 176, 255, 0.19), transparent 34rem),
    var(--background);
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  text-decoration: underline;
}

.shell {
  width: min(100% - 32px, 860px);
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 20px;
}

.brand {
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 20px;
  font-size: 14px;
}

.hero {
  padding: 84px 0 42px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 650;
}

h1 {
  margin: 0;
  font-size: clamp(38px, 8vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.hero p {
  max-width: 620px;
  margin: 20px auto 0;
  color: var(--secondary);
  font-size: clamp(17px, 3vw, 21px);
  line-height: 1.6;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 26px 0 72px;
}

.card,
.document {
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.card {
  min-height: 190px;
  padding: 28px;
  color: var(--text);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

.card-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  margin-bottom: 22px;
  color: white;
  background: linear-gradient(145deg, #62bfff, #087be6);
  font-size: 21px;
  font-weight: 700;
}

.card h2 {
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: -0.025em;
}

.card p {
  margin: 0;
  color: var(--secondary);
  line-height: 1.55;
}

.page-header {
  padding: 64px 0 28px;
}

.page-header h1 {
  font-size: clamp(34px, 7vw, 52px);
}

.page-header p {
  margin: 14px 0 0;
  color: var(--secondary);
  line-height: 1.6;
}

.document {
  padding: clamp(24px, 5vw, 48px);
  margin-bottom: 64px;
}

.document section + section {
  padding-top: 28px;
  margin-top: 28px;
  border-top: 1px solid var(--border);
}

.document h2 {
  margin: 0 0 12px;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.document h3 {
  margin: 22px 0 8px;
  font-size: 17px;
}

.document p,
.document li {
  color: #3a3a3c;
  line-height: 1.75;
}

.document ul {
  padding-left: 1.25em;
}

.meta {
  color: var(--secondary) !important;
  font-size: 14px;
}

.contact {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 22px;
  margin-top: 6px;
  color: white;
  background: var(--accent);
  font-weight: 650;
}

.contact:hover {
  text-decoration: none;
  background: #0077ed;
}

footer {
  padding: 0 0 36px;
  color: var(--secondary);
  text-align: center;
  font-size: 13px;
  line-height: 1.8;
}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 24px, 860px);
  }

  .nav {
    min-height: 56px;
  }

  .nav-links {
    gap: 14px;
  }

  .hero {
    padding-top: 58px;
  }

  .grid {
    grid-template-columns: 1fr;
    margin-bottom: 52px;
  }

  .card,
  .document {
    border-radius: 20px;
  }

  .page-header {
    padding-top: 44px;
  }
}

