/* KITech KISSA_AI — kissa.kitech.ai */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --ink: #0f172a;
  --muted: #64748b;
  --paper: #f1f5f9;
  --card: #ffffff;
  --accent: #7c3aed;
  --accent-dark: #6d28d9;
  --accent-soft: #f5f3ff;
  --border: #e2e8f0;
  --code-bg: #0f172a;
  --warn-bg: #fffbeb;
  --warn-border: #f59e0b;
  --info-bg: #f5f3ff;
  --info-border: #7c3aed;
  --pro: #7c3aed;
  --pro-soft: #f5f3ff;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.06);
  --header-h: 88px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--paper);
  margin: 0;
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* ── Header ── */
.site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.5rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  min-height: var(--header-h);
}
.brand {
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.brand .logo-img {
  height: 40px;
  width: auto;
  max-height: 40px;
  display: block;
  object-fit: contain;
}
.top-nav {
  display: flex;
  gap: 0.2rem;
  flex-wrap: wrap;
  margin-left: auto;
  align-items: center;
}
.top-nav a {
  color: #475569;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.top-nav a:hover { background: var(--accent-soft); color: var(--accent); }
.top-nav a.active { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.top-nav a.nav-pro {
  background: var(--pro);
  color: #fff;
  font-weight: 600;
}
.top-nav a.nav-pro:hover { background: #6d28d9; color: #fff; }

.lang-switch {
  display: inline-flex;
  gap: 2px;
  margin-left: 0.25rem;
  padding: 3px;
  background: #f1f5f9;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.lang-switch a {
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--muted);
}
.lang-switch a.active { background: var(--accent); color: #fff; }
.lang-switch a:not(.active):hover { background: #fff; color: var(--accent); }

/* ── Page layout ── */
.page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

.hero {
  background: linear-gradient(135deg, #f5f3ff 0%, #ffffff 50%, #faf5ff 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.65rem, 4vw, 2.25rem);
  color: var(--ink);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero h1 span,
.hero .accent { color: var(--accent); }
.hero .lead {
  margin: 0;
  color: #475569;
  max-width: 65ch;
  font-size: 1.05rem;
}
.hero .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1rem; }
.hero .cta-row { margin-top: 1.25rem; display: flex; gap: 0.75rem; flex-wrap: wrap; }

.layout-docs .hero {
  margin-bottom: 1.25rem;
}
.layout-docs .hero h1 {
  font-size: 1.55rem;
  color: var(--accent);
}

.pill {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  background: var(--accent-soft);
  color: #5b21b6;
  border: 1px solid #ddd6fe;
}
.pill.pro { background: var(--pro-soft); color: var(--pro); border-color: #ddd6fe; }
.pill a { color: inherit; text-decoration: none; }

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, transform 0.1s;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-secondary { background: #fff; color: var(--accent); border-color: var(--accent); }
.btn-secondary:hover { background: var(--accent-soft); }
.btn-pro { background: var(--pro); color: #fff; }
.btn-pro:hover { background: #6d28d9; }

/* ── Content cards ── */
.content section,
.card,
article.content {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem 1.5rem;
  margin-bottom: 1.15rem;
  box-shadow: var(--shadow-sm);
}
article.content { scroll-margin-top: calc(var(--header-h) + 12px); }
.content h2,
article.content > h2 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
  letter-spacing: -0.01em;
}
.content h3,
article.content h3 { font-size: 1.05rem; font-weight: 600; color: #1e293b; }
.content h4 { font-size: 0.95rem; font-weight: 600; margin: 1rem 0 0.5rem; }
.content p,
article.content p { margin: 0.55rem 0; color: #334155; }
.content ul,
article.content ul,
.content ol,
article.content ol { margin: 0.5rem 0 0.75rem; padding-left: 1.35rem; color: #334155; }
.content li,
article.content li { margin: 0.3rem 0; }
.content pre,
article.content pre {
  margin: 0.75rem 0;
  padding: 1rem 1.15rem;
  background: var(--code-bg);
  color: #e2e8f0;
  border-radius: 10px;
  overflow-x: auto;
  font-size: 0.8rem;
  line-height: 1.5;
  border: 1px solid #1e293b;
}
.content code,
article.content code {
  background: #f1f5f9;
  color: #0f172a;
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 0.86em;
  border: 1px solid #e2e8f0;
}
.content pre code,
article.content pre code {
  background: transparent;
  border: none;
  padding: 0;
  color: inherit;
  font-size: inherit;
}
.content table,
article.content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 0.75rem 0;
  display: block;
  overflow-x: auto;
}
.content table thead,
article.content table thead { background: #f8fafc; }

.callout-info {
  background: var(--info-bg);
  border: 1px solid #ddd6fe;
  border-left: 4px solid var(--info-border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin: 0.85rem 0;
  font-size: 0.92rem;
  color: #1e3a5f;
}
.callout-warn {
  background: var(--warn-bg);
  border: 1px solid #fde68a;
  border-left: 4px solid var(--warn-border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin: 0.85rem 0;
  font-size: 0.92rem;
  color: #78350f;
}

/* ── Docs layout ── */
.layout-docs {
  display: grid;
  grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
  gap: 1.75rem;
  max-width: 1320px;
  margin: 0 auto;
  padding: 1rem 1.25rem 2.5rem;
  align-items: start;
}

.doc-sidebar-toggle {
  display: none;
  width: 100%;
  margin-bottom: 0.75rem;
  padding: 0.65rem 1rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  box-shadow: var(--shadow-sm);
}
.doc-sidebar-toggle__icon { margin-right: 0.35rem; }

.doc-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 8px);
  align-self: start;
  max-height: calc(100vh - var(--header-h) - 20px);
  overflow-y: auto;
  padding: 1rem 0.85rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}
.doc-sidebar h2 {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0 0 0.85rem;
  padding: 0 0.5rem;
  font-weight: 700;
}
.doc-nav-group { margin-bottom: 1rem; }
.doc-nav-group:last-child { margin-bottom: 0; }
.doc-nav-group-label {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #94a3b8;
  font-weight: 700;
  padding: 0.15rem 0.5rem 0.4rem;
  margin-top: 0.25rem;
}
.doc-nav-group:first-child .doc-nav-group-label { margin-top: 0; }
.doc-sidebar nav a {
  display: block;
  padding: 0.38rem 0.55rem;
  border-radius: 7px;
  color: #475569;
  text-decoration: none;
  font-size: 0.84rem;
  line-height: 1.35;
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
}
.doc-sidebar nav a:hover {
  background: #f8fafc;
  color: var(--accent);
}
.doc-sidebar nav a.active {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
  border-left-color: var(--accent);
  padding-left: calc(0.55rem - 3px);
}

.layout-docs .main { min-width: 0; }

/* ── Setup / provider docs ── */
.setup-phase {
  margin: 1.5rem 0 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--border);
}
.setup-phase:first-of-type { border-top: none; padding-top: 0; margin-top: 0.5rem; }
.setup-phase h3 {
  font-size: 1.02rem;
  margin: 0 0 0.65rem;
  color: var(--ink);
  font-weight: 600;
}
.setup-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin: 0.75rem 0 1rem;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.setup-table th,
.setup-table td {
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.setup-table th { background: #f8fafc; font-weight: 600; color: #334155; }
.setup-table th.col-console { width: 46%; }
.setup-table th.col-meetflow { width: 46%; }
.setup-table .mf-path {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.2rem;
}
.setup-legend {
  padding: 0.9rem 1.1rem;
  margin: 0 0 1.25rem;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.9rem;
}
.setup-legend strong { color: var(--ink); }
.setup-table code { font-size: 0.85em; word-break: break-word; }
.setup-note {
  padding: 0.8rem 1rem;
  margin: 0 0 1.1rem;
  background: linear-gradient(90deg, #f5f3ff 0%, #f8fafc 100%);
  border-left: 4px solid var(--accent);
  border-radius: 0 10px 10px 0;
  font-size: 0.9rem;
  color: #334155;
}
.doc-links { margin: 0.35rem 0 1rem; font-size: 0.88rem; }
.doc-links a {
  display: inline-flex;
  align-items: center;
  margin-right: 0.85rem;
  margin-bottom: 0.35rem;
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}
.doc-links a:hover { text-decoration: underline; }

.trouble-item { scroll-margin-top: calc(var(--header-h) + 12px); }
.symptom {
  color: var(--muted);
  font-style: italic;
  margin-top: 0;
  font-size: 0.95rem;
  padding: 0.5rem 0.75rem;
  background: #f8fafc;
  border-radius: 8px;
  border-left: 3px solid #cbd5e1;
}

/* ── Homepage features ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.feature-card:hover {
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}
.feature-card .f-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
}
.feature-card h3 { margin: 0 0 0.35rem; font-size: 1rem; font-weight: 600; }
.feature-card p { margin: 0; font-size: 0.9rem; color: var(--muted); line-height: 1.55; }
.feature-card.pro-feature { border-color: #e9d5ff; background: linear-gradient(180deg, #fff 0%, #faf5ff 100%); }
.feature-card.pro-feature .f-icon { background: var(--pro-soft); }

/* ── Pricing ── */
.pricing-door {
  margin: 1.75rem 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  border-bottom: none;
}
.pricing-door-lead {
  color: var(--muted);
  margin: 0 0 1rem;
  max-width: 52rem;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
  align-items: stretch;
}
.price-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.price-card:hover { box-shadow: var(--shadow-md); }
.price-card.highlight {
  border: 2px solid var(--pro);
  box-shadow: 0 8px 28px rgba(124, 58, 237, 0.12);
}
.price-card .plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--pro);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
}
.price-card h3 { margin: 0 0 0.25rem; font-size: 1.15rem; font-weight: 700; }
.price-card .plan-sub { color: var(--muted); font-size: 0.88rem; margin: 0 0 1rem; }
.price-card .price { font-size: 2.1rem; font-weight: 800; margin: 0; letter-spacing: -0.02em; }
.price-card .price small { font-size: 0.85rem; font-weight: 500; color: var(--muted); }
.price-card ul { list-style: none; margin: 1.1rem 0 1.4rem; padding: 0; flex: 1; }
.price-card li { padding: 5px 0 5px 26px; position: relative; font-size: 0.9rem; color: #334155; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.price-card li.na { color: #94a3b8; }
.price-card li.na::before { content: "—"; color: #cbd5e1; }
.price-card .btn { text-align: center; width: 100%; }

.compare-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; margin: 1rem 0; }
.compare-table th, .compare-table td { padding: 10px 12px; border: 1px solid var(--border); text-align: left; }
.compare-table th { background: #f8fafc; font-weight: 600; }
.compare-table th.col-pro { background: var(--pro-soft); color: var(--pro); }
.compare-table td.c { text-align: center; }
.compare-table .yes { color: var(--accent); font-weight: 700; }
.compare-table .no { color: #cbd5e1; }

.freemius-note { font-size: 0.82rem; color: var(--muted); margin-top: 0.75rem; text-align: center; }

.version-banner {
  background: linear-gradient(90deg, #f5f3ff, #faf5ff);
  border: 1px solid #ddd6fe;
  border-radius: 10px;
  padding: 0.6rem 1rem;
  font-size: 0.86rem;
  color: #5b21b6;
  margin-bottom: 1.25rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 200px;
  margin: 1rem 0 1.5rem;
  padding: 1.5rem;
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  text-align: center;
}
.img-placeholder .ph-icon { font-size: 1.6rem; opacity: 0.7; }
.img-placeholder .ph-label { font-weight: 600; font-size: 0.9rem; color: #64748b; }
.img-placeholder .ph-file { font-family: ui-monospace, monospace; font-size: 0.76rem; color: #94a3b8; }

.hero-shot,
.doc-shot {
  margin: 1rem 0 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0b1f3a;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
}
.hero-shot img,
.doc-shot img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}
.doc-shot {
  background: #f8fafc;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #fff;
  margin-top: 2rem;
}
.site-footer .inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.35rem 1.25rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.site-footer a { color: var(--accent); text-decoration: none; font-weight: 500; }
.site-footer a:hover { text-decoration: underline; }

article.content > section + section {
  margin-top: 1.35rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
article.content > section > h2:first-child { margin-top: 0; }

@media (max-width: 960px) {
  .layout-docs {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 0.75rem;
  }
  .doc-sidebar-toggle { display: block; }
  .doc-sidebar {
    position: static;
    max-height: none;
    display: none;
    margin-bottom: 1rem;
  }
  .doc-sidebar.is-open { display: block; }
  .top-nav { margin-left: 0; width: 100%; justify-content: flex-start; }
  .site-header .inner { padding: 0.5rem 1rem; }
}

@media (max-width: 640px) {
  .brand .logo-img { height: 36px; max-height: 36px; }
  .hero { padding: 1.5rem 1.15rem; }
  article.content,
  .content section { padding: 1.1rem 1.15rem; }
}

/* Footer nav (legal + product links) */
.site-footer .footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  align-items: center;
}
.site-footer .footer-nav a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}
.site-footer .footer-nav a:hover { text-decoration: underline; }
.legal-page h1 { margin-top: 0; }
.legal-page h2 { margin-top: 1.75rem; font-size: 1.15rem; }
.legal-page .lead { color: var(--muted); }
.legal-page ul { padding-left: 1.25rem; }
.legal-page li { margin: 0.35rem 0; }
.legal-page p { max-width: 72ch; }

.legal-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0.65rem 0.85rem;
  font-size: 0.88rem;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--muted);
}
.legal-subnav a { color: var(--accent); font-weight: 500; text-decoration: none; }
.legal-subnav a:hover { text-decoration: underline; }
.legal-subnav strong { color: #0f172a; }

/* ── KISSA_AI extras ── */
.version-banner {
  background: linear-gradient(90deg, #f5f3ff, #faf5ff);
  border-color: #ddd6fe;
  color: #5b21b6;
}
.hero {
  background: linear-gradient(135deg, #f5f3ff 0%, #ffffff 50%, #faf5ff 100%);
}
.pill { color: #5b21b6; border-color: #ddd6fe; background: var(--accent-soft); }
.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}
.mode-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow-sm);
}
.mode-card h3 { margin: 0 0 0.5rem; font-size: 1.05rem; }
.mode-card p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
  margin: 1rem 0;
}
.channel-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  border-top: 4px solid #94a3b8;
}
.channel-card h3 { margin: 0 0 0.35rem; font-size: 0.98rem; display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.channel-card p { margin: 0; font-size: 0.86rem; color: var(--muted); }
.status-pill {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 999px;
}
.status-pill.ready { background: #dcfce7; color: #166534; }
.status-pill.planned { background: #fef3c7; color: #92400e; }
.status-pill.unclear { background: #fee2e2; color: #991b1b; }
.status-pill.request { background: #e2e8f0; color: #475569; }
.copy-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin: 0.4rem 0;
}
.copy-row code {
  flex: 1;
  min-width: 12rem;
  word-break: break-all;
}
.copy-btn {
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--accent);
  cursor: pointer;
}
.copy-btn:hover { background: var(--accent-soft); }
.jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
  margin: 0 0 1.25rem;
  padding: 0.75rem 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.88rem;
}
.jump-nav a { color: var(--accent); font-weight: 500; text-decoration: none; }
.jump-nav a:hover { text-decoration: underline; }
.fig-cap {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.35rem 0 1.25rem;
  max-width: 70ch;
}
.meta-box {
  margin-top: 1.5rem;
  padding: 1rem 1.15rem;
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 10px;
  font-size: 0.88rem;
}
.meta-box a { color: #c4b5fd; }
.meta-box code { background: #1e293b; color: #e2e8f0; border-color: #334155; }
.deletion-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1rem 0;
  align-items: center;
}
.deletion-form label { font-weight: 600; font-size: 0.9rem; }
.deletion-form input[type="text"] {
  flex: 1;
  min-width: 12rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
}
.login-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}
.login-box {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  background: #fff;
}
.login-box.browser { border-top: 4px solid #94a3b8; }
.login-box.app { border-top: 4px solid var(--accent); }
.top-nav a.nav-login {
  background: var(--accent);
  color: #fff !important;
  font-weight: 600;
}
.top-nav a.nav-login:hover { background: var(--accent-dark); color: #fff !important; }
.legal-disclaimer {
  font-size: 0.85rem;
  color: #92400e;
  background: var(--warn-bg);
  border: 1px solid #fde68a;
  border-left: 4px solid var(--warn-border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin: 0.85rem 0 1.25rem;
}
