/* Nomada theme — main stylesheet (nomada.xyz). */

:root {
	--nm-bg: #f5f6fb;
	--nm-panel: #ffffff;
	--nm-alt: #edeff7;
	--nm-ink: #1b2233;
	--nm-muted: #6b7488;
	--nm-line: #e6e8f1;
	--nm-brand: #6366f1;
	--nm-brand-d: #4f46e5;
	--nm-link: #4f46e5;
	--nm-header-bg: rgba(245, 246, 251, 0.82);
	--nm-up: #16a34a;
	--nm-down: #dc2626;
	--nm-shadow: rgba(20, 28, 56, 0.08);
	--nm-shadow-lg: rgba(20, 28, 56, 0.12);
	--nm-radius: 14px;
	--nm-max: 1120px;
	color-scheme: light;
}

/* Dark palette — applied when the user picks dark, or when the OS prefers dark and
   the user hasn't explicitly forced light. */
:root[data-theme="dark"] {
	--nm-bg: #0b1120;
	--nm-panel: #111827;
	--nm-alt: #0f1729;
	--nm-ink: #e5e7eb;
	--nm-muted: #94a3b8;
	--nm-line: #1f2a3c;
	--nm-brand: #818cf8;
	--nm-brand-d: #6366f1;
	--nm-link: #a5b4fc;
	--nm-header-bg: rgba(11, 17, 32, 0.82);
	--nm-shadow: rgba(0, 0, 0, 0.35);
	--nm-shadow-lg: rgba(0, 0, 0, 0.5);
	color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
	:root:not([data-theme]) {
		--nm-bg: #0b1120;
		--nm-panel: #111827;
		--nm-alt: #0f1729;
		--nm-ink: #e5e7eb;
		--nm-muted: #94a3b8;
		--nm-line: #1f2a3c;
		--nm-brand: #818cf8;
		--nm-brand-d: #6366f1;
		--nm-link: #a5b4fc;
		--nm-header-bg: rgba(11, 17, 32, 0.82);
		--nm-shadow: rgba(0, 0, 0, 0.35);
		--nm-shadow-lg: rgba(0, 0, 0, 0.5);
		color-scheme: dark;
	}
}

/* Sepia — warm paper tones */
:root[data-theme="sepia"] {
	--nm-bg: #ece3d4;
	--nm-panel: #f7f0e3;
	--nm-alt: #f1e8d9;
	--nm-ink: #3a2e22;
	--nm-muted: #8c7a64;
	--nm-line: #ddcfb8;
	--nm-brand: #a66a33;
	--nm-brand-d: #8a5526;
	--nm-link: #8a5526;
	--nm-header-bg: rgba(247, 240, 227, 0.85);
	--nm-up: #5c7f3a;
	--nm-down: #b5462f;
	--nm-shadow: rgba(80, 55, 30, 0.10);
	--nm-shadow-lg: rgba(80, 55, 30, 0.16);
	color-scheme: light;
}

/* Neon — futuristic deep-space dark */
:root[data-theme="neon"] {
	--nm-bg: #060814;
	--nm-panel: #0e1530;
	--nm-alt: #0b1022;
	--nm-ink: #e8f0ff;
	--nm-muted: #8090b8;
	--nm-line: #1b2750;
	--nm-brand: #22d3ee;
	--nm-brand-d: #06b6d4;
	--nm-link: #67e8f9;
	--nm-header-bg: rgba(6, 8, 20, 0.82);
	--nm-up: #34d399;
	--nm-down: #fb7185;
	--nm-shadow: rgba(0, 0, 0, 0.5);
	--nm-shadow-lg: rgba(0, 0, 0, 0.6);
	color-scheme: dark;
}

/* Graphite — monochrome black & gray */
:root[data-theme="graphite"] {
	--nm-bg: #0c0c0d;
	--nm-panel: #1c1c1f;
	--nm-alt: #161618;
	--nm-ink: #ececee;
	--nm-muted: #9b9ba1;
	--nm-line: #2b2b2e;
	--nm-brand: #c7c7cc;
	--nm-brand-d: #a1a1a6;
	--nm-link: #d4d4d8;
	--nm-header-bg: rgba(12, 12, 13, 0.82);
	--nm-up: #d4d4d8;
	--nm-down: #76767b;
	--nm-shadow: rgba(0, 0, 0, 0.5);
	--nm-shadow-lg: rgba(0, 0, 0, 0.6);
	color-scheme: dark;
}

/* Cyberpunk — magenta + cyan neon */
:root[data-theme="cyberpunk"] {
	--nm-bg: #0a0612;
	--nm-panel: #170c29;
	--nm-alt: #120a20;
	--nm-ink: #f6e9ff;
	--nm-muted: #b58fd8;
	--nm-line: #341851;
	--nm-brand: #ff2bd6;
	--nm-brand-d: #d61bb3;
	--nm-link: #19e6ff;
	--nm-header-bg: rgba(10, 6, 18, 0.82);
	--nm-up: #19e6ff;
	--nm-down: #ff3b6b;
	--nm-shadow: rgba(0, 0, 0, 0.5);
	--nm-shadow-lg: rgba(0, 0, 0, 0.62);
	color-scheme: dark;
}

/* Sakura — soft pinks and creams */
:root[data-theme="sakura"] {
	--nm-bg: #fdf2f5;
	--nm-panel: #fffafc;
	--nm-alt: #fbe7ee;
	--nm-ink: #4a2c39;
	--nm-muted: #a9788a;
	--nm-line: #f4d6e0;
	--nm-brand: #e0608c;
	--nm-brand-d: #c64d77;
	--nm-link: #c64d77;
	--nm-header-bg: rgba(253, 242, 245, 0.85);
	--nm-up: #6aa67a;
	--nm-down: #d4596b;
	--nm-shadow: rgba(150, 80, 100, 0.10);
	--nm-shadow-lg: rgba(150, 80, 100, 0.16);
	color-scheme: light;
}

/* Forest — dark green with emerald accents */
:root[data-theme="forest"] {
	--nm-bg: #07140e;
	--nm-panel: #0e2419;
	--nm-alt: #0a1b13;
	--nm-ink: #def3e8;
	--nm-muted: #84a896;
	--nm-line: #173c2b;
	--nm-brand: #34d399;
	--nm-brand-d: #10b981;
	--nm-link: #6ee7b7;
	--nm-header-bg: rgba(7, 20, 14, 0.82);
	--nm-up: #4ade80;
	--nm-down: #f87171;
	--nm-shadow: rgba(0, 0, 0, 0.45);
	--nm-shadow-lg: rgba(0, 0, 0, 0.55);
	color-scheme: dark;
}

/* Tokyo Night — dark blue-purple */
:root[data-theme="tokyo"] {
	--nm-bg: #16161e;
	--nm-panel: #222433;
	--nm-alt: #1a1b26;
	--nm-ink: #c0caf5;
	--nm-muted: #828bb8;
	--nm-line: #2c2f44;
	--nm-brand: #7aa2f7;
	--nm-brand-d: #5d7fd6;
	--nm-link: #bb9af7;
	--nm-header-bg: rgba(22, 22, 30, 0.82);
	--nm-up: #9ece6a;
	--nm-down: #f7768e;
	--nm-shadow: rgba(0, 0, 0, 0.45);
	--nm-shadow-lg: rgba(0, 0, 0, 0.55);
	color-scheme: dark;
}

/* Gold — black with gold highlights */
:root[data-theme="gold"] {
	--nm-bg: #0b0a07;
	--nm-panel: #1a1810;
	--nm-alt: #14120b;
	--nm-ink: #f3ecd9;
	--nm-muted: #b3a279;
	--nm-line: #2c2716;
	--nm-brand: #e3b341;
	--nm-brand-d: #c9992f;
	--nm-link: #f0c75e;
	--nm-header-bg: rgba(11, 10, 7, 0.82);
	--nm-up: #9bc24a;
	--nm-down: #d9663f;
	--nm-shadow: rgba(0, 0, 0, 0.5);
	--nm-shadow-lg: rgba(0, 0, 0, 0.6);
	color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: var(--nm-ink);
	background: var(--nm-bg);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	transition: background-color .2s ease, color .2s ease;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .4em; text-wrap: balance; }
/* Avoid orphan/widow lines (a lone word on the last line) in centered marketing copy. */
.nm-hero__sub, .nm-section__head p, .nm-404__sub, .nm-cta__note, .nm-hero__note { text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 700; }
p { margin: 0 0 1rem; }

.nm-container { width: 100%; max-width: var(--nm-max); margin: 0 auto; padding: 0 24px; }
.nm-center { text-align: center; }

/* Buttons */
.nm-btn {
	display: inline-flex; align-items: center; justify-content: center;
	font-weight: 600; text-decoration: none; cursor: pointer;
	border-radius: 10px; padding: 11px 18px; border: 1px solid transparent;
	transition: transform .08s ease, filter .15s ease, background .15s ease;
}
.nm-btn:active { transform: translateY(1px); }
.nm-btn--primary { background: var(--nm-brand); color: #fff; box-shadow: 0 6px 20px rgba(99,102,241,.32); }
.nm-btn--primary:hover { background: var(--nm-brand-d); }
.nm-btn--ghost { background: var(--nm-panel); border-color: var(--nm-line); color: var(--nm-ink); }
.nm-btn--ghost:hover { background: var(--nm-alt); }
.nm-btn--lg { padding: 14px 24px; font-size: 1.05rem; }
.nm-btn--block { width: 100%; }
.nm-link { color: var(--nm-link); font-weight: 600; text-decoration: none; }
.nm-link:hover { text-decoration: underline; }

/* Dark-mode toggle */
.nm-theme-toggle {
	display: none; /* Theme toggle now lives in the app's Custom tab. */
	place-items: center;
	width: 38px; height: 38px; border-radius: 10px;
	border: 1px solid var(--nm-line); background: var(--nm-panel); color: var(--nm-ink);
	cursor: pointer; font-size: 1rem; line-height: 1; padding: 0;
	transition: background .15s ease;
}
.nm-theme-toggle:hover { background: var(--nm-alt); }
.nm-theme-toggle .nm-ico-sun { display: none; }
.nm-theme-toggle .nm-ico-moon { display: inline; }
.nm-theme-toggle[data-state="dark"] .nm-ico-moon { display: none; }
.nm-theme-toggle[data-state="dark"] .nm-ico-sun { display: inline; }

/* Header */
.nm-header { position: sticky; top: 0; z-index: 50; background: var(--nm-header-bg); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--nm-line); }
.nm-header__inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.nm-brand__link { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 800; font-size: 1.15rem; }
.nm-brand__mark { color: var(--nm-brand); font-size: 1.3em; }
.nm-nav { margin-left: 8px; }
.nm-nav__list { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nm-nav__list a { text-decoration: none; color: var(--nm-muted); font-weight: 500; font-size: .95rem; }
.nm-nav__list a:hover { color: var(--nm-ink); }
.nm-header__cta { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.nm-header__cta .nm-link { font-size: .95rem; }
.nm-header__cta .nm-btn { padding-top: 8px; padding-bottom: 8px; }
.nm-burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nm-burger span { width: 22px; height: 2px; background: var(--nm-ink); border-radius: 2px; }

/* Full-width app screen (holds the [nomada_app] dashboard) */
.nm-app-screen { width: 100%; }
.nm-main { overflow-x: clip; }

/* Hero */
.nm-hero { padding: 72px 0 40px; background: radial-gradient(1200px 500px at 50% -10%, rgba(99,102,241,.12), transparent 60%); text-align: center; }
.nm-eyebrow { color: var(--nm-link); font-weight: 600; font-size: .9rem; letter-spacing: .02em; margin-bottom: 14px; }
.nm-hero__title { max-width: 880px; margin: 0 auto .5em; }
.nm-hero__sub { max-width: 640px; margin: 0 auto 28px; color: var(--nm-muted); font-size: 1.15rem; }
.nm-hero__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.nm-hero__note { color: var(--nm-muted); font-size: .9rem; margin-top: 14px; }

.nm-hero__preview { margin-top: 50px; }
.nm-preview { max-width: 880px; margin: 0 auto; background: var(--nm-panel); border: 1px solid var(--nm-line); border-radius: 18px; box-shadow: 0 30px 80px var(--nm-shadow-lg); overflow: hidden; text-align: left; }
.nm-preview__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--nm-line); background: var(--nm-alt); }
.nm-preview__dot { width: 11px; height: 11px; border-radius: 50%; background: #cbd5e1; }
.nm-preview__url { margin-left: 12px; font-size: .82rem; color: var(--nm-muted); }
.nm-preview__cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 20px; }
.nm-preview__cards div { background: var(--nm-alt); border: 1px solid var(--nm-line); border-radius: 11px; padding: 14px; }
.nm-preview__cards small { color: var(--nm-muted); font-size: .76rem; display: block; }
.nm-preview__cards strong { font-size: 1.5rem; display: block; margin-top: 4px; }
.nm-preview__cards i { font-style: normal; font-size: .78rem; font-weight: 600; }
.nm-preview__cards i.up { color: var(--nm-up); }
.nm-preview__cards i.down { color: var(--nm-down); }
.nm-preview__chart { display: block; width: 100%; height: 160px; padding: 0 12px 12px; }

/* Animated hero preview — draws in, gently floats, morphs to bars on hover */
.nm-preview { position: relative; animation: nm-float 7s ease-in-out infinite; }
.nm-preview:hover { animation-play-state: paused; }
.nm-preview__g1 { stop-color: var(--nm-brand); stop-opacity: 0.35; }
.nm-preview__g2 { stop-color: var(--nm-brand); stop-opacity: 0; }
.nm-preview__area { transition: opacity 0.35s ease; }
.nm-preview__line { stroke: var(--nm-brand); stroke-dasharray: 1300; stroke-dashoffset: 1300; animation: nm-draw 1.8s ease-out 0.25s forwards; }
.nm-preview__fill { opacity: 0; animation: nm-fade 1.1s ease 0.5s forwards; }
.nm-preview__bars rect { fill: var(--nm-brand); opacity: 0; transform-box: fill-box; transform-origin: bottom; transform: scaleY(0); transition: transform 0.5s cubic-bezier(0.2, 0.85, 0.25, 1), opacity 0.25s ease; }
.nm-preview:hover .nm-preview__area { opacity: 0; }
.nm-preview:hover .nm-preview__bars rect { opacity: 0.92; transform: scaleY(1); transition-delay: calc(var(--i) * 32ms); }
.nm-preview__cards div { animation: nm-rise 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) backwards; }
.nm-preview__cards div:nth-child(1) { animation-delay: 0.10s; }
.nm-preview__cards div:nth-child(2) { animation-delay: 0.18s; }
.nm-preview__cards div:nth-child(3) { animation-delay: 0.26s; }
.nm-preview__cards div:nth-child(4) { animation-delay: 0.34s; }
.nm-preview__hint { position: absolute; right: 18px; bottom: 14px; font-size: 0.72rem; color: var(--nm-muted); background: var(--nm-panel); border: 1px solid var(--nm-line); border-radius: 999px; padding: 3px 11px; opacity: 0.85; transition: opacity 0.3s ease; pointer-events: none; }
.nm-preview:hover .nm-preview__hint { opacity: 0; }
@keyframes nm-draw { to { stroke-dashoffset: 0; } }
@keyframes nm-fade { to { opacity: 1; } }
@keyframes nm-rise { from { opacity: 0; transform: translateY(12px); } }
@keyframes nm-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) {
	.nm-preview, .nm-preview__line, .nm-preview__fill, .nm-preview__cards div { animation: none; }
	.nm-preview__line { stroke-dashoffset: 0; }
	.nm-preview__fill { opacity: 1; }
	.nm-preview__bars rect { transition: opacity 0.2s ease; }
}

/* Trust strip */
.nm-trust { border-top: 1px solid var(--nm-line); border-bottom: 1px solid var(--nm-line); background: var(--nm-alt); }
.nm-trust__inner { display: flex; flex-wrap: wrap; gap: 14px 36px; justify-content: center; padding: 18px 24px; }
.nm-trust__inner span { color: var(--nm-muted); font-weight: 600; font-size: .9rem; position: relative; padding-left: 20px; }
.nm-trust__inner span::before { content: "✓"; position: absolute; left: 0; color: var(--nm-brand); }

/* Sections */
.nm-section { padding: 72px 0; }
.nm-section--alt { background: var(--nm-alt); }
.nm-section__head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.nm-section__head p { color: var(--nm-muted); font-size: 1.1rem; margin: 0; }
.nm-section__head .nm-hero__cta { margin-top: 30px; }

/* Features */
.nm-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.nm-feature { background: var(--nm-panel); border: 1px solid var(--nm-line); border-radius: var(--nm-radius); padding: 22px; transition: transform .12s ease, box-shadow .12s ease; }
.nm-feature:hover { transform: translateY(-3px); box-shadow: 0 16px 40px var(--nm-shadow); }
.nm-feature__icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: rgba(99,102,241,.14); color: var(--nm-brand); font-size: 1.2rem; margin-bottom: 12px; flex: none; }
.nm-feature h3 { font-size: 1.08rem; margin: 0 0 6px; }
.nm-feature p { color: var(--nm-muted); margin: 0; font-size: .95rem; }

/* Icon cards: put the icon beside the text (media-object), not stacked above it. */
.nm-feature:has(> .nm-feature__icon) {
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-areas: "icon title" "icon body";
	column-gap: 15px;
	align-items: start;
}
.nm-feature:has(> .nm-feature__icon) .nm-feature__icon { grid-area: icon; margin-bottom: 0; }
.nm-feature:has(> .nm-feature__icon) h3 { grid-area: title; align-self: center; }
.nm-feature:has(> .nm-feature__icon) p  { grid-area: body; }

/* Install */
.nm-install { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.nm-install__copy, .nm-install__code { min-width: 0; }
.nm-install__copy h2 { text-align: left; }
.nm-check { list-style: none; margin: 18px 0 0; padding: 0; }
.nm-check li { position: relative; padding-left: 28px; margin-bottom: 10px; color: var(--nm-muted); }
.nm-check li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #fff; background: var(--nm-brand); width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; }
pre { background: #0b1120; color: #e2e8f0; border: 1px solid var(--nm-line); border-radius: 12px; padding: 18px 20px; overflow-x: auto; max-width: 100%; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88rem; line-height: 1.6; margin: 0 0 14px; }
pre.nm-code--muted { background: #111827; color: #94a3b8; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

/* Privacy */
.nm-privacy__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 880px; margin: 0 auto; }
.nm-privacy__item { background: var(--nm-panel); border: 1px solid var(--nm-line); border-radius: var(--nm-radius); padding: 22px; }
.nm-privacy__item h3 { font-size: 1.05rem; }
.nm-privacy__item p { color: var(--nm-muted); margin: 0; font-size: .95rem; }

/* Pricing */
.nm-pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.nm-plan { background: var(--nm-panel); border: 1px solid var(--nm-line); border-radius: 18px; padding: 28px; position: relative; }
.nm-plan--featured { border-color: var(--nm-brand); box-shadow: 0 20px 60px rgba(99,102,241,.18); transform: translateY(-6px); }
.nm-plan__badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--nm-brand); color: #fff; font-size: .72rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; }
.nm-plan__name { font-size: 1.2rem; }
.nm-plan__price { margin: 6px 0 4px; }
.nm-plan__amount { font-size: 2.4rem; font-weight: 800; }
.nm-plan__period { color: var(--nm-muted); }
.nm-plan__blurb { color: var(--nm-muted); font-size: .92rem; min-height: 2.6em; }
.nm-plan__features { list-style: none; margin: 16px 0 22px; padding: 0; }
.nm-plan__features li { position: relative; padding-left: 26px; margin-bottom: 9px; font-size: .94rem; }
.nm-plan__features li::before { content: "✓"; position: absolute; left: 0; color: var(--nm-brand); font-weight: 700; }

/* FAQ */
.nm-faq { max-width: 760px; margin: 0 auto; }
.nm-faq__item { background: var(--nm-panel); border: 1px solid var(--nm-line); border-radius: 12px; padding: 6px 20px; margin-bottom: 12px; }
.nm-faq__item summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; }
.nm-faq__item summary::-webkit-details-marker { display: none; }
.nm-faq__item summary::after { content: "+"; float: right; color: var(--nm-brand); font-weight: 700; }
.nm-faq__item[open] summary::after { content: "–"; }
.nm-faq__item p { color: var(--nm-muted); margin: 0 0 14px; }

/* CTA */
.nm-cta { padding: 80px 0; text-align: center; background: linear-gradient(180deg, var(--nm-alt), var(--nm-bg)); }
.nm-cta__inner h2 { max-width: 640px; margin: 0 auto 24px; }

/* Docs / prose */
.nm-prose { max-width: 760px; margin: 0 auto; }
.nm-prose h2 { margin-top: 2em; }
.nm-prose pre { margin: 1em 0; }
.nm-table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.nm-table th, .nm-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--nm-line); font-size: .92rem; }
.nm-table th { color: var(--nm-muted); font-weight: 600; }
.nm-pagehead { padding-bottom: 0; }
.nm-page-title { margin-bottom: .6em; }

/* Blog */
.nm-postlist { display: grid; gap: 22px; max-width: 760px; margin: 0 auto; }
.nm-postcard { border-bottom: 1px solid var(--nm-line); padding-bottom: 22px; }
.nm-postcard__title a { text-decoration: none; }
.nm-postcard__meta { color: var(--nm-muted); font-size: .85rem; }

/* Footer */
.nm-footer { border-top: 1px solid var(--nm-line); background: var(--nm-alt); padding: 48px 0 28px; }
.nm-footer__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.nm-footer__brand { display: flex; flex-direction: column; align-items: center; }
.nm-footer__tag { color: var(--nm-muted); font-size: .92rem; margin: 10px 0 0; }
.nm-footer__list { display: flex; gap: 18px 26px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; justify-content: center; }
.nm-footer__list a { text-decoration: none; color: var(--nm-muted); font-size: .92rem; }
.nm-footer__list a:hover { color: var(--nm-ink); }
.nm-footer__legal { display: flex; justify-content: center; align-items: center; gap: 8px 18px; flex-wrap: wrap; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--nm-line); color: var(--nm-muted); font-size: .85rem; text-align: center; }
.nm-footer__badge { font-weight: 600; }

/* Responsive */
@media (max-width: 880px) {
	.nm-features { grid-template-columns: 1fr 1fr; }
	.nm-install { grid-template-columns: 1fr; }
	.nm-pricing { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
	.nm-plan--featured { transform: none; }
	.nm-preview__cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
	.nm-nav, .nm-header__cta .nm-link { display: none; }
	.nm-burger { display: flex; }
	.nm-nav.is-open { display: block; position: absolute; top: 68px; left: 0; right: 0; background: var(--nm-panel); border-bottom: 1px solid var(--nm-line); padding: 16px 24px; }
	.nm-nav.is-open .nm-nav__list { flex-direction: column; gap: 14px; }
	.nm-features, .nm-privacy__grid { grid-template-columns: 1fr; }
}

/* Privacy page — header pill + fine print */
.nm-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.nm-badge--cookieless { color: var(--nm-up); background: rgba(22, 163, 74, 0.12); }
.nm-fineprint { color: var(--nm-muted); font-size: 13px; margin-top: 28px; }

/* [nomada_badge] — embeddable "no cookie banner" proof badge */
.nm-cbadge { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; padding: 8px 14px; border-radius: 12px; border: 1px solid var(--nm-line); line-height: 1.2; transition: box-shadow .15s ease, transform .15s ease; }
.nm-cbadge:hover { box-shadow: 0 6px 18px var(--nm-shadow); transform: translateY(-1px); }
.nm-cbadge--light { background: #ffffff; color: #0f172a; }
.nm-cbadge--dark { background: #0b1120; color: #e5e7eb; border-color: #1f2a3c; }
.nm-cbadge__ico { font-size: 20px; }
.nm-cbadge__txt { display: flex; flex-direction: column; }
.nm-cbadge__txt strong { font-size: 13px; font-weight: 700; }
.nm-cbadge__txt small { font-size: 11px; opacity: 0.7; }

/* How-it-works steps */
.nm-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.nm-step { background: var(--nm-panel); border: 1px solid var(--nm-line); border-radius: var(--nm-radius); padding: 24px; box-shadow: 0 1px 2px var(--nm-shadow); }
.nm-step__n { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; background: var(--nm-brand); color: #fff; font-weight: 700; margin-bottom: 14px; }
.nm-step h3 { margin: 0 0 6px; font-size: 17px; }
.nm-step p { margin: 0; color: var(--nm-muted); }

.nm-cta__note { margin-top: 14px; font-size: 14px; opacity: 0.85; }

/* Three pillars (privacy / widgets / public stats) */
.nm-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.nm-pillar { background: var(--nm-panel); border: 1px solid var(--nm-line); border-radius: 16px; padding: 24px; box-shadow: 0 1px 2px var(--nm-shadow); display: flex; flex-direction: column; transition: transform .12s ease, box-shadow .12s ease; }
.nm-pillar:hover { transform: translateY(-3px); box-shadow: 0 16px 40px var(--nm-shadow); }
.nm-pillar h3 { margin: 0 0 8px; font-size: 1.2rem; }
.nm-pillar p { color: var(--nm-muted); margin: 0 0 16px; }
.nm-pillar .nm-link { margin-top: auto; font-weight: 600; }
.nm-pillar__art { height: 104px; border-radius: 12px; border: 1px solid var(--nm-line); background: var(--nm-alt); margin-bottom: 18px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; flex-wrap: wrap; overflow: hidden; }
.nm-chip { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--nm-panel); border: 1px solid var(--nm-line); color: var(--nm-muted); }
.nm-chip--ok { color: var(--nm-up); border-color: rgba(22, 163, 74, 0.35); }
.nm-pillar__art--widget { flex-direction: column; }
.nm-wbadge { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 700; color: var(--nm-ink); background: var(--nm-panel); border: 1px solid var(--nm-line); padding: 7px 12px; border-radius: 10px; box-shadow: 0 2px 6px var(--nm-shadow); }
.nm-wbadge__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--nm-up); animation: nm-pulse 1.8s infinite; }
.nm-wbadge strong { font-weight: 800; }
.nm-wspark { width: 120px; height: 24px; color: var(--nm-brand); }
@keyframes nm-pulse { 0% { box-shadow: 0 0 0 0 rgba(22,163,74,.5); } 70% { box-shadow: 0 0 0 8px rgba(22,163,74,0); } 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); } }
.nm-urlbar { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--nm-muted); background: var(--nm-panel); border: 1px solid var(--nm-line); border-radius: 10px; padding: 9px 12px; max-width: 100%; }
.nm-urlbar b { color: var(--nm-ink); }
.nm-tag-public { margin-left: 4px; font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--nm-up); background: rgba(22, 163, 74, 0.14); padding: 2px 7px; border-radius: 999px; }

/* Support page */
.nm-support { display: grid; grid-template-columns: 1fr 1.4fr; gap: 36px; align-items: start; }
.nm-support__aside { display: flex; flex-direction: column; gap: 16px; }
.nm-support__card { background: var(--nm-panel); border: 1px solid var(--nm-line); border-radius: var(--nm-radius); padding: 18px 20px; }
.nm-support__card h3 { margin: 0 0 6px; font-size: 15px; }
.nm-support__card p { margin: 0 0 8px; color: var(--nm-muted); font-size: 14px; }
.nm-support__main { background: var(--nm-panel); border: 1px solid var(--nm-line); border-radius: var(--nm-radius); padding: 26px; box-shadow: 0 8px 30px var(--nm-shadow); }

/* Forms */
.nm-form { display: flex; flex-direction: column; gap: 16px; }
.nm-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.nm-field { display: flex; flex-direction: column; gap: 6px; }
.nm-field > span { font-size: 13px; font-weight: 600; color: var(--nm-muted); }
.nm-field input, .nm-field textarea { font: inherit; font-size: 15px; padding: 11px 13px; border: 1px solid var(--nm-line); border-radius: 10px; background: var(--nm-bg); color: var(--nm-ink); width: 100%; }
.nm-field textarea { resize: vertical; min-height: 120px; }
.nm-field input:focus, .nm-field textarea:focus { outline: none; border-color: var(--nm-brand); box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18); }
.nm-form .nm-btn { align-self: flex-start; }
.nm-form__fine { font-size: 13px; color: var(--nm-muted); margin: 0; }
.nm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.nm-formmsg { padding: 13px 16px; border-radius: 11px; margin-bottom: 18px; font-weight: 600; }
.nm-formmsg.is-ok { background: rgba(22, 163, 74, 0.12); color: var(--nm-up); }
.nm-formmsg.is-err { background: rgba(220, 38, 38, 0.10); color: var(--nm-down); }

@media (max-width: 860px) {
	.nm-steps { grid-template-columns: 1fr; }
	.nm-support { grid-template-columns: 1fr; }
	.nm-pillars { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
}
@media (max-width: 640px) {
	.nm-section { padding: 48px 0; }
	.nm-section__head { margin-bottom: 30px; }
	.nm-hero { padding: 44px 0 24px; }
	.nm-hero__preview { margin-top: 30px; }
	.nm-cta { padding: 54px 0; }
	.nm-container { padding: 0 18px; }
	.nm-hero__cta { flex-direction: column; }
	.nm-hero__cta .nm-btn { width: 100%; }
	.nm-404__cta .nm-btn, .nm-404__search input { width: 100%; }
	pre { overflow-x: auto; max-width: 100%; }
}
@media (max-width: 560px) {
	.nm-form__row { grid-template-columns: 1fr; }
	.nm-footer__inner, .nm-footer__legal { flex-direction: column; }
	.nm-preview__cards { grid-template-columns: 1fr 1fr; }
}

/* 404 — "lost signal" */
.nm-404 { padding: 70px 0 100px; text-align: center; }
.nm-404__inner { max-width: 700px; }
.nm-404__num { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; line-height: 1; font-size: clamp(72px, 16vw, 150px); letter-spacing: -0.04em; background: linear-gradient(120deg, var(--nm-brand), #22d3ee); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nm-404__zero { display: inline-flex; width: 0.84em; height: 0.84em; }
.nm-404__radar { width: 100%; height: 100%; overflow: visible; }
.nm-404__ring-o, .nm-404__ring-i { stroke: var(--nm-brand); stroke-width: 6; opacity: 0.5; }
.nm-404__cross { stroke: var(--nm-line); stroke-width: 3; }
.nm-404__sweep path { fill: var(--nm-brand); opacity: 0.18; transform-origin: 60px 60px; animation: nm-404-spin 3s linear infinite; }
.nm-404__blip { fill: var(--nm-brand); animation: nm-404-blip 3s ease-in-out infinite; }
@keyframes nm-404-spin { to { transform: rotate(360deg); } }
@keyframes nm-404-blip { 0%, 42%, 100% { opacity: 0; } 56% { opacity: 1; } }
.nm-404__chart-wrap { max-width: 480px; margin: 4px auto 30px; }
.nm-404__chart { width: 100%; height: 90px; display: block; }
.nm-404__stop-top { stop-color: var(--nm-brand); stop-opacity: 0.32; }
.nm-404__stop-bot { stop-color: var(--nm-brand); stop-opacity: 0; }
.nm-404__area { fill: url(#nm404g); }
.nm-404__line { stroke: var(--nm-brand); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.nm-404__flat { stroke: var(--nm-muted); stroke-width: 2; stroke-dasharray: 3 6; opacity: 0.6; }
.nm-404__dot { fill: var(--nm-brand); }
.nm-404__dot-ring { stroke: var(--nm-brand); stroke-width: 2; }
.nm-404__title { font-size: clamp(26px, 4.5vw, 38px); margin: 6px 0 12px; }
.nm-404__sub { color: var(--nm-muted); font-size: 17px; max-width: 620px; margin: 0 auto 28px; line-height: 1.6; }
.nm-404__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.nm-404__search { display: flex; gap: 8px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.nm-404__search input { padding: 11px 15px; border: 1px solid var(--nm-line); border-radius: 10px; background: var(--nm-panel); color: var(--nm-ink); font: inherit; min-width: 240px; }
.nm-404__search input:focus { outline: none; border-color: var(--nm-brand); box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18); }

/* Comparison pages */
.nm-ctable-wrap { overflow-x: auto; max-width: 820px; margin: 0 auto; border: 1px solid var(--nm-line); border-radius: var(--nm-radius); }
.nm-ctable { width: 100%; border-collapse: collapse; font-size: .98rem; min-width: 560px; }
.nm-ctable th, .nm-ctable td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--nm-line); }
.nm-ctable thead th { font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--nm-muted); background: var(--nm-alt); }
.nm-ctable thead th.is-us { color: var(--nm-brand); background: rgba(99, 102, 241, 0.12); }
.nm-ctable tbody th { font-weight: 600; color: var(--nm-ink); width: 34%; }
.nm-ctable tbody td { color: var(--nm-muted); }
.nm-ctable td.is-us { background: rgba(99, 102, 241, 0.07); color: var(--nm-ink); font-weight: 600; }
.nm-ctable tbody tr:last-child th, .nm-ctable tbody tr:last-child td { border-bottom: 0; }
.nm-compare__reasons { max-width: 720px; margin: 0 auto; }
.nm-compare__fair { max-width: 720px; margin: 24px auto 0; color: var(--nm-muted); font-size: .95rem; padding: 16px 18px; background: var(--nm-panel); border: 1px solid var(--nm-line); border-radius: 12px; }
.nm-compare__fair strong { color: var(--nm-ink); }
.nm-compare__pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }
.nm-pill-link { display: inline-flex; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--nm-line); background: var(--nm-panel); color: var(--nm-ink); text-decoration: none; font-weight: 600; font-size: .9rem; transition: border-color .12s ease, color .12s ease; }
.nm-pill-link:hover { border-color: var(--nm-brand); color: var(--nm-brand); }
.nm-compare__card { text-decoration: none; display: flex; flex-direction: column; }
.nm-compare__card .nm-link { margin-top: auto; padding-top: 10px; font-weight: 600; }

/* Social proof / testimonials */
.nm-proof { background: linear-gradient(180deg, rgba(99,102,241,.07), rgba(99,102,241,.02)); }
.nm-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.nm-quote {
	background: var(--nm-panel); border: 1px solid var(--nm-line); border-radius: 16px;
	padding: 24px; box-shadow: 0 12px 34px var(--nm-shadow); display: flex; flex-direction: column; gap: 14px; margin: 0;
}
.nm-stars { color: #f5b50a; font-size: 1rem; letter-spacing: 2px; line-height: 1; }
.nm-quote blockquote { margin: 0; color: var(--nm-ink); font-size: 1.02rem; line-height: 1.6; font-weight: 500; }
.nm-quote__by { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.nm-quote__avatar {
	width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center;
	background: var(--nm-brand); color: #fff; font-weight: 700; font-size: 1rem;
}
.nm-quote__id { display: flex; flex-direction: column; line-height: 1.3; }
.nm-quote__id b { color: var(--nm-ink); font-size: .95rem; }
.nm-quote__id small { color: var(--nm-muted); font-size: .85rem; }
.nm-proof__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin: 34px 0 0; color: var(--nm-muted); font-weight: 600; font-size: .9rem; }
@media (max-width: 860px) { .nm-quotes { grid-template-columns: 1fr; max-width: 540px; margin: 0 auto; } }

/* Compare hub: at-a-glance list + honesty note */
.nm-compare__glance { max-width: 720px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 28px; }
.nm-compare__glance li strong { color: var(--nm-ink); }
.nm-compare__why { max-width: 760px; margin: 0 auto; }
.nm-compare__why h2 { text-wrap: balance; margin-bottom: 14px; }
.nm-compare__why p { color: var(--nm-muted); line-height: 1.75; margin: 0 0 16px; }
@media (max-width: 640px) { .nm-compare__glance { grid-template-columns: 1fr; } }

/* Wide page-head heading kept to a single line on desktop (wraps on small screens) */
.nm-head--nowrap { max-width: none; }
.nm-head--nowrap h1 { white-space: nowrap; font-size: clamp(1.7rem, 4.3vw, 2.9rem); }
@media (max-width: 800px) { .nm-head--nowrap h1 { white-space: normal; } }

/* Solution / use-case landing pages */
.nm-solution__intro { max-width: 760px; margin: 0 auto; }
.nm-solution__intro h2 { margin-bottom: 16px; text-wrap: balance; }
.nm-solution__intro p { color: var(--nm-muted); font-size: 1.06rem; line-height: 1.75; margin: 0 0 16px; }
.nm-solution__proof { max-width: 760px; margin: 0 auto; }
.nm-solution__proof h2 { margin-bottom: 6px; text-wrap: balance; }
.nm-faq__list { max-width: 760px; margin: 0 auto; }

/* ── Feature pages: Embeddable widgets ───────────────────────────────── */
.nm-wgallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.nm-wcard {
	background: var(--nm-panel); border: 1px solid var(--nm-line); border-radius: 16px;
	padding: 20px; box-shadow: 0 12px 34px var(--nm-shadow);
	opacity: 0; animation: nm-pop .6s cubic-bezier(.2,.85,.25,1) var(--d, 0s) both;
}
@keyframes nm-pop { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.nm-wcard__label { display: block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--nm-muted); margin-bottom: 12px; }
.nm-wcard__meta { display: block; font-size: .78rem; color: var(--nm-muted); margin-top: 6px; }
.nm-wcard__big { font-size: 1.9rem; font-weight: 800; color: var(--nm-ink); display: block; margin-bottom: 8px; }
.nm-wcount { display: flex; align-items: center; gap: 10px; }
.nm-wcount strong { font-size: 2.1rem; font-weight: 800; color: var(--nm-ink); line-height: 1; }
.nm-wcount__dot { width: 11px; height: 11px; border-radius: 50%; background: var(--nm-up); animation: nm-pulse 1.8s infinite; }
.nm-fspark { width: 100%; height: 56px; color: var(--nm-brand); display: block; }
.nm-fspark__line { stroke: var(--nm-brand); stroke-dasharray: 600; stroke-dashoffset: 600; animation: nm-draw 1.6s ease-out .4s forwards; }
.nm-wbars { display: flex; flex-direction: column; gap: 10px; }
.nm-wbar__l { display: flex; justify-content: space-between; font-size: .8rem; color: var(--nm-muted); }
.nm-wbar__l b { color: var(--nm-ink); font-weight: 700; }
.nm-wbar__t { display: block; height: 6px; margin-top: 5px; background: var(--nm-alt); border-radius: 999px; overflow: hidden; }
.nm-wbar__t i { display: block; height: 100%; width: var(--w, 50%); background: var(--nm-brand); border-radius: 999px; transform-origin: left; animation: nm-grow 1.1s cubic-bezier(.2,.85,.25,1) .5s both; }
@keyframes nm-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.nm-embed-wrap { max-width: 760px; margin: 0 auto; }
.nm-embed {
	background: #0b1020; color: #e2e8f0; border: 1px solid var(--nm-line); border-radius: 14px;
	padding: 20px 22px; overflow-x: auto; font-size: .9rem; line-height: 1.6;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; box-shadow: 0 12px 34px var(--nm-shadow);
}
.nm-embed code { color: inherit; background: none; }
.nm-embed-note { color: var(--nm-muted); font-size: .92rem; margin-top: 14px; text-align: center; }

/* ── Feature pages: Public dashboards ────────────────────────────────── */
.nm-fbrowser { max-width: 820px; margin: 0 auto; animation: nm-float 7s ease-in-out infinite; }
.nm-vis-wrap { max-width: 760px; margin: 0 auto; }
.nm-vistoggles { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.nm-vtoggle {
	display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
	font-weight: 600; font-size: .9rem; border: 1px solid var(--nm-line); background: var(--nm-panel);
	opacity: 0; animation: nm-pop .5s ease var(--d, 0s) both;
}
.nm-vtoggle i { font-style: normal; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; font-size: .68rem; color: #fff; }
.nm-vtoggle.is-on { color: var(--nm-ink); border-color: rgba(22,163,74,.35); }
.nm-vtoggle.is-on i { background: var(--nm-up); }
.nm-vtoggle.is-off { color: var(--nm-muted); background: var(--nm-alt); }
.nm-vtoggle.is-off i { background: var(--nm-muted); }

@media (max-width: 860px) {
	.nm-wgallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
	.nm-wgallery { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	.nm-wcard, .nm-fbrowser { animation: none; opacity: 1; transform: none; }
	.nm-fspark__line { stroke-dashoffset: 0; animation: none; }
	.nm-wbar__t i { animation: none; }
	.nm-vtoggle { animation: none; opacity: 1; transform: none; }
}

/* ───────────────────────────── Documentation ───────────────────────────── */
.nm-docs-layout { display: grid; grid-template-columns: 234px minmax(0, 1fr); gap: 48px; align-items: start; }
.nm-docs-layout .nm-prose { max-width: 820px; margin: 0; }
.nm-toc { position: sticky; top: 88px; align-self: start; max-height: calc(100vh - 108px); overflow-y: auto; padding-right: 6px; font-size: .9rem; }
.nm-toc__group { margin-bottom: 18px; }
.nm-toc__label { display: block; font-weight: 700; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--nm-muted); margin-bottom: 8px; }
.nm-toc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1px; }
.nm-toc a { display: block; color: var(--nm-muted); text-decoration: none; padding: 4px 0 4px 12px; border-left: 2px solid var(--nm-line); line-height: 1.35; }
.nm-toc a:hover { color: var(--nm-ink); border-left-color: var(--nm-brand); }
.nm-docs-layout .nm-prose > h2 { scroll-margin-top: 88px; border-top: 1px solid var(--nm-line); padding-top: 1.4em; margin-top: 2.2em; }
.nm-docs-layout .nm-prose > h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.nm-docs-layout .nm-prose h3 { scroll-margin-top: 88px; margin-top: 1.6em; }
.nm-docs-lede { font-size: 1.08rem; color: var(--nm-muted); }
.nm-docs-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 1.2em 0; }
.nm-docs-cards a { display: block; padding: 14px 16px; border: 1px solid var(--nm-line); border-radius: 12px; text-decoration: none; color: var(--nm-ink); background: var(--nm-panel); transition: border-color .12s ease; }
.nm-docs-cards a:hover { border-color: var(--nm-brand); }
.nm-docs-cards b { display: block; margin-bottom: 2px; }
.nm-docs-cards small { color: var(--nm-muted); }
.nm-callout { border: 1px solid var(--nm-line); border-left: 3px solid var(--nm-brand); background: var(--nm-alt); border-radius: 10px; padding: 14px 16px; margin: 1.2em 0; font-size: .95rem; }
.nm-callout strong { color: var(--nm-ink); }
@media (max-width: 900px) {
	.nm-docs-layout { grid-template-columns: 1fr; gap: 0; }
	.nm-toc { position: static; max-height: none; overflow: visible; margin-bottom: 28px; padding: 16px 18px; border: 1px solid var(--nm-line); border-radius: 12px; background: var(--nm-panel); }
	.nm-docs-cards { grid-template-columns: 1fr; }
}
