:root {
  --measure: 720px;
  --nav-h: 76px;
  --green-soft: #c2ed9a;
  --green-deep: #4f9b2f;
  --cyan-soft: #a9e3f3;
  --cyan-deep: #2f9ab8;
  --magenta-soft: #f5a3cd;
  --magenta-deep: #b93f80;
  --gutter: clamp(1.25rem, 5vw, 3rem);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 14px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

img {
  display: block;
}

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

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

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--accent);
  color: #1a1206;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--text);
  text-wrap: balance;
}

h4,
h5,
h6 {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

h2 {
  font-size: clamp(2rem, 1.1rem + 3.6vw, 3.5rem);
}

h3 {
  font-size: clamp(1.35rem, 1rem + 1.3vw, 1.8rem);
}

p {
  color: var(--text-soft);
}

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

.section {
  position: relative;
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

.section--tight {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.eyebrow--plain::before {
  display: none;
}

a.eyebrow:hover {
  color: var(--accent-soft);
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head .eyebrow {
  margin-bottom: 1rem;
}

.section-head p {
  margin-top: 1.1rem;
  font-size: 1.1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.95em 1.7em;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.btn .icon {
  width: 1.15em;
  height: 1.15em;
}

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

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: linear-gradient(180deg, var(--accent-soft), var(--accent));
  color: #1a1206;
  box-shadow: 0 10px 26px -12px color-mix(in srgb, var(--accent) 65%, transparent);
}

.btn--primary:hover {
  box-shadow: 0 16px 38px -10px color-mix(in srgb, var(--accent) 80%, transparent);
}

.btn--ghost {
  background: color-mix(in srgb, var(--bg) 55%, transparent);
  color: var(--text);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent-soft);
  background: color-mix(in srgb, var(--bg) 70%, transparent);
}

.btn--sm {
  padding: 0.7em 1.25em;
  font-size: 0.9rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.45em 0.8em;
  border-radius: 7px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-soft);
  background: rgba(8, 6, 12, 0.82);
  border: 1px solid color-mix(in srgb, var(--accent) 55%, #000);
  box-shadow: inset 0 0 0 1px hsla(0, 0%, 100%, 0.04);
}

.pill--tiny {
  padding: 0.2em 0.5em;
  font-size: 0.6rem;
  margin-left: 0.6em;
  vertical-align: middle;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-soft);
  padding: 0.45em 0.9em;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.tag-pill:hover,
.tag-pill[aria-current="page"] {
  border-color: var(--accent);
  color: var(--accent-soft);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-weight: 600;
  color: var(--accent-soft);
}

.link-arrow .icon {
  width: 1.1em;
  height: 1.1em;
  transition: transform 0.25s var(--ease);
}

.link-arrow:hover .icon {
  transform: translateX(4px);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1000;
  width: auto;
  height: auto;
  clip: auto;
  clip-path: none;
  padding: 0.8em 1.2em;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: #1a1206;
  font-weight: 600;
}

.site-main {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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