/* ============================================================
   rent-service landing — shared.css
   Tokens, reset, layout, components, animations
   ============================================================ */

:root {
  /* Colors — warm palette */
  --bg-warm: #FAF8F5;
  --bg-warm-accent: #F3EEE4;
  --bg-white: #FFFFFF;
  --ink-primary: #0F172A;   /* slate-900 */
  --ink-secondary: #1E293B;
  --ink-muted: #64748B;     /* slate-500 */
  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.16);

  /* Brand */
  --blue-9: #2563EB;
  --blue-10: #1D4ED8;
  --blue-2: #EFF6FF;
  --amber-9: #F59E0B;
  --amber-10: #D97706;
  --amber-2: #FEF3C7;

  /* Status / deposit return */
  --return-9: #30A46C;
  --return-11: #047857;
  --return-3: #D1FAE5;
  --red-9:  #DC2626;
  --red-3:  #FEE2E2;

  /* Typography */
  --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Onest', 'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'SF Mono', monospace;

  /* Radii */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.10);
  --shadow-xl: 0 20px 48px rgba(15, 23, 42, 0.14);

  /* Rhythm */
  --section-py-desktop: 120px;
  --section-py-mobile: 64px;
  --container-max: 1280px;
  --header-h: 72px;
}

/* ------ Reset ------ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg-warm);
  color: var(--ink-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-9); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); color: var(--ink-primary); margin: 0 0 16px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
h1 { font-size: clamp(44px, 8vw, 96px); font-weight: 800; line-height: 1.05; }
h2 { font-size: clamp(32px, 5vw, 56px); }
h3 { font-size: clamp(22px, 2.6vw, 32px); }
h4 { font-size: 20px; margin-bottom: 8px; }
p  { margin: 0 0 12px; }
ul { margin: 0; padding: 0 0 0 20px; }

/* Skip link (A11y) */
.skip-link {
  position: absolute; top: -100px; left: 16px;
  background: var(--ink-primary); color: #fff; padding: 10px 16px;
  border-radius: var(--r-md); z-index: 1000;
}
.skip-link:focus { top: 12px; }

/* ------ Layout ------ */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 1024px) {
  .container { padding: 0 48px; }
}

.section {
  padding: var(--section-py-mobile) 0;
}
@media (min-width: 768px) {
  .section { padding: var(--section-py-desktop) 0; }
}
.section--warm { background: var(--bg-warm); }
.section--white { background: var(--bg-white); }
.section--accent { background: var(--bg-warm-accent); }

.section-head {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head .eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue-9);
  background: var(--blue-2);
  padding: 6px 12px;
  border-radius: var(--r-full);
  margin-bottom: 16px;
}
.section-head p {
  font-size: 18px;
  color: var(--ink-muted);
  max-width: 620px;
  margin: 0 auto;
}

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

.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(250, 248, 245, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 160ms ease, border-color 160ms ease, height 160ms ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  border-bottom-color: var(--border-subtle);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; gap: 24px;
}
.logo {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 800;
  color: var(--ink-primary); text-decoration: none;
  display: flex; align-items: center; gap: 8px;
}
.logo-mark {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, var(--blue-9), var(--amber-9));
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 15px;
}
.site-nav { display: none; gap: 28px; }
.site-nav a {
  color: var(--ink-secondary); text-decoration: none;
  font-size: 15px; font-weight: 500;
}
.site-nav a:hover { color: var(--blue-9); }
.site-header__cta { display: none; }

@media (min-width: 900px) {
  .site-nav { display: flex; }
  .site-header__cta { display: inline-flex; }
}

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

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  height: 48px;
  padding: 0 22px;
  border-radius: var(--r-md);
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease, color 140ms ease;
  white-space: nowrap;
  text-decoration: none !important;
}
.btn--lg { height: 56px; padding: 0 28px; font-size: 16px; }
.btn--sm { height: 36px; padding: 0 14px; font-size: 13px; }

.btn-primary {
  background: var(--blue-9); color: #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}
.btn-primary:hover { background: var(--blue-10); transform: translateY(-1px); }

.btn-secondary {
  background: transparent; color: var(--blue-9);
  box-shadow: inset 0 0 0 1.5px var(--blue-9);
}
.btn-secondary:hover { background: var(--blue-2); }

.btn-amber {
  background: var(--amber-9); color: #1a1100;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}
.btn-amber:hover { background: var(--amber-10); color: #fff; transform: translateY(-1px); }

.btn-ghost {
  background: transparent; color: var(--ink-secondary);
  box-shadow: inset 0 0 0 1px var(--border-strong);
}
.btn-ghost:hover { background: var(--bg-warm-accent); }

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

.hero {
  padding: 56px 0 64px;
  background:
    radial-gradient(1200px 400px at 10% -10%, rgba(37, 99, 235, 0.08), transparent 60%),
    radial-gradient(900px 300px at 120% 10%, rgba(245, 158, 11, 0.09), transparent 60%),
    var(--bg-warm);
}
@media (min-width: 768px) {
  .hero { padding: 96px 0 112px; }
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.15fr 1fr; gap: 56px; }
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: 13px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-9);
  background: var(--blue-2);
  padding: 8px 14px;
  border-radius: var(--r-full);
  margin-bottom: 24px;
}
.hero h1 { margin-bottom: 24px; max-width: 15ch; }
.hero__sub {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--ink-secondary);
  max-width: 520px;
  margin-bottom: 32px;
}
.hero__ctas {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: 28px;
}
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  font-size: 14px; color: var(--ink-muted);
}
.hero__trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero__trust .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-muted); opacity: 0.5; }
.hero__image {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/5;
}
.hero__image img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero__badge {
  position: absolute; left: 16px; bottom: 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  padding: 12px 16px;
  border-radius: var(--r-md);
  font-size: 13px;
  color: var(--ink-primary);
  display: flex; align-items: center; gap: 8px;
  box-shadow: var(--shadow-sm);
}
.hero__badge .material-symbols-outlined { color: var(--return-9); font-size: 20px; }

/* ------ Trust strip ------ */

.trust-strip {
  padding: 28px 0;
  background: var(--bg-white);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.trust-strip__row {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 20px 36px;
}
.trust-badge {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink-muted);
  font-size: 14px; font-weight: 500;
  transition: color 140ms ease, filter 140ms ease;
}
.trust-badge:hover { color: var(--ink-primary); }
.trust-badge__icon {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-warm); border-radius: 8px;
  color: var(--blue-9);
}
.trust-badge__icon.amber { color: var(--amber-10); }

/* ------ Steps (Как работает) ------ */

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px){ .steps { grid-template-columns: repeat(5, 1fr); gap: 16px; } }

.step-card {
  background: var(--bg-white);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
  position: relative;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.step-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.step-card__num {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-9), var(--amber-9));
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700; font-size: 18px;
  margin-bottom: 16px;
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.25);
}
.step-card h4 { font-size: 18px; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--ink-muted); margin: 0; }

/* ------ Bento grid ------ */

.bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px){ .bento { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

.bento-card {
  background: var(--bg-white);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
  display: flex; flex-direction: column; gap: 12px;
  transition: transform 200ms ease, box-shadow 200ms ease;
  min-height: 200px;
}
.bento-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.bento-card__icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--blue-2); color: var(--blue-9);
  display: inline-flex; align-items: center; justify-content: center;
}
.bento-card__icon.amber { background: var(--amber-2); color: var(--amber-10); }
.bento-card__icon.jade  { background: var(--return-3); color: var(--return-11); }
.bento-card h4 { font-size: 19px; margin: 0; }
.bento-card p { font-size: 15px; color: var(--ink-muted); margin: 0; flex: 1; }
.bento-card__price {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink-primary);
  font-weight: 500;
}
.bento-card__img {
  width: 100%; height: 140px; border-radius: var(--r-md);
  object-fit: cover; margin-bottom: 8px;
}

/* ------ Deposit visualization ------ */

.deposit-viz {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 960px;
  margin: 0 auto 32px;
}
@media (min-width: 768px) {
  .deposit-viz {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: stretch;
    gap: 8px;
  }
}
.deposit-step {
  background: var(--bg-white);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  position: relative;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms ease, transform 500ms ease;
}
.deposit-viz.revealed .deposit-step { opacity: 1; transform: none; }
.deposit-viz.revealed .deposit-step:nth-child(3) { transition-delay: 250ms; }
.deposit-viz.revealed .deposit-step:nth-child(5) { transition-delay: 500ms; }

.deposit-step__icon {
  width: 64px; height: 64px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue-2); color: var(--blue-9);
  font-size: 32px;
}
.deposit-step--refund .deposit-step__icon {
  background: var(--amber-2); color: var(--amber-10);
}
.deposit-step--refund .deposit-step__icon .material-symbols-outlined {
  animation: none;
}
.deposit-viz.revealed .deposit-step--refund .deposit-step__icon .material-symbols-outlined {
  animation: spin 2.4s linear infinite;
  animation-delay: 400ms;
}
.deposit-step--done .deposit-step__icon {
  background: var(--return-3); color: var(--return-11);
}
.deposit-step__amount {
  font-family: var(--font-display);
  font-size: 32px; font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.deposit-step--done .deposit-step__amount { color: var(--return-11); }
.deposit-step__label {
  font-size: 14px; color: var(--ink-muted); margin: 0;
}
.deposit-step__tag {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-muted); font-weight: 600;
}
.deposit-arrow {
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-muted);
  font-size: 28px;
  opacity: 0.5;
}
.deposit-arrow.vert { display: flex; }
@media (min-width: 768px) {
  .deposit-arrow.vert { display: none; }
}
.deposit-arrow.horiz { display: none; }
@media (min-width: 768px) {
  .deposit-arrow.horiz { display: flex; }
}

.deposit-explainer {
  max-width: 800px;
  margin: 0 auto;
  background: var(--return-3);
  border-left: 3px solid var(--return-9);
  border-radius: var(--r-md);
  padding: 20px 24px;
  color: var(--return-11);
  font-size: 15px;
  line-height: 1.65;
}
.deposit-explainer strong { color: var(--return-11); }
.deposit-explainer a { color: var(--return-11); font-weight: 600; }

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ------ Location map ------ */

.location-map {
  position: relative;
  background: linear-gradient(135deg, #E0E7EF 0%, #F3EEE4 100%);
  border-radius: var(--r-xl);
  aspect-ratio: 16/8;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-subtle);
}
.location-map::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(15,23,42,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.map-pin {
  position: absolute;
  width: 32px; height: 32px;
  transform: translate(-50%, -100%);
  color: var(--blue-9);
  filter: drop-shadow(0 4px 8px rgba(37, 99, 235, 0.4));
  animation: pin-bounce 2.4s ease-in-out infinite;
}
.map-pin.amber { color: var(--amber-9); filter: drop-shadow(0 4px 8px rgba(245, 158, 11, 0.4)); animation-delay: 400ms; }
@keyframes pin-bounce {
  0%, 100% { transform: translate(-50%, -100%); }
  50%      { transform: translate(-50%, -108%); }
}
.map-caption {
  position: absolute; left: 20px; bottom: 20px;
  background: rgba(255,255,255,0.92);
  padding: 10px 16px; border-radius: var(--r-md);
  font-size: 13px; color: var(--ink-secondary);
  backdrop-filter: blur(6px);
}

/* ------ Pricing ------ */

.pricing-table {
  background: var(--bg-white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
}
.pricing-table table { width: 100%; border-collapse: collapse; }
.pricing-table th, .pricing-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 15px;
}
.pricing-table th {
  background: var(--bg-warm);
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink-primary);
  font-size: 14px;
}
.pricing-table td.price {
  font-family: var(--font-mono);
  font-size: 15px; font-weight: 500;
  color: var(--ink-primary);
}
.pricing-table tr:last-child td { border-bottom: 0; }
.pricing-table .pop { background: var(--blue-2); }

/* ------ FAQ accordion ------ */

.faq-accordion { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--bg-white);
  border-radius: var(--r-md);
  margin-bottom: 12px;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: box-shadow 160ms ease;
}
.faq-item[open] { box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none;
  padding: 18px 22px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink-primary);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--blue-9);
  transition: transform 180ms ease;
  flex: 0 0 auto;
  width: 24px; text-align: center;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__body {
  padding: 0 22px 20px;
  color: var(--ink-secondary);
  font-size: 15px;
  line-height: 1.65;
}

/* ------ CTA band ------ */

.cta-band {
  background: linear-gradient(135deg, var(--blue-9) 0%, #4F46E5 100%);
  border-radius: var(--r-xl);
  padding: 48px 32px;
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.85); margin-bottom: 24px; font-size: 17px; }
.cta-band .btn-primary { background: #fff; color: var(--blue-10); box-shadow: none; }
.cta-band .btn-primary:hover { background: var(--blue-2); }
.cta-band .btn-secondary { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.55); }
.cta-band .btn-secondary:hover { background: rgba(255,255,255,0.12); }
.cta-band__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* amber variant for special CTA */
.cta-band--amber {
  background: linear-gradient(135deg, var(--amber-9) 0%, var(--amber-10) 100%);
}
.cta-band--amber .btn-primary { color: var(--amber-10); }

/* ------ B2B / Partners compact ------ */

.compact-card {
  background: var(--bg-white);
  border-radius: var(--r-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}
@media (min-width: 768px) {
  .compact-card { grid-template-columns: 1fr auto; padding: 48px; }
}
.compact-card h3 { margin-bottom: 8px; }
.compact-card p { color: var(--ink-muted); font-size: 16px; margin: 0; max-width: 520px; }

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

.site-footer {
  background: var(--ink-primary);
  color: rgba(255, 255, 255, 0.72);
  padding: 64px 0 24px;
  font-size: 14px;
}
.site-footer a { color: rgba(255, 255, 255, 0.82); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px){ .footer-grid { grid-template-columns: 1.6fr repeat(3, 1fr); gap: 48px; } }
.footer-col h5 {
  color: #fff; font-family: var(--font-display);
  font-size: 14px; text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-brand .logo { color: #fff; margin-bottom: 12px; }
.footer-brand p { color: rgba(255, 255, 255, 0.6); max-width: 320px; }
.footer-socials { display: flex; gap: 12px; margin-top: 16px; }
.footer-socials a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: inline-flex; align-items: center; justify-content: center;
}
.footer-socials a:hover { background: rgba(255,255,255,0.16); text-decoration: none; }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 13px; color: rgba(255,255,255,0.52);
}

/* ------ Subpage hero (smaller) ------ */

.sub-hero {
  padding: 56px 0 32px;
  background: var(--bg-warm);
  border-bottom: 1px solid var(--border-subtle);
}
.sub-hero h1 { font-size: clamp(32px, 5vw, 56px); margin-bottom: 12px; }
.sub-hero p  { color: var(--ink-muted); font-size: 17px; max-width: 640px; }
.sub-hero .breadcrumbs {
  font-size: 13px; color: var(--ink-muted); margin-bottom: 12px;
}

/* ------ Legal / TOC layout ------ */

.doc-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 1024px) {
  .doc-layout { grid-template-columns: 260px 1fr; gap: 56px; align-items: start; }
}
.doc-toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  background: var(--bg-white);
  border-radius: var(--r-md);
  padding: 20px 24px;
  border: 1px solid var(--border-subtle);
  font-size: 14px;
}
.doc-toc h5 {
  font-family: var(--font-display); font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-muted); margin-bottom: 12px;
}
.doc-toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.doc-toc li { counter-increment: toc; margin-bottom: 8px; }
.doc-toc li a::before {
  content: counter(toc) ". ";
  color: var(--ink-muted);
}
.doc-body h2 { font-size: 26px; margin-top: 40px; scroll-margin-top: 100px; }
.doc-body h2:first-child { margin-top: 0; }
.doc-body h3 { font-size: 20px; margin-top: 24px; }
.doc-body p, .doc-body li { font-size: 15px; color: var(--ink-secondary); line-height: 1.75; }
.doc-body ul { padding-left: 24px; margin-bottom: 16px; }
.doc-body ul li { margin-bottom: 6px; }

/* ------ FAQ category tabs ------ */

.faq-tabs {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 32px;
}
.faq-tab {
  padding: 8px 16px;
  border-radius: var(--r-full);
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  font-size: 14px; font-weight: 500;
  color: var(--ink-secondary);
  cursor: pointer;
  transition: all 140ms ease;
}
.faq-tab:hover { border-color: var(--blue-9); color: var(--blue-9); }
.faq-tab.active { background: var(--blue-9); color: #fff; border-color: var(--blue-9); }

.faq-category { margin-bottom: 40px; }
.faq-category h3 {
  font-size: 22px;
  margin-bottom: 16px;
  scroll-margin-top: 100px;
}

/* ------ Reveal animations (IO) ------ */

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms ease;
}
[data-reveal].revealed { opacity: 1; transform: none; }

/* ------ Utilities ------ */

.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-16 { margin-bottom: 16px; }
.muted { color: var(--ink-muted); }
.mono  { font-family: var(--font-mono); }

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
}

/* ------ Reduced motion ------ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .deposit-viz .deposit-step { opacity: 1; transform: none; }
  .map-pin { animation: none; }
}
