:root {
  color-scheme: light;
  --page: #f5f5f7;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --faint: #86868b;
  --line: rgba(0, 0, 0, 0.1);
  --blue: #0071e3;
  --blue-soft: #e8f2ff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 50% -12%, rgba(0, 113, 227, 0.12), transparent 34rem),
    var(--page);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
}

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

a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(245, 245, 247, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
}

.header-inner,
.main,
.site-footer {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
}

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

.brand-wrap {
  min-width: 0;
}

.brand {
  margin: 0;
  color: var(--text);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.25;
}

.subtitle {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.nav {
  display: flex;
  flex: 0 0 auto;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

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

.nav a[aria-current="page"] {
  color: var(--text);
  background: var(--surface-strong);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.08);
}

.main {
  padding: 72px 0 56px;
}

.hero,
.panel {
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.hero {
  padding: clamp(34px, 6vw, 72px);
}

.panel {
  padding: clamp(28px, 5vw, 58px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0 0 18px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 13px;
  font-weight: 650;
}

h1,
h2,
h3 {
  letter-spacing: 0;
  line-height: 1.12;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(38px, 7vw, 70px);
  font-weight: 720;
}

h2 {
  margin: 42px 0 12px;
  font-size: clamp(23px, 3vw, 31px);
  font-weight: 700;
}

h3 {
  margin: 24px 0 8px;
  font-size: 20px;
  font-weight: 680;
}

p {
  margin: 0 0 15px;
}

.lead {
  max-width: 720px;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(19px, 2.4vw, 26px);
  line-height: 1.36;
}

.body-copy {
  max-width: 760px;
  color: #2b2b2d;
  font-size: 17px;
}

ul {
  margin: 0 0 20px;
  padding-left: 22px;
}

li {
  margin: 8px 0;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.link-card {
  display: block;
  min-height: 150px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface-strong);
  color: var(--text);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.link-card:hover {
  border-color: rgba(0, 113, 227, 0.28);
  box-shadow: 0 16px 40px rgba(0, 113, 227, 0.12);
  text-decoration: none;
  transform: translateY(-2px);
}

.link-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 21px;
}

.link-card span {
  display: block;
  color: var(--muted);
  font-size: 15px;
}

.info {
  margin: 28px 0 0;
  padding: 18px 20px;
  border: 1px solid rgba(0, 113, 227, 0.18);
  border-radius: 18px;
  background: rgba(232, 242, 255, 0.72);
  color: #21364d;
}

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

.mini-card,
.contact-list li {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-strong);
}

.mini-card {
  padding: 20px;
}

.mini-card h3 {
  margin-top: 0;
}

.mini-card p,
.mini-card li {
  color: var(--muted);
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding-left: 0;
  list-style: none;
}

.contact-list li {
  padding: 17px 18px;
}

.contact-label {
  display: block;
  margin-bottom: 4px;
  color: var(--faint);
  font-size: 13px;
  font-weight: 650;
  text-transform: uppercase;
}

.site-footer {
  padding: 0 0 36px;
  color: var(--faint);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

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

  .nav {
    width: 100%;
    overflow-x: auto;
  }

  .nav a {
    flex: 1 0 auto;
  }

  .main {
    padding: 42px 0 36px;
  }

  .quick-links,
  .section-grid {
    grid-template-columns: 1fr;
  }

  .hero,
  .panel {
    border-radius: 22px;
  }
}
