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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background:
    radial-gradient(circle at top left, rgba(79, 107, 255, 0.08), transparent 25%),
    linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
  line-height: 1.65;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

main {
  min-height: 60vh;
}

section {
  position: relative;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.6rem, 4.6vw, 4.4rem);
}

h2 {
  font-size: clamp(2rem, 3.3vw, 3rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}

p {
  margin: 0 0 18px;
  color: var(--color-muted);
}

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

.highlight {
  color: var(--color-accent);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(79, 107, 255, 0.1);
  color: var(--color-primary-deep);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.section-tag::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-accent);
}

.section-heading {
  max-width: 640px;
  margin-bottom: 24px;
}

.section-divider {
  width: 100%;
  max-width: 220px;
  height: 2px;
  margin-top: 26px;
  background: linear-gradient(90deg, var(--color-aqua), rgba(0, 194, 199, 0));
}

.eyebrow {
  color: var(--color-primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
}

.muted {
  color: var(--color-muted);
}

.surface-card,
.glass-card {
  background: var(--color-card);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.glass-card {
  backdrop-filter: blur(10px);
}

.btn,
.btn-outline,
.btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
}

.btn {
  background: var(--gradient-primary);
  color: var(--color-white);
  box-shadow: 0 16px 30px rgba(79, 107, 255, 0.28);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 24px 34px rgba(79, 107, 255, 0.34);
}

.btn-outline {
  background: var(--color-white);
  color: var(--color-text);
  border-color: rgba(17, 24, 39, 0.12);
  box-shadow: 0 10px 22px rgba(17, 24, 39, 0.06);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 28px rgba(17, 24, 39, 0.1);
}

.btn-link {
  min-height: auto;
  padding: 0;
  color: var(--color-primary);
}

.list-check {
  display: grid;
  gap: 12px;
  list-style: none;
  padding: 0;
}

.list-check li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-text);
  font-weight: 600;
}

.list-check li::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(79, 107, 255, 0.15), rgba(79, 107, 255, 0.35)),
    url("../assets/icons/check-circle.svg") center/10px 10px no-repeat;
}

.two-column-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(79, 107, 255, 0.08);
  color: var(--color-primary-deep);
  font-weight: 700;
  font-size: 0.92rem;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: rgba(17, 24, 39, 0.76);
  font-size: 0.95rem;
}

.breadcrumbs a {
  color: var(--color-primary-deep);
}

.breadcrumbs span:last-child {
  color: var(--color-muted);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 16px;
  z-index: 200;
  padding: 14px 18px;
  border-radius: 10px;
  background: var(--color-primary-deep);
  color: var(--color-white);
}

.skip-link:focus {
  left: 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-shell {
  padding-top: calc(var(--header-height) + 12px);
}
