/* ============================================================
   ScribeNex — Component styles (public pages)
   ============================================================ */

/* ---------- Home hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--ivory);
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(201,164,76,0.16), transparent 60%),
    linear-gradient(155deg, var(--ink) 0%, var(--hero-ink-2) 55%, var(--hero-ink-3) 100%);
  padding: 96px 0 110px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(201,164,76,0.09) 1px, transparent 1px);
  background-size: 34px 34px; opacity: 0.5; pointer-events: none;
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 60px; align-items: center; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border-radius: 100px;
  border: 1px solid rgba(201,164,76,0.4); background: rgba(201,164,76,0.1);
  color: var(--gold-bright); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; margin-bottom: 26px;
}
.hero h1 { color: var(--ivory); margin-bottom: 20px; }
.hero h1 em { font-style: italic; color: var(--gold-bright); }
.hero-sub { font-size: 1.12rem; color: var(--gray-300); max-width: 560px; margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 38px; flex-wrap: wrap; }
.hero-stat .num { font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; color: var(--gold-bright); }
.hero-stat .lbl { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray-400); }

/* Hero anthology spotlight card */
.hero-spotlight {
  background: rgba(255,253,248,0.04); border: 1px solid rgba(201,164,76,0.35); border-radius: var(--radius-lg);
  padding: 30px; backdrop-filter: blur(6px); box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}
.hero-spotlight .sp-tag { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.hero-spotlight h3 { color: var(--ivory); font-size: 1.5rem; margin-bottom: 4px; }
.hero-spotlight .sp-theme { color: var(--gold-bright); font-style: italic; font-family: var(--font-display); margin-bottom: 20px; }
.slots-meter { margin: 18px 0; }
.slots-meter .sm-row { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--gray-300); margin-bottom: 7px; }
.slots-meter .sm-row strong { color: var(--gold-bright); }
.hero-spotlight .countdown { margin: 22px 0; }
.hero-spotlight .btn { width: 100%; }

/* ---------- Book cover mock ---------- */
.book-cover {
  position: relative; aspect-ratio: 2/3; border-radius: 6px 14px 14px 6px; overflow: hidden;
  background: linear-gradient(150deg, var(--cover-ink-1), var(--cover-ink-2) 60%, var(--cover-ink-3));
  box-shadow: -8px 0 0 -3px rgba(201,164,76,0.55), 0 24px 50px rgba(20,17,15,0.35);
  display: flex; flex-direction: column; justify-content: space-between; padding: 10% 9%;
  color: var(--ivory); text-align: center; border: 1px solid rgba(201,164,76,0.3);
}
.book-cover::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 7%; background: linear-gradient(90deg, rgba(0,0,0,0.45), transparent); }
.book-cover .bc-brand { font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }
.book-cover .bc-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.1rem, 2.2vw, 1.6rem); color: var(--gold-bright); line-height: 1.2; }
.book-cover .bc-vol { font-family: var(--font-display); font-style: italic; font-size: 0.9rem; color: var(--ivory); margin-top: 6px; }
.book-cover .bc-theme { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray-300); }
.book-cover .bc-orn { color: var(--gold); font-size: 1.3rem; }
.book-cover--alt { background: linear-gradient(150deg, var(--cover-navy-1), var(--navy) 60%, var(--cover-navy-3)); }
.book-cover--sm .bc-title { font-size: 0.95rem; }
.book-cover--sm { padding: 8%; }
.book-cover--img { padding: 0; }
.book-cover--img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Anthology cards ---------- */
.anthology-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.anthology-card .ac-media { padding: 34px 34px 0; background: linear-gradient(180deg, var(--cream), transparent); display: flex; justify-content: center; }
.anthology-card .ac-media .book-cover { width: 170px; }
.anthology-card .ac-body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.anthology-card .ac-badges { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.anthology-card h3 { margin-bottom: 4px; }
.anthology-card .ac-theme { font-family: var(--font-display); font-style: italic; color: var(--gold-deep); margin-bottom: 14px; }
.anthology-card .ac-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; font-size: 0.83rem; color: var(--gray-500); margin-bottom: 18px; }
.anthology-card .ac-meta i { color: var(--gold-deep); width: 16px; }
.anthology-card .ac-actions { margin-top: auto; display: flex; gap: 10px; }
.anthology-card .ac-actions .btn { flex: 1; }

/* ---------- How it works ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; counter-reset: step; }
.step-item { position: relative; padding: 0 22px; text-align: center; counter-increment: step; }
.step-item::before {
  content: counter(step, decimal-leading-zero); display: flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%;
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 800;
  background: var(--ink); color: var(--gold-bright); border: 2px solid var(--gold); position: relative; z-index: 2;
}
.step-item::after {
  content: ''; position: absolute; top: 32px; left: calc(50% + 40px); right: calc(-50% + 40px);
  height: 2px; background: repeating-linear-gradient(90deg, var(--gray-300) 0 8px, transparent 8px 16px);
}
.step-item:last-child::after { display: none; }
.step-item h4 { margin-bottom: 8px; }
.step-item p { font-size: 0.88rem; color: var(--gray-500); }

/* ---------- Benefit list ---------- */
.benefit-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--gray-200); }
.benefit-item:last-child { border-bottom: none; }
.benefit-item i { width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: rgba(201,164,76,0.14); color: var(--gold-deep); font-size: 1.05rem; }
.benefit-item h4 { font-family: var(--font-body); font-size: 1rem; margin-bottom: 3px; }
.benefit-item p { font-size: 0.87rem; color: var(--gray-500); }

/* ---------- Testimonials ---------- */
.testimonial-card { position: relative; }
.testimonial-card .tq { font-family: var(--font-display); font-size: 3rem; color: var(--gold); line-height: 1; margin-bottom: 8px; }
.testimonial-card blockquote { font-size: 0.95rem; color: var(--gray-600); font-style: italic; margin-bottom: 20px; }
.testimonial-card .t-author { display: flex; align-items: center; gap: 12px; }
.testimonial-card .t-author strong { display: block; font-size: 0.92rem; }
.testimonial-card .t-author span { font-size: 0.78rem; color: var(--gray-500); }
.stars { color: var(--gold); font-size: 0.8rem; letter-spacing: 2px; }

/* ---------- Book store cards ---------- */
.book-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.book-card .bk-media { padding: 26px 26px 0; display: flex; justify-content: center; background: linear-gradient(180deg, var(--gray-100), transparent); position: relative; }
.book-card .bk-media .book-cover { width: 150px; }
.book-card .bk-ribbon { position: absolute; top: 14px; left: 14px; z-index: 2; }
.book-card .bk-wish { position: absolute; top: 14px; right: 14px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--gray-300); background: var(--white); color: var(--gray-400); transition: all var(--transition); }
.book-card .bk-wish:hover, .book-card .bk-wish.active { color: var(--burgundy); border-color: var(--burgundy); }
.book-card .bk-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.book-card .bk-cat { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold-deep); margin-bottom: 6px; }
.book-card h3 { font-size: 1.08rem; margin-bottom: 2px; }
.book-card .bk-author { font-size: 0.83rem; color: var(--gray-500); margin-bottom: 10px; }
.book-card .bk-rating { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--gray-500); margin-bottom: 14px; }
.book-card .bk-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.book-card .bk-price { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; }
.book-card .bk-price .free { color: var(--success); }
.book-card .bk-price s { color: var(--gray-400); font-size: 0.85rem; font-weight: 400; margin-right: 6px; }

/* ---------- Blog cards ---------- */
.blog-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.blog-card .bl-media { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--ink-mute), var(--ink-warm-2)); display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 2rem; position: relative; overflow: hidden; }
.blog-card .bl-media img { width: 100%; height: 100%; object-fit: cover; }
.blog-card .bl-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.blog-card .bl-meta { display: flex; gap: 14px; font-size: 0.76rem; color: var(--gray-500); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.blog-card .bl-meta .cat { color: var(--gold-deep); }
.blog-card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.blog-card h3 a:hover { color: var(--gold-deep); }
.blog-card p { font-size: 0.88rem; color: var(--gray-500); margin-bottom: 16px; }
.blog-card .bl-more { margin-top: auto; font-size: 0.85rem; font-weight: 600; color: var(--gold-deep); display: inline-flex; align-items: center; gap: 6px; transition: gap var(--transition); }
.blog-card .bl-more:hover { gap: 10px; }

/* ---------- FAQ accordion ---------- */
.faq-item { border: 1px solid var(--gray-200); border-radius: var(--radius); margin-bottom: 12px; background: var(--white); overflow: hidden; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 22px; background: none; border: none; text-align: left; font-size: 0.98rem; font-weight: 600; color: var(--ink);
  transition: background var(--transition);
}
.faq-q:hover { background: var(--gray-100); }
.faq-q i { color: var(--gold-deep); transition: transform var(--transition); flex-shrink: 0; }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a-inner { padding: 0 22px 20px; font-size: 0.92rem; color: var(--gray-500); }

/* ---------- Author cards ---------- */
.author-card { text-align: center; }
.author-card .avatar-lg { margin: 0 auto 16px; font-size: 1.6rem; }
.author-card h3 { font-size: 1.1rem; margin-bottom: 3px; }
.author-card .a-pen { font-style: italic; font-family: var(--font-display); color: var(--gold-deep); font-size: 0.9rem; margin-bottom: 10px; }
.author-card p { font-size: 0.85rem; color: var(--gray-500); }
.author-card .a-loc { margin-top: 12px; font-size: 0.78rem; color: var(--gray-400); }
.author-card .a-loc i { color: var(--gold-deep); margin-right: 5px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--ink), var(--ink-warm-3));
  border-radius: var(--radius-lg); padding: 56px; color: var(--ivory); position: relative; overflow: hidden;
  display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap;
}
.cta-band::after { content: '✒'; position: absolute; right: 30px; top: -30px; font-size: 12rem; color: rgba(201,164,76,0.09); }
.cta-band h2 { color: var(--ivory); margin-bottom: 8px; }
.cta-band p { color: var(--gray-300); max-width: 480px; }
.cta-band .cta-actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ---------- Newsletter ---------- */
.newsletter-form { display: flex; gap: 10px; max-width: 480px; margin: 24px auto 0; }
.newsletter-form input { flex: 1; }
@media (max-width: 560px) { .newsletter-form { flex-direction: column; } }

/* ---------- Detail page (anthology) ---------- */
.detail-hero { background: linear-gradient(155deg, var(--ink), var(--detail-ink-2) 70%, var(--detail-ink-3)); color: var(--ivory); padding: 80px 0; position: relative; overflow: hidden; }
.detail-hero .container { display: grid; grid-template-columns: 300px 1fr; gap: 64px; align-items: start; }
.detail-hero h1 { color: var(--ivory); margin-bottom: 6px; }
.detail-hero .theme-line { font-family: var(--font-display); font-style: italic; font-size: 1.3rem; color: var(--gold-bright); margin-bottom: 20px; }
.detail-hero .d-desc { color: var(--gray-300); margin-bottom: 28px; max-width: 640px; }
.detail-meta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; margin: 26px 0; }
.detail-meta-grid .dm-box { background: rgba(255,255,255,0.05); border: 1px solid rgba(201,164,76,0.25); border-radius: var(--radius); padding: 14px 16px; }
.detail-meta-grid .dm-box .dm-l { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gray-400); }
.detail-meta-grid .dm-box .dm-v { font-weight: 700; color: var(--gold-bright); font-size: 1.02rem; margin-top: 2px; }

.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 800;
  background: rgba(20,17,15,0.96); backdrop-filter: blur(10px); border-top: 1px solid rgba(201,164,76,0.35);
  padding: 12px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  transform: translateY(110%); transition: transform 0.35s ease;
}
.sticky-cta.show { transform: none; }
.sticky-cta .sc-info { color: var(--ivory); font-size: 0.88rem; }
.sticky-cta .sc-info strong { color: var(--gold-bright); }
@media (max-width: 640px) { .sticky-cta .sc-info span.hide-sm { display: none; } }

.rules-list li { display: flex; gap: 12px; padding: 9px 0; font-size: 0.93rem; color: var(--gray-600); }
.rules-list li i { color: var(--gold-deep); margin-top: 4px; flex-shrink: 0; }

.pricing-box { border: 2px solid var(--gold); border-radius: var(--radius-lg); overflow: hidden; }
.pricing-box .pb-head { background: linear-gradient(135deg, var(--ink), var(--ink-mute)); color: var(--ivory); padding: 22px 26px; }
.pricing-box .pb-head h3 { color: var(--gold-bright); }
.pricing-box .pb-body { padding: 26px; background: var(--white); }
.pricing-box .pb-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed var(--gray-200); font-size: 0.93rem; }
.pricing-box .pb-row:last-child { border-bottom: none; }
.pricing-box .pb-row strong { color: var(--ink); }

/* ---------- Tracking result ---------- */
.track-card { max-width: 720px; margin: 0 auto; }
.track-id-display { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; letter-spacing: 0.05em; color: var(--gold-deep); }

/* ---------- Success page ---------- */
.success-hero { text-align: center; padding: 70px 0 30px; }
.success-check {
  width: 92px; height: 92px; margin: 0 auto 26px; border-radius: 50%;
  background: var(--success-bg); color: var(--success); display: flex; align-items: center; justify-content: center;
  font-size: 2.6rem; animation: popIn 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.4);
}
@keyframes popIn { from { transform: scale(0.3); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.cred-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.cred-box { background: var(--gray-100); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 16px 18px; position: relative; }
.cred-box .cb-l { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray-500); font-weight: 700; }
.cred-box .cb-v { font-weight: 700; font-size: 1.02rem; margin-top: 3px; word-break: break-all; }
.cred-box .cb-copy { position: absolute; top: 12px; right: 12px; background: none; border: none; color: var(--gray-400); font-size: 0.85rem; }
.cred-box .cb-copy:hover { color: var(--gold-deep); }
.cred-box--hl { background: rgba(201,164,76,0.1); border-color: var(--gold); }
.cred-box--hl .cb-v { color: var(--gold-deep); }

/* ---------- Certificate preview ---------- */
.cert-frame {
  aspect-ratio: 1.414; background: linear-gradient(145deg, var(--cert-paper-1), var(--cert-paper-2));
  border: 3px solid var(--gold); border-radius: 6px; padding: 5%; position: relative;
  box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.cert-frame::before { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(201,164,76,0.5); border-radius: 3px; pointer-events: none; }
.cert-frame .cf-brand { font-size: 0.62rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold-deep); }
.cert-frame .cf-title { font-family: var(--font-display); font-size: clamp(1.1rem, 2.6vw, 1.8rem); font-weight: 800; margin: 8px 0 2px; }
.cert-frame .cf-name { font-family: var(--font-display); font-style: italic; font-size: clamp(1.2rem, 3vw, 2rem); color: var(--burgundy); margin: 12px 0; border-bottom: 2px solid var(--gold); padding-bottom: 6px; }
.cert-frame .cf-body { font-size: clamp(0.62rem, 1.4vw, 0.85rem); color: var(--gray-600); max-width: 80%; }
.cert-frame .cf-foot { display: flex; justify-content: space-between; width: 84%; margin-top: 18px; font-size: 0.6rem; color: var(--gray-500); align-items: flex-end; }
.cert-frame .cf-sig { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--ink); border-top: 1px solid var(--gray-400); padding-top: 3px; }

/* ---------- Legal pages ---------- */
.legal-body { max-width: 800px; margin: 0 auto; }
.legal-body h2 { font-size: 1.4rem; margin: 38px 0 14px; }
.legal-body h3 { font-size: 1.1rem; margin: 26px 0 10px; font-family: var(--font-body); font-weight: 700; }
.legal-body p, .legal-body li { color: var(--gray-600); font-size: 0.95rem; margin-bottom: 12px; }
.legal-body ul { list-style: disc; padding-left: 24px; }
.legal-body ul li { margin-bottom: 8px; }
.legal-updated { font-size: 0.82rem; color: var(--gray-400); margin-bottom: 30px; padding: 10px 16px; background: var(--gray-100); border-radius: var(--radius-sm); display: inline-block; }

/* ---------- Register form layout ---------- */
.reg-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.reg-summary { position: sticky; top: calc(var(--header-h) + 20px); }
.form-section { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 32px; margin-bottom: 26px; }
.form-section > h3 { display: flex; align-items: center; gap: 12px; font-size: 1.15rem; margin-bottom: 6px; }
.form-section > h3 .fs-num {
  width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--gold-bright);
  display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-body); font-size: 0.85rem; font-weight: 700; flex-shrink: 0;
}
.form-section > .fs-sub { font-size: 0.86rem; color: var(--gray-500); margin-bottom: 24px; }

.fee-banner { border-radius: var(--radius); padding: 18px 22px; display: flex; align-items: center; gap: 14px; font-weight: 600; }
.fee-banner.free { background: var(--success-bg); color: var(--success); border: 1px solid rgba(46,125,79,0.3); }
.fee-banner.paid { background: var(--warning-bg); color: var(--warning); border: 1px solid rgba(176,122,31,0.3); }
.fee-banner i { font-size: 1.4rem; }

/* ---------- Contact ---------- */
.contact-info-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--gray-200); }
.contact-info-card:last-child { border: none; }
.contact-info-card i { width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; background: rgba(201,164,76,0.14); color: var(--gold-deep); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.contact-info-card h4 { font-family: var(--font-body); font-size: 0.98rem; }
.contact-info-card p { font-size: 0.88rem; color: var(--gray-500); }

/* ---------- Founder page ---------- */
.founder-hero { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: center; }
.founder-photo {
  aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; position: relative;
  background: linear-gradient(150deg, var(--ink-mute), var(--bio-deep)); border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 4rem;
  box-shadow: 14px 14px 0 -4px rgba(201,164,76,0.35);
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.quote-block {
  border-left: 4px solid var(--gold); background: var(--cream); padding: 28px 34px; border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: var(--ink); position: relative;
}
.quote-block cite { display: block; margin-top: 14px; font-family: var(--font-body); font-style: normal; font-size: 0.85rem; color: var(--gray-500); }
.signature { font-family: 'Playfair Display', cursive; font-style: italic; font-size: 1.9rem; color: var(--gold-deep); }

/* ---------- Blog detail ---------- */
.article-body { max-width: 760px; margin: 0 auto; font-size: 1.04rem; color: var(--gray-700); }
.article-body h2 { margin: 40px 0 16px; }
.article-body h3 { margin: 30px 0 12px; }
.article-body p { margin-bottom: 18px; }
.article-body ul { list-style: disc; padding-left: 26px; margin-bottom: 18px; }
.article-body li { margin-bottom: 8px; }
.article-body blockquote { border-left: 4px solid var(--gold); padding: 14px 24px; background: var(--cream); font-style: italic; font-family: var(--font-display); font-size: 1.15rem; margin: 26px 0; border-radius: 0 var(--radius) var(--radius) 0; }
.article-meta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 0.85rem; color: var(--gray-500); }
.share-row { display: flex; gap: 10px; align-items: center; }
.share-row a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--gray-300); display: flex; align-items: center; justify-content: center; color: var(--gray-500); transition: all var(--transition); }
.share-row a:hover { border-color: var(--gold); color: var(--gold-deep); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; gap: 44px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 0; }
  .step-item::after { display: none; }
  .detail-hero .container { grid-template-columns: 1fr; gap: 40px; }
  .detail-hero .book-cover { max-width: 240px; }
  .reg-layout { grid-template-columns: 1fr; }
  .reg-summary { position: static; }
  .founder-hero { grid-template-columns: 1fr; }
  .founder-photo { max-width: 320px; }
}
@media (max-width: 640px) {
  .steps-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 26px; }
  .hero { padding: 64px 0 76px; }
  .form-section { padding: 24px 20px; }
}

/* ================================================================
   PAGE LAYER — classes used by generated pages & page scripts
   ================================================================ */

/* ---------- Generic layout & typography ---------- */
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(1.6rem, 3.2vw, 2.3rem); color: var(--ink); margin: 0 0 .5rem; }
.section-alt { background: var(--cream); }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.2rem; }
.card-soft { background: var(--white); border: 1px solid rgba(20,17,15,0.08); border-radius: 16px; padding: 22px 24px; box-shadow: 0 6px 24px rgba(20,17,15,0.05); }
.soft-divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(201,164,76,.5), transparent); border: 0; margin: 1.2rem 0; }
.empty-note { color: var(--gray-450); font-style: italic; padding: 1rem 0; }
.chip { display: inline-block; padding: .3rem .85rem; border-radius: 999px; background: rgba(201,164,76,.12); color: var(--gold-deep); font-size: .8rem; font-weight: 600; border: 1px solid rgba(201,164,76,.3); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: .8rem 0; }
.chip-row .chip { cursor: pointer; transition: all .2s; }
.chip-row .chip:hover, .chip-row .chip.active { background: var(--gold); color: var(--ink); }
.mini-list { list-style: none; margin: 0; padding: 0; }
.mini-list li { padding: .45rem 0; border-bottom: 1px dashed rgba(20,17,15,.08); font-size: .92rem; display: flex; gap: .5rem; align-items: baseline; }
.mini-list li:last-child { border-bottom: 0; }
.mini-list i { color: var(--gold); }
.check-list, .cross-list { list-style: none; margin: .8rem 0; padding: 0; }
.check-list li, .cross-list li { padding: .4rem 0 .4rem 1.9rem; position: relative; line-height: 1.55; }
.check-list li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; color: var(--success-strong); }
.cross-list li::before { content: '\f00d'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; color: var(--danger-strong); }
.form-note { font-size: .85rem; color: var(--gray-450); margin-top: .5rem; }
/* NOTE: .input-btn-row is defined once in global.css (form system layer). */
.word-counter { font-size: .8rem; color: var(--gray-450); text-align: right; margin-top: .3rem; }
.word-counter.over { color: var(--danger-strong); font-weight: 600; }
.checkbox-group { display: flex; flex-direction: column; gap: .5rem; }
.checkbox-label { display: flex; align-items: flex-start; gap: .6rem; font-size: .92rem; cursor: pointer; line-height: 1.5; }
.checkbox-label input { margin-top: .25rem; accent-color: var(--gold); }

/* ---------- Auth pages ---------- */
.auth-logo { width: 64px; height: 64px; object-fit: contain; margin-bottom: .8rem; }
.auth-alt { text-align: center; margin-top: 1.2rem; font-size: .92rem; color: var(--gray-550); }
.auth-alt a { color: var(--burgundy); font-weight: 600; }
.auth-row { display: flex; justify-content: space-between; align-items: center; margin: .6rem 0 1.1rem; font-size: .88rem; }
.password-wrap { position: relative; }
.password-wrap input { width: 100%; padding-right: 46px; }
.pass-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: transparent; border: 0; cursor: pointer; color: var(--gray-450); padding: 8px 10px; font-size: .95rem; }
.pass-toggle:hover { color: var(--ink); }

/* ---------- Registration page ---------- */
.reg-main { min-width: 0; }
.reg-side { position: relative; }
.reg-section { background: var(--white); border: 1px solid rgba(20,17,15,0.08); border-radius: 16px; padding: 26px 28px; margin-bottom: 22px; box-shadow: 0 6px 24px rgba(20,17,15,0.05); }
.reg-section h2 { display: flex; align-items: center; gap: .7rem; font-size: 1.25rem; margin: 0 0 1.1rem; }
.reg-step-num { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-bright), var(--gold)); color: var(--ink); font-weight: 700; font-size: .95rem; font-family: 'Inter', sans-serif; flex: none; }
.sticky-side { position: sticky; top: 90px; }
.anth-choices { display: flex; flex-direction: column; gap: 12px; }
.anth-choice { display: flex; gap: 14px; align-items: flex-start; border: 2px solid rgba(20,17,15,.1); border-radius: 14px; padding: 16px; cursor: pointer; transition: all .2s; background: var(--white); }
.anth-choice:hover { border-color: var(--gold); }
.anth-choice.selected, .anth-choice.active { border-color: var(--gold); background: rgba(201,164,76,.06); box-shadow: 0 6px 20px rgba(201,164,76,.15); }
.anth-choice-check { flex: none; margin-top: .2rem; accent-color: var(--gold); width: 18px; height: 18px; }
.anth-choice-body { flex: 1; }
.anth-choice-body strong { display: block; font-family: 'Playfair Display', serif; font-size: 1.05rem; }
.anth-choice-price { font-weight: 700; color: var(--burgundy); white-space: nowrap; }
.anth-choice-price .free { color: var(--success-strong); }
.pay-upi-card { border: 2px dashed var(--gold); border-radius: 14px; padding: 18px 20px; background: rgba(201,164,76,.05); text-align: center; margin: 1rem 0; }
.upi-id { font-family: monospace; font-size: 1.05rem; font-weight: 700; color: var(--burgundy); background: var(--white); padding: .45rem .9rem; border-radius: 8px; border: 1px solid rgba(20,17,15,.1); display: inline-flex; align-items: center; gap: .6rem; margin: .5rem 0; }
.pay-instructions { text-align: left; font-size: .88rem; color: var(--gray-650); margin-top: .8rem; }
.pay-instructions li { margin: .3rem 0; }
.file-drop-inner { text-align: center; padding: 1.4rem 1rem; color: var(--gray-450); }
.file-drop-inner i { font-size: 1.8rem; color: var(--gold); margin-bottom: .5rem; display: block; }
.summary-row { display: flex; justify-content: space-between; padding: .5rem 0; font-size: .92rem; border-bottom: 1px dashed rgba(20,17,15,.08); }
.summary-total { display: flex; justify-content: space-between; padding: .8rem 0 0; font-weight: 700; font-size: 1.05rem; color: var(--burgundy); }
.slots-fill { height: 100%; background: linear-gradient(90deg, var(--gold-bright), var(--gold)); border-radius: 999px; transition: width .6s ease; }
.reg-success-wrap { max-width: 780px; margin: 0 auto; }
.reg-success-head { text-align: center; margin-bottom: 1.6rem; }
.reg-success-head .success-check { margin: 0 auto 1rem; }
.id-card { margin-bottom: 18px; }
.id-card h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.05rem; margin: 0 0 .8rem; }
.id-row { display: flex; align-items: center; gap: 10px; padding: .55rem .2rem; border-bottom: 1px dashed rgba(20,17,15,.08); font-size: .93rem; }
.id-row:last-child { border-bottom: 0; }
.id-row span { color: var(--gray-550); min-width: 150px; }
.id-row strong { flex: 1; font-family: monospace; letter-spacing: .02em; }
.success-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 1.4rem; }

/* ---------- Anthology pages ---------- */
.vol-hero { background: linear-gradient(150deg, var(--vol-ink-1) 0%, var(--ink-warm) 55%, var(--vol-ink-3) 100%); color: var(--ivory); padding: 84px 0 64px; position: relative; overflow: hidden; }
.vol-hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 80% 10%, rgba(201,164,76,.18), transparent 55%); pointer-events: none; }
.vol-hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.vol-hero-info h1 { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4.5vw, 3.2rem); margin: .4rem 0 .6rem; color: var(--ivory); }
.vol-theme { color: var(--gold-bright); font-style: italic; font-size: 1.15rem; }
.vol-desc { color: rgba(250,247,240,.85); line-height: 1.7; max-width: 56ch; }
.vol-hero-meta { display: flex; flex-wrap: wrap; gap: 18px; margin: 1.2rem 0; font-size: .9rem; color: rgba(250,247,240,.75); }
.vol-hero-meta i { color: var(--gold); margin-right: .4rem; }
.vol-hero-side { display: flex; justify-content: center; }
.vol-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.vol-main { min-width: 0; }
.vol-side { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 20px; }
.countdown-wrap { text-align: center; }
.countdown-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gray-450); margin-bottom: .5rem; }
.guideline-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dashed rgba(20,17,15,.08); }
.guideline-item:last-child { border-bottom: 0; }
.guideline-item i { color: var(--gold); font-size: 1.1rem; margin-top: .2rem; flex: none; }
.price-big { font-family: 'Playfair Display', serif; font-size: 2.2rem; color: var(--burgundy); font-weight: 700; }
.price-big.light { color: var(--gold-bright); }
.sticky-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Pipeline / tracking ---------- */
.pipeline-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; margin: 1.2rem 0; }
.pipeline-step { display: flex; gap: 12px; align-items: flex-start; background: var(--white); border: 1px solid rgba(20,17,15,.08); border-radius: 12px; padding: 14px; }
.pipeline-step.done { border-color: rgba(46,125,50,.4); background: rgba(46,125,50,.04); }
.pipeline-step.current { border-color: var(--gold); background: rgba(201,164,76,.07); box-shadow: 0 6px 18px rgba(201,164,76,.18); }
.pipeline-num { width: 28px; height: 28px; border-radius: 50%; background: rgba(20,17,15,.08); color: var(--gray-550); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .82rem; flex: none; }
.pipeline-step.done .pipeline-num { background: var(--success-strong); color: var(--white); }
.pipeline-step.current .pipeline-num { background: var(--gold); color: var(--ink); }
.track-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 1rem; }
.track-ids { display: flex; flex-wrap: wrap; gap: 10px; font-family: monospace; font-size: .9rem; }
.track-ids span { background: rgba(201,164,76,.1); border: 1px solid rgba(201,164,76,.3); padding: .35rem .7rem; border-radius: 8px; }
.history-list { list-style: none; margin: 0; padding: 0; }
.history-row { display: flex; gap: 14px; padding: .8rem 0; border-bottom: 1px dashed rgba(20,17,15,.08); font-size: .92rem; }
.history-row:last-child { border-bottom: 0; }
.history-row i { color: var(--gold); margin-top: .15rem; }

/* ---------- Certificate verification ---------- */
.verify-ok { border: 2px solid rgba(46,125,50,.4); border-radius: 16px; background: rgba(46,125,50,.04); padding: 26px 28px; }
.verify-ok-head { display: flex; align-items: center; gap: 14px; margin-bottom: 1rem; color: var(--success-strong); }
.verify-ok-head i { font-size: 2rem; }
.verify-fail { border: 2px solid rgba(179,38,30,.4); border-radius: 16px; background: rgba(179,38,30,.04); padding: 26px 28px; text-align: center; color: var(--danger); }
.verify-fail i { font-size: 2.4rem; margin-bottom: .6rem; display: block; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.spec-table td { padding: .55rem .4rem; border-bottom: 1px dashed rgba(20,17,15,.08); }
.spec-table td:first-child { color: var(--gray-550); width: 42%; }
.spec-table tr:last-child td { border-bottom: 0; }

/* ---------- Store & book detail ---------- */
.store-toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 1.4rem; }
.store-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
/* NOTE: .store-filters select/input sizing is defined once in global.css (form system layer). */
.store-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.book-card-cover { position: relative; }
.book-card-body { padding: 16px 18px; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.book-card-actions { display: flex; gap: 8px; align-items: center; margin-top: auto; padding-top: .6rem; }
.book-cat { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-deep); font-weight: 700; }
.book-author { font-size: .85rem; color: var(--gray-450); }
.book-rating { font-size: .82rem; color: var(--gold-deep); }
.book-price { font-weight: 700; }
.price-now { color: var(--burgundy); font-size: 1.05rem; font-weight: 700; }
.price-mrp { color: var(--gray-400); text-decoration: line-through; font-size: .85rem; margin-left: .4rem; }
.price-off { color: var(--success-strong); font-size: .8rem; font-weight: 600; margin-left: .4rem; }
.price-free { color: var(--success-strong); font-weight: 700; }
.ribbon { position: absolute; top: 12px; left: -6px; padding: .3rem .8rem; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; border-radius: 0 6px 6px 0; box-shadow: 0 4px 12px rgba(0,0,0,.18); z-index: 2; }
.ribbon-gold { background: linear-gradient(135deg, var(--gold-bright), var(--gold)); color: var(--ink); }
.ribbon-burgundy { background: var(--burgundy); color: var(--ivory); }
.wish-btn.active { color: var(--burgundy); border-color: var(--burgundy); }
.detail-layout { display: grid; grid-template-columns: 320px 1fr; gap: 44px; align-items: start; }
.detail-cover { position: sticky; top: 90px; display: flex; justify-content: center; }
.detail-info h1 { font-family: 'Playfair Display', serif; font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin: .3rem 0 .4rem; }
.detail-desc { line-height: 1.75; color: var(--gray-650); }
.detail-price { display: flex; align-items: baseline; gap: 10px; margin: 1rem 0; }
.detail-price .price-now { font-size: 1.7rem; }
.success-panel { border: 2px solid rgba(46,125,50,.35); background: rgba(46,125,50,.05); border-radius: 16px; padding: 24px 26px; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.blog-card-head { padding: 22px 22px 0; }
.blog-card-body { padding: 12px 22px 20px; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.blog-meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: .8rem; color: var(--gray-450); }
.blog-meta i { color: var(--gold); margin-right: .3rem; }
.blog-foot { margin-top: auto; padding-top: .7rem; border-top: 1px dashed rgba(20,17,15,.08); display: flex; justify-content: space-between; align-items: center; }
.post-body { font-size: 1.02rem; line-height: 1.85; color: var(--gray-750); }
.post-body h2 { font-family: 'Playfair Display', serif; margin: 1.8rem 0 .7rem; }
.post-body blockquote { border-left: 3px solid var(--gold); margin: 1.4rem 0; padding: .6rem 0 .6rem 1.2rem; font-style: italic; color: var(--gray-650); background: rgba(201,164,76,.05); border-radius: 0 10px 10px 0; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.6rem; }
.author-box { display: flex; gap: 16px; align-items: center; background: var(--cream); border-radius: 14px; padding: 18px 20px; margin-top: 2rem; }

/* ---------- People (authors / founder / testimonials) ---------- */
.authors-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.avatar-circle { width: 62px; height: 62px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-bright), var(--gold)); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.25rem; font-family: 'Playfair Display', serif; flex: none; }
.author-meta { font-size: .85rem; color: var(--gray-450); }
.author-loc { font-size: .82rem; color: var(--gray-450); }
.author-loc i { color: var(--gold); margin-right: .3rem; }
.author-bio { font-size: .9rem; line-height: 1.6; color: var(--gray-650); }
.founder-layout { display: grid; grid-template-columns: 340px 1fr; gap: 44px; align-items: start; }
.founder-card { text-align: center; position: sticky; top: 90px; }
.founder-avatar { width: 140px; height: 140px; border-radius: 50%; margin: 0 auto 1rem; background: linear-gradient(135deg, var(--gold-bright), var(--gold)); display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-size: 3rem; color: var(--ink); font-weight: 700; }
.founder-role { color: var(--gold-deep); font-weight: 600; font-size: .92rem; text-transform: uppercase; letter-spacing: .1em; }
.founder-socials { display: flex; justify-content: center; gap: 10px; margin-top: 1rem; }
.founder-story { line-height: 1.8; color: var(--gray-750); }
.founder-quote { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-style: italic; color: var(--burgundy); border-left: 3px solid var(--gold); padding-left: 1.2rem; margin: 1.6rem 0; }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: 1rem; }
.quote { font-style: italic; line-height: 1.7; color: var(--gray-650); }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 1.4rem 0; padding: 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--gold), rgba(201,164,76,.15)); }
.timeline-item { position: relative; padding: 0 0 1.4rem 2.2rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; left: 0; top: .2rem; width: 20px; height: 20px; border-radius: 50%; background: var(--ivory); border: 3px solid var(--gold); }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.contact-lines { display: flex; flex-direction: column; gap: 12px; }
.contact-line { display: flex; gap: 14px; align-items: flex-start; }
.contact-line i { width: 40px; height: 40px; border-radius: 12px; background: rgba(201,164,76,.12); color: var(--gold-deep); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.contact-hours { font-size: .88rem; color: var(--gray-550); }
.contact-form-wrap { background: var(--white); border: 1px solid rgba(20,17,15,.08); border-radius: 16px; padding: 28px 30px; box-shadow: 0 6px 24px rgba(20,17,15,.05); }
.socials-row { display: flex; gap: 10px; }
.socials-row a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(20,17,15,.14); display: inline-flex; align-items: center; justify-content: center; color: var(--gray-650); transition: all .2s; }
.socials-row a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* ---------- Info / feature / service cards ---------- */
.feature-card { background: var(--white); border: 1px solid rgba(20,17,15,.08); border-radius: 16px; padding: 26px 24px; transition: all .25s; height: 100%; }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(20,17,15,.1); border-color: rgba(201,164,76,.4); }
.feature-icon { width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, rgba(201,164,76,.18), rgba(201,164,76,.08)); color: var(--gold-deep); display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: .9rem; }
.value-card { background: var(--white); border-top: 3px solid var(--gold); border-radius: 0 0 14px 14px; padding: 22px; box-shadow: 0 6px 20px rgba(20,17,15,.06); height: 100%; }
.service-card { background: var(--white); border: 1px solid rgba(20,17,15,.08); border-radius: 16px; padding: 26px; position: relative; height: 100%; display: flex; flex-direction: column; gap: .6rem; }
.service-badge { position: absolute; top: -12px; right: 18px; background: var(--burgundy); color: var(--ivory); font-size: .72rem; font-weight: 700; padding: .3rem .8rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .08em; }
.featured-service { border: 2px solid var(--gold); box-shadow: 0 14px 40px rgba(201,164,76,.2); }
.step-card { background: var(--white); border: 1px solid rgba(20,17,15,.08); border-radius: 16px; padding: 24px; height: 100%; position: relative; }
.step-num { font-family: 'Playfair Display', serif; font-size: 2.6rem; color: rgba(201,164,76,.35); font-weight: 700; line-height: 1; }
.about-stats-card { background: linear-gradient(150deg, var(--vol-ink-1), var(--vol-deep)); color: var(--ivory); border-radius: 18px; padding: 30px; }
.about-stats-card .stat { text-align: center; }
.about-stats-card .stat strong { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--gold-bright); display: block; }
.anthology-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 26px; }

/* ---------- Legal ---------- */
.legal-doc { line-height: 1.8; color: var(--gray-750); }
.legal-doc h2 { font-family: 'Playfair Display', serif; font-size: 1.35rem; margin: 2rem 0 .6rem; }
.legal-doc h3 { font-size: 1.05rem; margin: 1.4rem 0 .4rem; }
.legal-doc ul, .legal-doc ol { padding-left: 1.4rem; }
.legal-doc li { margin: .35rem 0; }

/* ---------- Responsive for page layer ---------- */
@media (max-width: 960px) {
  .vol-hero-grid, .vol-layout, .detail-layout, .founder-layout, .contact-layout, .split { grid-template-columns: 1fr; }
  .vol-side, .detail-cover, .founder-card, .sticky-side { position: static; }
}


/* ---- FAQ page toolbar/list (filter + accordion) ---- */
.faq-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.faq-list { display: flex; flex-direction: column; }
.faq-toolbar .chip { cursor: pointer; }
.faq-toolbar .chip.active { background: var(--gold); color: var(--ink); border-color: var(--gold); }
/* FAQ uses <details>/<summary> */
.faq-item > summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-size: 0.98rem; font-weight: 600; color: var(--ink); transition: background var(--transition); }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary:hover { background: var(--gray-100); }
.faq-item > summary i { color: var(--gold-deep); transition: transform var(--transition); flex-shrink: 0; }
.faq-item[open] > summary i { transform: rotate(180deg); }
.faq-answer { padding: 0 22px 20px; font-size: 0.92rem; color: var(--gray-500); }
/* copy-to-clipboard icon button (register success card) */
.copy-id { flex-shrink: 0; }
/* home hero copy column */
.hero-copy { min-width: 0; }

/* ============================================================
   UNSPOKEN — featured anthology section + load promo popup
   (uses the existing Scribenex design tokens only)
   ============================================================ */

/* ---- Featured anthology section (homepage) ---- */
.unspoken-feature { display: grid; grid-template-columns: 1.55fr 1fr; gap: 40px; align-items: center; }
.unspoken-feature-copy { min-width: 0; }
.unspoken-kicker { font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; color: var(--gold-deep); font-weight: 700; margin: 14px 0 6px; }
.unspoken-title { font-family: 'Playfair Display', serif; font-size: clamp(1.7rem, 7.5vw, 3.6rem); letter-spacing: .12em; color: var(--ink); margin: 0 0 .35rem; line-height: 1.05; overflow-wrap: anywhere; }
.unspoken-theme { font-family: 'Playfair Display', serif; font-style: italic; font-size: clamp(1.05rem, 2.4vw, 1.4rem); color: var(--burgundy); margin: 0 0 1rem; }
.unspoken-mention { color: var(--gray-650); font-weight: 600; margin: 0 0 1rem; }
.unspoken-facts { max-width: 520px; margin: 0 0 1.2rem; }
.unspoken-facts i { color: var(--gold-deep); width: 18px; }
.unspoken-feature-aside { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; background: linear-gradient(150deg, var(--vol-ink-1), var(--vol-deep)); border-radius: 18px; padding: 26px 20px; }
.unspoken-stat { text-align: center; color: var(--ivory); }
.unspoken-stat strong { display: block; font-family: 'Playfair Display', serif; font-size: clamp(1.6rem, 4vw, 2.3rem); color: var(--gold-bright); line-height: 1; }
.unspoken-stat span { display: block; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-300); margin-top: 6px; }

/* ---- Load promo popup ---- */
.unspoken-popup .unspoken-modal { max-width: 520px; position: relative; }
.unspoken-modal-close { position: absolute; top: 12px; right: 14px; width: 40px; height: 40px; border-radius: 50%; background: rgba(20,17,15,.06); border: none; font-size: 1.15rem; color: var(--gray-600); cursor: pointer; z-index: 2; line-height: 1; }
.unspoken-modal-close:hover { background: var(--gold); color: var(--ink); }
.unspoken-modal-body { padding: 40px 30px 30px; text-align: center; }
.unspoken-modal-badge { display: inline-block; background: var(--burgundy); color: var(--ivory); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: .32rem .85rem; border-radius: 999px; margin-bottom: 14px; }
.unspoken-modal .unspoken-title { font-size: clamp(2rem, 7vw, 2.8rem); }
.unspoken-modal-pub { font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gray-500); font-weight: 600; margin: 0 0 .8rem; }
.unspoken-modal-facts { text-align: left; max-width: 340px; margin: 1.1rem auto 1.3rem; }
.unspoken-modal-facts i { color: var(--gold-deep); width: 18px; }
.unspoken-modal-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.unspoken-modal-actions .btn { flex: 1 1 200px; justify-content: center; }
.center-text { text-align: center; }

/* lock background scroll while the popup is open */
body.unspoken-no-scroll { overflow: hidden; }

@media (max-width: 860px) {
  .unspoken-feature { grid-template-columns: 1fr; gap: 26px; }
  .unspoken-feature-aside { order: -1; }
}
@media (max-width: 480px) {
  .unspoken-modal-body { padding: 34px 18px 24px; }
  .unspoken-modal-actions .btn { flex: 1 1 100%; }
  .unspoken-feature-aside { padding: 20px 12px; }
  .unspoken-title { letter-spacing: .1em; }
}
