/* Theme: "green pastures and still waters" (Psalm 23) */
:root {
  --meadow: #F2F4EE;
  --meadow-deep: #E3E9DF;
  --card: #FAFBF7;
  --line: #D3DCCF;
  --ink: #1C2A24;
  --ink-soft: #44544C;
  --muted: #56665E;
  --pine: #24533F;
  --pine-deep: #183A2C;
  --rule: #7FA38C;
  --water-label: #2B6A93;
  --water: #7FB7D9;
  --water-light: #CFE6F4;
  --forest: #18302A;
  --forest-deep: #10231D;
  --forest-line: #35524A;
  --mist: #B9CBC2;
  --display: "Cormorant Garamond", Georgia, serif;
  --scripture: "Newsreader", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--meadow);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.05; margin: 0; letter-spacing: -0.01em; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--pine); }
p { margin: 0; }
a { color: var(--pine); }
a:hover { color: var(--pine-deep); }
:focus-visible { outline: 3px solid var(--water); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* header */
.site-header {
  max-width: var(--wrap); margin: 0 auto; padding: 1.25rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--display); font-weight: 600; font-size: 1.6rem; color: var(--pine); }
.brand-sub { margin-top: 3px; font-size: .62rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--water-label); }
.site-header nav { display: flex; align-items: center; gap: 1.5rem; font-size: .95rem; font-weight: 500; }
.site-header nav a { text-decoration: none; color: var(--ink); }
.site-header nav a:not(.btn):hover { color: var(--pine); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px;
  font-family: var(--sans); font-weight: 600; font-size: 1rem;
  background: var(--pine); color: var(--card); text-decoration: none;
  padding: 0 1.6rem; border-radius: 999px; border: 1.5px solid var(--pine); cursor: pointer;
  transition: background .15s, color .15s;
}
.btn:hover { background: var(--pine-deep); border-color: var(--pine-deep); color: var(--card); }
.site-header nav a.btn { color: var(--card); }
.btn-small { min-height: 44px; padding: 0 1.1rem; font-size: .9rem; }
.btn-ghost { background: transparent; color: var(--pine); border-color: var(--line); }
.btn-ghost:hover { background: var(--card); color: var(--pine); border-color: var(--line); }
.btn-amber { background: var(--water); border-color: var(--water); color: var(--forest-deep); }
.btn-amber:hover { background: #A3CCE6; border-color: #A3CCE6; color: var(--forest-deep); }

/* hero */
.hero {
  max-width: var(--wrap); margin: 0 auto; padding: 3rem 1.5rem 5rem;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.5rem; align-items: center;
}
.hero h1 { font-size: clamp(3rem, 6.4vw, 5.2rem); line-height: .98; }
.lede { margin-top: 1.5rem; font-size: 1.15rem; max-width: 32em; color: var(--ink-soft); }
.cta-row { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.note { margin-top: 1.25rem; font-size: .9rem; color: var(--muted); }

/* phone demo */
.demo { display: flex; flex-direction: column; align-items: center; }
.phone {
  width: min(320px, 100%); background: var(--forest-deep); border-radius: 44px; padding: 12px;
  box-shadow: 0 30px 60px -25px rgba(16,35,29,.5);
}
.phone-screen {
  background: var(--forest); color: var(--meadow); border-radius: 33px; padding: 1.1rem 1.1rem 1rem;
  min-height: 560px; display: flex; flex-direction: column; gap: .9rem;
  transition: background .6s;
}
.status { display: flex; justify-content: space-between; align-items: center; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--water); }
.status-icon { display: inline-flex; color: var(--water); }
.apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
.app {
  aspect-ratio: 1; border-radius: 14px; position: relative; opacity: .4; filter: grayscale(.8);
  transition: opacity .5s, filter .5s;
}
.app.a1 { background: #5E7FB8; } .app.a2 { background: #4E9C8C; } .app.a3 { background: #8C7AB5; } .app.a4 { background: #6AA0C0; }
.app::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 16px; height: 16px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='3' y='7' width='10' height='7' rx='2' fill='%23F2F4EE'/%3E%3Cpath d='M5.5 7V5a2.5 2.5 0 0 1 5 0v2' fill='none' stroke='%23F2F4EE' stroke-width='1.6'/%3E%3C/svg%3E");
  transition: opacity .3s;
}
.apps-label { font-size: .8rem; color: var(--mist); margin-top: -.3rem; }

.passage {
  flex: 1; max-height: 290px; overflow-y: auto; background: var(--card); color: var(--ink);
  border-radius: 20px; padding: 1.1rem 1.15rem; font-family: var(--scripture); font-size: 1rem; line-height: 1.65;
  scrollbar-width: thin;
}
.passage h2 { font-size: 1.6rem; margin-bottom: .5rem; }
.passage p + p { margin-top: .7rem; }
.passage sup { font-family: var(--sans); font-size: .62em; color: var(--water-label); font-weight: 600; margin-right: .25em; }
.progress { height: 6px; background: var(--forest-line); border-radius: 3px; overflow: hidden; }
.progress span { display: block; height: 100%; width: 0; background: var(--water); border-radius: 3px; transition: width .12s linear; }
.demo-hint { font-size: .85rem; color: var(--mist); min-height: 1.3em; }

.phone-screen.is-open { background: #1F4038; }
.phone-screen.is-open .status, .phone-screen.is-open .status-icon { color: var(--water-light); }
.phone-screen.is-open .app { opacity: 1; filter: none; }
.phone-screen.is-open .app::after { opacity: 0; }
.phone-screen.is-open .demo-hint { color: var(--water-light); }
.phone-screen.is-open #shackle { transform: translateY(-2px) rotate(-20deg); transform-origin: 10.5px 7px; }

.demo-caption { margin-top: 1.1rem; font-size: .9rem; color: var(--muted); text-align: center; max-width: 28em; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--pine); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* sections */
.section { padding: 5rem 0; }
.section > * { max-width: var(--wrap); margin-left: auto; margin-right: auto; padding-left: 1.5rem; padding-right: 1.5rem; }
.section-tint { background: var(--meadow-deep); }
.section h2, .join h2 { font-size: clamp(2.3rem, 4.4vw, 3.4rem); }
.section-intro { margin-top: 1rem; color: var(--ink-soft); font-size: 1.1rem; }

.steps { list-style: none; counter-reset: step; margin-top: 3rem !important; margin-bottom: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.steps li { counter-increment: step; border-top: 1.5px solid var(--rule); padding-top: 1.1rem; }
.steps li::before { content: counter(step); display: block; font-family: var(--display); font-size: 2rem; font-weight: 600; line-height: 1; color: var(--pine); margin-bottom: .6rem; }
.steps h3, .feature h3 { font-size: 1.6rem; margin-bottom: .4rem; }
.steps p, .feature p { color: var(--ink-soft); }

.features { margin-top: 3rem !important; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.feature { max-width: 34ch; }
.feature-icon {
  display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 1rem;
  border-radius: 32px; background: var(--card); border: 1px solid var(--line); color: var(--pine);
}

/* join: dark forest band */
.join { background: var(--forest); color: var(--meadow); padding: 5rem 0; }
.join-inner { max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }
.join h2 { color: var(--meadow); }
.join p { margin-top: 1rem; color: var(--mist); max-width: 34em; font-size: 1.05rem; }
.form { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem; max-width: 560px; }
.form input {
  flex: 1 1 260px; min-height: 52px; font: inherit; padding: 0 1.3rem; border-radius: 999px;
  border: 1px solid var(--forest-line); background: var(--card); color: var(--ink);
}
.form-msg { flex-basis: 100%; margin: 0 !important; font-size: .95rem !important; min-height: 1.4em; color: var(--water-light) !important; }

.site-footer { max-width: var(--wrap); margin: 0 auto; padding: 3rem 1.5rem 4rem; color: var(--muted); }
.brand-line { font-family: var(--display); font-weight: 600; font-size: 1.5rem; color: var(--pine); }
.tagline { font-family: var(--scripture); font-style: italic; color: var(--ink-soft); }
.fine { margin-top: 1.5rem; font-size: .85rem; }

/* responsive */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 3rem; padding-top: 1.5rem; }
  .steps, .features { grid-template-columns: 1fr; gap: 2rem; }
  .site-header nav a:not(.btn) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
