:root {
  --bg: #f0f0f1;
  --surface: #ffffff;
  --surface-soft: #f6f7f9;
  --text: #101014;
  --muted: #4c515b;
  --blue: #2f69f5;
  --line: #d8dbe3;
  --radius: 20px;
  --container: 1120px;
  --anchor-offset: 8.4rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, #ffffff 0%, #f0f0f1 52%),
    radial-gradient(circle at 85% 90%, #e9edf7 0%, #f0f0f1 45%);
  line-height: 1.58;
}

.page-shell {
  width: min(1220px, calc(100% - 1.2rem));
  margin: 1rem auto;
  border: 1px solid #d6d8dd;
  border-radius: 26px;
  background: var(--surface);
  overflow: clip;
}

.container {
  width: min(var(--container), calc(100% - 2.8rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #d6dbe5;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 6px;
  background: linear-gradient(
    to bottom,
    rgba(23, 31, 45, 0.07) 0%,
    rgba(23, 31, 45, 0.03) 35%,
    rgba(23, 31, 45, 0) 100%
  );
  pointer-events: none;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem 0;
}

.brand {
  max-width: 500px;
}

.brand-mark {
  margin: 0 0 0.25rem;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #202737;
}

.brand p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

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

.nav-list a {
  text-decoration: none;
  color: #202737;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  background: #e9efff;
  color: var(--blue);
}

.section {
  padding: 3.4rem 0;
  background: var(--surface);
  position: relative;
}

.hero {
  padding-top: 4rem;
}

.section + .section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(
    to bottom,
    rgba(23, 31, 45, 0.07) 0%,
    rgba(23, 31, 45, 0.03) 35%,
    rgba(23, 31, 45, 0) 100%
  );
  pointer-events: none;
}

.section + .section {
  border-top: 1px solid #d6dbe5;
}

.hero-body {
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(260px, 0.78fr);
  gap: 1.35rem;
  align-items: start;
}

.eyebrow {
  margin: 0 0 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
  color: #6e7687;
}

.hero h1 {
  margin: 0 0 1.35rem;
  max-width: none;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: clamp(2rem, 5vw, 4.35rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.hero h1 span {
  color: var(--blue);
}

.hero p {
  margin: 1rem 0 0;
  color: var(--muted);
}

.hero-copy {
  min-width: 0;
}

.hero-summary {
  border: 1px solid var(--line);
  background: #f5f7fb;
  border-radius: var(--radius);
  padding: 1.3rem 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100%;
}

.hero-summary h2 {
  margin: 0;
  font-size: 1.15rem;
}

.hero-summary p {
  margin: 0.5rem 0 1.1rem;
  font-size: 0.95rem;
  color: #3d4553;
}

.hero-summary p:last-child {
  margin-bottom: 0;
}

h2 {
  margin: 0 0 1rem;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);
  line-height: 1.2;
}

h2[id] {
  scroll-margin-top: var(--anchor-offset);
  color: var(--blue);
  font-weight: 800;
  letter-spacing: -0.01em;
}

h3 {
  margin: 1.3rem 0 0.5rem;
  font-size: 1.03rem;
  font-family: "Sora", "Manrope", sans-serif;
}

p,
li,
dd {
  color: var(--muted);
}

.section-muted {
  background: var(--surface);
}

.cards {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
}

.card-dark {
  background: #f5f7fb;
  border-color: var(--line);
}

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

.card-dark h3 {
  color: var(--text);
}

.card ul {
  padding-left: 1.15rem;
  margin: 0.7rem 0 0;
}

.card li {
  margin-bottom: 0.38rem;
}

.info-grid {
  margin: 0;
  display: grid;
  gap: 0.9rem 1rem;
  grid-template-columns: minmax(220px, 0.58fr) 1fr;
}

.info-grid dt {
  font-weight: 800;
  color: #1e2431;
  font-size: 0.96rem;
}

.info-grid dd {
  margin: 0;
}

a {
  color: var(--blue);
}

@media (max-width: 1040px) {
  .hero-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 880px) {
  .header-top {
    flex-direction: column;
    align-items: flex-start;
  }

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

@media (max-width: 640px) {
  :root {
    --anchor-offset: 12.5rem;
  }

  .page-shell {
    width: calc(100% - 0.6rem);
    border-radius: 20px;
    margin: 0.3rem auto;
  }

  .container {
    width: min(var(--container), calc(100% - 1.4rem));
  }

  .section {
    padding: 2.4rem 0;
  }

  .hero {
    padding-top: 2.8rem;
  }

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

  .nav-list a {
    font-size: 0.84rem;
    padding: 0.35rem 0.5rem;
  }
}
