/* Nomima User Guide — shared stylesheet.
   Tokens mirror the landing site (features.html / styles.css). */

:root {
  --bg:          #07070e;
  --bg-soft:     #0e0e19;
  --bg-card:     rgba(255,255,255,0.035);
  --border:      rgba(255,255,255,0.08);
  --border-soft: rgba(255,255,255,0.05);
  --fg:          #f0f0f8;
  --fg-dim:      rgba(240,240,248,0.60);
  --fg-faint:    rgba(240,240,248,0.34);
  --accent:      #6366f1;
  --accent-2:    #f048a8;
  --green:       #34d399;
  --blue:        #60a5fa;
  --amber:       #fbbf24;
  --red:         #f87171;
  --teal:        #2dd4bf;
  --gold:        #eab308;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg); color: var(--fg);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  line-height: 1.65;
}
a { color: inherit; }

/* ── Glows ── */
.glow { position: fixed; border-radius: 50%; filter: blur(160px); pointer-events: none; z-index: 0; }
.glow-a { width: 700px; height: 700px; background: rgba(99,102,241,0.14); top: -280px; left: -220px; }
.glow-b { width: 600px; height: 600px; background: rgba(240,72,168,0.09); bottom: -180px; right: -180px; }
.layer { position: relative; z-index: 1; }

/* ── Site nav ── */
nav.site-nav { position: sticky; top: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 0 40px; height: 60px; background: rgba(7,7,14,0.84); border-bottom: 1px solid rgba(255,255,255,0.05); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.nav-logo { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.nav-logo img { width: 26px; height: 26px; filter: drop-shadow(0 2px 8px rgba(99,102,241,0.50)); }
.nav-logo-name { font-size: 16px; font-weight: 800; letter-spacing: -0.02em; color: var(--fg); }
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-text-link { font-size: 13px; font-weight: 500; color: var(--fg); text-decoration: none; }
.nav-text-link:hover { color: var(--accent); }
.nav-text-link.active { color: var(--accent); font-weight: 600; }
.btn-nav { padding: 7px 16px; font-size: 13px; font-weight: 600; font-family: inherit; border-radius: 8px; cursor: pointer; text-decoration: none; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); border: none; box-shadow: 0 2px 12px rgba(99,102,241,0.30); transition: filter 0.12s; }
.btn-nav:hover { filter: brightness(1.1); }
@media (max-width: 640px) { nav.site-nav { padding: 0 20px; } .nav-text-link { display: none; } }

/* ── Docs shell: sidebar + main ── */
.docs-shell { position: relative; z-index: 1; display: flex; max-width: 1180px; margin: 0 auto; gap: 48px; padding: 0 40px; align-items: flex-start; }
@media (max-width: 900px) { .docs-shell { padding: 0 20px; gap: 0; } }

.docs-sidebar { position: sticky; top: 60px; flex: 0 0 220px; max-height: calc(100vh - 60px); overflow-y: auto; padding: 32px 0 48px; }
.docs-sidebar h4 { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-faint); margin: 22px 0 8px; }
.docs-sidebar h4:first-child { margin-top: 0; }
.docs-sidebar a { display: block; padding: 5px 10px; margin-left: -10px; font-size: 13.5px; color: var(--fg-dim); text-decoration: none; border-radius: 7px; line-height: 1.45; }
.docs-sidebar a:hover { color: var(--fg); background: var(--bg-card); }
.docs-sidebar a.active { color: var(--accent); font-weight: 600; background: rgba(99,102,241,0.10); }
@media (max-width: 900px) { .docs-sidebar { display: none; } }

.docs-main { flex: 1; min-width: 0; padding: 40px 0 80px; max-width: 760px; }

/* ── Page header ── */
.docs-header { margin-bottom: 36px; padding-bottom: 28px; border-bottom: 1px solid var(--border-soft); }
.docs-label { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.docs-title { font-size: clamp(26px, 3.5vw, 38px); font-weight: 900; letter-spacing: -0.03em; line-height: 1.12; margin-bottom: 10px; }
.docs-sub { font-size: 15px; color: var(--fg-dim); line-height: 1.65; max-width: 580px; }
.grad { background: linear-gradient(130deg, var(--accent) 30%, var(--accent-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ── Content typography ── */
.docs-main h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin: 44px 0 14px; scroll-margin-top: 80px; }
.docs-main h3 { font-size: 16.5px; font-weight: 700; margin: 30px 0 10px; scroll-margin-top: 80px; }
.docs-main p { font-size: 14.5px; color: var(--fg-dim); margin-bottom: 14px; }
.docs-main p strong, .docs-main li strong { color: var(--fg); font-weight: 600; }
.docs-main ul, .docs-main ol { margin: 0 0 16px 22px; }
.docs-main li { font-size: 14.5px; color: var(--fg-dim); margin-bottom: 7px; }
.docs-main hr { border: none; height: 1px; background: var(--border-soft); margin: 40px 0; }

/* Inline code & kbd */
.docs-main code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; background: rgba(255,255,255,0.07); border: 1px solid var(--border-soft); border-radius: 5px; padding: 1.5px 6px; color: var(--fg); white-space: nowrap; }
.docs-main pre { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; margin: 0 0 18px; overflow-x: auto; }
.docs-main pre code { background: none; border: none; padding: 0; white-space: pre; font-size: 12.5px; line-height: 1.6; color: var(--fg-dim); }
kbd { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11.5px; font-weight: 600; color: var(--fg); background: rgba(255,255,255,0.09); border: 1px solid rgba(255,255,255,0.14); border-bottom-width: 2px; border-radius: 6px; padding: 2px 7px; white-space: nowrap; }

/* Tables */
.docs-main table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 13.5px; }
.docs-main th { text-align: left; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-faint); padding: 8px 12px; border-bottom: 1px solid var(--border); }
.docs-main td { padding: 9px 12px; border-bottom: 1px solid var(--border-soft); color: var(--fg-dim); vertical-align: top; }
.docs-main td:first-child { color: var(--fg); font-weight: 500; white-space: nowrap; }
.docs-main tr:last-child td { border-bottom: none; }

/* Callout boxes */
.note, .tip, .warn, .pro-box {
  display: block; border-radius: 12px; padding: 14px 18px; margin: 0 0 18px;
  font-size: 13.5px; line-height: 1.6; color: var(--fg-dim);
  background: var(--bg-card); border: 1px solid var(--border-soft); border-left: 3px solid var(--accent);
}
.tip  { border-left-color: var(--green); }
.warn { border-left-color: var(--amber); }
.pro-box { border-left-color: var(--accent-2); }
.note strong, .tip strong, .warn strong, .pro-box strong { color: var(--fg); }

/* Pro badge */
.pro-badge { display: inline-block; vertical-align: middle; font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); border-radius: 6px; padding: 2.5px 8px; margin-left: 8px; }

/* Pill chips (illustrating smart tags) */
.pill { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 600; border-radius: 999px; padding: 1.5px 10px; border: 1px solid; white-space: nowrap; }
.pill-mention { color: var(--teal);  border-color: rgba(45,212,191,0.35);  background: rgba(45,212,191,0.10); }
.pill-hashtag { color: var(--gold);  border-color: rgba(234,179,8,0.35);   background: rgba(234,179,8,0.10); }
.pill-date    { color: var(--blue);  border-color: rgba(96,165,250,0.35);  background: rgba(96,165,250,0.10); }
.pill-overdue { color: var(--red);   border-color: rgba(248,113,113,0.40); background: rgba(248,113,113,0.10); }
.pill-done    { color: var(--fg-faint); border-color: var(--border); background: rgba(255,255,255,0.04); text-decoration: line-through; }
.pill-status  { color: var(--green); border-color: rgba(52,211,153,0.35);  background: rgba(52,211,153,0.10); }

/* Card grid (guide home) */
.docs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0; }
@media (max-width: 640px) { .docs-grid { grid-template-columns: 1fr; } }
.docs-card { display: block; text-decoration: none; background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: 14px; padding: 18px 20px; transition: border-color 0.15s, transform 0.15s; }
.docs-card:hover { border-color: rgba(99,102,241,0.45); transform: translateY(-1px); }
.docs-card h3 { font-size: 15px; font-weight: 700; margin: 0 0 5px; color: var(--fg); }
.docs-card p { font-size: 13px; color: var(--fg-dim); margin: 0; line-height: 1.55; }

/* Prev / next pager */
.docs-pager { display: flex; justify-content: space-between; gap: 14px; margin-top: 56px; }
.docs-pager a { flex: 1; max-width: 48%; text-decoration: none; background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: 12px; padding: 13px 16px; transition: border-color 0.15s; }
.docs-pager a:hover { border-color: rgba(99,102,241,0.45); }
.docs-pager .pager-dir { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-faint); margin-bottom: 3px; }
.docs-pager .pager-title { font-size: 13.5px; font-weight: 600; color: var(--fg); }
.docs-pager a.pager-next { margin-left: auto; text-align: right; }

/* Footer stamp */
.docs-foot { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--border-soft); font-size: 12px; color: var(--fg-faint); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.docs-foot a { color: var(--fg-dim); text-decoration: none; }
.docs-foot a:hover { color: var(--accent); }

/* ─────────────────────────────────────────────────────────────
   Walkthrough & visual layer (v1.17 guide overhaul)
   ───────────────────────────────────────────────────────────── */

/* Figures: a framed screenshot / diagram with an optional caption. Until a real
   screenshot is dropped in, a .figure-slot renders a labelled placeholder that
   doubles as the capture spec (see CAPTURE-CHECKLIST.md). */
.guide-figure { margin: 6px 0 22px; }
.guide-figure .figure-img {
  display: block; width: 100%; height: auto; border-radius: 12px;
  border: 1px solid var(--border); background: var(--bg-soft); cursor: zoom-in;
}
.guide-figure figcaption { margin-top: 9px; font-size: 12.5px; color: var(--fg-faint); text-align: center; }
.figure-slot {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  width: 100%; aspect-ratio: 16 / 10; padding: 20px; text-align: center;
  border: 1.5px dashed rgba(99,102,241,0.38); border-radius: 12px;
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(99,102,241,0.07), transparent 70%),
    var(--bg-soft);
}
.figure-slot-icon {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px;
  background: rgba(99,102,241,0.12); color: var(--accent); font-size: 20px; line-height: 1;
}
.figure-slot-kind { font-size: 10.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.figure-slot-label { font-size: 13px; color: var(--fg-dim); max-width: 44ch; line-height: 1.5; }
.figure-slot-label strong { color: var(--fg); }
.figure-slot.slot-gif { border-color: rgba(240,72,168,0.40); }
.figure-slot.slot-gif .figure-slot-icon { background: rgba(240,72,168,0.12); color: var(--accent-2); }
.figure-slot.slot-gif .figure-slot-kind { color: var(--accent-2); }

.figure-slot-ref { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 2px; }
.figure-slot-ref .ref-num { font-size: 12px; font-weight: 800; letter-spacing: 0.06em; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); border-radius: 999px; padding: 3px 10px; }
.figure-slot-ref code { font-size: 11.5px; color: var(--fg-dim); opacity: 0.85; word-break: break-all; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.figure-slot.slot-gif .figure-slot-ref .ref-num { background: linear-gradient(135deg, var(--accent-2), var(--accent)); }

/* Numbered walkthrough: a guided sequence, each step paired with a figure. */
.walk { list-style: none; margin: 26px 0 0; padding: 0; counter-reset: walk; display: flex; flex-direction: column; gap: 30px; }
.walk > li { counter-increment: walk; position: relative; padding-left: 52px; }
.walk > li::before {
  content: counter(walk); position: absolute; left: 0; top: 0;
  width: 34px; height: 34px; display: grid; place-items: center;
  font-size: 15px; font-weight: 800; color: #fff; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 2px 12px rgba(99,102,241,0.35);
}
.walk > li::after {
  content: ""; position: absolute; left: 16px; top: 40px; bottom: -30px; width: 2px;
  background: linear-gradient(var(--border), transparent);
}
.walk > li:last-child::after { display: none; }
.walk h3 { margin: 4px 0 6px; font-size: 16.5px; font-weight: 700; color: var(--fg); }
.walk p { margin-bottom: 10px; }

/* Task-based "How do I…?" cards for the guide home. */
.howto-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); gap: 13px; margin: 22px 0 8px; }
.howto-card {
  display: block; text-decoration: none; border-radius: 14px; padding: 16px 18px;
  background: var(--bg-card); border: 1px solid var(--border-soft);
  transition: border-color 0.15s, transform 0.15s;
}
.howto-card:hover { border-color: rgba(99,102,241,0.45); transform: translateY(-1px); }
.howto-verb { font-size: 10.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.howto-card h3 { margin: 5px 0 4px; font-size: 14.5px; font-weight: 700; color: var(--fg); }
.howto-card p { margin: 0; font-size: 12.5px; color: var(--fg-dim); line-height: 1.5; }

/* Recap / milestone card — closes a walkthrough. */
.recap { display: flex; gap: 14px; align-items: flex-start; margin: 30px 0 8px; padding: 18px 20px; border-radius: 14px; background: linear-gradient(130deg, rgba(99,102,241,0.12), rgba(240,72,168,0.08)); border: 1px solid rgba(99,102,241,0.28); }
.recap-badge { flex: 0 0 auto; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--green); color: #04120b; font-size: 18px; font-weight: 900; }
.recap h3 { margin: 2px 0 5px; font-size: 15px; color: var(--fg); }
.recap p { margin: 0; font-size: 13.5px; }

/* Annotated interface diagram (inline SVG, no screenshot needed). */
.iface-diagram { width: 100%; height: auto; display: block; border-radius: 12px; border: 1px solid var(--border); background: var(--bg-soft); margin: 6px 0 8px; }
.iface-legend { list-style: none; margin: 14px 0 16px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; }
.iface-legend li { font-size: 13px; color: var(--fg-dim); margin: 0; padding: 3px 0; }
.iface-legend strong { color: var(--fg); }
@media (max-width: 640px) { .iface-legend { grid-template-columns: 1fr; } }

/* Lightbox for click-to-zoom figures. */
.lightbox { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 40px; background: rgba(4,4,10,0.86); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 12px; box-shadow: 0 20px 80px rgba(0,0,0,0.6); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .howto-card, .guide-figure .figure-img { transition: none; } }

/* ─────────────────────────────────────────────────────────────
   UI mockups — HTML/CSS recreations of the app, used in place of
   screenshots: theme-matched, crisp at any zoom, tiny + fast, and
   able to loop a micro-interaction where a GIF was planned. Every
   piece below is self-contained (no app assets). Reuses .pill*.
   ───────────────────────────────────────────────────────────── */
.mock {
  position: relative; border-radius: 14px; border: 1px solid var(--border);
  background: linear-gradient(180deg, #10101d, #0b0b14);
  box-shadow: 0 14px 44px rgba(0,0,0,0.38); overflow: hidden;
  font-size: 13px; line-height: 1.5; color: var(--fg);
}
.mock-pad { padding: 20px 22px; }
.mock.is-live::after {
  content: "◉ interactive"; position: absolute; top: 10px; right: 12px; z-index: 3;
  font-size: 9px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-2); opacity: 0.72;
}

/* Window chrome (full-app shots) */
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 9px 13px; border-bottom: 1px solid var(--border-soft); background: rgba(255,255,255,0.015); }
.mock-dot { width: 11px; height: 11px; border-radius: 50%; flex: none; }
.mock-dot.r { background: #ff5f57; } .mock-dot.y { background: #febc2e; } .mock-dot.g { background: #28c840; }
.mock-bar-title { margin-left: 6px; font-size: 12px; color: var(--fg-dim); display: flex; align-items: center; gap: 6px; }

/* Document fragment */
.mock-title { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 3px; display: flex; align-items: center; gap: 8px; }
.mock-meta { font-size: 11px; color: var(--fg-faint); margin-bottom: 15px; }
.mock-h { font-size: 15px; font-weight: 700; margin: 15px 0 7px; }
.mock-line { font-size: 13.5px; color: var(--fg-dim); margin: 0 0 9px; }
.mock-line.tight { margin-bottom: 4px; }

/* Task rows */
.mock-tasks { display: flex; flex-direction: column; gap: 9px; }
.mock-task { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--fg); }
.mock-check { width: 17px; height: 17px; border-radius: 5px; border: 1.6px solid var(--fg-faint); flex: none; display: grid; place-items: center; font-size: 11px; }
.mock-task.done .mock-check { background: var(--green); border-color: var(--green); color: #04120b; font-weight: 900; }
.mock-task.done span { color: var(--fg-faint); text-decoration: line-through; }

/* Floating menu / palette */
.mock-menu { border-radius: 11px; border: 1px solid rgba(255,255,255,0.14); background: #191926; box-shadow: 0 18px 50px rgba(0,0,0,0.5); padding: 5px; }
.mock-menu-h { font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-faint); padding: 7px 9px 4px; }
.mock-mi { display: flex; align-items: center; gap: 9px; padding: 7px 9px; border-radius: 7px; font-size: 13px; color: var(--fg-dim); }
.mock-mi .ic { width: 17px; text-align: center; opacity: 0.85; flex: none; }
.mock-mi.active { background: rgba(99,102,241,0.16); color: var(--fg); }
.mock-mi .sub { margin-left: auto; font-size: 11px; color: var(--fg-faint); }
.mock-mi kbd { margin-left: auto; }

/* Blinking caret */
.mock-caret { display: inline-block; width: 1.5px; height: 1.05em; background: var(--accent); vertical-align: -2px; margin: 0 1px; animation: mock-blink 1.05s steps(1) infinite; }
@keyframes mock-blink { 50% { opacity: 0; } }

/* Looping interaction: a suggestion menu rises in, then a pill "lands" as it
   closes — the HTML stand-in for a short capture clip. */
.mock-anchor { position: relative; }
.mock-menu.pop { position: absolute; z-index: 2; min-width: 232px; animation: mock-pop 5s ease-in-out infinite; transform-origin: top left; }
@keyframes mock-pop {
  0%, 6%    { opacity: 0; transform: translateY(-5px) scale(0.98); }
  16%, 66%  { opacity: 1; transform: translateY(0) scale(1); }
  78%, 100% { opacity: 0; transform: translateY(-5px) scale(0.98); }
}
/* The typed text and the formed pill share ONE inline slot so neither reserves
   the other's width (the pill, in flow, sets the slot width; the typed text
   overlays it) — no gap, no shove. */
.mock-slot { position: relative; display: inline-block; vertical-align: baseline; }
.mock-slot .mock-landed { display: inline-block; }
.mock-slot .mock-typed { position: absolute; left: 0; top: 50%; transform: translateY(-50%); white-space: nowrap; }
.mock-typed { animation: mock-typed 5s ease-in-out infinite; }
@keyframes mock-typed { 0%, 70% { opacity: 1; } 76%, 100% { opacity: 0; } }
.mock-landed { opacity: 0; animation: mock-landed 5s ease-in-out infinite; }
@keyframes mock-landed { 0%, 72% { opacity: 0; } 80%, 96% { opacity: 1; } 100% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .mock-menu.pop { animation: none; opacity: 1; transform: none; }
  .mock-typed { animation: none; }
  .mock-landed { animation: none; opacity: 0; }
  .mock-caret { animation: none; }
}

/* The real Nomima logo (twin gradient bars + violet diagonal), inline via data-URI
   so every mockup uses the genuine mark — size it with width/height or font-size. */
.nm-logo {
  display: inline-block; width: 1em; height: 1em; vertical-align: -0.16em; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 1024'%3E%3Cdefs%3E%3ClinearGradient id='nl' x1='312' y1='97' x2='312' y2='927' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23351F96'/%3E%3Cstop offset='1' stop-color='%234256EC'/%3E%3C/linearGradient%3E%3ClinearGradient id='nr' x1='712' y1='97' x2='712' y2='927' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23FF2A94'/%3E%3Cstop offset='1' stop-color='%237E1DB4'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cline x1='312' y1='200' x2='312' y2='824' stroke='url(%23nl)' stroke-width='205' stroke-linecap='round'/%3E%3Cline x1='712' y1='200' x2='712' y2='824' stroke='url(%23nr)' stroke-width='205' stroke-linecap='round'/%3E%3Cline x1='312' y1='200' x2='712' y2='824' stroke='%235A29B6' stroke-width='205' stroke-linecap='round' opacity='0.5'/%3E%3C/svg%3E") center/contain no-repeat;
}
/* App-icon tile (dmg / About / dock): the mark on a soft dark rounded square. */
.nm-appicon-real { display: grid; place-items: center; border-radius: 22%; background: linear-gradient(160deg, #ffffff, #eef0f6); box-shadow: 0 8px 24px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.8); }
.nm-appicon-real .nm-logo { width: 62%; height: 62%; }

/* Summon orb — a glossy 3-D violet blob with a magenta undertone + glow (the real
   app's Summon button / graph-node look), not a flat gradient circle. */
.nm-orb {
  position: relative; border-radius: 50%; flex: none;
  background:
    radial-gradient(circle at 34% 28%, #b79cff 0%, #7c3aed 24%, #6d28d9 44%, #4c1d95 70%, #2e1065 100%),
    radial-gradient(circle at 72% 76%, rgba(240,72,168,0.55), transparent 46%);
  box-shadow: 0 0 20px 5px rgba(124,58,237,0.5), inset -4px -6px 12px rgba(0,0,0,0.5), inset 3px 4px 10px rgba(255,255,255,0.28);
}
.nm-orb::after {
  content: ""; position: absolute; left: 20%; top: 15%; width: 34%; height: 30%;
  border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0.6), transparent 70%); filter: blur(1px);
}
.nm-orb.spark::before {
  content: "✦"; position: absolute; inset: 0; display: grid; place-items: center;
  color: #fff; font-size: 0.5em; text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

/* Install (.dmg) drag-to-Applications layout */
.mock-dmg { display: flex; align-items: center; justify-content: center; gap: 30px; padding: 34px 22px; }
.mock-icon-col { display: flex; flex-direction: column; align-items: center; gap: 9px; }
.mock-appicon { width: 72px; height: 72px; border-radius: 17px; display: grid; place-items: center; font-size: 32px; background: linear-gradient(150deg, #23233b, #13131e); border: 1px solid var(--border); box-shadow: 0 8px 24px rgba(0,0,0,0.4); }
.mock-appicon.brand { background: linear-gradient(150deg, var(--accent), var(--accent-2)); border: none; color: #fff; }
.mock-iclabel { font-size: 11.5px; color: var(--fg-dim); }
.mock-arrow { font-size: 26px; color: var(--fg-faint); }

/* Palette / search field */
.mock-input { display: flex; align-items: center; gap: 9px; padding: 11px 13px; border-radius: 10px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); font-size: 14px; color: var(--fg); margin-bottom: 5px; }
.mock-input .k { margin-left: auto; }
.mock-res-h { font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-faint); padding: 9px 9px 3px; }

/* Reminder countdown row */
.mock-remind { display: inline-flex; align-items: center; gap: 9px; margin-top: 10px; padding: 8px 12px; border-radius: 9px; background: rgba(96,165,250,0.07); border: 1px solid rgba(96,165,250,0.22); font-size: 12.5px; color: var(--fg-dim); }
.mock-remind .bell { color: var(--blue); }
.mock-remind b { color: var(--fg); font-weight: 600; }

/* Cover graph — nodes pop in, edges draw, on a loop ("watch it connect") */
.mock-graph { width: 100%; height: 152px; display: block; }
.mock-graph .edge { stroke: rgba(255,255,255,0.18); stroke-width: 1.4; stroke-dasharray: 130; stroke-dashoffset: 130; animation: mock-draw 5.2s ease-in-out infinite; }
.mock-graph .node { transform-box: fill-box; transform-origin: center; opacity: 0; animation: mock-node 5.2s ease-in-out infinite; }
@keyframes mock-draw { 0%, 20% { stroke-dashoffset: 130; } 48%, 88% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 130; } }
@keyframes mock-node { 0%, 6% { opacity: 0; transform: scale(0.2); } 30%, 88% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(0.2); } }
@media (prefers-reduced-motion: reduce) { .mock-graph .edge { animation: none; stroke-dashoffset: 0; } .mock-graph .node { animation: none; opacity: 1; transform: none; } }

/* Mini sidebar for two-pane vignettes */
.mock-split { display: grid; grid-template-columns: 154px 1fr; }
.mock-side { border-right: 1px solid var(--border-soft); padding: 13px 10px; background: rgba(255,255,255,0.012); }
.mock-side-h { font-size: 9.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-faint); margin: 4px 6px 7px; }
.mock-nav { display: flex; align-items: center; gap: 8px; padding: 5px 8px; border-radius: 7px; font-size: 12.5px; color: var(--fg-dim); }
.mock-nav .ic { width: 15px; text-align: center; opacity: 0.8; }
.mock-nav.active { background: rgba(99,102,241,0.14); color: var(--fg); }
.mock-nav.add { color: var(--accent); }
.mock-callout { border-radius: 10px; padding: 11px 14px; margin: 10px 0 0; display: flex; align-items: center; gap: 10px; font-weight: 700; }
.mock-callout.ok { background: rgba(52,211,153,0.07); border: 1px solid rgba(52,211,153,0.3); color: var(--green); }
.mock-callout.wait { background: rgba(251,191,36,0.07); border: 1px solid rgba(251,191,36,0.3); color: var(--amber); }
