/* Shared by every dijioma.com page: the menu's "Get the app" button and the
   app panels. The homepage and /app also use the .x- (showcase) styles below.
   Pages keep their own inline styles; this file only adds to them. */

/* ── Menu ───────────────────────────────────────────── */
.nav-signin { margin-right: 0.6rem; color: #a8a097; text-decoration: none; font-size: 0.82rem; letter-spacing: 0.04em; white-space: nowrap; transition: color 0.2s; }
.nav-signin:hover { color: #c8963e; }
.nav-getapp { white-space: nowrap; }
.mobile-menu a.mobile-getapp { color: #0a0a0a !important; background: #c8963e; text-align: center; border-radius: 999px; margin: 0.9rem 0 0.4rem; padding: 0.85rem 0; font-weight: 500; border-bottom: none; }
@media (max-width: 640px) {
  .nav-signin { display: none; }
  .nav-getapp { padding: 0.45rem 0.8rem !important; font-size: 0.72rem !important; }
}

/* ── App panel (one quiet panel on each free page) ─── */
.app-panel { max-width: 900px; margin: 2.5rem auto; padding: 0 1.5rem; }
.app-panel-inner { display: flex; align-items: center; gap: 1.25rem; background: linear-gradient(135deg, rgba(200,150,62,0.13), rgba(200,150,62,0.03)); border: 1px solid rgba(200,150,62,0.3); border-radius: 18px; padding: 1.25rem 1.5rem; text-decoration: none; color: inherit; transition: border-color 0.2s, transform 0.2s; }
.app-panel-inner:hover { border-color: #c8963e; transform: translateY(-2px); }
.app-panel img { width: 64px; height: 64px; flex: none; border-radius: 50%; background: #0a0a0a; border: 1px solid rgba(200,150,62,0.45); padding: 12px; box-shadow: 0 0 30px -6px rgba(200,150,62,0.45); }
.app-panel-text { flex: 1; min-width: 0; }
.app-panel-title { font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; font-weight: 500; color: #f0ece4; line-height: 1.25; }
.app-panel-sub { font-size: 0.88rem; color: #a8a097; line-height: 1.55; margin-top: 0.2rem; }
.app-panel-cta { flex: none; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: #0a0a0a; background: #c8963e; padding: 0.7rem 1.1rem; border-radius: 999px; font-weight: 500; }
@media (max-width: 560px) {
  .app-panel-inner { flex-wrap: wrap; padding: 1.1rem 1.15rem; }
  .app-panel img { width: 52px; height: 52px; }
  .app-panel-cta { width: 100%; text-align: center; }
}

/* ── Showcase (homepage and /app) ───────────────────── */
.x { --gold: #c8963e; --gold-light: #e8b86d; --ink: #f0ece4; --soft: #a8a097; --line: #232020; --card: #121110; }
.x-sec { padding: 7rem 1.5rem; }
.x-in { max-width: 1080px; margin: 0 auto; }
.x-narrow { max-width: 720px; margin: 0 auto; text-align: center; }
.x-eyebrow { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; }
.x-h1 { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: clamp(3rem, 7.4vw, 5.6rem); line-height: 1.0; letter-spacing: -0.01em; color: var(--ink); }
.x-h2 { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: clamp(2.3rem, 5.4vw, 4rem); line-height: 1.06; color: var(--ink); }
.x-h2 em, .x-h1 em { font-style: italic; color: var(--gold-light); }
.x-h3 { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 1.7rem; line-height: 1.2; color: var(--ink); }
.x-lede { font-size: clamp(1.08rem, 2vw, 1.3rem); line-height: 1.6; color: var(--soft); margin-top: 1.4rem; }
.x-body { font-size: 1rem; line-height: 1.7; color: var(--soft); }
.x-small { font-size: 0.85rem; color: var(--soft); line-height: 1.6; }
.x-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2.2rem; }
.x-store-actions { align-items: center; scroll-margin-top: 7rem; }
.x-store-actions [hidden] { display: none; }
.x-narrow .x-actions { justify-content: center; }
.x-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 52px; padding: 0 1.7rem; border-radius: 999px; font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 500; text-decoration: none; cursor: pointer; transition: background 0.2s, border-color 0.2s, transform 0.15s; border: 1px solid transparent; }
.x-btn:active { transform: scale(0.98); }
.x-btn-gold { background: var(--gold); color: #0a0a0a; }
.x-btn-gold:hover { background: var(--gold-light); }
.x-btn-line { background: transparent; color: var(--ink); border-color: #3a3632; }
.x-btn-line:hover { border-color: var(--gold); color: var(--gold-light); }
.x-note { font-size: 0.85rem; color: var(--soft); margin-top: 1rem; }
.x-gold { color: var(--gold-light); }

/* Hero */
.x-hero { padding: 7.5rem 1.5rem 5rem; overflow: hidden; background: radial-gradient(ellipse 70% 60% at 75% 40%, rgba(200,150,62,0.16), transparent 70%); }
.x-hero .x-in { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: center; }
.x-hero-art { display: flex; justify-content: center; }
@media (max-width: 860px) {
  .x-hero { padding-top: 6rem; text-align: center; }
  .x-hero .x-in { grid-template-columns: 1fr; gap: 3.5rem; }
  .x-hero .x-actions { justify-content: center; }
}

/* Phone */
.x-phone { position: relative; width: min(290px, 72vw); aspect-ratio: 390 / 844; border-radius: 46px; padding: 11px; background: #1b1a19; box-shadow: 0 0 0 1px #2c2a28, 0 40px 80px -20px rgba(0,0,0,0.8), 0 0 120px -30px rgba(200,150,62,0.35); flex: none; }
.x-phone::before { content: ''; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 82px; height: 22px; border-radius: 12px; background: #0a0a0a; z-index: 3; }
.x-screen { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #fff7e8; }
/* the pictures start below the camera, like a real status bar */
.x-screen img { position: absolute; top: 11%; left: 0; width: 100%; height: 89%; object-fit: cover; object-position: top; }
.x-phone-sm .x-screen img { top: 12%; height: 88%; }
.x-phone-sm { width: min(230px, 62vw); border-radius: 38px; padding: 9px; }
.x-phone-sm .x-screen { border-radius: 30px; }
.x-phone-sm::before { top: 16px; width: 64px; height: 18px; }

/* Voices */
.x-voices { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 4rem; text-align: left; }
.x-voice { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 2.2rem 2.2rem 0; display: flex; flex-direction: column; overflow: hidden; }
.x-voice .x-h3 { margin-bottom: 0.7rem; }
.x-voice-tag { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.7rem; }
.x-voice-tag span { color: var(--soft); letter-spacing: 0.06em; text-transform: none; font-style: italic; font-family: 'Cormorant Garamond', serif; font-size: 1rem; margin-left: 0.35rem; }
.x-voice-shot { margin-top: 2rem; display: flex; justify-content: center; height: 330px; overflow: hidden; }
.x-voice-shot .x-phone { width: 250px; align-self: flex-start; }
@media (max-width: 760px) { .x-voices { grid-template-columns: 1fr; } .x-voice { padding: 1.8rem 1.5rem 0; } }

.x-listen { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 2.2rem; }
.x-play { display: inline-flex; align-items: center; gap: 0.75rem; background: #171513; border: 1px solid #34302b; color: var(--ink); border-radius: 999px; padding: 0.45rem 1.2rem 0.45rem 0.45rem; cursor: pointer; font-family: 'DM Sans', sans-serif; font-size: 0.95rem; transition: border-color 0.2s; }
.x-play:hover, .x-play.on { border-color: var(--gold); }
.x-play-ico { width: 40px; height: 40px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; flex: none; }
.x-play-ico svg { width: 16px; height: 16px; fill: #0a0a0a; margin-left: 2px; }
.x-play.on .x-play-ico svg { margin-left: 0; }
.x-play b { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 500; color: var(--gold-light); }
.x-play i { font-style: normal; color: var(--soft); font-size: 0.88rem; }
.x-play[hidden] { display: none; }

/* Steps */
.x-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 4.5rem; }
.x-step { text-align: center; }
.x-step-n { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); align-items: center; justify-content: center; font-size: 0.9rem; margin-bottom: 0.9rem; }
.x-step p { max-width: 290px; margin: 0.6rem auto 0; }
@media (max-width: 860px) { .x-steps { grid-template-columns: 1fr; gap: 4rem; } }

/* Gift */
.x-gift { background: linear-gradient(180deg, #0a0a0a, #14100a 50%, #0a0a0a); }
.x-gift .x-in { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 4rem; align-items: center; }
.x-gift-art { display: flex; justify-content: center; }
.x-oji { position: relative; width: min(340px, 70vw); aspect-ratio: 1; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle, rgba(232,184,109,0.22), rgba(200,150,62,0.04) 55%, transparent 70%); }
.x-oji::before, .x-oji::after { content: ''; position: absolute; border-radius: 50%; border: 1px solid rgba(200,150,62,0.28); }
.x-oji::before { inset: 8%; } .x-oji::after { inset: 22%; border-color: rgba(200,150,62,0.18); }
.x-oji img { position: relative; width: 46%; height: auto; filter: drop-shadow(0 18px 40px rgba(200,150,62,0.35)); }
@media (prefers-reduced-motion: no-preference) { .x-oji img { animation: x-breathe 6s ease-in-out infinite; } @keyframes x-breathe { 50% { transform: scale(1.04); } } }
.x-proverb { margin-top: 2rem; padding-left: 1.2rem; border-left: 2px solid var(--gold); font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; line-height: 1.4; color: var(--ink); }
.x-proverb em { color: var(--gold-light); }
@media (max-width: 860px) { .x-gift .x-in { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; } .x-proverb { border-left: none; padding-left: 0; } }

/* Plan */
.x-plan { max-width: 520px; margin: 3.5rem auto 0; background: var(--card); border: 1px solid rgba(200,150,62,0.45); border-radius: 32px; padding: 2.8rem 2.4rem; text-align: left; box-shadow: 0 0 100px -40px rgba(200,150,62,0.5); }
.x-plan-name { font-family: 'Cormorant Garamond', serif; font-size: 2.1rem; font-weight: 500; color: var(--ink); }
.x-plan-sub { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-light); margin: 0.1rem 0 0.4rem; }
.x-plan-price { font-size: 1.15rem; color: var(--ink); margin-top: 0.4rem; }
.x-plan-price strong { color: var(--gold-light); font-weight: 500; }
.x-plan-coffee { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.2rem; color: var(--soft); margin-top: 0.5rem; }
.x-plan ul { list-style: none; margin: 1.8rem 0 2rem; padding: 0; display: grid; gap: 0.85rem; }
.x-plan li { display: flex; gap: 0.75rem; font-size: 1rem; color: var(--ink); line-height: 1.5; }
.x-plan li::before { content: ''; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: rgba(200,150,62,0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' stroke='%23e8b86d' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.x-plan .x-btn { width: 100%; }
.x-plans { display: grid; gap: 1.5rem; margin-top: 3.5rem; align-items: stretch; }
.x-plans .x-plan { margin: 0; max-width: none; display: flex; flex-direction: column; }
.x-plans .x-plan ul { flex: 1; align-content: start; }
.x-plan-free { border-color: #3a3632; box-shadow: none; }
.x-plan li.x-plan-all { font-weight: 600; color: var(--gold-light); }
.x-plan li.x-plan-all::before { display: none; }
@media (min-width: 860px) { .x-plans { grid-template-columns: 1fr 1fr; max-width: 1040px; margin-left: auto; margin-right: auto; } }
.x-plan .x-note { text-align: center; }

/* Promises */
.x-promises { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; margin-top: 3rem; }
.x-promise { background: #0d0c0b; padding: 2rem 1.5rem; text-align: center; }
.x-promise svg { width: 30px; height: 30px; stroke: var(--gold); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 0.9rem; }
.x-promise div { font-size: 1rem; color: var(--ink); line-height: 1.45; }
@media (max-width: 860px) { .x-promises { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .x-promises { grid-template-columns: 1fr; } }

/* Free for grown-ups */
.x-free { border-top: 1px solid var(--line); }
.x-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 3rem; }
.x-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 1.8rem; text-decoration: none; color: inherit; transition: border-color 0.2s, transform 0.2s; }
.x-card:hover { border-color: rgba(200,150,62,0.6); transform: translateY(-3px); }
.x-card-tag { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.8rem; }
.x-card-title { font-family: 'Cormorant Garamond', serif; font-size: 1.45rem; font-weight: 500; line-height: 1.25; color: var(--ink); }
.x-card-body { font-size: 0.92rem; color: var(--soft); line-height: 1.6; margin-top: 0.6rem; flex: 1; }
.x-card-go { font-size: 0.8rem; color: var(--gold); margin-top: 1.2rem; }
@media (max-width: 860px) { .x-cards { grid-template-columns: 1fr; } }

/* Daily email */
.x-mail { max-width: 640px; margin: 2.5rem auto 0; text-align: center; background: linear-gradient(145deg, rgba(200,150,62,0.10), rgba(200,150,62,0.02)); border: 1px solid var(--line); border-radius: 26px; padding: 2.4rem 1.5rem; }
.x-mail-tabs { display: inline-flex; gap: 4px; background: #111; border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin: 1.3rem 0 1rem; }
.x-mail-tab { border: none; background: none; cursor: pointer; padding: 0.5rem 1.1rem; border-radius: 999px; font-family: 'DM Sans', sans-serif; font-size: 0.85rem; color: var(--soft); }
.x-mail-tab.active { background: var(--gold); color: #0a0a0a; }
.x-mail-form { display: flex; gap: 0.5rem; max-width: 440px; margin: 0 auto; }
.x-mail-input { flex: 1; min-width: 0; min-height: 50px; background: #111; border: 1px solid #2c2926; border-radius: 999px; padding: 0 1.2rem; color: var(--ink); font-family: 'DM Sans', sans-serif; font-size: 1rem; outline: none; }
.x-mail-input:focus { border-color: var(--gold); }
.x-mail-msg { font-size: 0.85rem; margin-top: 0.9rem; min-height: 1.2em; }
.x-mail-msg.ok { color: #7dd8a0; } .x-mail-msg.err { color: #f08080; }
@media (max-width: 460px) { .x-mail-form { flex-direction: column; } }

/* Questions */
.x-faq { max-width: 760px; margin: 3rem auto 0; text-align: left; }
.x-faq details { border-bottom: 1px solid var(--line); padding: 1.4rem 0; }
.x-faq summary { cursor: pointer; list-style: none; font-size: 1.12rem; color: var(--ink); display: flex; justify-content: space-between; gap: 1rem; }
.x-faq summary::-webkit-details-marker { display: none; }
.x-faq summary::after { content: '+'; color: var(--gold); font-size: 1.4rem; line-height: 1; }
.x-faq details[open] summary::after { content: '−'; }
.x-faq details p { margin-top: 0.8rem; }
.x-faq a { color: var(--gold-light); }

/* Reveal on scroll */
.x-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
.x-reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .x-reveal { opacity: 1; transform: none; transition: none; } }

/* Before or at launch (see js/site.js) */
html:not(.is-paid) [data-when="paid"], html.is-paid [data-when="free"] { display: none !important; }
/* Lines about the phone apps appear once they are in both stores (launched: true). */
html:not(.is-launched) [data-when="launch"] { display: none !important; }

/* Preview switch (dev site only) */
.x-preview { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 200; display: flex; align-items: center; gap: 4px; background: rgba(20,18,16,0.95); border: 1px solid #3a352f; border-radius: 999px; padding: 4px 4px 4px 14px; font: 12px 'DM Sans', sans-serif; color: #a8a097; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.x-preview a { color: #a8a097; text-decoration: none; padding: 6px 12px; border-radius: 999px; }
.x-preview a.on { background: #c8963e; color: #0a0a0a; }

@media (max-width: 640px) {
  .x-sec { padding: 5rem 1.25rem; }
  .x-hero { padding: 6rem 1.25rem 4rem; }
}

/* Hero loop captions, in step with the pictures */

/* The course */
.x-course .x-in { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 4rem; align-items: center; }
.x-course-art { position: relative; display: flex; justify-content: center; padding-right: 4rem; }
.x-ticks { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 0.9rem; }
.x-ticks li { display: flex; gap: 0.75rem; color: var(--ink); line-height: 1.5; }
.x-ticks li::before { content: ''; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: rgba(200,150,62,0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' stroke='%23e8b86d' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
@media (max-width: 860px) {
  .x-course .x-in { grid-template-columns: 1fr; gap: 4rem; }
  .x-course-art { padding-right: 0; }
}

/* Page heads on the free pages keep their own styles; the shared footer adds the app */
.footer-app { display: inline-block; margin-top: 0.4rem; color: #c8963e !important; }

/* ── Our Story ──────────────────────────────────────── */
.s-hero { padding-bottom: 6rem; text-align: center; background: radial-gradient(ellipse 60% 70% at 50% 30%, rgba(200,150,62,0.16), transparent 70%); }
.s-hero .x-h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); }
.s-igbo { font-style: italic; text-transform: none; letter-spacing: 0.04em; font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; }
.s-values { display: flex; justify-content: center; gap: 2.5rem; margin-top: 3rem; flex-wrap: wrap; }
.s-values div { display: flex; flex-direction: column; align-items: center; }
.s-values b { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 500; font-size: 1.5rem; color: var(--gold-light); }
.s-values span { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--soft); margin-top: 0.2rem; }
.s-read { max-width: 680px; margin: 0 auto; }
.s-num { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.s-num::before { content: ''; display: inline-block; width: 28px; height: 1px; background: var(--gold); vertical-align: middle; margin-right: 0.7rem; }
.s-chapter .x-h2 { margin-bottom: 1.8rem; }
.s-read p, .s-text p { font-size: 1.08rem; line-height: 1.8; color: var(--soft); margin-top: 1.2rem; }
.s-read p strong, .s-text p strong { color: var(--ink); font-weight: 500; }
.s-read p em, .s-text p em { color: var(--gold-light); }
.s-read .s-big { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.5rem, 3vw, 1.9rem); line-height: 1.45; color: var(--ink); margin-top: 0; }
.s-turn { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.6rem, 3.4vw, 2.2rem) !important; line-height: 1.3 !important; color: var(--ink) !important; margin-top: 2.6rem !important; }
.s-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2.5rem; }
.s-card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 2rem; }
.s-card p { font-size: 1rem; line-height: 1.75; color: var(--soft); }
.s-card em { color: var(--gold-light); }
.s-statement { max-width: 820px; margin: 5rem auto 0; text-align: center; }
.s-statement p { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 4.6vw, 3.3rem); line-height: 1.12; color: var(--ink); }
.s-statement span { display: block; max-width: 620px; margin: 1.4rem auto 0; font-size: 1rem; line-height: 1.7; color: var(--soft); }
.s-statement em { color: var(--gold-light); }
.s-room { background: linear-gradient(180deg, #0a0a0a, #14100a 50%, #0a0a0a); }
.s-room .x-in { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 4rem; align-items: center; }
.s-photo { margin: 0; }
.s-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 28px; display: block; box-shadow: 0 40px 80px -30px rgba(0,0,0,0.8); background: #161412; }
.s-photo figcaption { font-size: 0.8rem; color: var(--soft); margin-top: 0.9rem; text-align: center; }
.s-text p:first-child { margin-top: 0; }
.s-quote { padding-top: 5rem; padding-bottom: 5rem; }
.s-quote .x-h2 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
.s-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 4rem; }
.s-pillar { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 2rem 1.8rem; }
.s-pillar b { display: block; font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 500; font-size: 2rem; color: var(--gold-light); line-height: 1.1; }
.s-pillar span { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--soft); }
.s-pillar p { font-size: 0.98rem; line-height: 1.7; color: var(--soft); margin-top: 1.2rem; }
.s-build { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2.5rem; }
.s-build-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 2.4rem; text-decoration: none; color: inherit; transition: border-color 0.2s, transform 0.2s; }
.s-build-card:hover { border-color: rgba(200,150,62,0.6); transform: translateY(-3px); }
.s-build-card .x-h3 { margin-bottom: 0.8rem; }
.s-build-card p { font-size: 1rem; line-height: 1.7; color: var(--soft); flex: 1; }
.s-build-app { background: radial-gradient(ellipse 80% 70% at 100% 0%, rgba(200,150,62,0.2), transparent 70%), var(--card); border-color: rgba(200,150,62,0.4); position: relative; }
.s-build-app img { width: 72px; height: 72px; margin-bottom: 1.4rem; filter: drop-shadow(0 10px 24px rgba(200,150,62,0.35)); }
.s-close { text-align: center; border-top: 1px solid var(--line); }
@media (max-width: 860px) {
  .s-pair, .s-build, .s-pillars { grid-template-columns: 1fr; }
  .s-room .x-in { grid-template-columns: 1fr; gap: 2.5rem; }
  .s-photo { max-width: 420px; margin: 0 auto; }
}

/* ── Sign in ────────────────────────────────────────── */
.a-page { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.a-side { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 2.2rem 3.5rem 3rem; background: radial-gradient(ellipse 80% 60% at 30% 40%, rgba(200,150,62,0.22), transparent 70%), #0d0b09; border-right: 1px solid var(--line); }
.a-side-art { display: flex; justify-content: center; margin: 2rem 0; }
.a-phones { position: relative; width: 330px; height: 470px; }
.a-phones .x-phone { position: absolute; width: 210px; }
.a-phone-back { left: 0; top: 30px; transform: rotate(-6deg); opacity: 0.85; }
.a-phone-front { right: 0; top: 0; transform: rotate(4deg); }
.a-side .x-h2 { font-size: clamp(2.2rem, 3.6vw, 3.2rem); }
.a-side .x-lede { font-size: 1.05rem; margin-top: 1rem; }
.a-main { display: flex; align-items: center; justify-content: center; padding: 3rem 1.5rem; }
.a-box { width: 100%; max-width: 420px; }
.a-logo-m { display: none; margin-bottom: 2rem; }
.a-title { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 2.4rem; line-height: 1.1; color: var(--ink); }
.a-sub { font-size: 0.95rem; color: var(--soft); margin-top: 0.5rem; line-height: 1.6; }
.a-tabs { display: flex; gap: 4px; background: #111; border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin: 2rem 0 1.6rem; }
.a-tabs .tab { flex: 1; border: none; background: none; cursor: pointer; padding: 0.7rem 1rem; border-radius: 999px; font-family: 'DM Sans', sans-serif; font-size: 0.92rem; color: var(--soft); transition: background 0.2s, color 0.2s; }
.a-tabs .tab.active { background: var(--gold); color: #0a0a0a; font-weight: 500; }
.a-box.reset .a-tabs, .a-box.reset .a-head { display: none; }
.a-box .panel { display: none; }
.a-box .panel.active { display: block; animation: a-in 0.3s ease; }
@keyframes a-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.a-box .field { margin-bottom: 1.1rem; }
.a-box label { display: block; font-size: 0.82rem; color: var(--soft); margin-bottom: 0.45rem; }
.a-box input[type=text], .a-box input[type=email], .a-box input[type=password] { width: 100%; min-height: 52px; background: #111; border: 1px solid #2c2926; border-radius: 14px; padding: 0 1.1rem; color: var(--ink); font-family: 'DM Sans', sans-serif; font-size: 1rem; outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.a-box input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,150,62,0.15); }
.a-box input::placeholder { color: #5f5953; }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 4.5rem !important; }
.toggle-pw { position: absolute; right: 0.6rem; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--soft); font-family: 'DM Sans', sans-serif; font-size: 0.8rem; cursor: pointer; padding: 0.4rem 0.5rem; }
.toggle-pw:hover { color: var(--gold-light); }
.strength-bar { height: 3px; background: #1e1c1a; border-radius: 3px; margin-top: 0.5rem; overflow: hidden; }
.strength-fill { height: 100%; width: 0; transition: width 0.3s, background 0.3s; }
.a-box .btn { width: 100%; min-height: 54px; margin-top: 0.6rem; border: none; border-radius: 999px; background: var(--gold); color: #0a0a0a; font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 500; cursor: pointer; transition: background 0.2s, transform 0.15s; }
.a-box .btn:hover { background: var(--gold-light); }
.a-box .btn:active { transform: scale(0.98); }
.a-box .btn.loading { opacity: 0.7; pointer-events: none; }
.forgot-link, .back-link { background: none; border: none; color: var(--soft); font-family: 'DM Sans', sans-serif; font-size: 0.88rem; cursor: pointer; padding: 0; }
.forgot-link { display: block; margin: 1.2rem auto 0; }
.forgot-link:hover, .back-link:hover { color: var(--gold-light); }
.back-link { margin-bottom: 1.5rem; }
.reset-heading { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 500; color: var(--ink); }
.reset-subtext { font-size: 0.92rem; color: var(--soft); line-height: 1.6; margin: 0.5rem 0 1.5rem; }
.message { display: none; font-size: 0.9rem; line-height: 1.5; border-radius: 12px; padding: 0.8rem 1rem; margin-bottom: 1.1rem; }
.message.error { display: block; background: rgba(224,82,82,0.1); border: 1px solid rgba(224,82,82,0.35); color: #f2a0a0; }
.message.success { display: block; background: rgba(82,183,136,0.1); border: 1px solid rgba(82,183,136,0.35); color: #8fdcb5; }
.value-prop { font-size: 0.88rem; color: var(--soft); line-height: 1.6; background: rgba(200,150,62,0.07); border: 1px solid rgba(200,150,62,0.22); border-radius: 14px; padding: 0.9rem 1rem; margin-bottom: 1.3rem; }
.consent-row { display: flex !important; gap: 0.7rem; align-items: flex-start; font-size: 0.85rem !important; line-height: 1.55; color: var(--soft); margin: 0.4rem 0 0.8rem !important; cursor: pointer; }
.consent-row input { margin-top: 0.2rem; accent-color: #c8963e; width: 18px; height: 18px; flex: none; }
.consent-row a, .a-foot a { color: var(--gold-light); }
.a-foot { font-size: 0.82rem; color: var(--soft); text-align: center; margin-top: 2rem; line-height: 1.6; }
@media (max-width: 900px) {
  .a-page { grid-template-columns: 1fr; }
  .a-side { display: none; }
  .a-logo-m { display: block; }
  .a-main { align-items: flex-start; padding-top: 2.5rem; }
}
@media (max-height: 820px) { .a-phones { transform: scale(0.78); margin: -50px 0; } }

/* ── The menu button, the same pill on every page ───── */
.nav-btn.nav-getapp { display: inline-flex; align-items: center; background: #c8963e; border: 1px solid #c8963e; color: #0a0a0a; border-radius: 999px; padding: 0.5rem 1.15rem; font-size: 0.82rem; font-weight: 500; letter-spacing: 0.02em; text-transform: none; text-decoration: none; transition: background 0.2s; }
.nav-btn.nav-getapp:hover { background: #e8b86d; color: #0a0a0a; }

/* ── The older pages (Ọdịnala, Digital Wisdom, Today, Businesses, Profile,
   legal pages) in the homepage's style: rounded, calmer, larger headings.
   Their own inline styles stay; these come later in the page and win. ── */
.hero-title, .page-title { font-size: clamp(2.6rem, 7vw, 4.4rem); line-height: 1.02; letter-spacing: -0.01em; }
.hero-sub, .page-sub { font-size: 1.02rem; line-height: 1.65; color: #a8a097; }
.hero-eyebrow, .page-eyebrow { font-size: 0.72rem; letter-spacing: 0.22em; }
.search-input { border-radius: 999px; min-height: 52px; padding: 0 1.3rem; background: #121110; font-size: 1rem; }
.search-btn { border-radius: 999px; min-height: 52px; padding: 0 1.6rem; text-transform: none; letter-spacing: 0.01em; font-size: 1rem; font-weight: 500; }
.cat-btn, .topic-btn, .journey-step { border-radius: 999px; text-transform: none; letter-spacing: 0.01em; font-size: 0.86rem; padding: 0.5rem 1.05rem; }
.archive-card, .lesson-card, .biz-card, .post-card, .contribute-box, .modal, main .card { border-radius: 22px; background: #121110; border-color: #232020; overflow: hidden; }
.archive-card:hover, .lesson-card:hover, .biz-card:hover { border-color: rgba(200,150,62,0.55); transform: translateY(-3px); }
.archive-card, .lesson-card, .biz-card { padding: 1.7rem; }
.card-title { font-size: 1.4rem; line-height: 1.25; }
.card-excerpt { font-size: 0.9rem; line-height: 1.65; }
main .btn, .btn-gold, .btn-ghost, .share-btn, .contribute-toggle button, .contribute-box button[type="submit"], .btn-try-done, .btn-mark-done { border-radius: 999px; text-transform: none; letter-spacing: 0.01em; }
.tabs .tab { text-transform: none; letter-spacing: 0.01em; font-size: 0.95rem; }
.field label { text-transform: none; letter-spacing: 0.01em; font-size: 0.86rem; }
.field input, .field textarea, .field select { border-radius: 14px; }
.field input, .field select { min-height: 48px; }
.toast { border-radius: 999px; }
.skeleton { border-radius: 16px; }
.legal-wrap { max-width: 760px; }
.legal-title { font-size: clamp(2.6rem, 6vw, 3.8rem); line-height: 1.05; }
@media (max-width: 640px) {
  .hero-title, .page-title { font-size: clamp(2.3rem, 10vw, 3rem); }
  .search-btn { padding: 0 1.2rem; }
}

/* Signed in on a phone: the avatar must always fit. "Get the app" is in the
   menu (☰), and the admin switch keeps only its toggle. */
@media (max-width: 640px) {
  nav { gap: 0.5rem; }
  #nav-auth { gap: 0.6rem; min-width: 0; }
  #nav-auth .nav-getapp { display: none; }
  #admin-mode-lbl { display: none; }
  #admin-mode-wrap { gap: 0.4rem !important; padding-right: 0 !important; }
  .nav-avatar { flex: none; }
  #nav-auth, #nav-guest { margin-left: auto; }
  .hamburger { flex: none; }
}
/* The profile circle, for pages that don't style their own */
.nav-avatar { width: 32px; cursor: pointer; flex: none; height: 32px; border-radius: 50%; border: 1.5px solid #c8963e; background: #111; display: flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond', serif; font-size: 0.95rem; color: #c8963e; text-decoration: none; }

/* ── Igbo Businesses (Ahịa) ─────────────────────────── */
.b-in { max-width: 1080px; margin: 0 auto; padding: 0 1.5rem; }
.b-hero { padding: 5.5rem 0 3rem; text-align: center; background: radial-gradient(ellipse 70% 80% at 50% 0%, rgba(200,150,62,0.16), transparent 70%); }
.b-title { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: clamp(2.6rem, 7vw, 4.6rem); line-height: 1.02; color: var(--ink); }
.b-title em, .b-add-title em { font-style: italic; color: var(--gold-light); }
.b-sub { font-size: 1.05rem; line-height: 1.6; color: var(--soft); margin-top: 1rem; }
.b-hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin-top: 2rem; }
.b-count { margin-top: 1.4rem; font-size: 0.85rem; color: var(--soft); }
.b-count:empty { display: none; }
.b-controls { position: sticky; top: 60px; z-index: 20; padding: 1rem 0; background: rgba(10,10,10,0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.b-search { display: flex; align-items: center; gap: 0.6rem; background: #121110; border: 1px solid #2c2926; border-radius: 999px; padding: 0 1.1rem; color: var(--soft); transition: border-color .2s; }
.b-search:focus-within { border-color: var(--gold); }
.b-search-input { flex: 1; min-width: 0; min-height: 52px; background: none; border: none; outline: none; color: var(--ink); font-family: 'DM Sans', sans-serif; font-size: 1rem; }
.b-search-input::placeholder { color: #6f675e; }
.b-cats { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.9rem; }
.b-cats .cat-btn { flex: none; background: #121110; border: 1px solid #2c2926; color: #c9c1b6; border-radius: 999px; padding: 0.5rem 1rem; font-family: 'DM Sans', sans-serif; font-size: 0.86rem; text-transform: none; letter-spacing: 0.01em; cursor: pointer; transition: border-color .2s, background .2s; }
.b-cats .cat-btn:hover { border-color: var(--gold); }
.b-cats .cat-btn.active { background: var(--gold); border-color: var(--gold); color: #0a0a0a; }
.b-list { padding-top: 2rem; padding-bottom: 4rem; }
.b-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1.1rem; }
.b-card { position: relative; display: flex; flex-direction: column; gap: 0.9rem; padding: 1.5rem; background: var(--card); border: 1px solid var(--line); border-radius: 24px; transition: border-color .2s, transform .2s, box-shadow .2s; }
.b-card:hover { border-color: rgba(200,150,62,0.5); transform: translateY(-2px); }
.b-card.supporter { border-color: rgba(200,150,62,0.55); background: radial-gradient(ellipse 80% 60% at 100% 0%, rgba(200,150,62,0.14), transparent 70%), var(--card); }
.b-card.highlight { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(200,150,62,0.3); }
.b-supporter { align-self: flex-start; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-light); }
.b-card-head { display: flex; align-items: center; gap: 0.9rem; }
.b-mono { flex: none; width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: rgba(200,150,62,0.14); border: 1px solid rgba(200,150,62,0.35); color: var(--gold-light); font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 600; }
.b-card-id { min-width: 0; }
.b-name { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 1.45rem; line-height: 1.15; color: var(--ink); }
.b-name .verified-badge { display: inline-flex; vertical-align: 0.1em; margin-left: 0.25rem; width: 18px; height: 18px; border-radius: 50%; background: var(--gold); align-items: center; justify-content: center; }
.b-name .verified-badge svg { width: 12px; height: 12px; }
.b-meta { font-size: 0.82rem; color: var(--soft); margin-top: 0.2rem; }
.b-desc { font-size: 0.95rem; line-height: 1.6; color: #c9c1b6; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer; }
.b-desc.open { -webkit-line-clamp: unset; }
.b-address { display: flex; align-items: flex-start; gap: 0.45rem; font-size: 0.85rem; color: var(--soft); line-height: 1.45; }
.b-address svg { flex: none; margin-top: 2px; color: var(--gold); }
.b-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-top: auto; padding-top: 0.4rem; }
.b-act { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 1rem; border-radius: 999px; border: 1px solid #3a3632; background: none; color: var(--ink); font-family: 'DM Sans', sans-serif; font-size: 0.9rem; text-decoration: none; cursor: pointer; transition: border-color .2s, background .2s; }
.b-act:hover { border-color: var(--gold); }
.b-act-main { background: var(--gold); border-color: var(--gold); color: #0a0a0a; font-weight: 500; }
.b-act-main:hover { background: var(--gold-light); }
.b-actions .social-link { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid #3a3632; color: var(--ink); }
.b-actions .social-link:hover { border-color: var(--gold); color: var(--gold-light); }
.b-actions .social-link svg { width: 16px; height: 16px; }
.b-share { margin-left: auto; color: var(--soft); border-color: transparent; padding: 0 0.6rem; }
.b-empty { text-align: center; padding: 3rem 1rem; color: var(--soft); }
.b-empty-title { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; color: var(--ink); margin-bottom: 0.4rem; }
.b-add { border-top: 1px solid var(--line); padding: 5rem 0; background: linear-gradient(180deg, #0a0a0a, #14100a); }
.b-add-head { max-width: 640px; margin: 0 auto; text-align: center; }
.b-add-head .x-btn { margin-top: 1.6rem; }
.b-add-title { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1; color: var(--ink); }
.b-form { display: none; max-width: 720px; margin: 2.5rem auto 0; padding: 2rem; background: var(--card); border: 1px solid #2b2722; border-radius: 28px; }
.b-form fieldset { border: none; padding: 0; margin: 0 0 1.6rem; min-width: 0; }
.b-form legend { font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; color: var(--ink); margin-bottom: 0.9rem; padding: 0; }
.b-form legend span, .b-field label span { font-family: 'DM Sans', sans-serif; font-size: 0.82rem; color: var(--soft); }
.b-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.b-field { margin-bottom: 1rem; }
.b-field label { display: block; font-size: 0.86rem; color: #c9c1b6; margin-bottom: 0.45rem; }
.b-field input, .b-field select, .b-field textarea { width: 100%; min-height: 50px; background: #0d0c0b; border: 1px solid #2c2926; border-radius: 14px; padding: 0 1rem; color: var(--ink); font-family: 'DM Sans', sans-serif; font-size: 1rem; outline: none; transition: border-color .2s, box-shadow .2s; }
.b-field textarea { min-height: 110px; padding: 0.8rem 1rem; resize: vertical; line-height: 1.55; }
.b-field select option { background: #121110; }
.b-field input:focus, .b-field select:focus, .b-field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(200,150,62,0.14); }
.b-form .field-hint { font-size: 0.78rem; color: var(--soft); margin-top: 0.35rem; text-align: right; }
.b-form .field-hint.over-limit { color: #f08080; }
.b-form .message { display: none; border-radius: 14px; padding: 0.8rem 1rem; margin-bottom: 1.2rem; font-size: 0.92rem; }
.b-form .message.error { display: block; background: rgba(224,82,82,0.1); border: 1px solid rgba(224,82,82,0.35); color: #f2a0a0; }
.b-form .message.success { display: block; background: rgba(82,183,136,0.1); border: 1px solid rgba(82,183,136,0.35); color: #8fdcb5; }
.b-submit { width: 100%; }
.b-submit.loading { opacity: 0.6; pointer-events: none; }
@media (max-width: 640px) {
  .b-hero { padding: 4rem 0 2.2rem; }
  .b-controls { top: 60px; padding: 0.8rem 0; }
  .b-cats { flex-wrap: nowrap; overflow-x: auto; margin: 0.8rem -1.5rem 0; padding: 0 1.5rem 0.2rem; scrollbar-width: none; }
  .b-cats::-webkit-scrollbar { display: none; }
  .b-row { grid-template-columns: 1fr; }
  .b-form { padding: 1.4rem; border-radius: 22px; }
  .b-add { padding: 3.5rem 0; }
}

/* ── Ọdịnala and Digital Wisdom (the library pages) ──── */
.l-hero { position: relative; min-height: min(62vh, 560px); display: flex; align-items: flex-end; padding: 7rem 0 3.5rem; text-align: center; background: linear-gradient(180deg, rgba(10,10,10,0.35) 0%, rgba(10,10,10,0.55) 45%, #0a0a0a 100%), var(--l-bg) center 30% / cover no-repeat; }
.l-hero .b-in { width: 100%; }
.l-title { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: clamp(3.4rem, 10vw, 6.4rem); line-height: 0.98; color: var(--ink); letter-spacing: -0.01em; }
.l-title em { font-style: italic; color: var(--gold-light); }
.l-sub { max-width: 560px; margin: 1.2rem auto 0; font-size: 1.08rem; line-height: 1.65; color: #d8d1c6; }
.l-list { padding-top: 2rem; padding-bottom: 4rem; }
.l-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1.1rem; }
.l-card { position: relative; display: flex; flex-direction: column; gap: 0.7rem; text-align: left; width: 100%; padding: 1.6rem; background: var(--card); border: 1px solid var(--line); border-radius: 24px; color: inherit; font: inherit; cursor: pointer; transition: border-color .2s, transform .2s; }
.l-card:hover, .l-card:focus-visible { border-color: rgba(200,150,62,0.55); transform: translateY(-3px); outline: none; }
.l-card.featured { border-color: rgba(200,150,62,0.45); background: radial-gradient(ellipse 80% 60% at 100% 0%, rgba(200,150,62,0.12), transparent 70%), var(--card); }
.l-card-tag { display: flex; justify-content: space-between; gap: 0.6rem; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.l-pick { letter-spacing: 0.06em; color: var(--gold-light); white-space: nowrap; }
.l-card-title { font-family: 'Cormorant Garamond', serif; font-size: 1.55rem; font-weight: 500; line-height: 1.2; color: var(--ink); }
.l-card-text { font-size: 0.93rem; line-height: 1.6; color: var(--soft); flex: 1; }
.l-card-foot { display: flex; justify-content: space-between; gap: 0.6rem; font-size: 0.8rem; color: #8a8278; padding-top: 0.3rem; }
.l-read { color: var(--gold); }
.l-skel { cursor: default; gap: 0.9rem; }
.l-skel:hover { transform: none; border-color: var(--line); }
.l-feature-img { display: block; max-width: 100%; height: auto; border-radius: 22px; margin-bottom: 1.5rem; }
/* the reading view */
.modal-overlay { background: rgba(5,5,5,0.86) !important; backdrop-filter: blur(6px); padding: 1.5rem !important; }
.modal-overlay .modal { max-width: 720px !important; border-radius: 28px !important; background: #111010 !important; border: 1px solid #2b2722 !important; padding: 3rem 3rem 2.5rem !important; max-height: none; }
.modal-overlay .modal-close { top: 1.1rem !important; right: 1.1rem !important; width: 40px; height: 40px; border-radius: 50% !important; background: rgba(255,255,255,0.06) !important; color: #e8d9bf !important; font-size: 1rem !important; }
.modal-overlay :is(.modal-category, .modal-topic) { font-size: 0.75rem !important; letter-spacing: 0.16em !important; }
.modal-overlay .modal-title { font-size: clamp(2rem, 5vw, 2.8rem) !important; line-height: 1.1 !important; margin-bottom: 1.4rem !important; padding-right: 2.5rem; }
.modal-overlay .modal-body, .modal-overlay #modal-content { font-size: 1.06rem !important; line-height: 1.8 !important; color: #d6cfc4 !important; }
.modal-overlay .modal-body h2, .modal-overlay .modal-body h3 { font-family: 'Cormorant Garamond', serif; color: var(--ink, #f0ece4); font-weight: 500; }
.modal-overlay .share-btn { border-radius: 999px !important; min-height: 42px; padding: 0 1.2rem !important; }
.l-gate { margin-top: 1.4rem; padding: 1.8rem; border-radius: 22px; text-align: center; border: 1px solid rgba(200,150,62,0.35); background: radial-gradient(ellipse 80% 80% at 50% 0%, rgba(200,150,62,0.14), transparent 70%), #151310; }
.l-gate-title { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; color: #f0ece4; margin: 0; }
.l-gate-sub { color: #a8a097; margin: 0.4rem 0 1.2rem; }
.l-gate .x-btn { margin: 0.3rem; }
@media (max-width: 640px) {
  .l-hero { min-height: 48vh; padding: 6rem 0 2.5rem; }
  .modal-overlay { padding: 0 !important; align-items: flex-end !important; }
  .modal-overlay .modal { border-radius: 26px 26px 0 0 !important; padding: 2.4rem 1.4rem 2rem !important; max-height: 92vh !important; overflow-y: auto !important; margin: 0 !important; }
}
.l-gate .x-btn-gold { color: #0a0a0a !important; text-decoration: none; }
.l-gate .x-btn-line { color: #f0ece4 !important; text-decoration: none; }
.l-gate-title { line-height: 1.2; }

/* ── Today's Dijioma: four steps as one path ─────────── */
.t-hero { max-width: 760px; margin: 0 auto; padding: 3rem 1.5rem 2rem; text-align: center; }
.t-title { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: clamp(3rem, 9vw, 5.2rem); line-height: 1; color: var(--ink); }
.t-title em, .t-sub em { font-style: italic; color: var(--gold-light); }
.t-sub { font-size: 1.08rem; line-height: 1.65; color: var(--soft); margin: 1.1rem auto 0; max-width: 560px; }
.t-rail { list-style: none; display: flex; justify-content: center; gap: 0.4rem; margin: 2rem 0 0; padding: 0; counter-reset: t; flex-wrap: wrap; }
.t-rail li { counter-increment: t; display: flex; align-items: center; gap: 0.45rem; padding: 0.4rem 0.85rem 0.4rem 0.4rem; border-radius: 999px; border: 1px solid #2c2926; font-size: 0.85rem; color: #c9c1b6; }
.t-rail li::before { content: counter(t); width: 24px; height: 24px; border-radius: 50%; background: rgba(200,150,62,0.16); color: var(--gold-light); display: flex; align-items: center; justify-content: center; font-size: 0.78rem; }
.t-steps { position: relative; max-width: 760px; margin: 0 auto; padding: 1rem 1.5rem 0; display: flex; flex-direction: column; gap: 1.1rem; }
.t-steps::before { content: ''; position: absolute; left: calc(1.5rem + 2.6rem); top: 2.5rem; bottom: 2rem; width: 1px; background: linear-gradient(180deg, rgba(200,150,62,0.5), rgba(200,150,62,0.08)); }
.t-card { position: relative; display: flex; flex-direction: column; gap: 0.9rem; padding: 1.7rem 1.7rem 1.7rem 1.7rem; background: var(--card); border: 1px solid var(--line); border-radius: 24px; }
.t-head { display: flex; align-items: center; gap: 0.9rem; }
.t-num { flex: none; width: 46px; height: 46px; border-radius: 50%; background: #c8963e; color: #0a0a0a; font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 600; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 6px #121110; }
.t-word { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.6rem; line-height: 1; color: var(--gold-light); }
.t-what { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--soft); margin-top: 0.25rem; }
.t-card-title { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: clamp(1.6rem, 4vw, 2.1rem); line-height: 1.15; color: var(--ink); }
.t-body { font-size: 1.04rem; line-height: 1.75; color: #d6cfc4; white-space: pre-line; margin: 0; }
.t-link { align-self: flex-start; color: var(--gold-light); text-decoration: none; font-size: 0.95rem; }
.t-link:hover { text-decoration: underline; }
.t-skel { gap: 1rem; }
/* Obiọma: the act of kindness */
.t-card .try-principle { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.35rem; line-height: 1.4; color: var(--ink); margin: 0; }
.t-card .try-prompt { font-size: 1.02rem; line-height: 1.7; color: #d6cfc4; margin: 0.6rem 0 0; }
.t-card .try-action { margin-top: 1rem; padding: 1.2rem 1.3rem; border-radius: 18px; background: rgba(200,150,62,0.1); border: 1px solid rgba(200,150,62,0.35); font-size: 1.05rem; line-height: 1.6; color: var(--ink); }
.t-card .try-action-label { display: block; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.4rem; }
/* Check: quiz or word */
.t-check { border-color: rgba(200,150,62,0.4); }
.t-card .quiz-q { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; line-height: 1.3; color: var(--ink); margin-bottom: 1rem; }
.t-card #quiz-options { display: grid; gap: 0.6rem; }
.t-card .option-btn { width: 100%; text-align: left; min-height: 54px; padding: 0.8rem 1.1rem; border-radius: 16px; border: 1px solid #2c2926; background: #0d0c0b; color: var(--ink); font-family: 'DM Sans', sans-serif; font-size: 1rem; cursor: pointer; transition: border-color .2s, background .2s; }
.t-card .option-btn:hover:not(:disabled) { border-color: var(--gold); }
.t-card .option-btn.correct { border-color: #7dd8a0; background: rgba(125,216,160,0.1); }
.t-card .option-btn.wrong { border-color: #f08080; background: rgba(240,128,128,0.08); }
.t-card .quiz-reveal { border-radius: 16px; border-left: none; background: rgba(200,150,62,0.08); padding: 1rem 1.2rem; line-height: 1.65; }
.t-card .fc-wrap { padding: 1.4rem; border-radius: 20px; border: 1px dashed rgba(200,150,62,0.45); }
.t-card .btn-mark-done { align-self: flex-start; min-height: 48px; padding: 0 1.4rem; border-radius: 999px; border: none; background: var(--gold); color: #0a0a0a; font-family: 'DM Sans', sans-serif; font-size: 1rem; cursor: pointer; }
/* finished */
.t-done { max-width: 760px; margin: 1.5rem auto 0; padding: 2.4rem 1.5rem; text-align: center; border-radius: 28px; border: 1px solid rgba(200,150,62,0.45); background: radial-gradient(ellipse 70% 80% at 50% 0%, rgba(200,150,62,0.2), transparent 70%), var(--card); }
main .t-done { margin-left: auto; margin-right: auto; width: calc(100% - 3rem); }
.t-done .completion-kola { width: 64px; height: 64px; }
.t-done .completion-title { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 2.4rem; color: var(--gold-light); margin-top: 0.6rem; }
.t-done .completion-sub { color: #d6cfc4; font-size: 1rem; line-height: 1.6; }
.t-done .completion-streak { color: var(--gold-light); font-size: 1rem; margin: 0.6rem 0; }
.t-done .t-more-label { color: var(--soft); font-size: 0.85rem; margin-top: 1.2rem; }
.t-done .completion-explore { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-top: 0.8rem; }
.t-done .completion-explore a { text-transform: none; letter-spacing: 0.01em; font-family: "DM Sans", sans-serif; padding: 0.5rem 1rem; border-radius: 999px; border: 1px solid #3a3632; color: var(--ink); text-decoration: none; font-size: 0.9rem; }
.t-done .completion-explore a:hover { border-color: var(--gold); }
.t-actions { max-width: 760px; margin: 1.5rem auto 4rem; padding: 0 1.5rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem; }
@media (max-width: 640px) {
  .t-hero { padding: 2.2rem 1.25rem 1.5rem; }
  .t-steps { padding: 0.5rem 1rem 0; }
  .t-steps::before { left: calc(1rem + 2.35rem); }
  .t-card { padding: 1.4rem 1.2rem; border-radius: 22px; }
}

/* ── Profile ─────────────────────────────────────────── */
.p-wrap { max-width: 720px; margin: 0 auto; padding: 3rem 0; }
.p-head { display: flex; align-items: center; gap: 1.5rem; }
.p-avatar { flex: none; width: 96px; height: 96px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond', serif; font-size: 3rem; color: var(--gold-light); background: radial-gradient(circle at 50% 30%, #2a2014, #120e09); border: 1px solid rgba(200,150,62,0.45); box-shadow: 0 0 0 8px rgba(200,150,62,0.08); }
.p-id { min-width: 0; }
.p-name { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: clamp(2.1rem, 6vw, 2.8rem); line-height: 1.05; color: var(--ink); }
.p-email { color: var(--soft); font-size: 0.95rem; margin-top: 0.3rem; overflow-wrap: anywhere; }
.p-bio { color: #c9c1b6; font-size: 0.95rem; line-height: 1.6; margin: 0.6rem 0 0; }
.p-meta { display: flex; gap: 1.2rem; margin-top: 0.7rem; font-size: 0.85rem; color: var(--soft); }
.p-meta b { color: var(--ink); font-weight: 500; }
.p-tabs { display: flex; gap: 4px; background: #111; border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin: 2.2rem 0 1.4rem; }
.p-tabs .tab { flex: 1; border: none; background: none; cursor: pointer; padding: 0.7rem 1rem; border-radius: 999px; font-family: 'DM Sans', sans-serif; font-size: 0.95rem; color: var(--soft); text-transform: none; letter-spacing: 0; border-bottom: none !important; }
.p-tabs .tab.active { background: var(--gold); color: #0a0a0a; }
.p-section { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: #8f8574; margin: 1.8rem 0.4rem 0.6rem; }
.p-group { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 1.3rem 1.3rem 0.4rem; }
.p-group .field { margin-bottom: 1rem; }
.p-group .field label { display: block; font-size: 0.86rem; color: #c9c1b6; margin-bottom: 0.45rem; text-transform: none; letter-spacing: 0.01em; }
.p-group .field input, .p-group .field select { width: 100%; min-height: 50px; background: #0d0c0b; border: 1px solid #2c2926; border-radius: 14px; padding: 0 1rem; color: var(--ink); font-size: 1rem; }
.p-list { padding: 0.3rem 0; }
.p-toggle { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.95rem 1.3rem; cursor: pointer; color: var(--ink); font-size: 1rem; }
.p-toggle + .p-toggle { border-top: 1px solid #221d17; }
.p-toggle input { appearance: none; -webkit-appearance: none; flex: none; width: 50px; height: 30px; border-radius: 15px; background: #3a3124; position: relative; cursor: pointer; transition: background .2s; }
.p-toggle input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .2s; }
.p-toggle input:checked { background: var(--gold); }
.p-toggle input:checked::after { transform: translateX(20px); }
.p-toggle input:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; }
.p-note { font-size: 0.8rem; color: #8f8574; padding: 0.2rem 1.3rem 0.9rem; margin: 0; border-top: 1px solid #221d17; padding-top: 0.8rem; }
.p-save { width: 100%; margin-top: 1.6rem; }
.p-save.loading { opacity: 0.6; pointer-events: none; }
.p-row { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 56px; padding: 0 1.3rem; background: none; border: none; color: var(--ink); font-family: 'DM Sans', sans-serif; font-size: 1rem; cursor: pointer; }
.p-row span:last-child { color: var(--gold); }
.p-danger { text-align: center; margin-top: 2.2rem; }
.p-danger p { font-size: 0.85rem; color: #8f8574; line-height: 1.6; max-width: 460px; margin: 0 auto 0.6rem; }
.p-danger-btn { background: none; border: none; color: #ff9a7a; font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 500; cursor: pointer; min-height: 44px; }
#panel-edit .message { border-radius: 14px; }
#panel-posts .post-card { border-radius: 22px; background: var(--card); border-color: var(--line); }
@media (max-width: 640px) {
  .p-wrap { padding: 2rem 0; }
  .p-head { flex-direction: column; text-align: center; gap: 1rem; }
  .p-meta { justify-content: center; }
  .p-group { padding: 1.1rem 1rem 0.3rem; }
  .p-list { padding: 0.2rem 0; }
}
.p-contact:has(#contact-fields:empty) { display: none; }

/* ── Test Your Igbo Wisdom (quiz) ─────────────────────── */
.qz .quiz-surface { padding: 90px 1.25rem 3rem; }
.qz .app { max-width: 640px !important; width: 100%; background: rgba(12,11,10,0.8) !important; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(200,150,62,0.3) !important; border-radius: 32px !important; padding: 2.6rem 2rem !important; box-shadow: 0 40px 80px -30px rgba(0,0,0,0.8) !important; }
.qz .screen.active { gap: 0.6rem; text-align: center; }
.qz .kola { width: 56px !important; height: 56px !important; margin-bottom: 0.6rem; }
.qz-title { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: clamp(2.4rem, 7vw, 3.6rem); line-height: 1.02; color: #f0ece4; margin: 0.2rem 0 0; }
.qz-title em { font-style: italic; color: #e8b86d; }
.qz .lede { font-size: 1.02rem !important; color: #c9c1b6 !important; margin: 0.6rem 0 1.4rem !important; line-height: 1.6; }
.qz .top-bar { width: 100%; display: flex; align-items: center; gap: 0.8rem; font-size: 0.85rem; color: #a8a097; margin-bottom: 1.2rem; }
.qz .progress-track { flex: 1; height: 6px !important; border-radius: 6px !important; background: #2a2520 !important; overflow: hidden; }
.qz .progress-fill { background: #c8963e !important; border-radius: 6px; }
.qz .score-pill { padding: 0.3rem 0.8rem; border-radius: 999px; border: 1px solid rgba(200,150,62,0.4); color: #e8b86d; background: none !important; }
.qz .question-card { width: 100%; background: none !important; border: none !important; box-shadow: none !important; padding: 0 !important; margin-bottom: 1.2rem; }
.qz .question-text { font-family: 'Cormorant Garamond', serif !important; font-size: clamp(1.5rem, 4.4vw, 2rem) !important; line-height: 1.25 !important; color: #f0ece4 !important; text-align: left; }
.qz .options { width: 100%; display: grid; gap: 0.65rem; }
.qz .option-btn { width: 100%; display: flex !important; align-items: center; gap: 0.9rem; text-align: left; min-height: 58px; padding: 0.7rem 1rem !important; border-radius: 18px !important; border: 1px solid #2f2a24 !important; background: #0d0c0b !important; color: #f0ece4 !important; font-family: 'DM Sans', sans-serif !important; font-size: 1rem !important; cursor: pointer; transition: border-color .2s, background .2s; box-shadow: none !important; }
.qz .option-btn:hover:not(:disabled) { border-color: #c8963e !important; }
.qz .option-key { flex: none; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(200,150,62,0.14) !important; color: #e8b86d !important; font-size: 0.85rem; border: none !important; }
.qz .option-btn.correct { border-color: #7dd8a0 !important; background: rgba(125,216,160,0.1) !important; }
.qz .option-btn.correct .option-key { background: #7dd8a0 !important; color: #0a0a0a !important; }
.qz .option-btn.wrong { border-color: #f08080 !important; background: rgba(240,128,128,0.08) !important; }
.qz .feedback { font-size: 1rem; margin-top: 1rem; }
.qz .detail-card { width: 100%; text-align: left; border-radius: 18px !important; background: rgba(200,150,62,0.08) !important; border: 1px solid rgba(200,150,62,0.25) !important; color: #d6cfc4 !important; line-height: 1.65; }
.qz .btn-next-question { margin-top: 1.2rem !important; min-height: 52px; padding: 0 1.8rem !important; text-transform: none !important; letter-spacing: 0 !important; font-size: 1rem !important; border-radius: 999px !important; }
.qz .btn-next-question:not(.visible) { display: none !important; }
.qz .key-hint { font-size: 0.78rem; color: #8f8574; margin-top: 1rem; }
.qz .end-title { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 2.4rem !important; color: #e8b86d !important; }
.qz .end-score { font-family: 'Cormorant Garamond', serif; font-size: 4.2rem !important; line-height: 1; color: #f0ece4 !important; }
.qz .end-message { color: #c9c1b6 !important; font-size: 1rem; margin: 0.4rem 0 1.4rem; line-height: 1.6; }
.qz-next { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1.4rem; }
.qz-next a { color: #e8b86d; text-decoration: none; font-size: 0.95rem; }
@media (max-width: 640px) { .qz .app { padding: 2rem 1.2rem !important; border-radius: 26px !important; } .qz .key-hint { display: none; } }

/* Social sign-in: bundled provider marks, no provider SDK or remote script. */
[hidden] { display: none !important; }
.social-message { color: var(--gold-light, #e3b765); line-height: 1.5; }
.social-message:empty { display: none; }
.social-buttons { display: grid; gap: 12px; margin: 16px 0; }
.social-buttons .btn { display: flex; justify-content: center; align-items: center; width: 100%; min-height: 54px; padding: 12px 20px; border: 1px solid #777; border-radius: 999px; font: 500 16px 'DM Sans', sans-serif; cursor: pointer; }
.social-buttons .social-apple, .a-box .social-apple:hover { background: #000; color: #fff; }
.social-buttons .social-google, .a-box .social-google:hover { background: #fff; color: #1f1f1f; }
.social-buttons button:disabled { opacity: .5; cursor: wait; }
.other-ways, .email-choice { margin: 18px 0; }
.other-ways > summary, .email-choice > summary { cursor: pointer; padding: 12px 0; color: var(--gold-light, #e3b765); }
.social-text-button { border: 0; background: none; color: var(--gold-light, #e3b765); font: inherit; cursor: pointer; padding: 12px 0; }
.social-dialog { width: min(440px, calc(100% - 32px)); border: 1px solid #574725; border-radius: 20px; background: #111; color: #f0ece4; padding: 28px; margin: auto; font-family: 'DM Sans', sans-serif; }
.social-dialog::backdrop { background: #000b; }
.social-dialog h2 { font-family: 'Cormorant Garamond', serif; font-size: 2rem; margin: 0 0 16px; }
.social-dialog label { display: block; margin: 16px 0 6px; }
.social-dialog input, #website-delete-proof input { display: block; width: 100%; padding: 14px; border: 1px solid #777; border-radius: 8px; background: #171717; color: #fff; font: inherit; }
.social-dialog .btn { padding: 14px 24px; border: 0; border-radius: 999px; background: #c8963e; color: #000; font: inherit; cursor: pointer; margin: 16px 0; }
.social-dialog button:disabled { opacity: .5; }
.social-buttons button:focus-visible, .social-dialog button:focus-visible, .social-text-button:focus-visible, .other-ways summary:focus-visible, .email-choice summary:focus-visible { outline: 3px solid #e3b765; outline-offset: 4px; }

/* Both reading screens use a bounded, independently scrollable window. */
.modal-overlay .modal { max-height: 88dvh !important; overflow-y: auto !important; overscroll-behavior: contain; }
.reading-tick { display: block; margin-top: .65rem; color: #c8963e; font-size: .8rem; }
.reading-end { display: block; height: 1px; }

/* Our Story: Talks (25 November 2026) */
.s-talk-list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1rem; }
.s-talk { background: var(--card); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.s-talk-body { padding: 1.5rem 1.8rem 1.7rem; }
.s-talk-when { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.s-talk-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.4rem, 3vw, 1.75rem); line-height: 1.25; color: var(--ink); margin-top: 0.5rem; }
.s-talk-where { font-size: 0.95rem; line-height: 1.6; color: var(--soft); margin-top: 0.4rem; }
.s-talk-links { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 1rem; }
.s-talk-links a { color: var(--gold-light); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.s-talk-links a:hover { text-decoration: underline; }
.s-video, .s-video-frame { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; margin: 0; padding: 0; background: #000; }
.s-video { position: relative; cursor: pointer; }
.s-video img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.9; transition: opacity 0.2s; }
.s-video:hover img, .s-video:focus-visible img { opacity: 1; }
.s-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; border-radius: 50%; background: var(--gold); color: #0a0a0a; display: flex; align-items: center; justify-content: center; padding-left: 4px; box-shadow: 0 10px 30px rgba(0,0,0,0.45); }
.s-video:focus-visible { outline: 3px solid var(--gold-light); outline-offset: -3px; }
.s-talks h2.s-talk-title { font-weight: 400; margin: 0.5rem 0 0; }
.s-talks { padding-top: 0; }
