/* Discipleshift Library: design system (Covenant Blue) */
:root {
  --ink: #0F1B2D;
  --ink-2: #2A3547;
  --muted: #556072;
  --faint: #6B7586;
  --line: #E2E6EE;
  --line-2: #D3D9E4;
  --bg: #FFFFFF;
  --bg-2: #F4F6FB;
  --blue: #2447D6;
  --blue-dark: #1A34A3;
  --blue-soft: #E8EDFF;
  --blue-light: #8FA8FF;
  --echo: #B9C6F5;
  --clay: #86600F;
  --gold: #86600F;
  --gold-on-dark: #E2B84C;
  --dark: #0F1B2D;
  --dark-muted: #A9B2C3;
  --green: #34A853;
  --amber: #F5A623;
  --radius: 22px;
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --mono: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
}
* { 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(--font); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
img { max-width: 100%; }
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; }
p { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.center { text-align: center; }
.eyebrow { font-size: 14px; font-weight: 700; color: var(--gold); letter-spacing: 0.08em; text-transform: uppercase; }
.eyebrow.blue { color: var(--blue); }
.ico { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -0.2em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 24px; border-radius: 980px; border: 0; background: var(--blue); color: #fff; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; text-align: center; }
.btn.lg { min-height: 54px; padding: 0 28px; font-size: 17px; }
.btn.outline { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.outline:hover { background: var(--bg-2); color: var(--ink); }
.btn:hover { background: var(--blue-dark); color: #fff; }
.btn.secondary { background: var(--bg-2); color: var(--ink); }
.btn.secondary:hover { background: #EBEBEF; color: var(--ink); }
.btn.white { background: #fff; color: var(--ink); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.gold { background: var(--gold-on-dark); color: var(--dark); }
.btn.gold:hover { background: #EBC766; color: var(--dark); }
.btn.small { min-height: 36px; padding: 0 16px; font-size: 14px; }
.btn.block { display: flex; width: 100%; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.link-more::after { content: " ›"; }
.btn-danger { background: #FDECEC; color: #B3261E; }
.btn-danger:hover { background: #F9D9D7; color: #B3261E; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,0.86); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,0.08); }
.site-header .wrap { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand img { height: 24px; width: auto; display: block; }
.brand span { font-size: 13px; font-weight: 600; color: var(--muted); border-left: 1px solid var(--line); padding-left: 10px; }
.nav { display: flex; gap: 30px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--ink); }
.nav a.on { color: var(--blue); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 16px; font-size: 15px; font-weight: 500; }
.header-actions a.plain { color: var(--ink); }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: #fff; }
.mobile-nav a { display: block; padding: 14px 22px; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-nav.open { display: block; }
@media (max-width: 860px) {
  .nav, .header-actions .plain { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 480px) { .brand span { display: none; } .brand img { height: 17px; } }

/* Flash */
.flash { max-width: 1080px; margin: 16px auto 0; padding: 12px 18px; border-radius: 14px; font-size: 15px; }
.flash.ok { background: #E6F4EA; color: #1E6B34; }
.flash.err { background: #FDECEC; color: #B3261E; }
.flash.info { background: var(--blue-soft); color: var(--blue-dark); }
.page-pad { padding: 0 24px; }
.page-pad .flash { max-width: 1152px; margin: 16px auto 0; }

/* Sections */
.section { padding: 104px 22px; }
.section.tight { padding: 64px 22px; }
.section.alt { background: var(--bg-2); }
.section.black, .section.dark { background: var(--dark); color: #fff; }
.h-display { font-size: clamp(42px, 5.6vw, 70px); line-height: 1.04; font-weight: 800; letter-spacing: -0.035em; }
.h-1 { font-size: clamp(38px, 4.6vw, 58px); line-height: 1.05; font-weight: 800; letter-spacing: -0.035em; }
.h-2 { font-size: clamp(32px, 3.6vw, 46px); line-height: 1.08; font-weight: 800; letter-spacing: -0.03em; }
.h-3 { font-size: clamp(26px, 3vw, 34px); line-height: 1.12; font-weight: 800; letter-spacing: -0.025em; }
.lede { font-size: clamp(18px, 1.8vw, 21px); line-height: 1.5; color: var(--muted); }
.stack { display: flex; flex-direction: column; }
.row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.between { justify-content: space-between; }
.grid { display: grid; gap: 20px; }
.grid.cols-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.panel { background: var(--bg-2); border-radius: var(--radius); padding: 40px; }
.panel.white { background: #fff; }
@media (max-width: 600px) { .panel { padding: 28px; } .section { padding: 72px 20px; } }

/* Hero */
.hero { padding: 88px 22px 0; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; overflow: hidden; }
.hero .logo-big { width: min(440px, 82%); height: auto; margin-bottom: 10px; }
.hero .lede { max-width: 620px; }
.hero-shelf { margin-top: 56px; width: 100%; max-width: 1080px; display: flex; justify-content: center; align-items: flex-end; gap: 3%; }

/* Book cover */
.cover { position: relative; aspect-ratio: 3 / 4; border-radius: 10px; color: #fff; padding: 12%; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 24px 44px -18px rgba(15,27,45,0.45); text-align: left; overflow: hidden; }
.cover::before { content: ""; position: absolute; right: -30%; top: -22%; width: 90%; aspect-ratio: 1; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.22); }
.cover::after { content: ""; position: absolute; right: -8%; top: -6%; width: 48%; aspect-ratio: 1; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.22); }
.cover .c-label { font-size: 0.55em; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.8; position: relative; }
.cover .c-title { font-weight: 800; line-height: 1.06; letter-spacing: -0.02em; position: relative; }
.cover .c-mark { height: 0.42em; width: auto; margin-top: 0.7em; opacity: 0.92; display: block; }
.cover.xs { width: 44px; font-size: 6px; border-radius: 4px; padding: 6px; box-shadow: 0 8px 16px -8px rgba(0,0,0,0.4); }
.cover.xs .c-label, .cover.xs .c-mark { display: none; }
.cover.xs .c-title { font-size: 0; }
.cover.sm { width: 168px; font-size: 21px; }
.cover.md { width: 140px; font-size: 16px; }
.cover.lg { width: 230px; font-size: 28px; border-radius: 10px; box-shadow: 0 40px 80px -24px rgba(0,0,0,0.5); }
.hero-shelf .cover { font-size: clamp(13px, 1.9vw, 24px); }

/* Resource cards */
.card { background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; color: var(--ink); box-shadow: 0 1px 2px rgba(15,27,45,0.05), 0 0 0 1px var(--line); transition: box-shadow .2s ease, transform .2s ease; }
.card:hover { box-shadow: 0 18px 40px -18px rgba(15,27,45,0.3), 0 0 0 1px var(--line); }
.card:hover { color: var(--ink); }
.card:hover .cover { transform: translateY(-4px); }
.card .cover { transition: transform .25s ease; }
.card-art { position: relative; padding: 36px 0 0; display: flex; justify-content: center; background: var(--tint, var(--blue-soft)); }
.card-art .cover { border-radius: 10px 10px 0 0; box-shadow: 0 -10px 30px rgba(15,27,45,0.12); }
.card:hover .card-art .cover { transform: translateY(-4px); }
.card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }
.card-kicker { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; font-weight: 500; color: var(--muted); }
.card-kicker span { display: inline-flex; align-items: center; gap: 6px; }
.card-title { font-size: 20px; font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
.card-text { font-size: 15px; color: var(--muted); flex-grow: 1; }
.card-foot { display: flex; justify-content: space-between; align-items: center; font-size: 14px; padding-top: 14px; margin-top: 4px; border-top: 1px solid var(--line); }
.card-foot .go { font-weight: 600; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 980px; background: #fff; color: var(--ink); }
.pill.abs { position: absolute; top: 16px; left: 16px; z-index: 1; padding: 5px 11px; font-weight: 700; }
.pill.blue { background: var(--blue-soft); color: var(--blue-dark); }
.pill.green { background: #E6F4EA; color: #1E6B34; }
.pill.amber { background: #FFF4E5; color: #8A4B00; }
.pill.grey { background: var(--bg-2); color: var(--muted); }
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }

/* Library */
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { min-height: 40px; padding: 0 16px; border-radius: 980px; font-size: 14px; font-weight: 600; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.chip.on { background: var(--ink); color: #fff; }
.library-layout { display: flex; gap: 48px; align-items: flex-start; }
.library-side { flex: 0 0 180px; position: sticky; top: 88px; display: flex; flex-direction: column; gap: 26px; font-size: 15px; }
.library-side h4 { margin: 0 0 8px; font-size: 12px; font-weight: 600; color: var(--muted); }
.library-side a { display: block; padding: 4px 0; color: var(--ink); }
.library-side a.on { color: var(--blue); font-weight: 600; }
.library-main { flex: 1 1 auto; min-width: 0; }
@media (max-width: 860px) { .library-side { display: none; } }
.search { position: relative; display: flex; align-items: center; }
.search svg { position: absolute; left: 14px; }
.search input { width: 100%; height: 44px; padding: 0 16px 0 40px; border: 0; border-radius: 12px; font: inherit; font-size: 16px; background: var(--bg-2); color: var(--ink); }

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; color: var(--muted); }
.input, .field input[type=text], .field input[type=email], .field input[type=password], .field input[type=number], .field input[type=date], .field input[type=datetime-local], .field input[type=time], .field input[type=search], .field select, .field textarea {
  height: 44px; padding: 0 14px; border: 1px solid transparent; border-radius: 12px; font: inherit; font-size: 16px; background: var(--bg-2); color: var(--ink); font-weight: 400; }
.field textarea { height: auto; padding: 12px 14px; resize: vertical; line-height: 1.45; }
.field input:focus, .field select:focus, .field textarea:focus, .search input:focus { outline: none; border-color: var(--blue); background: #fff; }
.field .hint { font-weight: 400; color: var(--faint); font-size: 12px; }
.check { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 15px; color: var(--ink); }
.check input { width: 18px; height: 18px; accent-color: var(--blue); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.auth { max-width: 420px; margin: 0 auto; padding: 72px 22px 104px; display: flex; flex-direction: column; gap: 18px; }

/* Tables (admin + account) */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 12px; font-weight: 500; color: var(--muted); padding: 10px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px 8px; border-bottom: 1px solid #F0F0F2; vertical-align: middle; }
.table tr.sel td { background: #F2F5FE; }
.table-wrap { overflow-x: auto; }
.t-title { font-weight: 600; }
.t-sub { font-size: 12px; color: var(--muted); }

/* Footer */
.site-footer { background: var(--dark); color: var(--dark-muted); font-size: 14px; line-height: 1.6; }
.site-footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; padding: 64px 24px 40px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.site-footer h5 { margin: 0 0 10px; font-size: 14px; font-weight: 700; color: #fff; }
.site-footer a { display: block; color: var(--dark-muted); padding: 4px 0; }
.site-footer a:hover { color: #fff; }
.site-footer .base { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 22px 24px 32px; font-size: 13px; }

/* Resource page */
.res-top { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.res-art { flex: 1 1 420px; background: var(--bg-2); border-radius: 28px; min-height: 480px; display: flex; align-items: center; justify-content: center; }
.res-info { flex: 1 1 400px; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.stats { display: flex; gap: 32px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.stats strong { display: block; font-size: 21px; color: var(--ink); letter-spacing: -0.02em; }
.buybox { background: var(--bg-2); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.lessons { list-style: none; margin: 0; padding: 0; }
.lessons li { display: flex; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.lessons .n { flex: 0 0 28px; font-size: 14px; font-weight: 600; color: var(--muted); }
.lessons button { border: 0; background: transparent; cursor: pointer; padding: 0; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.ticks li { display: flex; gap: 10px; }
.ticks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; background: var(--blue); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4 4 10-10'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4 4 10-10'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (max-width: 600px) { .res-art { min-height: 380px; } }

/* Pricing */
.toggle { display: inline-flex; background: var(--bg-2); border-radius: 980px; padding: 4px; }
.toggle button { min-height: 36px; padding: 0 20px; border: 0; border-radius: 980px; background: transparent; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; color: var(--ink); }
.toggle button.on { background: #fff; font-weight: 600; box-shadow: 0 1px 4px rgba(0,0,0,0.12); }
.plan { border-radius: 28px; padding: 40px 32px; display: flex; flex-direction: column; gap: 14px; background: var(--bg-2); }
.plan.dark { background: var(--dark); color: #fff; }
.plan .price { font-size: 40px; font-weight: 700; letter-spacing: -0.03em; padding-top: 8px; }
.plan .price small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan.dark .price small, .plan.dark .muted { color: #A1A1A6; }
.plan ul { margin: 0; padding: 12px 0 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; flex-grow: 1; border-top: 1px solid var(--line-2); }
.plan.dark ul { border-top-color: #333336; }
details.faq { border-bottom: 1px solid var(--line-2); padding: 20px 0; }
details.faq summary { font-size: 19px; font-weight: 600; cursor: pointer; }
details.faq p { margin-top: 10px; color: var(--muted); }

/* Account */
.acct-bg { background: var(--bg-2); min-height: 70vh; }
.tile { background: #fff; border-radius: 22px; padding: 22px; }
.progress { height: 4px; background: var(--line); border-radius: 980px; overflow: hidden; }
.progress > span { display: block; height: 4px; background: var(--blue); }

/* Prose */
.prose { max-width: 720px; margin: 0 auto; }
.prose p { margin: 0 0 18px; font-size: 18px; line-height: 1.6; color: var(--ink-2); }

/* Admin */
.admin { display: flex; min-height: 100vh; background: var(--bg-2); font-size: 15px; }
.admin-side { flex: 0 0 232px; background: #fff; border-right: 1px solid var(--line); padding: 24px 12px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; position: sticky; top: 0; height: 100vh; }
.admin-side .logo { padding: 4px 12px 22px; display: flex; flex-direction: column; gap: 6px; }
.admin-side .logo img { height: 16px; width: auto; align-self: flex-start; }
.admin-side .logo span { font-size: 12px; color: var(--muted); font-weight: 500; }
.admin-side a { color: var(--ink); padding: 9px 12px; border-radius: 8px; }
.admin-side a:hover { background: var(--bg-2); color: var(--ink); }
.admin-side a.on { background: var(--blue); color: #fff; font-weight: 500; }
.admin-side .bottom { margin-top: auto; padding: 12px; font-size: 13px; display: flex; flex-direction: column; gap: 6px; }
.admin-side .bottom a { padding: 0; color: var(--muted); }
.admin-main { flex: 1 1 auto; padding: 36px; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.admin-main h1 { font-size: 34px; font-weight: 700; letter-spacing: -0.03em; }
.admin-main h2 { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.box { background: #fff; border-radius: 18px; padding: 22px; }
.stat { background: #fff; border-radius: 18px; padding: 20px 22px; display: flex; flex-direction: column; gap: 2px; }
.stat .k { font-size: 13px; color: var(--muted); }
.stat .v { font-size: 32px; font-weight: 700; letter-spacing: -0.03em; }
.stat .s { font-size: 12px; color: var(--muted); }
.seg { display: inline-flex; background: #E8E8ED; border-radius: 10px; padding: 3px; gap: 2px; font-size: 13px; flex-wrap: wrap; }
.seg a { min-height: 32px; padding: 0 14px; border-radius: 8px; color: var(--ink); display: inline-flex; align-items: center; font-weight: 500; }
.seg a.on { background: #fff; font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.seg a span { color: var(--muted); margin-left: 5px; }
.split { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.split > .main-col { flex: 2 1 560px; min-width: 0; }
.split > .side-col { flex: 1 1 300px; min-width: 0; }
.list-group { background: #fff; border-radius: 18px; overflow: hidden; }
.list-group > * { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 20px; border-bottom: 1px solid #F0F0F2; }
.list-group > *:last-child { border-bottom: 0; }
.group-label { margin: 0 0 8px 4px; font-size: 13px; font-weight: 600; color: var(--muted); }
.ig-card { background: var(--bg-2); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.ig-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; background: #ddd; }
.admin-top { display: none; }
@media (max-width: 860px) {
  .admin { flex-direction: column; }
  .admin-side { position: static; height: auto; flex: none; flex-direction: row; flex-wrap: wrap; border-right: 0; border-bottom: 1px solid var(--line); padding: 12px; }
  .admin-side .logo { width: 100%; padding: 4px 8px 10px; }
  .admin-side .bottom { display: none; }
  .admin-main { padding: 24px 18px; }
}

/* Admin helpers */
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--blue); cursor: pointer; }
.linkbtn.danger, .danger { color: #C4302B; }
.btn.danger { background: #C4302B; color: #fff; }
.admin .btn.secondary { background: #fff; }
.admin-side { align-self: flex-start; }
.admin-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.admin-head p { color: var(--muted); margin-top: 4px; }
.form-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.form-grid .full { grid-column: 1 / -1; }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatches label { position: relative; cursor: pointer; }
.swatches input { position: absolute; opacity: 0; }
.swatches span { display: block; width: 32px; height: 32px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.swatches input:checked + span { box-shadow: 0 0 0 2px var(--blue); }
.checklist a { color: var(--ink); }
.checklist .dot { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #C7C7CC; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; color: #fff; flex: none; }
.checklist .dot.done { background: #34A853; border-color: #34A853; }
.inline-form { display: inline; margin: 0; }
.days { display: flex; gap: 6px; flex-wrap: wrap; }
.days label { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; color: var(--ink); background: var(--bg-2); border-radius: 8px; padding: 6px 10px; }
.mini-cover { width: 34px; height: 44px; border-radius: 5px; flex: none; }
.tag-row { display: flex; gap: 6px; flex-wrap: wrap; }
.admin .box .btn.secondary, .admin .ig-card .btn.secondary { background: var(--bg-2); }

/* ===== Covenant Blue page sections ===== */
.sec { padding: 104px 0; }
.sec.alt { background: var(--bg-2); }
.sec.dark { background: var(--dark); color: #fff; }
.sec-head { display: flex; flex-direction: column; gap: 12px; max-width: 660px; margin-bottom: 44px; }
.sec-head.centered { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }
.sec-head .lede { font-size: 18px; }
@media (max-width: 600px) { .sec { padding: 72px 0; } }

.icon-tile { width: 48px; height: 48px; border-radius: 14px; background: var(--blue-soft); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.icon-tile svg { width: 24px; height: 24px; }
.icon-tile.dark { background: rgba(255,255,255,0.1); color: #fff; }

/* Home hero */
.hero2 { background: var(--bg-2); overflow: hidden; }
.hero2 .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 88px; padding-bottom: 96px; }
.hero2-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero2-copy h1 span { color: var(--blue); }
.badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--blue-dark); background: var(--blue-soft); padding: 7px 14px; border-radius: 999px; }
.badge svg { width: 16px; height: 16px; }
.trust { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 14px; color: var(--muted); padding-top: 6px; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--blue); }
.hero2-art { flex: 1 1 440px; min-width: 0; position: relative; height: 500px; }
.hero2-art .halo { position: absolute; left: 50%; top: 50%; width: 440px; height: 440px; margin: -220px 0 0 -220px; border-radius: 50%; background: var(--blue-soft); }
.hero2-art .cover { position: absolute; }
.hero2-art .b1 { width: 230px; font-size: 30px; left: 50%; top: 40px; margin-left: -115px; z-index: 2; box-shadow: 0 32px 64px rgba(15,27,45,0.26); }
.hero2-art .b2 { width: 190px; font-size: 24px; left: 8%; top: 70px; transform: rotate(-9deg); }
.hero2-art .b3 { width: 190px; font-size: 24px; right: 6%; top: 90px; transform: rotate(8deg); }
.float-card { position: absolute; z-index: 3; background: #fff; border-radius: 16px; padding: 16px 18px; box-shadow: 0 16px 40px rgba(15,27,45,0.14); display: flex; gap: 14px; align-items: center; }
.float-card.progress-card { left: 0; bottom: 34px; width: 290px; }
.float-card.dark { right: 0; bottom: 70px; background: var(--dark); color: #fff; font-size: 14px; font-weight: 600; gap: 10px; }
.float-card.dark svg { color: var(--gold-on-dark); width: 20px; height: 20px; }
.bar { height: 6px; border-radius: 3px; background: var(--line); display: block; overflow: hidden; }
.bar > span { display: block; height: 6px; background: var(--blue); border-radius: 3px; }
@media (max-width: 640px) {
  .hero2-art { height: 420px; }
  .hero2-art .b1 { width: 190px; font-size: 25px; margin-left: -95px; }
  .hero2-art .b2, .hero2-art .b3 { width: 150px; font-size: 19px; }
  .float-card.progress-card { width: 250px; }
  .float-card.dark { display: none; }
}

.benefits { border-bottom: 1px solid var(--line); }
.benefits .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px; padding-top: 48px; padding-bottom: 48px; }
.benefit { display: flex; gap: 16px; align-items: flex-start; }
.benefit strong { display: block; font-size: 16px; margin-bottom: 4px; }
.benefit span { font-size: 14px; color: var(--muted); line-height: 1.5; }

.stages { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.stage { background: var(--bg-2); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 12px; min-height: 250px; color: var(--ink); }
.stage:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--echo); }
.stage .top { display: flex; justify-content: space-between; align-items: center; }
.stage .disc { width: 52px; height: 52px; border-radius: 50%; color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.stage .disc svg { width: 24px; height: 24px; }
.stage .n { font-size: 13px; font-weight: 700; color: var(--muted); }
.stage strong { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin-top: 6px; }
.stage p { font-size: 15px; color: var(--muted); flex: 1 1 auto; }
.stage .go { font-size: 14px; font-weight: 600; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; }

.cards3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 24px; }

.verse { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; max-width: 900px; margin: 0 auto; padding: 0 24px; }
.verse svg { width: 40px; height: 40px; color: var(--gold-on-dark); }
.verse p { font-family: var(--serif); font-size: clamp(26px, 3.2vw, 40px); line-height: 1.3; }
.verse cite { font-style: normal; font-size: 15px; font-weight: 600; color: var(--dark-muted); letter-spacing: 0.04em; text-transform: uppercase; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.step { border: 1px solid var(--line); border-radius: 22px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.step .head { display: flex; align-items: center; gap: 12px; color: var(--blue); }
.step .num { width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.step .head svg { width: 26px; height: 26px; }
.step strong { font-size: 20px; }
.step span { color: var(--muted); font-size: 15px; }

.give-band { background: var(--dark); color: #fff; border-radius: 28px; padding: 48px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.give-band h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 800; }
.give-band p { color: var(--dark-muted); max-width: 560px; margin-top: 10px; }
@media (max-width: 600px) { .give-band { padding: 32px 24px; } }

.about { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.about .photo { flex: 1 1 380px; min-width: 0; aspect-ratio: 4 / 5; max-height: 520px; border-radius: 28px; background: var(--blue-soft); border: 2px dashed var(--echo); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--blue-dark); overflow: hidden; }
.about .photo img { width: 100%; height: 100%; object-fit: cover; }
.about .photo svg { width: 44px; height: 44px; }
.about .text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.about .text p { font-size: 18px; color: var(--muted); }

/* Resource page */
.res2 { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.res2-art { flex: 1 1 440px; min-width: 0; background: var(--blue-soft); border-radius: 28px; height: 520px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.res2-art .ring { position: absolute; border-radius: 50%; border: 2px solid var(--echo); }
.res2-art .cover { width: 260px; font-size: 34px; z-index: 1; }
.res2-info { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.fact { background: var(--bg-2); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.fact svg { width: 22px; height: 22px; color: var(--blue); }
.fact strong { font-size: 17px; line-height: 1.25; }
.fact span { font-size: 13px; color: var(--muted); }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr 1fr; } .res2-art { height: 420px; } .res2-art .cover { width: 210px; font-size: 27px; } }
.getbox { border: 1px solid var(--line); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 12px 32px rgba(15,27,45,0.06); }
.getbox .free { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.getbox .free strong { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; }
.getbox .secure { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; justify-content: center; }
.getbox .secure svg { width: 15px; height: 15px; }
.offer-mini { border-top: 1px solid var(--line); padding-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.offer-mini .amts { display: flex; gap: 8px; flex-wrap: wrap; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--bg-2); color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.tag.blue { background: var(--blue-soft); color: var(--blue-dark); }
.tag svg { width: 14px; height: 14px; }
a.tag:hover { background: var(--blue-soft); color: var(--blue-dark); }
.lesson-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.lesson-row { display: flex; align-items: center; gap: 18px; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.lesson-row .num { width: 40px; height: 40px; border-radius: 12px; background: var(--bg-2); color: var(--ink); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.lesson-row.first .num { background: var(--blue); color: #fff; }
.lesson-row .t { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; min-width: 0; }
.lesson-row .t strong { font-size: 17px; }
.lesson-row .t span { font-size: 14px; color: var(--muted); }
.lesson-row .tick { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line-2); background: #fff; color: transparent; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: none; }
.lesson-row .tick.done { background: var(--blue); border-color: var(--blue); color: #fff; }
.lesson-row .tick svg { width: 16px; height: 16px; }
.side-card { border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.side-card.soft { background: var(--bg-2); }
.side-card.line { border: 1px solid var(--line); }
.side-card.dark { background: var(--dark); color: #fff; }
.side-card.dark p { color: var(--dark-muted); }
.side-card strong { font-size: 18px; }
.side-card p { font-size: 15px; color: var(--muted); }

/* Give page */
.give-wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.give-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.give-form { flex: 1 1 400px; min-width: 0; background: #fff; border-radius: 26px; padding: 32px; box-shadow: 0 24px 60px -24px rgba(15,27,45,0.25), 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 18px; }
.amount-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 10px; }
.amount-grid label { position: relative; }
.amount-grid input { position: absolute; opacity: 0; }
.amount-grid span { display: flex; align-items: center; justify-content: center; min-height: 54px; border-radius: 14px; background: var(--bg-2); font-weight: 700; font-size: 18px; cursor: pointer; box-shadow: inset 0 0 0 1px transparent; }
.amount-grid input:checked + span { background: var(--blue-soft); color: var(--blue-dark); box-shadow: inset 0 0 0 2px var(--blue); }
.amount-grid input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.money-input { display: flex; align-items: center; gap: 8px; background: var(--bg-2); border-radius: 14px; padding: 0 16px; min-height: 54px; }
.money-input span { font-weight: 700; color: var(--muted); }
.money-input input { flex: 1 1 auto; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 20px; font-weight: 700; color: var(--ink); height: 52px; }
.money-input input:focus { outline: none; }
.money-input:focus-within { box-shadow: inset 0 0 0 2px var(--blue); background: #fff; }
.give-points { display: flex; flex-direction: column; gap: 14px; }
.give-points div { display: flex; gap: 14px; align-items: flex-start; }
.give-points p { color: var(--muted); font-size: 15px; }

/* Account */
.acct-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.mini-res { display: flex; gap: 14px; align-items: center; background: #fff; border-radius: 18px; padding: 14px; color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.mini-res:hover { color: var(--ink); box-shadow: 0 0 0 1px var(--echo); }
.mini-res .cover { width: 54px; font-size: 7px; border-radius: 6px; padding: 7px; box-shadow: none; }
.mini-res .cover .c-label, .mini-res .cover .c-mark { display: none; }
.admin .field input[type=search] { background: #fff; }
