/* Crafting and Relaxing — shared design tokens & components */
:root {
  /* Blues pulled from Sarah's YouTube banner (#025587) and avatar, plus coastal accents */
  --blue-950: #072238;
  --blue-900: #0A2E4A;
  --blue-800: #0C4A6E;
  --blue-700: #025587;
  --blue-600: #0B6BA8;
  --blue-500: #2F86C0;
  --blue-300: #8EC1DC;
  --blue-200: #BFDCEB;
  --blue-100: #E4F0F7;
  --blue-50:  #F2F8FB;
  --sky: #A1C2CE;

  --cream: #FBF7EF;
  --paper: #F4EEE2;
  --white: #FFFFFF;
  --ink: #1B2733;
  --ink-soft: #3E4C59;
  --muted: #687684;
  --line: #E6DFD1;
  --gold: #E3B45E;
  --rose: #C9665A;
  --green: #2E8B6A;
  --venmo: #008CFF;

  --font-display: "Fraunces", "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(10, 46, 74, .06), 0 2px 8px rgba(10, 46, 74, .05);
  --shadow: 0 2px 4px rgba(10, 46, 74, .05), 0 10px 30px rgba(10, 46, 74, .09);
  --shadow-lg: 0 20px 60px rgba(7, 34, 56, .22);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-700); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .4em; color: var(--blue-900); }
h2 { font-size: clamp(1.75rem, 4.5vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }

.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.wrap--narrow { width: min(720px, 100% - 2.5rem); }
.eyebrow { font: 700 .75rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-600); margin: 0 0 .6rem; }
.eyebrow--light { color: var(--blue-200); }
.small-print { font-size: .82rem; color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: .5rem 1rem; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  --bg: var(--blue-700); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.35rem; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg); font: 600 1rem/1.1 var(--font-body);
  text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: transform .15s var(--ease), box-shadow .2s var(--ease), background .2s;
  box-shadow: var(--shadow-sm);
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn--primary { --bg: var(--blue-700); }
.btn--light { --bg: #fff; --fg: var(--blue-800); }
.btn--ghost { --bg: transparent; --fg: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.55); }
.btn--ghost:hover { --bg: rgba(255,255,255,.1); }
.btn--soft { --bg: var(--blue-100); --fg: var(--blue-800); box-shadow: none; }
.btn--venmo { --bg: var(--venmo); }
.btn--danger { --bg: #FBEAE7; --fg: #9E3B30; box-shadow: none; }
.btn--success { --bg: #E3F4EC; --fg: #1F6E52; box-shadow: none; }
.btn--sm { min-height: 40px; padding: .55rem 1rem; font-size: .92rem; }
.btn--block { width: 100%; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px);
  background: var(--blue-900); color: #fff; padding: .8rem 1.2rem; border-radius: 999px;
  font-weight: 600; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s var(--ease); z-index: 200; max-width: calc(100% - 32px); text-align: center;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }
.toast.is-error { background: #9E3B30; }

/* 404 */
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 2rem;
  background: radial-gradient(circle at 30% 20%, var(--blue-600), var(--blue-900) 70%); color: #fff; }
.notfound h1 { color: #fff; font-size: 2rem; }
.notfound img { margin: 0 auto 1.5rem; }
.btn--venmo-outline { --bg: #fff; --fg: #0074D4; box-shadow: inset 0 0 0 2px var(--venmo); }
.btn--venmo-outline:hover { --bg: #EEF7FF; }
.btn[disabled] { opacity: .7; cursor: progress; }
