/* ==========================================================================
   Push From God — design system
   Thesis: "the screen lights up". Dark is the notification, light is the page.
   Type rule: ONLY Scripture gets the serif.
   ========================================================================== */

@font-face{font-family:'Schibsted Grotesk';src:url(/assets/schibsted.woff2) format('woff2');font-weight:400 800;font-style:normal;font-display:swap}
@font-face{font-family:'EB Garamond';src:url(/assets/garamond.woff2) format('woff2');font-weight:400 600;font-style:normal;font-display:swap}
@font-face{font-family:'EB Garamond';src:url(/assets/garamond-italic.woff2) format('woff2');font-weight:400 500;font-style:italic;font-display:swap}

:root{
  --night:#0B1020;
  --night-deep:#060A14;
  --night-soft:#141B31;
  --firstlight:#F6C36B;
  --firstlight-dim:#C99B4E;
  --halo:#C9D8F2;
  --halo-dim:#8496B8;
  --vellum:#F4EEE2;
  --vellum-deep:#E9E0CE;
  --ink:#14161D;
  --ink-soft:#4A4F5C;

  --ui:'Schibsted Grotesk',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --scripture:'EB Garamond',Georgia,'Times New Roman',serif;
  --native:-apple-system,BlinkMacSystemFont,'SF Pro Text','Segoe UI',Roboto,sans-serif;

  --wrap:1120px;
  --prose:34rem;
  --r-card:22px;
  --r-btn:10px;
  --pad-sec:clamp(3.5rem,8vw,7rem);
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--night);color:var(--halo);
  font-family:var(--ui);font-size:1.0625rem;line-height:1.65;
  font-synthesis-weight:none;-webkit-font-smoothing:antialiased;
}
/* faint grain so the large dark fields never band */
body::before{
  content:'';position:fixed;inset:0;pointer-events:none;z-index:0;opacity:.035;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}
body>*{position:relative;z-index:1}
img,svg{max-width:100%;height:auto;display:block}
a{color:var(--firstlight);text-underline-offset:.18em;text-decoration-thickness:.06em}
a:hover{color:#FFD286}
:focus-visible{outline:2.5px solid var(--firstlight);outline-offset:3px;border-radius:4px}

/* ---------- type ---------- */
h1,h2,h3,h4{font-family:var(--ui);font-weight:700;line-height:1.12;
  letter-spacing:-.022em;color:#fff;margin:0 0 .5em}
h1{font-size:clamp(2.4rem,6.2vw,4.1rem);letter-spacing:-.032em}
h2{font-size:clamp(1.75rem,3.6vw,2.6rem);letter-spacing:-.026em}
h3{font-size:clamp(1.2rem,2vw,1.45rem)}
p{margin:0 0 1.15em}
.lede{font-size:clamp(1.15rem,2.1vw,1.4rem);line-height:1.55;color:var(--halo)}
.eyebrow{font-size:.78rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;
  color:var(--firstlight);margin:0 0 1rem}
.muted{color:var(--halo-dim)}
.small{font-size:.9rem}

/* ---------- layout ---------- */
.wrap{width:min(100% - 2.5rem,var(--wrap));margin-inline:auto}
.section{padding-block:var(--pad-sec)}
.prose{max-width:var(--prose)}
.center{text-align:center;margin-inline:auto}
.grid{display:grid;gap:clamp(1.5rem,3vw,2.5rem)}
@media(min-width:820px){
  .grid-2{grid-template-columns:1fr 1fr}
  .grid-3{grid-template-columns:repeat(3,1fr)}
  .split{grid-template-columns:1.05fr .95fr;align-items:center;
    gap:clamp(2rem,5vw,4.5rem)}
}

/* ---------- surfaces ---------- */
.on-vellum{background:var(--vellum);color:var(--ink)}
.on-vellum h1,.on-vellum h2,.on-vellum h3,.on-vellum h4{color:var(--ink)}
.on-vellum .muted{color:var(--ink-soft)}
.on-vellum a{color:#8A5E12}
.on-vellum .eyebrow{color:#8A5E12}
.on-night-deep{background:var(--night-deep)}

/* ---------- the mark ---------- */
.mark{width:1.75rem;height:1.75rem;flex:0 0 auto}

/* ---------- header ---------- */
.site-head{position:sticky;top:0;z-index:50;background:rgba(11,16,32,.82);
  backdrop-filter:saturate(1.4) blur(14px);
  border-bottom:1px solid rgba(201,216,242,.10)}
.head-in{display:flex;align-items:center;gap:1rem;
  padding-block:.85rem;width:min(100% - 2.5rem,var(--wrap));margin-inline:auto}
.brand{display:flex;align-items:center;gap:.6rem;text-decoration:none;
  font-weight:700;font-size:1.02rem;letter-spacing:-.02em;color:#fff}
.brand:hover{color:#fff}
.nav{margin-left:auto;display:flex;align-items:center;gap:clamp(.9rem,2vw,1.6rem)}
.nav a{color:var(--halo);text-decoration:none;font-size:.95rem;font-weight:500}
.nav a:hover{color:#fff}
@media(max-width:640px){.nav a.hide-sm{display:none}}

/* ---------- buttons + form ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  padding:.85rem 1.5rem;border-radius:var(--r-btn);border:0;cursor:pointer;
  font-family:var(--ui);font-size:1rem;font-weight:650;letter-spacing:-.01em;
  text-decoration:none;transition:transform .12s ease,box-shadow .2s ease,background .2s ease}
.btn-primary{background:var(--firstlight);color:#231703;
  box-shadow:0 0 0 0 rgba(246,195,107,.5),0 8px 30px -8px rgba(246,195,107,.55)}
.btn-primary:hover{background:#FFD286;color:#231703;transform:translateY(-1px);
  box-shadow:0 0 0 4px rgba(246,195,107,.16),0 10px 34px -8px rgba(246,195,107,.6)}
.btn-ghost{background:transparent;color:var(--halo);
  box-shadow:inset 0 0 0 1px rgba(201,216,242,.28)}
.btn-ghost:hover{color:#fff;box-shadow:inset 0 0 0 1px rgba(201,216,242,.55)}

.signup{display:flex;flex-wrap:wrap;gap:.6rem;max-width:30rem}
.signup input[type=email]{flex:1 1 15rem;min-width:0;padding:.85rem 1rem;
  border-radius:var(--r-btn);border:1px solid rgba(201,216,242,.26);
  background:rgba(255,255,255,.05);color:#fff;font-family:var(--ui);font-size:1rem}
.signup input[type=email]::placeholder{color:var(--halo-dim)}
.signup input[type=email]:focus{border-color:var(--firstlight);
  background:rgba(255,255,255,.08);outline:none;
  box-shadow:0 0 0 3px rgba(246,195,107,.18)}
.on-vellum .signup input[type=email]{background:#fff;border-color:rgba(20,22,29,.22);color:var(--ink)}
.on-vellum .signup input[type=email]::placeholder{color:#8A8578}
.form-note{font-size:.86rem;color:var(--halo-dim);margin:.75rem 0 0}
.on-vellum .form-note{color:var(--ink-soft)}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.form-msg{margin:.85rem 0 0;font-size:.95rem;font-weight:600;color:var(--firstlight)}
.form-msg[data-state=error]{color:#F09A8A}

/* ==========================================================================
   SIGNATURE: the lock screen + notification card
   ========================================================================== */
.lockscreen{
  max-width:25rem;margin-inline:auto;position:relative;border-radius:34px;padding:1.6rem 1.1rem 1.4rem;
  background:
    radial-gradient(120% 70% at 50% 0%,rgba(246,195,107,.20) 0%,rgba(246,195,107,0) 62%),
    linear-gradient(178deg,#101A33 0%,#080D1B 62%,#05080F 100%);
  box-shadow:0 0 0 1px rgba(201,216,242,.13),0 40px 90px -30px rgba(0,0,0,.9),
    0 0 90px -20px rgba(246,195,107,.20);
  overflow:hidden;
}
.lockscreen::after{ /* the glow of a screen just woken */
  content:'';position:absolute;left:50%;top:-32%;width:78%;aspect-ratio:1;
  transform:translateX(-50%);border-radius:50%;pointer-events:none;
  background:radial-gradient(circle,rgba(246,195,107,.24) 0%,rgba(246,195,107,0) 68%);
}
.ls-head{position:relative;text-align:center;margin-bottom:1.5rem}
.ls-time{font-family:var(--native);font-size:clamp(3.2rem,9vw,4.3rem);font-weight:200;
  line-height:1;letter-spacing:-.035em;color:#fff;margin:0}
.ls-date{font-family:var(--native);font-size:.92rem;font-weight:500;
  color:rgba(255,255,255,.62);margin:.35rem 0 0;letter-spacing:.01em}

.notif{
  position:relative;display:block;text-align:left;
  border-radius:var(--r-card);padding:.85rem .95rem;
  background:rgba(233,238,250,.13);
  backdrop-filter:blur(24px) saturate(1.5);
  box-shadow:inset 0 0 0 .5px rgba(255,255,255,.22);
  font-family:var(--native);
}
.notif + .notif{margin-top:.6rem}
.notif-head{display:flex;align-items:center;gap:.45rem;margin-bottom:.4rem}
.notif-icon{width:1.25rem;height:1.25rem;border-radius:6px;flex:0 0 auto}
.notif-app{font-size:.74rem;font-weight:600;letter-spacing:.02em;
  color:rgba(255,255,255,.72);text-transform:uppercase}
.notif-time{margin-left:auto;font-size:.74rem;color:rgba(255,255,255,.55)}
.notif-title{font-family:var(--native);font-size:.94rem;font-weight:600;
  color:#fff;margin:0 0 .18rem;line-height:1.3}
.notif-verse{font-family:var(--scripture);font-size:1.12rem;line-height:1.42;
  color:#fff;margin:.15rem 0 .3rem;font-weight:400}
.notif-ref{font-family:var(--scripture);font-style:italic;font-size:.95rem;
  color:var(--firstlight);margin:0}
.notif-why{font-family:var(--native);font-size:.82rem;line-height:1.45;
  color:rgba(255,255,255,.66);margin:.45rem 0 0}

/* arrival animation — the one orchestrated moment on the page */
@media(prefers-reduced-motion:no-preference){
  .notif-animate{animation:notif-in .85s cubic-bezier(.16,.84,.34,1) both}
  .notif-animate:nth-of-type(1){animation-delay:.45s}
  .notif-animate:nth-of-type(2){animation-delay:1.15s}
  .notif-animate:nth-of-type(3){animation-delay:1.75s}
  @keyframes notif-in{
    from{opacity:0;transform:translateY(-14px) scale(.965);filter:blur(3px)}
    to{opacity:1;transform:none;filter:none}
  }
  .lockscreen{animation:wake 1.1s ease both}
  @keyframes wake{from{opacity:.35;filter:brightness(.5)}to{opacity:1;filter:none}}
}

/* ==========================================================================
   SIGNATURE: the scripture block — identical on every page of the site
   ========================================================================== */
.scripture{
  font-family:var(--scripture);font-size:clamp(1.3rem,2.4vw,1.6rem);
  line-height:1.5;font-weight:400;color:#fff;margin:0;
  padding-left:1.2rem;border-left:2px solid var(--firstlight);
}
.on-vellum .scripture{color:var(--ink);border-left-color:var(--firstlight-dim)}
.scripture-ref{display:block;font-family:var(--scripture);font-style:italic;
  font-weight:500;font-size:.75em;letter-spacing:.01em;
  color:var(--firstlight);margin-top:.55em}
.on-vellum .scripture-ref{color:#8A5E12}

/* verse list on topic pages */
.verse-list{list-style:none;margin:0;padding:0;counter-reset:v}
.verse-item{padding:clamp(1.4rem,3vw,2rem) 0;border-top:1px solid rgba(201,216,242,.14)}
.verse-item:first-child{border-top:0}
.on-vellum .verse-item{border-top-color:rgba(20,22,29,.13)}
.verse-num{counter-increment:v;font-family:var(--ui);font-size:.75rem;font-weight:700;
  letter-spacing:.12em;color:var(--firstlight-dim);display:block;margin-bottom:.7rem}
.verse-num::before{content:counter(v,decimal-leading-zero)}
.verse-note{font-family:var(--ui);font-size:1rem;line-height:1.6;
  color:var(--halo);margin:1rem 0 0;max-width:var(--prose)}
.on-vellum .verse-note{color:var(--ink-soft)}
.kjv{margin:.9rem 0 0;font-family:var(--scripture);font-size:1.02rem;
  line-height:1.5;color:var(--halo-dim)}
.on-vellum .kjv{color:var(--ink-soft)}
.kjv-label{font-family:var(--ui);font-size:.68rem;font-weight:700;letter-spacing:.13em;
  text-transform:uppercase;color:#8A5E12;display:block;margin-bottom:.3rem}

/* ---------- cards ---------- */
.card{border-radius:16px;padding:clamp(1.4rem,2.6vw,1.9rem);
  background:rgba(255,255,255,.045);box-shadow:inset 0 0 0 1px rgba(201,216,242,.13)}
.on-vellum .card{background:rgba(255,255,255,.66);
  box-shadow:inset 0 0 0 1px rgba(20,22,29,.10)}
.card h3{margin-bottom:.45rem}
.card p:last-child{margin-bottom:0}

/* numbered steps — a real sequence, so the numbering carries information */
.step-num{font-family:var(--ui);font-size:.8rem;font-weight:700;letter-spacing:.1em;
  color:var(--firstlight);display:block;margin-bottom:.7rem}

/* topic tiles */
.topic-grid{display:grid;gap:.75rem;
  grid-template-columns:repeat(auto-fill,minmax(15rem,1fr));list-style:none;padding:0;margin:0}
.topic{display:block;padding:1.1rem 1.2rem;border-radius:12px;text-decoration:none;
  background:rgba(255,255,255,.05);box-shadow:inset 0 0 0 1px rgba(201,216,242,.14);
  transition:transform .14s ease,box-shadow .2s ease}
.topic:hover{transform:translateY(-2px);
  box-shadow:inset 0 0 0 1px rgba(246,195,107,.5),0 8px 24px -12px rgba(0,0,0,.6)}
.topic-name{display:block;font-weight:670;font-size:1.05rem;color:#fff;
  letter-spacing:-.015em;margin-bottom:.15rem}
.topic-meta{display:block;font-size:.86rem;color:var(--halo-dim)}
.on-vellum .topic{background:rgba(255,255,255,.62);
  box-shadow:inset 0 0 0 1px rgba(20,22,29,.10)}
.on-vellum .topic:hover{box-shadow:inset 0 0 0 1px rgba(138,94,18,.45),0 8px 24px -12px rgba(20,22,29,.4)}
.on-vellum .topic-name{color:var(--ink)}
.on-vellum .topic-meta{color:var(--ink-soft)}

/* ---------- article prose ---------- */
.article{max-width:var(--prose)}
.article h2{margin-top:2.4em;font-size:clamp(1.45rem,2.7vw,1.9rem)}
.article h3{margin-top:1.9em}
.article ul,.article ol{padding-left:1.15rem;margin:0 0 1.15em}
.article li{margin-bottom:.5em}
.article .scripture{margin:1.8em 0}
.byline{font-size:.9rem;color:var(--halo-dim);margin:0 0 2.5rem}
.on-vellum .byline{color:var(--ink-soft)}
hr{border:0;border-top:1px solid rgba(201,216,242,.14);margin:2.5rem 0}
.on-vellum hr{border-top-color:rgba(20,22,29,.14)}

/* ---------- breadcrumb ---------- */
.crumbs{font-size:.86rem;color:var(--halo-dim);margin:0 0 1.5rem;
  display:flex;gap:.45rem;flex-wrap:wrap;align-items:center}
.crumbs a{color:var(--halo-dim)}
.on-vellum .crumbs,.on-vellum .crumbs a{color:var(--ink-soft)}
.crumbs span{opacity:.5}

/* ---------- faq ---------- */
.faq{border-top:1px solid rgba(201,216,242,.14)}
.on-vellum .faq{border-top-color:rgba(20,22,29,.14)}
.faq-item{border-bottom:1px solid rgba(201,216,242,.14);padding:1.35rem 0}
.on-vellum .faq-item{border-bottom-color:rgba(20,22,29,.14)}
.faq-q{font-weight:670;font-size:1.06rem;color:#fff;margin:0 0 .5rem;
  letter-spacing:-.015em}
.on-vellum .faq-q{color:var(--ink)}
.faq-a{margin:0;color:var(--halo);max-width:var(--prose)}
.on-vellum .faq-a{color:var(--ink-soft)}

/* ---------- footer ---------- */
.site-foot{background:var(--night-deep);color:var(--halo-dim);
  padding-block:clamp(2.5rem,5vw,3.5rem);border-top:1px solid rgba(201,216,242,.10)}
.foot-grid{display:grid;gap:2rem;grid-template-columns:1fr}
@media(min-width:760px){.foot-grid{grid-template-columns:1.4fr 1fr 1fr}}
.site-foot h4{font-size:.78rem;letter-spacing:.13em;text-transform:uppercase;
  color:var(--halo);margin:0 0 .9rem;font-weight:600}
.site-foot ul{list-style:none;margin:0;padding:0}
.site-foot li{margin-bottom:.5rem}
.site-foot a{color:var(--halo-dim);text-decoration:none;font-size:.95rem}
.site-foot a:hover{color:#fff}
.foot-legal{margin-top:2.5rem;padding-top:1.5rem;font-size:.85rem;
  border-top:1px solid rgba(201,216,242,.10)}

/* ---------- utilities ---------- */
.stack>*+*{margin-top:1rem}
.mt-0{margin-top:0}.mb-0{margin-bottom:0}
.pill{display:inline-block;font-size:.75rem;font-weight:650;letter-spacing:.08em;
  text-transform:uppercase;padding:.3rem .65rem;border-radius:999px;
  background:rgba(246,195,107,.14);color:var(--firstlight)}
.on-vellum .pill{background:rgba(138,94,18,.12);color:#8A5E12}
.skip{position:absolute;left:-9999px}
.skip:focus{left:1rem;top:1rem;z-index:100;padding:.7rem 1rem;background:var(--firstlight);
  color:#231703;border-radius:8px;font-weight:650}

/* header/footer brand must stay white even on vellum pages */
.site-head .brand,.site-foot .brand{color:#fff}
/* KJV disclosure inside a verse item */
.kjv-toggle{margin:.85rem 0 0}
.kjv-toggle summary{cursor:pointer;font-family:var(--ui);font-size:.72rem;font-weight:700;
  letter-spacing:.12em;text-transform:uppercase;color:var(--halo-dim);list-style:none;
  display:inline-flex;align-items:center;gap:.4rem}
.on-vellum .kjv-toggle summary{color:#8A5E12}
.kjv-toggle summary::-webkit-details-marker{display:none}
.kjv-toggle summary::before{content:'+';font-size:1rem;line-height:1;font-weight:400}
.kjv-toggle[open] summary::before{content:'\2212'}
.kjv-toggle summary:hover{color:var(--firstlight)}
.on-vellum .kjv-toggle summary:hover{color:var(--ink)}
/* topic page hero band */
.topic-head{padding-block:clamp(2.5rem,6vw,4rem) clamp(1.5rem,3vw,2.5rem)}
.count-pill{font-family:var(--ui);font-size:.78rem;font-weight:650;letter-spacing:.1em;
  text-transform:uppercase;color:var(--halo-dim)}
.on-vellum .count-pill{color:var(--ink-soft)}
/* inline CTA band inside content pages */
.cta-band{border-radius:18px;padding:clamp(1.5rem,3vw,2.25rem);
  background:linear-gradient(165deg,#101A33,#080D1B);
  box-shadow:0 0 0 1px rgba(201,216,242,.14),0 0 70px -30px rgba(246,195,107,.5)}
.cta-band h3{color:#fff}
.cta-band p{color:var(--halo)}
.cta-band .form-note{color:var(--halo-dim)}
/* related links row */
.related-row{display:flex;flex-wrap:wrap;gap:.6rem;padding:0;margin:1rem 0 0;list-style:none}
.related-row a{display:inline-block;padding:.5rem .9rem;border-radius:999px;font-size:.92rem;
  text-decoration:none;background:rgba(255,255,255,.06);color:var(--halo);
  box-shadow:inset 0 0 0 1px rgba(201,216,242,.16)}
.on-vellum .related-row a{background:rgba(255,255,255,.6);color:var(--ink);
  box-shadow:inset 0 0 0 1px rgba(20,22,29,.12)}
.related-row a:hover{box-shadow:inset 0 0 0 1px rgba(246,195,107,.6)}

/* --- vellum surface corrections ------------------------------------------ */
.on-vellum .lede{color:var(--ink-soft)}
.article{margin-inline:0}          /* left-align prose with the rest of the page */
/* notifications are designed for a dark ground — give them one on light pages */
.notif-stage{border-radius:26px;padding:1.15rem;
  background:radial-gradient(120% 80% at 50% 0%,rgba(246,195,107,.16) 0%,rgba(246,195,107,0) 60%),
             linear-gradient(170deg,#101A33 0%,#080D1B 100%);
  box-shadow:0 0 0 1px rgba(201,216,242,.14),0 24px 60px -34px rgba(0,0,0,.85),
             0 0 60px -26px rgba(246,195,107,.4)}
/* header reads muddy when a translucent navy sits over cream — go nearly solid */
.on-vellum .site-head{background:rgba(11,16,32,.95)}
/* .nav a was overriding the button's own colour — restore it */
.nav a.btn-primary{color:#231703}
.nav a.btn-primary:hover{color:#231703}
/* keep scripture to a readable measure rather than the full 1120px */
.verse-list{max-width:48rem}
.verse-note{max-width:none}
/* keep the wordmark on one line in the mobile header */
.brand span{white-space:nowrap}
@media(max-width:430px){
  .brand{font-size:.95rem;gap:.45rem}
  .mark{width:1.5rem;height:1.5rem}
  .head-in{gap:.6rem}
  .nav{gap:.75rem}
  .nav a.btn-primary{padding:.45rem .8rem;font-size:.85rem}
}
/* CTA must never wrap; on very narrow screens drop the second nav link
   (Blog stays reachable from the footer and from /verses) */
.btn{white-space:nowrap}
@media(max-width:430px){
  .nav a:nth-of-type(2){display:none}
}
/* full-passage block on reference pages */
.scripture.passage{font-size:clamp(1.25rem,2.3vw,1.55rem);line-height:1.62}
.verse-line{padding:clamp(1.2rem,2.6vw,1.7rem) 0;border-top:1px solid rgba(201,216,242,.14)}
.on-vellum .verse-line{border-top-color:rgba(20,22,29,.13)}
.verse-line:first-of-type{border-top:0}
.verse-line h3{font-size:.78rem;font-weight:700;letter-spacing:.13em;text-transform:uppercase;
  color:var(--firstlight-dim);margin:0 0 .7rem}
.on-vellum .verse-line h3{color:#8A5E12}
.verse-line .scripture{font-size:clamp(1.15rem,2vw,1.35rem)}
