/* Wylse — base layer */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--t-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: var(--t-hero); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); letter-spacing: -0.01em; }

p { margin: 0 0 1.1em; max-width: var(--maxw-prose); }

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }

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

/* ---- Layout ---- */
.wrap {
  width: min(100% - 3rem, var(--maxw));
  margin-inline: auto;
}
.band { padding-block: var(--sp-section); }
.band--white { background: var(--white); color: var(--ink); }

/* ---- Eyebrow: small caps label with a yellow rule ---- */
.eyebrow {
  font-family: var(--f-body);
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: "";
  width: 2.25rem;
  height: var(--border-w);
  background: var(--border-accent);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.75rem;
  font-family: var(--f-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
  border: var(--border-w) solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--violet-500);
  color: #fff;
  border-color: var(--violet-500);
}
.btn--primary:hover { background: var(--violet-600); border-color: var(--violet-600); color: #fff; }

/* Yellow-bordered ghost — the signature button */
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-accent);
}
.btn--ghost:hover { background: var(--yellow-400); color: var(--black); }

.band--black .btn--ghost { color: var(--ink); }

/* ---- Yellow-edged card ---- */
.card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-top: var(--border-w) solid var(--border-accent);
  padding: 2rem 1.75rem;
  border-radius: 2px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px -12px rgba(106, 75, 255, 0.28);
}
.band--black .card {
  background: #131318;
  border-color: var(--rule);
  border-top-color: var(--border-accent);
}

/* ---- Scroll reveal ---- */
/* No scroll-triggered reveals. The whole page paints at load — every section
   is fully visible before the user scrolls to it. The .reveal class is kept
   on the markup as a hook but is intentionally inert; do not reintroduce
   opacity:0 here. */
.reveal { opacity: 1; transform: none; }

/* ---- Utility ---- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.lede { font-size: clamp(1.0625rem, 1.6vw, 1.3125rem); color: var(--ink-2); }
