:root {
  color-scheme: light;
  --page: #f7f1e5;
  --surface: #fffdf8;
  --navy: #0c1d2b;
  --navy-2: #173f66;
  --gold: #d4a017;
  --text: #182331;
  --muted: #66707c;
  --border: #e5d8be;
  --shadow: 0 14px 34px rgba(12, 29, 43, 0.1);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--page); }
body { margin: 0; min-width: 320px; background: var(--page); color: var(--text); line-height: 1.65; }
a { color: var(--navy-2); text-underline-offset: 3px; }
img { max-width: 100%; }

.skip-link { position: absolute; left: 12px; top: -80px; z-index: 10; padding: 10px 14px; background: var(--surface); }
.skip-link:focus { top: 12px; }
.amen-header { position: sticky; top: 0; z-index: 5; border-bottom: 1px solid var(--border); background: rgba(255, 253, 248, 0.96); }
.amen-header-inner { width: min(1120px, calc(100% - 32px)); min-height: 72px; margin: auto; display: flex; align-items: center; gap: 28px; }
.amen-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; font-weight: 750; font-size: 1.28rem; }
.amen-brand img { width: 40px; height: 40px; }
.amen-brand small { color: var(--gold); font-size: 0.68rem; letter-spacing: 0; }
.amen-nav { margin-left: auto; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.amen-nav a { color: var(--text); font-size: 0.94rem; font-weight: 650; text-decoration: none; }
.amen-nav a[aria-current="page"] { color: var(--navy-2); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }

.hero { min-height: min(720px, calc(100vh - 72px)); display: flex; align-items: center; background-color: var(--navy); background-image: url('/amen/assets/amen_launcher.png'); background-repeat: no-repeat; background-position: calc(100% + 70px) center; background-size: min(72vh, 700px); color: #fffdf8; }
.hero-inner, .content, .band-inner { width: min(1040px, calc(100% - 32px)); margin: auto; }
.hero-copy { max-width: 650px; padding: 76px 0; text-shadow: 0 2px 12px rgba(12, 29, 43, 0.72); }
.eyebrow { color: var(--gold); font-size: 0.78rem; font-weight: 800; letter-spacing: 0; text-transform: uppercase; }
h1, h2, h3 { color: var(--navy); line-height: 1.18; }
.hero h1 { margin: 8px 0 18px; color: #fffdf8; font-family: Georgia, "Times New Roman", serif; font-size: 5.4rem; }
.hero p { max-width: 600px; font-size: 1.13rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 10px 18px; border: 1px solid var(--gold); border-radius: 6px; background: var(--gold); color: var(--navy); font-weight: 750; text-decoration: none; }
.button.secondary { background: transparent; color: #fffdf8; }

.band { padding: 56px 0; border-bottom: 1px solid var(--border); }
.band.surface { background: var(--surface); }
.plan-grid, .link-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.plan, .link-tile { border: 1px solid var(--border); border-radius: 8px; background: var(--surface); padding: 22px; box-shadow: var(--shadow); }
.plan h3, .link-tile h3 { margin-top: 0; }
.plan ul { padding-left: 20px; }
.content { padding: 46px 0 72px; }
.legal-title { max-width: 800px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.legal-title h1 { margin-bottom: 8px; font-size: 3.8rem; }
.legal-title p { color: var(--muted); }
.legal-section { max-width: 820px; padding: 24px 0; border-bottom: 1px solid var(--border); }
.legal-section h2 { font-size: 1.5rem; }
.legal-section li + li { margin-top: 7px; }
.notice { max-width: 820px; padding: 16px 18px; border-left: 4px solid var(--gold); background: var(--surface); }
.faq details { max-width: 820px; border-bottom: 1px solid var(--border); padding: 14px 0; }
.faq summary { cursor: pointer; color: var(--navy); font-weight: 750; }
.meta { color: var(--muted); font-size: 0.93rem; }

.amen-footer { border-top: 1px solid var(--border); background: var(--surface); }
.amen-footer-inner { width: min(1040px, calc(100% - 32px)); margin: auto; padding: 32px 0; display: grid; grid-template-columns: 1fr auto; gap: 24px; }
.footer-links { display: flex; gap: 14px; flex-wrap: wrap; align-content: start; }
.amen-footer p { margin: 4px 0; color: var(--muted); font-size: 0.9rem; }

@media (max-width: 760px) {
  .amen-header-inner { padding: 10px 0; align-items: flex-start; flex-direction: column; gap: 8px; }
  .amen-nav { margin-left: 0; gap: 12px; }
  .hero { min-height: 690px; background-position: center bottom -130px; background-size: 480px; align-items: flex-start; }
  .hero-copy { padding: 54px 0 250px; }
  .hero h1 { font-size: 3rem; }
  .legal-title h1 { font-size: 2.25rem; }
  .plan-grid, .link-grid { grid-template-columns: 1fr; }
  .amen-footer-inner { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
