/* Harvey Spiner — Protected Provider Toolkit
   Brand: Signature Red #7D0000 · Ink #1A1A1A · Slate #555555 · Fog #E5E5E5 · Paper #F8F8F8
   Fonts: Playfair Display (headlines) · DM Sans (body, letterspaced caps for labels) */

:root {
  --red: #7D0000;
  --red-deep: #6A0000;
  --ink: #1A1A1A;
  --slate: #555555;
  --fog: #E5E5E5;
  --paper: #F8F8F8;
  --white: #FFFFFF;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
}
a { color: var(--red); }
img { max-width: 100%; }

.wrap { max-width: 640px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-head {
  background: var(--white);
  border-bottom: 1px solid var(--fog);
}
.site-head .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.wordmark {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
  font: 600 20px/1 var(--serif);
}
.wordmark img { height: 34px; width: auto; }
.wordmark .last { color: var(--red); }
.head-link {
  font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--slate); text-decoration: none;
}
.head-link:hover { color: var(--red); }

/* Type */
.eyebrow {
  font: 600 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  color: var(--red); margin: 0 0 14px;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 12px; }
h1 { font-size: clamp(32px, 8vw, 46px); }
h2 { font-size: 26px; }
h3 { font-size: 20px; }
em.tag { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--red); }
.lede { color: var(--slate); font-size: 18px; margin: 0 0 28px; }
.rule { width: 48px; height: 2px; background: var(--red); border: 0; margin: 0 0 20px; }

/* Cards & forms */
.card {
  background: var(--white);
  border: 1px solid var(--fog);
  border-radius: 14px;
  padding: 24px;
}
label.field { display: block; margin: 0 0 18px; }
label.field .lab { display: block; font-weight: 600; margin-bottom: 4px; }
label.field .hint { display: block; color: var(--slate); font-size: 14px; margin-bottom: 8px; }
.money {
  display: flex; align-items: center;
  border: 1.5px solid var(--fog); border-radius: 10px; background: var(--paper);
  transition: border-color .15s;
}
.money:focus-within { border-color: var(--red); background: var(--white); }
.money span { padding: 0 4px 0 14px; color: var(--slate); font-weight: 600; }
.money input {
  flex: 1; min-width: 0; border: 0; background: transparent; outline: 0;
  font: 600 20px/1 var(--sans); color: var(--ink); padding: 14px 14px 14px 4px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 16px 20px; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 15px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; text-align: center;
}
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-deep); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-ghost:hover { border-color: var(--red); color: var(--red); }
.btn + .btn { margin-top: 10px; }

.fine { color: var(--slate); font-size: 13px; line-height: 1.5; }

/* Footer */
.site-foot {
  background: var(--ink); color: #bdbdbd; margin-top: 56px;
  padding: 32px 0 40px; font-size: 13px;
}
.site-foot a { color: var(--white); }
.site-foot .tagline { font: italic 18px/1.4 var(--serif); color: var(--white); margin: 0 0 12px; }

@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: rise .45s ease-out both; }
  @keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}
