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

html,
body {
  width: 100%;
  height: 100%;
  font-family: var(--font-primary);
  background-color: var(--color-bg);
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

a,
p,
span {
  text-decoration: none;
  font-size: 13px;
  color: var(--color-text);
}

h2 {
  font-weight: 500;
  font-size: 80px;
  color: var(--color-text-secondary);
  letter-spacing: -2px;
  line-height: 100%;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.container {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--color-bg);
}

.callout {
  width: max-content;
  padding: 0.5em 1em;
  text-transform: uppercase;
  background-color: rgba(255, 255, 255, 0.125);
  border-radius: 12px;
  margin-bottom: 2em;
}

/* Headings demoted from h1 (one h1 per page) keep the same look. */
.hx {
  font-weight: 500;
  color: var(--color-text-secondary);
  letter-spacing: -2px;
  line-height: 100%;
}

.icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

body.is-menu-open {
  overflow: hidden;
}

/* The template had no focus styling at all. */
:focus-visible {
  outline: 3px solid var(--focus-color);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 100000;
  padding: 0.5rem 1rem;
  background: var(--color-text);
  color: var(--color-bg);
  font-family: var(--font-primary);
  font-size: 14px;
  transition: top 0.15s ease;
}

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

/* The toggle is a <button> now — undo the UA styling. */
.menu {
  padding: 0;
  background: none;
  border: 0;
  font: inherit;
  color: inherit;
  appearance: none;
  cursor: pointer;
}

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

/* The decorative section backgrounds are absolutely positioned and deliberately
   bleed into the section above (promo -25%, footer -20%, hero rotated). Their
   transparent areas still hit-test, so without this they intercept clicks on
   whatever they overlap. They are pure decoration — take them out of hit
   testing entirely. */
.hero-img,
.promo-bg,
.prices-bg,
.footer-bg {
  pointer-events: none;
}
