* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background:
    radial-gradient(circle at 8% 10%, rgba(88, 216, 216, 0.34), transparent 40%),
    radial-gradient(circle at 90% 8%, rgba(255, 179, 75, 0.3), transparent 36%),
    radial-gradient(circle at 72% 88%, rgba(21, 93, 132, 0.18), transparent 42%),
    linear-gradient(148deg, #f8fcff 0%, #e9f5ff 45%, #eefbff 100%);
  min-height: 100vh;
  line-height: 1.62;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(7, 36, 58, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 36, 58, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 30%, #000 18%, transparent 82%);
  opacity: 0.36;
  z-index: -1;
}

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

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

a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  margin: 0 0 var(--space-sm);
  line-height: 1.14;
  letter-spacing: 0.01em;
}

p {
  margin: 0 0 var(--space-sm);
  color: var(--text-secondary);
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: -999px;
  background: var(--surface-0);
  color: var(--night-900);
  padding: 0.55rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.9rem 1.45rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-family: var(--font-display);
  border: 1px solid transparent;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(130deg, var(--aqua-500), var(--sun-500));
  color: #062038;
  box-shadow: var(--shadow-card);
}

.btn-primary:hover {
  box-shadow: var(--shadow-glow);
}

.btn-ghost {
  border-color: var(--border-strong);
  color: var(--night-900);
  background: rgba(255, 255, 255, 0.66);
}

.btn:hover {
  transform: translateY(-2px);
}

.text-link {
  font-weight: 700;
  color: var(--ocean-700);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: var(--space-sm) 0 0;
  color: var(--text-secondary);
}

.feature-list li {
  margin-bottom: 0.42rem;
  padding-left: 1.25rem;
  position: relative;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: linear-gradient(140deg, var(--aqua-500), var(--sun-500));
}

*:focus-visible {
  outline: 3px solid rgba(40, 196, 201, 0.8);
  outline-offset: 3px;
  border-radius: 6px;
}
