:root {
  --paper: #fffdfc;
  --surface: #ffffff;
  --blush: #fff4f0;
  --ink: #24203a;
  --muted: #655f73;
  --violet: #6346c7;
  --violet-dark: #4e35a8;
  --lavender: #eee9ff;
  --coral: #f5a28b;
  --line: #e8e2eb;
  --dark: #211f2d;
  --display: 'Bricolage Grotesque', sans-serif;
  --body: 'DM Sans', sans-serif;
  --page-gutter: 20px;
  --tap-size: 48px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --shadow-card: 0 16px 38px rgb(42 30 74 / 10%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font: 400 16px / 1.55 var(--body);
}
body:has(dialog[open]) { overflow: hidden; }
img, video { max-width: 100%; height: auto; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
figure { margin: 0; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 4px;
}

.wrap { width: min(1160px, calc(100% - (var(--page-gutter) * 2))); margin-inline: auto; }
.skip-link {
  position: fixed; inset: 10px auto auto 12px; z-index: 100;
  transform: translateY(-180%); padding: 10px 14px; border-radius: 10px;
  background: var(--surface); color: var(--ink); box-shadow: var(--shadow-card);
}
.skip-link:focus { transform: translateY(0); }

h1, h2, h3 { margin: 0; font-family: var(--display); letter-spacing: -0.045em; line-height: 1.02; }
h1 { font-size: clamp(2.8rem, 12vw, 4.85rem); }
h2 { font-size: clamp(2.05rem, 8vw, 3.8rem); }
h3 { font-size: clamp(1.45rem, 6vw, 2.35rem); }

.eyebrow {
  margin: 0 0 12px; color: var(--violet); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.13em; line-height: 1.4; text-transform: uppercase;
}
.subnote { margin: 12px 0 0; color: var(--muted); font-size: 0.78rem; line-height: 1.45; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--tap-size); border: 0; border-radius: 12px; padding: 12px 18px;
  background: var(--violet); color: #fff; font-weight: 700; line-height: 1.2;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}
.button:hover { background: var(--violet-dark); box-shadow: 0 8px 20px rgb(79 53 168 / 24%); transform: translateY(-1px); }
.button.small { min-height: 44px; padding: 10px 13px; border-radius: 10px; font-size: 0.78rem; }

@media (min-width: 700px) {
  :root { --page-gutter: 32px; }
  .button { padding-inline: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
