:root,[data-theme="light"]{--background:#ffffff;--card:#ffffff;--muted:#f5f5f5;--sidebar:#fafafa;--foreground:#0a0a0a;--muted-foreground:#6a6a6a;--border:#e5e5e5;--input:#8a8a8a;--primary:#171717;--primary-foreground:#fafafa;--spark:#f54900;--spark-strong:#ca3500;--on-spark-strong:#ffffff;--spark-soft:#fff7ed;--success:#007a55;--success-soft:#ecfdf5;--warning:#bb4d00;--warning-soft:#fffbeb;--danger:#c10007;--danger-soft:#fef2f2;--on-danger:#ffffff;--ring:#ca3500;--chart-1:var(--spark);--chart-2:#009689;--chart-3:#104e64;--chart-4:#525252;--chart-5:#8a8a8a;--shadow-xs:0 1px 2px 0 rgba(0,0,0,0.05);--shadow-md:0 4px 12px -2px rgba(10,10,10,0.08), 0 2px 4px -2px rgba(10,10,10,0.06);--shadow-xl:0 24px 48px -12px rgba(10,10,10,0.18);}
[data-theme="dark"]{--background:#0a0a0a;--card:#171717;--muted:#262626;--sidebar:#171717;--foreground:#fafafa;--muted-foreground:#a1a1a1;--border:#2e2e2e;--input:#6b6b6b;--primary:#fafafa;--primary-foreground:#171717;--spark:#ff6900;--spark-strong:#ff8904;--on-spark-strong:#0a0a0a;--spark-soft:#441306;--success:#00d492;--success-soft:#002c22;--warning:#ffb900;--warning-soft:#461901;--danger:#ff6467;--danger-soft:#460809;--on-danger:#0a0a0a;--ring:#ff8904;--chart-1:var(--spark);--chart-2:#00bba7;--chart-3:#53eafd;--chart-4:#d4d4d4;--chart-5:#737373;--shadow-xs:0 1px 2px 0 rgba(0,0,0,0.05);--shadow-md:0 4px 12px -2px rgba(0,0,0,0.5);--shadow-xl:0 24px 48px -12px rgba(0,0,0,0.7);}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]){--background:#0a0a0a;--card:#171717;--muted:#262626;--sidebar:#171717;--foreground:#fafafa;--muted-foreground:#a1a1a1;--border:#2e2e2e;--input:#6b6b6b;--primary:#fafafa;--primary-foreground:#171717;--spark:#ff6900;--spark-strong:#ff8904;--on-spark-strong:#0a0a0a;--spark-soft:#441306;--success:#00d492;--success-soft:#002c22;--warning:#ffb900;--warning-soft:#461901;--danger:#ff6467;--danger-soft:#460809;--on-danger:#0a0a0a;--ring:#ff8904;--chart-1:var(--spark);--chart-2:#00bba7;--chart-3:#53eafd;--chart-4:#d4d4d4;--chart-5:#737373;--shadow-xs:0 1px 2px 0 rgba(0,0,0,0.05);--shadow-md:0 4px 12px -2px rgba(0,0,0,0.5);--shadow-xl:0 24px 48px -12px rgba(0,0,0,0.7);}}
:root{--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-6:24px;--space-8:32px;--space-12:48px;--space-16:64px;--space-24:96px;--radius-sm:6px;--radius-md:8px;--radius-lg:10px;--radius-xl:14px;--radius-full:9999px;--font-sans:"Geist", ui-sans-serif, system-ui, sans-serif;--font-mono:"Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;}

@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@400;500&display=swap');

body { margin: 0; font-family: var(--font-sans); font-size: 14px; line-height: 20px; background: var(--background); color: var(--foreground); -webkit-font-smoothing: antialiased; }
.nd-mono { font-family: var(--font-mono); font-size: 13px; font-variant-numeric: tabular-nums; }
.nd-pad { padding: var(--space-6); }
.nd-row { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; }
.nd-stack { display: grid; gap: var(--space-4); }
.nd-icon { flex: none; }
:where(button, a, input, [tabindex]):focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }

/* Logo */
.nd-logo { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--foreground); }
.nd-logo-tile { fill: var(--primary); }
.nd-logo-line { stroke: var(--primary-foreground); }
.nd-logo-dot { fill: var(--spark); }
.nd-logo-sheet { fill: var(--primary-foreground); }
.nd-logo-rows { stroke: var(--primary); }
.nd-logo-word { font-size: 17px; line-height: 1; letter-spacing: -0.03em; white-space: nowrap; display: inline-flex; align-items: baseline; gap: 0.28em; }
.nd-logo-name { font-weight: 700; }
.nd-logo-product { font-weight: 400; }

/* Button */
.nd-btn { font: inherit; font-weight: 500; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); border-radius: var(--radius-md); border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background-color .15s, color .15s, border-color .15s; }
.nd-btn-sm { height: 32px; padding: 0 var(--space-3); font-size: 13px; }
.nd-btn-md { height: 36px; padding: 0 var(--space-4); font-size: 14px; }
.nd-btn-lg { height: 44px; padding: 0 var(--space-6); font-size: 15px; }
.nd-btn-primary { background: var(--primary); color: var(--primary-foreground); }
.nd-btn-primary:hover { background: color-mix(in srgb, var(--primary) 88%, var(--background)); }
.nd-btn-accent { background: var(--spark-strong); color: var(--on-spark-strong); }
.nd-btn-accent:hover { background: color-mix(in srgb, var(--spark-strong) 90%, var(--foreground)); }
.nd-btn-secondary { background: var(--muted); color: var(--foreground); }
.nd-btn-secondary:hover { background: var(--border); }
.nd-btn-outline { background: var(--card); color: var(--foreground); border-color: var(--input); box-shadow: var(--shadow-xs); }
.nd-btn-outline:hover { background: var(--muted); }
.nd-btn-ghost { background: transparent; color: var(--foreground); }
.nd-btn-ghost:hover { background: var(--muted); }
.nd-btn-destructive { background: var(--danger); color: var(--on-danger); }
.nd-btn:disabled { opacity: .5; cursor: not-allowed; }

/* Badge */
.nd-badge { display: inline-flex; align-items: center; gap: var(--space-1); height: 22px; padding: 0 var(--space-2); border-radius: var(--radius-sm); font-size: 12px; font-weight: 500; line-height: 16px; border: 1px solid transparent; white-space: nowrap; font-variant-numeric: tabular-nums; }
.nd-badge-neutral { background: var(--muted); color: var(--foreground); }
.nd-badge-outline { background: transparent; color: var(--foreground); border-color: var(--border); }
.nd-badge-spark { background: var(--spark-soft); color: var(--spark-strong); }
.nd-badge-success { background: var(--success-soft); color: var(--success); }
.nd-badge-warning { background: var(--warning-soft); color: var(--warning); }
.nd-badge-danger { background: var(--danger-soft); color: var(--danger); }
.nd-dot { width: 6px; height: 6px; border-radius: var(--radius-full); background: currentColor; flex: none; }
.nd-badge-spark .nd-dot, .nd-hero-pill .nd-dot { background: var(--spark); }

/* Input */
.nd-field { display: grid; gap: 6px; min-width: 220px; }
.nd-label { font-size: 14px; font-weight: 500; }
.nd-input { font: inherit; height: 36px; padding: 0 var(--space-3); border-radius: var(--radius-md); border: 1px solid var(--input); background: var(--card); color: var(--foreground); box-shadow: var(--shadow-xs); }
.nd-input::placeholder { color: var(--muted-foreground); }
.nd-input[aria-invalid="true"] { border-color: var(--danger); }
.nd-hint { margin: 0; font-size: 12px; line-height: 16px; color: var(--muted-foreground); }
.nd-hint-error { color: var(--danger); }

/* Card */
.nd-card { background: var(--card); color: var(--foreground); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-xs); display: grid; gap: var(--space-4); padding: var(--space-6); }
.nd-card-head { display: flex; justify-content: space-between; gap: var(--space-4); align-items: flex-start; }
.nd-card-title { margin: 0; font-size: 16px; line-height: 24px; font-weight: 600; }
.nd-card-desc { margin: 2px 0 0; color: var(--muted-foreground); }
.nd-card-foot { display: flex; gap: var(--space-2); justify-content: flex-end; padding-top: var(--space-4); border-top: 1px solid var(--border); }

/* Tabs (segmented) */
.nd-tabs { display: inline-flex; gap: 2px; padding: 3px; background: var(--muted); border-radius: var(--radius-lg); }
.nd-tab { font: inherit; font-weight: 500; font-size: 13px; height: 30px; padding: 0 var(--space-3); border: 0; border-radius: var(--radius-md); background: transparent; color: var(--muted-foreground); cursor: pointer; }
.nd-tab:hover { color: var(--foreground); }
.nd-tab.is-on { background: var(--card); color: var(--foreground); box-shadow: var(--shadow-xs); }

/* StatCard (shadcn SectionCards) */
.nd-stat { gap: var(--space-2); min-width: 220px; }
.nd-stat-top { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); }
.nd-stat-label { color: var(--muted-foreground); }
.nd-stat-value { font-size: 30px; line-height: 36px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.nd-stat-foot { margin-top: var(--space-2); font-weight: 500; }
.nd-stat-sub { color: var(--muted-foreground); }

/* AreaChart */
.nd-chart { margin: 0; display: grid; gap: var(--space-3); }
.nd-chart-svg { width: 100%; height: 200px; display: block; overflow: visible; }
.nd-chart-area { fill: currentColor; fill-opacity: .14; stroke: none; }
.nd-chart-line { fill: none; stroke: currentColor; stroke-width: 2; vector-effect: non-scaling-stroke; }
.nd-chart-line.is-dashed { stroke-dasharray: 4 4; }
.nd-chart-grid { stroke: var(--border); stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.nd-chart-tick { fill: var(--muted-foreground); font-size: 12px; font-family: var(--font-sans); }
.nd-legend { display: flex; gap: var(--space-4); font-size: 12px; color: var(--muted-foreground); }
.nd-legend-item { display: inline-flex; align-items: center; gap: 6px; }
.nd-legend-swatch { width: 10px; height: 10px; border-radius: 3px; }

/* DataTable */
.nd-table-wrap { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--card); }
.nd-table { width: 100%; border-collapse: collapse; }
.nd-table th { background: var(--muted); text-align: left; font-weight: 500; color: var(--foreground); height: 40px; padding: 0 var(--space-3); white-space: nowrap; }
.nd-table td { height: 44px; padding: 0 var(--space-3); border-top: 1px solid var(--border); white-space: nowrap; }
.nd-table tbody tr:hover td { background: color-mix(in srgb, var(--muted) 55%, transparent); }
.nd-table tr.is-selected td { background: var(--spark-soft); }
.nd-table .is-num { text-align: right; font-variant-numeric: tabular-nums; }

/* SyncStatus */
.nd-sync { display: grid; grid-template-columns: minmax(0,1fr) 64px minmax(0,1fr) 150px; align-items: center; gap: var(--space-3); padding: var(--space-4); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--card); }
.nd-sync-node { display: flex; gap: var(--space-3); align-items: center; min-width: 0; }
.nd-sync-ic { width: 32px; height: 32px; flex: none; border-radius: var(--radius-md); background: var(--muted); display: grid; place-items: center; }
.nd-sync-name { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nd-sync-meta { color: var(--muted-foreground); font-size: 12px; line-height: 16px; }
.nd-sync-link { position: relative; height: 2px; background: repeating-linear-gradient(90deg, var(--input) 0 4px, transparent 4px 8px); }
.nd-sync-pulse { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: var(--radius-full); background: var(--spark); }
.nd-sync-pulse.is-live { animation: nd-flow 1.6s linear infinite; }
@keyframes nd-flow { from { left: 0; } to { left: calc(100% - 8px); } }
@media (prefers-reduced-motion: reduce) { .nd-sync-pulse.is-live { animation: none; left: calc(50% - 4px); } }
.nd-sync-state { display: grid; justify-items: end; gap: 4px; }

/* SheetPreview */
.nd-sheet { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--card); font-size: 13px; }
.nd-sheet-bar { display: flex; gap: var(--space-3); align-items: center; height: 32px; padding: 0 var(--space-3); border-bottom: 1px solid var(--border); color: var(--muted-foreground); }
.nd-sheet-fx { font-style: italic; }
.nd-sheet-grid { border-collapse: collapse; width: 100%; font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.nd-sheet-grid th { background: var(--muted); color: var(--muted-foreground); font-weight: 400; font-size: 12px; height: 24px; border: 1px solid var(--border); padding: 0 var(--space-2); }
.nd-sheet-grid td { height: 28px; border: 1px solid var(--border); padding: 0 var(--space-2); white-space: nowrap; }
.nd-sheet-grid tbody th { width: 32px; }
.nd-sheet-corner { width: 32px; }
.nd-sheet-head td { font-weight: 500; font-family: var(--font-sans); }
.nd-sheet-grid tr.is-fresh td { background: var(--spark-soft); }
.nd-sheet-grid .is-num { text-align: right; }
.nd-sheet-tabs { display: flex; gap: 2px; padding: 4px var(--space-2); border-top: 1px solid var(--border); background: var(--muted); }
.nd-sheet-tab { font-size: 12px; padding: 2px var(--space-3); border-radius: var(--radius-sm); color: var(--muted-foreground); }
.nd-sheet-tab.is-on { background: var(--card); color: var(--spark-strong); font-weight: 500; }

/* Sidebar */
.nd-sidebar { width: 240px; min-height: 100%; box-sizing: border-box; background: var(--sidebar); border-right: 1px solid var(--border); padding: var(--space-3); display: flex; flex-direction: column; gap: var(--space-4); }
.nd-sidebar-brand { padding: var(--space-2); }
.nd-sidebar-brand .nd-logo-word { font-size: 14px; }
.nd-sidebar-ws { display: grid; padding: var(--space-2) var(--space-3); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--card); font-weight: 500; }
.nd-sidebar-ws-label { font-size: 12px; line-height: 16px; font-weight: 400; color: var(--muted-foreground); }
.nd-sidebar-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.nd-nav { display: flex; align-items: center; gap: var(--space-2); height: 32px; padding: 0 var(--space-2); border-radius: var(--radius-md); color: var(--foreground); text-decoration: none; }
.nd-nav:hover { background: var(--muted); }
.nd-nav.is-on { background: var(--muted); font-weight: 500; }
.nd-nav.is-on .nd-icon { color: var(--spark-strong); }
.nd-nav-badge { margin-left: auto; font-size: 12px; color: var(--muted-foreground); font-variant-numeric: tabular-nums; }
.nd-sidebar-foot { margin-top: auto; }

/* Hero (website) */
.nd-hero { text-align: center; padding: var(--space-16) var(--space-6) 0; display: grid; justify-items: center; gap: var(--space-6); }
.nd-hero-pill { display: inline-flex; align-items: center; gap: var(--space-2); height: 28px; padding: 0 var(--space-3); border: 1px solid var(--border); border-radius: var(--radius-full); color: var(--foreground); text-decoration: none; font-size: 13px; font-weight: 500; background: var(--card); }
.nd-hero-title { margin: 0; max-width: 820px; font-size: 64px; line-height: 64px; font-weight: 600; letter-spacing: -0.035em; text-wrap: balance; }
.nd-hero-sub { margin: 0; max-width: 560px; font-size: 18px; line-height: 28px; color: var(--muted-foreground); text-wrap: pretty; }
.nd-hero-ctas { display: flex; gap: var(--space-3); flex-wrap: wrap; justify-content: center; }
.nd-hero-proof { margin: 0; font-size: 13px; color: var(--muted-foreground); }
.nd-hero-shot { width: 100%; max-width: 960px; margin-top: var(--space-6); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); overflow: hidden; background: var(--card); text-align: left; }
@media (max-width: 767px) { .nd-hero-title { font-size: 40px; line-height: 44px; } }

/* SiteHeader (website) */
.nd-site-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--background) 88%, transparent); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--border); }
.nd-site-header-in { max-width: 1200px; margin: 0 auto; height: 64px; padding: 0 var(--space-6); display: flex; align-items: center; gap: var(--space-8); }
.nd-site-brand { text-decoration: none; }
.nd-site-links { display: flex; gap: var(--space-1); }
.nd-site-link { color: var(--muted-foreground); text-decoration: none; font-weight: 500; padding: 6px var(--space-3); border-radius: var(--radius-md); }
.nd-site-link:hover, .nd-site-link.is-on { color: var(--foreground); }
.nd-site-link:hover { background: var(--muted); }
.nd-site-actions { margin-left: auto; display: flex; gap: var(--space-2); align-items: center; }
.nd-site-burger { display: none; border: 0; background: transparent; color: var(--foreground); width: 36px; height: 36px; border-radius: var(--radius-md); cursor: pointer; }
@media (max-width: 767px) { .nd-site-links, .nd-site-actions .nd-btn-ghost { display: none; } .nd-site-burger { display: grid; place-items: center; } .nd-site-header-in { gap: var(--space-3); } }

/* Footer (website) */
.nd-footer { border-top: 1px solid var(--border); background: var(--background); padding: var(--space-16) var(--space-6) var(--space-8); }
.nd-footer-top { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: var(--space-8); }
.nd-footer-tag { margin: var(--space-3) 0 0; max-width: 280px; color: var(--muted-foreground); }
.nd-footer-h { margin: 0 0 var(--space-3); font-size: 14px; font-weight: 600; }
.nd-footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.nd-footer-col a { color: var(--muted-foreground); text-decoration: none; }
.nd-footer-col a:hover { color: var(--foreground); }
.nd-footer-bottom { max-width: 1200px; margin: var(--space-12) auto 0; padding-top: var(--space-6); border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: var(--space-6); font-size: 12px; line-height: 16px; color: var(--muted-foreground); }
.nd-footer-legal { max-width: 640px; text-align: right; }
@media (max-width: 767px) { .nd-footer-top { grid-template-columns: 1fr 1fr; } .nd-footer-brand { grid-column: 1 / -1; } .nd-footer-bottom { flex-direction: column; } .nd-footer-legal { text-align: left; } }

/* Section head, FeatureGrid, Steps (website) */
.nd-section { max-width: 1200px; margin: 0 auto; padding: var(--space-24) var(--space-6); display: grid; gap: var(--space-12); }
.nd-section-head { display: grid; gap: var(--space-3); justify-items: center; text-align: center; max-width: 720px; margin: 0 auto; }
.nd-section-head.is-left { justify-items: start; text-align: left; margin: 0; }
.nd-eyebrow { margin: 0; font-family: var(--font-mono); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--spark-strong); }
.nd-section-title { margin: 0; font-size: 48px; line-height: 52px; font-weight: 600; letter-spacing: -0.03em; text-wrap: balance; }
.nd-section-lead { margin: 0; font-size: 18px; line-height: 28px; color: var(--muted-foreground); text-wrap: pretty; }
.nd-feature-grid { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; }
.nd-feature { background: var(--card); padding: var(--space-8) var(--space-6); display: grid; gap: var(--space-2); align-content: start; }
.nd-feature-ic { width: 36px; height: 36px; border-radius: var(--radius-md); border: 1px solid var(--border); display: grid; place-items: center; margin-bottom: var(--space-2); background: var(--background); }
.nd-feature-title { margin: 0; font-size: 16px; line-height: 24px; font-weight: 600; }
.nd-feature-body { margin: 0; color: var(--muted-foreground); font-size: 15px; line-height: 22px; }
.nd-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--space-6); counter-reset: none; }
.nd-step { display: grid; gap: var(--space-2); align-content: start; padding-top: var(--space-4); border-top: 2px solid var(--foreground); }
.nd-step-n { font-family: var(--font-mono); font-size: 12px; line-height: 16px; font-weight: 500; color: var(--spark-strong); margin-bottom: var(--space-2); }
.nd-step-visual { margin-top: var(--space-4); }
@media (max-width: 767px) { .nd-feature-grid, .nd-steps { grid-template-columns: 1fr !important; } .nd-section-title { font-size: 32px; line-height: 40px; } .nd-section { padding: var(--space-16) var(--space-6); } }

/* PricingCard */
.nd-price { gap: var(--space-4); align-content: start; }
.nd-price.is-hl { border-color: var(--foreground); box-shadow: var(--shadow-md); }
.nd-price-top { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); }
.nd-price-amount { display: flex; align-items: baseline; gap: var(--space-1); }
.nd-price-value { font-size: 40px; line-height: 44px; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.nd-price-period { color: var(--muted-foreground); }
.nd-price-cta { width: 100%; }
.nd-price-feats { list-style: none; margin: 0; padding: var(--space-4) 0 0; border-top: 1px solid var(--border); display: grid; gap: var(--space-2); }
.nd-price-feats li { display: flex; gap: var(--space-2); align-items: flex-start; }
.nd-price-feats .nd-icon { color: var(--success); margin-top: 2px; }

/* Checkbox */
.nd-check { display: flex; gap: var(--space-2); align-items: flex-start; }
.nd-check label { display: grid; gap: 2px; cursor: pointer; }
.nd-check-label { font-weight: 500; }
.nd-check-box { appearance: none; -webkit-appearance: none; margin: 2px 0 0; width: 16px; height: 16px; flex: none; border: 1px solid var(--input); border-radius: 4px; background: var(--card); display: grid; place-items: center; cursor: pointer; }
.nd-check-box:checked { background: var(--primary); border-color: var(--primary); }
.nd-check-box:checked::after { content: ''; width: 8px; height: 4px; border-left: 2px solid var(--primary-foreground); border-bottom: 2px solid var(--primary-foreground); transform: translateY(-1px) rotate(-45deg); }
.nd-check-box:disabled { opacity: .5; }

/* Select */
.nd-select-wrap { position: relative; }
.nd-select { appearance: none; -webkit-appearance: none; width: 100%; padding-right: var(--space-8); cursor: pointer; }
.nd-select-chev { position: absolute; right: var(--space-3); top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted-foreground); }

/* DropdownMenu */
.nd-dd { position: relative; display: inline-block; }
.nd-dd-menu { position: absolute; top: calc(100% + 4px); left: 0; z-index: 20; min-width: 200px; padding: var(--space-1); background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); display: grid; }
.nd-dd-menu.is-end { left: auto; right: 0; }
.nd-dd-heading { padding: 6px var(--space-2); font-size: 12px; line-height: 16px; font-weight: 500; color: var(--muted-foreground); }
.nd-dd-item { font: inherit; display: flex; align-items: center; gap: var(--space-2); height: 32px; padding: 0 var(--space-2); border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--foreground); text-align: left; cursor: pointer; }
.nd-dd-item .nd-icon { color: var(--muted-foreground); }
.nd-dd-item:hover, .nd-dd-item:focus-visible { background: var(--muted); outline-offset: -2px; }
.nd-dd-item.is-danger, .nd-dd-item.is-danger .nd-icon { color: var(--danger); }
.nd-dd-item:disabled { opacity: .5; cursor: not-allowed; }
.nd-dd-kbd { margin-left: auto; font-family: var(--font-mono); font-size: 12px; color: var(--muted-foreground); }
.nd-dd-sep { height: 1px; margin: var(--space-1) calc(-1 * var(--space-1)); background: var(--border); }

/* Dialog */
.nd-dialog-root { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: var(--space-6); }
.nd-dialog-root.is-inline { position: relative; inset: auto; min-height: 100%; }
.nd-overlay { position: absolute; inset: 0; background: rgba(10, 10, 10, .5); }
.nd-dialog { position: relative; width: 100%; max-width: 440px; box-sizing: border-box; background: var(--card); color: var(--foreground); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); padding: var(--space-6); display: grid; gap: var(--space-2); }
.nd-dialog-x { position: absolute; top: var(--space-3); right: var(--space-3); width: 32px; height: 32px; border: 0; border-radius: var(--radius-md); background: transparent; color: var(--muted-foreground); display: grid; place-items: center; cursor: pointer; }
.nd-dialog-x:hover { background: var(--muted); color: var(--foreground); }
.nd-dialog-ic { width: 40px; height: 40px; border-radius: var(--radius-full); display: grid; place-items: center; background: var(--spark-soft); color: var(--spark-strong); margin-bottom: var(--space-2); }
.nd-dialog-ic.is-danger { background: var(--danger-soft); color: var(--danger); }
.nd-dialog-title { margin: 0; font-size: 18px; line-height: 28px; font-weight: 600; }
.nd-dialog-body { margin-top: var(--space-2); display: grid; gap: var(--space-4); }
.nd-dialog-foot { margin-top: var(--space-4); display: flex; justify-content: flex-end; gap: var(--space-2); }

/* AddonPanel (Google Sheets sidebar, 300px) */
.nd-addon { width: 300px; box-sizing: border-box; height: 100%; display: flex; flex-direction: column; background: var(--card); border-left: 1px solid var(--border); }
.nd-addon-head { display: flex; align-items: center; gap: var(--space-2); height: 48px; padding: 0 var(--space-3) 0 var(--space-4); border-bottom: 1px solid var(--border); }
.nd-addon-title { font-weight: 600; font-size: 14px; }
.nd-addon-x { margin-left: auto; width: 28px; height: 28px; border: 0; border-radius: var(--radius-md); background: transparent; color: var(--muted-foreground); display: grid; place-items: center; cursor: pointer; }
.nd-addon-x:hover { background: var(--muted); }
.nd-addon-status { padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--border); background: var(--sidebar); }
.nd-addon-body { flex: 1; overflow: auto; }
.nd-addon-sec { padding: var(--space-4); border-bottom: 1px solid var(--border); display: grid; gap: var(--space-3); }
.nd-addon-h { margin: 0; font-family: var(--font-mono); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-foreground); }
.nd-addon-sec-body { display: grid; gap: var(--space-3); }
.nd-addon-sec .nd-field { min-width: 0; }
.nd-addon-foot { padding: var(--space-3) var(--space-4); border-top: 1px solid var(--border); display: grid; gap: var(--space-2); }
.nd-addon-foot .nd-btn { width: 100%; }
.nd-input.nd-mono { font-family: var(--font-mono); font-size: 13px; }

/* Site-only additions on top of the design system */
html { scroll-behavior: smooth; }
body { font-size: 16px; line-height: 24px; }
a.nd-btn { text-decoration: none; }
.nd-hero { padding-bottom: var(--space-8); }
.nd-hero-pill { cursor: default; }
.nd-hero-platforms { display: flex; align-items: center; justify-content: center; gap: var(--space-4); margin: 0; color: var(--muted-foreground); font-size: 14px; font-weight: 500; }
.nd-hero-platforms > .nd-icon { color: var(--muted-foreground); }
.nd-hero-platform { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--foreground); }
.nd-platform-mark { flex: none; }
.nd-price-solo { max-width: 420px; width: 100%; box-sizing: border-box; margin: 0 auto; }
.nd-prose { max-width: 720px; margin: 0 auto; padding: var(--space-16) var(--space-6) var(--space-24); }
.nd-prose h1 { font-size: 40px; line-height: 44px; letter-spacing: -0.03em; margin: var(--space-3) 0 var(--space-2); }
.nd-prose h2 { font-size: 20px; line-height: 28px; margin: var(--space-8) 0 var(--space-2); }
.nd-prose h3 { font-size: 16px; line-height: 24px; margin: var(--space-6) 0 var(--space-1); }
.nd-prose p, .nd-prose li { color: var(--foreground); }
.nd-prose ul { padding-left: 20px; display: grid; gap: var(--space-2); }
.nd-prose a { color: var(--spark-strong); }
.nd-prose-meta { color: var(--muted-foreground); font-size: 14px; margin: 0; }
.nd-todo { background: var(--warning-soft); color: var(--warning); padding: var(--space-2) var(--space-3); border-radius: var(--radius-md); font-weight: 500; }
.nd-footer-brand .nd-logo { color: var(--foreground); }
@media (max-width: 767px) { .nd-hero-shot { overflow-x: auto; } .nd-sheet { min-width: 560px; } }
.nd-btn { box-sizing: border-box; }
.nd-feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
