/* ==========================================================================
   7amoDB — design system
   Obsidian · champagne metal · soft ivory · warm stone
   ========================================================================== */

:root {
  --bg: #080807;
  --bg-elev: #0e0d0a;
  --bg-elev-2: #15130f;
  --panel: #0e0d0a;
  --line: #27231c;
  --line-strong: #3a3123;
  --fg: #f0ece3;
  --fg-muted: #b1aa9b;
  --fg-dim: #817969;
  --accent: #c5a36a;
  --accent-soft: #ead4a7;
  --accent-dim: #75562d;
  --accent-wash: rgba(197, 163, 106, 0.10);
  --ok: #34d399;
  --warn: #f5b544;
  --danger: #f2555a;
  --info: #7c9cf5;

  --radius: 11px;
  --radius-sm: 7px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
  --shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.8);
  --shadow-lg: 0 24px 60px -24px rgba(0, 0, 0, 0.9);

  --font: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Instrument Serif', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-ar: 'IBM Plex Sans Arabic', 'Inter', system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --nav-h: 64px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  background: radial-gradient(ellipse at 50% -18%, rgba(197,163,106,.085), transparent 42%), var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv02', 'cv03', 'cv04';
  min-height: 100vh;
}

html[dir='rtl'] body { font-family: var(--font-ar); }

::selection { background: rgba(197, 163, 106, 0.32); color: #fffaf0; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.021em;
  line-height: 1.22;
}
p { margin: 0; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #28231b; border-radius: 6px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #3b3122; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1400px; }
.stack { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; }
.between { justify-content: space-between; }
.gap-1 { gap: 4px } .gap-2 { gap: 8px } .gap-3 { gap: 12px } .gap-4 { gap: 16px }
.gap-5 { gap: 20px } .gap-6 { gap: 24px } .gap-8 { gap: 32px } .gap-10 { gap: 40px }
.wrap { flex-wrap: wrap; }
.grow { flex: 1; }
.center { align-items: center; }
.hidden { display: none !important; }

/* ---------- typography ---------- */
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-dim);
  font-weight: 600;
}
.h1 { font-size: clamp(38px, 6.2vw, 64px); letter-spacing: -0.035em; line-height: 1.05; }
.h2 { font-size: clamp(25px, 3.4vw, 34px); letter-spacing: -0.028em; }
.h3 { font-size: 19px; letter-spacing: -0.015em; }
.h4 { font-size: 15px; font-weight: 600; }
.lead { font-size: 16.5px; color: var(--fg-muted); line-height: 1.65; }
.muted { color: var(--fg-muted); }
.dim { color: var(--fg-dim); }
.small { font-size: 13px; }
.xs { font-size: 12px; }
.mono { font-family: var(--mono); font-size: 13px; letter-spacing: -0.01em; }
.accent { color: var(--accent-soft); }
.nowrap { white-space: nowrap; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { width: 26px; height: 26px; object-fit: contain; display: block; }
.brand-text { font-weight: 650; font-size: 16px; letter-spacing: -0.02em; }
.brand-text .db { color: var(--accent-soft); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  height: var(--nav-h);
  background: rgba(8, 8, 7, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 7px 11px; border-radius: var(--radius-sm);
  font-size: 13.5px; color: var(--fg-muted);
  transition: color .14s ease, background .14s ease;
}
.nav-link:hover { color: var(--fg); background: rgba(255,255,255,0.035); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-burger { display: none; }

.mobile-drawer {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 55;
  background: var(--bg); padding: 20px 24px 40px;
  overflow-y: auto; display: none;
}
.mobile-drawer.open { display: block; }
.mobile-drawer .nav-link { display: block; padding: 13px 12px; font-size: 15px; border-radius: var(--radius); }

@media (max-width: 900px) {
  .nav-links, .nav-actions .desktop-only { display: none; }
  .nav-burger { display: inline-flex; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 38px; padding: 0 15px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--bg-elev);
  color: var(--fg);
  font-size: 13.5px; font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background .14s ease, border-color .14s ease, transform .1s ease, opacity .14s ease;
  text-decoration: none;
}
.btn:hover { background: var(--bg-elev-2); border-color: #3a3123; }
.btn:active { transform: translateY(0.5px); }
.btn:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 2px; }
.btn[disabled], .btn.is-disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }

.btn-primary {
  background: linear-gradient(135deg, #e6cea0, #bd985b); border-color: #c8a66e;
  color: #15110b; font-weight: 700; box-shadow: 0 5px 18px rgba(174, 132, 65, .12);
}
.btn-primary:hover { background: linear-gradient(135deg, #f1dcb2, #d1ad70); border-color: #e5c993; box-shadow: 0 7px 22px rgba(174, 132, 65, .2); }

.btn-ghost { background: transparent; border-color: transparent; color: var(--fg-muted); }
.btn-ghost:hover { background: rgba(255,255,255,0.04); color: var(--fg); border-color: transparent; }

.btn-danger { border-color: rgba(242,85,90,0.35); color: #ff8b8f; background: rgba(242,85,90,0.06); }
.btn-danger:hover { background: rgba(242,85,90,0.12); border-color: rgba(242,85,90,0.55); }

.btn-solid-danger { background: #b3282d; border-color: #b3282d; color: #fff; }
.btn-solid-danger:hover { background: #c22f34; }

.btn-lg { height: 44px; padding: 0 20px; font-size: 14.5px; }
.btn-sm { height: 30px; padding: 0 10px; font-size: 12.5px; }
.btn-icon { width: 38px; padding: 0; }
.btn-icon.btn-sm { width: 30px; }
.btn-block { width: 100%; }

.btn .spinner { display: none; }
.btn.loading .spinner { display: inline-block; }
.btn.loading .btn-label { opacity: .6; }

.spinner {
  width: 13px; height: 13px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.25);
  border-top-color: currentColor;
  animation: spin .6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- cards / panels ---------- */
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.card-pad { padding: 20px; }
.card-head {
  padding: 15px 20px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.card-body { padding: 20px; }
.card-foot { padding: 14px 20px; border-top: 1px solid var(--line); background: rgba(255,255,255,0.012); }

.panel { background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius); }

.stat {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 18px;
}
.stat-label { font-size: 12px; color: var(--fg-dim); letter-spacing: .02em; }
.stat-value { font-size: 26px; font-weight: 600; letter-spacing: -0.03em; margin-top: 6px; line-height: 1.15; }
.stat-sub { font-size: 12px; color: var(--fg-dim); margin-top: 4px; }

.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- badges / status ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  height: 22px; padding: 0 9px; border-radius: 999px;
  font-size: 11.5px; font-weight: 500; letter-spacing: .01em;
  border: 1px solid var(--line-strong); color: var(--fg-muted);
  background: rgba(255,255,255,0.02);
}
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-ok { color: #6ee7b7; border-color: rgba(52,211,153,0.28); background: rgba(52,211,153,0.07); }
.badge-warn { color: #fbcd74; border-color: rgba(245,181,68,0.28); background: rgba(245,181,68,0.07); }
.badge-danger { color: #ff8b8f; border-color: rgba(242,85,90,0.28); background: rgba(242,85,90,0.07); }
.badge-accent { color: var(--accent-soft); border-color: rgba(197,163,106,0.32); background: var(--accent-wash); }
.badge-neutral { color: var(--fg-muted); }
.badge-pulse .dot { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1 } 50% { opacity: .35 } }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 7px; }
.label { font-size: 13px; font-weight: 500; color: var(--fg); }
.label-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hint { font-size: 12.5px; color: var(--fg-dim); line-height: 1.5; }
.error-text { font-size: 12.5px; color: #ff8b8f; }

.input, .select, .textarea {
  width: 100%;
  background: #0a090e;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--fg);
  font-family: inherit;
  font-size: 14px;
  padding: 0 12px;
  height: 38px;
  transition: border-color .14s ease, box-shadow .14s ease;
}
.textarea { height: auto; min-height: 110px; padding: 10px 12px; line-height: 1.6; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: #55525f; }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(197,163,106,0.14);
}
.input.mono { font-family: var(--mono); }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239c98ab' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
html[dir='rtl'] .select { background-position: left 12px center; padding-right: 12px; padding-left: 32px; }

.otp-input {
  font-family: var(--mono); font-size: 22px; letter-spacing: 0.5em;
  text-align: center; height: 52px; padding-left: 0.5em;
}
html[dir='rtl'] .otp-input { direction: ltr; }

.checkbox-row { display: flex; align-items: flex-start; gap: 10px; }
input[type='checkbox'] { accent-color: var(--accent); width: 15px; height: 15px; margin-top: 3px; cursor: pointer; }

/* toggle */
.toggle { position: relative; display: inline-block; width: 38px; height: 22px; flex-shrink: 0; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle .track {
  position: absolute; inset: 0; cursor: pointer;
  background: #302a20; border-radius: 999px; transition: background .16s ease;
}
.toggle .track::before {
  content: ''; position: absolute; width: 16px; height: 16px; left: 3px; top: 3px;
  background: #b9b5c6; border-radius: 50%; transition: transform .16s ease, background .16s ease;
}
.toggle input:checked + .track { background: var(--accent); }
.toggle input:checked + .track::before { transform: translateX(16px); background: #fff; }
html[dir='rtl'] .toggle .track::before { left: auto; right: 3px; }
html[dir='rtl'] .toggle input:checked + .track::before { transform: translateX(-16px); }

/* ---------- tables ---------- */
.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 620px; }
table.tbl th {
  text-align: start; font-weight: 500; font-size: 11.5px;
  letter-spacing: .06em; text-transform: uppercase; color: var(--fg-dim);
  padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap;
}
table.tbl td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.tbl tbody tr:last-child td { border-bottom: none; }
table.tbl tbody tr:hover { background: rgba(255,255,255,0.016); }

/* ---------- progress ---------- */
.progress { height: 5px; background: #1a1823; border-radius: 999px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--accent); border-radius: 999px; transition: width .4s ease; }
.progress.warn > span { background: var(--warn); }
.progress.danger > span { background: var(--danger); }

/* ---------- code ---------- */
pre.code {
  background: #0a090e; border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 14px 16px;
  overflow-x: auto; font-family: var(--mono); font-size: 12.8px;
  line-height: 1.65; color: #c9c1b3; margin: 0; direction: ltr; text-align: left;
}
pre.code .k { color: #ead4a7; }
pre.code .s { color: #86e3b7; }
pre.code .c { color: #776f61; }
code.inline {
  font-family: var(--mono); font-size: 12.5px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--line);
  padding: 1px 5px; border-radius: 4px; direction: ltr; display: inline-block;
}

.secret-box {
  display: flex; align-items: center; gap: 8px;
  background: #0a090e; border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm); padding: 9px 10px 9px 12px;
}
.secret-value {
  flex: 1; font-family: var(--mono); font-size: 12.8px;
  overflow-x: auto; white-space: nowrap; direction: ltr; text-align: left;
  scrollbar-width: thin; color: #c9c1b3;
}
.secret-value.masked { letter-spacing: .12em; color: var(--fg-dim); }

/* ---------- empty / skeleton ---------- */
.empty { text-align: center; padding: 56px 24px; }
.empty-icon {
  width: 44px; height: 44px; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong); border-radius: 12px; color: var(--fg-dim);
  background: rgba(255,255,255,0.015);
}
.empty-title { font-size: 15px; font-weight: 550; }
.empty-desc { font-size: 13.5px; color: var(--fg-dim); margin-top: 6px; max-width: 360px; margin-inline: auto; }

.skel { background: linear-gradient(90deg, #14121c 25%, #1c1a26 50%, #14121c 75%); background-size: 200% 100%; animation: shimmer 1.4s ease infinite; border-radius: 6px; }
@keyframes shimmer { 0% { background-position: 200% 0 } 100% { background-position: -200% 0 } }

/* ---------- toast ---------- */
.toast-host { position: fixed; bottom: 20px; inset-inline-end: 20px; z-index: 200; display: flex; flex-direction: column; gap: 8px; }
.toast {
  background: var(--bg-elev-2); border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm); padding: 11px 15px; font-size: 13.5px;
  box-shadow: var(--shadow-lg); max-width: 330px;
  animation: toastIn .22s cubic-bezier(.16,1,.3,1);
}
.toast.ok { border-color: rgba(52,211,153,0.35); }
.toast.err { border-color: rgba(242,85,90,0.4); }
@keyframes toastIn { from { opacity: 0; transform: translateY(8px) } to { opacity: 1; transform: none } }

/* ---------- modal ---------- */
.modal-host {
  position: fixed; inset: 0; z-index: 150;
  background: rgba(4,3,6,0.72); backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  animation: fade .15s ease;
}
@keyframes fade { from { opacity: 0 } to { opacity: 1 } }
.modal {
  width: 100%; max-width: 440px;
  background: var(--bg-elev); border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  animation: modalIn .2s cubic-bezier(.16,1,.3,1);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(10px) scale(.985) } to { opacity: 1; transform: none } }
.modal-head { padding: 18px 20px 0; }
.modal-body { padding: 14px 20px 20px; }
.modal-foot { padding: 14px 20px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 8px; }

/* ---------- landing ---------- */
.hero { position: relative; padding: 96px 0 72px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; top: -280px; left: 50%; transform: translateX(-50%);
  width: 820px; height: 560px; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(197,163,106,0.16), transparent 66%);
}
.hero-inner { position: relative; text-align: center; max-width: 720px; margin: 0 auto; }
.hero-logo { width: 84px; height: 84px; object-fit: contain; margin: 0 auto 26px; display: block; }
.hero-cta { display: flex; gap: 10px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }

.preview {
  margin-top: 64px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--panel); overflow: hidden; box-shadow: var(--shadow-lg);
}
.preview-bar {
  height: 36px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 7px; padding: 0 14px;
  background: rgba(255,255,255,0.014);
}
.preview-bar i { width: 8px; height: 8px; border-radius: 50%; background: #2d281f; display: block; }
.preview-body { padding: 20px; }

section.section { padding: 76px 0; border-top: 1px solid var(--line); }
.section-head { max-width: 560px; margin-bottom: 40px; }

.feature { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); transition: border-color .16s ease; }
.feature:hover { border-color: var(--line-strong); }
.feature-icon {
  width: 34px; height: 34px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-wash); color: var(--accent-soft);
  border: 1px solid rgba(197,163,106,0.2); margin-bottom: 14px;
}
.feature h3 { font-size: 14.5px; margin-bottom: 6px; }
.feature p { font-size: 13.5px; color: var(--fg-muted); line-height: 1.6; }

.step { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.step:first-child { border-top: none; }
.step-num { font-family: var(--mono); font-size: 12px; color: var(--accent-soft); width: 26px; flex-shrink: 0; padding-top: 3px; }

.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; background: none; border: none; color: var(--fg);
  padding: 17px 0; font-size: 14.5px; font-weight: 500; text-align: start;
  cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-q svg { flex-shrink: 0; color: var(--fg-dim); transition: transform .2s ease; }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 0 18px; color: var(--fg-muted); font-size: 13.8px; line-height: 1.7; max-width: 660px; }
.faq-item.open .faq-a { display: block; }

.price-card { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel); padding: 26px; }
.price-card.featured { border-color: rgba(197,163,106,0.38); background: linear-gradient(180deg, rgba(197,163,106,0.045), transparent 55%), var(--panel); }
.price-amount { font-size: 38px; font-weight: 600; letter-spacing: -0.035em; }
.price-list { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 10px; }
.price-list li { display: flex; gap: 9px; font-size: 13.5px; color: var(--fg-muted); align-items: flex-start; }
.price-list svg { color: var(--accent-soft); flex-shrink: 0; margin-top: 3px; }

footer.footer { border-top: 1px solid var(--line); padding: 48px 0 32px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
.footer-title { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--fg-dim); margin-bottom: 12px; font-weight: 600; }
.footer-link { display: block; font-size: 13.5px; color: var(--fg-muted); padding: 4px 0; }
.footer-link:hover { color: var(--fg); }

/* ---------- app shell (dashboard / admin) ---------- */
.shell { display: flex; min-height: calc(100vh - var(--nav-h)); }
.sidebar {
  width: 236px; flex-shrink: 0; border-inline-end: 1px solid var(--line);
  padding: 20px 12px; position: sticky; top: var(--nav-h);
  height: calc(100vh - var(--nav-h)); overflow-y: auto;
  display: flex; flex-direction: column;
}
.side-group + .side-group { margin-top: 22px; }
.side-title { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--fg-dim); padding: 0 10px 8px; font-weight: 600; }
.side-link {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: var(--radius-sm);
  font-size: 13.5px; color: var(--fg-muted);
  transition: background .14s ease, color .14s ease;
}
.side-link:hover { background: rgba(255,255,255,0.035); color: var(--fg); }
.side-link.active { background: var(--accent-wash); color: var(--accent-soft); }
.side-link svg { flex-shrink: 0; opacity: .85; }
.side-badge { margin-inline-start: auto; font-size: 11px; background: var(--accent); color: #fff; border-radius: 999px; padding: 1px 6px; min-width: 18px; text-align: center; }

.main { flex: 1; min-width: 0; padding: 28px 28px 64px; }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .sidebar { display: none; }
  .main { padding: 20px 16px 56px; }
  .container { padding: 0 16px; }
  .hero { padding: 64px 0 48px; }
  section.section { padding: 56px 0; }
}

.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tab {
  padding: 9px 13px; font-size: 13.5px; color: var(--fg-muted);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  white-space: nowrap; cursor: pointer; background: none; border-top: none; border-inline: none;
}
.tab:hover { color: var(--fg); }
.tab.active { color: var(--fg); border-bottom-color: var(--accent); }

.avatar { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: var(--bg-elev-2); border: 1px solid var(--line-strong); }
.avatar-lg { width: 56px; height: 56px; }
.avatar-fallback {
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600; color: var(--accent-soft); background: var(--accent-wash);
}
.avatar-fallback.avatar-lg { font-size: 20px; }

.kv { display: grid; grid-template-columns: 150px 1fr; gap: 10px 16px; font-size: 13.5px; align-items: center; }
.kv dt { color: var(--fg-dim); }
.kv dd { margin: 0; }
@media (max-width: 560px) { .kv { grid-template-columns: 1fr; gap: 3px 0; } .kv dd { margin-bottom: 10px; } }

.danger-zone { border: 1px solid rgba(242,85,90,0.25); border-radius: var(--radius); background: rgba(242,85,90,0.025); }
.danger-zone .card-head { border-bottom-color: rgba(242,85,90,0.18); }

.notice {
  display: flex; gap: 11px; padding: 13px 15px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  font-size: 13.3px; color: var(--fg-muted); background: rgba(255,255,255,0.016); line-height: 1.6;
}
.notice svg { flex-shrink: 0; margin-top: 2px; }
.notice-warn { border-color: rgba(245,181,68,0.3); background: rgba(245,181,68,0.05); color: #e6c98c; }
.notice-danger { border-color: rgba(242,85,90,0.3); background: rgba(242,85,90,0.05); color: #f0a3a6; }
.notice-accent { border-color: rgba(197,163,106,0.3); background: var(--accent-wash); color: #ead4a7; }

/* provisioning steps */
.prov-step { display: flex; align-items: center; gap: 12px; padding: 11px 0; font-size: 13.8px; color: var(--fg-dim); }
.prov-step + .prov-step { border-top: 1px solid var(--line); }
.prov-dot {
  width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
  border: 1.5px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
}
.prov-step.done { color: var(--fg); }
.prov-step.done .prov-dot { border-color: var(--ok); color: var(--ok); }
.prov-step.active { color: var(--fg); }
.prov-step.active .prov-dot { border-color: var(--accent); border-top-color: transparent; animation: spin .7s linear infinite; }
.prov-step.failed .prov-dot { border-color: var(--danger); color: var(--danger); }
.prov-step.failed { color: #f0a3a6; }

/* command palette */
.cmdk-host { position: fixed; inset: 0; z-index: 180; background: rgba(4,3,6,0.7); backdrop-filter: blur(3px); display: flex; align-items: flex-start; justify-content: center; padding: 12vh 20px 20px; }
.cmdk {
  width: 100%; max-width: 560px; background: var(--bg-elev);
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.cmdk input { width: 100%; height: 48px; background: none; border: none; border-bottom: 1px solid var(--line); color: var(--fg); padding: 0 16px; font-size: 14.5px; font-family: inherit; }
.cmdk input:focus { outline: none; }
.cmdk-list { max-height: 380px; overflow-y: auto; padding: 6px; }
.cmdk-item { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: var(--radius-sm); font-size: 13.5px; cursor: pointer; }
.cmdk-item:hover, .cmdk-item.sel { background: rgba(255,255,255,0.05); }
.cmdk-kind { font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--fg-dim); margin-inline-start: auto; }

.lang-switch { display: inline-flex; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); overflow: hidden; }
.lang-switch a { padding: 5px 10px; font-size: 12.5px; color: var(--fg-dim); }
.lang-switch a.active { background: rgba(255,255,255,0.055); color: var(--fg); }
.lang-switch a + a { border-inline-start: 1px solid var(--line-strong); }

.pagination { display: flex; align-items: center; gap: 8px; justify-content: center; padding-top: 18px; }

.timeline { position: relative; padding-inline-start: 18px; }
.timeline::before { content: ''; position: absolute; inset-inline-start: 4px; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.timeline-item { position: relative; padding: 9px 0; font-size: 13.2px; }
.timeline-item::before { content: ''; position: absolute; inset-inline-start: -18px; top: 15px; width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); border: 1px solid var(--bg); }

.msg-bubble { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; font-size: 13.6px; line-height: 1.65; background: var(--panel); white-space: pre-wrap; word-break: break-word; }
.msg-bubble.admin { border-color: rgba(197,163,106,0.28); background: var(--accent-wash); }
.msg-bubble.internal { border-color: rgba(245,181,68,0.3); background: rgba(245,181,68,0.04); }
.msg-meta { font-size: 11.5px; color: var(--fg-dim); margin-bottom: 5px; }

.notif-item { display: flex; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.notif-item:last-child { border-bottom: none; }
.notif-item.unread { background: rgba(197,163,106,0.035); }
.notif-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-top: 7px; flex-shrink: 0; }

.docs-layout { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .docs-layout { grid-template-columns: 1fr; gap: 24px; } }
.docs-nav { position: sticky; top: calc(var(--nav-h) + 24px); }
.doc-content h2 { font-size: 22px; margin: 40px 0 12px; scroll-margin-top: 90px; }
.doc-content h2:first-child { margin-top: 0; }
.doc-content h3 { font-size: 15.5px; margin: 26px 0 8px; }
.doc-content p { color: var(--fg-muted); font-size: 14.2px; line-height: 1.75; margin-bottom: 12px; }
.doc-content ul { color: var(--fg-muted); font-size: 14.2px; line-height: 1.8; padding-inline-start: 20px; }
.doc-content pre.code { margin: 12px 0 18px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 2px; border-radius: 3px; }
.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; }
.skip-link { position: absolute; top: -60px; inset-inline-start: 12px; z-index: 300; background: var(--accent); color: #fff; padding: 9px 14px; border-radius: var(--radius-sm); font-size: 13px; }
.skip-link:focus { top: 12px; }

/* ---------- brand credit ---------- */
.credit { margin-top: 14px; text-align: center; font-size: 12px; letter-spacing: .02em; color: var(--fg-dim); }
.credit strong { color: var(--fg-muted); font-weight: 600; }
.credit-side { margin-top: auto; padding: 18px 8px 6px; border-top: 1px solid var(--line); }


/* ==========================================================================
   7amoDB · Private-house design layer
   Warm obsidian, restrained champagne metal, editorial display typography.
   Keeps the existing product components and workflows intact.
   ========================================================================== */
:root {
  --shadow-sm: 0 2px 8px rgba(0,0,0,.24);
  --shadow: 0 14px 38px -20px rgba(0,0,0,.88);
  --shadow-lg: 0 28px 80px -30px rgba(0,0,0,.95);
}

body {
  background-image:
    radial-gradient(ellipse at 50% -12%, rgba(204,169,111,.09), transparent 42%),
    radial-gradient(ellipse at 0% 42%, rgba(133,101,55,.035), transparent 38%);
  background-attachment: fixed;
}

html { scrollbar-color: #493a25 #080807; }
::-webkit-scrollbar-thumb { background: #3b3021; border-color: var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #5b4628; }

h1, h2, h3, .h1, .h2, .h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -.026em;
}
.h1 { font-size: clamp(48px, 7vw, 82px); line-height: .99; letter-spacing: -.035em; }
.h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.06; letter-spacing: -.025em; }
.h3 { font-size: 24px; line-height: 1.12; }
.h4, .eyebrow, .btn, .badge, .nav-link, .side-link, .footer-title, .label, .stat-label {
  font-family: var(--font);
}
html[dir='rtl'] h1, html[dir='rtl'] h2, html[dir='rtl'] h3,
html[dir='rtl'] .h1, html[dir='rtl'] .h2, html[dir='rtl'] .h3 {
  font-family: var(--font-ar); letter-spacing: 0; line-height: 1.35;
}
html[dir='rtl'] .h1 { font-size: clamp(36px, 6vw, 64px); }

.brand img {
  filter: sepia(.78) saturate(.78) hue-rotate(350deg) brightness(1.09);
}
.brand-text { font-weight: 700; letter-spacing: -.045em; }
.brand-text .db { color: var(--accent-soft); }

.nav {
  border-bottom-color: rgba(197,163,106,.13);
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
}
.nav-link { border-radius: 7px; }
.nav-link:hover { background: rgba(226,201,151,.055); }
.nav-actions .btn-primary { padding-inline: 17px; }
.lang-switch { border-color: rgba(197,163,106,.25); border-radius: 7px; }
.lang-switch a.active { background: rgba(197,163,106,.14); color: var(--accent-soft); }

.btn { border-radius: 7px; border-color: rgba(224,204,164,.16); transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease; }
.btn:hover { border-color: rgba(224,204,164,.34); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { color: #19140c; }
.btn-ghost:hover { background: rgba(226,201,151,.06); }
.btn:focus-visible, :focus-visible { outline-color: var(--accent-soft); }

.card, .feature, .price-card, .preview, .modal, .cmdk {
  border-color: rgba(202,178,132,.14);
  box-shadow: 0 10px 36px rgba(0,0,0,.14), inset 0 1px 0 rgba(255,244,219,.018);
}
.card { background: linear-gradient(145deg, rgba(255,255,255,.012), transparent 36%), var(--panel); }
.card-head { border-bottom-color: rgba(202,178,132,.12); }
.feature {
  background: linear-gradient(145deg, rgba(197,163,106,.035), transparent 50%), rgba(14,13,10,.84);
  transition: border-color .22s ease, transform .22s ease, background .22s ease;
}
.feature:hover { border-color: rgba(221,190,128,.35); transform: translateY(-3px); }
.feature-icon {
  color: var(--accent-soft);
  background: linear-gradient(145deg, rgba(197,163,106,.16), rgba(197,163,106,.035));
  border-color: rgba(197,163,106,.24);
}
.badge-accent { color: var(--accent-soft); border-color: rgba(197,163,106,.3); background: rgba(197,163,106,.085); }
.badge-ok { color: #8ed0a8; border-color: rgba(96,178,123,.28); background: rgba(96,178,123,.065); }

.input, .select, .textarea, .secret-box, pre.code {
  background-color: #0a0907;
  border-color: rgba(202,178,132,.18);
}
.input:focus, .select:focus, .textarea:focus {
  border-color: rgba(218,185,123,.72);
  box-shadow: 0 0 0 3px rgba(197,163,106,.12);
}
input[type='checkbox'] { accent-color: #c5a36a; }
.tab.active { border-bottom-color: var(--accent); color: var(--accent-soft); }
.progress > span { background: linear-gradient(90deg, #a98346, #e3c68f); }

.hero {
  isolation: isolate;
  padding: clamp(76px, 10vw, 126px) 0 78px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,255,255,.035), transparent 48%),
    linear-gradient(180deg, rgba(5,5,5,.08), transparent 62%);
}
.hero::before {
  top: -270px; width: min(1000px, 100vw); height: 680px;
  background: radial-gradient(ellipse at center, rgba(201,164,102,.10), transparent 67%);
}
.hero::after {
  content: ''; position: absolute; z-index: 0; inset: 0; pointer-events: none;
  opacity: .24;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-position: center top;
  background-size: 88px 88px;
  background-repeat: repeat;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 86%);
}
.hero-inner, .hero > .container { position: relative; z-index: 1; }
.hero-inner { max-width: 860px; }
.hero-kicker {
  width: fit-content; max-width: 100%; margin: 0 auto 24px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  color: #c9b58d; font-size: 10px; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase;
}
.hero-kicker::before, .hero-kicker::after {
  content: ''; width: clamp(20px, 5vw, 54px); height: 1px;
  background: linear-gradient(90deg, transparent, rgba(215,183,126,.72));
}
.hero-kicker::after { transform: scaleX(-1); }
.hero-logo {
  width: 74px; height: 74px; margin-bottom: 25px;
  opacity: .92; filter: sepia(.8) saturate(.68) hue-rotate(350deg) brightness(1.1);
  mix-blend-mode: screen;
}
.hero .h1 {
  max-width: 900px; margin-inline: auto;
  text-wrap: balance;
  text-shadow: 0 10px 42px rgba(0,0,0,.26);
}
.hero .h1 .accent {
  color: #e7d2a7;
  background: linear-gradient(180deg, #f0dfbc 8%, #c9a66b 92%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero .lead {
  max-width: 610px; font-size: clamp(14px, 1.45vw, 16px);
  color: #b9b1a2; line-height: 1.85;
}
.hero-cta { margin-top: 32px; gap: 12px; }
.hero-cta .btn-lg { height: 46px; padding-inline: 22px; }
.hero-cta .btn:not(.btn-primary) { background: rgba(14,13,10,.58); border-color: rgba(207,180,128,.21); }
.preview {
  margin-top: clamp(48px, 7vw, 78px);
  position: relative; border-radius: 13px;
  background: linear-gradient(145deg, rgba(255,255,255,.022), transparent 35%), rgba(12,11,9,.92);
  box-shadow: 0 38px 100px -40px rgba(0,0,0,.94), 0 0 0 1px rgba(215,183,126,.045);
}
.preview::before {
  content: ''; position: absolute; inset: 0 12% auto; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232,208,161,.3), transparent);
}
.preview-bar { background: rgba(255,245,224,.018); border-bottom-color: rgba(202,178,132,.12); height: 42px; }
.preview-bar i { background: #3a3021; }
.preview-body { padding: clamp(14px, 2.7vw, 26px); }
.preview .stat, .stat {
  background: linear-gradient(145deg, rgba(197,163,106,.035), transparent 65%), rgba(15,14,11,.9);
  border-color: rgba(202,178,132,.14);
}
.preview .stat-value { font-family: var(--font-display); font-size: 27px; font-weight: 600; }
.preview .btn-primary { box-shadow: none; }

section.section { padding: clamp(58px, 7.4vw, 92px) 0; border-top-color: rgba(202,178,132,.09); }
.section-head { margin-bottom: 36px; }
.section-head .eyebrow { color: #c8ab77; }
.section-head .lead { font-size: 15px; }
.step { border-top-color: rgba(202,178,132,.13); }
.step-num { color: #d8bc83; }
.faq-item { border-bottom-color: rgba(202,178,132,.14); }
.faq-q { font-family: var(--font); }
.faq-q:hover { color: var(--accent-soft); }
.price-card { padding: clamp(20px, 3vw, 30px); background: linear-gradient(145deg, rgba(197,163,106,.025), transparent 45%), var(--panel); }
.price-card.featured { border-color: rgba(197,163,106,.34); background: linear-gradient(180deg, rgba(197,163,106,.075), transparent 55%), var(--panel); }
.price-list svg { color: var(--accent-soft); }

.shell { background: radial-gradient(ellipse at 72% -10%, rgba(197,163,106,.035), transparent 40%); }
.sidebar { border-inline-end-color: rgba(202,178,132,.12); background: rgba(8,8,7,.22); }
.side-title { color: #817766; }
.side-link.active { background: rgba(197,163,106,.105); color: #e6cca0; box-shadow: inset 2px 0 0 rgba(219,185,121,.7); }
html[dir='rtl'] .side-link.active { box-shadow: inset -2px 0 0 rgba(219,185,121,.7); }
.side-link:hover { background: rgba(255,232,190,.035); }
.page-head { align-items: center; }
.main { background-image: radial-gradient(ellipse at 55% -20%, rgba(197,163,106,.035), transparent 45%); }
.docs-nav { border: 1px solid rgba(202,178,132,.12); border-radius: 10px; padding: 12px; background: rgba(14,13,10,.7); }
.docs-nav .side-link { padding-block: 10px; }

footer.footer { padding: 48px 0 26px; border-top-color: rgba(202,178,132,.14); background: linear-gradient(180deg, rgba(255,255,255,.008), transparent 80%); }
.footer-title { color: #baa77f; letter-spacing: .15em; }
.footer-link { transition: color .16s ease, transform .16s ease; }
.footer-link:hover { color: #ecd6a9; }
.credit { color: #817969; letter-spacing: .06em; }
.credit strong { color: #d8c39c; }
.credit-side { border-top-color: rgba(202,178,132,.12); }

.notice-accent { color: #e0c99a; border-color: rgba(197,163,106,.27); background: rgba(197,163,106,.075); }
.msg-bubble.admin { border-color: rgba(197,163,106,.28); background: rgba(197,163,106,.075); }
.notif-item.unread { background: rgba(197,163,106,.045); }
.notif-dot { background: var(--accent); }
.cmdk-item:hover, .cmdk-item.sel { background: rgba(226,201,151,.06); }
.cmdk-kind { color: #94856b; }
.skip-link { background: #e0c18b; color: #171209; }

@media (max-width: 900px) {
  .hero { padding-top: 74px; }
  .hero::after { opacity: .17; }
  .hero-logo { width: 64px; height: 64px; }
  .hero .h1 { font-size: clamp(42px, 9vw, 66px); }
  .preview { margin-top: 44px; }
}
@media (max-width: 600px) {
  .hero { padding: 62px 0 46px; }
  .hero-kicker { font-size: 9px; letter-spacing: .16em; margin-bottom: 18px; }
  .hero-kicker::before, .hero-kicker::after { width: 18px; }
  .hero .h1 { font-size: clamp(39px, 11vw, 54px); line-height: 1.03; }
  .hero .lead { font-size: 14px; padding-inline: 8px; }
  .hero-cta { gap: 9px; }
  .hero-cta .btn-lg { flex: 1 1 170px; }
  .preview-body { padding: 12px; }
  .preview .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 18px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .credit { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .feature:hover, .btn:hover { transform: none; }
}

/* Small headings stay crisp and functional; display serif is reserved for editorial hierarchy. */
.feature h3, .page-head h1, .card-head h2, .section-head h2 { font-family: var(--font-display); }
.feature h3 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; line-height: 1.16; }
@media (max-width: 600px) { .feature h3 { font-size: 18px; } }

/* ==========================================================================
   7amoDB — atelier finish
   A restrained, architectural finish: editorial typography, warm light, depth,
   and motion that never competes with the product.
   ========================================================================== */
:root {
  --gold-edge: rgba(222, 191, 132, .26);
  --gold-hairline: rgba(222, 191, 132, .13);
  --glass-shadow: 0 34px 100px -42px rgba(0,0,0,.94), 0 8px 28px rgba(0,0,0,.2);
}

body {
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse at 50% -14%, rgba(206, 171, 108, .105), transparent 42%),
    radial-gradient(ellipse at 100% 54%, rgba(116, 83, 39, .035), transparent 34%),
    linear-gradient(180deg, #090806 0%, #080807 38%, #090806 100%);
  background-attachment: fixed;
}

/* Instrument Serif is used as an editorial accent, not as body copy. */
.hero .h1,
.page-head h1,
.section-head .h2,
.doc-content h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -.035em;
}
.hero .h1 {
  font-size: clamp(54px, 7.8vw, 92px);
  line-height: .96;
  text-shadow: 0 12px 55px rgba(0,0,0,.44);
}
.hero .h1 .accent {
  font-style: italic;
  letter-spacing: -.025em;
  background-image: linear-gradient(180deg, #f3e6c9 0%, #dfc38f 56%, #b48d4f 100%);
  filter: drop-shadow(0 5px 24px rgba(211, 173, 103, .10));
}
html[dir='rtl'] .hero .h1,
html[dir='rtl'] .page-head h1,
html[dir='rtl'] .section-head .h2,
html[dir='rtl'] .doc-content h2 {
  font-family: var(--font-ar);
  font-weight: 600;
  letter-spacing: 0;
}
html[dir='rtl'] .hero .h1 .accent { font-style: normal; }

.hero {
  overflow: clip;
  background-image:
    radial-gradient(ellipse at 50% 7%, rgba(255,255,255,.035), transparent 42%),
    linear-gradient(180deg, rgba(5,5,5,.07), rgba(5,5,5,.15) 42%, #050505 100%);
  background-position: center top, center;
  background-size: auto, auto;
  background-repeat: no-repeat;
}
.hero::before {
  top: -300px;
  width: min(1100px, 100vw);
  height: 700px;
  background: radial-gradient(ellipse at center, rgba(221, 190, 132, .13), rgba(166, 123, 58, .035) 34%, transparent 70%);
  filter: blur(8px);
}
.hero::after {
  opacity: .14;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-position: center, center;
  background-size: 88px 88px, 88px 88px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.82), transparent 77%);
}
.hero-inner { isolation: isolate; }
.hero-inner::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: min(680px, 92vw);
  aspect-ratio: 1;
  left: 50%;
  top: -14%;
  translate: -50% 0;
  border: 1px solid rgba(218, 185, 123, .075);
  border-radius: 50%;
  box-shadow: 0 0 0 48px rgba(218,185,123,.014), 0 0 0 112px rgba(218,185,123,.009), inset 0 0 70px rgba(218,185,123,.018);
  pointer-events: none;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.5) 42%, transparent 78%);
}
.hero-inner::after {
  content: '';
  position: absolute;
  z-index: -1;
  left: 50%;
  top: -5px;
  width: 1px;
  height: 92px;
  background: linear-gradient(to bottom, transparent, rgba(230,202,153,.34), transparent);
  opacity: .55;
  pointer-events: none;
}
.hero-kicker {
  gap: 12px;
  margin-bottom: 26px;
  color: #d3bc8e;
  font-size: 10px;
  letter-spacing: .24em;
}
.hero-kicker::before,
.hero-kicker::after {
  width: clamp(24px, 5vw, 62px);
  background: linear-gradient(90deg, transparent, rgba(224,194,137,.75));
}
.hero-logo {
  position: relative;
  z-index: 1;
  object-fit: contain;
  opacity: .96;
  filter: drop-shadow(0 7px 22px rgba(220,184,117,.14)) sepia(.52) saturate(.72) brightness(1.08);
  transition: filter .35s ease, transform .5s cubic-bezier(.2,.7,.2,1);
}
.hero-logo:hover { transform: translateY(-2px) scale(1.025); filter: drop-shadow(0 10px 30px rgba(220,184,117,.22)) sepia(.52) saturate(.72) brightness(1.1); }
.hero .lead { max-width: 590px; color: #c0b8a9; }

/* The product preview should feel like a crafted physical surface, not a flat box. */
.preview {
  transform: perspective(1700px) rotateX(calc(.65deg + var(--tilt-x, 0deg))) rotateY(var(--tilt-y, 0deg));
  transform-origin: center top;
  transform-style: preserve-3d;
  border-color: rgba(219, 187, 127, .21);
  background:
    linear-gradient(132deg, rgba(246,226,184,.035), transparent 28%),
    radial-gradient(ellipse at 50% 0, rgba(194,154,83,.045), transparent 48%),
    #0b0a08;
  box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255,245,222,.055);
  transition: transform .48s cubic-bezier(.2,.7,.2,1), box-shadow .48s ease, border-color .3s ease;
  will-change: transform;
  isolation: isolate;
}
.preview::before {
  z-index: 2;
  inset: 0 8% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244,221,174,.48), rgba(244,221,174,.12), transparent);
  pointer-events: none;
}
.preview::after {
  content: '';
  position: absolute;
  z-index: 0;
  inset: 0;
  background: radial-gradient(420px circle at var(--pointer-x, 50%) var(--pointer-y, 0%), rgba(232,203,151,.075), transparent 68%);
  opacity: .9;
  pointer-events: none;
  transition: opacity .25s ease;
}
.preview > * { position: relative; z-index: 1; }
.preview-bar {
  position: relative;
  background: linear-gradient(180deg, rgba(255,248,230,.026), rgba(255,248,230,.008));
  border-bottom-color: rgba(214,185,131,.14);
}
.preview-bar i { width: 7px; height: 7px; border: 1px solid rgba(255,255,255,.035); }
.preview-bar i:nth-child(1) { background: #947457; }
.preview-bar i:nth-child(2) { background: #746344; }
.preview-bar i:nth-child(3) { background: #4b4935; }
.preview .stat {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(236,207,155,.045), transparent 65%), rgba(13,12,9,.94);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.018);
}
.preview .stat::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline-start: 14px;
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, rgba(226,193,132,.6), transparent);
}
.preview .stat-value { text-shadow: 0 3px 18px rgba(208,171,103,.08); }
.preview .card { overflow: hidden; box-shadow: 0 10px 24px rgba(0,0,0,.15), inset 0 1px 0 rgba(255,255,255,.015); }
.preview .tbl thead th { background: rgba(221,190,132,.035); }
.preview .tbl tbody tr { transition: background .18s ease; }
.preview .tbl tbody tr:hover { background: rgba(221,190,132,.035); }

/* Fine borders, controlled highlights and consistent hover depth. */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary {
  background: linear-gradient(135deg, #f0dcb2 0%, #d5b67d 48%, #b99255 100%);
  border-color: #d0af72;
  box-shadow: 0 7px 20px rgba(167,125,56,.13), inset 0 1px 0 rgba(255,255,255,.34);
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 25%, rgba(255,255,255,.22) 48%, transparent 68%);
  transform: translateX(-125%);
  transition: transform .65s cubic-bezier(.2,.7,.2,1);
  pointer-events: none;
}
.btn-primary:hover::after { transform: translateX(125%); }
.btn-primary:hover { box-shadow: 0 10px 28px rgba(167,125,56,.19), inset 0 1px 0 rgba(255,255,255,.42); }
.btn:not(.btn-primary):hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.025), 0 6px 20px rgba(0,0,0,.12); }

.card, .feature, .price-card, .panel, .stat, .docs-nav {
  box-shadow: inset 0 1px 0 rgba(255,245,222,.018), 0 12px 34px -24px rgba(0,0,0,.7);
}
.feature {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(238,207,151,.043), transparent 43%), linear-gradient(160deg, #100f0c, #0b0a08 70%);
  transition: transform .28s cubic-bezier(.2,.7,.2,1), border-color .28s ease, box-shadow .28s ease;
}
.feature::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(220,190,132,.23), transparent);
  opacity: .75;
}
.feature::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: 150px;
  height: 150px;
  inset-inline-end: -90px;
  top: -90px;
  border-radius: 50%;
  background: rgba(194,151,78,.06);
  filter: blur(22px);
  transition: transform .35s ease, opacity .35s ease;
}
.feature:hover {
  transform: translateY(-4px);
  border-color: rgba(222,191,132,.34);
  box-shadow: inset 0 1px 0 rgba(255,245,222,.03), 0 22px 44px -28px rgba(0,0,0,.95);
}
.feature:hover::after { transform: scale(1.35); opacity: 1; }
.feature-icon { box-shadow: inset 0 1px 0 rgba(255,245,222,.07), 0 5px 16px rgba(0,0,0,.16); }
.price-card { position: relative; overflow: hidden; }
.price-card.featured::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(239,215,168,.52), transparent);
}

.nav { background: rgba(8,8,7,.84); border-bottom-color: rgba(219,187,127,.14); }
.brand { transition: opacity .2s ease, transform .2s ease; }
a:hover > .brand { opacity: .93; }
.brand-text { letter-spacing: -.035em; }
.brand-text .db { background: linear-gradient(180deg, #f0ddb5, #b89153); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.footer-grid { align-items: start; }
footer.footer { position: relative; }
footer.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  translate: -50% 0;
  width: min(440px, 68vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(221,190,132,.25), transparent);
}
.credit { margin-top: 18px; }

/* Progressive reveals: content stays visible if JS or IntersectionObserver is unavailable. */
html.motion-ready [data-reveal] {
  opacity: 0;
  translate: 0 18px;
  transition: opacity .68s cubic-bezier(.2,.7,.2,1), translate .68s cubic-bezier(.2,.7,.2,1), scale .68s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--reveal-delay, 0ms);
}
html.motion-ready [data-reveal='scale'] { translate: 0 8px; scale: .96; }
html.motion-ready [data-reveal].is-revealed { opacity: 1; translate: 0 0; scale: 1; }
html.motion-ready [data-reveal='frame'] { translate: 0 24px; }
html.motion-ready [data-reveal='frame'].is-revealed { translate: 0 0; }

@media (hover: hover) and (pointer: fine) and (min-width: 901px) {
  .preview[data-tilt='soft']:hover { border-color: rgba(230,201,148,.3); box-shadow: 0 42px 110px -42px rgba(0,0,0,.98), 0 0 36px rgba(177,132,60,.045), inset 0 1px 0 rgba(255,245,222,.06); }
}
@media (max-width: 900px) {
  .hero { background-size: auto, auto, auto 780px; }
  .hero-inner::before { width: min(560px, 110vw); }
  .preview { transform: none; will-change: auto; }
}
@media (max-width: 600px) {
  .hero { background-size: auto, auto, auto 640px; }
  .hero::after { opacity: .095; }
  .hero .h1 { font-size: clamp(44px, 12.5vw, 64px); line-height: 1.02; }
  .hero-inner::before { top: -2%; }
  .hero-inner::after { height: 56px; }
  .hero-logo:hover { transform: none; }
  .preview { border-radius: 10px; box-shadow: 0 26px 65px -34px rgba(0,0,0,.92), inset 0 1px 0 rgba(255,245,222,.045); }
  .feature:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html.motion-ready [data-reveal],
  html.motion-ready [data-reveal].is-revealed { opacity: 1; translate: none; scale: 1; transition: none; }
  .preview, .preview[data-tilt='soft']:hover { transform: none !important; transition: none !important; }
  .btn-primary::after { display: none; }
  .hero-logo, .feature, .feature::after { transition: none !important; }
}


/* ========================================================================
   7amoDB — NOIR / MONOCHROME EDITION
   Built from the product's existing components: quiet contrast, clear type,
   monochrome hierarchy, restrained motion, and no decorative color noise.
   ======================================================================== */
:root {
  color-scheme: dark;
  --bg: #050505;
  --bg-elev: #0a0a0a;
  --bg-elev-2: #111111;
  --panel: #090909;
  --line: #242424;
  --line-strong: #3a3a3a;
  --fg: #f5f5f5;
  --fg-muted: #b1b1b1;
  --fg-dim: #858585;
  --accent: #f4f4f5;
  --accent-soft: #ffffff;
  --accent-dim: #777777;
  --accent-wash: rgba(255,255,255,.065);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.42);
  --shadow: 0 12px 32px -18px rgba(0,0,0,.9);
  --shadow-lg: 0 30px 76px -28px rgba(0,0,0,.96);
  --font: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-ar: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif;
  --mono: 'Geist Mono', 'SFMono-Regular', Consolas, monospace;
  --gold-edge: rgba(255,255,255,.20);
  --gold-hairline: rgba(255,255,255,.11);
  --glass-shadow: 0 32px 84px -40px rgba(0,0,0,.98), 0 8px 26px rgba(0,0,0,.22);
}

html { background: var(--bg); scrollbar-color: #3b3b3b #050505; }
body {
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse at 50% -18%, rgba(255,255,255,.055), transparent 43%),
    radial-gradient(ellipse at 100% 58%, rgba(255,255,255,.018), transparent 32%),
    linear-gradient(180deg, #070707 0%, #050505 52%, #070707 100%);
  color: var(--fg);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.65;
  font-kerning: normal;
  font-optical-sizing: auto;
  font-feature-settings: 'cv02', 'cv03', 'cv04';
}
html[dir='rtl'] body { font-family: var(--font-ar); line-height: 1.8; }
::selection { background: rgba(255,255,255,.24); color: #fff; }
::-webkit-scrollbar-thumb { background: #353535; border-color: var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #505050; }

/* Product UI uses a legible workhorse sans; the editorial serif is reserved
   for the marketing hero so the actual dashboard remains precise and scannable. */
h1, h2, h3, h4, .h1, .h2, .h3, .h4,
.btn, .badge, .nav-link, .side-link, .footer-title, .label, .stat-label,
input, textarea, select, button { font-family: var(--font); }
h1, h2, h3, h4, .h1, .h2, .h3, .h4 {
  color: var(--fg);
  font-weight: 620;
  letter-spacing: -.035em;
  line-height: 1.2;
  text-wrap: pretty;
}
.h1 { font-size: clamp(40px, 5.5vw, 68px); }
.h2 { font-size: clamp(27px, 3.25vw, 36px); }
.h3 { font-size: 20px; }
.h4 { font-size: 14px; letter-spacing: -.012em; }
.lead { color: #b5b5b5; line-height: 1.8; }
.muted { color: var(--fg-muted); }
.dim, .xs.dim, .small.dim { color: var(--fg-dim); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
html[dir='rtl'] h1, html[dir='rtl'] h2, html[dir='rtl'] h3,
html[dir='rtl'] h4, html[dir='rtl'] .h1, html[dir='rtl'] .h2,
html[dir='rtl'] .h3, html[dir='rtl'] .h4 {
  font-family: var(--font-ar);
  letter-spacing: 0;
  line-height: 1.45;
}

/* Navigation: quiet glass, a single precise divider, no warm tint. */
.nav {
  background: rgba(5,5,5,.88);
  border-bottom: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 8px 28px rgba(0,0,0,.17);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
}
.nav-link { color: #a6a6a6; border-radius: 8px; }
.nav-link:hover { color: #fff; background: rgba(255,255,255,.055); }
.nav-actions .btn-primary { padding-inline: 17px; }
.brand img {
  filter: grayscale(1) brightness(1.24) contrast(1.08);
  opacity: .96;
}
.brand-text { color: #f5f5f5; font-weight: 680; letter-spacing: -.045em; }
.brand-text .db {
  background: linear-gradient(180deg, #fff 0%, #a8a8a8 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.lang-switch { border-color: #303030; background: rgba(255,255,255,.018); border-radius: 8px; }
.lang-switch a { color: #929292; }
.lang-switch a.active { background: #f2f2f2; color: #090909; }
.mobile-drawer { background: rgba(5,5,5,.98); border-top: 1px solid #222; }

/* Buttons: white means primary; outline means secondary. The sheen only
   appears on hover and does not animate continuously. */
.btn {
  border: 1px solid #343434;
  border-radius: 8px;
  background: #0b0b0b;
  color: #f4f4f4;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.018);
  transition: transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease, color .16s ease;
}
.btn:hover { background: #141414; border-color: #626262; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  color: #080808;
  background: linear-gradient(180deg, #fff 0%, #e6e6e6 100%);
  border-color: #f5f5f5;
  box-shadow: 0 7px 22px rgba(255,255,255,.055), inset 0 1px 0 rgba(255,255,255,.8);
  font-weight: 700;
}
.btn-primary:hover {
  color: #000;
  background: linear-gradient(180deg, #fff 0%, #d8d8d8 100%);
  border-color: #fff;
  box-shadow: 0 10px 28px rgba(255,255,255,.09), inset 0 1px 0 rgba(255,255,255,.8);
}
.btn-primary::after { background: linear-gradient(115deg, transparent 25%, rgba(255,255,255,.5) 48%, transparent 68%); }
.btn-ghost { color: #a3a3a3; background: transparent; border-color: transparent; box-shadow: none; }
.btn-ghost:hover { color: #fff; background: rgba(255,255,255,.055); border-color: transparent; box-shadow: none; }
.btn-danger { border-color: rgba(248,113,113,.28); color: #fca5a5; background: rgba(248,113,113,.055); }
.btn-solid-danger { background: #b91c1c; border-color: #b91c1c; color: #fff; }
.btn:focus-visible, :focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.skip-link { background: #fff; color: #050505; }

/* Surfaces and data presentation: border first, very restrained elevation. */
.card, .feature, .price-card, .preview, .modal, .cmdk, .panel, .stat, .docs-nav {
  border-color: #292929;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025), 0 12px 38px -28px rgba(0,0,0,.94);
}
.card, .panel { background: #0a0a0a; }
.card-head { border-bottom-color: #242424; }
.card-body { color: var(--fg); }
.card-foot { background: rgba(255,255,255,.018); border-top-color: #242424; }
.stat, .preview .stat {
  background: linear-gradient(145deg, rgba(255,255,255,.035), transparent 64%), #0b0b0b;
  border-color: #292929;
}
.stat-label { color: #a0a0a0; letter-spacing: .015em; }
.stat-value { color: #f7f7f7; font-weight: 650; font-variant-numeric: tabular-nums; }
.stat-sub { color: #858585; }

/* Accent styles become neutral; semantic statuses keep their meaning. */
.badge-accent {
  color: #f1f1f1;
  border-color: #454545;
  background: rgba(255,255,255,.065);
}
.badge-neutral { color: #b6b6b6; border-color: #353535; background: rgba(255,255,255,.02); }
.feature { background: linear-gradient(145deg, rgba(255,255,255,.026), transparent 55%), #0a0a0a; }
.feature::before { background: linear-gradient(90deg, transparent, rgba(255,255,255,.15), transparent); }
.feature::after { background: rgba(255,255,255,.045); }
.feature:hover { border-color: #4b4b4b; box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 20px 44px -30px #000; }
.feature-icon {
  color: #f5f5f5;
  background: linear-gradient(145deg, rgba(255,255,255,.095), rgba(255,255,255,.025));
  border-color: rgba(255,255,255,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.feature h3 { font-family: var(--font); font-size: 16px; font-weight: 620; letter-spacing: -.025em; }
.feature p { color: #a9a9a9; }

/* Forms and focus treatment: clean monochrome fields, clear keyboard ring. */
.input, .select, .textarea, .secret-box, pre.code, .cmdk input {
  background-color: #080808;
  color: #f4f4f4;
  border-color: #303030;
}
.input::placeholder, .textarea::placeholder, .cmdk input::placeholder { color: #707070; }
.input:hover, .select:hover, .textarea:hover { border-color: #484848; }
.input:focus, .select:focus, .textarea:focus, .cmdk input:focus {
  border-color: #777;
  box-shadow: 0 0 0 3px rgba(255,255,255,.075);
  outline: none;
}
input[type='checkbox'], input[type='radio'], progress { accent-color: #f4f4f5; }
.tab { color: #a4a4a4; }
.tab.active { border-bottom-color: #fff; color: #fff; }
.progress { background: #222; }
.progress > span { background: linear-gradient(90deg, #a6a6a6, #fff); }

/* Landing page keeps a high-fashion editorial hero, but removes the gold cast. */
.hero {
  isolation: isolate;
  background-image:
    radial-gradient(ellipse at 50% 7%, rgba(255,255,255,.045), transparent 42%),
    linear-gradient(180deg, rgba(5,5,5,.04), rgba(5,5,5,.14) 42%, #050505 100%);
  background-position: center top, center;
  background-size: auto, auto;
  background-repeat: no-repeat;
}
.hero::before {
  background: radial-gradient(ellipse at center, rgba(255,255,255,.085), rgba(255,255,255,.025) 34%, transparent 70%);
  filter: blur(10px);
}
.hero::after {
  opacity: .12;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-position: center, center;
  background-size: 88px 88px, 88px 88px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.82), transparent 77%);
}
.hero .h1, .hero .h1 .accent {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -.04em;
}
.hero .h1 { font-size: clamp(54px, 7.6vw, 90px); line-height: .98; text-shadow: 0 12px 52px rgba(0,0,0,.5); }
.hero .h1 .accent {
  color: #fff;
  font-style: italic;
  background-image: linear-gradient(180deg, #fff 0%, #d6d6d6 62%, #9b9b9b 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 5px 22px rgba(255,255,255,.055));
}
html[dir='rtl'] .hero .h1, html[dir='rtl'] .hero .h1 .accent {
  font-family: var(--font-ar); font-weight: 650; letter-spacing: 0; line-height: 1.4;
}
html[dir='rtl'] .hero .h1 .accent { font-style: normal; }
.hero-kicker, .section-head .eyebrow { color: #b8b8b8; }
.hero-kicker { letter-spacing: .20em; }
.hero-kicker::before, .hero-kicker::after {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.48));
}
.hero-logo {
  filter: grayscale(1) brightness(1.17) contrast(1.08) drop-shadow(0 7px 22px rgba(255,255,255,.09));
  mix-blend-mode: screen;
}
.hero-logo:hover { filter: grayscale(1) brightness(1.22) contrast(1.1) drop-shadow(0 10px 28px rgba(255,255,255,.13)); }
.hero .lead { color: #bdbdbd; }
.hero-cta .btn:not(.btn-primary) { background: rgba(13,13,13,.7); border-color: #393939; }
.hero-cta .btn:not(.btn-primary):hover { border-color: #6a6a6a; }
.preview {
  border-color: #353535;
  background: linear-gradient(132deg, rgba(255,255,255,.025), transparent 28%), #080808;
  box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255,255,255,.045);
}
.preview::before { background: linear-gradient(90deg, transparent, rgba(255,255,255,.30), rgba(255,255,255,.08), transparent); }
.preview::after { background: radial-gradient(420px circle at var(--pointer-x,50%) var(--pointer-y,0%), rgba(255,255,255,.06), transparent 68%); }
.preview-bar { background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.008)); border-bottom-color: #242424; }
.preview-bar i:nth-child(1) { background: #c6c6c6; }
.preview-bar i:nth-child(2) { background: #858585; }
.preview-bar i:nth-child(3) { background: #4e4e4e; }
.preview .stat::before { background: linear-gradient(90deg, rgba(255,255,255,.35), transparent); }
.preview .stat-value { font-family: var(--font); font-weight: 650; text-shadow: none; }
.preview .tbl thead th { background: rgba(255,255,255,.035); }
.preview .tbl tbody tr:hover { background: rgba(255,255,255,.035); }
section.section { border-top-color: #202020; }
.step, .faq-item { border-top-color: #252525; border-bottom-color: #252525; }
.step-num { color: #bdbdbd; }
.faq-q:hover { color: #fff; }
.faq-q svg { color: #a0a0a0; }
.price-card { background: linear-gradient(145deg, rgba(255,255,255,.022), transparent 45%), #090909; }
.price-card.featured { border-color: #555; background: linear-gradient(180deg, rgba(255,255,255,.045), transparent 55%), #090909; }
.price-card.featured::before { background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent); }
.price-amount { font-family: var(--font); font-variant-numeric: tabular-nums; }
.price-list svg { color: #dedede; }

/* App shell and developer surfaces: crisp lines, no ambient gold wash. */
.shell, .main { background: transparent; }
.sidebar { background: #070707; border-inline-end-color: #242424; }
.side-title { color: #777; }
.side-link { color: #a6a6a6; }
.side-link:hover { color: #fff; background: rgba(255,255,255,.045); }
.side-link.active {
  color: #fff;
  background: rgba(255,255,255,.075);
  box-shadow: inset 2px 0 0 #f5f5f5;
}
html[dir='rtl'] .side-link.active { box-shadow: inset -2px 0 0 #f5f5f5; }
.side-badge { background: #ececec; color: #090909; }
.docs-nav { background: #090909; border-color: #282828; }
.doc-content h2, .doc-content h3 { font-family: var(--font); }
.doc-content p, .doc-content ul { color: #b0b0b0; }
.kv dt { color: #858585; }
.notice { background: rgba(255,255,255,.025); border-color: #333; }
.notice-accent { color: #e5e5e5; border-color: #414141; background: rgba(255,255,255,.055); }
.msg-bubble.admin { border-color: #444; background: rgba(255,255,255,.045); }
.notif-item.unread { background: rgba(255,255,255,.035); }
.notif-dot { background: #fff; }
.cmdk-host { background: rgba(0,0,0,.76); backdrop-filter: blur(10px); }
.cmdk { background: #090909; border-color: #373737; }
.cmdk-item:hover, .cmdk-item.sel { background: #1b1b1b; }
.cmdk-kind { color: #8e8e8e; }
footer.footer { background: linear-gradient(180deg, rgba(255,255,255,.012), transparent 80%); border-top-color: #242424; }
footer.footer::before { background: linear-gradient(90deg, transparent, rgba(255,255,255,.20), transparent); }
.footer-title { color: #b1b1b1; letter-spacing: .13em; }
.footer-link { color: #9b9b9b; }
.footer-link:hover { color: #fff; }
.credit, .credit strong { color: #898989; }
.credit strong { color: #ededed; }
.credit-side { border-top-color: #242424; }

/* Avoid accidental horizontal growth and preserve comfortable touch targets. */
.container, .main, .preview, .card, .feature, .price-card { min-width: 0; }
.tbl { font-variant-numeric: tabular-nums; }
.tbl th { color: #999; }
.tbl td { color: #d0d0d0; }
.tbl tbody tr { border-bottom-color: #222; }
:where(a, button, input, select, textarea, [tabindex]):focus-visible { outline: 2px solid #ededed; outline-offset: 3px; }

@media (min-width: 1440px) {
  :root { --max: 1240px; }
  .hero { padding-top: 124px; }
  .hero .h1 { font-size: clamp(76px, 6.4vw, 100px); }
  .preview { max-width: 1200px; margin-inline: auto; }
}
@media (max-width: 900px) {
  .hero { background-size: auto, auto, auto 780px; }
  .main { padding: 20px 16px 52px; }
  .preview { transform: none; will-change: auto; }
}
@media (max-width: 600px) {
  body { font-size: 14px; }
  .hero { padding: 60px 0 44px; }
  .hero .h1 { font-size: clamp(42px, 11.5vw, 60px); line-height: 1.04; }
  .hero-kicker { letter-spacing: .13em; }
  .hero-kicker::before, .hero-kicker::after { width: 18px; }
  .preview { margin-top: 38px; border-radius: 12px; }
  .preview-body { padding: 12px; }
  .preview .grid-3 { grid-template-columns: 1fr; }
  .card-pad, .card-body { padding: 16px; }
  .card-head { padding: 13px 16px; }
  .stat-value { font-size: 23px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .preview, .feature, .btn, .hero-logo { transform: none !important; }
  html.motion-ready [data-reveal] { opacity: 1 !important; translate: none !important; scale: 1 !important; }
}

/* Fine monochrome clean-up for legacy utility selectors. */
pre.code .k { color: #d5d5d5; }
.code .token-keyword, .code .token-string { color: #c6c6c6; }
.prov-step.active .prov-dot { border-color: #d1d1d1; border-top-color: transparent; }
.prov-step.done .prov-dot { border-color: var(--ok); color: var(--ok); }
.prov-step.failed .prov-dot { border-color: var(--danger); color: var(--danger); }


/* ========================================================================
   7amoDB · NOIR Systems polish
   Monochrome infrastructure UI; precise hierarchy, purposeful depth, useful tools.
   ======================================================================== */
:root {
  --font: 'Geist', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --mono: 'Geist Mono', 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
  --surface-0: #050505;
  --surface-1: #090909;
  --surface-2: #101010;
  --surface-3: #161616;
  --stroke-soft: #222;
  --stroke-mid: #343434;
  --white-soft: rgba(255,255,255,.075);
}

body {
  background-image:
    radial-gradient(ellipse at 50% -20%, rgba(255,255,255,.065), transparent 42%),
    radial-gradient(ellipse at 92% 12%, rgba(255,255,255,.022), transparent 26%),
    linear-gradient(180deg, #070707 0%, #050505 56%, #070707 100%);
}
html { scrollbar-color: #3c3c3c #050505; }
::selection { background: rgba(255,255,255,.25); color: #fff; }

/* Type is functional in app surfaces; the editorial serif remains a deliberate hero-only contrast. */
.main h1, .main h2, .main h3, .card h2, .card h3, .feature h3, .price-card h3 {
  font-family: var(--font);
  letter-spacing: -.028em;
}
.hero .h1, .hero .h1 .accent, .connect-copy .h2 { font-family: var(--font-display); }
.hero .h1 .accent { color:#fff; background-image: linear-gradient(180deg,#fff 0%,#dedede 58%,#9d9d9d 100%); }
html[dir='rtl'] .hero .h1, html[dir='rtl'] .hero .h1 .accent,
html[dir='rtl'] .connect-copy .h2 { font-family: var(--font-ar); }

/* A compact, visible command affordance rather than a hidden admin-only trick. */
.cmdk-trigger { display:inline-flex; align-items:center; gap:8px; min-height:36px; padding-inline:10px; }
.cmdk-trigger-label { font-size:12px; color:#bcbcbc; }
.cmdk-trigger kbd { display:inline-flex; align-items:center; gap:2px; padding:2px 5px; color:#858585; background:#080808; border:1px solid #303030; border-radius:5px; font:500 10px/1.4 var(--mono); }
.cmdk-trigger:hover kbd { color:#f1f1f1; border-color:#555; }
.cmdk-host { padding: max(8vh, 44px) 18px 20px; background:rgba(0,0,0,.78); backdrop-filter:blur(16px) saturate(90%); -webkit-backdrop-filter:blur(16px) saturate(90%); }
.cmdk { max-width:620px; border-radius:15px; border-color:#3a3a3a; background:linear-gradient(145deg,#111, #080808 58%); box-shadow:0 32px 110px rgba(0,0,0,.78),0 0 0 1px rgba(255,255,255,.025); }
.cmdk-top { display:flex; align-items:center; gap:11px; padding:0 13px; border-bottom:1px solid #252525; }
.cmdk-symbol { display:grid; place-items:center; width:26px; height:26px; border:1px solid #383838; border-radius:7px; color:#f4f4f4; font:600 13px var(--mono); }
.cmdk .cmdk-top input { flex:1; min-width:0; height:58px; padding:0 2px; border:0; background:transparent; }
.cmdk-esc { color:#858585; border:1px solid #343434; border-radius:5px; padding:2px 6px; font:10px var(--mono); }
.cmdk-section-label { padding:10px 12px 5px; color:#757575; font:600 10px var(--font); letter-spacing:.12em; text-transform:uppercase; }
.cmdk-list { padding:4px 7px 8px; max-height:min(420px,52vh); }
.cmdk-item { min-height:42px; padding:9px 10px; border:1px solid transparent; border-radius:8px; color:#eee; transition:background .12s ease,border-color .12s ease; }
.cmdk-item:hover, .cmdk-item.sel { background:#1a1a1a; border-color:#2e2e2e; }
.cmdk-item-icon { display:grid; place-items:center; width:25px; height:25px; border-radius:7px; background:#111; border:1px solid #303030; color:#bcbcbc; font:12px var(--mono); flex-shrink:0; }
.cmdk-kind { font-size:10px; color:#858585; letter-spacing:.02em; text-transform:none; }
.cmdk-foot { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:9px 13px; border-top:1px solid #242424; color:#777; font-size:10.5px; }
.cmdk-foot kbd { font:10px var(--mono); padding:2px 4px; border:1px solid #333; border-radius:4px; color:#aaa; }

/* The reassurance strip uses operational truths, not vanity metrics. */
.trust-strip { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); max-width:930px; margin:28px auto 0; border:1px solid #262626; border-radius:12px; background:linear-gradient(120deg,rgba(255,255,255,.035),rgba(255,255,255,.008)); box-shadow:inset 0 1px 0 rgba(255,255,255,.025),0 18px 55px -45px #000; }
.trust-item { display:flex; align-items:center; justify-content:center; gap:10px; min-width:0; padding:17px 14px; color:#c2c2c2; font-size:12px; text-align:center; }
.trust-item + .trust-item { border-inline-start:1px solid #282828; }
.trust-mark { display:grid; place-items:center; width:28px; height:28px; flex:0 0 auto; border:1px solid #333; border-radius:8px; background:rgba(255,255,255,.035); color:#f4f4f4; }
.preview-sample { margin-inline-start:auto; white-space:nowrap; font-size:10px; letter-spacing:.015em; }

/* Product-tailored quick-start: real server-side examples, switchable and copyable. */
.connect-section { position:relative; overflow:hidden; }
.connect-section::before { content:''; position:absolute; top:8%; inset-inline-end:-220px; width:520px; aspect-ratio:1; border:1px solid rgba(255,255,255,.035); border-radius:50%; box-shadow:0 0 0 42px rgba(255,255,255,.012),0 0 0 90px rgba(255,255,255,.008); pointer-events:none; }
.connect-layout { max-width:1140px; align-items:center; gap:clamp(28px,5vw,68px); position:relative; }
.connect-copy { min-width:0; }
.connect-copy .eyebrow { color:#aaa; }
.connect-copy .h2 { max-width:480px; font-size:clamp(34px,4.2vw,52px); line-height:1.02; font-weight:400; letter-spacing:-.035em; }
html[dir='rtl'] .connect-copy .h2 { line-height:1.45; }
.connect-copy .lead { max-width:480px; font-size:14px; }
.connect-points { display:grid; gap:0; margin-top:23px; border-top:1px solid #272727; max-width:440px; }
.connect-point { display:flex; align-items:center; gap:13px; padding:12px 0; color:#dedede; font-size:13px; border-bottom:1px solid #222; }
.connect-index { color:#777; font:11px var(--mono); letter-spacing:.04em; }
.terminal-card { position:relative; min-width:0; overflow:hidden; border:1px solid #373737; border-radius:15px; background:linear-gradient(145deg,rgba(255,255,255,.035),transparent 33%),#080808; box-shadow:0 32px 90px -44px #000,inset 0 1px 0 rgba(255,255,255,.06); }
.terminal-card::before { content:''; position:absolute; top:0; inset-inline:12%; height:1px; background:linear-gradient(90deg,transparent,rgba(255,255,255,.3),transparent); pointer-events:none; }
.terminal-topbar { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:52px; padding:0 17px; border-bottom:1px solid #252525; background:rgba(255,255,255,.018); }
.terminal-product { display:flex; align-items:center; gap:10px; min-width:0; font:500 12px var(--mono); color:#d9d9d9; }
.terminal-icon { display:grid; place-items:center; width:28px; height:28px; border:1px solid #333; border-radius:8px; color:#f4f4f4; background:#111; }
.terminal-private { display:inline-flex; align-items:center; gap:5px; flex:0 0 auto; font-size:10px; color:#a1a1a1; }
.terminal-tabs { display:flex; gap:4px; padding:12px 14px 0; border-bottom:1px solid #252525; }
.snippet-tab { appearance:none; border:1px solid transparent; border-bottom:0; border-radius:7px 7px 0 0; background:transparent; padding:8px 12px; color:#888; cursor:pointer; font:500 12px var(--font); }
.snippet-tab:hover { color:#eee; background:#111; }
.snippet-tab.active { color:#f7f7f7; border-color:#333; background:#111; box-shadow:inset 0 1px 0 rgba(255,255,255,.07); }
.snippet-tab:focus-visible { outline:2px solid #fff; outline-offset:-2px; }
.terminal-code { padding:16px; background:linear-gradient(180deg,#080808,#060606); }
.terminal-code pre.code { border:0; background:transparent; padding:0; border-radius:0; color:#d4d4d4; font-size:12px; line-height:1.9; white-space:pre; }
.terminal-code code { font:inherit; }
.terminal-footer { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 15px; border-top:1px solid #252525; background:rgba(255,255,255,.014); }
.terminal-note { display:flex; align-items:flex-start; gap:7px; max-width:75%; color:#858585; font-size:10.5px; line-height:1.55; }
.terminal-note-dot { width:6px; height:6px; margin-top:5px; background:#c5c5c5; border-radius:50%; flex:0 0 auto; }
.terminal-copy { gap:7px; flex:0 0 auto; color:#eee; border-color:#3c3c3c; }
.terminal-copy:hover { background:#1c1c1c; }

/* Refine work surfaces for real datasets: quiet elevation, strong table rhythm, no visual noise. */
.card, .panel, .stat, .feature, .price-card, .docs-nav { border-color:#292929; }
.card { background:linear-gradient(145deg,rgba(255,255,255,.018),transparent 40%),#090909; }
.card-head { background:rgba(255,255,255,.012); }
.main .page-head { padding-bottom:18px; border-bottom:1px solid #222; }
.tbl thead th { background:#0d0d0d; color:#999; font-size:10.5px; letter-spacing:.075em; text-transform:uppercase; }
.tbl tbody tr { transition:background .14s ease; }
.tbl tbody tr:hover { background:rgba(255,255,255,.028); }
.tbl td, .tbl th { border-color:#222; }
.input, .select, .textarea, .secret-box { border-radius:8px; }
.input:focus, .select:focus, .textarea:focus { border-color:#777; box-shadow:0 0 0 3px rgba(255,255,255,.065); }
.sidebar { background:rgba(7,7,7,.92); backdrop-filter:blur(12px); }
.side-link { min-height:38px; }
.side-link.active { background:linear-gradient(90deg,rgba(255,255,255,.08),rgba(255,255,255,.025)); }
html[dir='rtl'] .side-link.active { background:linear-gradient(270deg,rgba(255,255,255,.08),rgba(255,255,255,.025)); }
.feature-icon { border-radius:9px; }

@media (max-width:900px) {
  .cmdk-trigger { padding-inline:9px; }
  .cmdk-trigger-label, .cmdk-trigger kbd { display:none; }
  .connect-layout { grid-template-columns:minmax(0,1fr); }
  .connect-copy .h2 { max-width:620px; }
}
@media (max-width:600px) {
  .trust-strip { grid-template-columns:1fr; margin-top:22px; }
  .trust-item { justify-content:flex-start; padding:12px 14px; text-align:start; }
  .trust-item + .trust-item { border-inline-start:0; border-top:1px solid #282828; }
  .preview-sample { font-size:9px; padding:2px 5px; }
  .connect-section { padding-block:52px !important; }
  .terminal-topbar { padding-inline:12px; }
  .terminal-code { padding:13px 12px; overflow-x:auto; }
  .terminal-code pre.code { font-size:11px; }
  .terminal-footer { align-items:flex-start; flex-direction:column; }
  .terminal-note { max-width:100%; }
  .terminal-copy { align-self:flex-end; }
  .cmdk-host { padding:9vh 10px 14px; }
  .cmdk-top { gap:8px; padding-inline:10px; }
  .cmdk .cmdk-top input { height:52px; font-size:13px; }
}
@media (prefers-reduced-motion:reduce) {
  .connect-section::before { display:none; }
  .terminal-card, .trust-strip, .cmdk-item { transition:none !important; }
}

/* ========================================================================
   7amoDB NOIR — surface calibration
   Hand-authored CSS geometry; no stock texture, generated artwork, or looping FX.
   Keep the product dark, the surfaces legible, and the hero texture almost silent.
   ======================================================================== */
:root {
  --bg: #050505;
  --bg-elev: #090909;
  --bg-elev-2: #111111;
  --panel: #090909;
  --line: #242424;
  --line-strong: #393939;
  --fg: #f4f4f4;
  --fg-muted: #a8a8a8;
  --fg-dim: #777777;
  --accent: #f0f0f0;
  --accent-soft: #f5f5f5;
  --accent-dim: #898989;
  --accent-wash: rgba(255,255,255,.055);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.32);
  --shadow: 0 12px 34px -22px rgba(0,0,0,.88);
  --shadow-lg: 0 26px 72px -34px rgba(0,0,0,.94);
}

/* A tonal studio background, not an image masquerading as a surface. */
body {
  background-color: #050505;
  background-image:
    radial-gradient(ellipse 76% 34% at 50% 0%, rgba(255,255,255,.042), transparent 74%),
    radial-gradient(ellipse 42% 36% at 100% 55%, rgba(255,255,255,.012), transparent 82%),
    linear-gradient(180deg, #060606 0%, #050505 52%, #070707 100%);
  background-attachment: scroll;
}

.nav {
  background: rgba(5,5,5,.94);
  border-bottom-color: #242424;
  box-shadow: 0 5px 22px rgba(0,0,0,.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* The hero uses one restrained light source and a faint modular grid.
   Remove the duplicated faux-marble image and oversized nested orbit rings. */
.hero {
  isolation: isolate;
  background-color: #050505;
  background-image: linear-gradient(180deg, rgba(5,5,5,.01) 0%, rgba(5,5,5,.10) 42%, #050505 100%);
  background-position: center;
  background-size: auto;
  background-repeat: no-repeat;
}
.hero::before {
  top: -175px;
  left: 50%;
  width: min(960px, 100vw);
  height: 480px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse 54% 56% at 50% 30%, rgba(255,255,255,.052), rgba(255,255,255,.015) 48%, transparent 78%);
  filter: none;
  opacity: 1;
}
.hero::after {
  content: '';
  position: absolute;
  z-index: 0;
  inset: 0;
  opacity: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-position: center top;
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse 82% 64% at 50% 12%, #000 0%, rgba(0,0,0,.46) 57%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 82% 64% at 50% 12%, #000 0%, rgba(0,0,0,.46) 57%, transparent 100%);
}
.hero-inner,
.hero > .container {
  position: relative;
  z-index: 1;
}
.hero-inner::before,
.hero-inner::after {
  display: none;
}
.hero .h1 {
  text-shadow: 0 6px 30px rgba(0,0,0,.34);
}
.hero .h1 .accent {
  filter: none;
  background-image: linear-gradient(180deg, #fff 0%, #e4e4e4 62%, #b4b4b4 100%);
}
.hero-kicker {
  color: #bcbcbc;
}
.hero-kicker::before,
.hero-kicker::after {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.34));
}
.hero-logo {
  filter: grayscale(1) brightness(1.10) contrast(1.06);
  mix-blend-mode: normal;
}
.hero-logo:hover {
  filter: grayscale(1) brightness(1.14) contrast(1.08);
}

/* Realistic product surfaces: clear borders, no filters on interface content. */
.card,
.panel,
.stat,
.feature,
.price-card,
.preview,
.modal,
.cmdk,
.terminal-card,
.trust-strip {
  filter: none;
}
.card,
.panel,
.price-card,
.docs-nav {
  background-color: #090909;
  border-color: #282828;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.018), 0 12px 34px -26px rgba(0,0,0,.92);
}
.card {
  background-image: linear-gradient(145deg, rgba(255,255,255,.012), transparent 42%);
}
.card-head,
.card-foot {
  border-color: #252525;
}
.feature {
  background: linear-gradient(145deg, rgba(255,255,255,.021), transparent 54%), #090909;
  border-color: #292929;
  transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.feature:hover {
  transform: translateY(-2px);
  border-color: #464646;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025), 0 18px 40px -30px rgba(0,0,0,.94);
}
.feature-icon {
  background: #111111;
  color: #f0f0f0;
  border-color: #303030;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}
.preview {
  border-color: #353535;
  background: #080808;
  box-shadow: 0 30px 76px -42px rgba(0,0,0,.94), inset 0 1px 0 rgba(255,255,255,.035);
  transition: transform .20s ease, border-color .20s ease, box-shadow .20s ease;
}
.preview::before {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.16), transparent);
}
.preview::after {
  background: radial-gradient(360px circle at var(--pointer-x,50%) var(--pointer-y,0%), rgba(255,255,255,.028), transparent 70%);
}
.preview .stat::before {
  background: linear-gradient(90deg, rgba(255,255,255,.16), transparent);
}
.preview .stat,
.stat {
  background: linear-gradient(145deg, rgba(255,255,255,.022), transparent 68%), #0b0b0b;
  border-color: #292929;
}
.preview-bar {
  background: #0a0a0a;
  border-bottom-color: #252525;
}
.preview-bar i:nth-child(1) { background: #bdbdbd; }
.preview-bar i:nth-child(2) { background: #777777; }
.preview-bar i:nth-child(3) { background: #454545; }
.preview .tbl thead th { background: #101010; }
.preview .tbl tbody tr:hover { background: rgba(255,255,255,.022); }

/* Primary actions are solid white; the secondary surface stays quiet. */
.btn {
  border-color: #353535;
  background: #0b0b0b;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.015);
  transition: color .14s ease, background .14s ease, border-color .14s ease, box-shadow .14s ease, transform .14s ease;
}
.btn:hover { border-color: #606060; background: #141414; }
.btn-primary {
  color: #050505;
  background: #f3f3f3;
  border-color: #f3f3f3;
  box-shadow: none;
  font-weight: 650;
}
.btn-primary:hover {
  color: #000;
  background: #fff;
  border-color: #fff;
  box-shadow: 0 5px 18px rgba(255,255,255,.055);
}
.btn-primary::after { display: none; }
.btn-ghost { background: transparent; border-color: transparent; box-shadow: none; }
.btn:focus-visible,
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid #e8e8e8;
  outline-offset: 3px;
}

.trust-strip {
  background: rgba(255,255,255,.012);
  border-color: #282828;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.018), 0 14px 34px -28px #000;
}
.trust-mark { background: #101010; border-color: #323232; }
.terminal-card {
  background: #080808;
  border-color: #303030;
  box-shadow: 0 24px 68px -44px #000, inset 0 1px 0 rgba(255,255,255,.03);
}
.terminal-card::before { background: linear-gradient(90deg, transparent, rgba(255,255,255,.19), transparent); }
.terminal-topbar,
.terminal-footer { background: rgba(255,255,255,.012); border-color: #252525; }

/* Keep surfaces readable and interaction motion short on every device. */
@media (max-width: 900px) {
  .hero::after { background-size: 72px 72px; }
  .preview { transform: none !important; will-change: auto; }
}
@media (max-width: 600px) {
  .hero::before { width: 100vw; height: 360px; top: -135px; }
  .hero::after { background-size: 64px 64px; opacity: .82; }
  .preview { box-shadow: 0 20px 48px -34px rgba(0,0,0,.95), inset 0 1px 0 rgba(255,255,255,.03); }
  .feature:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .feature,
  .preview,
  .btn,
  .cmdk-item { transition: none !important; }
  .feature:hover,
  .btn:hover { transform: none !important; }
}

/* Micro-highlights are static by default; hover only shifts contrast slightly. */
.hero-logo { transition: filter .18s ease; }
.hero-logo:hover { transform: none; }
.feature::after {
  width: 120px;
  height: 120px;
  filter: none;
  background: radial-gradient(circle, rgba(255,255,255,.035), transparent 72%);
  opacity: .35;
  transition: opacity .16s ease;
}
.feature:hover::after { transform: none; opacity: .55; }

/* =======================================================================
   7amoDB — product design pass
   Real developer-tool surfaces: restrained monochrome, asymmetric layout,
   crisp type, thin separators and no decorative glass or fake depth.
   ======================================================================= */
:root {
  --bg: #080808;
  --bg-elev: #0d0d0d;
  --bg-elev-2: #151515;
  --panel: #0b0b0b;
  --line: #242424;
  --line-strong: #383838;
  --fg: #f5f5f5;
  --fg-muted: #a3a3a3;
  --fg-dim: #777777;
  --accent: #d4d4d4;
  --accent-soft: #f5f5f5;
  --accent-dim: #858585;
  --accent-wash: rgba(255,255,255,.055);
  --radius: 9px;
  --radius-sm: 6px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.28);
  --shadow: 0 14px 32px -24px rgba(0,0,0,.88);
  --shadow-lg: 0 24px 56px -34px rgba(0,0,0,.92);
  --font: 'Geist', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Geist', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-ar: 'IBM Plex Sans Arabic', 'Geist', 'Segoe UI', Tahoma, sans-serif;
  --mono: 'Geist Mono', 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
}

html { scrollbar-color: #383838 #080808; }
::-webkit-scrollbar-thumb { background: #303030; border-color: #080808; }
::-webkit-scrollbar-thumb:hover { background: #4a4a4a; }
body {
  background: #080808;
  background-image: none;
  color: var(--fg);
  font-family: var(--font);
}
html[dir='rtl'] body { font-family: var(--font-ar); }
::selection { background: #dedede; color: #080808; }

/* Shared brand assets: keep the provided mark unfiltered and undistorted. */
.brand { gap: 9px; }
.brand img {
  width: 27px; height: 27px; padding: 1px;
  object-fit: contain; border: 1px solid #292929; border-radius: 6px;
  background: #0b0b0b; filter: none !important; mix-blend-mode: normal;
}
.brand-text { color: #f2f2f2; font-family: var(--font); font-weight: 650; letter-spacing: -.045em; }
.brand-text .db { color: #9a9a9a; }
.nav {
  background: rgba(8,8,8,.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid #242424;
  box-shadow: none;
}
.nav-link { color: #a0a0a0; border-radius: 6px; }
.nav-link:hover { color: #fff; background: #141414; }
.lang-switch { border-color: #303030; border-radius: 6px; }
.lang-switch a.active { background: #242424; color: #fff; }

/* Buttons and fields use state changes, not glow effects. */
.btn {
  border-radius: 6px; border-color: #373737; background: #0d0d0d; color: #eee;
  box-shadow: none; transition: background .14s ease, border-color .14s ease, color .14s ease;
}
.btn:hover { border-color: #555; background: #161616; transform: none; box-shadow: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { color: #080808; background: #f0f0f0; border-color: #f0f0f0; font-weight: 650; box-shadow: none; }
.btn-primary:hover { color: #000; background: #fff; border-color: #fff; box-shadow: none; }
.btn-primary::after { display: none !important; }
.btn-ghost { color: #aaa; background: transparent; border-color: transparent; }
.btn-ghost:hover { color: #fff; background: #151515; border-color: #252525; }
.btn:focus-visible, :where(a,button,input,select,textarea,[tabindex]):focus-visible {
  outline: 2px solid #ededed; outline-offset: 3px;
}
.input, .select, .textarea, pre.code, .secret-box {
  background-color: #0b0b0b; border-color: #353535; color: #ededed;
}
.input::placeholder, .textarea::placeholder { color: #707070; }
.input:focus, .select:focus, .textarea:focus {
  border-color: #8a8a8a; box-shadow: 0 0 0 2px rgba(255,255,255,.08); outline: none;
}
input[type='checkbox'] { accent-color: #ededed; }
.toggle .track { background: #353535; }
.toggle input:checked + .track { background: #cfcfcf; }
.toggle input:checked + .track::before { background: #101010; }

/* Surface system: one-pixel divisions before shadows, with restrained radii. */
.card, .panel, .stat, .price-card, .docs-nav, .terminal-card, .cmdk, .modal {
  background: #0b0b0b; border-color: #282828; box-shadow: none; filter: none;
}
.card, .panel, .stat, .price-card, .docs-nav, .terminal-card, .cmdk { border-radius: 8px; }
.card { background-image: none; }
.card-head, .card-foot { border-color: #242424; background: transparent; }
.stat { background: #0c0c0c; }
.stat-label { color: #888; }
.stat-value { color: #f5f5f5; font-variant-numeric: tabular-nums; }
.badge { border-radius: 5px; letter-spacing: 0; }
.badge-accent { color: #dedede; border-color: #3a3a3a; background: #141414; }
.accent, .step-num, .section-head .eyebrow, .price-list svg { color: #d0d0d0; }
.badge-ok { color: #8de2b8; border-color: rgba(84,190,138,.26); background: rgba(84,190,138,.07); }
.badge-warn { color: #e6c785; border-color: rgba(190,160,88,.26); background: rgba(190,160,88,.06); }
.badge-danger { color: #f19a9e; border-color: rgba(210,92,99,.28); background: rgba(210,92,99,.06); }
.badge-neutral { color: #aaa; border-color: #343434; background: #111; }
.side-link.active { color: #f5f5f5; background: #171717; box-shadow: inset 2px 0 #dedede; }
html[dir='rtl'] .side-link.active { box-shadow: inset -2px 0 #dedede; }
.side-link:hover { background: #141414; }
.shell, .main { background-image: none; }
.sidebar { background: #090909; border-inline-end-color: #242424; }
.docs-nav { background: #0a0a0a; }

/* Hero: editorial split composition tailored to a database control plane. */
.hero {
  position: relative; padding: clamp(42px, 6vw, 76px) 0 clamp(42px, 5vw, 64px);
  overflow: hidden; isolation: isolate; border-bottom: 1px solid #202020;
  background: #080808; background-image: none;
}
.hero::before {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  inset: -160px auto auto 50%; width: min(920px, 90vw); height: 470px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(255,255,255,.035) 0%, rgba(255,255,255,.012) 38%, transparent 72%);
  filter: none; opacity: 1;
}
.hero::after {
  content: ''; position: absolute; z-index: -1; inset: 0; pointer-events: none; opacity: .42;
  background-image: linear-gradient(rgba(255,255,255,.012) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.012) 1px, transparent 1px);
  background-size: 96px 96px; background-position: center top;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.32) 48%, transparent 92%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.32) 48%, transparent 92%);
}
.hero-layout {
  display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr);
  align-items: center; gap: clamp(28px, 4.7vw, 66px); position: relative; z-index: 1;
}
.hero-copy { max-width: 550px; min-width: 0; text-align: start; }
.hero-kicker {
  display: flex; align-items: center; gap: 9px; width: fit-content;
  margin: 0 0 21px; font: 600 10px/1.4 var(--font); letter-spacing: .12em;
  color: #a4a4a4; text-transform: uppercase;
}
.hero-kicker::before { content: ''; width: 17px; height: 1px; display: inline-block; background: #777; }
.hero-kicker::after { display: none; }
html[dir='rtl'] .hero-kicker { letter-spacing: 0; }
.hero-brandline { display: flex; align-items: center; justify-content: flex-start; gap: 12px; margin: 0 0 24px; }
.hero-logo {
  width: 44px; height: 44px; flex: 0 0 44px; display: block; object-fit: contain;
  padding: 3px; border: 1px solid #303030; border-radius: 8px; background: #0b0b0b;
  filter: none !important; opacity: 1; mix-blend-mode: normal; transition: none; box-shadow: none;
}
.hero-logo:hover { transform: none; filter: none; }
.hero-brandcopy { display: flex; flex-direction: column; gap: 1px; line-height: 1.25; }
.hero-brandname { color: #f3f3f3; font: 650 15px/1.25 var(--font); letter-spacing: -.035em; }
.hero-brandcaption { color: #777; font: 500 9px/1.5 var(--mono); letter-spacing: .12em; }
.hero .h1 {
  max-width: 620px; margin: 0; color: #f6f6f6;
  font: 620 clamp(40px, 4.7vw, 62px)/1.035 var(--font);
  letter-spacing: -.055em; text-shadow: none;
}
.hero-title-line { display: block; }
.hero .h1 .accent { color: #a9a9a9; font: inherit; letter-spacing: inherit; font-style: normal; background: none; -webkit-text-fill-color: currentColor; filter: none; }
html[dir='rtl'] .hero .h1 { font-family: var(--font-ar); font-size: clamp(34px, 4.3vw, 54px); font-weight: 650; line-height: 1.27; letter-spacing: 0; }
html[dir='rtl'] .hero .h1 .accent { font-family: inherit; font-weight: 650; letter-spacing: 0; }
.hero .lead { max-width: 520px; margin-top: 18px; color: #a4a4a4; font-size: 15px; line-height: 1.78; }
.hero-cta { justify-content: flex-start; margin-top: 25px; gap: 10px; }
.hero-cta .btn-lg { min-height: 44px; height: 44px; padding-inline: 18px; font-size: 13px; }
.hero-cta .btn:not(.btn-primary) { color: #d3d3d3; background: transparent; border-color: #343434; }
.hero-cta .btn:not(.btn-primary):hover { background: #131313; border-color: #555; }
.hero-proofline {
  display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px;
  margin-top: 31px; padding-top: 17px; border-top: 1px solid #242424;
}
.hero-proof-item { display: flex; align-items: flex-start; gap: 8px; color: #929292; font-size: 11px; line-height: 1.45; min-width: 0; }
.hero-proof-item svg { flex: 0 0 14px; margin-top: 1px; color: #c5c5c5; }
.hero-product { min-width: 0; width: 100%; }
.hero-product .preview {
  width: 100%; margin: 0; overflow: hidden; transform: none !important; transform-style: flat; will-change: auto;
  background: #090909; border: 1px solid #343434; border-radius: 10px;
  box-shadow: 0 24px 56px -44px #000, inset 0 1px 0 rgba(255,255,255,.025);
  transition: border-color .16s ease; isolation: isolate;
}
.hero-product .preview:hover { border-color: #414141; }
.hero-product .preview::before { content: ''; position: absolute; inset: 0 12% auto; height: 1px; background: linear-gradient(90deg,transparent,rgba(255,255,255,.15),transparent); }
.hero-product .preview::after { display: none; }
.hero-product .preview > * { position: relative; z-index: 1; }
.hero-product .preview-bar { min-height: 42px; padding-inline: 15px; background: #0d0d0d; border-bottom: 1px solid #242424; }
.hero-product .preview-bar i { width: 7px; height: 7px; background: #333 !important; border: 1px solid #444; }
.hero-product .preview-title { color: #a8a8a8; }
.hero-product .preview-sample { color: #a5a5a5; background: #131313; border-color: #303030; }
.hero-product .preview-body { padding: clamp(14px, 2.1vw, 22px); }
.hero-product .preview .stat { padding: 12px; background: #0e0e0e; border: 1px solid #292929; border-radius: 6px; box-shadow: none; }
.hero-product .preview .stat::before { display: none; }
.hero-product .preview .stat-value { font-family: var(--font); color: #f0f0f0; font-weight: 620; text-shadow: none; font-size: 21px; }
.hero-product .preview .stat-label { color: #858585; font-family: var(--font); font-size: 11px; }
.hero-product .preview .card { background: #0b0b0b; border-radius: 6px; box-shadow: none; }
.hero-product .preview .tbl thead th { background: #101010; color: #828282; }
.hero-product .preview .tbl td { color: #c2c2c2; }
.hero-product .preview .mono { color: #c8c8c8; }
.hero-product .preview p { color: #777; }
.hero-product-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 2px 0; color: #777; font-size: 10.5px; }
.hero-product-status { display: inline-flex; align-items: center; gap: 7px; }
.hero-status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #999; }
.hero-product-provider { font: 10px/1.4 var(--mono); color: #888; }

/* Feature rows are product documentation, not eight floating template cards. */
#features .section-head { max-width: 670px; }
#features .grid-4 { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 clamp(26px,4vw,54px); }
#features .feature, #usecases .feature {
  display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 2px 14px; align-items: start;
  padding: 22px 0 24px; border: 0; border-top: 1px solid #262626; border-radius: 0;
  background: transparent; box-shadow: none; transform: none; transition: border-color .16s ease;
}
#features .feature:hover, #usecases .feature:hover { border-color: #505050; background: transparent; box-shadow: none; transform: none; }
#features .feature-icon, #usecases .feature-icon {
  grid-column: 1; grid-row: 1 / span 2; width: 32px; height: 32px; margin: 0;
  display: flex; align-items: center; justify-content: center; border-radius: 6px;
  background: #111; border: 1px solid #2d2d2d; color: #d7d7d7; box-shadow: none;
}
#features .feature h3, #usecases .feature h3 { grid-column: 2; grid-row: 1; margin: 1px 0 4px; color: #ededed; font: 600 14px/1.45 var(--font); letter-spacing: -.012em; }
#features .feature p, #usecases .feature p { grid-column: 2; grid-row: 2; color: #929292; font-size: 12.5px; line-height: 1.7; }
.feature::after { display: none; }
.section { padding: clamp(48px,6vw,78px) 0; border-top-color: #1e1e1e; }
.section-head { max-width: 700px; margin-bottom: 28px; }
.section-head .h2, .doc-content h2, .feature h3, .page-head h1, .card-head h2 { font-family: var(--font); }
.section-head .h2 { font-size: clamp(25px,3.25vw,34px); line-height: 1.2; font-weight: 600; letter-spacing: -.035em; color: #f2f2f2; }
.section-head .eyebrow { color: #a8a8a8; }
.lead { color: #a2a2a2; }
.step { border-top-color: #2a2a2a; }
.step-num { color: #999; }
.faq-item { border-bottom-color: #272727; }
.faq-q { color: #e7e7e7; }
.faq-q:hover { color: #fff; }
.price-card { background: #0b0b0b; border-color: #2b2b2b; border-radius: 9px; }
.price-card.featured { border-color: #4a4a4a; background: #0d0d0d; box-shadow: none; }
.price-list svg { color: #d2d2d2; }
.trust-strip { border-color: #282828; background: #0b0b0b; box-shadow: none; border-radius: 7px; }
.trust-mark { background: #111; border-color: #303030; color: #dedede; }
.terminal-card { background: #090909; border-color: #303030; border-radius: 9px; box-shadow: none; }
.terminal-card::before { background: linear-gradient(90deg,transparent,rgba(255,255,255,.14),transparent); }
.terminal-topbar, .terminal-footer { background: #0d0d0d; border-color: #272727; }
.terminal-product, .terminal-private, .terminal-note { color: #a0a0a0; }
.terminal-icon { background: #141414; border-color: #333; color: #e0e0e0; }
.terminal-tabs { border-bottom-color: #282828; }
.snippet-tab { color: #888; }
.snippet-tab.active { color: #f3f3f3; border-bottom-color: #d8d8d8; }
pre.code { color: #cbcbcb; background: #080808; border-color: #282828; }
pre.code .k { color: #ededed; }
pre.code .s { color: #b7b7b7; }
pre.code .c { color: #777; }

/* Tables: quiet zebra-free rows with clear headings and consistent numeric alignment. */
table.tbl { font-variant-numeric: tabular-nums; }
table.tbl th { color: #888; border-color: #282828; letter-spacing: .045em; }
table.tbl td { border-color: #222; }
table.tbl tbody tr:hover { background: #111; }
.progress { background: #252525; }
.progress > span { background: #dedede; }
.progress.warn > span { background: #bba36a; }
.progress.danger > span { background: #cf777b; }
.notice-accent, .msg-bubble.admin { color: #dedede; border-color: #383838; background: #121212; }
.notif-item.unread { background: #121212; }
.notif-dot { background: #d5d5d5; }
.cmdk-item:hover, .cmdk-item.sel { background: #171717; }
.cmdk-kind { color: #8a8a8a; }
.skip-link { background: #efefef; color: #080808; border-radius: 5px; }
.footer { border-top-color: #232323; background: #080808; }
.footer-title { color: #ddd; letter-spacing: .08em; }
.footer-link:hover { color: #fff; transform: none; }
.credit { color: #777; letter-spacing: .02em; }
.credit strong { color: #bdbdbd; }

@media (max-width: 980px) {
  .hero-layout { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 26px; }
  .hero .h1 { font-size: clamp(38px,4.6vw,54px); }
  html[dir='rtl'] .hero .h1 { font-size: clamp(32px,4.1vw,47px); }
  .hero-proofline { gap: 8px; }
  .hero-proof-item { font-size: 10px; gap: 6px; }
  #usecases .grid-4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .hero { padding: 40px 0 46px; }
  .hero-layout { grid-template-columns: minmax(0,1fr); gap: 31px; }
  .hero-copy { max-width: 660px; }
  .hero .h1 { max-width: 640px; font-size: clamp(42px,7.4vw,61px); }
  html[dir='rtl'] .hero .h1 { font-size: clamp(34px,6.5vw,51px); }
  .hero-product { max-width: 760px; }
  .hero-proofline { max-width: 600px; }
  .hero-product-foot { padding-inline: 2px; }
}
@media (max-width: 600px) {
  .hero { padding: 32px 0 38px; }
  .hero-kicker { margin-bottom: 18px; font-size: 9px; }
  .hero-brandline { margin-bottom: 20px; }
  .hero-logo { width: 40px; height: 40px; flex-basis: 40px; }
  .hero .h1 { font-size: clamp(37px,10vw,50px); line-height: 1.06; letter-spacing: -.045em; }
  html[dir='rtl'] .hero .h1 { font-size: clamp(32px,8.5vw,43px); line-height: 1.3; }
  .hero .lead { font-size: 14px; margin-top: 14px; }
  .hero-cta { margin-top: 20px; gap: 8px; }
  .hero-cta .btn-lg { flex: 1 1 150px; padding-inline: 12px; }
  .hero-proofline { grid-template-columns: 1fr; gap: 10px; margin-top: 23px; padding-top: 14px; }
  .hero-proof-item { font-size: 11.5px; }
  .hero-product .preview-body { padding: 12px; }
  .hero-product .preview .grid-3 { grid-template-columns: 1fr; }
  .hero-product-foot { align-items: flex-start; flex-direction: column; gap: 5px; }
  #features .grid-4, #usecases .grid-4 { grid-template-columns: minmax(0,1fr); }
  #features .feature, #usecases .feature { padding-block: 18px; }
  .section { padding: 44px 0; }
  .section-head { margin-bottom: 20px; }
  .footer-grid { gap: 22px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-product .preview, .feature, .btn, .cmdk-item { transition: none !important; }
  .hero-product .preview:hover, .feature:hover, .btn:hover { transform: none !important; }
}
@media (prefers-contrast: more) {
  :root { --line: #444; --line-strong: #666; --fg-muted: #c0c0c0; --fg-dim: #a0a0a0; }
  .hero::before, .hero::after { display: none; }
}

/* Final cleanup for states that used to inherit the warm palette. */
.skel { background: linear-gradient(90deg, #141414 25%, #1d1d1d 50%, #141414 75%); }
.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999999' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}
.price-card.featured::before, footer.footer::before { display: none; }
.hero-kicker, .hero-brandcaption, .hero-product-foot { text-shadow: none; }
html, body { max-width: 100%; overflow-x: clip; }

/* =======================================================================
   7amoDB — NOIR Atelier finish
   Calm architectural light, product-led detail and a more credible preview.
   No stock artwork, perpetual animation, blur-heavy glass or false live data.
   ======================================================================= */
:root {
  --surface-raised: #0f0f0f;
  --surface-hover: #151515;
  --edge-highlight: rgba(255,255,255,.12);
  --text-primary: #f4f4f4;
  --text-secondary: #a4a4a4;
  --text-tertiary: #747474;
}

body {
  background-color: #070707;
  background-image:
    radial-gradient(ellipse 68rem 27rem at 50% -12rem, rgba(255,255,255,.055), transparent 72%),
    radial-gradient(ellipse 34rem 27rem at 100% 42rem, rgba(255,255,255,.014), transparent 76%),
    linear-gradient(180deg, #080808 0%, #070707 46rem, #080808 100%);
  background-repeat: no-repeat;
  background-attachment: scroll;
}

/* A little architecture in the first fold, fading before it competes with text. */
.hero {
  background-image:
    linear-gradient(90deg, transparent 0%, rgba(255,255,255,.018) 50%, transparent 100%),
    linear-gradient(180deg, rgba(255,255,255,.008), transparent 72%);
  border-bottom-color: #242424;
}
.hero::before {
  inset: -140px 12% auto auto;
  left: auto;
  width: min(760px, 72vw);
  height: 450px;
  transform: none;
  background:
    radial-gradient(ellipse 68% 50% at 72% 26%, rgba(255,255,255,.055), transparent 72%),
    radial-gradient(ellipse 44% 40% at 28% 40%, rgba(255,255,255,.018), transparent 78%);
  filter: none;
}
.hero::after {
  opacity: .30;
  background-size: 80px 80px;
  background-position: 50% 0;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.24) 53%, transparent 88%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.24) 53%, transparent 88%);
}
.hero-layout::after {
  content: '';
  position: absolute;
  top: 8%; bottom: 8%; inset-inline-start: 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.055) 18%, rgba(255,255,255,.055) 82%, transparent);
  pointer-events: none;
}
.hero-copy { position: relative; }
.hero-kicker { letter-spacing: .105em; color: #b5b5b5; }
.hero .h1 { text-shadow: none; }
.hero .lead { max-width: 50ch; }
.hero-cta { gap: 9px; }
.hero-cta .btn { min-height: 44px; }
.hero-proofline { border-top-color: #292929; }
.hero-proof-item { color: #999; }
.hero-proof-item svg { color: #d0d0d0; }

/* The product preview has an actual app shell, not a floating card collage. */
.hero-product { position: relative; min-width: 0; isolation: isolate; }
.hero-product::before {
  content: '';
  position: absolute;
  inset: 12% -4% -7% 8%;
  border: 1px solid rgba(255,255,255,.055);
  border-radius: 12px;
  pointer-events: none;
  z-index: -1;
}
.hero-product .preview {
  position: relative;
  border-color: #383838;
  border-radius: 8px;
  background: #080808;
  box-shadow: 0 26px 70px -42px rgba(0,0,0,.96), inset 0 1px 0 rgba(255,255,255,.035);
}
.hero-product .preview::before {
  content: '';
  position: absolute;
  z-index: 3;
  top: 0; inset-inline: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.16), transparent);
  pointer-events: none;
}
.preview-shell { display: grid; grid-template-columns: 112px minmax(0,1fr); min-width: 0; }
.preview-sidebar {
  display: flex; flex-direction: column; min-width: 0; gap: 5px;
  padding: 14px 8px 11px;
  background: #090909;
  border-inline-end: 1px solid #222;
}
.preview-side-brand {
  display: flex; align-items: center; gap: 6px; padding: 1px 5px 14px;
  border-bottom: 1px solid #202020; color: #e8e8e8;
  font: 650 9px/1.2 var(--font); letter-spacing: .035em;
}
.preview-side-brand > span:last-child > span { color: #858585; }
.preview-side-mark {
  display: inline-grid; place-items: center; flex: 0 0 19px; width: 19px; height: 19px;
  border: 1px solid #454545; border-radius: 5px; background: #171717;
  color: #fff; font: 600 11px/1 var(--mono);
}
.preview-side-label { margin: 8px 4px 3px; color: #626262; font: 600 7px/1.3 var(--font); letter-spacing: .12em; }
.preview-side-item {
  display: flex; align-items: center; gap: 6px; min-width: 0; padding: 7px 6px;
  border: 1px solid transparent; border-radius: 5px; color: #858585;
  font: 500 8px/1.35 var(--font); white-space: nowrap; overflow: hidden;
}
.preview-side-item svg { flex: 0 0 auto; color: #777; }
.preview-side-item.active { color: #ececec; background: #161616; border-color: #292929; }
.preview-side-item.active svg { color: #e0e0e0; }
.preview-side-bottom {
  display: flex; align-items: center; gap: 5px; margin-top: auto; padding: 9px 5px 0;
  border-top: 1px solid #202020; color: #666; font: 7px/1.4 var(--font);
}
.preview-side-dot { flex: 0 0 5px; width: 5px; height: 5px; border-radius: 50%; background: #888; }
.preview-content { min-width: 0; padding: clamp(12px, 1.5vw, 19px); }
.preview-content > .row { margin-bottom: 14px !important; }
.hero-product .preview .grid-3 { gap: 7px !important; }
.hero-product .preview .stat { min-width: 0; padding: 10px !important; border-radius: 6px; }
.hero-product .preview .stat-label { line-height: 1.4; }
.hero-product .preview .stat-value { font-size: clamp(15px, 1.8vw, 19px) !important; white-space: nowrap; }
.hero-product .preview .stat .badge { max-width: 100%; padding-inline: 6px; font-size: 9px; }
.hero-product .preview .card { overflow: hidden; border-radius: 6px; }
.hero-product .preview .tbl { min-width: 420px !important; }
.hero-product .preview .tbl th { padding: 9px 11px; font-size: 8px; }
.hero-product .preview .tbl td { padding: 10px 11px; font-size: 9px; }
.hero-product .preview .tbl .badge { font-size: 8px; height: 18px; }
.preview-bottom-grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: 8px; margin-top: 9px; }
.preview-micro-card { min-width: 0; padding: 10px 11px 8px; border: 1px solid #262626; border-radius: 6px; background: #090909; }
.preview-micro-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #b7b7b7; font: 600 9px/1.4 var(--font); }
.preview-micro-period { padding: 2px 5px; border: 1px solid #292929; border-radius: 4px; color: #858585; font: 8px/1.3 var(--mono); }
.preview-sparkline { display: block; width: 100%; height: 43px; margin-top: 9px; overflow: visible; }
.preview-chart-grid { fill: none; stroke: #292929; stroke-width: .7; }
.preview-chart-area { fill: url(#preview-chart-fill); }
.preview-chart-line { fill: none; stroke: #d1d1d1; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.preview-chart-point { fill: #f5f5f5; stroke: #101010; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.preview-micro-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 4px; color: #696969; font: 8px/1.4 var(--font); }
.preview-micro-note { color: #858585; text-align: end; }
.preview-capacity-mark { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border: 1px solid #2c2c2c; border-radius: 5px; color: #c9c9c9; background: #111; }
.preview-capacity-value { margin-top: 10px; color: #ededed; font: 600 20px/1.1 var(--font); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.preview-capacity-value span { color: #858585; font: 500 10px/1 var(--mono); letter-spacing: 0; }
.preview-capacity-track { height: 3px; margin-top: 12px; overflow: hidden; border-radius: 99px; background: #252525; }
.preview-capacity-track span { display: block; width: 4.1%; height: 100%; border-radius: inherit; background: #d1d1d1; }
.preview-capacity-label { text-align: end; }
.hero-product-foot { padding-top: 10px; font-size: 10px; }
.hero-product-provider { text-transform: uppercase; letter-spacing: .07em; }

/* Make the operational pages feel like one coherent tool. */
.main {
  background-image: radial-gradient(ellipse 58rem 21rem at 50% 0%, rgba(255,255,255,.018), transparent 72%);
  background-repeat: no-repeat;
}
.page-head { padding-bottom: 17px; border-bottom: 1px solid #242424; }
.page-head .eyebrow { margin-bottom: 7px; }
.stat { transition: border-color .16s ease, background-color .16s ease; }
.stat:hover { border-color: #3b3b3b; }
.tbl tbody tr { transition: background-color .12s ease; }
.tbl tbody tr:hover { background-color: #121212; }
.card-head { min-height: 50px; }
.input, .select, .textarea { border-radius: 6px; }
.badge { font-variant-numeric: tabular-nums; }
.footer { background-image: linear-gradient(180deg, rgba(255,255,255,.012), transparent 120px); }

@media (max-width: 980px) {
  .hero-layout::after { display: none; }
  .preview-sidebar { width: 104px; }
  .preview-shell { grid-template-columns: 104px minmax(0,1fr); }
}
@media (max-width: 760px) {
  .hero::before { inset: -110px -10% auto auto; width: 100vw; height: 400px; }
  .hero::after { opacity: .22; background-size: 72px 72px; }
  .hero-product::before { inset: 8% -2% -4% 4%; }
  .preview-sidebar { padding-inline: 6px; }
}
@media (max-width: 600px) {
  body { background-image: radial-gradient(ellipse 32rem 20rem at 50% 0%, rgba(255,255,255,.04), transparent 75%), linear-gradient(180deg, #080808, #070707 48rem, #080808); }
  .hero-layout::after { display: none; }
  .preview-shell { grid-template-columns: 1fr; }
  .preview-sidebar { display: none; }
  .preview-content { padding: 12px; }
  .hero-product .preview .grid-3 { grid-template-columns: 1fr; }
  .hero-product .preview .stat { padding: 10px 11px !important; }
  .preview-bottom-grid { grid-template-columns: minmax(0,1fr); }
  .preview-micro-card { padding: 10px 12px; }
  .preview-sparkline { height: 48px; }
  .hero-product .preview .tbl { min-width: 420px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-product .preview, .stat, .tbl tbody tr { transition: none !important; }
}


/* =======================================================================
   7amoDB — MongoDB document architecture
   Material depth through perspective, restrained LeafyGreen cues, no fake telemetry.
   ======================================================================= */
:root {
  --mongo-green: #00c16a;
  --mongo-green-soft: rgba(0, 193, 106, .12);
  --mongo-edge: rgba(0, 193, 106, .34);
}
.architecture-section {
  position: relative;
  overflow: hidden;
  border-top: 1px solid #1b1b1b;
  border-bottom: 1px solid #1b1b1b;
  background:
    radial-gradient(ellipse 44rem 26rem at 13% 52%, rgba(0,193,106,.045), transparent 72%),
    linear-gradient(180deg, rgba(255,255,255,.009), transparent 30%, rgba(255,255,255,.006));
}
.architecture-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, #000, transparent 84%);
}
.architecture-section > .container { position: relative; z-index: 1; }
.architecture-intro { max-width: 720px; margin-bottom: clamp(24px, 3.4vw, 42px); }
.architecture-eyebrow { color: #8ab9a1; }
.architecture-title { max-width: 18ch; margin-top: 11px; }
.architecture-copy { max-width: 66ch; margin-top: 12px; font-size: 15px; }
.architecture-layout { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(300px,.88fr); gap: 18px; align-items: stretch; }
.architecture-visual, .architecture-details { min-width: 0; border: 1px solid #292929; border-radius: 10px; background: #080908; box-shadow: 0 24px 54px -40px #000; }
.architecture-visual { display: flex; flex-direction: column; overflow: hidden; }
.architecture-visual-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 17px; border-bottom: 1px solid #222522; background: linear-gradient(90deg, rgba(255,255,255,.018), transparent 68%); }
.architecture-system-label { display: flex; align-items: center; gap: 9px; min-width: 0; color: #d8ddd9; font: 600 10px/1.3 var(--font); letter-spacing: .085em; text-transform: uppercase; }
.architecture-mongo-mark { position: relative; display: inline-grid; place-items: center; width: 18px; height: 18px; flex: 0 0 18px; border: 1px solid rgba(0,193,106,.36); border-radius: 5px; background: rgba(0,193,106,.07); }
.architecture-mongo-mark::before { content: ''; width: 4px; height: 10px; border-radius: 70% 30% 60% 40%; background: var(--mongo-green); transform: rotate(8deg); }
.architecture-mongo-mark i { position: absolute; width: 1px; height: 5px; bottom: 2px; left: 8px; background: #b8f7d6; }
.architecture-schematic { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; border: 1px solid #303630; border-radius: 4px; padding: 4px 7px; color: #858d87; font: 8px/1.2 var(--mono); letter-spacing: .04em; }
.architecture-schematic > span { width: 5px; height: 5px; border-radius: 50%; background: #888; }
.architecture-stage { position: relative; display: grid; place-items: center; min-height: 318px; overflow: hidden; isolation: isolate; perspective: 1000px; background: radial-gradient(ellipse at 50% 54%, rgba(0,193,106,.07), transparent 51%), linear-gradient(180deg,#080908,#070807); }
.architecture-grid-floor { position: absolute; z-index: -2; inset: 30% -15% -28%; transform: rotateX(65deg); transform-origin: center top; background-image: linear-gradient(rgba(156,183,165,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(156,183,165,.12) 1px, transparent 1px); background-size: 32px 32px; mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 72%); }
.architecture-orbit { position: absolute; z-index: -1; width: min(68%, 330px); aspect-ratio: 1; border: 1px solid rgba(155,184,164,.15); border-radius: 50%; transform: rotateX(68deg) rotateZ(-20deg); }
.architecture-orbit-a { width: min(70%, 340px); }
.architecture-orbit-b { width: min(51%, 248px); border-color: rgba(0,193,106,.20); transform: rotateX(69deg) rotateZ(34deg); }
.architecture-data-stack { position: relative; z-index: 2; width: min(48%, 210px); min-width: 160px; height: 160px; transform-style: preserve-3d; transform: rotateX(55deg) rotateZ(-33deg); transition: transform .32s cubic-bezier(.2,.7,.2,1); }
.architecture-visual:hover .architecture-data-stack { transform: rotateX(50deg) rotateZ(-29deg) translateY(-3px); }
.architecture-data-slab { position: absolute; left: 0; right: 0; height: 56px; border: 1px solid #3b5144; border-radius: 9px; background: linear-gradient(135deg, #19231c 0%, #111713 46%, #0b0f0c 100%); box-shadow: inset 0 1px rgba(255,255,255,.08), 0 14px 24px rgba(0,0,0,.5); display: flex; align-items: center; gap: 9px; padding: 0 15px; }
.architecture-data-slab::before { content: '{ }'; display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid rgba(0,193,106,.25); border-radius: 6px; background: rgba(0,193,106,.07); color: #87d9ac; font: 600 10px/1 var(--mono); }
.architecture-data-slab > span { display: block; height: 4px; border-radius: 8px; background: #48554c; }
.architecture-data-slab > span:nth-child(1) { width: 36%; }
.architecture-data-slab > span:nth-child(2) { width: 22%; opacity: .72; }
.architecture-data-slab > span:nth-child(3) { width: 12%; opacity: .5; }
.architecture-slab-back { top: 0; transform: translateZ(-58px) translateY(-5px); opacity: .46; }
.architecture-slab-mid { top: 25px; transform: translateZ(-25px); opacity: .75; }
.architecture-slab-front { top: 51px; transform: translateZ(12px); border-color: rgba(0,193,106,.65); box-shadow: inset 0 1px rgba(255,255,255,.08), 0 0 36px rgba(0,193,106,.08), 0 22px 34px rgba(0,0,0,.55); }
.architecture-stack-label { position: absolute; top: 122px; left: 6px; right: 0; display: flex; flex-direction: column; gap: 4px; transform: rotateZ(33deg) rotateX(-55deg); text-align: center; color: #c5cec8; font: 10px/1.3 var(--mono); }
.architecture-stack-label strong { font-size: 9px; font-weight: 500; letter-spacing: .035em; }
.architecture-stack-label > span { color: #647168; font-size: 8px; }
.architecture-node { position: absolute; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 66px; padding: 7px 8px 6px; border: 1px solid #303630; border-radius: 7px; background: rgba(12,15,12,.92); box-shadow: 0 8px 22px rgba(0,0,0,.35); color: #c6cec8; font: 600 9px/1 var(--mono); }
.architecture-node small { color: #747e77; font: 7px/1.2 var(--font); letter-spacing: .07em; }
.architecture-node-light { width: 6px; height: 6px; border-radius: 50%; background: #656d67; box-shadow: 0 0 0 3px rgba(125,139,129,.09); }
.architecture-node-primary { top: 13%; right: 16%; border-color: rgba(0,193,106,.4); }
.architecture-node-primary .architecture-node-light { background: var(--mongo-green); box-shadow: 0 0 0 3px rgba(0,193,106,.12), 0 0 13px rgba(0,193,106,.25); }
.architecture-node-left { bottom: 16%; left: 13%; }
.architecture-node-right { bottom: 13%; right: 12%; }
.architecture-coordinate { position: absolute; color: #515c54; font: 8px/1.3 var(--mono); letter-spacing: .08em; }
.architecture-coordinate-a { top: 16%; left: 10%; }
.architecture-coordinate-b { bottom: 14%; left: 18%; }
.architecture-visual-foot { display: flex; align-items: center; gap: 15px; flex-wrap: wrap; padding: 12px 17px; border-top: 1px solid #202420; background: #090a09; color: #8a938c; font: 9px/1.3 var(--font); }
.architecture-visual-foot > div { display: flex; align-items: center; gap: 6px; }
.architecture-legend { width: 6px; height: 6px; border-radius: 50%; }
.architecture-legend-green { background: var(--mongo-green); }
.architecture-legend-muted { background: #737a75; }
.architecture-foot-code { margin-inline-start: auto; color: #59635c; font: 8px/1.3 var(--mono); }
.architecture-details { display: flex; flex-direction: column; overflow: hidden; padding: 17px; background: linear-gradient(145deg,#0b0c0b,#080908 72%); }
.architecture-detail-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid #252925; }
.architecture-detail-heading .eyebrow { color: #77877c; font-size: 9px; }
.architecture-detail-heading h3 { margin-top: 6px; color: #e6eae7; font: 600 14px/1.3 var(--mono); letter-spacing: -.035em; }
.architecture-file-type { padding: 4px 6px; border: 1px solid #353b36; border-radius: 4px; color: #a1aaa3; font: 8px/1.2 var(--mono); }
.architecture-code { padding: 17px 0 14px; border-bottom: 1px solid #252925; color: #c4cbc5; font: 11px/2 var(--mono); overflow-x: auto; }
.architecture-code-line { display: flex; gap: 14px; white-space: pre; }
.architecture-code-line.indent > span:last-child { padding-inline-start: 18px; }
.architecture-line-no { width: 13px; flex: 0 0 13px; text-align: end; user-select: none; color: #4d554f; font-size: 9px; }
.json-brace { color: #8d9a90; }
.json-key { color: #d4ddd5; }
.json-punct { color: #707b72; }
.json-string { color: #b7d6a8; }
.json-type { color: #72c99a; }
.json-bool { color: #d2d8b1; }
.architecture-detail-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 11px; color: #707871; font-size: 9px; }
.architecture-detail-status { display: inline-flex; align-items: center; gap: 5px; color: #8b9b8f; font: 8px/1.2 var(--mono); white-space: nowrap; }
.architecture-detail-status i { width: 5px; height: 5px; border-radius: 50%; background: #6c9a7e; }
.architecture-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: auto; padding-top: 22px; }
.architecture-fact { display: flex; align-items: flex-start; gap: 9px; min-width: 0; padding: 11px; border: 1px solid #242824; border-radius: 6px; background: rgba(255,255,255,.012); }
.architecture-fact-icon { display: grid; place-items: center; flex: 0 0 25px; width: 25px; height: 25px; border: 1px solid #313b33; border-radius: 5px; color: #8dc4a1; background: rgba(0,193,106,.05); font: 8px/1 var(--mono); }
.architecture-fact > span:last-child { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.architecture-fact b { color: #d0d6d1; font: 600 10px/1.3 var(--font); }
.architecture-fact small { color: #767f78; font: 8px/1.4 var(--mono); overflow-wrap: anywhere; }
.architecture-disclaimer { margin-top: 12px; color: #687169; font-size: 9px; line-height: 1.6; }
html[dir='rtl'] .architecture-code-line.indent > span:last-child { padding-inline-start: 0; padding-inline-end: 18px; }
html[dir='rtl'] .architecture-section::before { mask-image: linear-gradient(270deg, #000, transparent 84%); }
html[dir='rtl'] .architecture-stack-label { direction: ltr; }
html[dir='rtl'] .architecture-intro { margin-inline-start: auto; }

@media (max-width: 900px) {
  .architecture-layout { grid-template-columns: minmax(0,1fr); }
  .architecture-visual { min-height: 0; }
  .architecture-stage { min-height: 300px; }
  .architecture-details { min-height: 0; }
}
@media (max-width: 600px) {
  .architecture-section { padding-block: 42px; }
  .architecture-stage { min-height: 250px; }
  .architecture-data-stack { width: 48%; min-width: 145px; transform: scale(.9) rotateX(55deg) rotateZ(-33deg); }
  .architecture-visual:hover .architecture-data-stack { transform: scale(.9) rotateX(50deg) rotateZ(-29deg) translateY(-3px); }
  .architecture-node { min-width: 58px; padding: 6px; }
  .architecture-node-primary { right: 6%; top: 10%; }
  .architecture-node-left { left: 4%; bottom: 11%; }
  .architecture-node-right { right: 4%; bottom: 9%; }
  .architecture-coordinate-a { left: 5%; top: 13%; }
  .architecture-coordinate-b { left: 6%; bottom: 8%; }
  .architecture-visual-top, .architecture-visual-foot { padding-inline: 12px; }
  .architecture-visual-foot { gap: 10px; }
  .architecture-foot-code { width: 100%; margin-inline-start: 0; }
  .architecture-details { padding: 13px; }
  .architecture-code { font-size: 10px; }
  .architecture-facts { gap: 7px; }
  .architecture-fact { padding: 9px 8px; gap: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .architecture-data-stack { transition: none !important; }
}

/* =======================================================================
   7amoDB — dark-only surface refinement
   One neutral background system across desktop, mobile and product sections.
   Accent colors remain on controls/status only; the canvas itself stays dark.
   ======================================================================= */
:root {
  --bg: #070809;
  --bg-elev: #0b0c0e;
  --bg-elev-2: #111214;
  --panel: #0b0c0e;
  --line: #202226;
  --line-strong: #34373c;
  --fg: #f0f1f2;
  --fg-muted: #a3a6aa;
  --fg-dim: #777b80;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.36);
  --shadow: 0 14px 34px -22px rgba(0,0,0,.92);
  --shadow-lg: 0 28px 72px -34px rgba(0,0,0,.96);
}

html {
  background: #070809;
  color-scheme: dark;
  scrollbar-color: #34373c #070809;
}

body {
  position: relative;
  isolation: isolate;
  background: #070809 !important;
  background-image: none !important;
  color: #f0f1f2;
}

/* Bespoke monochrome data-field: local SVG + restrained light falloff, no remote image. */
body::before {
  content: '';
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background-color: #070809;
  background-image:
    radial-gradient(ellipse 48% 42% at 80% 8%, rgba(255,255,255,.045), transparent 72%),
    radial-gradient(ellipse 46% 58% at 12% 54%, rgba(255,255,255,.014), transparent 74%),
    linear-gradient(180deg, rgba(4,5,6,.02), rgba(4,5,6,.16)),
    url('/static/obsidian-data-field.svg');
  background-position: center, center, center, center top;
  background-size: 100% 100%, 100% 100%, 100% 100%, cover;
  background-repeat: no-repeat;
  opacity: .92;
}

/* The hero uses its own restrained hierarchy on top of the global data field. */
.hero {
  background-color: transparent;
  background-image: linear-gradient(180deg, rgba(8,9,10,.06), rgba(8,9,10,.12));
  border-bottom-color: #222428;
}
.hero::before {
  background: radial-gradient(ellipse at 62% 34%, rgba(255,255,255,.035), transparent 64%);
  filter: none;
  opacity: .75;
}
.hero::after {
  opacity: .075;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 112px 112px;
  background-position: center top;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.18) 42%, transparent 78%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.18) 42%, transparent 78%);
}

.main,
.shell,
footer.footer {
  background-color: transparent;
  background-image: none;
}

/* The MongoDB schematic keeps its brand mark/status cue, not a green-lit backdrop. */
.architecture-section {
  position: relative;
  background: linear-gradient(180deg, rgba(8,9,10,.40), rgba(7,8,9,.70));
  border-top-color: #202226;
  border-bottom-color: #202226;
}
.architecture-section::before {
  opacity: .055;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent, #000 40%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%, transparent 100%);
}
.architecture-visual,
.architecture-details {
  background: #090a0b;
  border-color: #292c30;
}
.architecture-visual-top,
.architecture-visual-foot {
  background: #0a0b0c;
  border-color: #222529;
}
.architecture-stage {
  background: linear-gradient(180deg, #090a0b 0%, #08090a 100%);
}
.architecture-grid-floor {
  background-image:
    linear-gradient(rgba(255,255,255,.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.065) 1px, transparent 1px);
  mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 72%);
}
.architecture-orbit { border-color: rgba(255,255,255,.075); }
.architecture-orbit-b { border-color: rgba(255,255,255,.045); }
.architecture-data-slab {
  border-color: #393c41;
  background: linear-gradient(135deg, #191a1c 0%, #111214 48%, #0b0c0e 100%);
}
.architecture-data-slab::before {
  border-color: #3b3e43;
  background: #111315;
  color: #d3d5d8;
}
.architecture-data-slab > span { background: #55585e; }
.architecture-slab-front {
  border-color: #555960;
  box-shadow: inset 0 1px rgba(255,255,255,.075), 0 18px 34px rgba(0,0,0,.58);
}
.architecture-node {
  border-color: #34373c;
  background: rgba(12,13,15,.96);
  color: #d1d3d6;
}
.architecture-node-primary { border-color: #51565d; }
.architecture-node-primary .architecture-node-light {
  box-shadow: 0 0 0 3px rgba(255,255,255,.055);
}
.architecture-coordinate { color: #62666d; }
.architecture-stack-label { color: #d0d2d5; }
.architecture-stack-label > span { color: #777b82; }
.architecture-detail-heading { border-color: #25282c; }
.architecture-detail-heading .eyebrow { color: #a2a6ac; }
.architecture-detail-footer { color: #858990; }
.architecture-detail-status { color: #b6c6bb; }
.architecture-fact { border-color: #282b30; background: rgba(255,255,255,.012); }
.architecture-fact-icon { border-color: #35393f; color: #d0d2d6; background: #101113; }
.architecture-disclaimer { color: #8a8e95; }

@media (max-width: 600px) {
  body::before {
    background-image:
      radial-gradient(ellipse 72% 32% at 82% 5%, rgba(255,255,255,.032), transparent 74%),
      linear-gradient(180deg, rgba(4,5,6,.04), rgba(4,5,6,.16)),
      url('/static/obsidian-data-field.svg');
    background-size: 100% 100%, 100% 100%, auto 100%;
    background-position: center, center, 68% top;
    opacity: .72;
  }
  .hero::after { opacity: .045; background-size: 96px 96px; }
}

@media (prefers-reduced-motion: reduce) {
  .architecture-data-stack { transition: none !important; }
}


/* =======================================================================
   Obsidian Atelier — photographic hero finish
   Uses a local, desaturated asset from the supplied design project. The image
   is decorative only; layered black overlays keep text and controls dominant.
   ======================================================================= */
.hero {
  background-color: #060606;
  background-image:
    linear-gradient(90deg, rgba(4,5,6,.82) 0%, rgba(4,5,6,.68) 35%, rgba(4,5,6,.48) 66%, rgba(4,5,6,.78) 100%),
    linear-gradient(180deg, rgba(4,5,6,.15) 0%, rgba(4,5,6,.25) 54%, #070707 100%),
    url('/static/obsidian-architecture.webp');
  background-size: cover, cover, cover;
  background-position: center, center, 50% 43%;
  background-repeat: no-repeat;
}
.hero::before {
  background:
    radial-gradient(ellipse 56% 46% at 74% 25%, rgba(255,255,255,.035), transparent 72%),
    linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.08));
  opacity: .7;
}
.hero::after {
  opacity: .19;
  background-size: 88px 88px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), rgba(0,0,0,.12) 56%, transparent 88%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), rgba(0,0,0,.12) 56%, transparent 88%);
}
.network-disclosure {
  display: grid;
  grid-template-columns: 34px minmax(0,1fr);
  gap: 13px;
  align-items: start;
  margin-top: 26px;
  padding: 17px 18px;
  border: 1px solid #343434;
  border-radius: 8px;
  background: linear-gradient(110deg, rgba(255,255,255,.035), rgba(255,255,255,.008));
}
.network-disclosure-mark {
  width: 30px; height: 30px; display: grid; place-items: center;
  border: 1px solid #393939; border-radius: 6px; background: #101010; color: #c9c9c9;
}
.network-disclosure h3 { margin: 0; color: #e8e8e8; font-size: 13px; font-weight: 620; }
.network-disclosure p { margin: 5px 0 0; max-width: 82ch; color: #9b9b9b; font-size: 12px; line-height: 1.7; }
@media (max-width: 760px) {
  .hero {
    background-image:
      linear-gradient(180deg, rgba(4,5,6,.48) 0%, rgba(4,5,6,.62) 45%, #070707 100%),
      url('/static/obsidian-architecture.webp');
    background-size: 100% 100%, auto 100%;
    background-position: center, 56% center;
  }
  .hero::after { opacity: .12; background-size: 96px 96px; }
  .network-disclosure { grid-template-columns: 30px minmax(0,1fr); padding: 14px; gap: 10px; }
}

/* ---------- EnzoCord support + 7amo brand archive ---------- */
.footer-discord-link { display:flex; align-items:center; gap:7px; }
.logout-form { margin:0; display:inline-flex; }
.logout-form button { cursor:pointer; }

.community-brand-section { position:relative; isolation:isolate; overflow:hidden; }
.community-brand-section::before {
  content:''; position:absolute; z-index:-1; inset:8% 0 0;
  background:radial-gradient(ellipse 52% 54% at 52% 45%,rgba(255,255,255,.022),transparent 74%);
  pointer-events:none;
}
.community-section-head { max-width:690px; margin:0 0 26px; }
.community-section-head .h2 { margin-top:8px; }
.community-section-head .lead { margin-top:10px; font-size:14px; }
.community-brand-grid { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(340px,.95fr); gap:18px; align-items:stretch; }
.brand-art-card {
  position:relative; min-width:0; min-height:370px; isolation:isolate; overflow:hidden;
  border:1px solid #303030; border-radius:15px; background:#080808;
  box-shadow:0 26px 75px -52px rgba(0,0,0,.96),inset 0 1px 0 rgba(255,255,255,.055);
}
.brand-art-image { position:absolute; z-index:-2; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; filter:grayscale(.72) brightness(.72) contrast(1.02); transform:scale(1.001); }
.brand-art-shade { position:absolute; z-index:-1; inset:0; background:linear-gradient(180deg,rgba(3,3,3,.38) 0%,rgba(3,3,3,.02) 35%,rgba(3,3,3,.25) 57%,rgba(3,3,3,.91) 100%),linear-gradient(90deg,rgba(0,0,0,.20),transparent 64%); }
.brand-art-topline { position:absolute; inset:19px 20px auto; display:flex; align-items:center; justify-content:space-between; gap:12px; color:#d1d1d1; font:500 9px var(--mono); letter-spacing:.17em; text-transform:uppercase; }
.brand-art-index { padding:5px 7px; color:#9b9b9b; border:1px solid rgba(255,255,255,.17); border-radius:4px; background:rgba(0,0,0,.34); font-size:9px; }
.brand-art-bottomline { position:absolute; inset:auto 20px 19px; display:flex; align-items:flex-end; justify-content:space-between; gap:14px; }
.brand-art-bottomline h3 { color:#f3f0e9; font:400 23px/1.1 'Instrument Serif',Georgia,serif; letter-spacing:.01em; }
.brand-art-bottomline p { color:#aaa9a4; margin-top:5px; font-size:10px; letter-spacing:.04em; }
.brand-art-purrfect { width:76px; height:auto; max-height:46px; object-fit:contain; opacity:.86; filter:drop-shadow(0 2px 12px rgba(0,0,0,.5)); }

.community-card {
  position:relative; display:flex; flex-direction:column; min-width:0; overflow:hidden;
  padding:24px; border:1px solid #303030; border-radius:15px;
  background:linear-gradient(145deg,rgba(255,255,255,.028),transparent 36%),#090909;
  box-shadow:0 26px 75px -52px rgba(0,0,0,.96),inset 0 1px 0 rgba(255,255,255,.045);
}
.community-card::before { content:''; position:absolute; inset-inline:18%; top:0; height:1px; background:linear-gradient(90deg,transparent,rgba(255,255,255,.24),transparent); }
.community-card-top { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.community-discord-mark { display:grid; place-items:center; width:42px; height:42px; border:1px solid #353535; border-radius:11px; color:#efefef; background:linear-gradient(145deg,#191919,#0c0c0c); }
.community-live-pill { display:inline-flex; align-items:center; gap:7px; max-width:70%; color:#a8a8a8; font-size:10px; line-height:1.5; }
.community-live-pill i { flex:0 0 auto; width:6px; height:6px; border-radius:50%; background:#777; box-shadow:0 0 0 3px rgba(255,255,255,.045); }
.community-live-pill[data-state="live"] i { background:#a8a8a8; }
.community-live-pill[data-state="stale"] i { background:#8e8e8e; }
.community-live-pill[data-state="offline"] i { background:#686868; }
.community-name-row { display:flex; flex-wrap:wrap; align-items:flex-end; justify-content:space-between; gap:10px; margin-top:23px; }
.community-card-eyebrow { color:#858585; font:500 9px var(--mono); letter-spacing:.17em; text-transform:uppercase; }
.community-name-row h3 { margin-top:6px; color:#f4f4f4; font-size:25px; font-weight:570; letter-spacing:-.045em; }
.community-invite-code { max-width:100%; overflow-wrap:anywhere; border:1px solid #303030; border-radius:5px; padding:5px 7px; color:#a3a3a3; background:#0b0b0b; font:10px var(--mono); }
.community-card-description { margin-top:12px; color:#a3a3a3; font-size:12.5px; line-height:1.8; max-width:48ch; }
.community-stats { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); margin-top:22px; border:1px solid #2a2a2a; border-radius:9px; background:rgba(255,255,255,.012); }
.community-stat { min-width:0; padding:13px 14px 12px; display:grid; grid-template-columns:1fr auto; align-items:center; gap:5px 8px; }
.community-stat + .community-stat { border-inline-start:1px solid #2a2a2a; }
.community-stat > span { color:#969696; font-size:11px; }
.community-stat strong { grid-column:1; grid-row:2; color:#f0f0f0; font:500 25px/1.1 var(--mono); letter-spacing:-.06em; font-variant-numeric:tabular-nums; }
.community-stat small { grid-column:2; grid-row:2; align-self:end; color:#686868; font-size:9px; }
.community-card-foot { display:flex; align-items:flex-end; justify-content:space-between; gap:12px; margin-top:auto; padding-top:19px; }
.community-updated { max-width:54%; color:#777; font-size:9.5px; line-height:1.55; }
.community-join { flex:0 0 auto; gap:9px; min-height:39px; }
.community-join svg { transition:transform .16s ease; }
.community-join:hover svg { transform:translateX(2px); }
html[dir="rtl"] .community-join:hover svg { transform:translateX(-2px); }

@media (max-width:900px) {
  .community-brand-grid { grid-template-columns:minmax(0,1fr); }
  .brand-art-card { min-height:340px; }
  .community-card { min-height:320px; }
}
@media (max-width:560px) {
  .brand-art-card { min-height:265px; border-radius:12px; }
  .brand-art-topline { inset:13px 13px auto; font-size:8px; letter-spacing:.1em; }
  .brand-art-bottomline { inset:auto 14px 14px; }
  .brand-art-bottomline h3 { font-size:21px; }
  .brand-art-purrfect { width:62px; }
  .community-card { padding:18px; border-radius:12px; min-height:0; }
  .community-card-top { align-items:flex-start; }
  .community-live-pill { font-size:9px; }
  .community-name-row h3 { font-size:23px; }
  .community-stats { margin-top:18px; }
  .community-stat { padding:12px 10px; }
  .community-stat strong { font-size:22px; }
  .community-card-foot { align-items:stretch; flex-direction:column; }
  .community-updated { max-width:none; }
  .community-join { width:100%; }
}
@media (prefers-reduced-motion:reduce) {
  .community-join svg { transition:none; }
  .community-join:hover svg { transform:none; }
}
