:root {
  --plum-950: #2b102f;
  --plum-900: #3f1d43;
  --plum-800: #56295d;
  --plum-700: #713877;
  --berry: #a14469;
  --rose: #d77b8f;
  --peach: #f1ab84;
  --gold: #edc876;
  --cream: #fbf6ed;
  --paper: #fffdf8;
  --ink: #251b25;
  --muted: #6e606d;
  --line: rgba(63, 29, 67, 0.16);
  --shadow: 0 24px 70px rgba(48, 20, 50, 0.13);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

button, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 16px;
  color: white;
  background: var(--plum-950);
  transform: translateY(-160%);
  border-radius: 6px;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  height: 86px;
  padding: 0 clamp(24px, 5vw, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--plum-900);
  color: white;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  letter-spacing: .12em;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
}
.brand-mark svg { width: 28px; fill: none; stroke: var(--gold); stroke-width: 1.7; }
.brand strong { display: block; font-size: .82rem; line-height: 1.1; }
.brand small { display: block; margin-top: 4px; font-size: .55rem; opacity: .68; letter-spacing: .08em; }
.header-link { font-size: .78rem; font-weight: 650; text-decoration: none; letter-spacing: .04em; }
.header-link span { color: var(--gold); margin-left: 7px; }

.hero {
  min-height: 690px;
  padding: clamp(70px, 10vw, 130px) clamp(24px, 7vw, 110px) 115px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(270px, .55fr);
  gap: clamp(42px, 8vw, 120px);
  align-items: end;
  color: white;
  background:
    radial-gradient(circle at 18% 20%, rgba(211,102,124,.2), transparent 30%),
    linear-gradient(135deg, var(--plum-950) 0%, var(--plum-900) 51%, #663052 100%);
}
.hero-art { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.overflow-lines { position: absolute; right: -6%; bottom: -12%; width: min(62vw, 760px); height: 95%; opacity: .2; }
.overflow-lines path { fill: none; stroke: var(--peach); stroke-width: 1.2; }
.orb { position: absolute; border-radius: 50%; filter: blur(1px); }
.orb-one { width: 360px; height: 360px; right: 3%; top: 12%; background: radial-gradient(circle at 35% 28%, rgba(244,202,116,.32), rgba(204,82,119,.06) 65%); }
.orb-two { width: 620px; height: 620px; right: -18%; bottom: -48%; border: 1px solid rgba(241,171,132,.21); }
.hero-copy, .scripture-card { position: relative; z-index: 1; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--berry);
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.hero .eyebrow { color: var(--gold); }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, .scripture-card p {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.035em;
}
h1 { margin-bottom: 24px; max-width: 740px; font-size: clamp(4.1rem, 8.5vw, 8rem); line-height: .91; }
h1 em { color: var(--peach); font-weight: 400; }
.hero-lede { max-width: 600px; margin-bottom: 34px; color: rgba(255,255,255,.76); font-size: clamp(1.05rem, 1.5vw, 1.24rem); }
.hero-ask { margin: -10px 0 30px; color: white; font-family: Georgia, serif; font-size: 1.15rem; }
.hero-ask span { display: block; margin-bottom: 2px; color: var(--gold); font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: .64rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.button { padding: 14px 22px; border-radius: 999px; text-decoration: none; font-size: .82rem; font-weight: 750; }
.button-primary { color: var(--plum-950); background: var(--gold); box-shadow: 0 12px 30px rgba(237,200,118,.16); }
.button-primary:hover { background: #f5d895; transform: translateY(-1px); }
.text-button { padding: 8px 2px; border: 0; border-bottom: 1px solid rgba(255,255,255,.35); color: white; background: transparent; cursor: pointer; }
.text-button:hover { border-color: var(--gold); }
.text-link { padding: 8px 2px; border-bottom: 1px solid rgba(255,255,255,.35); color: white; font-size: .82rem; text-decoration: none; }
.text-link:hover { border-color: var(--gold); }
.scripture-card { padding: 34px 0 2px 32px; border-left: 1px solid rgba(255,255,255,.23); }
.quote-mark { position: absolute; top: -32px; left: 28px; color: var(--peach); font: 5rem Georgia, serif; opacity: .7; }
.scripture-card p { margin-bottom: 16px; font-size: clamp(1.3rem, 2.15vw, 1.85rem); line-height: 1.35; }
.scripture-card cite { color: var(--gold); font-size: .72rem; font-style: normal; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }

.overview {
  padding: clamp(75px, 10vw, 130px) clamp(24px, 7vw, 110px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .9fr);
  gap: clamp(45px, 8vw, 120px);
  background: var(--paper);
}
.overview h2, .section-heading h2 { margin: 0; font-size: clamp(2.55rem, 5vw, 4.7rem); line-height: 1.02; }
.overview-copy { padding-top: 34px; color: var(--muted); font-size: 1.05rem; }
.overview-copy > p { margin-bottom: 20px; }
.grace-row { margin-top: 40px; display: flex; align-items: center; gap: 12px; color: var(--plum-700); font-family: Georgia, serif; font-size: 1.04rem; font-style: italic; }
.grace-row i { width: 4px; height: 4px; background: var(--peach); border-radius: 50%; }

.stair-step-block {
  grid-column: 1 / -1;
  margin-top: clamp(45px, 7vw, 90px);
  padding: clamp(34px, 5vw, 68px);
  display: grid;
  grid-template-columns: minmax(250px, .55fr) minmax(0, 1.45fr);
  gap: clamp(38px, 6vw, 90px);
  color: white;
  background:
    radial-gradient(circle at 88% 12%, rgba(237,200,118,.2), transparent 30%),
    linear-gradient(145deg, var(--plum-950), var(--plum-800));
  border-radius: 24px;
  box-shadow: var(--shadow);
  scroll-margin-top: 28px;
}
.stair-copy { align-self: center; }
.stair-copy .eyebrow { color: var(--gold); }
.stair-copy h3 { margin: 0 0 24px; color: white; font-size: clamp(2.7rem, 5vw, 4.6rem); line-height: .95; }
.stair-copy > p:not(.eyebrow) { color: rgba(255,255,255,.68); }
.stair-callout { margin-top: 36px; padding-top: 25px; display: flex; gap: 14px; align-items: center; border-top: 1px solid rgba(255,255,255,.16); }
.stair-callout > span { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; color: var(--plum-950); background: var(--gold); border-radius: 50%; font-size: 1.15rem; }
.stair-callout p { margin: 0; }
.stair-callout small { display: block; color: rgba(255,255,255,.55); font-size: .6rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.stair-callout strong { display: block; margin-top: 3px; font-family: Georgia, serif; font-size: 1.55rem; font-weight: 400; }
.stair-graphic { min-width: 0; }
.stair-instruction { margin-bottom: 12px; color: rgba(255,255,255,.58); font-size: .7rem; font-weight: 700; letter-spacing: .04em; }
.staircase { min-height: 390px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; align-items: end; }
.giving-step {
  min-width: 0;
  padding: 18px 10px 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: white;
  border: 1px solid rgba(255,255,255,.13);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  background: rgba(255,255,255,.08);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.giving-step:hover { background: rgba(255,255,255,.14); transform: translateY(-4px); }
.giving-step[aria-pressed="true"] { color: var(--plum-950); background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 3px rgba(237,200,118,.2); transform: translateY(-4px); }
.step-one { height: 160px; }
.step-two { height: 195px; }
.step-three { height: 230px; }
.step-four { height: 265px; }
.step-five { height: 300px; }
.step-six { height: 335px; }
.step-seven { height: 370px; }
.step-count strong { display: block; font-family: Georgia, serif; font-size: clamp(1.65rem, 3vw, 2.5rem); font-weight: 400; line-height: 1; }
.step-count small { display: block; margin-top: 4px; color: rgba(255,255,255,.5); font-size: .53rem; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
.giving-step[aria-pressed="true"] .step-count small { color: rgba(43,16,47,.62); }
.step-range { font-size: clamp(.68rem, 1vw, .8rem); font-weight: 800; white-space: nowrap; }
.step-range small { display: block; color: rgba(255,255,255,.46); font-size: .52rem; font-weight: 650; }
.giving-step[aria-pressed="true"] .step-range small { color: rgba(43,16,47,.58); }
.step-result { min-height: 86px; padding: 18px 22px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; color: var(--ink); background: var(--paper); border-radius: 0 0 14px 14px; }
.step-result small { display: block; color: var(--muted); font-size: .58rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.step-result strong { display: block; margin-top: 4px; color: var(--plum-900); font-family: Georgia, serif; font-size: 1rem; font-weight: 400; line-height: 1.2; }
.step-arrow { color: var(--berry); font-size: 1.35rem; }
.step-guidance { margin: 15px 4px 0; color: rgba(255,255,255,.75); font-family: Georgia, serif; font-size: .98rem; }
.data-note { margin: 12px 4px 0; color: rgba(255,255,255,.38); font-size: .6rem; line-height: 1.5; }

.journey { padding: clamp(70px, 9vw, 120px) clamp(20px, 7vw, 110px); background: #efe7df; }
.section-heading { display: flex; gap: 30px; align-items: end; justify-content: space-between; max-width: 1240px; margin: 0 auto 50px; }
.section-heading h2 { max-width: 680px; }
.progress-wrap { width: min(250px, 100%); padding-bottom: 9px; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .05em; }
.progress-track { height: 3px; margin-top: 10px; overflow: hidden; background: rgba(63,29,67,.14); border-radius: 999px; }
.progress-track span { display: block; width: 0; height: 100%; background: var(--berry); transition: width .35s ease; }
.week-tabs { max-width: 1240px; margin: 0 auto 18px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; }
.week-tabs button {
  min-height: 76px;
  padding: 13px;
  border: 0;
  color: var(--muted);
  background: rgba(255,255,255,.42);
  cursor: pointer;
  transition: .2s ease;
}
.week-tabs button:first-child { border-radius: 14px 0 0 14px; }
.week-tabs button:last-child { border-radius: 0 14px 14px 0; }
.week-tabs button:hover { background: rgba(255,255,255,.72); }
.week-tabs button[aria-selected="true"] { color: white; background: var(--plum-800); box-shadow: 0 12px 24px rgba(63,29,67,.14); }
.week-tabs span { display: block; font-family: Georgia, serif; font-size: 1.45rem; line-height: 1; }
.week-tabs small { display: block; margin-top: 7px; font-size: .63rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .77; }
.week-panel {
  max-width: 1240px;
  min-height: 570px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .75fr);
  grid-template-rows: 1fr auto;
  background: var(--paper);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
  outline: none;
}
.week-main { padding: clamp(40px, 6vw, 78px); }
.week-meta { min-height: 24px; margin-bottom: 20px; display: flex; gap: 12px; align-items: center; color: var(--berry); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.week-meta span + span:not(:empty)::before { content: "•"; margin-right: 12px; color: var(--peach); }
.week-main h3 { max-width: 660px; margin-bottom: 12px; color: var(--plum-900); font-size: clamp(2.55rem, 5vw, 4.6rem); line-height: .98; }
.scripture { color: var(--berry); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.week-summary { max-width: 650px; margin: 34px 0 38px; color: var(--muted); font-size: 1.06rem; }
.practice { padding-top: 22px; display: flex; gap: 15px; border-top: 1px solid var(--line); }
.practice-icon { width: 32px; height: 32px; flex: 0 0 32px; display: grid; place-items: center; color: var(--plum-800); background: #f2dedb; border-radius: 50%; }
.practice small { display: block; margin-bottom: 4px; color: var(--muted); font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.practice p { margin: 0; color: var(--plum-900); font-family: Georgia, serif; font-size: 1.16rem; line-height: 1.38; }
.reflection-card { padding: clamp(38px, 5vw, 64px); color: white; background: linear-gradient(160deg, var(--plum-800), var(--plum-950)); }
.reflection-heading { margin-bottom: 42px; display: flex; align-items: center; gap: 12px; }
.reflection-heading > span { color: var(--gold); font-size: 1.3rem; }
.reflection-heading small { display: block; color: rgba(255,255,255,.55); font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.reflection-heading h4 { margin: 0; font-family: inherit; font-size: 1rem; font-weight: 700; letter-spacing: .02em; }
.reflection-card label { display: block; margin-bottom: 22px; color: #fff6eb; font-family: Georgia, serif; font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.34; }
.reflection-card textarea { width: 100%; min-height: 150px; padding: 15px 0; resize: vertical; color: white; background: transparent; border: 0; border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); border-radius: 0; outline: none; line-height: 1.6; }
.reflection-card textarea::placeholder { color: rgba(255,255,255,.34); }
.reflection-card textarea:focus { border-color: var(--gold); }
.saved-row { margin-top: 14px; display: flex; justify-content: space-between; gap: 15px; color: rgba(255,255,255,.48); font-size: .68rem; }
.saved-row button { padding: 0; border: 0; color: rgba(255,255,255,.65); background: transparent; text-decoration: underline; cursor: pointer; }
.week-controls { grid-column: 1 / -1; min-height: 72px; padding: 12px 24px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); background: #fffaf4; }
.nav-button { padding: 8px 12px; border: 0; color: var(--plum-800); background: transparent; font-size: .75rem; font-weight: 750; cursor: pointer; }
.nav-button span { margin: 0 6px; color: var(--berry); }
.nav-button:disabled { opacity: .28; cursor: not-allowed; }
.nav-button-next { padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; }
#week-count { color: var(--muted); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

footer {
  padding: 46px clamp(24px, 7vw, 110px);
  display: grid;
  grid-template-columns: 1fr minmax(280px, .9fr) 1fr;
  gap: 30px;
  align-items: center;
  color: rgba(255,255,255,.7);
  background: var(--plum-950);
  font-size: .72rem;
}
.footer-brand { color: white; }
footer > p { margin: 0; }
.privacy-note { text-align: right; }
.privacy-note span { color: var(--gold); margin-right: 4px; }

button:focus-visible, a:focus-visible, textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

@media (max-width: 900px) {
  .hero { min-height: auto; grid-template-columns: 1fr; align-items: start; }
  .scripture-card { max-width: 560px; margin-top: 45px; }
  .overview { grid-template-columns: 1fr; gap: 8px; }
  .stair-step-block { grid-template-columns: 1fr; }
  .week-panel { grid-template-columns: 1fr; }
  .week-controls { grid-column: auto; }
  footer { grid-template-columns: 1fr; text-align: left; }
  .privacy-note { text-align: left; }
}

@media (max-width: 620px) {
  .site-header { height: 72px; }
  .header-link { display: none; }
  .brand-mark { width: 37px; height: 37px; }
  .hero { padding-top: 74px; padding-bottom: 78px; }
  h1 { font-size: clamp(3.6rem, 19vw, 5.7rem); }
  .scripture-card { padding-left: 22px; }
  .overview-copy { padding-top: 10px; }
  .stair-step-block { margin-inline: -8px; padding: 34px 20px; border-radius: 18px; }
  .staircase { min-height: 0; display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }
  .giving-step { min-height: 66px; height: auto; padding: 11px 12px; flex-direction: row; align-items: center; border-bottom: 1px solid rgba(255,255,255,.13); border-radius: 0 8px 8px 0; }
  .giving-step:hover, .giving-step[aria-pressed="true"] { transform: translateX(4px); }
  .step-one { width: 58%; }
  .step-two { width: 65%; }
  .step-three { width: 72%; }
  .step-four { width: 79%; }
  .step-five { width: 86%; }
  .step-six { width: 93%; }
  .step-seven { width: 100%; }
  .step-count strong { font-size: 1.45rem; }
  .step-count small { font-size: .42rem; line-height: 1.2; }
  .step-range { font-size: .62rem; letter-spacing: 0; line-height: 1.1; text-align: right; white-space: normal; }
  .step-range small { font-size: .43rem; }
  .step-result { padding: 16px 13px; gap: 9px; }
  .step-result strong { font-size: .82rem; }
  .step-result small { font-size: .48rem; }
  .section-heading { align-items: start; flex-direction: column; }
  .progress-wrap { width: 100%; }
  .week-tabs { gap: 1px; overflow: hidden; border-radius: 12px; }
  .week-tabs button { min-height: 64px; padding: 10px 4px; border-radius: 0 !important; }
  .week-tabs span { font-size: 1.18rem; }
  .week-tabs small { font-size: .52rem; letter-spacing: .02em; }
  .week-main { padding: 40px 28px 46px; }
  .week-main h3 { font-size: clamp(2.4rem, 12vw, 3.5rem); }
  .reflection-card { padding: 38px 28px 42px; }
  .week-controls { padding: 10px 10px; }
  .nav-button { padding: 8px; }
  #week-count { font-size: .6rem; }
  .grace-row { gap: 8px; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
