@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');

    :root {
      --navy:#20324a;
      --navy-2:#314c68;
      --blue:#6787a6;
      --cream:#fbf7ef;
      --white:#ffffff;
      --rose:#ead9d6;
      --sage:#dce7df;
      --gold:#b08b52;
      --ink:#2d3540;
      --muted:#66717e;
      --line:rgba(32,50,74,.12);
      --shadow:0 22px 55px rgba(32,50,74,.14);
    }

    * { box-sizing:border-box; }
    html { scroll-behavior:smooth; }
    body {
      margin:0;
      min-height:100vh;
      color:var(--ink);
      background:
        radial-gradient(circle at 10% 0%, rgba(234,217,214,.65), transparent 34%),
        radial-gradient(circle at 100% 100%, rgba(220,231,223,.70), transparent 35%),
        linear-gradient(145deg,#f8f3ea 0%,#fdfbf7 52%,#eef3f4 100%);
      font-family:"DM Sans", Arial, sans-serif;
    }

    button, textarea { font:inherit; }
    button { -webkit-tap-highlight-color:transparent; }

    .app-shell {
      width:min(900px, calc(100% - 28px));
      margin:0 auto;
      padding:28px 0 48px;
    }

    .topbar {
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:14px;
      margin:0 2px 18px;
    }

    .brand {
      display:flex;
      align-items:center;
      gap:10px;
      color:var(--navy);
      font-weight:700;
      letter-spacing:.02em;
    }

    .brand-mark {
      width:38px;
      height:38px;
      border-radius:50%;
      display:grid;
      place-items:center;
      background:var(--navy);
      color:#fff;
      box-shadow:0 8px 20px rgba(32,50,74,.18);
      font-family:"Libre Baskerville",serif;
      font-size:18px;
    }

    .date-pill {
      padding:8px 12px;
      border:1px solid var(--line);
      border-radius:999px;
      background:rgba(255,255,255,.7);
      color:var(--muted);
      font-size:13px;
      white-space:nowrap;
    }

    .hero {
      position:relative;
      overflow:hidden;
      padding:46px 42px 38px;
      text-align:center;
      background:rgba(255,255,255,.86);
      border:1px solid var(--line);
      border-radius:30px;
      box-shadow:var(--shadow);
      backdrop-filter:blur(8px);
    }

    .hero::before,
    .hero::after {
      content:"";
      position:absolute;
      border-radius:50%;
      pointer-events:none;
    }

    .hero::before {
      width:240px;
      height:240px;
      left:-130px;
      top:-120px;
      background:rgba(176,139,82,.11);
    }

    .hero::after {
      width:260px;
      height:260px;
      right:-140px;
      bottom:-160px;
      background:rgba(103,135,166,.12);
    }

    .eyebrow {
      position:relative;
      z-index:1;
      margin:0 0 11px;
      color:var(--gold);
      font-size:12px;
      font-weight:700;
      letter-spacing:.18em;
      text-transform:uppercase;
    }

    h1 {
      position:relative;
      z-index:1;
      margin:0;
      color:var(--navy);
      font-family:"Libre Baskerville",Georgia,serif;
      font-size:clamp(38px,7vw,62px);
      line-height:1.12;
      letter-spacing:-.03em;
    }

    .subtitle {
      position:relative;
      z-index:1;
      max-width:620px;
      margin:16px auto 0;
      color:var(--muted);
      font-size:16px;
      line-height:1.7;
    }

    .verse-card {
      position:relative;
      z-index:1;
      max-width:735px;
      margin:30px auto 0;
      padding:30px 30px 28px;
      background:linear-gradient(145deg,#fffdf9,#f8f4ec);
      border:1px solid rgba(176,139,82,.25);
      border-radius:22px;
    }

    .label {
      margin:0 0 13px;
      color:var(--blue);
      font-size:11px;
      font-weight:700;
      letter-spacing:.16em;
      text-transform:uppercase;
    }

    blockquote {
      margin:0;
      color:var(--navy);
      font-family:"Libre Baskerville",Georgia,serif;
      font-size:clamp(20px,3vw,28px);
      line-height:1.62;
    }

    .reference {
      margin:16px 0 0;
      color:var(--gold);
      font-weight:700;
      font-size:14px;
    }

    .content-grid {
      display:grid;
      grid-template-columns:1.15fr .85fr;
      gap:16px;
      margin-top:18px;
      text-align:left;
    }

    .panel {
      padding:23px;
      border:1px solid var(--line);
      border-radius:19px;
      background:rgba(255,255,255,.83);
    }

    .panel.full { grid-column:1/-1; }
    .panel.step { background:var(--sage); }
    .panel.prayer { background:var(--rose); }

    .panel h2 {
      margin:0 0 10px;
      color:var(--navy);
      font-family:"Libre Baskerville",Georgia,serif;
      font-size:20px;
    }

    .panel p {
      margin:0;
      color:#39434e;
      line-height:1.7;
      font-size:15px;
    }

    .actions {
      position:relative;
      z-index:1;
      display:flex;
      flex-wrap:wrap;
      justify-content:center;
      gap:10px;
      margin-top:24px;
    }

    .btn {
      border:1px solid var(--line);
      border-radius:999px;
      padding:11px 16px;
      cursor:pointer;
      transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
      background:#fff;
      color:var(--navy);
      font-weight:700;
      font-size:13px;
    }

    .btn:hover {
      transform:translateY(-1px);
      box-shadow:0 8px 18px rgba(32,50,74,.10);
    }

    .btn.primary {
      background:var(--navy);
      color:#fff;
      border-color:var(--navy);
    }

    .btn.facebook {
      background:#e8eef7;
      color:#244b86;
      border-color:rgba(36,75,134,.14);
    }

    .journal {
      margin-top:18px;
      padding:28px;
      border:1px solid var(--line);
      border-radius:24px;
      background:rgba(255,255,255,.82);
      box-shadow:0 12px 35px rgba(32,50,74,.08);
    }

    .journal-head {
      display:flex;
      align-items:flex-start;
      justify-content:space-between;
      gap:16px;
      margin-bottom:12px;
    }

    .journal h2 {
      margin:0 0 6px;
      color:var(--navy);
      font-family:"Libre Baskerville",Georgia,serif;
      font-size:23px;
    }

    .journal p {
      margin:0;
      color:var(--muted);
      font-size:13px;
      line-height:1.55;
    }

    textarea {
      width:100%;
      min-height:145px;
      resize:vertical;
      margin-top:14px;
      padding:16px;
      color:var(--ink);
      background:#fffdfa;
      border:1px solid rgba(32,50,74,.14);
      border-radius:15px;
      outline:none;
      line-height:1.6;
    }

    textarea:focus {
      border-color:rgba(49,76,104,.5);
      box-shadow:0 0 0 4px rgba(103,135,166,.09);
    }

    .journal-footer {
      display:flex;
      justify-content:space-between;
      gap:14px;
      align-items:center;
      margin-top:10px;
    }

    .save-status {
      min-height:18px;
      color:var(--muted);
      font-size:12px;
    }

    footer {
      padding:20px 10px 0;
      text-align:center;
      color:var(--muted);
      font-size:11px;
      line-height:1.6;
    }

    .tiny-divider {
      width:70px;
      height:1px;
      margin:15px auto;
      background:rgba(176,139,82,.45);
    }

    .toast {
      position:fixed;
      left:50%;
      bottom:24px;
      z-index:30;
      transform:translate(-50%,20px);
      opacity:0;
      pointer-events:none;
      padding:10px 15px;
      border-radius:999px;
      color:#fff;
      background:var(--navy);
      box-shadow:0 10px 25px rgba(32,50,74,.25);
      font-size:13px;
      transition:.2s ease;
    }

    .toast.show {
      transform:translate(-50%,0);
      opacity:1;
    }

    @media (max-width:700px) {
      .app-shell {
        width:min(100% - 18px,900px);
        padding-top:14px;
      }

      .topbar {
        margin:0 5px 12px;
      }

      .brand span:last-child {
        font-size:14px;
      }

      .date-pill {
        font-size:11px;
        padding:7px 9px;
      }

      .hero {
        padding:34px 16px 26px;
        border-radius:22px;
      }

      .subtitle {
        font-size:14px;
      }

      .verse-card {
        padding:23px 17px 21px;
      }

      .content-grid {
        grid-template-columns:1fr;
        gap:12px;
      }

      .panel,
      .panel.full {
        grid-column:1;
        padding:19px 17px;
      }

      .actions {
        gap:8px;
      }

      .btn {
        flex:1 1 calc(50% - 8px);
        text-align:center;
      }

      .journal {
        padding:21px 16px;
        border-radius:20px;
      }

      .journal-head,
      .journal-footer {
        display:block;
      }

      .journal-footer .btn {
        width:100%;
        margin-top:8px;
      }

      .save-status {
        margin-top:7px;
      }
    }



.brand {
  display:flex;
  align-items:center;
  gap:12px;
}

.brand-mark {
  width:46px;
  height:46px;
  border-radius:50%;
  overflow:hidden;
  display:block;
  box-shadow:0 8px 20px rgba(32,50,74,.18);
  background:#d8e0e7;
  border:2px solid rgba(255,255,255,.9);
}

.brand-photo {
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

.brand-copy {
  display:flex;
  flex-direction:column;
  line-height:1.15;
}

.brand-title {
  color:var(--navy);
  font-weight:700;
  letter-spacing:.02em;
}

.brand-author {
  margin-top:2px;
  color:var(--muted);
  font-size:12px;
  font-weight:500;
}

.author-card {
  position:relative;
  z-index:1;
  display:inline-flex;
  align-items:center;
  gap:12px;
  margin-top:18px;
  padding:10px 14px 10px 10px;
  border:1px solid var(--line);
  border-radius:999px;
  background:rgba(255,255,255,.72);
  box-shadow:0 10px 24px rgba(32,50,74,.08);
}

.author-photo {
  width:46px;
  height:46px;
  border-radius:50%;
  object-fit:cover;
  display:block;
  border:2px solid rgba(255,255,255,.95);
}

.author-copy {
  text-align:left;
}

.author-label {
  margin:0;
  color:var(--blue);
  font-size:11px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.author-name {
  margin:3px 0 0;
  color:var(--navy);
  font-family:"Libre Baskerville", Georgia, serif;
  font-size:16px;
  font-weight:700;
}

@media (max-width:700px) {
  .brand-mark {
    width:42px;
    height:42px;
  }

  .brand-title {
    font-size:14px;
  }

  .brand-author {
    font-size:11px;
  }

  .author-card {
    display:flex;
    width:100%;
    justify-content:center;
    border-radius:18px;
    padding:11px 12px;
  }

  .author-photo {
    width:44px;
    height:44px;
  }

  .author-name {
    font-size:15px;
  }
}



/* Christina Grant branding refinement v2 */
.brand-mark {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  border-radius: 50%;
  overflow: hidden;
  display: block;
  box-shadow: 0 8px 20px rgba(32,50,74,.18);
  background: #d8e0e7;
  border: 2px solid rgba(255,255,255,.95);
}

.brand-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-title {
  color: var(--navy);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .01em;
}

.brand-author {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.hero-byline {
  position: relative;
  z-index: 1;
  margin: 10px 0 0;
  color: var(--gold);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 14px;
  font-style: italic;
}

.author-card,
.author-photo,
.author-copy,
.author-label,
.author-name {
  display: none !important;
}

@media (max-width:700px) {
  .brand-mark {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
  }

  .brand-title {
    font-size: 14px;
  }

  .brand-author {
    font-size: 11px;
  }

  .hero-byline {
    font-size: 13px;
  }
}


/* Faith logo layout fix */
.topbar {
  position: relative;
  z-index: 10;
  min-height: 68px;
  margin-bottom: 20px;
  overflow: visible;
}

.brand {
  position: relative;
  z-index: 11;
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.faith-logo-wrap {
  position: relative;
  flex: 0 0 64px;
  width: 64px !important;
  height: 64px !important;
  min-width: 64px !important;
  max-width: 64px !important;
  min-height: 64px !important;
  max-height: 64px !important;
  overflow: hidden !important;
  border-radius: 14px;
  border: 2px solid rgba(255,255,255,.96);
  background: #d8d4ca;
  box-shadow: 0 8px 20px rgba(32,50,74,.16);
}

.faith-logo-img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 64px !important;
  height: 64px !important;
  min-width: 64px !important;
  max-width: 64px !important;
  min-height: 64px !important;
  max-height: 64px !important;
  object-fit: cover !important;
  object-position: center center !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.hero {
  position: relative;
  z-index: 1;
}

@media (max-width:700px) {
  .topbar {
    min-height: 58px;
    margin-bottom: 14px;
  }

  .faith-logo-wrap {
    flex-basis: 54px;
    width: 54px !important;
    height: 54px !important;
    min-width: 54px !important;
    max-width: 54px !important;
    min-height: 54px !important;
    max-height: 54px !important;
    border-radius: 12px;
  }

  .faith-logo-img {
    width: 54px !important;
    height: 54px !important;
    min-width: 54px !important;
    max-width: 54px !important;
    min-height: 54px !important;
    max-height: 54px !important;
  }

  .brand-title {
    font-size: 14px;
  }

  .brand-author {
    font-size: 11px;
  }
}
