.story-page{
  --story-navy:#08283d;
  --story-ink:#122233;
  --story-cream:#fbfaf7;
  --story-ivory:#f7f6f2;
  --story-mist:#e6e7e3;
  --story-gold:#d9c89a;
  --story-gold-deep:#c9a54d;
  --story-blue:#6f7c86;
  --story-olive:#8a946e;
  --story-accent:#c9a54d;
  --story-soft:#eef0ea;
  --story-shadow:0 28px 76px rgba(8,40,61,.13);
  overflow:hidden;
  background:linear-gradient(180deg,#fbfaf7 0%,#f7f6f2 48%,#fff 100%);
  color:var(--story-ink);
}

.bible-page{
  --story-navy:#08283d;
  --story-accent:#b9a7c8;
  --story-accent-2:#d9c89a;
  --story-soft:#f0edf4;
  --story-soft-2:#e9ece7;
  --story-panel:#0b2d43;
}

.memo-page{
  --story-navy:#122233;
  --story-accent:#d9c89a;
  --story-accent-2:#8a946e;
  --story-soft:#f3eddf;
  --story-soft-2:#e8ece6;
  --story-panel:#1c1f20;
}

.story-page .eyebrow{
  color:#b99a4d;
  letter-spacing:.22em;
}

.story-hero{
  position:relative;
  min-height:650px;
  padding:84px 8vw 76px;
  display:grid;
  grid-template-columns:minmax(420px,.95fr) minmax(440px,1fr);
  gap:70px;
  align-items:center;
  overflow:hidden;
  background:
    radial-gradient(circle at -8% 78%,rgba(111,124,134,.18),transparent 29%),
    radial-gradient(circle at 92% 16%,rgba(138,148,110,.18),transparent 27%),
    linear-gradient(135deg,#fff,var(--story-ivory));
}

.bible-page .story-hero{
  background:
    radial-gradient(circle at -8% 78%,rgba(185,167,200,.24),transparent 30%),
    radial-gradient(circle at 92% 16%,rgba(217,200,154,.22),transparent 27%),
    linear-gradient(135deg,#fff,#fbfaf7);
}

.memo-page .story-hero{
  background:
    radial-gradient(circle at -8% 78%,rgba(217,200,154,.2),transparent 30%),
    radial-gradient(circle at 92% 16%,rgba(138,148,110,.2),transparent 27%),
    linear-gradient(135deg,#fff,#fbfaf7);
}

.story-hero::before,
.story-hero::after{
  content:"";
  position:absolute;
  border-radius:50%;
  z-index:0;
}

.story-hero::before{
  width:360px;
  height:260px;
  right:6vw;
  top:68px;
  background:var(--story-accent-2);
  opacity:.38;
}

.story-hero::after{
  width:270px;
  height:195px;
  right:22vw;
  top:128px;
  background:var(--story-accent);
  opacity:.35;
  mix-blend-mode:multiply;
}

.story-line{
  position:absolute;
  right:-4vw;
  top:294px;
  width:52vw;
  height:170px;
  pointer-events:none;
  z-index:0;
}

.story-line::before{
  content:"";
  position:absolute;
  inset:20px 0 0 0;
  border-top:2px solid rgba(201,165,77,.58);
  border-radius:50% 0 0 0;
  transform:rotate(-7deg);
}

.story-dots{
  position:absolute;
  left:47%;
  top:116px;
  width:185px;
  height:92px;
  background-image:radial-gradient(#c9a54d 1.7px,transparent 1.7px);
  background-size:18px 18px;
  opacity:.55;
  z-index:0;
}

.story-hero-copy,
.story-hero-visual{
  position:relative;
  z-index:2;
}

.story-brand-pill{
  display:inline-flex;
  align-items:center;
  gap:12px;
  margin-bottom:24px;
  padding:10px 16px 10px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.82);
  border:1px solid rgba(28,31,32,.08);
  box-shadow:0 14px 34px rgba(18,34,51,.07);
  color:var(--story-navy);
  font-weight:800;
}

.story-brand-mark{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:var(--story-navy);
  color:#fff;
  border:1px solid rgba(217,200,154,.5);
}

.story-brand-mark svg{
  width:24px;
  height:24px;
  stroke:currentColor;
  fill:none;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.story-hero h1{
  max-width:770px;
  margin:0 0 24px;
  font-family:var(--serif);
  font-size:clamp(54px,6.1vw,100px);
  line-height:.96;
  letter-spacing:-.055em;
  font-weight:400;
  color:var(--charcoal);
}

.story-hero h1 em{
  color:#2d5976;
  font-style:italic;
}

.bible-page .story-hero h1 em{color:#6f5e82;}
.memo-page .story-hero h1 em{color:#6b7147;}

.story-hero .lede{
  max-width:690px;
  margin:0 0 32px;
  color:#42515f;
  font-size:clamp(18px,1.45vw,22px);
  line-height:1.62;
  font-weight:500;
}

.story-actions,
.story-hero-points{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  align-items:center;
}

.story-actions .btn{
  min-height:56px;
  border-radius:14px;
  padding:0 24px;
}

.story-primary{
  background:linear-gradient(135deg,var(--story-gold),var(--story-gold-deep));
  color:#17212a;
  box-shadow:0 16px 34px rgba(201,165,77,.22);
}

.story-outline{
  background:#fff;
  color:var(--story-navy);
  border-color:rgba(28,31,32,.14);
}

.story-hero-points{
  margin-top:30px;
}

.story-hero-points span{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:0 15px;
  border-radius:999px;
  background:rgba(255,255,255,.72);
  border:1px solid rgba(28,31,32,.08);
  color:var(--story-navy);
  font-size:13px;
  font-weight:800;
}

.story-visual-shell{
  position:relative;
  min-height:540px;
  display:grid;
  place-items:center;
}

.story-phone{
  width:min(360px,88vw);
  min-height:560px;
  padding:22px 18px;
  border:12px solid #15191d;
  border-radius:44px;
  background:#f8f3ea;
  box-shadow:var(--story-shadow);
  transform:rotate(2deg);
  z-index:2;
}

.memo-page .story-phone{transform:rotate(-2deg);}

.story-phone-top{
  display:flex;
  align-items:center;
  gap:10px;
  padding-bottom:14px;
  border-bottom:1px solid rgba(28,31,32,.1);
}

.story-avatar{
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:var(--story-navy);
  color:#fff;
  border:1px solid rgba(217,200,154,.55);
}

.story-avatar svg{
  width:22px;
  height:22px;
  stroke:currentColor;
  fill:none;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.story-phone-top strong{
  display:block;
  color:var(--story-navy);
  font-size:14px;
  line-height:1.1;
}

.story-phone-top small{
  display:block;
  color:#6b7147;
  font-size:11px;
  font-weight:800;
}

.story-bubble{
  width:82%;
  margin:18px 0 0;
  padding:13px 14px;
  border-radius:16px 16px 16px 4px;
  background:#fff;
  box-shadow:0 8px 22px rgba(18,34,51,.07);
  color:#243546;
  font-size:13px;
  line-height:1.4;
  font-weight:600;
}

.story-bubble.user{
  margin-left:auto;
  border-radius:16px 16px 4px 16px;
  background:var(--story-soft-2);
}

.story-feature-card,
.story-list-card,
.story-note-card{
  margin-top:16px;
  padding:16px;
  border-radius:20px;
  background:#fff;
  box-shadow:0 10px 28px rgba(18,34,51,.08);
  border:1px solid rgba(28,31,32,.06);
}

.story-feature-card strong,
.story-list-card strong,
.story-note-card strong{
  display:block;
  margin-bottom:7px;
  color:var(--story-navy);
  font-size:13px;
}

.story-feature-card p,
.story-list-card p,
.story-note-card p{
  margin:0;
  color:#52606f;
  font-size:12px;
  line-height:1.48;
  font-weight:600;
}

.story-check-list{
  display:grid;
  gap:9px;
  margin-top:10px;
}

.story-check-list span{
  display:flex;
  align-items:center;
  gap:8px;
  color:#42515f;
  font-size:12px;
  font-weight:700;
}

.story-check-list span::before{
  content:"";
  width:14px;
  height:14px;
  border-radius:4px;
  background:var(--story-soft-2);
  border:1px solid rgba(28,31,32,.12);
}

.story-check-list .done::before{
  background:var(--story-accent-2);
  box-shadow:inset 0 0 0 3px #fff;
}

.memo-wave{
  display:flex;
  align-items:center;
  gap:5px;
  height:34px;
  margin:10px 0 4px;
}

.memo-wave span{
  width:5px;
  border-radius:999px;
  background:linear-gradient(180deg,var(--story-gold),var(--story-gold-deep));
}
.memo-wave span:nth-child(1){height:12px}.memo-wave span:nth-child(2){height:24px}.memo-wave span:nth-child(3){height:18px}.memo-wave span:nth-child(4){height:30px}.memo-wave span:nth-child(5){height:16px}.memo-wave span:nth-child(6){height:25px}.memo-wave span:nth-child(7){height:13px}

.story-floating-card{
  position:absolute;
  z-index:3;
  width:235px;
  padding:20px;
  border-radius:24px;
  background:#fff;
  box-shadow:var(--story-shadow);
  border:1px solid rgba(28,31,32,.08);
}

.story-floating-card strong{
  display:block;
  margin-bottom:7px;
  color:var(--story-navy);
  font-size:15px;
}

.story-floating-card p{
  margin:0;
  color:#52606f;
  font-size:13px;
  line-height:1.45;
  font-weight:600;
}

.story-floating-card.left{left:0;bottom:74px;}
.story-floating-card.right{right:0;top:62px;background:var(--story-panel);color:#fff;}
.story-floating-card.right strong,
.story-floating-card.right p{color:#fff;}

.story-mini-icon{
  width:48px;
  height:48px;
  margin-bottom:12px;
  display:grid;
  place-items:center;
  border-radius:16px;
  background:rgba(217,200,154,.25);
  color:var(--story-navy);
}

.story-floating-card.right .story-mini-icon{
  background:rgba(255,255,255,.1);
  color:#fff;
}

.story-mini-icon svg{
  width:28px;
  height:28px;
  stroke:currentColor;
  fill:none;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.story-metrics{
  position:relative;
  z-index:3;
  margin:-32px 8vw 70px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.story-metric{
  padding:28px;
  border-radius:26px;
  background:#fff;
  border:1px solid rgba(28,31,32,.08);
  box-shadow:0 16px 42px rgba(18,34,51,.07);
}

.story-metric strong{
  display:block;
  margin-bottom:8px;
  color:#b99a4d;
  font-size:14px;
  letter-spacing:.18em;
}

.story-metric span{
  display:block;
  color:var(--story-navy);
  font-size:18px;
  line-height:1.35;
  font-weight:800;
}

.story-section{
  padding:64px 8vw;
}

.story-split{
  display:grid;
  grid-template-columns:minmax(360px,.92fr) minmax(420px,1.08fr);
  gap:54px;
  align-items:center;
}

.story-section h2,
.story-workflow h2,
.story-impact h2{
  margin:0 0 22px;
  color:var(--charcoal);
  font-family:var(--serif);
  font-size:clamp(38px,4.4vw,64px);
  line-height:1.02;
  letter-spacing:-.04em;
  font-weight:400;
}

.story-section h2 em,
.story-workflow h2 em,
.story-impact h2 em{
  color:#2d5976;
  font-style:italic;
}

.bible-page .story-section h2 em,
.bible-page .story-workflow h2 em,
.bible-page .story-impact h2 em{color:#6f5e82;}
.memo-page .story-section h2 em,
.memo-page .story-workflow h2 em,
.memo-page .story-impact h2 em{color:#6b7147;}

.story-section p,
.story-workflow p,
.story-impact p{
  color:#435366;
  font-size:17px;
  line-height:1.7;
  font-weight:500;
}

.story-card-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:18px;
}

.story-info-card,
.story-step,
.story-context-card{
  position:relative;
  padding:28px;
  border-radius:26px;
  background:#fff;
  border:1px solid rgba(28,31,32,.08);
  box-shadow:0 16px 42px rgba(18,34,51,.06);
  overflow:hidden;
}

.story-info-card::before,
.story-context-card::before{
  content:"";
  position:absolute;
  right:-42px;
  top:-48px;
  width:120px;
  height:120px;
  border-radius:50%;
  background:rgba(217,200,154,.2);
}

.story-info-card.accent::before{background:rgba(138,148,110,.2);}
.bible-page .story-info-card.accent::before{background:rgba(185,167,200,.22);}

.story-soft-icon{
  position:relative;
  width:54px;
  height:54px;
  margin-bottom:18px;
  display:grid;
  place-items:center;
  border-radius:18px;
  background:var(--story-soft);
  color:var(--story-navy);
}

.story-soft-icon svg{
  width:30px;
  height:30px;
  stroke:currentColor;
  fill:none;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.story-info-card h3,
.story-step h3,
.story-context-card h3{
  position:relative;
  margin:0 0 10px;
  color:var(--story-navy);
  font-family:var(--sans);
  font-size:22px;
  line-height:1.15;
  font-weight:800;
}

.story-info-card p,
.story-step p,
.story-context-card p{
  position:relative;
  margin:0;
  font-size:14px;
  line-height:1.55;
}

.story-workflow{
  margin:30px 8vw 78px;
  padding:52px;
  border-radius:34px;
  background:
    radial-gradient(circle at 12% 100%,rgba(217,200,154,.18),transparent 24%),
    linear-gradient(135deg,var(--story-soft),#fff);
  border:1px solid rgba(28,31,32,.08);
}

.story-workflow-head{
  display:grid;
  grid-template-columns:1fr .8fr;
  gap:40px;
  align-items:end;
  margin-bottom:34px;
}

.story-workflow-head h2,
.story-workflow-head p{margin-bottom:0;}

.story-steps{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.story-step b{
  display:grid;
  place-items:center;
  width:36px;
  height:36px;
  margin-bottom:18px;
  border-radius:50%;
  background:var(--story-navy);
  color:#fff;
}

.story-context{
  padding:76px 8vw;
  background:linear-gradient(180deg,#fff,var(--story-ivory));
}

.story-context-head{
  max-width:790px;
  margin:0 auto 34px;
  text-align:center;
}

.story-context-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}

.story-impact{
  margin:20px 8vw 78px;
  padding:56px;
  border-radius:34px;
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:48px;
  align-items:center;
  color:#fff;
  background:
    radial-gradient(circle at 0 0,rgba(217,200,154,.22),transparent 30%),
    linear-gradient(135deg,var(--story-panel),#08283d);
  box-shadow:0 28px 76px rgba(8,40,61,.2);
}

.memo-page .story-impact{
  background:
    radial-gradient(circle at 0 0,rgba(217,200,154,.2),transparent 30%),
    linear-gradient(135deg,#1c1f20,#08283d);
}

.story-impact .eyebrow,
.story-impact h2,
.story-impact p{color:#fff;}
.story-impact h2 em{color:var(--story-gold);}

.story-impact-list{
  display:grid;
  gap:16px;
}

.story-impact-item{
  padding:20px;
  border-radius:20px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(217,200,154,.22);
}

.story-impact-item strong{
  display:block;
  margin-bottom:5px;
  color:#fff;
  font-size:16px;
}

.story-impact-item span{
  display:block;
  color:rgba(255,255,255,.78);
  font-size:14px;
  line-height:1.45;
}

.story-final-cta{
  position:relative;
  overflow:hidden;
}

.story-final-cta::after{
  content:"";
  position:absolute;
  right:-80px;
  bottom:-110px;
  width:280px;
  height:220px;
  border-radius:50%;
  background:rgba(217,200,154,.18);
}

@media(max-width:1120px){
  .story-hero,
  .story-split,
  .story-impact{
    grid-template-columns:1fr;
    gap:42px;
  }
  .story-hero{padding-top:66px;}
  .story-visual-shell{place-items:start center;}
  .story-floating-card.left{left:4vw;}
  .story-floating-card.right{right:4vw;}
  .story-metrics,
  .story-steps,
  .story-context-grid{grid-template-columns:1fr 1fr;}
  .story-workflow-head{grid-template-columns:1fr;}
}

@media(max-width:760px){
  .story-hero,
  .story-section,
  .story-context{padding-left:24px;padding-right:24px;}
  .story-hero{min-height:auto;padding-top:52px;}
  .story-hero h1{font-size:48px;}
  .story-actions .btn{width:100%;}
  .story-phone{width:min(100%,320px);min-height:auto;}
  .story-floating-card{position:relative;width:100%;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;margin-top:18px;}
  .story-metrics{grid-template-columns:1fr;margin:24px 24px 56px;}
  .story-card-grid,
  .story-steps,
  .story-context-grid{grid-template-columns:1fr;}
  .story-workflow,.story-impact{margin-left:24px;margin-right:24px;padding:32px 24px;border-radius:26px;}
}
