/* Bible Shorts website. Colours and type follow the app (app/prototype/shared/tokens.css). */
@font-face{font-family:'EB Garamond';src:url('../fonts/EBGaramond.woff2') format('woff2');font-weight:400 800;font-style:normal;font-display:swap}
@font-face{font-family:'EB Garamond';src:url('../fonts/EBGaramond-Italic.woff2') format('woff2');font-weight:400 800;font-style:italic;font-display:swap}

:root{
  --bg:#F7F3EC;--surface:#FFFDFA;--surface-2:#F0EAE0;
  --line:rgba(42,28,30,.10);--line-strong:rgba(42,28,30,.18);
  --ink:#2A1C1E;--muted:#6A5A58;--faint:#857573;
  --wine:#7A2331;--wine-deep:#4A1320;--wine-soft:#F5E6E4;
  --gold:#93702C;--gold-bright:#CDA552;--gold-soft:#F4ECDA;
  --rose:#B3382C;
  --dusk-1:#4A1A33;--dusk-2:#A3566A;--dusk-3:#E9B48F;
  --night-1:#170A14;--night-2:#381530;
  --on-dark:#F6F3EC;--on-dark-muted:rgba(246,243,236,.74);
  --serif:'EB Garamond','Iowan Old Style',Palatino,Georgia,serif;
  --sans:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;
  --shadow-1:0 0 0 1px rgba(42,28,30,.04),0 1px 2px rgba(42,28,30,.05),0 4px 14px -4px rgba(42,28,30,.08);
  --shadow-phone:0 2px 4px rgba(28,13,18,.10),0 30px 60px -20px rgba(28,13,18,.45);
  --wrap:1120px;--pad:24px;--header-h:68px;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--sans);font-size:17px;line-height:1.6;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
img{max-width:100%;display:block}
a{color:var(--wine);text-underline-offset:3px}
a:hover{color:var(--wine-deep)}
:focus-visible{outline:2px solid var(--gold-bright);outline-offset:3px;border-radius:4px}
h1,h2,h3{font-family:var(--serif);font-weight:500;line-height:1.12;letter-spacing:-.01em;margin:0;text-wrap:balance}
p{margin:0}
.wrap{width:100%;max-width:var(--wrap);margin:0 auto;padding:0 var(--pad)}
.skip{position:absolute;left:-999px;top:8px;background:var(--surface);color:var(--ink);padding:8px 14px;border-radius:8px;z-index:100}
.skip:focus{left:8px}

/* Header */
.site-header{position:absolute;top:0;left:0;right:0;z-index:20;height:var(--header-h)}
.site-header .wrap{height:100%;display:flex;align-items:center;justify-content:space-between;gap:12px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:inherit;font-family:var(--serif);font-size:22px;font-weight:500;white-space:nowrap}
.brand img{width:34px;height:34px;border-radius:9px;box-shadow:0 0 0 1px rgba(255,255,255,.14),0 2px 8px rgba(28,13,18,.3)}
.nav{display:flex;gap:4px}
.nav a{font-size:15px;text-decoration:none;color:inherit;padding:10px 12px;border-radius:999px;opacity:.86;white-space:nowrap}
.nav a:hover,.nav a[aria-current=page]{opacity:1;background:rgba(127,127,127,.14)}
.on-dark{color:var(--on-dark)}
.page .site-header{position:static;border-bottom:1px solid var(--line);background:var(--bg)}

/* Screens on the home page */
.screen{min-height:100vh;min-height:100svh;display:flex;align-items:center;position:relative;overflow:hidden}

/* 1. Hero */
.hero{background:linear-gradient(180deg,var(--dusk-1) 0%,#7A3550 38%,var(--dusk-2) 62%,var(--dusk-3) 100%);color:var(--on-dark);padding:calc(var(--header-h) + 24px) 0 0}
.hero::before{content:"";position:absolute;right:8%;bottom:16%;width:520px;height:520px;border-radius:50%;background:radial-gradient(circle,rgba(255,247,224,.5) 0%,rgba(255,247,224,.16) 30%,rgba(255,247,224,0) 65%);pointer-events:none}
.hero .wrap{display:grid;grid-template-columns:1.1fr .9fr;gap:48px;align-items:center;position:relative}
.eyebrow{font-size:14px;letter-spacing:.14em;text-transform:uppercase;color:var(--on-dark-muted)}
.hero h1{font-size:clamp(52px,7.4vw,104px);margin:18px 0 22px;letter-spacing:-.02em}
.hero h1 span{display:block}
.lede{font-family:var(--serif);font-size:clamp(21px,2.1vw,26px);line-height:1.42;max-width:30em;color:rgba(246,243,236,.92)}
.stores{display:flex;flex-wrap:wrap;gap:12px;margin-top:34px}
.store{display:flex;align-items:center;gap:12px;min-width:196px;padding:11px 18px 11px 14px;border-radius:14px;background:rgba(23,10,20,.5);border:1px solid rgba(246,243,236,.26);color:var(--on-dark);cursor:default;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.store svg{width:26px;height:26px;flex:none;opacity:.9}
.store small{display:block;font-size:11.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--gold-bright);line-height:1.3}
.store strong{display:block;font-size:17px;font-weight:600;line-height:1.25}
.fineprint{margin-top:18px;font-size:14.5px;color:var(--on-dark)}
.hero-phone{align-self:end;justify-self:center;margin-bottom:-90px}

/* Phone frame */
.phone{width:300px;max-width:100%;border-radius:46px;padding:9px;background:#150B10;box-shadow:var(--shadow-phone),inset 0 0 0 1px rgba(255,255,255,.10)}
.phone img{width:100%;height:auto;border-radius:38px;aspect-ratio:598/1300;object-fit:cover}
.phone.sm{width:240px;border-radius:40px 40px 0 0;padding:8px 8px 0;position:relative;box-shadow:inset 0 0 0 1px rgba(255,255,255,.10)}
.phone.sm img{border-radius:33px 33px 0 0;aspect-ratio:598/840;object-position:top}
.phone.sm::after{content:"";position:absolute;left:-40px;right:-40px;bottom:0;height:1px;background:var(--line-strong)}

/* 2. Watch, Read, Pray */
.moments{padding:52px 0}
.moments .wrap{display:block}
.section-head{text-align:center;max-width:720px;margin:0 auto 44px}
.section-head .eyebrow{color:var(--gold)}
.section-head h2{font-size:clamp(36px,4.6vw,58px);margin:14px 0 16px}
.section-head p{font-family:var(--serif);font-size:22px;line-height:1.45;color:var(--muted)}
.trio{display:grid;grid-template-columns:repeat(3,1fr);gap:32px}
.moment{display:flex;flex-direction:column;align-items:center;text-align:center}
.moment h3{font-size:32px;margin:24px 0 8px}
.moment h3 em{font-style:normal;color:var(--gold);font-size:.5em;letter-spacing:.14em;display:block;margin-bottom:6px;font-family:var(--sans);font-weight:600}
.moment p{color:var(--muted);max-width:19em}

/* 3. Promise */
.promise{background:var(--night-1) url('../img/art-evening.jpg') center/cover no-repeat;color:var(--on-dark);flex-direction:column;align-items:stretch}
.promise::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(23,10,20,.82) 0%,rgba(23,10,20,.62) 45%,rgba(23,10,20,.9) 100%)}
.promise-body{flex:1;display:flex;align-items:center;padding:96px 0 56px;position:relative}
.promise h2{font-size:clamp(36px,4.6vw,58px);max-width:14em}
.promise .lede{margin-top:18px;max-width:28em}
.vows{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:44px 0 0;padding:0;list-style:none}
.vows li{padding:22px 22px 24px;border-radius:18px;background:rgba(23,10,20,.5);border:1px solid rgba(246,243,236,.16);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.vows h3{font-size:25px;margin-bottom:6px;color:#F3DFB0}
.vows p{font-size:16px;color:var(--on-dark-muted)}

/* Footer */
.site-footer{position:relative;font-size:14.5px;padding:26px 0 30px;border-top:1px solid var(--line);color:var(--muted)}
.promise .site-footer{border-top-color:rgba(246,243,236,.16);color:var(--on-dark-muted)}
.site-footer .wrap{display:flex;flex-wrap:wrap;gap:10px 24px;justify-content:space-between;align-items:center}
.site-footer nav{display:flex;flex-wrap:wrap;gap:6px 20px}
.site-footer a{color:inherit;text-decoration:none}
.site-footer a:hover{text-decoration:underline;color:inherit}

/* Document pages */
.doc{max-width:760px;margin:0 auto;padding:56px var(--pad) 88px}
.doc h1{font-size:clamp(38px,5.4vw,56px);margin-bottom:10px}
.doc .meta{color:var(--muted);margin-bottom:34px}
.doc h2{font-size:28px;margin:44px 0 12px}
.doc h3{font-size:22px;margin:28px 0 8px}
.doc p,.doc ul,.doc ol{margin:0 0 16px}
.doc ul,.doc ol{padding-left:22px}
.doc li{margin-bottom:8px}
.doc li::marker{color:var(--gold)}
.doc .intro{font-family:var(--serif);font-size:23px;line-height:1.45;color:var(--ink);margin-bottom:28px}
mark.todo{background:#FBF1DC;color:#6B4A0C;border:1px dashed #C99A3A;border-radius:5px;padding:0 5px;font-size:.92em;font-family:var(--sans)}
mark.todo a{color:inherit}
.card{background:var(--surface);border-radius:18px;box-shadow:var(--shadow-1);padding:24px 26px;margin:0 0 20px}
.card h2,.card h3{margin-top:0}
.card > :last-child,.note > :last-child{margin-bottom:0}
.steps{counter-reset:s;list-style:none;padding:0}
.steps li{counter-increment:s;position:relative;padding-left:46px;margin-bottom:14px;min-height:32px}
.steps li::before{content:counter(s);position:absolute;left:0;top:-2px;width:32px;height:32px;border-radius:50%;background:var(--wine);color:#fff;font-weight:600;font-size:15px;display:grid;place-items:center}
.note{background:var(--gold-soft);border-radius:14px;padding:16px 20px;margin:0 0 20px}
.btn{display:inline-block;background:var(--wine);color:#fff;text-decoration:none;font-weight:600;padding:12px 22px;border-radius:999px;box-shadow:0 1px 1px rgba(74,19,32,.25),0 8px 20px -8px rgba(122,35,49,.55)}
.btn:hover{background:var(--wine-deep);color:#fff}
details{border-top:1px solid var(--line);padding:16px 0}
details:last-of-type{border-bottom:1px solid var(--line)}
summary{font-family:var(--serif);font-size:22px;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:16px;align-items:baseline}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";font-family:var(--sans);color:var(--gold);font-size:22px;flex:none}
details[open] summary::after{content:"–"}
details p{margin:10px 0 0;color:var(--muted)}

/* Narrow screens */
@media (max-width:900px){
  .hero{padding-top:calc(var(--header-h) + 28px)}
  .hero .wrap{grid-template-columns:1fr;gap:36px;text-align:center}
  .hero::before{right:50%;transform:translateX(50%);bottom:4%;width:440px;height:440px}
  .lede{margin-left:auto;margin-right:auto}
  .stores{justify-content:center}
  .store{text-align:left}
  .hero-phone{margin-bottom:-120px}
  .phone{width:264px;border-radius:42px}
  .phone img{border-radius:34px}
  .moments{padding:52px 0}
  .trio{grid-template-columns:1fr;gap:56px}
  .vows{grid-template-columns:1fr;gap:12px;margin-top:32px}
  .promise-body{padding:80px 0 40px}
  .site-footer .wrap{justify-content:center;text-align:center}
  .site-footer nav{justify-content:center}
}
@media (max-width:480px){
  :root{--pad:20px;--header-h:60px}
  body{font-size:16.5px}
  .brand{font-size:20px;gap:8px}
  .brand img{width:30px;height:30px}
  .nav a{font-size:14px;padding:8px 8px}
  .store{min-width:0;flex:1 1 150px;padding:10px 12px;gap:9px}
  .store svg{width:22px;height:22px}
  .store strong{font-size:15.5px}
  .store small{font-size:10.5px}
  .doc{padding-top:36px}
  .card{padding:20px}
}
@media (max-width:359px){.brand span{display:none}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
@media print{.site-header,.site-footer{display:none}.doc{padding:0}}
