/* ==========================================================================
   Isaiah — askisaiah.ai marketing site
   Brand: warm, trustworthy, Scripture-anchored. Charcoal canvas (#16171A,
   same as the app) with the sunset gradient from the Isaiah mark
   (amber → rose → plum), Shippori Mincho headings and Outfit body text.
   ========================================================================== */

:root {
  --amber: #eb9754;
  --orange: #ee9a4f;
  --rose: #cb797f;
  --coral: #d68373;
  --plum: #a1708d;
  --plum-deep: #752d58;

  --sunset: linear-gradient(135deg, #f5a66b 0%, #e88b9c 55%, #a1708d 100%);
  --sunset-text: linear-gradient(100deg, #f5a66b 0%, #e88b9c 60%, #b98ab0 100%);

  --charcoal: #16171a;
  --charcoal-2: #1d1e22;
  --charcoal-3: #26272d;
  --cream: #fcf9ef;
  --cream-2: #f6efe3;
  --white: #ffffff;

  --ink: #16171a;          /* headings on light */
  --body: #3d3b39;         /* body on light */
  --muted: #77726c;
  --ink-dark: #f7f2ea;     /* headings on dark */
  --body-dark: #cfc8bf;    /* body on dark */
  --muted-dark: #938c84;

  --border: rgba(22, 23, 26, 0.10);
  --border-dark: rgba(247, 242, 234, 0.12);

  --radius: 20px;
  --radius-sm: 12px;
  --maxw: 1140px;
  --prose: 760px;

  --shadow-md: 0 14px 36px rgba(22, 23, 26, 0.12);
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.45);

  --serif: "Shippori Mincho", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ----------------------------------------------------------------- Reset */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  color: var(--body);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }

a { color: var(--plum-deep); text-decoration: none; transition: color 0.15s ease, opacity 0.15s ease; }
a:hover { color: var(--rose); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  line-height: 1.18;
  font-weight: 700;
  margin: 0 0 0.45em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1.1em; }

:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 6px; }

/* --------------------------------------------------------------- Layout */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--white { background: var(--white); }
.section--dark { background: var(--charcoal); color: var(--body-dark); }
.section--dark h2, .section--dark h3 { color: var(--ink-dark); }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 14px;
}

.lead { font-size: 1.2rem; max-width: 58ch; }
.center { text-align: center; }
.center-block { margin-left: auto; margin-right: auto; }
.gradient-text {
  background: var(--sunset-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 3.8vw, 2.9rem); }

/* --------------------------------------------------------------- Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(22, 23, 26, 0.86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border-dark);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand { display: inline-flex; align-items: center; }
.brand img { height: 44px; width: auto; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: var(--body-dark); font-size: 0.98rem; font-weight: 500; }
.nav a:hover { color: var(--white); }
.nav .btn { color: var(--charcoal); }

/* --------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.12s ease, box-shadow 0.15s ease, background 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--sm { padding: 10px 18px; font-size: 0.92rem; }

.btn--primary {
  background: var(--sunset);
  color: var(--charcoal);
  box-shadow: 0 12px 30px rgba(232, 139, 156, 0.30);
}
.btn--primary:hover { color: var(--charcoal); opacity: 0.92; }

.btn--dark { background: var(--charcoal); color: var(--white); }
.btn--dark:hover { color: var(--white); background: var(--charcoal-3); }

.btn--ghost { background: transparent; color: var(--ink-dark); border-color: var(--border-dark); }
.btn--ghost:hover { color: var(--white); border-color: var(--rose); }

.btn[disabled] { opacity: 0.6; pointer-events: none; }

.store-badges { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.store-badges a { display: block; transition: transform 0.15s ease, opacity 0.15s ease; }
.store-badges a:hover { transform: translateY(-2px); opacity: 0.92; }
.store-badges img { height: 52px; width: auto; }

/* --------------------------------------------------------------- Hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 560px at 85% 10%, rgba(232, 139, 156, 0.22), transparent 60%),
    radial-gradient(760px 520px at 0% 90%, rgba(161, 112, 141, 0.22), transparent 60%),
    var(--charcoal);
  color: var(--body-dark);
  padding: 88px 0 0;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: end;
}

.hero__copy { padding-bottom: 96px; }
.hero h1 { color: var(--ink-dark); font-size: clamp(2.5rem, 5.2vw, 4.1rem); margin-bottom: 0.35em; }
.hero__sub { font-size: 1.25rem; max-width: 34ch; margin-bottom: 1.8em; }
.hero__note { margin-top: 22px; font-size: 0.95rem; color: var(--muted-dark); }

.hero__visual { position: relative; display: flex; justify-content: center; }
.hero__visual img { width: min(440px, 100%); height: auto; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.5)); }
.hero__glow {
  position: absolute;
  inset: 18% 10% 0;
  background: var(--sunset);
  filter: blur(90px);
  opacity: 0.35;
  border-radius: 50%;
  z-index: 0;
}
.hero__visual img { position: relative; z-index: 1; }

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border-dark);
}
.stat__num { font-family: var(--serif); font-size: 2rem; font-weight: 700; color: var(--ink-dark); line-height: 1.1; }
.stat__label { font-size: 0.92rem; color: var(--muted-dark); }

/* --------------------------------------------------------------- Intro / what */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split h2 { font-size: clamp(2rem, 3.6vw, 2.7rem); }

.ask-card {
  background: var(--charcoal);
  border-radius: 28px;
  padding: 34px 30px;
  box-shadow: var(--shadow-lg);
  color: var(--body-dark);
}
.ask-card__hey { font-family: var(--serif); font-size: 1.6rem; color: var(--ink-dark); margin-bottom: 18px; }
.ask-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ask-list li {
  background: var(--charcoal-3);
  border: 1px solid var(--border-dark);
  border-radius: 16px 16px 16px 5px;
  padding: 13px 18px;
  color: var(--ink-dark);
  font-size: 1.02rem;
}
.ask-list li:nth-child(even) { margin-left: 28px; }

/* --------------------------------------------------------------- Feature grid */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.section--white .feature { background: var(--cream); }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--sunset);
  color: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.25rem; }
.feature p { margin: 0; font-size: 1rem; color: var(--muted); }

/* --------------------------------------------------------------- Slides strip */
.strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 380px);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 24px 20px;
  margin: 0 auto;
  max-width: calc(var(--maxw) + 48px);
  scrollbar-width: thin;
}
.strip img {
  width: 100%;
  height: auto;
  border-radius: 22px;
  scroll-snap-align: start;
  box-shadow: var(--shadow-md);
}

/* --------------------------------------------------------------- Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote {
  background: var(--charcoal-2);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.quote__stars { color: var(--orange); letter-spacing: 3px; font-size: 1rem; }
.quote p { font-family: var(--serif); font-size: 1.18rem; color: var(--ink-dark); line-height: 1.5; margin: 0; flex: 1; }
.quote__who { display: flex; align-items: center; gap: 12px; font-size: 0.92rem; color: var(--muted-dark); }
.quote__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sunset);
  color: var(--charcoal);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --------------------------------------------------------------- CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--charcoal);
  border-radius: 32px;
  padding: 64px 48px;
  text-align: center;
  color: var(--body-dark);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 15% 0%, rgba(245, 166, 107, 0.30), transparent 60%),
    radial-gradient(600px 300px at 90% 100%, rgba(161, 112, 141, 0.35), transparent 60%);
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 { color: var(--ink-dark); font-size: clamp(1.9rem, 3.6vw, 2.8rem); max-width: 22ch; margin-left: auto; margin-right: auto; }
.cta-band p { max-width: 48ch; margin: 0 auto 1.8em; font-size: 1.12rem; }
.cta-band .store-badges { justify-content: center; }

/* --------------------------------------------------------------- Footer */
.site-footer { background: var(--charcoal); color: var(--muted-dark); padding: 64px 0 36px; }
.site-footer a { color: var(--body-dark); }
.site-footer a:hover { color: var(--white); }

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-dark);
}
.footer-brand { max-width: 320px; }
.footer-brand img { height: 46px; width: auto; margin-bottom: 14px; }
.footer-brand p { font-size: 0.95rem; margin: 0 0 18px; }

.socials { display: flex; gap: 12px; }
.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.socials a:hover { border-color: var(--rose); }
.socials svg { width: 17px; height: 17px; fill: currentColor; }

.footer-links { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h4 {
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; font-size: 0.96rem; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 26px;
  font-size: 0.88rem;
}
.footer-disclaimer { font-family: var(--serif); font-style: italic; }

/* --------------------------------------------------------------- Page hero (legal, forms) */
.page-hero {
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(232, 139, 156, 0.20), transparent 60%),
    var(--charcoal);
  color: var(--body-dark);
  padding: 64px 0 52px;
}
.page-hero h1 { color: var(--ink-dark); font-size: clamp(2.2rem, 4.2vw, 3.2rem); margin-bottom: 0.25em; }
.page-hero p { margin: 0; color: var(--muted-dark); }

.prose { padding: 56px 0 96px; }
.prose__inner { max-width: var(--prose); margin: 0 auto; }
.prose h2 { font-size: 1.55rem; margin-top: 1.8em; }
.prose h3, .prose h4 { font-family: var(--sans); font-size: 1.12rem; margin-top: 1.5em; }
.prose p > strong:only-child { display: block; font-family: var(--serif); font-size: 1.3rem; color: var(--ink); margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 0.5em; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }

/* --------------------------------------------------------------- Forms */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 30px;
  box-shadow: var(--shadow-md);
}
.field { margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-weight: 600; font-size: 0.95rem; color: var(--ink); margin-bottom: 7px; }
.field label .hint { font-weight: 400; color: var(--muted); }
.field input,
.field textarea {
  width: 100%;
  background: var(--cream);
  border: 1px solid rgba(22, 23, 26, 0.18);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  padding: 12px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 3px rgba(203, 121, 127, 0.18); }
.form-actions { margin-top: 24px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-note { font-size: 0.92rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; margin-top: 18px; padding: 14px 16px; border-radius: var(--radius-sm); font-size: 0.96rem; }
.form-status--error { display: block; background: rgba(192, 73, 44, 0.08); border: 1px solid rgba(192, 73, 44, 0.35); color: #8f2f1b; }
.success-panel {
  display: none;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px 30px;
  box-shadow: var(--shadow-md);
}
.success-panel .check {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--sunset);
  color: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
}
.success-panel .check svg { width: 28px; height: 28px; }

/* --------------------------------------------------------------- Church page */
.church-photo { border-radius: 28px; box-shadow: var(--shadow-md); width: 100%; height: auto; }
.reasons { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 28px; }
.reasons li { padding-left: 30px; position: relative; }
.reasons li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--sunset);
  transform: rotate(45deg);
}
.reasons strong { color: var(--ink); }

/* --------------------------------------------------------------- Responsive */
@media (max-width: 920px) {
  .hero__grid, .split { grid-template-columns: 1fr; gap: 40px; }
  .hero__copy { padding-bottom: 0; }
  .hero__visual img { width: min(360px, 90%); }
  .feature-grid, .quotes { grid-template-columns: repeat(2, 1fr); }
  .reasons { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 17px; }
  .section { padding: 68px 0; }
  .hero { padding-top: 56px; }
  .nav { gap: 16px; }
  .nav .hide-sm { display: none; }
  .feature-grid, .quotes, .field-row { grid-template-columns: 1fr; }
  .cta-band { padding: 44px 22px; border-radius: 24px; }
  .footer-links { gap: 40px; }
  .store-badges img { height: 46px; }
  .stats { gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
