/* ============================================================
   AL-AHZA — Panduan Penggunaan
   Design tokens diambil langsung dari produk asli:
   - Teal gelap + emas  -> identitas Website
   - Kuning terang      -> identitas Aplikasi Mobile
   ============================================================ */

:root {
  /* Brand */
  --ink: #0B2A2C;
  --ink-2: #123B3C;
  --ink-3: #164548;
  --gold: #C5A04E;
  --gold-light: #E4C784;
  --gold-tint: rgba(197, 160, 78, 0.12);
  --yellow: #FFCC00;
  --yellow-deep: #C79A00;
  --yellow-tint: rgba(255, 204, 0, 0.16);

  /* Neutrals (warm, tied to paper) */
  --paper: #FAF7F1;
  --card: #FFFFFF;
  --text: #172423;
  --text-soft: #5B6B69;
  --line: #E7E1D3;
  --line-strong: #D8CFB9;

  /* Elevation */
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(11, 42, 44, 0.08);
  --shadow-lg: 0 24px 60px rgba(11, 42, 44, 0.18);

  /* Layout */
  --sidebar-w: 272px;
  --header-h: 80px;
  --wrap-max: 1180px;
  --content-max: 760px;

  /* Type */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.2;
}

p {
  line-height: 1.65;
}

a {
  color: inherit;
}

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

.wrap {
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 0 40px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  z-index: 1000;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Inline UI-string tag — shows literal button/label text from the app */
.ui-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  background: var(--card);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  padding: 2px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(250, 247, 241, 0.9);
  backdrop-filter: saturate(140%) blur(10px);
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--header-h);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(11, 42, 44, 0.08);
}

.site-header-inner {
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.site-logo span {
  color: var(--gold);
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-link {
  font-size: 13px;
  color: var(--text-soft);
  font-weight: 700;
  text-decoration: none;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.header-link:hover {
  color: var(--ink);
  border-color: var(--gold);
  background: var(--gold-tint);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--card);
  cursor: pointer;
  flex-shrink: 0;
}

.menu-toggle .bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.menu-toggle .bar::before,
.menu-toggle .bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease;
}

.menu-toggle .bar::before { top: -6px; }
.menu-toggle .bar::after { top: 6px; }

.menu-toggle[aria-expanded="true"] .bar { background: transparent; }
.menu-toggle[aria-expanded="true"] .bar::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bar::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 959px) {
  .menu-toggle { display: inline-flex; }
}

@media (max-width: 480px) {
  .header-link { display: none; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding: 64px 0 48px;
  background: radial-gradient(120% 140% at 15% -10%, var(--ink-3) 0%, var(--ink) 55%, var(--ink) 100%);
  color: #fff;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(197, 160, 78, 0.35) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.18;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold-light);
  background: rgba(197, 160, 78, 0.16);
  border: 1px solid rgba(197, 160, 78, 0.35);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(30px, 4.6vw, 46px);
  line-height: 1.14;
  margin: 0 0 16px;
  font-weight: 600;
  color: #fff;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold-light);
}

.hero p.lede {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  max-width: 560px;
  margin: 0 0 32px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(197, 160, 78, 0.35);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.28);
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover {
  background: var(--ink-3);
  transform: translateY(-2px);
}

/* Quick jump pills under hero */
.quick-jump {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  position: relative;
}

.quick-jump a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 10px 14px;
  border-radius: 999px;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.quick-jump a:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
}

.quick-jump .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================================
   Docs shell: sidebar + main content
   ============================================================ */
.docs-shell {
  max-width: var(--wrap-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  align-items: start;
  gap: 0;
}

.sidebar {
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  overflow-y: auto;
  padding: 32px 24px 40px;
  border-right: 1px solid var(--line);
}

.sidebar-group {
  margin-bottom: 22px;
}

.sidebar-group-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 8px;
}

.sidebar-group-label .swatch {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  flex-shrink: 0;
}

a.sidebar-group-label:hover,
a.sidebar-group-label.active {
  color: var(--ink);
  background: var(--gold-tint);
}

.sidebar-sublist {
  list-style: none;
  margin: 4px 0 0;
  padding: 0 0 0 27px;
  border-left: 1px solid var(--line);
}

.sidebar-sublist li {
  margin: 0;
}

.sidebar-sublist a {
  display: block;
  font-size: 13.5px;
  color: var(--text-soft);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 6px;
  margin-left: -1px;
  border-left: 2px solid transparent;
}

.sidebar-sublist a:hover {
  color: var(--ink);
}

.sidebar-sublist a.active {
  color: var(--ink);
  font-weight: 700;
  border-left-color: var(--gold);
  background: var(--gold-tint);
}

.sidebar-note {
  margin-top: 24px;
  padding: 14px 14px;
  background: var(--card);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  color: var(--text-soft);
  line-height: 1.6;
}

.sidebar-note strong {
  color: var(--ink);
}

@media (max-width: 959px) {
  .docs-shell {
    display: block;
  }

  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: min(84vw, 320px);
    background: var(--paper);
    z-index: 300;
    padding: 90px 22px 32px;
    transform: translateX(-100%);
    transition: transform 0.28s ease;
    box-shadow: var(--shadow-lg);
    border-right: none;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .drawer-scrim {
    position: fixed;
    inset: 0;
    background: rgba(11, 42, 44, 0.45);
    z-index: 250;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }

  .drawer-scrim.open {
    opacity: 1;
    pointer-events: auto;
  }
}

main {
  min-width: 0;
}

.content {
  padding: 56px 48px 40px;
  max-width: 900px;
}

@media (max-width: 640px) {
  .content { padding: 40px 20px 24px; }
  .wrap { padding: 0 20px; }
}

/* ============================================================
   Sections
   ============================================================ */
section {
  padding-top: 8px;
  scroll-margin-top: calc(var(--header-h) + 12px);
}

section + section {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.subsection {
  scroll-margin-top: calc(var(--header-h) + 16px);
  margin-top: 44px;
}

.sec-head {
  margin-bottom: 28px;
}

.surface-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.surface-tag .swatch {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.surface-tag.tag-website { background: var(--ink-3); color: #fff; }
.surface-tag.tag-website .swatch { background: var(--gold-light); }

.surface-tag.tag-jamaah { background: var(--yellow-tint); color: #7A5D00; }
.surface-tag.tag-jamaah .swatch { background: var(--yellow-deep); }

.surface-tag.tag-agen { background: var(--gold-tint); color: #7A5D1E; }
.surface-tag.tag-agen .swatch { background: var(--gold); }

.surface-tag.tag-bantuan { background: #EAF2F0; color: #1F5B4F; }
.surface-tag.tag-bantuan .swatch { background: #2F8F76; }

.sec-head h2 {
  font-size: clamp(24px, 3.4vw, 32px);
  margin: 0 0 12px;
  font-weight: 600;
}

.subsection h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 10px;
}

.sec-head p, .subsection > p.lede {
  color: var(--text-soft);
  font-size: 15.5px;
  line-height: 1.65;
  margin: 0;
  max-width: 620px;
}

/* Callout / tip box */
.callout {
  display: flex;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin: 20px 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text);
}

.callout.callout-yellow { border-left-color: var(--yellow-deep); }
.callout.callout-teal { border-left-color: var(--ink-3); }

.callout .icon {
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}

.callout p { margin: 0; color: var(--text); }
.callout strong { color: var(--ink); }

/* ============================================================
   Cards Grid (kept from original, refined)
   ============================================================ */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 20px;
}

@media (min-width: 700px) {
  .cards.two { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .cards.three { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 21px;
}

.card h4 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  font-family: var(--font-body);
  color: var(--ink);
}

.card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.6;
}

.card ul {
  margin: 12px 0 0;
  padding-left: 18px;
  font-size: 13.5px;
  color: var(--text-soft);
  line-height: 1.7;
}

.tone-gold .card-icon { background: var(--gold-tint); color: var(--gold); }
.tone-navy .card-icon { background: rgba(11, 42, 44, 0.06); color: var(--ink-3); }
.tone-yellow .card-icon { background: var(--yellow-tint); color: var(--yellow-deep); }

/* ============================================================
   Steps list (fixed connector math)
   ============================================================ */
.steps {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  max-width: 700px;
}

.steps li {
  display: flex;
  gap: 16px;
  padding-bottom: 26px;
  position: relative;
}

.steps li:last-child { padding-bottom: 0; }

.step-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.steps li:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 17px;
  width: 2px;
  bottom: 0;
  background: var(--line-strong);
}

.step-body h4 {
  margin: 3px 0 6px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  font-family: var(--font-body);
}

.step-body p {
  margin: 0;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.6;
}

/* ============================================================
   Feature chip legend (home icon grid, no images needed)
   ============================================================ */
.chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  margin: 22px 0 0;
}

.chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

.chip .emoji {
  font-size: 17px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow-tint);
  border-radius: 8px;
  flex-shrink: 0;
}

/* ============================================================
   Browser-frame mockup (Website screenshots)
   ============================================================ */
.browser-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(11, 42, 44, 0.18);
  margin: 24px 0;
}

.browser-frame .bf-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 14px;
  background: var(--ink-2);
}

.browser-frame .bf-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.browser-frame .bf-bar .bf-url {
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: 999px;
}

.browser-frame img {
  width: 100%;
}

.frame-caption {
  font-size: 13px;
  color: var(--text-soft);
  margin-top: 10px;
  text-align: center;
}

/* ============================================================
   Phone-frame filmstrip (Mobile app screenshots) — signature element
   ============================================================ */
.filmstrip {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 26px 4px 18px;
  margin: 4px -4px 0;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}

.filmstrip::-webkit-scrollbar { height: 6px; }
.filmstrip::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 999px; }

.phone-item {
  flex: 0 0 auto;
  width: 168px;
  scroll-snap-align: start;
}

.phone-frame {
  width: 168px;
  aspect-ratio: 9 / 19.5;
  background: var(--ink);
  border-radius: 26px;
  padding: 8px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 46px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  z-index: 2;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* Shown automatically by script.js if a screenshot fails to load */
.img-missing {
  width: 100%;
  height: 100%;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  background: repeating-linear-gradient(
    135deg,
    rgba(197, 160, 78, 0.06),
    rgba(197, 160, 78, 0.06) 8px,
    transparent 8px,
    transparent 16px
  );
  border: 1px dashed var(--line-strong);
  border-radius: inherit;
  padding: 14px;
  box-sizing: border-box;
}

.img-missing-icon {
  font-size: 22px;
  opacity: 0.6;
}

.img-missing-text {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--text-soft);
}

.img-missing-text code {
  display: inline-block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  background: var(--card);
  border: 1px solid var(--line-strong);
  padding: 2px 6px;
  border-radius: 5px;
  word-break: break-all;
}

.browser-frame .img-missing {
  min-height: 320px;
  border-radius: 0;
  border: none;
  border-top: 1px dashed rgba(255, 255, 255, 0.25);
}

.browser-frame .img-missing-text,
.browser-frame .img-missing-icon {
  color: rgba(255, 255, 255, 0.7);
}

.browser-frame .img-missing-text code {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.phone-caption {
  margin-top: 12px;
  text-align: center;
}

.phone-caption .step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 6px;
}

.phone-caption h5 {
  margin: 0 0 3px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  font-family: var(--font-body);
}

.phone-caption p {
  margin: 0;
  font-size: 12px;
  color: var(--text-soft);
  line-height: 1.5;
}

/* ============================================================
   FAQ Accordion
   ============================================================ */
.faq-toolbar {
  margin-bottom: 18px;
}

.faq-search {
  width: 100%;
  max-width: 420px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--card);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
}

.faq-search:focus {
  border-color: var(--gold);
}

.faq-container {
  margin-top: 8px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  background: var(--card);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 17px 22px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
}

.faq-question:hover {
  background: rgba(11, 42, 44, 0.025);
}

.faq-icon {
  font-size: 18px;
  font-weight: 400;
  transition: transform 0.25s ease;
  flex-shrink: 0;
  color: var(--gold);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 22px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.65;
}

.faq-answer p { margin: 0; }

.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-item.active .faq-answer { padding-bottom: 18px; }

.faq-empty {
  display: none;
  padding: 20px;
  text-align: center;
  color: var(--text-soft);
  font-size: 14px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
}

.faq-empty.show { display: block; }

/* ============================================================
   Back to top
   ============================================================ */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
  z-index: 150;
  font-size: 18px;
}

.back-to-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--ink-3);
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: #fff;
  padding: 36px 0;
  text-align: center;
  margin-top: 24px;
}

.site-footer p {
  margin: 0 0 6px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13.5px;
}

.site-footer p:last-child { margin-bottom: 0; }
