/* ===== RESET & VARS ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* ---- Brand palette: PURPLE + GOLD (matches provided art), no white/green ---- */
  --purple-deep: #1c0f3d;
  --purple:      #4a1f8f;
  --purple-mid:  #7b3fe4;
  --violet:      #a374f0;
  --violet-glow: #cdb0ff;

  --gold:       #ffb648;
  --gold-deep:  #e8830f;
  --cream:      #fff6e9;

  --text:       #fdf3ff;
  --muted:      #cdb8ec;
  --dim:        #9179bd;

  --surface:       rgba(38,18,74,0.6);
  --surface-solid: #2b1457;
  --border:        rgba(255,246,233,0.16);
  --border-strong: rgba(255,246,233,0.28);
  --border-ink:    #1c0f3d;

  --grad-brand: linear-gradient(120deg, #ffe4a8 0%, #ffb648 45%, #e8830f 100%);
  --grad-cta:   linear-gradient(120deg, #cdb0ff 0%, #7b3fe4 100%);

  --r-sm: 12px;
  --r:    18px;
  --r-lg: 26px;
  --r-xl: 34px;

  --shadow-soft: 0 18px 40px -16px rgba(10,4,26,0.55);
  --shadow-card: 0 22px 54px -18px rgba(10,4,26,0.65);
  --shadow-ink:  0 6px 0 var(--border-ink);

  --font-display: 'Baloo 2', 'Prompt', sans-serif;
  --font-body:    'Prompt', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 78px; /* space for bottom mobile nav */
}
@media (min-width: 769px) { body { padding-bottom: 0; } }

/* Page background as a fixed full-viewport layer, shown FULL (contain, not
   cropped) with a matching solid purple fallback filling any letterbox gaps —
   no darkening overlay added on top. Sizing "cover" against body would also
   scale against the whole scrollable page height on long pages, causing a
   huge zoom on mobile, so this stays a fixed viewport-sized layer. */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1;
  background-color: var(--purple-deep);
  background-image: url('assets/img/BG%20web%20-%20PGWIN828.webp');
  background-size: contain;
  background-position: center top;
  background-repeat: no-repeat;
}
@media (max-width: 768px) {
  body::before { background-image: url('assets/img/BG%20phone%20-%20PGWIN828.webp'); }
}

img { display: block; max-width: 100%; height: auto; }
a   { text-decoration: none; color: inherit; }
button { font-family: inherit; }

/* ===== LAYOUT ===== */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 5.5rem 1.25rem; position: relative; }
@media (max-width: 768px) { .section { padding: 3.25rem 1rem; } }
@media (max-width: 479px) { .section { padding: 2.75rem 0.875rem; } }

/* ===== HEADINGS ===== */
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.005em; text-wrap: balance; color: var(--text); }

/* ===== UTILS ===== */
.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.kw { color: var(--gold); font-weight: 700; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text);
  border: 1px solid var(--border-strong); border-radius: 9999px;
  padding: 0.4rem 1rem; background: rgba(28,15,61,0.5);
  text-shadow: 0 1px 6px rgba(10,4,26,0.5);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

.section-head { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; }
.section-head h2 { font-size: clamp(1.5rem, 4vw, 2.35rem); line-height: 1.25; margin: 0.9rem 0 1rem; }
.section-head p { color: var(--muted); font-size: 0.95rem; line-height: 1.85; }
@media (max-width: 479px) { .section-head { margin-bottom: 2rem; } .section-head p { font-size: 0.875rem; } }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  padding: 0.8rem 1.9rem; border-radius: 9999px; border: none; cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  -webkit-tap-highlight-color: transparent; white-space: nowrap;
}
.btn-gold { background: var(--grad-brand); color: var(--purple-deep); box-shadow: var(--shadow-soft); }
.btn-gold:hover { transform: translateY(-2px); }
.btn-outline { background: rgba(255,246,233,0.08); color: var(--text); border: 1.5px solid var(--border-strong); }
.btn-outline:hover { background: rgba(255,246,233,0.16); border-color: var(--gold); }
.btn:active { transform: scale(0.96); }

/* chunky comic-style square icon button (arrows / scroll cue) */
.ico-btn {
  width: 42px; height: 42px; border-radius: 14px; flex-shrink: 0;
  background: var(--cream); color: var(--purple-deep);
  border: 2.5px solid var(--border-ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; cursor: pointer;
  box-shadow: 0 4px 0 var(--border-ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.ico-btn:hover { transform: translateY(-2px); }
.ico-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--border-ink); }

/* ===== HEADER (no background, no blur — text floats over the art) ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.25rem 1.5rem 0;
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 0.6rem;
}
.header-row1 { display: flex; align-items: center; gap: 1rem; width: 100%; }

.logo-link { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.logo-img { height: 56px; width: auto; max-width: 230px; object-fit: contain; filter: drop-shadow(0 3px 10px rgba(10,4,26,0.5)); }

.nav-menu { display: flex; align-items: center; gap: 0.25rem; margin: 0 auto; }
.nav-link {
  display: flex; align-items: center; gap: 0.3rem;
  padding: 0.5rem 1rem; border-radius: 9999px;
  font-family: var(--font-display); font-size: 0.92rem; font-weight: 600; color: var(--text); white-space: nowrap;
  text-shadow: 0 1px 8px rgba(10,4,26,0.6);
  transition: color 0.2s;
}
.nav-link:hover { color: var(--gold); }

.ico-line {
  display: inline-flex; align-items: center; justify-content: center;
  background: #06C755; color: #fff; font-size: 0.55rem; font-weight: 800;
  letter-spacing: 0.03em; border-radius: 4px; padding: 2px 4px; flex-shrink: 0; line-height: 1;
}

/* header-btns: image buttons (Login/Register graphics) */
.header-btns { display: flex; gap: 0.6rem; align-items: center; flex-shrink: 0; margin-left: auto; }
.hbtn { height: 34px; width: auto; max-width: 122px; object-fit: contain; cursor: pointer; transition: transform 0.2s; filter: drop-shadow(0 3px 10px rgba(10,4,26,0.45)); }
.hbtn:hover { transform: scale(1.06); }

/* header-row2: mobile scrollable link strip (still no background per spec) */
.header-row2 { display: none; }

@media (max-width: 768px) {
  .header { padding: 1rem 0.9rem 0; }
  .header-row1 { gap: 0.6rem; }
  .nav-menu { display: none; }
  .logo-img { height: 46px; }
  .hbtn { height: 28px; max-width: 96px; }
  .header-row2 {
    display: flex; align-items: center; gap: 0.25rem;
    overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .header-row2::-webkit-scrollbar { display: none; }
}
.mob-nav-link {
  display: flex; align-items: center; gap: 0.3rem;
  padding: 0.4rem 0.85rem; border-radius: 9999px;
  font-family: var(--font-display); font-size: 12px; font-weight: 600; color: var(--text); white-space: nowrap;
  text-shadow: 0 1px 8px rgba(10,4,26,0.6);
  background: rgba(28,15,61,0.4);
  border: 1px solid var(--border);
}
.mob-nav-link:active { color: var(--gold); }

/* ===== HERO ===== */
.hero { position: relative; padding: 138px 1.25rem 3rem; overflow: visible; }
.hero-inner {
  position: relative; z-index: 1; max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2.5rem; align-items: center;
}
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
  .hero-visual { order: -1; }
}

/* comic speech-bubble burst callout */
.hero-burst {
  position: relative; display: inline-flex; flex-direction: column; align-items: center;
  cursor: pointer; transition: transform 0.18s ease;
  background: var(--cream); color: var(--purple-deep);
  padding: 1.1rem 1.6rem 1.3rem; margin-bottom: 1.5rem;
  clip-path: polygon(
    4% 12%, 14% 2%, 24% 10%, 36% 0%, 46% 9%, 58% 1%, 68% 11%, 80% 2%, 90% 12%,
    100% 24%, 92% 36%, 100% 48%, 90% 60%, 98% 72%, 86% 80%, 92% 92%, 78% 88%,
    68% 100%, 58% 90%, 46% 99%, 36% 90%, 24% 100%, 14% 90%, 6% 96%, 10% 82%,
    0% 72%, 8% 60%, 0% 48%, 8% 36%, 0% 24%
  );
}
.hero-burst .hb-jp { font-size: 0.7rem; font-weight: 700; color: var(--purple-mid); margin-bottom: 0.2rem; }
.hero-burst .hb-main { font-family: var(--font-display); font-size: clamp(1.1rem, 2.6vw, 1.5rem); font-weight: 800; color: var(--gold-deep); line-height: 1.15; text-align: center; }
.hero-burst:hover { transform: scale(1.05) rotate(-2deg); }
.hero-burst:active { transform: scale(0.97); }
@media (max-width: 960px) { .hero-burst { margin-left: auto; margin-right: auto; } }

.hero h1 {
  font-size: clamp(1.9rem, 5.4vw, 3.3rem); line-height: 1.12;
  text-shadow: 0 4px 18px rgba(10,4,26,0.55);
}
@media (max-width: 479px) { .hero h1 { font-size: clamp(1.6rem, 8vw, 2.1rem); } }
.hero p {
  color: var(--muted); font-size: clamp(0.92rem, 2vw, 1.02rem); line-height: 1.8;
  max-width: 46ch; margin: 1.1rem 0 1.75rem;
  text-shadow: 0 1px 10px rgba(10,4,26,0.5);
}
@media (max-width: 960px) { .hero p { margin-left: auto; margin-right: auto; } }

.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
@media (max-width: 960px) { .hero-actions { justify-content: center; } }
.hero-btn-img { height: 52px; width: auto; max-width: 196px; object-fit: contain; cursor: pointer; filter: drop-shadow(0 8px 20px rgba(10,4,26,0.45)); transition: transform 0.2s; }
.hero-btn-img:hover { transform: translateY(-2px) scale(1.04); }
@media (max-width: 479px) { .hero-btn-img { height: 44px; } }

/* pagination-style highlight switcher (arrow + progress dots), à la Planetoño */
.hero-switch { display: flex; align-items: center; gap: 0.9rem; }
@media (max-width: 960px) { .hero-switch { justify-content: center; } }
.hs-track { display: flex; align-items: center; gap: 0.4rem; }
.hs-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--border-strong); transition: background 0.2s, width 0.2s; }
.hs-dot.active { width: 22px; border-radius: 4px; background: var(--gold); }
.hs-label { font-size: 0.82rem; color: var(--text); font-weight: 600; min-width: 168px; text-shadow: 0 1px 8px rgba(10,4,26,0.55); }
@media (max-width: 400px) { .hs-label { min-width: 0; font-size: 0.76rem; } }

/* hero visual: full image shown, not cropped, in a chunky comic frame */
.hero-visual { position: relative; }
.hero-frame {
  position: relative; background: var(--surface); border: 3px solid var(--border-ink);
  border-radius: var(--r-xl); box-shadow: var(--shadow-card); padding: 0.75rem;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.hero-frame img { width: 100%; height: auto; border-radius: calc(var(--r-xl) - 10px); }

.spark { position: absolute; color: var(--gold); font-size: 1.4rem; filter: drop-shadow(0 2px 6px rgba(10,4,26,0.5)); animation: sparkPulse 2.6s ease-in-out infinite; }
.spark.s2 { animation-delay: 0.6s; }
.spark.s3 { animation-delay: 1.2s; }
@keyframes sparkPulse { 0%,100% { transform: scale(1) rotate(0deg); opacity: 0.75; } 50% { transform: scale(1.25) rotate(12deg); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .spark { animation: none; } }
.spark-1 { top: -6%; left: 8%; }
.spark-2 { top: 18%; right: -4%; }
.spark-3 { bottom: 6%; left: -6%; font-size: 1.1rem; }

/* bouncing scroll cue */
.scroll-cue {
  display: flex; justify-content: center; margin-top: 2.5rem; color: var(--text);
  animation: cueBounce 1.8s ease-in-out infinite; text-shadow: 0 2px 10px rgba(10,4,26,0.5);
}
@keyframes cueBounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .scroll-cue { animation: none; } }

/* ===== WAVE DIVIDER (HappiLoop-style organic section break) ===== */
.wave-divider { position: relative; height: 64px; margin-top: -1px; }
.wave-divider svg { display: block; width: 100%; height: 100%; }
@media (max-width: 600px) { .wave-divider { height: 40px; } }

/* ===== FEATURE CARD GRID (colorful blocks) ===== */
.features { padding: 3rem 1.25rem 5rem; }
@media (max-width: 768px) { .features { padding: 2rem 1rem 3rem; } }
.feat-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 900px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 479px) { .feat-grid { grid-template-columns: 1fr; } }
.feat-card {
  border-radius: var(--r-lg); border: 2.5px solid var(--border-ink); padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow-ink); position: relative; overflow: hidden;
}
.feat-card.c1 { background: linear-gradient(160deg, #b48cf0, #7b3fe4); }
.feat-card.c2 { background: linear-gradient(160deg, #ffcf7a, #e8830f); }
.feat-card.c3 { background: linear-gradient(160deg, #ff9fc7, #d9569b); }
.feat-card.c4 { background: linear-gradient(160deg, #8ee0c8, #2f9c7a); }
.feat-icon {
  width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,246,233,0.9); color: var(--purple-deep); font-size: 1.4rem; margin-bottom: 1rem;
  border: 2px solid var(--border-ink);
}
.feat-card h3 { font-size: 1.05rem; color: var(--cream); margin-bottom: 0.4rem; text-shadow: 0 2px 8px rgba(10,4,26,0.45); }
.feat-card p { font-family: var(--font-body); font-size: 0.83rem; color: rgba(255,246,233,0.94); line-height: 1.6; text-shadow: 0 1px 6px rgba(10,4,26,0.4); }

/* ===== 3ICON STRIP ===== */
.strip { padding: 1.5rem 1.25rem; }
.strip img { max-width: 1000px; margin: 0 auto; border-radius: var(--r-xl); width: 100%; border: 3px solid var(--border-ink); box-shadow: var(--shadow-ink); }

/* ===== 2-COL CONTENT ===== */
.c2 { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 3.25rem; align-items: center; }
@media (max-width: 900px) { .c2 { gap: 2.25rem; } }
@media (max-width: 768px) { .c2 { grid-template-columns: 1fr; gap: 0rem; } .c2.flip > div:first-child { order: -1; } }
.c2 .tag { color: var(--gold); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.75rem; display: block; }
.c2 h2 { font-size: clamp(1.4rem, 3.2vw, 2rem); line-height: 1.3; margin-bottom: 1.1rem; }
.c2 p { font-size: 0.92rem; line-height: 1.9; margin-bottom: 1rem; }
.c2 img { border-radius: var(--r-xl); width: 100%; border: 3px solid var(--border-ink); box-shadow: var(--shadow-card); }

/* ===== INFO CARD (H3 / generic) ===== */
.info-card {
  max-width: 860px; margin: 0 auto; background: var(--surface);
  border: 3px solid var(--border-ink); border-radius: var(--r-xl); padding: 2.5rem; box-shadow: var(--shadow-card);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
@media (max-width: 768px) { .info-card { padding: 1.9rem 1.5rem; } }
@media (max-width: 479px) { .info-card { padding: 1.5rem 1.1rem; border-radius: var(--r-lg); } }
.info-card h3 { font-size: clamp(1.15rem, 3.2vw, 1.5rem); margin-bottom: 1.1rem; line-height: 1.3; }
.info-card p { color: var(--muted); font-size: 0.92rem; line-height: 1.9; }

/* ===== STEPS ===== */
.steps-wrap { max-width: 820px; margin: 0 auto; }
.steps-list { display: flex; flex-direction: column; gap: 1.5rem; }
.step-item { display: flex; gap: 1.25rem; align-items: flex-start; background: var(--surface); border: 3px solid var(--border-ink); border-radius: var(--r-lg); padding: 1.4rem 1.5rem; box-shadow: var(--shadow-ink); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.step-num {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; background: var(--grad-brand);
  color: var(--purple-deep); font-weight: 800; font-size: 1.05rem; font-family: var(--font-display);
  display: flex; align-items: center; justify-content: center; border: 2px solid var(--border-ink);
}
.step-body h3 { font-size: 1rem; margin-bottom: 0.4rem; font-weight: 700; }
.step-body p { color: var(--muted); font-size: 0.87rem; line-height: 1.8; }
@media (max-width: 479px) { .step-item { gap: 0.9rem; padding: 1.1rem 1.15rem; } .step-num { width: 34px; height: 34px; font-size: 0.9rem; } }

/* ===== FAQ ===== */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { background: var(--surface); border: 3px solid var(--border-ink); border-radius: var(--r); padding: 1.3rem 1.5rem; box-shadow: var(--shadow-ink); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.faq-q { font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; margin-bottom: 0.55rem; }
.faq-q::before { content: 'Q  '; color: var(--gold); }
.faq-a { color: var(--muted); font-size: 0.865rem; line-height: 1.85; }
.faq-a::before { content: 'A  '; color: var(--violet-glow); font-weight: 700; }
@media (max-width: 479px) { .faq-item { padding: 1.05rem 1.15rem; } }

/* ===== CTA SECTION ===== */
.cta-section { padding: 5rem 1.25rem; }
.cta-panel {
  max-width: 1000px; margin: 0 auto; text-align: center; position: relative; overflow: hidden;
  background: var(--surface-solid); border: 3px solid var(--border-ink); border-radius: var(--r-xl);
  padding: 3.25rem 2rem; box-shadow: var(--shadow-card);
}
.cta-panel h2 { position: relative; font-size: clamp(1.5rem, 4vw, 2.15rem); margin-bottom: 0.75rem; }
.cta-panel p { position: relative; color: var(--muted); margin-bottom: 2rem; font-size: 0.95rem; }
.cta-btns { position: relative; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; align-items: center; }
@media (max-width: 768px) { .cta-panel { padding: 2.5rem 1.5rem; } }
@media (max-width: 479px) { .cta-panel { padding: 2rem 1.1rem; border-radius: var(--r-lg); } }

/* ===== FOOTER ===== */
.footer { background: var(--purple-deep); color: var(--muted); border-top: 3px solid var(--border-ink); padding: 3rem 1.25rem 2.25rem; text-align: center; }
.footer-logo { height: 70px; margin: 0 auto 1.25rem; }
.footer-desc { color: var(--muted); font-size: 0.85rem; line-height: 1.85; max-width: 640px; margin: 0 auto 1.25rem; }
.footer-copy { color: var(--dim); font-size: 0.76rem; }

/* =====================================================================
   BOTTOM MOBILE NAV — brand-new "comic tab dock" design (not reused
   from any other project): a single thick-outlined dock with squared
   chunky segments and a horizontal logo tab peeking above the center.
   ===================================================================== */
.sticky-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  padding: 0.6rem 0.6rem calc(0.6rem + env(safe-area-inset-bottom));
  background: var(--purple-deep);
  border-top: 3px solid var(--border-ink);
}
@media (max-width: 768px) { .sticky-bar { display: block; } }
.dock-row { display: flex; align-items: stretch; gap: 0.5rem; max-width: 560px; margin: 0 auto; position: relative; }
.dock-item {
  flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.2rem;
  padding: 0.55rem 0.2rem; border-radius: 14px;
  background: var(--surface-solid); border: 2.5px solid var(--border-ink);
  color: var(--text); font-family: var(--font-display); font-size: 0.68rem; font-weight: 700;
  box-shadow: var(--shadow-ink); transition: transform 0.15s ease, box-shadow 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.dock-item:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--border-ink); }
.dock-item.acc { background: var(--grad-brand); color: var(--purple-deep); }
.dock-ico { font-size: 1.05rem; line-height: 1; }

.dock-logo {
  position: absolute; left: 50%; top: -28px; transform: translateX(-50%);
  display: flex; align-items: center; justify-content: center;
  -webkit-tap-highlight-color: transparent; transition: transform 0.15s ease;
}
.dock-logo:active { transform: translateX(-50%) scale(0.93); }
.dock-logo img { height: 40px; width: auto; max-width: 140px; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(10,4,26,0.55)); }
@media (max-width: 360px) {
  .dock-item { font-size: 0.6rem; padding: 0.45rem 0.15rem; }
  .dock-logo { top: -24px; }
  .dock-logo img { height: 34px; max-width: 118px; }
}

/* ===== SECTION ALT BG ===== */
.bg-alt { background: rgba(28,15,61,0.34); }

/* ===== SCROLL REVEAL ===== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ===== SUB-PAGES ===== */
body.page-body { overflow-x: hidden; }
.page-main { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 140px 1.25rem 7rem; text-align: center; gap: 1.75rem; position: relative; }
.page-h1 { font-size: clamp(1.3rem, 3.6vw, 1.9rem); line-height: 1.3; text-shadow: 0 4px 16px rgba(10,4,26,0.55); }
.action-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
@media (max-width: 360px) { .action-btns { flex-direction: column; align-items: center; } }
.page-content { max-width: 640px; margin: 0.5rem auto 0; text-align: left; color: var(--muted); font-size: 0.95rem; line-height: 1.85; }
.page-content h2 { color: var(--text); font-size: 1.15rem; line-height: 1.4; margin: 1.5rem 0 0.6rem; }
.page-content p { margin-bottom: 1rem; }
.page-content ul { padding-left: 1.25rem; margin: 0.5rem 0 1rem; }
.page-content li { margin-bottom: 0.5rem; }

/* ===== ARTICLE PAGE ===== */
.article-main { max-width: 780px; margin: 0 auto; padding: 140px 1.25rem 5rem; }
.article-main h1 { font-family: var(--font-display); font-size: clamp(1.5rem, 4.2vw, 2.1rem); line-height: 1.4; margin-bottom: 1rem; color: var(--text); }
.article-main .article-meta { color: var(--dim); font-size: 0.8rem; margin-bottom: 2rem; }
.article-main p { color: var(--muted); font-size: 0.95rem; line-height: 1.9; margin-bottom: 1.25rem; }
.article-main h2 { font-family: var(--font-display); font-size: clamp(1.15rem, 3vw, 1.4rem); margin: 2rem 0 1rem; color: var(--text); }

.article-cover { border-radius: var(--r-xl); overflow: hidden; margin-bottom: 2rem; box-shadow: var(--shadow-card); line-height: 0; border: 3px solid var(--border-ink); }
.article-cover img { width: 100%; }

.article-tldr {
  background: var(--surface); border: 3px solid var(--border-ink); border-radius: var(--r-lg);
  padding: 1.5rem 1.75rem; margin-bottom: 2rem; box-shadow: var(--shadow-ink);
}
.article-tldr h2 { margin-top: 0; font-size: 1rem; color: var(--gold); }
.article-tldr ul { margin: 0; padding-left: 1.25rem; color: var(--muted); font-size: 0.9rem; line-height: 1.95; }
.article-tldr li { margin-bottom: 0.35rem; }

.article-faq { margin-top: 2.5rem; }
