:root {
  --ivory: #faf8f5;
  --paper: #ffffff;
  --ink: #111111;
  --muted: #68645f;
  --line: #ddd8d2;
  --lavender: #8b6fd8;
  --lavender-dark: #7658ca;
  --lavender-pale: #eee9fb;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-height: 100%; }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 10%, rgba(139, 111, 216, .13), transparent 30rem),
    var(--ivory);
  font-family: Geist, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; }
.skip-link { position: fixed; z-index: 10; top: 10px; left: 10px; padding: 10px 14px; background: var(--ink); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.join-header { width: min(100% - 40px, 1120px); height: 96px; margin: 0 auto; display: flex; align-items: center; }
.join-header a { display: inline-flex; }
.join-header img { display: block; width: 126px; height: auto; }
.join-main { width: min(100% - 40px, 1120px); min-height: calc(100vh - 184px); margin: 0 auto; display: grid; place-items: center; padding: 48px 0 88px; }
.join-card { width: min(100%, 650px); padding: clamp(34px, 7vw, 72px); border: 1px solid var(--line); border-radius: 28px; background: rgba(255, 255, 255, .91); box-shadow: 0 22px 60px rgba(41, 39, 36, .10); }
.join-card[hidden] { display: none; }
.eyebrow { margin: 0 0 18px; color: var(--lavender-dark); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
h1 { max-width: 560px; margin: 0 0 24px; font-size: clamp(40px, 7vw, 66px); font-weight: 600; letter-spacing: -.055em; line-height: .98; }
p { max-width: 560px; margin: 0 0 18px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { min-height: 52px; margin-top: 18px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: white; font-size: 14px; font-weight: 650; text-decoration: none; }
.actions .button { margin-top: 0; }
.button:hover { background: var(--lavender-dark); border-color: var(--lavender-dark); }
.button-secondary { background: transparent; color: var(--ink); }
.button-secondary:hover { background: var(--lavender-pale); color: var(--ink); }
.text-link { display: block; width: fit-content; margin-top: 22px; color: var(--muted); font-size: 14px; }
.fine-print { margin-top: 24px; font-size: 13px; }
footer { width: min(100% - 40px, 1120px); min-height: 88px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
footer nav { display: flex; gap: 20px; }
footer a:hover { color: var(--lavender-dark); }
:focus-visible { outline: 3px solid var(--lavender); outline-offset: 3px; }

@media (max-width: 560px) {
  .join-header { height: 78px; }
  .join-header img { width: 108px; }
  .join-main { min-height: calc(100vh - 156px); padding: 24px 0 64px; }
  .join-card { border-radius: 22px; }
  .actions { flex-direction: column; }
  .actions .button { width: 100%; }
  footer { padding: 24px 0; align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
