:root {
  --white: #ffffff;
  --cream: #faf8f3;
  --ink: #1c1917;
  --muted: #67615a;
  --line: #e7e1d7;
  --gold: #a16107;
  --gold-dark: #854d0e;
  --gold-soft: #fef3c7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.nav,
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.nav {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid #f3d28a;
  border-radius: 999px;
  background: #fff7df;
  color: var(--gold-dark);
  font-size: 20px;
  font-weight: 700;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.button-primary {
  background: var(--gold);
  color: white;
}

.button-primary:hover {
  background: var(--gold-dark);
}

.button-secondary {
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
}

.hero {
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at top left, rgba(254, 243, 199, 0.75), transparent 34%),
    white;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 44px;
  padding: 64px 0;
}

.eyebrow {
  margin: 0;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  margin: 18px 0 0;
  max-width: 760px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.saint-card {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--cream);
  box-shadow: 0 20px 70px rgba(28, 25, 23, 0.08);
}

.saint-card img {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: contain;
  object-position: center top;
  border-radius: 20px;
  background: #f8f0e3;
}

.saint-card figcaption {
  padding: 14px 4px 2px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.steps {
  background: var(--cream);
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 48px 0;
}

.step-grid article,
.office-card,
.form-frame,
.thank-you-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.step-grid article {
  padding: 26px;
}

.step-grid span,
.check {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold-dark);
  font-weight: 800;
}

.step-grid h2 {
  margin: 20px 0 0;
  font-size: 20px;
}

.step-grid p,
.form-grid p,
.office-card p,
.thank-you-card p,
.footer {
  color: var(--muted);
  line-height: 1.7;
}

.form-section {
  padding: 60px 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 42px;
}

.form-grid h2 {
  margin: 16px 0 0;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.1;
}

.office-card {
  margin-top: 28px;
  padding: 22px;
  background: #fffdf8;
}

.office-card h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.office-card p {
  margin: 8px 0 0;
}

.office-card a {
  color: var(--gold-dark);
  font-weight: 700;
}

.form-frame {
  overflow: hidden;
  background: var(--cream);
}

.form-frame iframe {
  display: block;
  width: 100%;
  min-height: 720px;
  border: 0;
  background: white;
}

.footer {
  border-top: 1px solid var(--line);
  background: var(--cream);
  font-size: 14px;
}

.footer-grid {
  padding: 28px 0;
}

.footer p {
  margin: 0;
}

.thank-you-page {
  background: var(--cream);
}

.thank-you-wrap {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}

.thank-you-card {
  width: min(680px, 100%);
  padding: 40px;
  text-align: center;
  box-shadow: 0 20px 70px rgba(28, 25, 23, 0.08);
}

.thank-you-card .check {
  width: 56px;
  height: 56px;
  margin: 0 auto 24px;
  font-size: 28px;
}

.thank-you-card h1 {
  margin: 16px auto 0;
  font-size: clamp(34px, 5vw, 48px);
}

.thank-you-card p:not(.eyebrow) {
  max-width: 560px;
  margin: 20px auto 0;
}

.thank-you-card .button {
  margin-top: 28px;
}

@media (max-width: 860px) {
  .hero-grid,
  .form-grid,
  .step-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding: 42px 0;
  }

  .saint-card img {
    height: 340px;
  }

  .nav {
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .nav,
  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav .button {
    width: 100%;
  }

  .hero-actions .button {
    width: 100%;
  }

  .form-frame iframe {
    min-height: 820px;
  }
}
