/* ═══ The sleek look, for the pages beside the homepage (21 November 2026) ═══
   The homepage (index.html) carries this look in its own styles; the contractor, startup, SME
   and prices pages are built on nb-ui.css, and this sheet, loaded last, gives them the same
   ground: near-black with a moving nebula by night, a pale sky by day, liquid-glass cards and
   bar, the homepage's buttons, and the one rose on the bar's "Join the waitlist".
   Contrast, worked by hand over the brightest the sky can be under each surface:
     dark   ink-3 #A3AAB0 on glass rgba(11,18,38,.58) over the brightest cloud (≈ #1C4A44),
            composited ≈ #122A33: 6.4:1. ink #F4F5F6: 13.7:1.
     light  ink-3 #5C6268 on glass rgba(255,255,255,.62) over the brightest cloud (≈ #B9DDD6),
            composited ≈ #E5F2EF: 5.6:1. ink #0B0D0E: 17.2:1.
   Motion: the nebula drifts and the stars twinkle only while motion is on; Pause motion stops
   them, and a device set to reduce motion gets them still. */

:root[data-theme="dark"] {
  --bg: #070B1A; --sky-base: #070B1A; --ink: #F4F5F6; --ink-2: #C3C9CE; --ink-3: #A3AAB0; --line: rgba(255,255,255,.10);
  --surface: #0B1226; --surface-2: #111A31;
  --glass: rgba(11,18,38,.58); --glass-strong: rgba(11,18,38,.76); --glass-solid: #0B1226;
  --glass-rim: rgba(255,255,255,.42); --glass-rim-2: rgba(255,255,255,.05); --glass-edge: rgba(255,255,255,.08);
  --glass-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 30px 70px -32px rgba(0,0,0,.9);
  --sheen: rgba(255,255,255,.16); --well: rgba(7,11,26,.5); --glow: rgba(94,234,212,.25);
}
:root:not([data-theme="dark"]) {
  --bg: #EEF3F1; --sky-base: #EEF3F1; --ink: #0B0D0E; --ink-2: #464C52; --ink-3: #5C6268; --line: rgba(11,13,14,.10);
  --surface: #FFFFFF; --surface-2: #E7EEEC;
  --glass: rgba(255,255,255,.62); --glass-strong: rgba(255,255,255,.8); --glass-solid: #F7FAF9;
  --glass-rim: rgba(255,255,255,.95); --glass-rim-2: rgba(255,255,255,.3); --glass-edge: rgba(11,13,14,.06);
  --glass-shadow: 0 1px 0 rgba(255,255,255,.95) inset, 0 24px 50px -32px rgba(11,40,36,.35);
  --sheen: rgba(255,255,255,.7); --well: rgba(255,255,255,.55); --glow: rgba(20,184,166,.2);
}
html { background: var(--bg); }
body { background: transparent; }
.sky { display: none !important; }
:root:not([data-theme="dark"]) .glass { -webkit-backdrop-filter: blur(18px) saturate(1.7); backdrop-filter: blur(18px) saturate(1.7); }
@media (prefers-reduced-transparency: reduce) { .glass { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; background: var(--glass-solid) !important; } }

/* the nebula: a fixed layer of faint stars (sleek.js) and slow clouds in the brand's teal, sea-green and sand */
.nb-space { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; background: var(--bg); }
.nb-space canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.neb { position: absolute; border-radius: 50%; opacity: .55; will-change: transform; }
.neb-1 { width: 95vmax; height: 70vmax; left: -30vmax; top: -22vmax; background: radial-gradient(closest-side, rgba(20,184,166,.55), rgba(14,124,110,.25) 55%, transparent); }
.neb-2 { width: 80vmax; height: 60vmax; right: -28vmax; top: 10vmax; background: radial-gradient(closest-side, rgba(232,215,174,.20), rgba(94,234,212,.10) 55%, transparent); }
.neb-3 { width: 70vmax; height: 55vmax; left: 10vmax; bottom: -30vmax; background: radial-gradient(closest-side, rgba(58,96,122,.38), rgba(20,40,52,.18) 55%, transparent); }
.neb-4 { width: 40vmax; height: 26vmax; left: 38vmax; top: 18vmax; background: radial-gradient(closest-side, rgba(94,234,212,.16), transparent); }
:root:not([data-theme="dark"]) .nb-space { background: linear-gradient(180deg, #F3F7F5, #E9F0EE); }
:root:not([data-theme="dark"]) .neb { opacity: .9; }
:root:not([data-theme="dark"]) .neb-1 { background: radial-gradient(closest-side, rgba(94,234,212,.55), rgba(94,234,212,.18) 55%, transparent); }
:root:not([data-theme="dark"]) .neb-2 { background: radial-gradient(closest-side, rgba(232,215,174,.75), rgba(232,215,174,.2) 55%, transparent); }
:root:not([data-theme="dark"]) .neb-3 { background: radial-gradient(closest-side, rgba(150,186,206,.45), rgba(150,186,206,.12) 55%, transparent); }
:root:not([data-theme="dark"]) .neb-4 { background: radial-gradient(closest-side, rgba(20,184,166,.16), transparent); }
@keyframes sk-drift1 { to { transform: translate3d(9vmax, 6vmax, 0) rotate(14deg) scale(1.08); } }
@keyframes sk-drift2 { to { transform: translate3d(-8vmax, 5vmax, 0) rotate(-12deg) scale(1.1); } }
@keyframes sk-drift3 { to { transform: translate3d(6vmax, -7vmax, 0) rotate(10deg) scale(.94); } }
@keyframes sk-drift4 { to { transform: translate3d(-10vmax, 4vmax, 0) scale(1.25); } }
@media (prefers-reduced-motion: no-preference) {
  :root:not(.motion-paused) .neb-1 { animation: sk-drift1 70s ease-in-out infinite alternate; }
  :root:not(.motion-paused) .neb-2 { animation: sk-drift2 85s ease-in-out infinite alternate; }
  :root:not(.motion-paused) .neb-3 { animation: sk-drift3 95s ease-in-out infinite alternate; }
  :root:not(.motion-paused) .neb-4 { animation: sk-drift4 60s ease-in-out infinite alternate; }
}

/* the top bar: a glass panel like the homepage's, the rose kept */
.nbar { border-radius: 22px; height: 68px; }
:root[data-theme="dark"] .nbar { background: rgba(11,18,38,.62); box-shadow: inset 1.5px 1.5px 0 rgba(255,255,255,.45), inset -1px -1px 0 rgba(255,255,255,.12), 0 18px 40px -24px rgba(0,0,0,.7); }
:root:not([data-theme="dark"]) .nbar { background: rgba(255,255,255,.6); box-shadow: inset 1.5px 1.5px 0 rgba(255,255,255,.95), inset -1px -1px 0 rgba(11,13,14,.06), 0 18px 40px -26px rgba(11,13,14,.35); }
.nbar .btn-go, :root[data-theme="dark"] .nbar .btn-go, :root:not([data-theme="dark"]) .nbar .btn-go { background: var(--rose); color: #FFFFFF; border-radius: 14px; box-shadow: 0 12px 26px -16px rgba(194,37,92,.8); }
.nbar .btn-go:hover { background: var(--rose-deep); }

/* the hero: a soft teal light under it, the headline in the homepage's weight */
.top { background: radial-gradient(48% 42% at 72% 62%, rgba(20,184,166,.26), transparent 70%); }
:root:not([data-theme="dark"]) .top { background: radial-gradient(48% 42% at 72% 62%, rgba(94,234,212,.3), transparent 70%); }
.top h1, .band-head h2, .big-close h2 { font-weight: 800; letter-spacing: -.05em; }
.top h1, :root:not([data-theme="dark"]) .top h1 { font-size: clamp(44px, 6.2vw, 92px); line-height: .95; }
.band-head h2 { line-height: .98; }

/* buttons: white by night, ink by day, as on the homepage */
.btn { border-radius: 14px; }
:root[data-theme="dark"] .btn-go { background: #FFFFFF; color: #0B0D0E; box-shadow: 0 14px 30px -16px rgba(0,0,0,.8); }
:root[data-theme="dark"] .btn-go::after { background: linear-gradient(105deg, transparent 35%, rgba(20,184,166,.14) 50%, transparent 65%); }
:root[data-theme="dark"] .btn-go:hover { background: #E9ECEE; }
:root:not([data-theme="dark"]) .btn-go { background: #0B0D0E; color: #FFFFFF; }
.btn-glass { border-radius: 14px; }

/* the take-home stack on the contractors page, in the homepage's tones */
:root:not([data-theme="dark"]) .c1, :root[data-theme="dark"] .c1 { background: #0E7C6E; }
:root:not([data-theme="dark"]) .c2 { background: #0B0D0E; } :root[data-theme="dark"] .c2 { background: #F4F5F6; }
.c3, :root:not([data-theme="dark"]) .c3 { background: #B8A06A; }
.c4, :root:not([data-theme="dark"]) .c4 { background: #C9CCCF; }
.c5, :root:not([data-theme="dark"]) .c5 { background: #8A9096; }

/* the two-tier price book (28 November 2026): "You sign it off" now, "Accountant reviewed" coming soon.
   Without script both tiers show; sleek.js sets data-tiers on the band and the picker hides one. */
[data-tiers="self"] [data-tier="review"], [data-tiers="review"] [data-tier="self"] { display: none !important; }
.tier-bar { display: flex; justify-content: center; margin: 0 0 18px; }
.tier-note { margin: 0 0 18px; color: var(--ink-2); font-size: 15px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.tier-bar + .tier-note { justify-content: center; text-align: center; }
.pricing-top .tier-seg { margin-left: auto; }
@media (max-width: 640px) { .pricing-top .tier-seg { margin-left: 0; } .tier-seg button { padding: 0 12px; } }
/* the free first read leads every price band (owner, 28 November 2026): full width, the one primary button */
.plans:has(> .plan.free) { display: flex; flex-wrap: wrap; }
.plans:has(> .plan.free) > .plan { flex: 1 1 280px; min-width: 0; }
.plans:has(> .plan.free) > .plan.free { flex-basis: 100%; }
.plan .free-tag { align-self: flex-start; justify-self: start; }
.plan .free-tag { background: color-mix(in srgb, var(--teal, #0C6D61) 14%, transparent); color: var(--teal-text, #0C6D61); font-weight: 700; }
:root[data-theme="dark"] .plan .free-tag { color: #9FD9CE; }
@media (min-width: 900px) {
  .plan.free { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); column-gap: 40px; align-items: start; }
  .plan.free > :is(.proposal, .state, h3, .for, .p, .biz) { grid-column: 1; }
  .plan.free > ul { grid-column: 2; grid-row: 1 / span 6; align-self: center; margin: 0; }
  .plan.free > .btn { grid-column: 1; justify-self: start; min-width: 260px; margin-top: 14px; }
}

/* the official Nebula Finance wordmark (nebulafinanceorion web/public/brand), light and dark versions */
.wm { display: inline-flex; align-items: center; line-height: 0; }
.wm img { display: block; height: 22px; width: auto; }
.wm .wm-d { display: none; }
:root[data-theme="dark"] .wm .wm-l, .wm-on-dark .wm .wm-l { display: none; }
:root[data-theme="dark"] .wm .wm-d, .wm-on-dark .wm .wm-d { display: block; }
@media (max-width: 420px) { .wm img { height: 19px; } }
/* the logo keeps its own shape: it never shrinks to fit a bar (a squashed wordmark read as condensed type), it
   steps down to 15px tall on the narrowest phones, and the bar makes room around it */
.wm, .wm img { flex-shrink: 0; } .wm img { max-width: none; }
@media (max-width: 360px) { .wm img { height: 15px; } }
