/* ============================================================
   SayAmen — Landing Page Styles
   Warm ivory + gold, elegant serif display, calm and devotional.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Hanken+Grotesk:wght@400;500;600;700&display=swap');

:root {
  /* Surfaces */
  --ivory:       #FAF5EA;
  --ivory-2:     #F4EBD8;
  --cream:       #FCF9F1;
  --paper:       #FFFFFF;

  /* Gold accents (from the app) */
  --gold:        #C0983B;
  --gold-deep:   #A07E2C;
  --gold-soft:   #E4D3A4;
  --gold-tint:   #F1E7CC;
  --gold-glow:   rgba(192,152,59,0.14);

  /* Dark "prayer mode" */
  --dark:        #16120B;
  --dark-2:      #221B10;
  --dark-line:   #3A2F18;

  /* Ink */
  --ink:         #2B2418;
  --ink-soft:    #6C6452;
  --ink-mute:    #9A8F78;
  --line:        #E7DCC4;

  --maxw: 1180px;
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Type ---------- */
.serif { font-family: 'Cormorant Garamond', Georgia, serif; }

h1, h2, h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.04;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.eyebrow {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow.centered { justify-content: center; }

p.lead {
  font-size: 1.18rem;
  color: var(--ink-soft);
  line-height: 1.62;
  text-wrap: pretty;
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
section { position: relative; }

.section-pad { padding: clamp(72px, 11vw, 140px) 0; }

.section-head { max-width: 680px; margin: 0 auto; text-align: center; }
.section-head h2 { font-size: clamp(2.4rem, 5.4vw, 3.7rem); margin: 18px 0 0; }
.section-head p { margin-top: 20px; font-size: 1.12rem; color: var(--ink-soft); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.55em;
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 26px;
  border-radius: 100px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s;
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: #FFFDF6;
  box-shadow: 0 10px 24px -10px rgba(160,126,44,0.7);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(160,126,44,0.8); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-deep); }

/* Store badges */
.stores { display: flex; flex-wrap: wrap; gap: 14px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--ink);
  color: #fff;
  padding: 11px 20px 11px 18px;
  border-radius: 14px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  box-shadow: 0 8px 22px -12px rgba(43,36,24,0.6);
}
.store-badge:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(43,36,24,0.7); }
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge .bt { display: flex; flex-direction: column; line-height: 1.05; }
.store-badge .bt small { font-size: 0.62rem; letter-spacing: 0.04em; opacity: 0.82; font-weight: 500; }
.store-badge .bt span { font-size: 1.06rem; font-weight: 600; font-family: 'Hanken Grotesk', sans-serif; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,245,234,0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 4px 12px -4px rgba(160,126,44,0.5); }
.brand .name { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 1.6rem; letter-spacing: -0.01em; }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a.navlink {
  font-size: 0.95rem; font-weight: 500; color: var(--ink-soft);
  position: relative; transition: color .25s;
}
.nav-links a.navlink::after {
  content:""; position:absolute; left:0; bottom:-6px; height:1.5px; width:0;
  background: var(--gold); transition: width .3s var(--ease);
}
.nav-links a.navlink:hover { color: var(--ink); }
.nav-links a.navlink:hover::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 18px; }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-menu { display: none; }
.menu-toggle span { display:block; width:24px; height:2px; background: var(--ink); border-radius:2px; transition: .3s; }
.menu-toggle span + span { margin-top: 5px; }

/* ============================================================
   Hero
   ============================================================ */
.hero { padding: clamp(48px, 7vw, 92px) 0 clamp(60px, 8vw, 110px); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center;
}
.hero-copy { max-width: 560px; }
.hero h1 {
  font-size: clamp(2.6rem, 5.3vw, 4.3rem);
  margin: 22px 0 0;
  font-weight: 600;
  line-height: 1.06;
}
.hero h1 em { font-style: italic; color: var(--gold-deep); font-weight: 500; }
.hero .lead { margin-top: 26px; max-width: 500px; }
.hero .stores { margin-top: 34px; }
.reassure {
  margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 20px;
  font-size: 0.9rem; color: var(--ink-mute);
}
.reassure span { display: inline-flex; align-items: center; gap: 7px; }
.reassure span::before {
  content:""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
}

/* Hero visual / phones */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 520px; }
.blob {
  position: absolute; border-radius: 50%; filter: blur(2px);
  background: radial-gradient(circle at 30% 30%, var(--gold-tint), transparent 72%);
  z-index: 0; pointer-events: none;
}
.blob.b1 { width: 340px; height: 340px; top: -30px; right: 20px; opacity: .8; }
.blob.b2 { width: 240px; height: 240px; bottom: 10px; left: 0; opacity: .7;
  background: radial-gradient(circle at 40% 40%, var(--gold-soft), transparent 70%); }
.ring {
  position: absolute; border: 1px solid var(--gold-soft); border-radius: 50%;
  opacity: .5; z-index: 0;
}
.ring.r1 { width: 380px; height: 380px; }
.ring.r2 { width: 500px; height: 500px; }

/* ============================================================
   Phone frame
   ============================================================ */
.phone {
  position: relative; z-index: 2;
  width: 100%; max-width: 300px;
  aspect-ratio: 1290 / 2796;
  background: #0e0c08;
  border-radius: 13% / 6%;
  padding: 2.6%;
  box-shadow:
    0 2px 0 rgba(255,255,255,0.04) inset,
    0 40px 80px -30px rgba(43,30,8,0.55),
    0 18px 40px -22px rgba(43,30,8,0.4);
}
.phone .screen {
  width: 100%; height: 100%;
  border-radius: 11% / 5.2%;
  overflow: hidden;
  background: var(--cream);
}
.phone .screen img { width: 100%; height: 100%; object-fit: cover; }

.phone.tilt-l { transform: rotate(-3deg); }
.phone.tilt-r { transform: rotate(3deg); }

/* Hero stacked phones */
.hero-phones { position: relative; z-index: 2; width: 100%; display:flex; justify-content:center; }
.hero-phones .phone.main { max-width: 290px; }
.hero-phones .phone.back {
  position: absolute; top: 38px; left: 50%; max-width: 240px;
  transform: translateX(-86%) rotate(-7deg);
  filter: saturate(0.98);
  z-index: 1; opacity: .96;
}
.hero-phones .phone.back2 {
  position: absolute; top: 38px; left: 50%; max-width: 240px;
  transform: translateX(-14%) rotate(7deg);
  z-index: 1; opacity: .96;
}

/* floating tag near hero phone */
.float-tag {
  position: absolute; z-index: 5;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px 17px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 18px 40px -20px rgba(43,30,8,0.4);
}
.float-tag .ic {
  width: 38px; height: 38px; border-radius: 11px; flex: none;
  display: grid; place-items: center;
  background: var(--gold-tint); color: var(--gold-deep);
}
.float-tag .ic svg { width: 21px; height: 21px; }
.float-tag .ft-t { font-size: 0.74rem; color: var(--ink-mute); font-weight: 500; }
.float-tag .ft-v { font-size: 1.02rem; font-weight: 700; color: var(--ink); font-family: 'Hanken Grotesk'; letter-spacing: -0.01em; }
.float-tag.tag-a { top: 8%; right: -6px; }
.float-tag.tag-b { bottom: 12%; left: -10px; }

/* ============================================================
   "Quiet statement" band
   ============================================================ */
.statement { text-align: center; padding: clamp(80px,11vw,150px) 0; }
.statement .q {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 500; line-height: 1.18; color: var(--ink);
  max-width: 900px; margin: 0 auto; text-wrap: balance;
}
.statement .q b { color: var(--gold-deep); font-weight: 600; font-style: italic; }
.statement .cite { margin-top: 26px; color: var(--ink-mute); font-size: 0.95rem; letter-spacing: 0.04em; }

/* ============================================================
   How it works
   ============================================================ */
.how { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { margin-top: 64px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; align-items: start; }
.step { position: relative; }
.step .num {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 1.5rem; color: var(--gold-deep); font-weight: 600;
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--gold-soft); background: var(--gold-tint);
  display: grid; place-items: center; margin-bottom: 22px;
}
.step h3 { font-size: 1.85rem; margin-bottom: 10px; }
.step p { color: var(--ink-soft); font-size: 1.02rem; }
.step-connect { display: none; }

/* ============================================================
   Showcase (phones in a row)
   ============================================================ */
.showcase { overflow: hidden; }
.show-row {
  margin-top: 70px; display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 4vw, 56px); align-items: start; justify-items: center;
}
.show-item {
  text-align: center; max-width: 320px; width: 100%;
  display: flex; flex-direction: column; align-items: center;
}
.show-item .phone { margin: 0 auto 26px; width: 100%; max-width: 260px; }
.show-item .cap-k { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); }
.show-item h3 { font-size: 1.7rem; margin: 8px 0 8px; }
.show-item p { color: var(--ink-soft); font-size: 0.98rem; max-width: 280px; }

/* ============================================================
   Features
   ============================================================ */
.features { background: var(--ivory-2); }
.feat-grid {
  margin-top: 62px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px;
}
.feat {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px 34px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.feat:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -30px rgba(43,30,8,0.4); border-color: var(--gold-soft); }
.feat .fic {
  width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(160deg, var(--gold-tint), var(--gold-soft));
  display: grid; place-items: center; color: var(--gold-deep);
  margin-bottom: 22px;
}
.feat .fic svg { width: 28px; height: 28px; }
.feat h3 { font-size: 1.75rem; margin-bottom: 8px; }
.feat p { color: var(--ink-soft); font-size: 1.02rem; }

.feat.wide { grid-column: span 2; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 30px; align-items: center; padding: 0; overflow: hidden; background: var(--dark); border-color: var(--dark-line); }
.feat.wide .wide-copy { padding: 44px 40px; }
.feat.wide .fic { background: rgba(192,152,59,0.18); color: var(--gold-soft); }
.feat.wide h3 { color: #F4ECD8; }
.feat.wide p { color: #C9BFA8; }
.feat.wide .wide-vis {
  align-self: stretch; min-height: 280px;
  background:
    radial-gradient(circle at 70% 30%, rgba(192,152,59,0.18), transparent 60%),
    var(--dark-2);
  display: grid; place-items: center; position: relative;
}

/* ============================================================
   Final CTA
   ============================================================ */
.cta-final { padding: clamp(80px,11vw,150px) 0; text-align: center; }
.cta-card {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 120% at 50% -10%, rgba(192,152,59,0.16), transparent 55%),
    var(--cream);
  border: 1px solid var(--gold-soft);
  border-radius: 40px;
  padding: clamp(56px, 8vw, 96px) 28px;
}
.cta-card .logo-badge { width: 72px; height: 72px; border-radius: 20px; margin: 0 auto 26px; box-shadow: 0 14px 30px -12px rgba(160,126,44,0.6); }
.cta-card h2 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
.cta-card p { max-width: 560px; margin: 22px auto 0; color: var(--ink-soft); font-size: 1.14rem; }
.cta-card .stores { justify-content: center; margin-top: 36px; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--dark); color: #C9BFA8; padding: 70px 0 40px; }
.foot-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; align-items: flex-start; }
.foot-brand { max-width: 320px; }
.foot-brand .brand .name { color: #F4ECD8; }
.foot-brand p { margin-top: 16px; color: #9A9079; font-size: 0.96rem; }
.foot-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.foot-col h4 { font-family: 'Hanken Grotesk'; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-soft); font-weight: 600; margin-bottom: 16px; }
.foot-col a { display: block; color: #B6AC93; font-size: 0.96rem; padding: 5px 0; transition: color .25s; }
.foot-col a:hover { color: #F4ECD8; }
.foot-bottom { margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--dark-line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #7E7560; font-size: 0.88rem; }
.foot-verse { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.05rem; color: #9A9079; }

/* ============================================================
   Legal pages (privacy / terms)
   ============================================================ */
.legal-page {
  padding: clamp(48px, 8vw, 88px) 0 clamp(72px, 10vw, 120px);
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.legal-wrap { max-width: 760px; }
.legal-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 12px;
}
.legal-wrap h1 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  margin-bottom: 10px;
}
.legal-updated {
  font-size: 0.95rem;
  color: var(--ink-mute);
  margin-bottom: 12px;
}
.legal-switch {
  font-size: 0.98rem;
  color: var(--ink-soft);
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.legal-switch a { color: var(--gold-deep); font-weight: 600; }
.legal-switch a:hover { text-decoration: underline; }
.legal-doc { display: flex; flex-direction: column; gap: 28px; }
.legal-section h2 {
  font-size: 1.55rem;
  margin-bottom: 12px;
  color: var(--ink);
}
.legal-section p {
  font-size: 1.02rem;
  color: var(--ink-soft);
  line-height: 1.68;
  margin-bottom: 12px;
}
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul {
  margin-top: 4px;
  padding-left: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.legal-section li {
  font-size: 1.02rem;
  color: var(--ink-soft);
  line-height: 1.62;
}
.legal-section a { color: var(--gold-deep); font-weight: 500; }
.legal-section a:hover { text-decoration: underline; }
.legal-contact {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 0.98rem;
  color: var(--ink-mute);
}
.legal-contact a { color: var(--gold-deep); font-weight: 600; }

/* ============================================================
   Support page
   ============================================================ */
.support-contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(24px, 4vw, 36px);
  margin-bottom: 36px;
  box-shadow: 0 12px 40px rgba(44, 36, 22, 0.06);
}
.support-contact-card h2 {
  font-size: 1.55rem;
  margin-bottom: 10px;
  color: var(--ink);
}
.support-contact-card p {
  font-size: 1.02rem;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 20px;
}
.support-email-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 14px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.support-email-btn:hover {
  background: var(--gold-deep);
  color: #fff;
  transform: translateY(-1px);
}
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.support-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px;
}
.support-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--ink);
}
.support-card p {
  font-size: 0.98rem;
  color: var(--ink-soft);
  line-height: 1.62;
  margin-bottom: 10px;
}
.support-card p:last-child { margin-bottom: 0; }
.support-card a { color: var(--gold-deep); font-weight: 500; }
.support-faq { margin-top: 8px; }

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal { transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.pre { opacity: 0; transform: translateY(26px); }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 10px; text-align: center; }
  .hero-copy { max-width: 620px; margin: 0 auto; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero .stores, .reassure { justify-content: center; }
  .hero-visual { min-height: 480px; margin-top: 20px; order: 2; }
  .feat.wide { grid-template-columns: 1fr; }
  .feat.wide .wide-vis { min-height: 240px; order: 2; }
}

@media (max-width: 820px) {
  .nav-links, .nav-cta .btn-text-hide { display: none; }
  .menu-toggle { display: block; }
  .mobile-menu {
    flex-direction: column; gap: 4px;
    padding: 12px 28px 24px;
    background: rgba(250,245,234,0.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a { padding: 12px 0; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line); }
  .mobile-menu a:last-child { border-bottom: none; }
  .steps { grid-template-columns: 1fr; gap: 38px; max-width: 460px; margin-left: auto; margin-right: auto; }
  .show-row { grid-template-columns: 1fr; gap: 56px; }
  .feat-grid { grid-template-columns: 1fr; }
  .feat.wide { grid-column: span 1; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .nav { height: 66px; }
  .hero h1 { font-size: clamp(2.7rem, 13vw, 3.6rem); }
  .stores { width: 100%; }
  .store-badge { flex: 1; min-width: 0; justify-content: center; }
  .float-tag.tag-a { right: -4px; top: 4%; padding: 10px 13px; }
  .float-tag.tag-b { left: -4px; bottom: 8%; padding: 10px 13px; }
  .float-tag .ft-v { font-size: 0.92rem; }
  .cta-card { border-radius: 28px; }
  .foot-cols { gap: 40px; }
}
