:root {
  --ink: #17120e;
  --muted: #645c54;
  --paper: #fffaf1;
  --paper-2: #f5ead9;
  --line: rgba(35, 25, 17, .13);
  --gold: #bf781d;
  --gold-2: #f4b958;
  --reza: #9b4a19;
  --reza-dark: #2b140b;
  --pay: #087a70;
  --pay-dark: #073d3a;
  --white: #fff;
  --shadow: 0 28px 80px rgba(43, 25, 12, .15);
  --radius: 28px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(244, 185, 88, .18), transparent 32rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(760px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(35, 25, 17, .08);
  background: rgba(255, 250, 241, .88);
  backdrop-filter: blur(18px) saturate(145%);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -.02em;
}
.brand span { color: var(--gold); }

.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a {
  color: #51473e;
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
}
.nav-links a:hover { color: var(--gold); }

.language-link {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255,255,255,.6);
}

.product-hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 72px;
}
.product-hero::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  right: -230px;
  top: -230px;
  border-radius: 50%;
  background: rgba(191,120,29,.13);
  filter: blur(3px);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .72fr);
  align-items: center;
  gap: 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }

h1, h2, h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -.035em;
  line-height: 1.08;
}
h1 { max-width: 12ch; font-size: clamp(2.8rem, 7vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4.8vw, 3.25rem); }
h3 { font-size: 1.35rem; }

.hero-copy { margin: 24px 0 0; max-width: 60ch; color: var(--muted); font-size: 1.08rem; }

.product-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.app-icon {
  width: 74px;
  height: 74px;
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(32,18,10,.18);
}
.product-lockup strong { display: block; font-size: 1.05rem; }
.product-lockup span { color: var(--muted); font-size: .91rem; }

.store-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.store-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 15px;
  color: white;
  background: #161616;
  box-shadow: 0 10px 26px rgba(0,0,0,.14);
  font-size: .92rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.store-button:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,0,0,.19); }
.store-button .store-symbol { font-size: 1.4rem; line-height: 1; }
.store-button small { display: block; color: rgba(255,255,255,.66); font-size: .66rem; font-weight: 600; line-height: 1.1; }
.store-button strong { display: block; line-height: 1.2; }

.microcopy { margin: 14px 0 0; color: #746b63; font-size: .8rem; }

.phone-stage { position: relative; min-height: 600px; display: grid; place-items: center; }
.phone-stage::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(244,185,88,.4), rgba(155,74,25,.08));
  filter: blur(4px);
}
.paycheck .phone-stage::before { background: linear-gradient(145deg, rgba(34,184,165,.35), rgba(8,122,112,.07)); }
.phone-shot {
  position: relative;
  z-index: 1;
  width: min(315px, 82vw);
  border: 10px solid #1c1916;
  border-radius: 44px;
  box-shadow: var(--shadow);
  transform: rotate(3deg);
}

.proof-strip { border-block: 1px solid var(--line); background: rgba(255,255,255,.42); }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.proof-item { padding: 28px 22px; text-align: center; }
.proof-item + .proof-item { border-left: 1px solid var(--line); }
.proof-item strong { display: block; font-size: 1.05rem; }
.proof-item span { color: var(--muted); font-size: .84rem; }

.section { padding: 96px 0; }
.section.soft { background: var(--paper-2); }
.section.dark { color: white; background: var(--reza-dark); }
.paycheck .section.dark { background: var(--pay-dark); }
.section-head { max-width: 690px; margin-bottom: 46px; }
.section-head p { margin: 18px 0 0; color: var(--muted); }
.dark .section-head p { color: rgba(255,255,255,.7); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.68);
}
.feature-number {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 12px;
  color: white;
  background: var(--reza);
  font-size: .78rem;
  font-weight: 900;
}
.paycheck .feature-number { background: var(--pay); }
.feature-card p { margin: 12px 0 0; color: var(--muted); font-size: .92rem; }

.screenshot-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(235px, 290px);
  gap: 22px;
  overflow-x: auto;
  padding: 10px 2px 26px;
  scroll-snap-type: x mandatory;
  scrollbar-color: rgba(255,255,255,.3) transparent;
}
.screenshot-rail img {
  width: 100%;
  border-radius: 30px;
  border: 7px solid rgba(255,255,255,.1);
  box-shadow: 0 20px 46px rgba(0,0,0,.25);
  scroll-snap-align: start;
}

.two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.trust-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
}
.trust-card p, .trust-card li { color: var(--muted); }
.trust-card ul { margin: 18px 0 0; padding-left: 20px; }
.trust-card li + li { margin-top: 8px; }

.cta-band {
  padding: 38px;
  border-radius: var(--radius);
  color: white;
  background: linear-gradient(135deg, #3a1b0d, #aa561c);
  box-shadow: var(--shadow);
}
.paycheck .cta-band { background: linear-gradient(135deg, #073d3a, #0b9487); }
.cta-band h2 { max-width: 15ch; }
.cta-band p { max-width: 56ch; color: rgba(255,255,255,.75); }
.cta-band .store-button { border-color: rgba(255,255,255,.16); }

.guide-hero { padding: 78px 0 50px; }
.breadcrumbs { margin-bottom: 20px; color: var(--muted); font-size: .82rem; }
.breadcrumbs a { color: var(--gold); text-decoration: none; }
.guide-hero h1 { max-width: 16ch; font-size: clamp(2.5rem, 6.5vw, 4.4rem); }
.guide-dek { max-width: 62ch; margin: 22px 0 0; color: var(--muted); font-size: 1.08rem; }
.article-meta { margin-top: 18px; color: #85786b; font-size: .8rem; }

.article { padding-bottom: 92px; }
.article h2 { margin-top: 48px; font-size: 2rem; }
.article h3 { margin-top: 34px; }
.article p, .article li { color: #443d37; }
.article ul, .article ol { padding-left: 23px; }
.article li + li { margin-top: 10px; }
.prayer {
  margin: 36px 0;
  padding: 32px;
  border-left: 4px solid var(--gold);
  border-radius: 0 20px 20px 0;
  background: #fff2da;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  line-height: 1.8;
}
.answer-box {
  margin: 30px 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
}
.answer-box strong { display: block; margin-bottom: 7px; }

.article-share {
  display: flex;
  align-items: center;
  margin: 34px 0 8px;
}
.share-button {
  appearance: none;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid rgba(191,120,29,.36);
  border-radius: 999px;
  color: #5b3216;
  background: #fff8eb;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.share-button:hover { transform: translateY(-1px); border-color: var(--gold); background: #fff1d7; }
.share-button:focus-visible { outline: 3px solid rgba(191,120,29,.28); outline-offset: 3px; }
.paycheck .share-button { border-color: rgba(11,148,135,.35); color: #073d3a; background: #effbf9; }
.paycheck .share-button:hover { border-color: var(--pay); background: #ddf7f3; }
.paycheck .share-button:focus-visible { outline-color: rgba(11,148,135,.28); }

.inline-product {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
  margin: 48px 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 46px rgba(40,24,12,.09);
}
.inline-product .app-icon { width: 68px; height: 68px; }
.inline-product h3 { margin: 0; }
.inline-product p { margin: 7px 0 0; font-size: .9rem; }
.inline-product .store-actions { grid-column: 1 / -1; margin-top: 2px; }

.faq { margin-top: 52px; }
.faq details { padding: 20px 0; border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 800; }
.faq details p { margin-bottom: 0; }

.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.related-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  text-decoration: none;
}
.related-card:hover { border-color: rgba(191,120,29,.5); }
.related-card span { display: block; margin-top: 8px; color: var(--muted); font-size: .84rem; }

.site-footer { padding: 48px 0 58px; border-top: 1px solid var(--line); }
.footer-grid { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; }
.site-footer p { margin: 8px 0 0; color: var(--muted); font-size: .84rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { color: var(--muted); font-size: .84rem; text-decoration: none; }
.footer-links a:hover { color: var(--gold); }

.skip-link {
  position: absolute;
  left: 14px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  color: white;
  background: #111;
}
.skip-link:focus { top: 12px; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .phone-stage { min-height: 530px; }
  .feature-grid { grid-template-columns: 1fr; }
  .two-column { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-item + .proof-item { border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 650px) {
  body { font-size: 16px; }
  .container, .narrow { width: min(100% - 28px, 1120px); }
  .nav { min-height: 64px; }
  .nav-links a:not(.language-link) { display: none; }
  .product-hero, .guide-hero { padding-top: 52px; }
  .section { padding: 70px 0; }
  .phone-stage { min-height: 470px; }
  .phone-shot { width: min(280px, 80vw); border-width: 8px; border-radius: 38px; }
  .store-actions { flex-direction: column; }
  .store-button { width: 100%; justify-content: center; }
  .related-grid { grid-template-columns: 1fr; }
  .inline-product { grid-template-columns: 1fr; text-align: left; }
  .inline-product .store-actions { grid-column: auto; }
  .footer-grid { flex-direction: column; }
}

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