*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0c1a33;
  --navy-900: #07111f;
  --crimson: #9f1d2a;
  --gold: #c6a15b;
  --gold-text: #e8d4a8;
  --cream: #fbf6ef;
  --paper: #fffdf9;
  --ink: #1a140f;
  --muted: #5c534a;
  --line: rgba(12, 26, 51, 0.12);
  --font: "Poppins", system-ui, sans-serif;
  --devanagari: "Noto Sans Devanagari", "Poppins", sans-serif;
}

html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: clip; }
body {
  font-family: var(--font);
  background:
    radial-gradient(ellipse at 90% 0%, rgba(198, 161, 91, 0.1), transparent 32%),
    linear-gradient(180deg, #f3eee5 0%, var(--cream) 40%, #f7f1e8 100%);
  color: var(--ink);
  line-height: 1.7;
}
a { color: inherit; }
a:focus-visible {
  outline: 3px solid rgba(159, 29, 42, 0.45);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ——— Shared chrome ——— */
.site-nav {
  background: rgba(7, 17, 31, 0.96);
  color: var(--cream);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(243, 221, 176, 0.12);
  backdrop-filter: blur(10px);
}
.nav-inner {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--cream);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.nav-brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}
.nav-home {
  color: rgba(251, 246, 239, 0.78);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav-home:hover { color: #fff; }

.site-footer {
  background: #07111f;
  color: rgba(251, 246, 239, 0.58);
  padding: 2rem 1rem 1.75rem;
  text-align: center;
  font-size: 0.85rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 1.1rem;
  margin-bottom: 0.9rem;
}
.site-footer a {
  color: rgba(251, 246, 239, 0.76);
  text-decoration: none;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}
.site-footer a:hover { color: #fff; }

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0 0.9rem;
  border: 1px solid rgba(243, 221, 176, 0.28);
  border-radius: 999px;
  color: var(--gold-text);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: transparent;
}
.tag-soft {
  border-color: rgba(12, 26, 51, 0.14);
  color: var(--crimson);
  background: rgba(159, 29, 42, 0.06);
}
.tag-danger {
  border-color: rgba(159, 29, 42, 0.35);
  color: #fff;
  background: var(--crimson);
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}
.primary-button {
  color: #fff;
  background: var(--crimson);
  border: 1px solid transparent;
}
.primary-button:hover { background: #861722; color: #fff; }
.secondary-button {
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
}
.secondary-button:hover { border-color: rgba(159, 29, 42, 0.35); }
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.icon-mark {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.7rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(12, 26, 51, 0.06);
  color: var(--navy);
}
.icon-mark svg { width: 1.2rem; height: 1.2rem; }
.icon-mark.warn {
  background: rgba(159, 29, 42, 0.1);
  color: var(--crimson);
}
.icon-mark.gold {
  background: rgba(198, 161, 91, 0.16);
  color: #8a6a2a;
}

/* ——— Shared prose helpers ——— */
.prose p { margin-bottom: 1rem; color: var(--muted); }
.prose p:last-child { margin-bottom: 0; }
.prose a {
  color: var(--crimson);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  overflow-wrap: anywhere;
}
.prose ul {
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
}
.prose li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.3rem;
  color: var(--muted);
}
.prose li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.95rem;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--navy);
}
.prose.warn-list li::before { background: var(--crimson); }

.trust-callout {
  margin: 1.5rem 0;
  padding: 1.25rem 1.35rem;
  border-left: 4px solid var(--gold);
  background:
    linear-gradient(90deg, rgba(198, 161, 91, 0.12), transparent 70%),
    var(--paper);
  color: var(--navy);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.35;
}
.trust-callout a { color: var(--crimson); }

.safety-banner {
  margin: 1.25rem 0 1.75rem;
  padding: 1.2rem 1.3rem;
  border: 1px solid rgba(159, 29, 42, 0.28);
  background: linear-gradient(135deg, #fff8f7, #fff);
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  line-height: 1.35;
}

.notice-soft {
  margin: 1.25rem 0;
  padding: 1rem 1.15rem;
  border-radius: 0.85rem;
  background: rgba(12, 26, 51, 0.04);
  border: 1px solid var(--line);
  color: var(--navy);
  font-weight: 600;
}

/* =========================================
   PAGE HERO VARIANTS
   ========================================= */
.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--cream);
}
.page-hero .hero-inner {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2.75rem, 5vw, 3.75rem);
  position: relative;
  z-index: 1;
}

/* Privacy — editorial left */
.hero-editorial {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(198, 161, 91, 0.16), transparent 40%),
    linear-gradient(180deg, #07111f, #0c1a33 70%, #122846);
}
.hero-editorial .hero-inner { max-width: 720px; margin-left: max(1rem, calc((100% - 1080px) / 2 + 1rem)); margin-right: auto; width: auto; padding-left: 0; padding-right: 1rem; }
.hero-editorial .tag { margin-bottom: 1rem; }
.hero-editorial h1 {
  font-size: clamp(2.35rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.96;
  max-width: 12ch;
}
.hero-editorial .lede {
  margin-top: 1.1rem;
  max-width: 36rem;
  color: rgba(251, 246, 239, 0.78);
  font-size: 1.05rem;
}
.hero-editorial .meta {
  margin-top: 0.85rem;
  color: var(--gold-text);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Child Safety — centered authoritative */
.hero-safety {
  text-align: center;
  background:
    radial-gradient(circle at 50% 100%, rgba(159, 29, 42, 0.35), transparent 42%),
    linear-gradient(180deg, #050b14, #0a1428 55%, #120a10);
  border-bottom: 3px solid var(--crimson);
}
.hero-safety .hero-inner { display: grid; justify-items: center; }
.hero-safety .tag { margin-bottom: 1rem; border-color: rgba(159, 29, 42, 0.45); color: #f2c7cb; }
.hero-safety h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
  max-width: 16ch;
}
.hero-safety .lede {
  margin-top: 1rem;
  max-width: 34rem;
  color: rgba(251, 246, 239, 0.82);
  font-weight: 600;
}
.hero-safety .meta { margin-top: 0.75rem; color: var(--gold-text); font-size: 0.9rem; font-weight: 600; }
.hero-safety .hero-mark {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  border: 1.5px solid rgba(242, 199, 203, 0.4);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  color: #f2c7cb;
}
.hero-safety .hero-mark svg { width: 1.4rem; height: 1.4rem; }

/* Terms — minimal formal */
.hero-formal {
  background: #07111f;
  border-bottom: 1px solid rgba(243, 221, 176, 0.14);
}
.hero-formal .hero-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-top: 2.25rem;
  padding-bottom: 2.25rem;
}
.hero-formal .tag {
  margin-bottom: 0.65rem;
  border-radius: 0;
  border-color: rgba(243, 221, 176, 0.22);
}
.hero-formal h1 {
  font-size: clamp(1.9rem, 3.8vw, 2.6rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.hero-formal .meta {
  color: rgba(251, 246, 239, 0.65);
  font-size: 0.9rem;
  font-weight: 500;
  border-left: 1px solid rgba(243, 221, 176, 0.2);
  padding-left: 1rem;
}

/* Community Rules — icon-led rulebook */
.hero-rulebook {
  background:
    radial-gradient(ellipse at 0% 100%, rgba(159, 29, 42, 0.18), transparent 40%),
    linear-gradient(135deg, #0c1a33, #132848 50%, #0c1a33);
}
.hero-rulebook .hero-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem 1.5rem;
  align-items: center;
}
.hero-rulebook .hero-glyph {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(243, 221, 176, 0.25);
  display: grid;
  place-items: center;
  color: var(--gold-text);
  background: rgba(255, 255, 255, 0.04);
}
.hero-rulebook .hero-glyph svg { width: 2rem; height: 2rem; }
.hero-rulebook .tag { margin-bottom: 0.7rem; }
.hero-rulebook h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
}
.hero-rulebook .lede {
  margin-top: 0.75rem;
  max-width: 38rem;
  color: rgba(251, 246, 239, 0.78);
}

/* Guidelines — warmer community */
.hero-community {
  background:
    radial-gradient(circle at 85% 20%, rgba(198, 161, 91, 0.22), transparent 35%),
    radial-gradient(circle at 10% 80%, rgba(159, 29, 42, 0.12), transparent 30%),
    linear-gradient(180deg, #1a2740, #243352);
}
.hero-community .hero-inner { text-align: left; }
.hero-community .tag {
  margin-bottom: 1rem;
  border-color: rgba(232, 212, 168, 0.35);
  color: var(--gold-text);
}
.hero-community h1 {
  font-size: clamp(2.15rem, 4.6vw, 3.3rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
  max-width: 14ch;
}
.hero-community .lede {
  margin-top: 1rem;
  max-width: 36rem;
  color: rgba(251, 246, 239, 0.8);
  font-size: 1.05rem;
}
.hero-community .warm-strip {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.hero-community .warm-chip {
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(243, 221, 176, 0.18);
  color: rgba(251, 246, 239, 0.88);
  font-size: 0.82rem;
  font-weight: 600;
}

/* Contact — support / action */
.hero-support {
  background:
    radial-gradient(ellipse at 70% 0%, rgba(198, 161, 91, 0.2), transparent 40%),
    linear-gradient(120deg, #07111f 0%, #0c1a33 55%, #1a1020 100%);
}
.hero-support .hero-inner {
  display: grid;
  gap: 0.35rem;
}
.hero-support .tag { margin-bottom: 0.85rem; width: fit-content; }
.hero-support h1 {
  font-size: clamp(2.2rem, 4.8vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
  max-width: 14ch;
}
.hero-support .lede {
  margin-top: 0.9rem;
  max-width: 34rem;
  color: rgba(251, 246, 239, 0.78);
}
.hero-support .hero-cta {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

/* Delete — task / action */
.hero-task {
  background: linear-gradient(180deg, #0c1a33, #15243d);
  border-bottom: 1px solid rgba(159, 29, 42, 0.35);
}
.hero-task .hero-inner {
  display: grid;
  gap: 0.5rem;
  max-width: 640px;
}
.hero-task .tag { margin-bottom: 0.7rem; width: fit-content; }
.hero-task h1 {
  font-size: clamp(2rem, 4.4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.hero-task .lede {
  margin-top: 0.75rem;
  color: rgba(251, 246, 239, 0.78);
}
.hero-task .hero-cta { margin-top: 1.25rem; }

/* =========================================
   PRIVACY — editorial document
   ========================================= */
.page-privacy { background: #f4efe6; }
.privacy-shell {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.75rem 0 4.5rem;
  display: grid;
  gap: 1.25rem;
}
.toc-mobile {
  display: block;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  position: sticky;
  top: 4.5rem;
  z-index: 40;
}
.toc-mobile summary {
  list-style: none;
  cursor: pointer;
  padding: 0.9rem 1rem;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 48px;
}
.toc-mobile summary::-webkit-details-marker { display: none; }
.toc-mobile summary::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--crimson);
  font-weight: 600;
}
.toc-mobile[open] summary::after { content: "–"; }
.toc-mobile ol {
  list-style: none;
  padding: 0 1rem 1rem;
  display: grid;
  gap: 0.15rem;
  margin: 0;
  border-top: 1px solid var(--line);
  padding-top: 0.65rem;
}
.toc-mobile a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.92rem;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}
.toc-mobile a:hover { color: var(--crimson); }

.privacy-toc-desk { display: none; }
.privacy-doc {
  max-width: 40rem;
  margin: 0;
}
.privacy-doc .intro {
  font-size: 1.06rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.privacy-doc .section {
  padding: 1.65rem 0 0.35rem;
  border-top: 1px solid rgba(12, 26, 51, 0.1);
  scroll-margin-top: 6rem;
}
.privacy-doc .section:first-of-type { border-top: 0; padding-top: 0.5rem; }
.privacy-doc .section-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--crimson);
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.privacy-doc h2 {
  color: var(--navy);
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.7rem;
  line-height: 1.2;
}

@media (min-width: 960px) {
  .privacy-shell {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
  }
  .toc-mobile { display: none; }
  .privacy-toc-desk {
    display: block;
    position: sticky;
    top: 5.5rem;
    padding-right: 0.5rem;
  }
  .privacy-toc-desk h2 {
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--crimson);
    margin-bottom: 0.75rem;
  }
  .privacy-toc-desk ol {
    list-style: none;
    display: grid;
    gap: 0.2rem;
    border-left: 2px solid rgba(12, 26, 51, 0.1);
    padding-left: 0.85rem;
  }
  .privacy-toc-desk a {
    text-decoration: none;
    color: var(--navy);
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.35;
    display: block;
    padding: 0.35rem 0;
  }
  .privacy-toc-desk a:hover { color: var(--crimson); }
  .privacy-doc { max-width: 38rem; }
}

/* =========================================
   CHILD SAFETY — safety-first panels
   ========================================= */
.page-child-safety { background: #f2ece3; }
.safety-shell {
  width: min(880px, calc(100% - 2rem));
  margin: -0.5rem auto 0;
  padding: 0 0 4.5rem;
}
.safety-stack { display: grid; gap: 1rem; }
.safety-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--navy);
  padding: 1.35rem 1.35rem 1.4rem;
}
.safety-panel.danger { border-left-color: var(--crimson); }
.safety-panel.action {
  border-left-color: var(--gold);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(198, 161, 91, 0.12), transparent 45%),
    var(--paper);
}
.safety-panel .panel-head {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}
.safety-panel h2 {
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.safety-contact {
  margin-top: 0.85rem;
  padding: 1.15rem 1.2rem;
  background: var(--navy-900);
  color: var(--cream);
  display: grid;
  gap: 0.45rem;
}
.safety-contact span {
  color: rgba(251, 246, 239, 0.7);
  font-size: 0.9rem;
}
.safety-contact a {
  color: var(--gold-text);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.safety-contact a:hover { text-decoration: underline; }

/* =========================================
   TERMS — structured legal document
   ========================================= */
.page-terms { background: #efe9df; }
.terms-shell {
  width: min(760px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0 4.5rem;
}
.terms-toc {
  margin-bottom: 1.25rem;
  border: 1px solid rgba(12, 26, 51, 0.14);
  background: rgba(255, 253, 249, 0.7);
}
.terms-toc summary {
  list-style: none;
  cursor: pointer;
  padding: 0.85rem 1rem;
  font-weight: 700;
  color: var(--navy);
  min-height: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.terms-toc summary::-webkit-details-marker { display: none; }
.terms-toc summary::after { content: "Show"; font-size: 0.8rem; color: var(--crimson); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.terms-toc[open] summary::after { content: "Hide"; }
.terms-toc ol {
  list-style: none;
  columns: 1;
  gap: 1.5rem;
  padding: 0 1rem 1rem;
  margin: 0;
  border-top: 1px solid var(--line);
  padding-top: 0.75rem;
}
.terms-toc a {
  display: block;
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.28rem 0;
}
.terms-toc a:hover { color: var(--crimson); }
.terms-doc {
  background: var(--paper);
  border: 1px solid rgba(12, 26, 51, 0.14);
  padding: clamp(1.4rem, 3vw, 2.4rem);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}
.terms-doc .intro { color: var(--muted); margin-bottom: 1rem; }
.terms-doc .clause {
  padding: 1.35rem 0 0.2rem;
  border-top: 1px solid rgba(12, 26, 51, 0.1);
  scroll-margin-top: 5.5rem;
}
.terms-doc .clause:first-of-type { border-top: 0; }
.terms-doc .clause-num {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.terms-doc h2 {
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.65rem;
}
.terms-doc .doc-foot {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}
@media (min-width: 700px) {
  .terms-toc ol { columns: 2; }
}

/* =========================================
   COMMUNITY RULES — visual rulebook
   ========================================= */
.page-rules { background: #f3eee5; }
.rules-shell {
  width: min(1040px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.75rem 0 4.5rem;
}
.rules-intro {
  max-width: 44rem;
  margin-bottom: 1.5rem;
  color: var(--muted);
}
.rules-grid {
  display: grid;
  gap: 1rem;
}
.rule-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.25rem 1.3rem 1.3rem;
  display: grid;
  gap: 0.55rem;
}
.rule-card .rule-head {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}
.rule-card h2 {
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.rule-card.warning {
  border-color: rgba(159, 29, 42, 0.22);
  background: linear-gradient(180deg, #fff8f7, #fffdf9);
}
.rule-card.warning h2 { color: var(--crimson); }
.rule-card.span-2 { grid-column: 1 / -1; }
.rules-footer-note {
  margin-top: 1.5rem;
  padding: 1.25rem 1.3rem;
  background: var(--navy-900);
  color: var(--cream);
}
.rules-footer-note p { color: rgba(251, 246, 239, 0.75); margin-bottom: 0.5rem; }
.rules-footer-note a {
  color: var(--gold-text);
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}
@media (min-width: 768px) {
  .rules-grid { grid-template-columns: 1fr 1fr; }
}

/* =========================================
   GUIDELINES — warmer community guide
   ========================================= */
.page-guidelines { background: #f7f1e8; }
.guide-shell {
  width: min(980px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.75rem 0 4.5rem;
}
.guide-intro {
  max-width: 42rem;
  margin-bottom: 1.75rem;
  color: var(--muted);
  font-size: 1.05rem;
}
.guide-rail {
  display: grid;
  gap: 1.25rem;
}
.guide-block {
  display: grid;
  gap: 0.65rem;
  padding: 0 0 1.4rem;
  border-bottom: 1px dashed rgba(12, 26, 51, 0.14);
}
.guide-block:last-of-type { border-bottom: 0; }
.guide-block .guide-label {
  display: inline-flex;
  width: fit-content;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(198, 161, 91, 0.16);
  color: #7a5d24;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.guide-block h2 {
  color: var(--navy);
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.guide-callout {
  margin: 0.35rem 0 0.5rem;
  padding: 0.95rem 1.1rem;
  border-radius: 0.9rem;
  background: rgba(12, 26, 51, 0.04);
  color: var(--navy);
  font-weight: 650;
  font-size: 0.98rem;
}
.guide-block.caution .guide-label {
  background: rgba(159, 29, 42, 0.1);
  color: var(--crimson);
}
.guide-block.caution .guide-callout {
  background: rgba(159, 29, 42, 0.06);
}
.guide-contact {
  margin-top: 1.5rem;
  padding: 1.35rem 1.4rem;
  border-radius: 1.1rem;
  background:
    radial-gradient(ellipse at 90% 0%, rgba(198, 161, 91, 0.2), transparent 40%),
    linear-gradient(135deg, #1a2740, #0c1a33);
  color: var(--cream);
}
.guide-contact p { color: rgba(251, 246, 239, 0.75); margin-bottom: 0.45rem; }
.guide-contact a {
  color: var(--gold-text);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  overflow-wrap: anywhere;
}

/* =========================================
   CONTACT — support hub
   ========================================= */
.page-contact { background: #f3eee5; }
.contact-shell {
  width: min(980px, calc(100% - 2rem));
  margin: -1.25rem auto 0;
  padding: 0 0 4.5rem;
  position: relative;
  z-index: 1;
}
.contact-lead {
  max-width: 40rem;
  margin-bottom: 1.35rem;
  color: var(--muted);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.15rem 1.25rem;
}
.hub-grid {
  display: grid;
  gap: 1rem;
}
.hub-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.3rem 1.3rem 1.35rem;
  display: grid;
  gap: 0.55rem;
  align-content: start;
  min-height: 100%;
}
.hub-card .hub-top {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}
.hub-card h2 {
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.hub-card p { color: var(--muted); margin: 0; }
.hub-card .hub-meta {
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--navy);
  overflow-wrap: anywhere;
}
.hub-card .button-row { margin-top: 0.35rem; }
.hub-notes {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
}
.hub-notes section {
  background: rgba(255, 253, 249, 0.7);
  border: 1px solid var(--line);
  padding: 1.2rem 1.25rem;
}
.hub-notes h3 {
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.55rem;
}
@media (min-width: 700px) {
  .hub-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .hub-grid { grid-template-columns: 1fr 1fr; }
}

/* =========================================
   DELETE ACCOUNT — guided workflow
   ========================================= */
.page-delete { background: #f2ece3; }
.delete-shell {
  width: min(760px, calc(100% - 2rem));
  margin: -1rem auto 0;
  padding: 0 0 4.5rem;
  position: relative;
  z-index: 1;
}
.delete-cta {
  background: var(--paper);
  border: 1px solid rgba(159, 29, 42, 0.22);
  padding: 1.35rem 1.4rem;
  margin-bottom: 1.35rem;
  display: grid;
  gap: 0.7rem;
}
.delete-cta h2 {
  color: var(--navy);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.delete-cta p { color: var(--muted); margin: 0; }
.delete-cta .primary-button,
.delete-cta .primary-button:link,
.delete-cta .primary-button:visited,
.delete-cta .primary-button:hover,
.delete-cta .primary-button:focus,
.delete-cta .primary-button:focus-visible,
.delete-cta .primary-button:active {
  color: #fff;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.delete-cta .primary-button:hover,
.delete-cta .primary-button:active {
  background: #861722;
  color: #fff;
}
.delete-cta .primary-button:focus-visible {
  outline: 3px solid rgba(12, 26, 51, 0.55);
  outline-offset: 3px;
  color: #fff;
}
.step-list {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.15rem 1.2rem;
}
.step-num {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--cream);
  font-weight: 800;
  font-size: 0.95rem;
}
.step.caution .step-num { background: var(--crimson); }
.step h3 {
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}
.step p, .step li { color: var(--muted); }
.delete-details {
  display: grid;
  gap: 1rem;
}
.delete-details section {
  padding: 1.15rem 1.2rem;
  background: rgba(255, 253, 249, 0.75);
  border: 1px solid var(--line);
}
.delete-details h2 {
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.55rem;
}
.caution-note {
  border-left: 4px solid var(--crimson);
  background: #fff8f7;
  padding: 1rem 1.15rem;
  color: var(--navy);
  font-weight: 650;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 767px) {
  .nav-inner { min-height: 60px; padding-inline: clamp(1rem, 4.5vw, 1.35rem); }
  .nav-brand span { font-size: 0.95rem; }
  .hero-editorial .hero-inner,
  .hero-rulebook .hero-inner {
    margin-left: auto;
    margin-right: auto;
    width: min(1080px, calc(100% - 2rem));
    padding-left: 0;
    padding-right: 0;
  }
  .hero-rulebook .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-rulebook .hero-glyph { width: 3.5rem; height: 3.5rem; }
  .hero-formal .meta {
    border-left: 0;
    padding-left: 0;
    width: 100%;
  }
  .primary-button,
  .secondary-button { width: 100%; }
  .hub-card .button-row .primary-button,
  .hub-card .button-row .secondary-button,
  .delete-cta .button-row .primary-button,
  .delete-cta .button-row .secondary-button,
  .hero-support .hero-cta .primary-button,
  .hero-support .hero-cta .secondary-button,
  .hero-task .hero-cta .primary-button,
  .hero-task .hero-cta .secondary-button {
    width: 100%;
  }
  .hub-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .hub-card {
    padding: 1.15rem 1.1rem;
  }
  .contact-shell,
  .privacy-shell,
  .rules-shell,
  .guide-shell,
  .safety-shell,
  .terms-shell,
  .delete-shell {
    width: min(1080px, calc(100% - 2rem));
    padding-top: 1.35rem;
    padding-bottom: 2.5rem;
  }
  .page-hero .hero-inner {
    padding-top: max(1.75rem, env(safe-area-inset-top, 0px));
    padding-bottom: 1.75rem;
  }
  .site-footer {
    padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  }
  .page-contact .hub-card h2 {
    font-size: clamp(1.2rem, 5vw, 1.4rem);
  }
  .hero-support .hero-cta,
  .hero-task .hero-cta,
  .button-row {
    flex-direction: column;
    align-items: stretch;
  }
  .contact-lead,
  .notice-soft,
  .hub-card .hub-meta,
  .hub-card a[href^="mailto:"] {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .page-hero h1 {
    font-size: clamp(1.85rem, 8vw, 2.45rem);
    line-height: 1.05;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .privacy-shell,
  .rules-shell,
  .guide-shell,
  .contact-shell,
  .safety-shell,
  .terms-shell,
  .delete-shell {
    width: min(920px, calc(100% - 2.5rem));
  }
  .hero-community .warm-strip { gap: 0.55rem; }
}

@media (min-width: 820px) and (max-width: 1180px) and (orientation: landscape) {
  .page-hero .hero-inner { padding-top: 2rem; padding-bottom: 2rem; }
  .privacy-shell,
  .rules-shell { padding-top: 1.25rem; }
}
