@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

:root {
  --bg: #0c0911;
  --bg-soft: #120d18;
  --surface: #171020;
  --surface-2: #21152b;
  --text: #f4edf6;
  --muted: #b9aabd;
  --pink: #bd8295;
  --pink-hover: #c890a2;
  --button-text: #24131e;
  --pink-soft: #d3a5b5;
  --pink-pale: #e6c6d1;
  --border: rgba(255,255,255,.09);
  --shadow: 0 20px 60px rgba(0,0,0,.35);
  --radius: 22px;
  --header-height: 64px;
}

* { box-sizing: border-box; }
body.guide-toc-open { overflow: hidden; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 82% 7%, rgba(189,130,149,.13), transparent 28rem),
    radial-gradient(circle at 12% 23%, rgba(144,81,173,.11), transparent 24rem),
    var(--bg);
  color: var(--text);
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.65;
}

a { color: var(--pink-soft); text-decoration: none; }
a:hover { color: var(--pink-pale); }

h1, h2 {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0;
}

h1 { font-size: clamp(3rem, 7vw, 6.1rem); line-height: .97; max-width: 900px; }
h2 { font-size: clamp(2.15rem, 4vw, 3.7rem); }

.site-header {
  backdrop-filter: blur(20px);
  background: rgba(12,9,17,.78);
  border-bottom: 1px solid var(--border);
}

.navbar { padding: .45rem 0; }
.site-header .navbar-brand { gap: .75rem; }
.site-header .nav-link { font-size: .875rem; }
.site-header .btn-primary-soft { padding: .5rem .85rem; font-size: .875rem; }
.navbar-brand { color: var(--text); display: flex; align-items: center; }
.navbar-brand:hover { color: var(--text); }
.brand-zlea {
  color: var(--pink-soft);
  font: 700 1.65rem/1 "Playfair Display", Georgia, serif;
  letter-spacing: .025em;
}
.brand-services {
  font-size: .82rem;
  line-height: 1.15;
  white-space: nowrap;
}
.brand-digital { color: var(--text); }
.brand-consulting { color: var(--pink-soft); }
.nav-link { color: var(--muted); }
.nav-link:hover { color: var(--text); }
.navbar-toggler { border-color: var(--border); filter: invert(1); }

.lang-switch {
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 999px;
  min-width: 48px;
}
.lang-switch:hover { border-color: rgba(189,130,149,.6); color: var(--pink-pale); }

.btn-primary-soft, .btn-glow {
  --bs-btn-color: var(--button-text);
  --bs-btn-hover-color: var(--button-text);
  --bs-btn-active-color: var(--button-text);
  --bs-btn-disabled-color: var(--button-text);
  --bs-btn-disabled-bg: var(--pink);
  border: none;
  color: var(--button-text);
  font-weight: 700;
  background: var(--pink);
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
  border-radius: 999px;
}
.btn-primary-soft:hover, .btn-glow:hover,
.btn-primary-soft:active, .btn-glow:active {
  color: var(--button-text);
  background: var(--pink-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,.18);
}
.btn-primary-soft:disabled, .btn-glow:disabled {
  color: var(--button-text);
  background: var(--pink);
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.btn-primary-soft { padding: .7rem 1.1rem; }
.btn-glow { padding: .9rem 1.35rem; }

.btn-outline-soft {
  color: var(--text);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: .9rem 1.35rem;
}
.btn-outline-soft:hover { background: rgba(255,255,255,.05); color: var(--text); border-color: rgba(255,255,255,.28); }

.hero-section {
  min-height: 0;
  padding: 2rem 0;
  display: flex;
  align-items: center;
}
/* Grow naturally on short screens so text and controls remain reachable. */
.hero-section > .container { min-width: 0; }
.hero-section .row { --bs-gutter-y: 2rem; }
.hero-section h1 {
  font-size: clamp(2.6rem, 4.8vw, 4.5rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: .01em;
  margin-bottom: 1.25rem;
  overflow-wrap: break-word;
}
.hero-section .btn-lg { font-size: 1rem; }

/* Home hero artwork: dark overlay keeps the guide copy readable across the image. */
body[data-page="home"] .hero-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(12,9,17,.98) 0%, rgba(12,9,17,.93) 34%, rgba(12,9,17,.66) 55%, rgba(12,9,17,.18) 100%),
    url("assets/zlea-home-hero.webp") center right / cover no-repeat;
}
body[data-page="home"] .hero-section > .container {
  position: relative;
  z-index: 1;
  width: 100%;
}
body[data-page="home"] .hero-content { padding-block: clamp(1rem, 3vw, 2rem); }
body[data-page="home"] .hero-copy { max-width: 42rem; color: #d8cedb; }
.hero-newsletter-form {
  max-width: 34rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-newsletter-form > label {
  display: block;
  margin-bottom: .55rem;
  color: var(--text);
  font-size: .9rem;
  font-weight: 600;
}
.hero-newsletter-controls { display: flex; gap: .65rem; }
.hero-newsletter-controls input {
  min-width: 0;
  flex: 1;
  padding: .72rem 1rem;
  color: var(--text);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(8,6,12,.7);
}
.hero-newsletter-controls input::placeholder { color: #9f91a4; }
.hero-newsletter-controls input:focus {
  border-color: rgba(189,130,149,.6);
  box-shadow: 0 0 0 3px rgba(189,130,149,.1);
  outline: none;
}
.hero-newsletter-controls .btn { padding: .7rem 1.05rem; }
.hero-newsletter-note,
.hero-newsletter-status { margin: .5rem 0 0; color: var(--muted); font-size: .76rem; }
.hero-newsletter-status.is-success { color: #bfe7d3; }
.hero-newsletter-status.is-error { color: #ffd0dc; }
.hero-newsletter-controls .btn:disabled { opacity: .7; cursor: wait; }
.hero-copy { max-width: 760px; font-size: clamp(1.08rem, 2vw, 1.35rem); color: var(--muted); }
.eyebrow {
  display: inline-block; color: var(--pink-soft); font-size: .78rem;
  font-weight: 700; letter-spacing: .15em; margin-bottom: 1rem;
}
.trust-note {
  display: inline-flex; align-items: center; gap: .65rem; color: var(--muted);
  font-size: .95rem; padding: .65rem 1rem; border-radius: 999px;
  background: rgba(255,255,255,.025); border: 1px solid var(--border);
}
.trust-icon { color: var(--pink); }

.security-card {
  min-height: 360px;
  background:
    radial-gradient(circle at 50% 35%, rgba(189,130,149,.15), transparent 12rem),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 1.4rem 1.4rem 2rem;
  box-shadow: var(--shadow);
}
.security-card-top { display: flex; gap: .4rem; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.18); }
.security-orbit { position: relative; height: 190px; display: grid; place-items: center; }
.orbit-ring { position: absolute; border: 1px solid rgba(255,158,199,.18); border-radius: 50%; }
.ring-one { width: 190px; height: 190px; }
.ring-two { width: 255px; height: 135px; transform: rotate(-15deg); }
.shield {
  width: 92px; height: 110px; display: grid; place-items: center;
  background: linear-gradient(160deg, rgba(255,215,232,.94), rgba(189,130,149,.85));
  color: #31101f; font-size: 2rem; border-radius: 46px 46px 32px 32px;
  box-shadow: 0 0 60px rgba(189,130,149,.28);
}

.section-pad { padding: 6.3rem 0; }
.section-alt { background: rgba(255,255,255,.018); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-heading { max-width: 800px; }
.section-heading p, .lead-copy { color: var(--muted); font-size: 1.08rem; }

.help-card, .resource-card {
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.018));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.55rem;
  transition: .2s ease;
}
.help-card:hover, .resource-card:hover {
  transform: translateY(-4px);
  border-color: rgba(189,130,149,.28);
  box-shadow: 0 18px 46px rgba(0,0,0,.23);
}
.help-card h3, .resource-card h3 { font-size: 1.08rem; margin: .9rem 0 .65rem; }
.help-card p, .resource-card p { color: var(--muted); font-size: .95rem; }
.icon-wrap {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 13px; color: var(--pink-pale);
  background: rgba(189,130,149,.1); border: 1px solid rgba(189,130,149,.18);
}
.tag {
  font-size: .7rem; letter-spacing: .12em; font-weight: 700;
  color: var(--pink-soft);
}
.text-link { white-space: nowrap; }

.consultation-panel {
  border-radius: 30px;
  padding: clamp(1.4rem, 4vw, 3.4rem);
  background:
    radial-gradient(circle at 90% 20%, rgba(189,130,149,.12), transparent 20rem),
    var(--surface);
  border: 1px solid rgba(189,130,149,.14);
  box-shadow: var(--shadow);
}

.mini-form {
  background: rgba(8,6,12,.48);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 1.2rem;
}
.mini-form label { font-size: .82rem; color: var(--muted); margin: .55rem 0 .35rem; }
.mini-form input, .mini-form select, .newsletter-form input {
  width: 100%;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  color: var(--text);
  border-radius: 13px;
  padding: .82rem .9rem;
  outline: none;
}
.mini-form input:focus, .mini-form select:focus, .newsletter-form input:focus {
  border-color: rgba(189,130,149,.55);
  box-shadow: 0 0 0 3px rgba(189,130,149,.08);
}
.mini-form select option { background: #1b1322; }
.small-note { color: var(--pink-pale); font-size: .9rem; }
.form-status { color: var(--muted); font-size: .78rem; margin-top: .75rem; text-align: center; }

.newsletter-section { padding: 4.5rem 0; }
.newsletter-box {
  display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 2rem;
  padding: 2rem; border: 1px solid var(--border); border-radius: 24px;
  background: linear-gradient(135deg, rgba(189,130,149,.08), rgba(255,255,255,.015));
}
.newsletter-form { display: flex; gap: .7rem; }
.newsletter-form input { flex: 1; }
.muted { color: var(--muted); }

.site-footer { padding: 2.5rem 0 5.5rem; border-top: 1px solid var(--border); }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.2rem; }

.chat-toggle,
.chat-panel { display: none; }
.floating-help-button {
  position: fixed;
  right: max(1.25rem, env(safe-area-inset-right));
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  z-index: 1090;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .78rem 1.2rem;
  color: var(--button-text);
  background: var(--pink);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(0,0,0,.36);
  font-weight: 700;
}
.floating-help-button:hover,
.floating-help-button:focus-visible { color: var(--button-text); background: var(--pink-hover); }

@media (max-width: 991px) {
  .hero-section .security-card { min-height: 0; }
  .newsletter-box { grid-template-columns: 1fr; }
}

@media (max-width: 575px) {
  .hero-newsletter-controls { flex-direction: column; }
  .hero-newsletter-controls .btn { align-self: flex-start; }
  .section-pad { padding: 4.6rem 0; }
  .hero-section { padding: 2rem 0; }
  .hero-section .trust-note { border-radius: 16px; }
  .site-header .navbar-brand { margin-right: .5rem; font-size: .9rem; }
  .newsletter-form { flex-direction: column; }
  .floating-help-button {
    right: max(.9rem, env(safe-area-inset-right));
    bottom: max(.9rem, env(safe-area-inset-bottom));
  }
}

/* Multipage content refresh: retain the existing warm pink / dark identity. */
.skip-link { position: absolute; top: -100px; left: 1rem; z-index: 2000; padding: .75rem; background: var(--surface); }
.skip-link:focus { top: .5rem; }
:focus-visible { outline: 2px solid var(--pink-soft); outline-offset: 4px; }
[hidden] { display: none !important; }
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
.navbar .dropdown-menu { background: var(--surface); border: 1px solid var(--border); padding: .5rem; border-radius: 14px; }
.navbar .dropdown-item { color: var(--text); border-radius: 8px; padding: .6rem .8rem; }
.navbar .dropdown-item:hover, .navbar .dropdown-item:focus, .navbar .dropdown-item.active { background: var(--surface-2); color: var(--pink-pale); }
.navbar .nav-link.active { color: var(--pink-pale); }
.navbar button.nav-link { border: 0; background: none; }
.btn:disabled { opacity: 1; cursor: default; }
.guide-panel { padding: clamp(1.5rem, 3vw, 3rem); background: linear-gradient(145deg, var(--surface-2), var(--surface)); border: 1px solid rgba(189,130,149,.28); border-radius: var(--radius); box-shadow: var(--shadow); }
.guide-panel h2 { font-size: clamp(2.1rem, 3.2vw, 3.2rem); margin: 1rem 0 1.5rem; }
.guide-topics { display: grid; gap: .75rem; border-block: 1px solid var(--border); padding: 1.5rem 0; margin: 1.5rem 0; color: var(--pink-pale); }
.hero-copy { font-size: clamp(1rem, 1.5vw, 1.15rem); }
.page-title { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.1; margin-bottom: 1.25rem; }
.page-content { min-height: calc(80svh - var(--header-height)); }
.about-copy p { margin-bottom: 1.5rem; }
.about-copy .btn { display: inline-block; }
.message-form label { font-size: 1rem; display: block; }
.message-form textarea { width: 100%; color: var(--text); background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: 13px; padding: .8rem; resize: vertical; }
.message-form textarea:focus { border-color: var(--pink-soft); }
.reply-choice { display: flex; gap: .75rem; align-items: center; margin-top: 1rem; }
.reply-choice input { width: 1.15rem; height: 1.15rem; accent-color: var(--pink); flex-shrink: 0; }
.reply-choice label { margin: 0; }
.availability-note { color: var(--muted); font-size: .875rem; }
#message-status { padding: 1rem; border: 1px solid var(--border); border-radius: 12px; }
#help .consultation-panel { padding: 1.5rem; }
#help-form { scroll-margin-top: 1rem; }
.featured-resource { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.resource-card h2 { margin: 1rem 0; font-family: "DM Sans", system-ui, sans-serif; line-height: 1.35; }
.status-chip { display: inline-block; flex-shrink: 0; padding: .35rem .7rem; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); font-size: .875rem; }
.news-filters { display: flex; flex-wrap: wrap; gap: .6rem; margin: 2rem 0; }
.filter-button { background: transparent; border: 1px solid var(--border); border-radius: 999px; padding: .6rem 1rem; color: var(--muted); }
.filter-button:hover, .filter-button[aria-pressed="true"] { background: var(--surface-2); border-color: var(--pink); color: var(--pink-pale); }
.empty-state { padding: 2.5rem 1.5rem; border: 1px solid var(--border); border-radius: var(--radius); color: var(--muted); }
@media (max-width: 575px) {
  .featured-resource { flex-direction: column; align-items: flex-start; }
  .site-footer { padding-bottom: 6rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Approved V1 content structure. */
.language-choice { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; color: var(--muted); }
.language-choice button { padding: .4rem .3rem; border: 0; background: transparent; color: var(--muted); }
.language-choice button[aria-pressed="true"] { color: var(--pink-pale); font-weight: 700; text-decoration: underline; text-underline-offset: .3rem; }
.language-choice button:hover { color: var(--text); }
.legal-pending { background: none; padding: 0; border: 0; color: var(--muted); cursor: default; }
.resource-controls {
  display: grid;
  gap: 1.15rem;
  margin: 2rem 0;
  padding: clamp(1rem, 2.5vw, 1.4rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,.02);
}
.resource-search-field { display: grid; gap: .55rem; max-width: 680px; }
.resource-search-field label { color: var(--text); font-weight: 700; }
.resource-search-field input {
  width: 100%;
  min-height: 48px;
  padding: .75rem 1rem;
  color: var(--text);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 13px;
}
.resource-search-field input::placeholder { color: var(--muted); }
.resource-search-field input:focus {
  outline: 2px solid transparent;
  border-color: var(--pink-soft);
  box-shadow: 0 0 0 3px rgba(189,130,149,.15);
}
.resource-filters { display: flex; flex-wrap: wrap; gap: .6rem; }
.resource-result-status { min-height: 1.4em; margin: 0; color: var(--muted); font-size: .9rem; }
body:not([data-page="home"]) main h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.1; margin-bottom: 1.5rem; }
.resource-card h2, .resource-card h3 { font-size: 1.2rem; }
.resource-card { display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; }
.resource-card p { flex: 1; }
.guide-panel { min-height: 320px; display: flex; flex-direction: column; justify-content: center; }
#consultation h2 { font-size: 1.8rem; }
#help-form, #consultation { scroll-margin-top: 1rem; }
.section-heading > .btn, .section-heading > .d-flex { margin-top: 1rem; }

/* Full-height hero is desktop-only; narrower layouts follow their content. */
@media (min-width: 992px) {
  .hero-section {
    min-height: calc(100vh - var(--header-height));
    min-height: calc(100svh - var(--header-height));
    padding: clamp(1.5rem, 4svh, 3rem) 0;
  }
}
@media (max-width: 767.98px) {
  .site-header .navbar-nav { gap: .5rem; padding: .75rem 0; }
  body[data-page="home"] .hero-section {
    background:
      linear-gradient(90deg, rgba(12,9,17,.97) 0%, rgba(12,9,17,.93) 68%, rgba(12,9,17,.72) 100%),
      url("assets/zlea-home-hero.webp") 68% center / cover no-repeat;
  }
  .hero-section { padding: 1.75rem 0 2rem; }
  .hero-section .row { --bs-gutter-y: 1.5rem; }
  .hero-section h1 {
    font-size: clamp(2rem, calc(1.4rem + 2.4vw), 2.25rem);
    line-height: 1.2;
    letter-spacing: .01em;
    margin-bottom: 1rem;
  }
  .hero-section .eyebrow { letter-spacing: .1em; margin-bottom: .75rem; }
  .hero-copy { font-size: 1rem; line-height: 1.65; }
  .hero-copy p { margin-bottom: 1rem; }
  .hero-section .btn-glow { padding: .75rem 1.1rem; }
  .hero-section .guide-panel { min-height: 0; padding: 1.25rem; border-radius: 18px; }
  .hero-section .guide-panel h2 {
    font-size: clamp(1.5rem, 6vw, 1.8rem);
    line-height: 1.2;
    letter-spacing: .005em;
    margin: 0 0 .75rem;
  }
  .hero-section .guide-panel p:last-child { margin-bottom: 0; }
}


/* Learn navigation and editorial content */
.navbar .nav-link:focus,
.navbar .nav-link.show,
.navbar .nav-link[aria-expanded="true"] {
  color: var(--pink-pale);
}
.news-card,
.article-card,
.article-engagement,
.private-question-card {
  background: rgba(23,16,32,.9);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(0,0,0,.2);
}
.news-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.35rem, 3vw, 2rem);
}
.news-card h2 {
  margin: 1rem 0;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.35;
}
.news-card h3 {
  margin-top: 1.25rem;
  font: 700 .85rem/1.4 "DM Sans", system-ui, sans-serif;
  color: var(--pink-pale);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.news-meta {
  width: 100%;
  margin: 0 0 .25rem;
  padding: .9rem 0;
  border-block: 1px solid var(--border);
}
.news-meta div { display: grid; grid-template-columns: 6rem 1fr; gap: .75rem; }
.news-meta dt { color: var(--muted); font-weight: 500; }
.news-meta dd { margin: 0; color: var(--text); }
.news-source-link { margin-top: auto; }

.article-shell { max-width: 900px; }
.article-back { display: inline-flex; margin-bottom: 2rem; }
.article-header { margin-bottom: 2.5rem; }
.article-header h1 { max-width: 850px; }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1.25rem;
  margin: 1.5rem 0;
  color: var(--muted);
  font-size: .9rem;
}
.article-card { padding: clamp(1.35rem, 4vw, 3rem); }
.article-card section + section { margin-top: 2.5rem; }
.article-card h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 1rem; }
.article-card p, .article-card li { color: #d8cedb; }
.scenario-box,
.safety-note,
.article-checklist,
.source-box {
  padding: 1.25rem;
  border-radius: 16px;
  background: rgba(189,130,149,.08);
  border: 1px solid rgba(189,130,149,.2);
}
.article-checklist {
  list-style: none;
  display: grid;
  gap: .8rem;
  margin: 0;
}
.article-checklist li { position: relative; padding-left: 1.75rem; }
.article-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--pink-soft);
  font-weight: 700;
}
.source-box a { font-weight: 700; }
.article-engagement { margin-top: 2rem; padding: clamp(1.35rem, 3vw, 2rem); }
.article-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.like-button[aria-pressed="true"] {
  background: var(--pink);
  border-color: var(--pink);
  color: var(--button-text);
}
.comments-section { padding-top: 2rem; }
.comment-list { display: grid; gap: 1rem; margin: 1.25rem 0 2rem; }
.comment {
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: rgba(255,255,255,.025);
  border: 1px solid var(--border);
}
.comment p { margin: .4rem 0 0; color: var(--muted); }
.comment-form { display: grid; gap: .9rem; }
.comment-form label { font-weight: 600; }
.comment-form input,
.comment-form textarea {
  width: 100%;
  color: var(--text);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: .8rem;
}
.comment-form textarea { resize: vertical; }
.comment-safety { color: var(--muted); font-size: .875rem; }
.private-question-card {
  margin-top: 2rem;
  padding: clamp(1.35rem, 3vw, 2rem);
  border-color: rgba(189,130,149,.28);
}
.private-question-card h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
@media (max-width: 575px) {
  .news-meta div { grid-template-columns: 1fr; gap: 0; margin-bottom: .65rem; }
  .article-meta { display: grid; gap: .35rem; }
  .article-actions { align-items: flex-start; }
}


/* Focused Get Help form */
.help-intro { max-width: 760px; }
.help-intro-copy {
  margin: 0;
  color: #d8cedb;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  line-height: 1.65;
}
.help-safety-note {
  max-width: 760px;
  margin: 1.35rem 0 0;
  padding-left: 1rem;
  border-left: 3px solid var(--pink);
  color: var(--pink-pale);
  font-size: .95rem;
}
.help-form-shell { max-width: 820px; }
.contact-form-card {
  display: grid;
  gap: .35rem;
  margin-top: 1.5rem;
  padding: clamp(1.25rem, 4vw, 2.25rem);
  background: rgba(23,16,32,.88);
}
.message-form input:focus,
.message-form select:focus,
.message-form textarea:focus {
  border-color: rgba(189,130,149,.55);
  box-shadow: 0 0 0 3px rgba(189,130,149,.08);
  outline: none;
}
.newsletter-choice,
.privacy-consent {
  display: flex !important;
  align-items: flex-start;
  gap: .75rem;
  margin: 1.25rem 0 .5rem !important;
  color: var(--text) !important;
  font-size: 1rem !important;
  cursor: pointer;
}
.newsletter-choice input,
.privacy-consent input {
  width: 1.15rem !important;
  height: 1.15rem;
  flex: 0 0 auto;
  margin-top: .22rem;
  accent-color: var(--pink);
}
.privacy-consent {
  margin-top: .25rem !important;
  color: var(--muted) !important;
  font-size: .9rem !important;
}
.privacy-consent a { text-decoration: underline; text-underline-offset: .16rem; }
.contact-form-card .small-note { margin: .5rem 0 1rem; }
.form-privacy-link {
  margin: -.35rem 0 .8rem;
  color: var(--muted);
  font-size: .82rem;
}
.contact-form-card .btn { justify-self: start; }
.form-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}
.contact-form-card .form-status {
  margin: .35rem 0 .75rem;
  padding: .85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: left;
  font-size: .92rem;
}
.contact-form-card .form-status.is-pending { color: var(--muted); }
.contact-form-card .form-status.is-success {
  color: #bfe7d3;
  border-color: rgba(104, 199, 151, .35);
  background: rgba(104, 199, 151, .08);
}
.contact-form-card .form-status.is-error {
  color: #ffd0dc;
  border-color: rgba(217, 93, 130, .38);
  background: rgba(217, 93, 130, .09);
}
.contact-form-card .btn:disabled {
  opacity: .7;
  cursor: wait;
}

/* Privacy and Terms */
.legal-page { padding: clamp(3rem, 7vw, 5.5rem) 0 6rem; }
.legal-container { max-width: 900px; }
.legal-header {
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.legal-header h1 {
  max-width: none;
  margin-bottom: 1rem;
  font-size: clamp(2.7rem, 7vw, 4.7rem);
  line-height: 1.05;
}
.legal-header > p:not(.legal-updated) {
  max-width: 720px;
  color: #d8cedb;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}
.legal-updated { margin: 1rem 0 0; color: var(--muted); font-size: .85rem; }
.legal-content { max-width: 780px; padding-top: 1rem; }
.legal-content section { padding: 1.65rem 0; border-bottom: 1px solid var(--border); }
.legal-content section:last-child { border-bottom: 0; }
.legal-content h2 { margin-bottom: .8rem; font-size: clamp(1.55rem, 3vw, 2rem); }
.legal-content p:last-child,
.legal-content ul:last-child { margin-bottom: 0; }
.legal-content li + li { margin-top: .45rem; }

/* Editorial guide layout */
.guide-article { padding: 2.75rem 0 5.5rem; }
.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.guide-main { min-width: 0; }
.guide-article .article-back {
  margin-bottom: 1.75rem;
  color: var(--text);
  font-size: .9rem;
}
.guide-article .article-header { margin-bottom: 1.75rem; }
body[data-page="guide"] .article-header h1 {
  max-width: 850px;
  margin: .55rem 0 .9rem;
  font-size: clamp(2.35rem, 5vw, 4.2rem);
  line-height: 1.03;
}
.guide-article .article-meta {
  gap: .45rem .75rem;
  margin: 0 0 1.3rem;
  font-size: .82rem;
}
.article-lead {
  max-width: 890px;
  margin: 0;
  color: #ded5e0;
  font-size: 1.02rem;
  line-height: 1.7;
}
.guide-scenario {
  margin: 1.5rem 0 1.8rem;
  padding: 1rem 1.3rem 1.05rem 1.45rem;
  border-left: 4px solid var(--pink-soft);
  border-radius: 7px 15px 15px 7px;
  background: linear-gradient(90deg, rgba(189,130,149,.12), rgba(189,130,149,.04));
}
.guide-scenario h2 {
  margin: 0 0 .35rem;
  color: var(--pink-soft);
  font-size: 1.7rem;
  font-style: italic;
}
.guide-scenario p { margin: 0; color: #ded5e0; }
.guide-prose-section { margin: 1.8rem 0 1.5rem; }
.guide-prose-section h2,
.guide-source-section h2,
.keep-learning-section h2 {
  margin-bottom: .4rem;
  font-size: clamp(1.55rem, 2.8vw, 2.05rem);
}
.guide-prose-section p { max-width: 810px; margin: 0; color: #ded5e0; }
.guide-step-list { display: grid; gap: 1.25rem; }
.guide-step-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: clamp(1.25rem, 3vw, 2.2rem);
  align-items: start;
}
.guide-step-row.without-visual .guide-step { grid-column: 1 / -1; max-width: 820px; }
.guide-step {
  display: grid;
  grid-template-columns: 45px minmax(0, 1fr);
  gap: 1rem;
  padding-top: .35rem;
  scroll-margin-top: calc(var(--header-height) + 1rem);
}
.step-number {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--pink-soft);
  border-radius: 50%;
  color: var(--pink-pale);
  font: 600 1rem/1 "Playfair Display", Georgia, serif;
}
.guide-step h2 {
  margin: 0 0 .45rem;
  font-size: clamp(1.25rem, 2.1vw, 1.55rem);
  line-height: 1.3;
}
.guide-step p { margin: 0; color: var(--muted); font-size: .94rem; }
.guide-interface-figure { margin: 0; }
.guide-interface-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
  box-shadow: 0 16px 38px rgba(0,0,0,.3);
}
.guide-interface-figure figcaption {
  margin-top: .45rem;
  color: var(--muted);
  font-size: .75rem;
}
.guide-checklist-panel {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr);
  gap: 1.75rem;
  align-items: center;
  margin: 2.25rem 0 1.75rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(120deg, rgba(189,130,149,.09), rgba(255,255,255,.018));
  scroll-margin-top: calc(var(--header-height) + 1rem);
}
.checklist-intro { display: flex; gap: 1rem; align-items: center; }
.checklist-intro h2 { margin: 0; font-size: clamp(1.55rem, 3vw, 2rem); }
.checklist-intro p { margin: .15rem 0 0; color: var(--muted); font-size: .9rem; }
.checklist-icon,
.question-icon,
.related-guide-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--pink-pale);
  border-radius: 50%;
  background: rgba(189,130,149,.14);
  border: 1px solid rgba(189,130,149,.16);
}
.checklist-icon { width: 58px; height: 58px; font-size: 1.25rem; }
.guide-checklist-panel .article-checklist {
  padding: 0 0 0 1.5rem;
  border: 0;
  border-left: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
}
.guide-source-section {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: .25rem 0 1.5rem;
  scroll-margin-top: calc(var(--header-height) + 1rem);
}
.source-icon { color: var(--pink-soft); font-size: 1.75rem; line-height: 1; }
.guide-source-section p { margin: 0 0 .35rem; color: var(--muted); }
.guide-source-section a { font-weight: 700; }
.guide-feedback {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem 2rem;
  padding: 1.25rem 0;
  border-block: 1px solid var(--border);
}
.guide-feedback p { margin: .15rem 0 0; color: var(--muted); font-size: .82rem; }
.feedback-buttons { display: flex; flex-wrap: wrap; gap: .75rem; }
.feedback-button { min-width: 150px; padding: .7rem 1.1rem; }
.feedback-button[aria-pressed="true"] { outline: 2px solid var(--pink-pale); outline-offset: 2px; }
.keep-learning-section {
  padding-top: 2rem;
  scroll-margin-top: calc(var(--header-height) + 1rem);
}
.keep-learning-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.keep-learning-heading p { margin: 0; color: var(--muted); }
.related-guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.related-guide {
  min-height: 125px;
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  padding: 1rem;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 15px;
  background: rgba(255,255,255,.025);
}
.related-guide:hover { color: var(--text); border-color: rgba(189,130,149,.32); }
.related-guide-icon { width: 42px; height: 42px; }
.related-guide strong { display: block; font-family: "Playfair Display", Georgia, serif; line-height: 1.35; }
.related-guide small { display: block; margin-top: .6rem; color: var(--pink-soft); font-weight: 700; letter-spacing: .12em; }
.guide-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 1rem);
  display: grid;
  gap: 1rem;
}
.guide-toc,
.guide-sidebar .private-question-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(23,16,32,.86);
  box-shadow: 0 14px 35px rgba(0,0,0,.2);
}
.guide-toc { display: grid; gap: .35rem; padding: 1.25rem; }
.guide-toc strong { margin-bottom: .45rem; font-size: .88rem; }
.guide-toc a {
  display: flex;
  gap: .35rem;
  padding: .28rem 0 .28rem .65rem;
  color: var(--muted);
  border-left: 2px solid transparent;
  font-size: .78rem;
  line-height: 1.45;
}
.guide-toc a:hover,
.guide-toc a:focus { color: var(--text); border-left-color: var(--pink-soft); }
.guide-drawer-header,
.guide-toc-toggle,
.guide-toc-backdrop { display: none; }
.guide-sidebar .private-question-card { margin: 0; padding: 1.25rem; }
.question-icon { width: 47px; height: 47px; margin-bottom: .8rem; font-size: 1.15rem; }
.guide-sidebar .private-question-card h2 { margin-bottom: .45rem; font-size: 1.55rem; }
.guide-sidebar .private-question-card p { color: var(--muted); font-size: .85rem; }
.guide-sidebar .private-question-card .btn { width: 100%; padding: .72rem 1rem; font-size: .82rem; }

@media (max-width: 991.98px) {
  .guide-layout { grid-template-columns: 1fr; }
  .guide-sidebar {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 1102;
    width: min(370px, 88vw);
    height: 100dvh;
    display: block;
    padding: 1rem;
    overflow-y: auto;
    background: #100b16;
    border-left: 1px solid var(--border);
    box-shadow: -24px 0 60px rgba(0,0,0,.5);
    transform: translateX(105%);
    visibility: hidden;
    transition: transform .25s ease, visibility .25s;
  }
  .guide-sidebar.is-open { transform: translateX(0); visibility: visible; }
  .guide-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .75rem;
    padding: .25rem .2rem;
  }
  .guide-drawer-header button {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    padding: 0;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 50%;
    background: transparent;
    font-size: 1.65rem;
    line-height: 1;
  }
  .guide-sidebar .guide-toc { padding: 1.1rem; }
  .guide-sidebar .guide-toc > strong { display: none; }
  .guide-sidebar .private-question-card { margin-top: 1rem; }
  .guide-toc-toggle {
    position: fixed;
    right: 1rem;
    bottom: 5.75rem;
    z-index: 1088;
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: .72rem 1rem;
    color: var(--button-text);
    border: 0;
    border-radius: 999px;
    background: var(--pink-soft);
    box-shadow: 0 12px 34px rgba(0,0,0,.4);
    font-weight: 700;
  }
  .guide-toc-toggle:hover,
  .guide-toc-toggle:focus { background: var(--pink-pale); }
  .guide-toc-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1101;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(5,3,8,.72);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s;
  }
  .guide-toc-backdrop.is-open { display: block; opacity: 1; visibility: visible; }
  .related-guides { grid-template-columns: 1fr; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .guide-toc-toggle {
    top: calc(var(--header-height) + 6.25rem);
    bottom: auto;
  }
}
@media (max-width: 767.98px) {
  .guide-article { padding-top: 1.8rem; }
  .guide-step-row { grid-template-columns: 1fr; }
  .guide-step-row.without-visual .guide-step { grid-column: auto; }
  .guide-checklist-panel { grid-template-columns: 1fr; }
  .guide-checklist-panel .article-checklist { padding: 1.25rem 0 0; border-left: 0; border-top: 1px solid var(--border); }
  .guide-feedback { align-items: flex-start; }
  .keep-learning-heading { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 575px) {
  .brand-zlea { font-size: 1.35rem; }
  .brand-services { font-size: .68rem; }
  .site-header .navbar-brand { gap: .5rem; margin-right: .3rem; }
  body[data-page="guide"] .article-header h1 { font-size: clamp(2rem, 10vw, 2.65rem); }
  .guide-article .article-meta > [aria-hidden="true"] { display: none; }
  .feedback-buttons { width: 100%; }
  .feedback-button { flex: 1; min-width: 135px; }
}
