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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
  scrollbar-width: thin;
  scrollbar-color: var(--blue-deep) transparent;
}

[data-theme="dark"] {
  color-scheme: dark;
}

[id] {
  scroll-margin-top: 6rem;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-scrollbar);
  border-radius: var(--radius-pill);
  border: 2px solid var(--bg);
  background-clip: padding-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  transition: background-color var(--dur-med) var(--ease-out), color var(--dur-med) var(--ease-out);
  position: relative;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.bg-field {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.bg-field span {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}

.bg-field span:nth-child(1) {
  width: 46vw;
  height: 46vw;
  top: -14vw;
  right: -10vw;
  background: var(--bg-blob-a);
}

.bg-field span:nth-child(2) {
  width: 36vw;
  height: 36vw;
  bottom: 6vw;
  left: -12vw;
  background: var(--bg-blob-b);
}

.bg-field span:nth-child(3) {
  width: 22vw;
  height: 22vw;
  top: 38vw;
  left: 34vw;
  background: var(--bg-blob-a);
  opacity: 0.6;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

.gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.glass {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--text-tertiary);
  margin-bottom: var(--space-xs);
}

.section {
  padding-block: var(--space-2xl);
  position: relative;
}

.section-head {
  max-width: 640px;
  margin-bottom: var(--space-lg);
}

.section-head p {
  color: var(--text-secondary);
  margin-top: var(--space-xs);
  font-size: 1.05rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  padding: 0.85rem 1.7rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.96rem;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}

.btn-primary {
  background: var(--gradient-accent);
  color: #0d1410;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn-ghost {
  border: 1px solid var(--surface-border);
  color: var(--text-primary);
}

.btn-ghost:hover {
  border-color: var(--blue-deep);
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--surface-border);
  transition: border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}

.icon-btn:hover {
  border-color: var(--blue-deep);
  transform: translateY(-2px);
}

.icon-btn img {
  width: 18px;
  height: 18px;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--blue-deep);
  outline-offset: 3px;
}

::selection {
  background: var(--blue);
  color: #0d1410;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 720px) {
  .section {
    padding-block: var(--space-xl);
  }
}