/* =========================================================
   Holy Spirit Healing Spirit · Landing Page
   Clean, light editorial system:
   navy (from the cover) as primary, gold (from the HIM logo)
   as a sparing accent, white + soft gray sections.
   ========================================================= */

:root {
  /* Brand */
  --navy-950: #070f24;
  --navy-900: #0b1733;
  --navy-800: #13234b;
  --navy-700: #1b3168;
  --blue-600: #2554c7;
  --blue-50: #eef3fd;
  --gold-600: #a77a33;
  --gold-500: #c39a52;

  /* Neutrals */
  --white: #ffffff;
  --gray-25: #fafaf9;
  --gray-50: #f5f6f8;
  --gray-100: #eceef2;
  --gray-200: #dfe2e8;
  --gray-300: #c9ced8;
  --gray-500: #6b7385;
  --gray-700: #3b4254;
  --ink: #111a2e;

  --error: #c0392b;
  --success: #1f7a4d;

  /* Type */
  --font-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Shape & space */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --container: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(72px, 9vw, 120px);

  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow-md: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px -8px rgba(16, 24, 40, .10);
  --shadow-lg: 0 2px 4px rgba(16, 24, 40, .04), 0 24px 48px -16px rgba(16, 24, 40, .18);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--gray-700);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-underline-offset: 3px; }
a:hover { color: var(--navy-800); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; color: var(--ink); text-wrap: balance; }
.section-sub, .hero-lead { text-wrap: pretty; }
strong { color: var(--ink); font-weight: 600; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--navy-800); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 16px; color: #fff; }
:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; }

/* ---------- Type scale ---------- */
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-600); margin-bottom: 14px;
}
.eyebrow-light { color: var(--gold-500); }

.h2 {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(32px, 3.6vw, 46px); line-height: 1.12; letter-spacing: -.015em;
}
.h3 {
  font-family: var(--font-serif); font-weight: 500;
  font-size: 26px; line-height: 1.2; letter-spacing: -.01em; margin-bottom: 12px;
}
.section-sub { font-size: 18px; color: var(--gray-500); margin-top: 16px; }
.prose { font-size: 17px; }
.prose p { margin-bottom: 1.1em; }

/* ---------- Layout ---------- */
.section { padding: var(--section-y) 0; }
.section-alt { background: var(--gray-50); }
.section-head { max-width: 680px; margin-bottom: clamp(40px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; max-width: 780px; }
.section-head.center .section-sub { max-width: 620px; margin-left: auto; margin-right: auto; }

.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.split-head { position: sticky; top: 112px; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split-head { position: static; }
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 15px/1.2 var(--font-sans); letter-spacing: -.005em;
  padding: 12px 20px; border-radius: var(--radius-sm); border: 1px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 15px 26px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--navy-800); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--navy-700); color: #fff; }
.btn-primary:active { background: var(--navy-900); }

.btn-light { background: #fff; color: var(--navy-900); }
.btn-light:hover { background: var(--gray-100); color: var(--navy-900); }

.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .28); background: transparent; }
.btn-outline-light:hover { color: #fff; border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .06); }

.text-link { font-weight: 600; color: var(--blue-600); font-size: 15px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--gray-100);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo { width: 48px; }
.brand-text { font-weight: 600; font-size: 15px; color: var(--ink); letter-spacing: -.01em; }

.nav-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 32px; }
.nav-menu a:not(.btn) { color: var(--gray-700); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-menu a:not(.btn):hover { color: var(--ink); }
.nav-toggle { display: none; }

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; background: transparent; border: 1px solid var(--gray-200); border-radius: var(--radius-sm); cursor: pointer;
  }
  .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
    display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: .25s;
  }
  .nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bar::before { top: -6px; }
  .nav-toggle-bar::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { top: 0; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { top: 0; transform: rotate(-45deg); }

  .nav-menu {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--gray-200); box-shadow: var(--shadow-md);
    padding: 8px var(--gutter) 20px; display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu li a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--gray-100); }
  .nav-menu li .btn { margin-top: 16px; width: 100%; }
}
@media (max-width: 420px) { .brand-text { font-size: 14px; max-width: 170px; line-height: 1.25; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy-950);
  color: #c9d2e6;
  padding: clamp(64px, 8vw, 104px) 0;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 70% at 78% 50%, rgba(37, 84, 199, .28), transparent 70%);
}
.hero-inner {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 5vw, 72px);
}
.hero-title {
  font-family: var(--font-serif); font-weight: 500; color: #fff;
  font-size: clamp(44px, 6vw, 76px); line-height: 1.02; letter-spacing: -.025em;
}
.hero-sub {
  font-family: var(--font-serif); font-style: italic; font-size: clamp(19px, 2vw, 23px);
  color: var(--gold-500); margin: 18px 0 0;
}
.hero-lead { font-size: 18px; max-width: 480px; margin: 22px 0 34px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points {
  list-style: none; padding: 0; margin: 36px 0 0;
  display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 14px; color: #9eabc6;
}
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-500);
}
.hero-visual { position: relative; }
.hero-book {
  width: 100%;
  -webkit-mask-image: radial-gradient(closest-side, #000 65%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 65%, transparent 100%);
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin: 0 auto; width: 100%; }
}
@media (max-width: 480px) { .hero-ctas .btn { width: 100%; } }

/* ---------- Quote strip ---------- */
.quote-strip { background: var(--navy-900); color: #fff; padding: 36px 0; border-top: 1px solid rgba(255, 255, 255, .06); }
.quote-strip .container { display: flex; align-items: center; justify-content: center; gap: 12px 24px; flex-wrap: wrap; text-align: center; }
.quote-strip p { margin: 0; font-family: var(--font-serif); font-style: italic; font-size: clamp(19px, 2.2vw, 25px); line-height: 1.35; }
.quote-strip span { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-500); white-space: nowrap; }

/* ---------- Story ---------- */
.quote {
  margin: 32px 0; padding: 4px 0 4px 24px;
  border-left: 3px solid var(--gold-500);
}
.quote p { font-family: var(--font-serif); font-size: 24px; line-height: 1.35; color: var(--ink); margin-bottom: 10px; }
.quote cite { font-style: normal; font-size: 14px; color: var(--gray-500); }

/* ---------- Proofs ---------- */
.proofs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.proof { padding: 28px; transition: box-shadow .25s var(--ease), border-color .25s var(--ease); }
.proof:hover { box-shadow: var(--shadow-md); border-color: var(--gray-300); }
.proof-num {
  display: inline-block; font-size: 13px; font-weight: 600; color: var(--gold-600);
  letter-spacing: .06em; margin-bottom: 18px;
  padding-bottom: 10px; border-bottom: 2px solid var(--gold-500);
}
.proof h3 { font-size: 18px; font-weight: 600; line-height: 1.35; margin-bottom: 8px; letter-spacing: -.01em; }
.proof p { font-size: 15px; color: var(--gray-500); margin-bottom: 16px; }
.ref { font-size: 13px; font-weight: 500; color: var(--navy-700); }
.proof-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 120px 1fr; gap: 0 24px; align-items: start; background: var(--navy-900); border-color: var(--navy-900); }
.proof-wide .proof-num { color: var(--gold-500); }
.proof-wide h3 { color: #fff; font-family: var(--font-serif); font-weight: 500; font-size: 24px; }
.proof-wide p { color: #aeb9d0; max-width: 680px; }
.proof-wide .ref { color: #c9d2e6; }
.proof-wide:hover { border-color: var(--navy-900); }

@media (max-width: 960px) { .proofs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .proofs { grid-template-columns: 1fr; }
  .proof-wide { display: block; }
}

.chapters {
  margin-top: 56px; padding: clamp(24px, 4vw, 48px);
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 64px); align-items: center;
}
.chapters-figure { margin: 0; }
.chapters-figure img { border-radius: var(--radius); }
.chapter-list { list-style: none; margin: 0 0 28px; padding: 0; }
.chapter-list li {
  display: grid; grid-template-columns: 96px 1fr; gap: 16px;
  padding: 13px 0; border-bottom: 1px solid var(--gray-100); color: var(--ink); font-size: 16px;
}
.chapter-list li:first-child { border-top: 1px solid var(--gray-100); }
.chapter-list span { font-size: 13px; color: var(--gray-500); font-weight: 500; padding-top: 1px; }
@media (max-width: 820px) {
  .chapters { grid-template-columns: 1fr; }
  .chapters-figure { max-width: 420px; }
}
@media (max-width: 420px) { .chapter-list li { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Miracles ---------- */
.miracle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); }
.icon-tile {
  width: 44px; height: 44px; border-radius: 10px; margin-bottom: 20px;
  display: grid; place-items: center; color: var(--navy-700); background: var(--blue-50);
}
.icon-tile svg { width: 22px; height: 22px; }
.miracle h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; letter-spacing: -.01em; }
.miracle p { color: var(--gray-500); font-size: 15.5px; margin: 0; }
@media (max-width: 820px) { .miracle-grid { grid-template-columns: 1fr; } }

/* ---------- Author ---------- */
.author { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.author-photo { margin: 0; }
.author-photo img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.author-role { font-size: 15px; color: var(--gray-500); margin: 10px 0 24px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 32px 0 0; border-top: 1px solid var(--gray-200); }
.stats div { padding: 20px 16px 0 0; }
.stats div + div { padding-left: 20px; border-left: 1px solid var(--gray-200); }
.stats dt { font-family: var(--font-serif); font-size: 34px; font-weight: 500; color: var(--ink); line-height: 1.1; }
.stats dd { margin: 4px 0 0; font-size: 14px; color: var(--gray-500); }
@media (max-width: 860px) {
  .author { grid-template-columns: 1fr; }
  .author-photo { max-width: 380px; }
}

.video-card {
  margin-top: clamp(56px, 7vw, 88px);
  display: grid; grid-template-columns: 7fr 5fr; align-items: center;
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--shadow-sm);
  transition: box-shadow .25s var(--ease);
}
.video-card:hover { box-shadow: var(--shadow-md); color: inherit; }
.video-thumb { position: relative; height: 100%; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.play {
  position: absolute; left: 20px; bottom: 20px;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; color: var(--navy-900); background: rgba(255, 255, 255, .95);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  transition: transform .25s var(--ease);
}
.play svg { margin-left: 3px; }
.video-card:hover .play { transform: scale(1.06); }
.video-copy { padding: clamp(24px, 4vw, 44px); }
.video-copy p:not(.eyebrow) { color: var(--gray-500); margin-bottom: 18px; }
@media (max-width: 820px) {
  .video-card { grid-template-columns: 1fr; }
}

/* ---------- Give / Form ---------- */
#give { background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%); }

.give-form { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; max-width: 1040px; margin: 0 auto; }
.form-main { display: grid; gap: 16px; min-width: 0; }

.form-card {
  margin: 0; min-width: 0; padding: clamp(22px, 3.5vw, 32px);
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.step {
  float: left; width: 100%; padding: 0; margin-bottom: 24px;
  display: flex; align-items: center; gap: 12px;
  font-size: 18px; font-weight: 600; color: var(--ink); letter-spacing: -.01em;
}
.step + * { clear: both; }
.step-num {
  width: 28px; height: 28px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-size: 13px; font-weight: 600;
  color: var(--navy-800); background: var(--blue-50);
}

.label { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.optional { font-size: 13px; font-weight: 400; color: var(--gray-500); }
.help { font-size: 13px; color: var(--gray-500); margin: 6px 0 0; }
.error { font-size: 13.5px; color: var(--error); font-weight: 500; margin: 8px 0 0; }

/* Amount options */
.amount-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 20px; }
.amount-option { position: relative; cursor: pointer; }
.amount-option input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.amount-option span {
  display: grid; place-items: center; height: 56px; border-radius: var(--radius-sm);
  font-size: 18px; font-weight: 600; color: var(--ink);
  background: #fff; border: 1px solid var(--gray-300);
  transition: all .15s var(--ease);
}
.amount-option:hover span { border-color: var(--navy-700); }
.amount-option input:checked + span { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.amount-option input:focus-visible + span { outline: 2px solid var(--blue-600); outline-offset: 2px; }
@media (max-width: 480px) { .amount-grid { grid-template-columns: repeat(2, 1fr); } }

/* Joined amount input */
.amount-input {
  display: flex; align-items: stretch; overflow: hidden;
  border: 1px solid var(--gray-300); border-radius: var(--radius-sm); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.amount-input:focus-within { border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(37, 84, 199, .15); }
.affix { display: grid; place-items: center; padding: 0 14px; background: var(--gray-50); color: var(--gray-500); font-weight: 500; border-right: 1px solid var(--gray-200); }
.affix-end { border-right: 0; border-left: 1px solid var(--gray-200); font-size: 13px; letter-spacing: .04em; }
.amount-input input {
  flex: 1; min-width: 0; border: 0; outline: 0; padding: 12px 14px;
  font: 500 16px var(--font-sans); color: var(--ink); background: transparent;
}
.amount-input input::-webkit-outer-spin-button,
.amount-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.amount-input input[type=number] { -moz-appearance: textfield; appearance: textfield; }

/* Required shipping toggle */
.shipping-toggle {
  margin-top: 24px; padding: 20px;
  border: 1px solid var(--gray-200); border-radius: var(--radius); background: var(--gray-25);
  transition: border-color .15s, box-shadow .15s;
}
.shipping-toggle.has-error { border-color: var(--error); box-shadow: 0 0 0 3px rgba(192, 57, 43, .1); }
.shipping-question { font-size: 16px; font-weight: 600; color: var(--ink); margin: 0; line-height: 1.45; }
.badge {
  display: inline-block; vertical-align: 2px; margin-left: 6px;
  font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--gold-600); background: #f7efe1; padding: 2px 8px; border-radius: 999px;
}
.segmented {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 16px;
  padding: 4px; border-radius: 10px; background: var(--gray-100);
}
.seg-option { position: relative; cursor: pointer; }
.seg-option input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seg-option > span {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 44px; padding: 8px 10px; border-radius: 7px;
  font-weight: 500; font-size: 15px; color: var(--gray-500);
  transition: all .15s var(--ease);
}
.seg-option:hover > span { color: var(--ink); }
.seg-option input:checked + span { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 3px rgba(16, 24, 40, .12); }
.seg-option input[value="yes"]:checked + span { background: var(--navy-800); color: #fff; }
.seg-option input:focus-visible + span { outline: 2px solid var(--blue-600); outline-offset: 2px; }

/* Fields */
.field { margin-bottom: 18px; min-width: 0; }
.grid-2, .grid-3 { display: grid; column-gap: 16px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: 1.4fr 1fr 1fr; }
.form-card > .field:last-child, .form-card > .grid-2:last-child .field, .form-card > .grid-3:last-child .field { margin-bottom: 0; }
@media (max-width: 640px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .form-card > .grid-2:last-child .field:not(:last-child), .form-card > .grid-3:last-child .field:not(:last-child) { margin-bottom: 18px; }
}

.field input, .field select, .field textarea {
  width: 100%; font: 400 16px var(--font-sans); color: var(--ink);
  padding: 11px 13px; border-radius: var(--radius-sm); border: 1px solid var(--gray-300); background: #fff;
  box-shadow: var(--shadow-sm);
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="16" height="16"><path d="m6 9 6 6 6-6" fill="none" stroke="%236b7385" stroke-width="2" stroke-linecap="round"/></svg>');
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(37, 84, 199, .15); }
.field input.invalid, .field select.invalid { border-color: var(--error); box-shadow: 0 0 0 3px rgba(192, 57, 43, .1); }
.field input::placeholder, .field textarea::placeholder { color: #9aa1b0; }

.secure-note {
  display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--success); font-weight: 500;
  margin: -8px 0 20px;
}

.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 15px; color: var(--gray-700); position: relative; }
.form-card .grid-2 + .check, .form-card .field + .check { margin-top: 4px; }
.check input { position: absolute; opacity: 0; width: 18px; height: 18px; margin: 0; cursor: pointer; }
.check-box {
  flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 5px;
  border: 1px solid var(--gray-300); background: #fff; display: grid; place-items: center; transition: all .15s;
}
.check input:checked + .check-box { background: var(--navy-800); border-color: var(--navy-800); }
.check input:checked + .check-box::after {
  content: ""; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px);
}
.check input:focus-visible + .check-box { outline: 2px solid var(--blue-600); outline-offset: 2px; }
.billing-fields { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--gray-100); }

/* Summary */
.form-summary { position: sticky; top: 96px; }
.summary-card {
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow-md);
}
.summary-book { display: flex; gap: 14px; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--gray-100); }
.summary-book img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius-sm); }
.summary-kicker { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-600); margin: 0 0 2px; }
.summary-title { font-family: var(--font-serif); font-size: 20px; font-weight: 500; color: var(--ink); margin: 0; line-height: 1.2; }
.summary-by { font-size: 13px; color: var(--gray-500); margin: 2px 0 0; }
.summary-lines { margin: 16px 0 20px; }
.summary-lines div { display: flex; justify-content: space-between; padding: 6px 0; font-size: 15px; }
.summary-lines dt { color: var(--gray-500); }
.summary-lines dd { margin: 0; color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.summary-lines dd.is-muted { color: var(--gray-500); font-weight: 400; }
.summary-total { margin-top: 10px; padding-top: 14px !important; border-top: 1px solid var(--gray-100); }
.summary-total dt { color: var(--ink) !important; font-weight: 600; }
.summary-total dd { font-size: 22px; font-weight: 600 !important; }
.summary-notes { list-style: none; padding: 0; margin: 18px 0 0; font-size: 13px; color: var(--gray-500); display: grid; gap: 6px; }
.summary-notes li { display: flex; gap: 8px; align-items: baseline; }
.summary-notes li::before { content: ""; flex: none; width: 4px; height: 4px; border-radius: 50%; background: var(--gray-300); transform: translateY(-3px); }

@media (max-width: 980px) {
  .give-form { grid-template-columns: 1fr; max-width: 680px; }
  .form-summary { position: static; }
}

.form-success {
  max-width: 520px; margin: 0 auto; text-align: center; padding: 48px 32px;
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
}
.form-success .h3 { margin: 18px 0 10px; }
.success-icon {
  width: 60px; height: 60px; border-radius: 50%; margin: 0 auto; display: grid; place-items: center;
  color: var(--success); background: #e8f5ee;
}

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--gray-200); }
.faq-list details { border-bottom: 1px solid var(--gray-200); }
.faq-list summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 22px 44px 22px 0; font-size: 17px; font-weight: 600; color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before, .faq-list summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 14px; height: 2px; background: var(--gray-500);
  transition: transform .2s var(--ease);
}
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(0deg); }
.faq-list summary:hover { color: var(--navy-700); }
.faq-list details p { padding: 0 44px 22px 0; margin: 0; color: var(--gray-500); }

/* ---------- Final CTA ---------- */
.final-cta { background: var(--navy-900); color: #b8c3da; padding: clamp(56px, 7vw, 88px) 0; }
.final-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.final-cta .h2 { color: #fff; margin-bottom: 10px; }
.final-cta p { font-size: 17px; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #8e9ab3; padding: 56px 0 28px; font-size: 14px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-brand img { width: 56px; margin-bottom: 16px; }
.footer-brand p { max-width: 340px; }
.footer-head { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.site-footer address { font-style: normal; line-height: 1.8; }
.footer-links { list-style: none; margin: 0; padding: 0; line-height: 2; }
.site-footer a { color: #c9d2e6; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-base { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90;
  display: none; text-align: center; padding: 15px; border-radius: var(--radius);
  font-weight: 600; text-decoration: none; color: #fff; background: var(--navy-800);
  box-shadow: 0 12px 32px rgba(7, 15, 36, .35);
  transform: translateY(160%); transition: transform .3s var(--ease);
}
.sticky-cta:hover { color: #fff; }
.sticky-cta.show { transform: translateY(0); }
@media (max-width: 760px) { .sticky-cta { display: block; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
