/* ----------  Rexme — shared styles  ---------- */

:root {
  --bg: #0b0d12;
  --bg-elev: #11141b;
  --bg-elev-2: #161a23;
  --border: #232734;
  --border-strong: #2d3243;
  --text: #e7ebf3;
  --text-muted: #9aa3b2;
  --text-dim: #6b7280;
  --accent: #7c5cff;
  --accent-2: #22d3ee;
  --accent-grad: linear-gradient(135deg, #7c5cff 0%, #22d3ee 100%);
  --danger: #ef4444;
  --success: #22c55e;
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.3);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  min-height: 100vh;
}

body {
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(124, 92, 255, 0.18), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(34, 211, 238, 0.12), transparent 60%),
    var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ----------  Header  ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(11, 13, 18, 0.6);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Legacy letter mark (fallback if logo image fails to load) */
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--accent-grad);
  color: white;
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 6px 18px rgba(124, 92, 255, 0.4);
}

/* Site logo from /logo.png */
.brand-logo {
  display: block;
  height: 32px;
  width: auto;
  max-width: 148px;
  object-fit: contain;
  flex-shrink: 0;
}
.brand:has(.brand-logo) .brand-name {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.brand-admin-label {
  margin-left: 4px;
  font-weight: 500;
  color: var(--text-muted);
  font-size: 14px;
}

.brand-name {
  font-size: 18px;
}

/* Base (fallback) nav style — used if nav.js fails to upgrade it */
.nav a {
  margin-left: 22px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav a:hover { color: var(--text); }

/* Upgraded main-nav style (applied by nav.js) */
.main-nav {
  display: flex;
  gap: 2px;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  margin-left: 16px;
}
.main-nav::-webkit-scrollbar { height: 4px; }
.main-nav::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 2px; }
.main-nav a {
  margin: 0;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}
.main-nav a:hover {
  color: var(--text);
  background: var(--bg-elev-2);
}
.main-nav a.is-active {
  color: var(--text);
  background: var(--bg-elev-2);
  border-color: var(--border-strong);
}

/* ----------  Hero  ---------- */

.hero {
  padding: 96px 0 64px;
}

.hero-inner h1 {
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1.05;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.grad {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: clamp(16px, 1.7vw, 19px);
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 0 32px;
}

/* ----------  Buttons  ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.2s ease, background 0.2s ease,
    border-color 0.2s ease, opacity 0.2s ease;
  font-family: inherit;
}

.btn:active {
  transform: translateY(1px);
}

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--accent-grad);
  color: white;
  box-shadow: 0 12px 30px rgba(124, 92, 255, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 14px 36px rgba(124, 92, 255, 0.55);
}

.btn-secondary {
  background: var(--bg-elev);
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background: var(--bg-elev-2);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-danger {
  background: transparent;
  color: var(--danger);
  border-color: rgba(239, 68, 68, 0.35);
}

.btn-danger:hover {
  background: rgba(239, 68, 68, 0.08);
}

/* ----------  Sections  ---------- */

.section-title {
  font-size: 28px;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.section-sub {
  color: var(--text-muted);
  margin: 0 0 32px;
}

.tools {
  padding: 32px 0 80px;
}

/* Category navigation pills */
.cat-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  padding: 12px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.cat-nav a {
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--text-muted);
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.cat-nav a:hover {
  background: var(--bg-elev-2);
  color: var(--text);
  border-color: var(--border-strong);
}

.cat-block {
  margin-bottom: 36px;
  scroll-margin-top: 80px;
}
.cat-block:last-child { margin-bottom: 0; }
.cat-title {
  margin: 0 0 14px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  font-weight: 600;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.tool-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.15s ease, border-color 0.2s ease, background 0.2s ease;
  min-height: 200px;
}

.tool-card:not(.tool-card--soon):hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  background: var(--bg-elev-2);
}

.tool-card--soon {
  opacity: 0.65;
  cursor: not-allowed;
}

.tool-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.18), rgba(34, 211, 238, 0.12));
  color: #cdd3ff;
  border: 1px solid rgba(124, 92, 255, 0.25);
}

.tool-icon svg {
  width: 22px;
  height: 22px;
}

.tool-meta h3 {
  margin: 0 0 6px;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.tool-meta p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.tool-cta {
  margin-top: auto;
  color: var(--accent-2);
  font-weight: 600;
  font-size: 14px;
}

.tool-cta--muted {
  color: var(--text-dim);
}

/* ----------  About / features  ---------- */

.about {
  padding: 60px 0 80px;
  border-top: 1px solid var(--border);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.feature {
  padding: 20px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.feature h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.feature p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

/* ----------  Footer  ---------- */

.site-footer {
  padding: 28px 0 40px;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 13px;
}

/* ----------  Shared tool-page chrome  ---------- */

.tool-page { padding: 40px 0 80px; }

.back-link {
  display: inline-block;
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
  transition: color 0.15s ease;
}
.back-link:hover { color: var(--text); }

.tool-header { margin-bottom: 32px; }
.tool-header h1 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 38px);
  letter-spacing: -0.02em;
}
.tool-header p {
  margin: 0;
  color: var(--text-muted);
  max-width: 720px;
}

/* Two-column responsive layout for tools that need it */
.tool-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
@media (max-width: 860px) {
  .tool-grid-2 { grid-template-columns: 1fr; }
}

/* ----------  Panels & form controls  ---------- */

.panel {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 22px;
}

.panel-title {
  margin: 0 0 14px;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.18);
}
.field textarea {
  resize: vertical;
  min-height: 140px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  line-height: 1.5;
}

/* Range slider */
.field input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  padding: 0;
  border: 0;
  height: 22px;
}
.field input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  background: var(--border-strong);
  border-radius: 999px;
}
.field input[type="range"]::-moz-range-track {
  height: 6px;
  background: var(--border-strong);
  border-radius: 999px;
}
.field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid white;
  margin-top: -6px;
  box-shadow: 0 4px 10px rgba(124, 92, 255, 0.5);
  cursor: pointer;
}
.field input[type="range"]::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent); border: 2px solid white;
  box-shadow: 0 4px 10px rgba(124, 92, 255, 0.5);
  cursor: pointer;
}

/* Color input */
.field input[type="color"] {
  padding: 4px;
  height: 42px;
  cursor: pointer;
}

/* Checkbox row */
.check-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  user-select: none;
}
.check input {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 18px;
}

/* Spinner inside button */
.btn .spinner {
  display: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: white;
  animation: spin 0.7s linear infinite;
}
.btn.is-loading .spinner { display: inline-block; }
.btn.is-loading { cursor: progress; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ----------  Toast  ---------- */

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--bg-elev-2);
  color: var(--text);
  border: 1px solid var(--border-strong);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 100;
  max-width: calc(100% - 32px);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast.is-error   { border-color: rgba(239, 68, 68, 0.5); }
.toast.is-success { border-color: rgba(34, 197, 94, 0.5); }

/* ----------  Empty state  ---------- */

.empty-state {
  color: var(--text-dim);
  font-size: 14px;
  text-align: center;
  padding: 24px 0 8px;
}
.empty-state.is-hidden { display: none; }

/* ----------  Stats row (live counters / value display)  ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}
.stat {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
}
.stat-value {
  font-size: 20px;
  font-weight: 700;
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}

/* ----------  Pill button group  ---------- */

.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border-strong);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.pill:hover {
  background: var(--bg-elev-2);
  border-color: var(--accent);
  color: var(--accent-2);
}

/* ----------  Popular tools strip (home page)  ---------- */

.popular-tools {
  padding: 8px 0 16px;
}
.popular-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.popular-head .section-title { margin: 0; }
.popular-head .section-sub { margin: 0; }

.popular-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.popular-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: transform 0.12s ease, border-color 0.15s ease,
    background 0.15s ease;
}
.popular-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  background: var(--bg-elev-2);
}
.popular-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.18), rgba(34, 211, 238, 0.12));
  color: #cdd3ff;
  border: 1px solid rgba(124, 92, 255, 0.25);
  flex: 0 0 auto;
}
.popular-icon svg { width: 18px; height: 18px; }
.popular-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.popular-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}
.popular-tag {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Center alignment helper used on hero */
.text-center { text-align: center; }
.text-center .lead, .text-center .section-sub { margin-left: auto; margin-right: auto; }

/* ----------  Breadcrumbs (auto-injected on tool & category pages)  ---------- */

.breadcrumbs {
  margin-bottom: 22px;
  font-size: 13px;
  color: var(--text-muted);
}
.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.breadcrumbs li + li::before {
  content: "›";
  color: var(--text-dim);
  font-weight: 600;
}
.breadcrumbs a {
  color: var(--text-muted);
  transition: color 0.12s ease;
}
.breadcrumbs a:hover { color: var(--text); }
.breadcrumbs li[aria-current="page"] {
  color: var(--text);
  font-weight: 500;
}

/* ----------  Related tools section (auto-injected on tool pages)  ---------- */

.related-tools {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.related-tools h2 {
  margin: 0 0 4px;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.related-tools .related-sub {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--text-muted);
}
.related-tools .related-back {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  color: var(--accent-2);
  font-weight: 600;
}
.related-tools .related-back:hover { text-decoration: underline; }

/* ----------  Footer (multi-column with sitemap)  ---------- */

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 28px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.footer-col h4 {
  margin: 0 0 12px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  font-weight: 700;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-col a {
  color: var(--text-muted);
  font-size: 13px;
  transition: color 0.12s ease;
}
.footer-col a:hover { color: var(--text); }
.footer-brand p {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 13px;
  max-width: 280px;
}
.footer-fine {
  margin: 0;
  color: var(--text-dim);
  font-size: 12px;
}
.footer-fine a { color: inherit; }
.footer-fine a:hover { color: var(--text-muted); }

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .footer-brand { grid-column: 1 / -1; }
}

/* ----------  Category overview cards (home page)  ---------- */

.cat-overview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.cat-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.15s ease, border-color 0.2s ease, background 0.2s ease;
}
.cat-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  background: var(--bg-elev-2);
}
.cat-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cat-card-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.18), rgba(34, 211, 238, 0.12));
  color: #cdd3ff;
  border: 1px solid rgba(124, 92, 255, 0.25);
}
.cat-card-icon svg { width: 20px; height: 20px; }
.cat-card h3 {
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.cat-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}
.cat-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 8px;
  font-size: 13px;
}
.cat-card-count {
  color: var(--text-dim);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.cat-card-cta {
  color: var(--accent-2);
  font-weight: 600;
}

/* ----------  Editorial content (anti-thin-content)  ---------- */

.category-hub {
  margin-bottom: 28px;
  padding: 22px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.category-hub-intro p {
  margin: 0 0 14px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
}
.category-hub-intro p:last-child { margin-bottom: 0; }

.guide-table-wrap {
  overflow-x: auto;
  margin: 16px 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.guide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.guide-table th,
.guide-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.guide-table th {
  background: var(--bg);
  color: var(--text-dim);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.guide-table tr:last-child td { border-bottom: 0; }
.guide-table a {
  color: var(--accent-2);
  font-weight: 600;
}
.guide-table a:hover { text-decoration: underline; }

.tool-editorial {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.editorial-title {
  margin: 28px 0 12px;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.tool-editorial .editorial-title:first-child { margin-top: 0; }

.editorial-list,
.editorial-steps {
  margin: 0 0 8px;
  padding-left: 22px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
}
.editorial-list li,
.editorial-steps li { margin: 8px 0; }
.editorial-tips li { color: var(--text-muted); }

.editorial-faq {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 14px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 0;
  color: var(--text);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--text-dim);
  font-weight: 400;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  margin: 0 0 14px;
  padding-top: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.privacy-note {
  margin: 24px 0 0;
  padding: 14px 16px;
  background: rgba(124, 92, 255, 0.08);
  border: 1px solid rgba(124, 92, 255, 0.22);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}
.privacy-note a { color: var(--accent-2); }
.privacy-note strong { color: var(--text); }

/* About / Privacy prose pages */
.prose-page { padding: 40px 0 80px; }
.prose-page h1 { margin: 0 0 12px; font-size: clamp(28px, 4vw, 36px); }
.prose-page .lead { color: var(--text-muted); font-size: 17px; max-width: 720px; margin: 0 0 32px; }
.prose-block {
  max-width: 720px;
  margin-bottom: 28px;
}
.prose-block h2 {
  margin: 0 0 10px;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.prose-block p,
.prose-block li {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
}
.prose-block ul { padding-left: 22px; }
.prose-block li { margin: 6px 0; }
.prose-block a { color: var(--accent-2); }

/* ----------  Responsive  ---------- */

@media (max-width: 760px) {
  .header-inner { gap: 8px; }
  .main-nav { margin-left: 8px; }
  .main-nav a { padding: 6px 10px; font-size: 12px; }
}

@media (max-width: 640px) {
  .hero { padding: 64px 0 40px; }
  .nav a { margin-left: 14px; }
  .actions { justify-content: stretch; }
  .actions .btn { flex: 1 1 auto; justify-content: center; }
}
