:root {
  color-scheme: light;
  --bg: #f2e6d6;
  --surface: #fff9f0;
  --text: #2f241d;
  --muted: #5b4a3c;
  --gold: #78501e;
  --line: #ccb99f;
}

body {
  background:
    radial-gradient(ellipse 760px 600px at 79% 290px, #e6c79e 0%, transparent 82%),
    linear-gradient(180deg, #fcf4e8 0, #f2e6d6 1020px, #f8efe4 1860px, #f3e7d7 100%);
  color: var(--text);
}

.site-header { border-color: #c9ac8780; }
.site-brand img { filter: brightness(.56) saturate(1.35); }
.site-nav a { color: var(--muted); }
.site-nav a[aria-current="page"], .site-nav a:hover,
.site-header .app-link, .web-home-hero .text-link { color: var(--gold); }
.site-header .app-link { border-color: #a7876280; }
.site-header .app-link:hover { background: #fff8ed; }

.web-home-hero { margin-top: 16px; }
.web-home-hero .home-intro h1 { margin-bottom: 14px; }
.web-home-hero .home-intro h1 + .eyebrow { margin: 0; }
.web-home-hero .home-intro .lead { margin-top: 16px; }

.web-home-hero .home-intro h1,
.web-home-hero .home-app-note .app-teaser-title,
.app-announcement .hero-intro h2 { color: var(--text); }
.web-home-hero .home-intro h1 em,
.app-announcement .hero-intro h2 em { color: var(--gold); }
.web-home-hero .lead, .web-home-hero .home-app-note p,
.app-announcement .hero-intro .lead, .app-announcement .hero-intro > p { color: var(--muted); }
.web-home-hero .app-teaser-status, .app-announcement .hero-intro .eyebrow { color: var(--gold); }
.hero-app-showcase { background: radial-gradient(ellipse at 53% 48%, #b97e353c, transparent 71%); }
.hero-phone { box-shadow: 0 25px 40px #35241340, 0 0 0 3px #211c17, 1px 0 0 #b2a287 inset; }

@media (min-width: 701px) {
  .hero-app-showcase { top: var(--hero-art-offset, clamp(-40px, calc(16px - 5.6vw), -24px)); }
}

.button:not(.secondary) {
  background: linear-gradient(115deg, #e9c789, #d8b274);
  color: #302016;
  border: 1px solid #af884c;
}
.button.secondary { background: #f9eee0; border-color: #a88b64; color: #392921; }
.button.secondary:hover { background: #fff9f1; }
:focus-visible { outline-color: #78501e; }
.home-paths, .home-devotionals, .app-announcement, .site-footer { border-color: var(--line); }
.home-devotionals .library-card { border-color: #ceb89d; background: #fcf5eb; box-shadow: 0 10px 30px #55361b13; }
.home-devotionals .library-card h2 { color: var(--text); }
.home-devotionals .library-card p:not(.eyebrow) { color: var(--muted); }
.home-devotionals .library-card .text-link, .home-devotionals .library-card .eyebrow { color: var(--gold); }

#join { background: linear-gradient(125deg, #ebd8bf, #f7ebdc); border-color: #c9ae8c; }
#join .join-copy > p { color: var(--muted); }
#join .signup > label, #join .signup legend { color: var(--text); }
#join input[type="email"] { border-color: #aa8a65; }
#join input::placeholder { color: #786552; }
#join .choices label { background: #fff9f0a8; border-color: #b49a7a; }
#join .choices label:has(:checked) { background: #efd9b7; border-color: var(--gold); }
#join .minimal-button { background: #78501e; color: #fff9f0; }
.site-footer { color: var(--muted); }
.site-footer a { color: var(--gold); }

@media (max-width: 700px) {
  body {
    background:
      radial-gradient(ellipse 360px 430px at 90% 980px, #e6c79e, transparent 90%),
      linear-gradient(180deg, #fcf4e8 0, #f2e6d6 1420px, #f8efe4 2200px, #f3e7d7 100%);
  }
  .web-home-hero { margin-top: 18px; gap: 20px; }
  .web-home-hero .home-intro h1 { margin-bottom: 12px; }
  .web-home-hero .home-intro .lead { margin: 16px 0 20px; }
  .web-home-hero .home-app-note { margin-top: 21px; }
}

.hero-emboss {
  position: absolute;
  z-index: 0;
  inset: 40% -4% -9% -5%;
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent, #000 21%, #000 89%, transparent);
  filter: drop-shadow(-1.4px -1px 0 #fff7e6d9);
}

.hero-emboss::before,
.hero-emboss::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero-emboss::before {
  background-color: #8f6742;
  opacity: .12;
  mask: url("/assets/hero/olive-emboss.webp") center / 100% 100% no-repeat;
}

.hero-emboss::after {
  background: url("/assets/hero/olive-emboss.webp") center / 100% 100% no-repeat;
  opacity: .31;
  filter: grayscale(1) sepia(.36) contrast(1.15) brightness(.89);
  mix-blend-mode: multiply;
}

.hero-emboss-reflection {
  position: absolute;
  z-index: 0;
  
  overflow: hidden;
  mask-image: linear-gradient(180deg, transparent, #000 27%);
  pointer-events: none;
}

.hero-emboss-reflection {
  transform: translate(-4.3%, 19%) rotate(-8deg) scale(-1, -1);
}

.hero-emboss-reflection > .hero-emboss {
  inset: auto 0 0;
  height: var(--lower-emboss-height);
}

@media (min-width: 701px) and (max-width: 1250px) {
  .hero-emboss { inset-inline: -3%; }
}

@media (max-width: 700px) {
  .hero-emboss { inset: 42% -3% -10%; }
  }
