/* Shared styles for mynextsteps.cc. Granger brand tokens (from grangerchurch.com).
   Montserrat stands in for Gotham. The sign-up form widget has its own styles in
   mp-form.css because it renders in a shadow root. */
:root {
  --navy: #092c4c;
  --green: #abd424;
  --green-tint: #eff5d9;
  --page: #efefef;
  --white: #ffffff;
  --title: #2c2b2c;
  --text-muted: #3d3d3d;
  --border: #9e9d9e;
  --radius: 8px;
  --shadow: 0 12px 16px -4px rgba(0, 0, 0, 0.08);
  --font-display: "Gotham", "Montserrat", system-ui, sans-serif;
  --font-body: "Poppins", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--page); color: var(--navy); font-family: var(--font-body); font-size: 16px; line-height: 1.5; }
a { color: var(--navy); }
a:hover { color: #2c9fa1; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }

.topbar { background: var(--green-tint); font-size: 14px; text-align: center; padding: 10px 16px; }
.topbar a { text-decoration: none; }
.topbar a:hover { text-decoration: underline; }

/* ── Header and nav ── */
.header { background: var(--white); padding: 16px 24px; }
.header-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.header-logo { display: block; flex-shrink: 1; min-width: 0; }
.header img { display: block; height: 52px; width: auto; max-width: 100%; }
.nav { display: flex; align-items: center; gap: 24px; flex-shrink: 0; }
.nav a { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: 0.5px; text-transform: uppercase; text-decoration: none; padding: 6px 0; border-bottom: 3px solid transparent; }
.nav a:hover { color: var(--navy); border-bottom-color: var(--green); }
.nav a[aria-current="page"] { border-bottom-color: var(--green); }
.nav .nav-cta { background: var(--navy); color: var(--white); border: 0; border-radius: var(--radius); padding: 11px 18px; }
.nav .nav-cta:hover { background: #536b82; color: var(--white); }

/* ── Page background ── */
main { position: relative; isolation: isolate; padding: 48px 24px 72px; }
/* Building sketch, heavily dimmed and faded at the edges so text stays readable. */
main::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url(assets/nscc-building-sketch.jpg) center 35% / cover no-repeat;
  background-image: image-set(url(assets/nscc-building-sketch.webp) type("image/webp"), url(assets/nscc-building-sketch.jpg) type("image/jpeg"));
  opacity: 0.12;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 80%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 80%, transparent);
}
/* The About page is long, so its sketch stays in the top band only. */
main.about::before { bottom: auto; height: 900px; }

.label { display: inline-block; width: fit-content; background: var(--green); color: var(--white); font-family: var(--font-display); font-weight: 700; text-transform: uppercase; line-height: 1; padding: 14px 16px; border-bottom: 3px solid #000; }

/* ── Home ── */
.page-title { margin: 0 0 40px; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 64px; line-height: 0.95; text-transform: uppercase; color: var(--title); }
.layout { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }

.intro { display: flex; flex-direction: column; gap: 22px; }
.intro h2 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 40px; line-height: 1.1; }
.intro p { margin: 0; font-size: 19px; line-height: 28px; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 17px; line-height: 25px; }
.checks li { display: flex; gap: 12px; }
.checks svg { flex-shrink: 0; margin-top: 2px; }

.form-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px; scroll-margin-top: 24px; }
.form-card h3 { margin: 0 0 24px; font-family: var(--font-display); font-weight: 700; font-size: 24px; }

/* ── About ── */
.about-inner { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 56px; }
.about-hero { display: flex; flex-direction: column; gap: 22px; }
.about-hero h1 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 48px; line-height: 1.05; color: var(--title); }
.lead { margin: 0; font-size: 20px; line-height: 30px; }
.about-section { display: flex; flex-direction: column; gap: 18px; }
.about-section h2 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 32px; line-height: 1.1; }
.about-section p { margin: 0; font-size: 18px; line-height: 28px; }

.spheres { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.spheres li { background: var(--white); border: 2px solid var(--green); border-radius: 999px; padding: 6px 16px; font-weight: 500; font-size: 16px; }

.plans { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.plans li { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; border-top: 4px solid var(--green); }
.plans h3 { margin: 0 0 8px; font-family: var(--font-display); font-weight: 700; font-size: 20px; }
.plans p { margin: 0; font-size: 16px; line-height: 25px; color: var(--text-muted); }

.cta-card { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.cta-card h2 { color: var(--white); }
.cta-card p { color: var(--white); }
.button { display: inline-block; background: var(--green); color: var(--navy); font-family: var(--font-display); font-weight: 700; font-size: 18px; text-decoration: none; border-radius: var(--radius); padding: 16px 28px; }
.button:hover { background: var(--white); color: var(--navy); }
.cta-card .button:focus-visible { outline-color: var(--green); }

.faq { margin: 0; display: flex; flex-direction: column; gap: 0; }
.faq div { padding: 20px 0; border-top: 1px solid #d6d6d6; }
.faq div:last-child { border-bottom: 1px solid #d6d6d6; }
.faq dt { font-family: var(--font-display); font-weight: 700; font-size: 19px; margin: 0 0 6px; }
.faq dd { margin: 0; font-size: 17px; line-height: 27px; }

/* ── Footer ── */
footer { background: var(--white); padding: 40px 24px; font-size: 15px; color: var(--text-muted); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 48px; }
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-brand img { display: block; width: 216px; height: 43px; }
.footer-privacy { width: fit-content; color: var(--text-muted); font-size: 14px; }
.footer-contact { display: flex; flex-direction: column; gap: 4px; font-style: normal; }
.footer-contact strong { color: var(--navy); font-family: var(--font-display); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }
.footer-contact a { color: var(--text-muted); }

@media (max-width: 900px) {
  main { padding: 32px 16px 56px; }
  main::before { bottom: auto; height: 168vw; background-size: 260% auto; background-position: 45% top; }
  .page-title { font-size: 40px; margin-bottom: 28px; }
  .layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .intro h2 { font-size: 30px; }
  .intro p { font-size: 17px; line-height: 26px; }
  .form-card { padding: 24px 20px; }
  .header { padding: 12px 16px; }
  .header img { height: 40px; }
  .nav { gap: 14px; }
  .nav a { font-size: 13px; }
  .nav .nav-cta { padding: 9px 12px; }
  footer { padding: 32px 16px; }

  .about-inner { gap: 44px; }
  .about-hero h1 { font-size: 34px; }
  .lead { font-size: 18px; line-height: 28px; }
  .about-section h2 { font-size: 26px; }
  .about-section p { font-size: 17px; line-height: 26px; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .cta-card { padding: 28px 20px; }
}
