/* =========================================================
   Nishop Booking — page & composition styles
   hero scene · mockups · pricing · discovery · page blocks
   ========================================================= */

/* ---------- home hero ---------- */

.hero {
  position: relative;
  background:
    radial-gradient(1100px 520px at 84% -10%, rgba(59, 110, 246, 0.14), transparent 62%),
    radial-gradient(760px 420px at 4% 8%, rgba(255, 180, 61, 0.1), transparent 60%),
    var(--paper);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(14, 23, 38, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(14, 23, 38, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 72%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 72%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(2rem, 1.2rem + 3vw, 3.75rem);
  align-items: center;
  padding-block: clamp(3rem, 2.2rem + 4vw, 5.5rem);
}
.hero-title {
  font-size: var(--fs-display);
  letter-spacing: -0.032em;
  margin-bottom: 1rem;
  max-width: 15ch;
}
.hero-title em {
  font-style: normal;
  color: var(--brand-600);
}
.hero-lede {
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.2rem);
  max-width: 54ch;
  color: var(--text-body);
}
.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
  margin-top: 1.7rem;
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
.hero-note span { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero-note span::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--success);
}

/* ---------- hero animated scene ---------- */

.hero-scene { position: relative; }

.scene-stack {
  position: relative;
  display: grid;
  gap: 1rem;
}

/* window chrome mock (dashboard) */
.mock-window {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 0.9rem;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.mock-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.mock-dot:nth-child(1) { background: #F26D6D; }
.mock-dot:nth-child(2) { background: #F5C04E; }
.mock-dot:nth-child(3) { background: #4FC78B; }
.mock-url {
  margin-left: 0.5rem;
  flex: 1;
  height: 20px;
  border-radius: 5px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 0.68rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  padding-inline: 0.55rem;
  font-family: var(--font-mono);
  overflow: hidden;
  white-space: nowrap;
}

.dash { display: grid; grid-template-columns: 128px minmax(0, 1fr); min-height: 232px; }
.dash-side {
  background: var(--ink-900);
  padding: 0.9rem 0.75rem;
  display: grid;
  gap: 0.55rem;
  align-content: start;
}
.dash-brand {
  display: flex; align-items: center; gap: 0.4rem;
  color: #fff; font-size: 0.72rem; font-weight: 650;
  margin-bottom: 0.35rem;
}
.dash-brand i { width: 14px; height: 14px; border-radius: 4px; background: var(--brand-500); display: block; }
.dash-link {
  height: 22px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
}
.dash-link.is-active { background: rgba(59, 110, 246, 0.38); }
.dash-link:nth-child(3) { width: 84%; }
.dash-link:nth-child(5) { width: 76%; }
.dash-link:nth-child(6) { width: 88%; }

.dash-main { padding: 0.95rem 1.05rem; display: grid; gap: 0.75rem; align-content: start; }
.dash-head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.dash-title { font-size: 0.82rem; font-weight: 650; color: var(--text); }
.dash-pill {
  font-size: 0.62rem;
  font-weight: 650;
  color: var(--brand-700);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: 999px;
  padding: 0.18em 0.6em;
}
.dash-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.55rem; }
.dash-stat {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 0.5rem 0.6rem;
  background: var(--paper-2);
}
.dash-stat b { display: block; font-size: 0.66rem; color: var(--text-muted); font-weight: 600; }
.dash-bars { display: grid; gap: 0.5rem; }
.dash-row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) 52px;
  gap: 0.55rem;
  align-items: center;
}
.dash-avatar { width: 18px; height: 18px; border-radius: 50%; background: var(--brand-100); }
.dash-track { height: 8px; border-radius: 999px; background: var(--paper-3); overflow: hidden; }
.dash-track i { display: block; height: 100%; border-radius: 999px; background: var(--brand-500); }
.dash-row:nth-child(2) .dash-track i { width: 72%; background: var(--brand-600); }
.dash-row:nth-child(3) .dash-track i { width: 54%; background: #59C8A4; }
.dash-row:nth-child(4) .dash-track i { width: 86%; background: var(--accent); }
.dash-tag { height: 8px; border-radius: 999px; background: var(--paper-3); }

/* customer search card */
.search-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1rem 1.05rem 1.1rem;
}
.search-head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.75rem; }
.search-head strong { font-size: 0.78rem; color: var(--text); }
.search-field {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 10px;
  padding: 0.6rem 0.75rem;
  background: var(--paper-2);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.search-card.is-searching .search-field {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(59, 110, 246, 0.14);
}
.search-icon { width: 16px; height: 16px; color: var(--text-muted); flex-shrink: 0; }
.search-query {
  flex: 1;
  font-size: 0.86rem;
  color: var(--text);
  font-weight: 550;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
}
.search-caret {
  display: inline-block;
  width: 1.5px;
  height: 1em;
  background: var(--brand-600);
  vertical-align: -0.15em;
  animation: caret-blink 1s steps(2, start) infinite;
}
@keyframes caret-blink { 50% { opacity: 0; } }
.search-loc {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  font-weight: 650;
  color: var(--brand-700);
  background: var(--brand-50);
  border-radius: 999px;
  padding: 0.24em 0.6em;
  flex-shrink: 0;
}

.provider-list { display: grid; gap: 0.55rem; margin-top: 0.85rem; }

.provider-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 0.6rem 0.7rem;
  background: var(--paper);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.provider-card:hover { border-color: var(--brand-100); box-shadow: var(--shadow-sm); }
.provider-logo {
  width: 34px; height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  background: var(--brand-600);
}
.provider-card:nth-child(2) .provider-logo { background: var(--ink-700); }
.provider-card:nth-child(3) .provider-logo { background: #12A37B; }
.provider-info { min-width: 0; }
.provider-name { font-size: 0.83rem; font-weight: 650; color: var(--text); }
.provider-meta { font-size: 0.68rem; color: var(--text-muted); }
.provider-cta {
  font-size: 0.68rem;
  font-weight: 650;
  color: var(--brand-700);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: 7px;
  padding: 0.34em 0.6em;
  white-space: nowrap;
}

.book-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.85rem;
  padding-top: 0.8rem;
  border-top: 1px dashed var(--line-strong);
  font-size: 0.75rem;
  color: var(--text-muted);
}
.book-step-btn {
  font-size: 0.72rem;
  font-weight: 650;
  color: #fff;
  background: var(--brand-600);
  border-radius: 8px;
  padding: 0.45em 0.85em;
  box-shadow: var(--shadow-sm);
}

.scene-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.35rem;
  flex-wrap: wrap;
}

/* animation states (only when JS is on and motion is allowed) */
.js .scene-anim [data-step] {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.js .scene-anim [data-step].is-in { opacity: 1; transform: none; }
.js .scene-anim .provider-card { transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.js .scene-anim .provider-card.is-spotlight {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(59, 110, 246, 0.14);
}
.js .scene-anim .book-step-btn.is-pulse { animation: pulse-btn 0.9s var(--ease) 2; }
@keyframes pulse-btn {
  0% { transform: scale(1); }
  50% { transform: scale(1.07); box-shadow: 0 0 0 8px rgba(42, 90, 224, 0.16); }
  100% { transform: scale(1); }
}

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-title { max-width: 20ch; }
}
@media (max-width: 480px) {
  .dash { grid-template-columns: minmax(0, 1fr); }
  .dash-side { display: none; }
  .provider-card { grid-template-columns: 30px minmax(0, 1fr); }
  .provider-cta { grid-column: 2; justify-self: start; }
}

/* ---------- statement strip ---------- */

.statement {
  padding-block: clamp(2rem, 1.6rem + 1.6vw, 3rem);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.statement p {
  max-width: 62ch;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(1.02rem, 0.96rem + 0.5vw, 1.2rem);
  color: var(--text-body);
  font-weight: 500;
}
.statement strong { color: var(--text); font-weight: 650; }
.statement-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

/* ---------- split rows ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 1.2rem + 3vw, 3.5rem);
  align-items: center;
}
.split-wide { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.split-reverse .split-media { order: -1; }
.split-copy h2 { margin-bottom: 0.75rem; }
.split-copy p { max-width: 54ch; }
@media (max-width: 900px) {
  .split, .split-wide { grid-template-columns: minmax(0, 1fr); }
  .split-reverse .split-media { order: 0; }
}

/* ---------- steps / how it works ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 0.7rem + 1.4vw, 1.75rem);
  counter-reset: step;
}
.steps.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step {
  position: relative;
  padding-top: 3.4rem;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0; left: 0;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--ink-900);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font-mono);
}
.step::after {
  content: "";
  position: absolute;
  top: 21px;
  left: 56px;
  right: -12px;
  height: 1.5px;
  background: repeating-linear-gradient(to right, var(--line-strong) 0 6px, transparent 6px 12px);
}
.step:last-child::after { display: none; }
.step h3 { font-size: 1.08rem; margin-bottom: 0.4rem; }
.step p { font-size: var(--fs-sm); margin: 0; color: var(--text-body); }
.section-dark .step::before { background: var(--brand-600); }
.section-dark .step p { color: var(--text-invert-muted); }

@media (max-width: 940px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step::after { display: none; }
}
@media (max-width: 560px) {
  .steps, .steps.steps-3 { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- pain / gain columns ---------- */

.two-col-list { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 1rem + 1.5vw, 2.5rem); }
.two-col-list h3 { font-size: 1.05rem; margin-bottom: 0.9rem; }
@media (max-width: 760px) { .two-col-list { grid-template-columns: minmax(0, 1fr); } }

/* ---------- audience paths (business / customer) ---------- */

.path-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 1.3rem + 1.6vw, 2.5rem);
  border: 1px solid var(--line);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.path-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.path-card.path-dark {
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: var(--text-invert-muted);
}
.path-dark h3, .path-dark .path-title { color: #fff; }
.path-kicker {
  font-size: var(--fs-xs);
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-600);
}
.path-dark .path-kicker { color: #86A6FF; }
.path-title { font-size: clamp(1.3rem, 1.15rem + 0.8vw, 1.7rem); margin: 0; }
.path-card p { font-size: var(--fs-sm); margin: 0; }
.path-card .btn { align-self: flex-start; margin-top: 0.35rem; }

/* ---------- industry cards ---------- */

.industry-card { display: flex; flex-direction: column; gap: 0.5rem; }
.industry-card .card-icon { margin-bottom: 0.55rem; }
.industry-card .btn-link { margin-top: auto; padding-top: 0.9rem; }

.industry-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}
.industry-strip a {
  border: 1px solid var(--line-strong);
  background: var(--paper);
  border-radius: 999px;
  padding: 0.5em 1em;
  font-size: var(--fs-sm);
  font-weight: 550;
  color: var(--text-body);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.industry-strip a:hover {
  text-decoration: none;
  border-color: var(--brand-600);
  color: var(--brand-700);
  transform: translateY(-2px);
}

/* ---------- metrics / feature list blocks ---------- */

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 0.8rem + 1vw, 1.75rem);
}
@media (max-width: 860px) { .feature-row { grid-template-columns: minmax(0, 1fr); } }

.mini-stat {
  border-left: 3px solid var(--brand-600);
  padding-left: 1rem;
}
.mini-stat dt {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-muted);
  font-weight: 650;
}
.mini-stat dd {
  margin: 0.25rem 0 0;
  font-size: 1.02rem;
  color: var(--text);
  font-weight: 600;
}

/* ---------- pricing ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 0.8rem + 1vw, 1.6rem);
  align-items: start;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan-highlight {
  border-color: var(--brand-600);
  box-shadow: 0 18px 44px rgba(42, 90, 224, 0.16);
}
.plan-flag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-600);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.35em 0.9em;
  white-space: nowrap;
}
.plan-name { font-size: 1.15rem; margin: 0; }
.plan-desc { font-size: var(--fs-sm); color: var(--text-muted); margin: 0; min-height: 3em; }
.plan-price { display: flex; align-items: baseline; gap: 0.35rem; flex-wrap: wrap; }
.plan-amount {
  font-size: clamp(2rem, 1.7rem + 1.4vw, 2.6rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
}
.plan-period { font-size: var(--fs-xs); color: var(--text-muted); }
.plan-custom {
  font-size: clamp(1.5rem, 1.3rem + 1vw, 2rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.plan-editable {
  font-size: 0.7rem;
  color: var(--text-muted);
  background: var(--paper-3);
  border: 1px dashed var(--line-strong);
  border-radius: 6px;
  padding: 0.2em 0.5em;
}
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.plan .btn { margin-top: auto; }

.pricing-note {
  margin-top: 1.5rem;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-align: center;
}

@media (max-width: 940px) {
  .pricing-grid { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; }
  .plan-desc { min-height: 0; }
}

/* ---------- discovery page ---------- */

.discover-hero {
  background: var(--ink-900);
  color: var(--text-invert-muted);
  padding-block: clamp(2.75rem, 2.2rem + 3vw, 4.5rem);
}
.discover-hero h1 { color: #fff; max-width: 20ch; }
.discover-hero .eyebrow { color: #86A6FF; }
.discover-search {
  margin-top: 1.75rem;
  max-width: 640px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 0.55rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.discover-search input {
  flex: 1 1 220px;
  min-width: 0;
  background: transparent;
  border: 0;
  color: #fff;
  font: inherit;
  font-size: var(--fs-sm);
  padding: 0.7rem 0.8rem;
}
.discover-search input::placeholder { color: #8492AC; }
.discover-search input:focus { outline: none; }
.discover-search .btn { flex-shrink: 0; }
.discover-hint { margin-top: 0.9rem; font-size: var(--fs-xs); color: #8492AC; }

.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 940px) { .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .category-grid { grid-template-columns: minmax(0, 1fr); } }

.demo-panel {
  border: 1px dashed var(--line-strong);
  background: var(--paper-2);
  border-radius: var(--radius);
  padding: clamp(1.1rem, 0.9rem + 1vw, 1.6rem);
}
.demo-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.demo-panel-head h3 { margin: 0; font-size: 1rem; }

/* ---------- resources ---------- */

.resource-card { display: flex; flex-direction: column; gap: 0.6rem; height: 100%; }
.resource-card .resource-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
.resource-card .btn-link { margin-top: auto; }

.article-body { max-width: 760px; }
.article-body h2 { font-size: clamp(1.4rem, 1.25rem + 0.9vw, 1.8rem); margin-top: 2.4rem; }
.article-body h3 { font-size: 1.15rem; margin-top: 1.8rem; }
.article-body ul, .article-body ol { padding-left: 1.3em; }
.article-body li { margin-bottom: 0.5rem; }
.article-body blockquote {
  margin: 1.5rem 0;
  padding: 0.9rem 1.2rem;
  border-left: 3px solid var(--brand-600);
  background: var(--brand-50);
  border-radius: 0 10px 10px 0;
  color: var(--text-body);
  font-size: var(--fs-sm);
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  padding-bottom: 1.25rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
.toc {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  margin-bottom: 2rem;
}
.toc strong { display: block; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.09em; color: var(--text-muted); margin-bottom: 0.6rem; }
.toc ol { margin: 0; padding-left: 1.2em; font-size: var(--fs-sm); }
.toc li { margin-bottom: 0.35rem; }

/* ---------- contact / demo ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.75rem, 1.2rem + 3vw, 3.5rem);
  align-items: start;
}
@media (max-width: 900px) { .contact-layout { grid-template-columns: minmax(0, 1fr); } }

.contact-aside { display: grid; gap: 1rem; }
.info-block {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  background: var(--paper);
}
.info-block h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.info-block p { font-size: var(--fs-sm); margin-bottom: 0.5rem; }
.info-block ul { list-style: none; margin: 0; padding: 0; font-size: var(--fs-sm); }
.info-block li { display: flex; gap: 0.55rem; margin-bottom: 0.5rem; }
.info-block li::before { content: "\2022"; color: var(--brand-600); font-weight: 700; }

/* ---------- security / legal ---------- */

.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.35rem, 1.2rem + 0.9vw, 1.75rem); margin-top: 2.6rem; }
.prose h3 { font-size: 1.1rem; margin-top: 1.9rem; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.5rem; }
.prose .updated { font-size: var(--fs-xs); color: var(--text-muted); }

.toc-aside {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
  padding: 1.1rem 1.25rem;
  font-size: var(--fs-sm);
}
.toc-aside strong {
  display: block;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}
.toc-aside ul { list-style: none; margin: 0; padding: 0; }
.toc-aside li { margin-bottom: 0.45rem; }
.toc-aside a { color: var(--text-body); }
.toc-aside a:hover { color: var(--brand-700); }

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  align-items: start;
}
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: minmax(0, 1fr); }
  .toc-aside { position: static; order: -1; }
}

.control-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 860px) { .control-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- about / stats-free facts ---------- */

.value-list { display: grid; gap: 1.15rem; }
.value-item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 1rem; align-items: start; }
.value-item h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.value-item p { font-size: var(--fs-sm); margin: 0; }

/* ---------- 404 ---------- */

.error-page {
  min-height: 62vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding-block: clamp(3rem, 2.5rem + 3vw, 5rem);
  background: var(--paper-2);
}
.error-code {
  font-size: clamp(4rem, 3rem + 6vw, 7rem);
  font-weight: 750;
  letter-spacing: -0.05em;
  color: var(--brand-600);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.error-page h1 { margin-bottom: 0.6rem; }
.error-page p { max-width: 46ch; margin-inline: auto; }
.error-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-top: 1.75rem; }

/* ---------- misc ---------- */

.note-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.5em 0.8em;
}

.breadcrumbs { font-size: var(--fs-xs); color: var(--text-muted); margin-bottom: 1rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; }
.breadcrumbs li::after { content: "/"; margin-left: 0.4rem; color: var(--line-strong); }
.breadcrumbs li:last-child::after { content: ""; }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--brand-700); }
.breadcrumbs [aria-current="page"] { color: var(--text); font-weight: 600; }

.pagination-links {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
