/* ===== DIVINE CHARACTER — CLEAN ELEGANT ===== */
:root {
  --navy-950: #080e1a;
  --navy-900: #0f1a2e;
  --navy-800: #152238;
  --navy-700: #1b3050;
  --navy-600: #234068;
  --gold-500: #c8a45c;
  --gold-600: #a77c2f;
  --gold-400: #d4af6d;
  --gold-300: #e0c180;
  --gold-200: #ecd9a8;
  --gold-100: #f5e6c8;
  --gold-50: #faf5e8;
  --white: #ffffff;
  --page: #f7f5f0;
  --surface: #ffffff;
  --border: #e2ddd4;
  --border-light: #ede9e2;
  --text: #1a1a1a;
  --text-secondary: #5c5548;
  --text-muted: #8a8374;
  --red: #b91c1c;
  --green: #15803d;
  --amber: #b45309;
  --purple: #7c3aed;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.04);
  --shadow: 0 2px 8px rgba(0,0,0,.06);
  --shadow-gold: 0 2px 12px rgba(200,164,92,.12);
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --max-w: 1140px;
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 19px; }
body {
  font-family: var(--font);
  background: var(--page);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  font-size: 1rem;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font-family: inherit; font-size: 1rem; }

/* ===== SHELL ===== */
.shell {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h); padding: 0 28px;
  background: var(--navy-950);
  border-bottom: 1px solid rgba(200,164,92,.12);
  backdrop-filter: blur(12px);
}
.shell-right { display: flex; align-items: center; gap: 28px; }
.brand {
  display: flex; align-items: center; gap: 12px;
  color: var(--gold-400); font-weight: 700; letter-spacing: .02em;
  font-size: 1.1rem;
}
.brand-icon {
  width: 38px; height: 38px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #ffffff; padding: 4px; overflow: hidden;
  box-shadow: 0 8px 22px rgba(200,164,92,.22);
}
.brand-icon img { width: 100%; height: 100%; object-fit: contain; }
.brand-text strong { display: block; font-size: 1.18rem; color: var(--gold-400); letter-spacing: .12em; line-height: 1; }
.brand-text small { display: block; font-size: .58rem; color: var(--gold-300); opacity: .75; letter-spacing: .05em; margin-top: 4px; }

.top-nav { display: flex; align-items: center; gap: 4px; }
.top-nav a, .top-nav button {
  padding: 8px 18px; border-radius: var(--radius-sm);
  color: #c4beb2; font-size: .9rem; transition: all .2s;
  background: none; border: none; cursor: pointer; font-weight: 500;
}
.top-nav a:hover, .top-nav button:hover { color: var(--gold-400); background: rgba(200,164,92,.06); }
.top-nav .ghost-btn-sm { padding: 6px 14px; color: #9c9488; font-size: .85rem; }
.top-nav .ghost-btn-sm:hover { color: #ffffff; }

.lang-switch { display: flex; align-items: center; gap: 0; }
.lang-switch button {
  background: none; border: none; color: #8a8274; font-size: .75rem;
  padding: 4px 10px; cursor: pointer; font-weight: 600; letter-spacing: .05em;
  transition: color .2s;
}
.lang-switch button:hover { color: var(--gold-400); }
.lang-switch button.active { color: var(--gold-500); }
.lang-divider { color: #6b6458; font-size: .75rem; margin: 0 2px; }

.hamburger {
  display: none; background: none; border: none;
  font-size: 30px; color: var(--gold-400); cursor: pointer; line-height: 1; padding: 4px 8px;
}
.mobile-nav {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: var(--navy-900); border-bottom: 1px solid rgba(200,164,92,.1);
  padding: 16px 24px; flex-direction: column; gap: 4px; z-index: 99;
}
.mobile-nav.open { display: flex; }
.mobile-nav a, .mobile-nav button {
  display: block; padding: 14px 18px; color: #c4beb2; font-size: .95rem;
  border: none; background: none; text-align: left; border-radius: var(--radius-sm); cursor: pointer;
}
.mobile-nav a:hover, .mobile-nav button:hover { color: var(--gold-400); background: rgba(200,164,92,.05); }

.shell-footer {
  text-align: center; padding: 36px 24px;
  background: var(--navy-950); color: #8a8274; font-size: .75rem;
  letter-spacing: .04em; border-top: 1px solid rgba(200,164,92,.08);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; border: none; border-radius: var(--radius);
  font-weight: 600; font-size: .95rem; cursor: pointer; transition: all .25s;
  letter-spacing: .02em; line-height: 1.3;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-500), #d4af6d);
  color: var(--navy-950); box-shadow: 0 2px 8px rgba(200,164,92,.2);
}
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 4px 18px rgba(200,164,92,.3); }
.btn-navy { background: var(--navy-800); color: var(--gold-400); font-size: .9rem; }
.btn-navy:hover { background: var(--navy-700); }
.btn-outline {
  background: transparent; border: 1.5px solid var(--gold-500); color: var(--gold-400);
}
.btn-outline:hover { background: rgba(200,164,92,.08); }
.btn-sm { padding: 8px 18px; font-size: .85rem; }
.btn-lg { padding: 18px 40px; font-size: 1.05rem; }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { opacity: .9; }

.ghost-btn {
  background: none; border: none; color: var(--text-muted);
  font-size: .9rem; cursor: pointer; text-decoration: underline;
  text-underline-offset: 4px; transition: color .2s; font-weight: 500;
}
.ghost-btn:hover { color: var(--gold-500); }

/* ===== CONTAINER ===== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; width: 100%; }
.container-narrow { max-width: 840px; }
.section { padding: 96px 0; }
.section-sm { padding: 56px 0; }

/* ===== HERO ===== */
.hero {
  background:
    linear-gradient(90deg, rgba(8,14,26,.96) 0%, rgba(8,14,26,.9) 46%, rgba(8,14,26,.48) 100%),
    url("./assets/landing-hero-devotional.png") center right / cover no-repeat;
  padding: 96px 0 112px;
  position: relative; overflow: hidden;
  border-bottom: 2px solid var(--gold-500);
}
.hero::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(200,164,92,.05) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 70%, rgba(200,164,92,.04) 0%, transparent 55%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-eyebrow {
  color: var(--gold-400); font-size: .75rem; letter-spacing: .15em;
  text-transform: uppercase; margin-bottom: 24px; font-weight: 600;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 700;
  color: var(--white); line-height: 1.12; margin-bottom: 24px;
  letter-spacing: -.02em; max-width: 820px;
}
.hero h1 em { color: var(--gold-400); font-style: normal; }
.hero-subtitle {
  color: #b0a898; font-size: 1.1rem; line-height: 1.7; max-width: 680px;
  margin-bottom: 36px;
}
.hero .btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-mkhu {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 64px;
}
.mkhu-badge {
  background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.05);
  border-radius: var(--radius-lg); padding: 28px 22px;
  text-align: center; transition: all .3s;
}
.mkhu-badge:hover { background: rgba(255,255,255,.05); transform: translateY(-3px); }
.mkhu-symbol {
  width: 44px; height: 44px; border-radius: 14px; display: inline-flex;
  align-items: center; justify-content: center; margin-bottom: 14px;
  color: var(--navy-950); font-size: 1.35rem; font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35), 0 10px 26px rgba(0,0,0,.16);
}
.mkhu-badge h3 { color: var(--white); font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.mkhu-badge p { color: #908878; font-size: .8rem; line-height: 1.55; }

/* ===== SECTION TITLES ===== */
.section-head { text-align: center; margin-bottom: 64px; }
.section-head .eyebrow {
  color: var(--gold-500); font-size: .7rem; letter-spacing: .15em;
  text-transform: uppercase; font-weight: 700; margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700;
  color: var(--navy-900); line-height: 1.2; margin-bottom: 14px;
}
.section-head p { color: var(--text-secondary); font-size: 1.05rem; max-width: 620px; margin: 0 auto; line-height: 1.65; }

/* ===== FRAMEWORK CARDS ===== */
.framework-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.fw-card {
  background: var(--surface); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 28px 22px;
  transition: all .3s; position: relative; overflow: hidden;
}
.fw-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
}
.fw-card:nth-child(1)::before { background: var(--red); }
.fw-card:nth-child(2)::before { background: var(--green); }
.fw-card:nth-child(3)::before { background: var(--purple); }
.fw-card:nth-child(4)::before { background: var(--gold-500); }
.fw-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.fw-num { font-size: .72rem; font-weight: 700; letter-spacing: .1em; color: var(--gold-500); margin-bottom: 10px; }
.fw-image {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  border-radius: var(--radius); margin-bottom: 18px;
  border: 1px solid var(--border-light); box-shadow: var(--shadow-sm);
}
.fw-symbol {
  width: 38px; height: 38px; border-radius: 12px; display: inline-flex;
  align-items: center; justify-content: center; margin-bottom: 14px;
  color: var(--navy-950); font-size: 1.2rem; font-weight: 900;
}
.fw-card h3 { font-size: 1.05rem; color: var(--navy-900); margin-bottom: 10px; font-weight: 650; line-height: 1.28; }
.fw-card p { color: var(--text-secondary); font-size: .9rem; line-height: 1.65; margin-bottom: 14px; }
.fw-card strong { display: block; color: var(--navy-700); font-size: .85rem; font-style: italic; }

/* ===== FEATURE GRID ===== */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-item {
  background: var(--surface); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 32px 28px;
}
.feature-item h3 { font-size: 1.05rem; color: var(--navy-900); margin-bottom: 8px; font-weight: 600; }
.feature-item p { color: var(--text-secondary); font-size: .88rem; line-height: 1.65; }

/* ===== HOW IT WORKS ===== */
.process-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process-step { text-align: center; padding: 28px 18px; }
.process-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--gold-50); color: var(--gold-500);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 700; margin: 0 auto 18px;
  border: 1.5px solid var(--gold-200);
}
.process-step h3 { font-size: 1rem; color: var(--navy-900); margin-bottom: 8px; font-weight: 600; }
.process-step p { font-size: .82rem; color: var(--text-secondary); line-height: 1.6; }

/* ===== AUDIENCE ===== */
.audience-wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.audience-tag {
  padding: 12px 24px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--navy-700); font-size: .88rem; transition: all .2s; font-weight: 500;
}
.audience-tag:hover { border-color: var(--gold-400); color: var(--gold-500); background: var(--gold-50); }

/* ===== SCRIPTURE QUOTE ===== */
.scripture-quote {
  background: var(--surface); border-left: 4px solid var(--gold-400);
  padding: 32px 36px; border-radius: 0 var(--radius) var(--radius) 0; margin: 36px 0;
  box-shadow: var(--shadow-sm);
}
.scripture-quote blockquote { font-size: 1.3rem; color: var(--navy-900); line-height: 1.55; margin-bottom: 10px; font-weight: 500; }
.scripture-quote cite { font-size: .85rem; font-weight: 600; color: var(--gold-500); font-style: normal; }

/* ===== CTA BAND ===== */
.cta-band {
  background: var(--navy-800); padding: 88px 0; text-align: center;
}
.cta-band .eyebrow { color: var(--gold-400); }
.cta-band h2 { color: var(--white); margin-bottom: 14px; }
.cta-band p { color: #b0a898; max-width: 560px; margin: 0 auto 32px; font-size: 1rem; line-height: 1.65; }

.band-alt { background: var(--surface); }

/* ===== AUTH SCREENS ===== */
.auth-screen { display: flex; align-items: flex-start; justify-content: center; padding: 72px 28px; min-height: 60vh; }
.auth-card {
  width: 100%; max-width: 480px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 44px 40px; box-shadow: var(--shadow);
}
.auth-card h1 { font-size: 1.8rem; color: var(--navy-900); margin-bottom: 10px; font-weight: 700; }
.auth-card .subtitle { color: var(--text-secondary); font-size: .9rem; margin-bottom: 32px; line-height: 1.55; }
.form-alert {
  background: #fff7ed; color: #9a3412; border: 1px solid #fed7aa;
  border-radius: var(--radius); padding: 12px 14px; margin: -14px 0 18px;
  font-size: .86rem; line-height: 1.45;
}
.auth-switch {
  margin-top: 18px; text-align: center; color: var(--text-secondary);
  font-size: .9rem;
}
.auth-switch a { color: var(--gold-500); font-weight: 700; text-decoration: none; }
.auth-switch a:hover { text-decoration: underline; }
.demo-login-actions {
  display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 16px;
}
.demo-login-actions .ghost-btn {
  width: 100%; border: 1px solid var(--border); color: var(--navy-800);
  background: var(--surface); text-decoration: none; border-radius: var(--radius);
  padding: 12px 14px;
}
.form-grp { margin-bottom: 20px; }
.form-grp label { display: block; font-size: .85rem; font-weight: 600; color: var(--navy-700); margin-bottom: 7px; }
.form-grp input, .form-grp select, .form-grp textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--border);
  border-radius: var(--radius); background: var(--surface); color: var(--text);
  font-size: .95rem; transition: border-color .2s;
}
.form-grp input:focus, .form-grp select:focus, .form-grp textarea:focus {
  outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 4px rgba(200,164,92,.08);
}
.form-grp textarea { min-height: 90px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* ===== TEST ===== */
.test-wrap { max-width: 800px; margin: 0 auto; padding: 56px 28px; }
.test-head { margin-bottom: 36px; }
.test-head h1 { font-size: 1.8rem; color: var(--navy-900); margin-bottom: 6px; font-weight: 700; }
.test-head .q-counter { color: var(--text-muted); font-size: .9rem; font-weight: 500; }
.progress-bar {
  height: 4px; background: var(--border); border-radius: 2px;
  margin-bottom: 40px; overflow: hidden;
}
.progress-fill {
  height: 100%; background: linear-gradient(90deg, var(--gold-400), var(--gold-500));
  border-radius: 2px; transition: width .5s ease;
}
.question-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm);
}
.question-card .instruction { color: var(--text-secondary); font-size: 1rem; margin-bottom: 32px; line-height: 1.55; }
.choice-item {
  display: flex; align-items: center; gap: 18px;
  padding: 18px 20px; border: 1.5px solid var(--border-light);
  border-radius: var(--radius); margin-bottom: 14px; transition: all .2s;
  background: var(--surface);
}
.choice-item:hover { border-color: var(--gold-300); background: var(--gold-50); }
.choice-item.choice-most { border-color: rgba(21,128,61,.42); background: #f0fdf4; }
.choice-item.choice-least { border-color: rgba(185,28,28,.34); background: #fff5f5; }
.choice-letter {
  width: 44px; height: 44px; border-radius: 50%;
  background: #f8f6f1; color: var(--navy-700);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; flex-shrink: 0;
  border: 1.5px solid var(--border);
}
.choice-text { flex: 1; font-size: .95rem; color: var(--text); line-height: 1.55; }
.choice-actions { display: flex; gap: 8px; flex-shrink: 0; }
.pick-btn {
  width: 44px; height: 44px; padding: 0; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); background: var(--surface); color: var(--text-muted);
  font-size: 1.05rem; cursor: pointer; transition: all .2s; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}
.pick-btn:hover { border-color: var(--gold-400); color: var(--gold-500); }
.pick-btn.active-most { background: var(--green); border-color: var(--green); color: #fff; }
.pick-btn.active-least { background: var(--red); border-color: var(--red); color: #fff; }
.icon-pick:focus-visible {
  outline: none; box-shadow: 0 0 0 4px rgba(200,164,92,.18);
}
.question-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; }

/* MKHU Legend */
.mkhu-legend { display: flex; gap: 12px; margin-bottom: 28px; flex-wrap: wrap; }
.mkhu-legend-item { display: flex; align-items: center; gap: 6px; font-size: .75rem; color: var(--text-muted); }
.mkhu-legend-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }

/* ===== PAYMENT ===== */
.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.price-card, .voucher-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px;
}
.price-card h3, .voucher-card h3 { font-size: 1.2rem; color: var(--navy-900); margin-bottom: 10px; font-weight: 600; }
.price-card p { color: var(--text-secondary); font-size: .9rem; line-height: 1.6; margin-bottom: 20px; }
.price-amount { font-size: 2.5rem; font-weight: 700; color: var(--navy-900); }
.access-card { max-width: 980px; }
.access-card .subtitle { max-width: 760px; }
.access-form-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px; margin: 28px 0 10px;
}
.access-card .form-grp.wide { grid-column: 1 / -1; }
.access-choice-note {
  background: var(--gold-50); border: 1px solid var(--gold-100);
  border-radius: var(--radius); padding: 16px 18px; color: var(--navy-800);
  font-size: .9rem; line-height: 1.6; margin: 8px 0 24px;
}
.access-card .pay-grid { align-items: stretch; }
.access-card .price-card,
.access-card .voucher-card { display: flex; flex-direction: column; gap: 16px; }
.price-meta {
  display: flex; gap: 10px; flex-wrap: wrap; margin: 6px 0 4px;
}
.price-meta span {
  display: inline-flex; align-items: center; border-radius: 999px;
  background: var(--gold-50); color: var(--navy-700); border: 1px solid var(--gold-100);
  padding: 7px 12px; font-size: .78rem; font-weight: 700;
}
.voucher-inline { display: flex; gap: 10px; align-items: stretch; }
.voucher-inline input {
  flex: 1; min-width: 0; padding: 14px 16px; border: 1.5px solid var(--border);
  border-radius: var(--radius); background: var(--surface);
}
.voucher-inline input:focus {
  outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 4px rgba(200,164,92,.08);
}
.secure-note { color: var(--text-muted); font-size: .8rem; line-height: 1.55; margin-top: auto; }

/* ===== REPORT ===== */
.report { max-width: 800px; margin: 0 auto; padding: 56px 28px 96px; }

.report-cover {
  text-align: center; padding: 80px 32px 64px; margin-bottom: 56px;
  position: relative; background: var(--surface); border-radius: var(--radius-lg);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.report-cover::before, .report-cover::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  height: 2px; background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
}
.report-cover::before { top: 32px; width: 120px; }
.report-cover::after { bottom: 32px; width: 120px; }
.report-cover .type-symbol { font-size: 3rem; display: block; margin-bottom: 16px; }
.report-cover .rc-label {
  font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-500); font-weight: 700; margin-bottom: 18px;
}
.report-cover h1 {
  font-size: clamp(2rem, 5vw, 3rem); color: var(--navy-900);
  font-weight: 700; line-height: 1.15; margin-bottom: 14px;
}
.report-cover .rc-subtitle {
  font-size: 1.15rem; color: var(--text-secondary); line-height: 1.55;
  max-width: 520px; margin: 0 auto 36px;
}
.rc-participant {
  background: var(--gold-50); border: 1px solid var(--gold-200);
  border-radius: var(--radius-lg); padding: 24px 36px; display: inline-block;
}
.rc-participant strong { display: block; font-size: 1.3rem; color: var(--navy-900); font-weight: 600; }
.rc-participant span { font-size: .9rem; color: var(--text-secondary); }
.color-chip {
  display: inline-block; width: 54px; height: 14px; border-radius: 999px;
  margin: 12px 4px 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.4);
}

.report-chapter { margin-bottom: 64px; padding-top: 48px; border-top: 1px solid var(--border-light); }
.report-chapter:first-of-type { border-top: none; padding-top: 0; }
.chapter-title { font-size: 1.8rem; color: var(--navy-900); font-weight: 700; line-height: 1.2; margin-bottom: 14px; }
.chapter-intro { font-size: 1.05rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 36px; }

.narrative { margin-bottom: 32px; }
.narrative p { font-size: 1.05rem; color: var(--text); line-height: 1.9; margin-bottom: 20px; }

.insight-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 30px 0;
}
.insight-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm);
}
.insight-card.warm { background: #fffaf0; border-color: var(--gold-200); }
.insight-card h3 {
  font-size: 1.05rem; color: var(--navy-900); margin-bottom: 12px; font-weight: 700;
}
.insight-card p { font-size: 1rem; color: var(--text-secondary); line-height: 1.75; margin-bottom: 12px; }
.insight-card p:last-child { margin-bottom: 0; }

.highlight-box {
  background: var(--gold-50); border-left: 3px solid var(--gold-400);
  padding: 24px 28px; border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 28px;
}
.highlight-box h4 { font-size: .8rem; letter-spacing: .1em; color: var(--gold-500); text-transform: uppercase; font-weight: 700; margin-bottom: 6px; }
.highlight-box p { font-size: 1rem; color: var(--navy-800); line-height: 1.75; }

.profile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 28px; }
.profile-card {
  background: var(--surface); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 28px 24px; transition: all .2s;
}
.profile-card.top { border-color: var(--gold-400); box-shadow: var(--shadow-gold); }
.profile-card .rank-badge {
  display: inline-block; padding: 4px 14px; border-radius: 999px;
  font-size: .7rem; font-weight: 700; letter-spacing: .08em; margin-bottom: 14px;
}
.rank-badge.gold { background: var(--gold-100); color: var(--gold-500); }
.rank-badge.green { background: #d1fae5; color: #065f46; }
.profile-card h3 { font-size: 1.15rem; color: var(--navy-900); margin-bottom: 6px; font-weight: 600; }
.profile-card .level { font-size: .82rem; color: var(--text-muted); margin-bottom: 10px; }
.profile-card p { font-size: .9rem; color: var(--text-secondary); line-height: 1.65; }
.profile-card.gift-card p { margin-bottom: 10px; }
.profile-card .verse { font-size: .82rem; color: var(--text-muted); margin-top: 10px; font-style: italic; }
.big-color-block {
  display: block; width: 100%; height: 72px; border-radius: var(--radius);
  margin: 8px 0 18px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.45);
}

.profile-list { margin-top: 32px; }
.profile-row {
  display: flex; align-items: center; gap: 16px; padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}
.profile-row:last-child { border-bottom: none; }
.profile-row .pr-name { width: 200px; font-size: .9rem; color: var(--text); flex-shrink: 0; font-weight: 500; }
.profile-row .pr-bar-wrap { flex: 1; height: 10px; background: var(--border-light); border-radius: 5px; overflow: hidden; }
.profile-row .pr-bar-fill { height: 100%; border-radius: 5px; transition: width .6s ease; }
.profile-row .pr-score { width: 42px; text-align: right; font-size: .85rem; font-weight: 700; color: var(--text-secondary); }

.growth-section {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px; margin-top: 36px; box-shadow: var(--shadow-sm);
}
.growth-section h3 { font-size: 1.2rem; color: var(--navy-900); margin-bottom: 14px; font-weight: 600; }
.growth-section p { font-size: 1rem; color: var(--text-secondary); line-height: 1.75; }

.integrated { font-size: 1.05rem; color: var(--text); line-height: 1.9; border-left: 3px solid var(--navy-600); padding-left: 28px; margin-bottom: 28px; }
.integrated p { margin-bottom: 16px; }
.integrated p:last-child { margin-bottom: 0; }
.reflection-box {
  background: #fbfaf6; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 36px; margin-top: 36px;
}
.reflection-box h3 { font-size: 1.1rem; color: var(--navy-900); margin-bottom: 14px; font-weight: 700; }
.reflection-box ul { padding-left: 20px; color: var(--text-secondary); line-height: 1.8; }
.reflection-box li { margin-bottom: 8px; }
.ministry-box {
  background: var(--navy-800); color: #fff; border-radius: var(--radius-lg);
  padding: 32px 36px; margin-top: 28px;
}
.ministry-box h3 { font-size: 1rem; color: var(--gold-400); margin-bottom: 10px; font-weight: 600; }
.ministry-box p { font-size: 1rem; color: #c4beb2; line-height: 1.75; }

.report-appendix {
  margin-top: 56px; padding-top: 36px; border-top: 2px dashed var(--border);
}
.report-appendix h3 { font-size: 1.15rem; color: var(--navy-700); margin-bottom: 24px; font-weight: 600; }
.report-appendix .pct-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.report-appendix .pct-label { font-size: .82rem; color: var(--text-muted); width: 110px; flex-shrink: 0; }
.report-appendix .pct-bar {
  flex: 1; min-width: 80px; display: flex; flex-direction: column; align-items: center; gap: 5px;
}
.report-appendix .pct-bar-outer {
  width: 100%; height: 70px; background: var(--border-light); border-radius: var(--radius-sm);
  display: flex; align-items: flex-end; overflow: hidden;
}
.report-appendix .pct-bar-inner { width: 100%; border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
.report-appendix .pct-bar-label { font-size: .75rem; font-weight: 700; }
.report-appendix .pct-bar-value { font-size: .7rem; color: var(--text-muted); }

/* ===== DASHBOARD ===== */
.dash-layout { display: flex; min-height: calc(100vh - var(--nav-h)); }
.dash-sidebar {
  width: 260px; background: var(--surface); border-right: 1px solid var(--border-light);
  padding: 36px 24px; flex-shrink: 0;
}
.dash-sidebar h2 { font-size: 1.1rem; color: var(--navy-900); margin-bottom: 6px; font-weight: 700; }
.dash-sidebar .subtitle { font-size: .8rem; color: var(--text-muted); margin-bottom: 28px; }
.dash-menu { display: flex; flex-direction: column; gap: 2px; }
.dash-menu a, .dash-menu button {
  background: none; border: none; text-align: left; padding: 12px 16px;
  border-radius: var(--radius); color: var(--text-secondary); font-size: .9rem;
  cursor: pointer; transition: all .18s; font-weight: 500; width: 100%;
  text-decoration: none; display: block; font-family: inherit;
}
.dash-menu a:hover, .dash-menu button:hover { background: var(--border-light); }
.dash-menu a.active, .dash-menu button.active { background: var(--gold-50); color: var(--gold-500); font-weight: 700; }

.dash-main { flex: 1; padding: 40px; overflow-x: auto; min-width: 0; }
.dash-head { margin-bottom: 36px; }
.dash-head h1 { font-size: 1.8rem; color: var(--navy-900); margin-bottom: 6px; font-weight: 700; }
.dash-head p { font-size: .95rem; color: var(--text-muted); }

.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 36px; }
.metric-card {
  background: var(--surface); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 28px 24px; text-align: center;
  transition: all .2s;
}
.metric-card:hover { border-color: var(--gold-300); box-shadow: var(--shadow-gold); }
.metric-card .metric-val { font-size: 2.5rem; font-weight: 700; color: var(--navy-900); }
.metric-card .metric-lbl { font-size: .78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }

.table-wrap {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: auto; box-shadow: var(--shadow-sm);
}
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
thead { border-bottom: 1.5px solid var(--border); }
th { text-align: left; padding: 16px 20px; font-size: .72rem; color: var(--text-muted); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
td { padding: 16px 20px; color: var(--text); border-bottom: 1px solid var(--border-light); }
.table-wrap th:last-child,
.table-wrap td:last-child {
  position: sticky;
  right: 0;
  z-index: 1;
  background: var(--surface);
  box-shadow: -10px 0 18px rgba(250, 248, 244, .9);
  white-space: nowrap;
}
.table-wrap th:last-child { z-index: 2; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: #faf8f4; }
tr:hover td:last-child { background: #faf8f4; }
tr.clickable { cursor: pointer; }
tr.clickable:hover td { background: var(--gold-50); }
td strong { color: var(--navy-900); }
td small { color: var(--text-muted); font-size: .78rem; }

.badge {
  display: inline-block; padding: 5px 14px; border-radius: 999px;
  font-size: .73rem; font-weight: 700; letter-spacing: .05em; white-space: nowrap;
}
.badge.good { background: #d1fae5; color: #065f46; }
.badge.warn { background: #fef3c7; color: #92400e; }
.badge.bad { background: #fee2e2; color: #991b1b; }
.badge.info { background: #e0e7ff; color: #3730a3; }

.dash-panel {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px; margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.dash-panel h3 { font-size: 1.15rem; color: var(--navy-900); margin-bottom: 20px; font-weight: 600; }
.dash-panel-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  margin-bottom: 20px; flex-wrap: wrap;
}
.dash-panel-head h3 { margin-bottom: 4px; }
.dash-panel-head p { color: var(--text-muted); font-size: .9rem; line-height: 1.55; }
.dash-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.mini-stats {
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px;
}
.mini-stats span {
  background: var(--gold-50); border: 1px solid var(--gold-100);
  color: var(--navy-800); border-radius: 999px; padding: 8px 12px;
  font-size: .82rem; font-weight: 700;
}
.credit-card {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  color: #fff; border-radius: var(--radius-lg); padding: 32px; margin-bottom: 28px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
}
.credit-card .credit-value { font-size: 3rem; line-height: 1; font-weight: 800; color: var(--gold-400); }
.credit-card p { color: #c4beb2; font-size: .95rem; }
.empty-state {
  border: 1px dashed var(--border); border-radius: var(--radius-lg);
  padding: 28px; color: var(--text-muted); background: #fbfaf6;
}

.project-symbol { font-size: 1.4rem; margin-right: 6px; }

.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--text-muted); font-size: .85rem; margin-bottom: 24px; font-weight: 500; }
.back-link:hover { color: var(--gold-500); }

/* ===== MODAL ===== */
.modal-root:empty { display: none; }
.app-modal {
  position: fixed; inset: 0; z-index: 9998;
  background: rgba(11, 18, 32, .56); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.app-modal-panel {
  width: min(520px, 100%); max-height: calc(100vh - 48px); overflow: auto;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: 0 24px 70px rgba(0,0,0,.28);
}
.app-modal-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 24px; border-bottom: 1px solid var(--border-light);
}
.app-modal-head h3 { color: var(--navy-900); font-size: 1.15rem; font-weight: 700; }
.modal-close {
  width: 36px; height: 36px; border: 1px solid var(--border);
  border-radius: 50%; background: var(--surface); color: var(--text-muted);
  cursor: pointer; font-size: 1.3rem; line-height: 1;
}
.modal-close:hover { color: var(--navy-900); border-color: var(--gold-300); }
.app-modal-body { padding: 24px; }
.modal-note {
  color: var(--text-secondary); line-height: 1.6; font-size: .92rem; margin-bottom: 18px;
}
.modal-actions {
  display: flex; justify-content: flex-end; align-items: center; gap: 12px;
  margin-top: 22px; flex-wrap: wrap;
}

/* ===== TOAST ===== */
.toast {
  position: fixed; bottom: 40px; left: 50%; transform: translateX(-50%) translateY(140px);
  background: var(--navy-900); color: #fff; padding: 16px 32px;
  border-radius: var(--radius); font-size: .9rem; z-index: 9999;
  transition: transform .35s ease; box-shadow: 0 8px 32px rgba(0,0,0,.2);
  max-width: 90vw; text-align: center;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .shell { padding: 0 18px; }
  .shell-right .top-nav { display: none; }
  .hamburger { display: block; }
  .framework-grid { grid-template-columns: repeat(2, 1fr); }
  .hero {
    padding: 64px 0 72px;
    background:
      linear-gradient(180deg, rgba(8,14,26,.94) 0%, rgba(8,14,26,.88) 58%, rgba(8,14,26,.58) 100%),
      url("./assets/landing-hero-devotional.png") center / cover no-repeat;
  }
  .hero h1 { font-size: 2rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-mkhu { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .process-row { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 64px 0; }
  .section-head h2 { font-size: 1.8rem; }
  .pay-grid { grid-template-columns: 1fr; }
  .profile-grid { grid-template-columns: 1fr; }
  .insight-grid { grid-template-columns: 1fr; }
  .test-wrap { padding: 40px 18px; }
  .choice-item { flex-wrap: wrap; }
  .choice-actions { width: 100%; justify-content: flex-end; margin-top: 10px; }
  .dash-layout { flex-direction: column; }
  .dash-sidebar { width: 100%; padding: 24px 18px; border-right: none; border-bottom: 1px solid var(--border); }
  .dash-menu { flex-direction: row; flex-wrap: wrap; gap: 4px; }
  .dash-menu a, .dash-menu button { width: auto; padding: 10px 14px; font-size: .85rem; }
  .dash-main { padding: 28px 18px; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .credit-card { align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .modal-actions { justify-content: stretch; }
  .modal-actions .btn, .modal-actions .ghost-btn { width: 100%; }
  .access-form-grid { grid-template-columns: 1fr; }
  .report-cover { padding: 56px 20px 48px; }
  .report-cover h1 { font-size: 2rem; }
  .profile-row .pr-name { width: 140px; }
  .question-card { padding: 28px 20px; }
}

@media (max-width: 480px) {
  html { font-size: 17px; }
  .hero h1 { font-size: 1.7rem; }
  .brand-text small { display: none; }
  .brand-text strong { font-size: .95rem; letter-spacing: .08em; }
  .brand-icon { width: 34px; height: 34px; }
  .voucher-inline { flex-direction: column; }
  .voucher-inline .btn { width: 100%; }
  .framework-grid { grid-template-columns: 1fr; }
  .hero .btn-row { flex-direction: column; }
  .hero .btn-row .btn { width: 100%; }
  .chapter-title { font-size: 1.5rem; }
  .report-cover h1 { font-size: 1.6rem; }
  .price-amount { font-size: 2rem; }
  .profile-row .pr-name { width: 100%; }
  .profile-row { flex-wrap: wrap; }
  .dash-panel { padding: 24px 18px; }
  .auth-card { padding: 32px 24px; }
}

/* ===== PRINT ===== */
@media print {
  body { background: #fff; color: #000; font-size: 14px; line-height: 1.55; }
  .no-print { display: none !important; }
  .report { max-width: 100%; padding: 0; }
  .report-cover { page-break-after: always; padding: 40px 0; border: none; box-shadow: none; background: #fff; }
  .report-cover::before, .report-cover::after { background: #000; }
  .report-chapter { page-break-before: always; border-top: none; padding-top: 0; }
  .profile-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .insight-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .profile-card { border: 1px solid #ccc; box-shadow: none; break-inside: avoid; }
  .insight-card, .reflection-box, .growth-section { box-shadow: none; break-inside: avoid; }
  .highlight-box { background: #f9f9f9; border-left-color: #000; }
  .ministry-box { background: #f0f0f0; color: #000; }
  .ministry-box h3 { color: #000; }
  .ministry-box p { color: #333; }
}
