/* Theme: change these to re-colour the whole site */
:root {
  --brand: #5B2A6E;      /* plum */
  --brand-dark: #461F55;
  --brand-light: #E3A72F; /* gold accent: rules and marks only, not text on white */
  --accent: #E3A72F;
  --ink: #1E1424;
  --text: #4A3F4E;
  --muted: #675B6B; /* AA contrast on white, --ground and --soft */
  --ground: #FBF8F4;
  --soft: #F4ECF6;
  --tint: #F7F1EA;
  --field: #FFFDFB;
  --line: #E2D9DF;
  --line-soft: #EEE6E8;
  --line-strong: #CDB8D3;
  --error: #b42318;
  --error-bg: #fff4f2;
  --shadow-card: 0 18px 44px rgba(30,20,36,.14);
  --shadow-pop: 0 18px 40px rgba(30,20,36,.16);
  --radius: 16px;
  --wrap: 1180px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-weight: 400 800;
  font-display: swap;
  src: url(/fonts/plus-jakarta-sans-latin.woff2) format("woff2");
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 96px; scroll-padding-bottom: 24px; } /* focused fields never hide under the sticky header */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) { *, ::before, ::after { transition: none !important; } }
body {
  margin: 0;
  font: 16px/1.6 "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--text);
  background: #fff;
  -webkit-tap-highlight-color: rgba(91,42,110,.12);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--ink); line-height: 1.1; margin: 0; font-weight: 800; letter-spacing: -.02em; text-wrap: balance; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
section { padding: 80px 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
svg.i { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform .15s ease-out, background-color .2s, border-color .2s;
}
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.btn-block { width: 100%; justify-content: center; }
.btn-green { background: var(--brand); color: #fff; }
.btn-green:hover { background: var(--brand-dark); }
.btn-white { background: #fff; color: var(--brand); }
.btn-white:hover { background: var(--soft); }
.btn-ghost { background: #fff; color: var(--ink); border: 2px solid var(--line); }
.btn-ghost:hover { border-color: var(--brand); }
.spin { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; display: none; }
.btn.loading .spin { display: inline-block; }
.btn.loading svg { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 560px) {
  section { padding: 56px 0; }
}
