:root {
  --ink: #eef5ff;
  --paper: #06070d;
  --muted: #aab5ca;
  --line: rgba(224, 237, 255, 0.16);
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
}

@property --widgets-bg-cover {
  syntax: "<number>";
  inherits: false;
  initial-value: 1;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { --widgets-bg-cover: 1; min-width: 320px; margin: 0; color: var(--ink); background: linear-gradient(rgba(3, 4, 10, var(--widgets-bg-cover)), rgba(3, 4, 10, var(--widgets-bg-cover))), linear-gradient(180deg, rgba(3, 4, 10, .2) 0, rgba(3, 4, 10, .28) 14rem, rgba(3, 4, 10, .84) 29rem, rgba(3, 4, 10, .9) 100%), linear-gradient(90deg, rgba(3, 4, 10, .32), rgba(3, 4, 10, 0) 50%, rgba(3, 4, 10, .32)), url("/assets/brand/nox-city-plate.jpg") center top / min(1772px, 122vw) auto repeat-y, #03040a; font-family: Georgia, "Times New Roman", serif; letter-spacing: 0; transition: --widgets-bg-cover 2400ms ease-in-out; }
body.widgets-bg-ready { --widgets-bg-cover: 0; }
.widgets-bg-instant body { transition: none; }
a { color: inherit; text-decoration-color: currentColor; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, textarea { font: inherit; }
button { cursor: pointer; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 20; padding: 10px 14px; color: var(--paper); background: var(--ink); opacity: 0; pointer-events: none; transform: translateY(-140%); }
.skip-link:focus { opacity: 1; pointer-events: auto; transform: translateY(0); }

.widgets-ambient { position: fixed; inset: 0; z-index: -2; width: 100%; height: 100%; opacity: .42; pointer-events: none; }
body::before { position: fixed; inset: 0; z-index: -1; content: ""; pointer-events: none; background: radial-gradient(circle at 50% 10%, rgba(85, 241, 255, .09), transparent 28rem), linear-gradient(180deg, transparent 0, rgba(3, 4, 10, .12) 27rem, rgba(3, 4, 10, .3) 100%); }

main { width: min(100%, 1440px); margin: 0 auto; padding: 54px 32px 64px; }
.widgets-intro { width: min(100%, 1120px); margin: 0 auto 52px; text-align: center; }
.widgets-brand { display: block; width: min(280px, 58vw); margin: 0 auto 6px; }
.widgets-brand img { display: block; width: 100%; height: auto; }
.widgets-kicker { margin: 0 0 10px; color: #55f1ff; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; }
h1, h2 { margin: 0; font-weight: 400; line-height: 0.98; }
h1 { font-size: clamp(3.15rem, 7vw, 6.8rem); }
h2 { font-size: clamp(2.4rem, 5vw, 4.6rem); }
.widgets-lede { max-width: none; margin: 24px 0 0; font-size: clamp(1.1rem, 1.6vw, 1.38rem); line-height: 1.52; }
.widgets-note { max-width: none; margin: 16px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.5; }
.widgets-note a { color: #a784ff; font-weight: 700; }
.widgets-note a:hover, .widgets-note a:focus-visible { color: #d3c4ff; }

.widget-deck { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: start; }
.widget-card { min-width: 0; padding: 12px; border: 1px solid var(--line); background: rgba(8, 11, 23, .68); box-shadow: inset 0 1px 0 rgba(255,255,255,.04); transition: transform 500ms var(--ease), border-color 500ms ease; }
.widget-card:hover { transform: translateY(-5px); border-color: rgba(85, 241, 255, .36); }
.widget-card-meta { display: flex; justify-content: space-between; margin-bottom: 12px; color: var(--muted); font: 600 0.66rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: uppercase; }
.widget-shell { min-height: 410px; }

.basic-widget { --widget: #6d55de; --widget-dark: #252046; --widget-pale: #efedff; display: flex; flex-direction: column; min-height: 410px; overflow: hidden; color: #1d1c27; background: #fff; border: 1px solid color-mix(in srgb, var(--widget) 42%, #fff); box-shadow: 0 13px 25px rgba(16, 19, 30, 0.1); }
.basic-widget[data-theme="cyan"] { --widget: #168a9d; --widget-dark: #0e3e50; --widget-pale: #e7fbfb; }
.basic-widget[data-theme="rose"] { --widget: #b44968; --widget-dark: #4b2031; --widget-pale: #fff0f4; }
.basic-widget[data-theme="gold"] { --widget: #d99a18; --widget-dark: #34230b; --widget-pale: #fff2c7; }
.basic-header { display: flex; align-items: center; gap: 9px; padding: 12px; color: #fff; background: var(--widget); }
.basic-header img { width: 30px; height: 30px; object-fit: contain; }
.basic-heading { display: grid; min-width: 0; gap: 2px; }
.basic-title { font-size: 0.86rem; font-weight: 700; }
.basic-subtitle { overflow: hidden; font-size: 0.66rem; opacity: 0.84; text-overflow: ellipsis; white-space: nowrap; }
.basic-close { width: 24px; height: 24px; margin-left: auto; border: 0; color: #fff; background: transparent; font-size: 1.2rem; line-height: 1; }
.basic-messages { display: flex; flex: 1; flex-direction: column; gap: 9px; min-height: 236px; padding: 13px; overflow: auto; background: #fff; }
.basic-message { max-width: 91%; padding: 9px 10px; border-radius: 5px; font-size: 0.77rem; line-height: 1.35; white-space: pre-wrap; word-break: break-word; }
.basic-message.assistant { align-self: flex-start; background: var(--widget-pale); }
.basic-message.user { align-self: flex-end; color: #fff; background: var(--widget-dark); }
.basic-status { min-height: 20px; padding: 3px 11px; color: var(--widget); background: #fff; font-size: 0.66rem; }
.basic-form { display: flex; gap: 7px; padding: 10px; background: var(--widget); }
.basic-input { width: 100%; min-width: 0; height: 37px; padding: 8px; resize: none; border: 0; border-radius: 3px; color: #1d1c27; background: #fff; font-size: 0.74rem; }
.basic-send { padding: 0 10px; border: 1px solid rgba(255,255,255,.5); border-radius: 3px; color: #fff; background: var(--widget-dark); font-size: 0.68rem; font-weight: 700; }
.basic-launcher { display: flex; width: 100%; min-height: 58px; padding: 9px 11px; align-items: center; gap: 9px; border: 0; color: #fff; background: var(--widget); text-align: left; }
.basic-launcher img { width: 33px; height: 33px; object-fit: contain; }
.basic-launcher small, .x3-launcher small { display: block; margin-top: 3px; font-size: 0.66rem; font-weight: 400; opacity: .86; }
.basic-widget.is-collapsed { min-height: auto; }
.basic-widget.is-collapsed .basic-header, .basic-widget.is-collapsed .basic-messages, .basic-widget.is-collapsed .basic-status, .basic-widget.is-collapsed .basic-form { display: none; }
.widget-shell:has(.basic-widget.is-collapsed) { min-height: 58px; }
.widget-card:has(.basic-widget.is-collapsed) { padding-bottom: 12px; }

.x3-section { position: relative; margin-top: 32px; padding: 0; border-top: 1px solid var(--line); }
.x3-anchor { position: relative; width: 100%; height: min(78vh, 780px); margin: 0 auto; }
.x3-frame { position: absolute; z-index: 2; display: flex; width: 100%; height: min(78vh, 780px); padding: 5px; flex-direction: column; overflow: hidden; border-top: 1px solid rgba(138,232,241,.42); border-bottom: 1px solid rgba(138,232,241,.42); background: linear-gradient(135deg, #2a2059, #102b37); box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.x3-frame.is-expanded { height: 90vh; }
.x3-bar { display: flex; min-height: 32px; padding: 0 4px 5px 7px; align-items: center; justify-content: space-between; color: #eef5ff; font: 600 .72rem/1 Georgia, "Times New Roman", serif; }
.x3-controls { display: flex; gap: 5px; }
.x3-control { display: inline-grid; width: 26px; height: 26px; padding: 0; place-items: center; border: 1px solid rgba(138,232,241,.42); border-radius: 3px; color: #eef5ff; background: rgba(255,255,255,.08); font: 600 1rem/1 system-ui, sans-serif; }
.x3-control:hover { background: rgba(138,232,241,.22); }
.x3-open-tip { position: absolute; top: 32px; right: 66px; z-index: 3; padding: 6px 9px; border: 1px solid rgba(138,232,241,.38); border-radius: 3px; color: #eef5ff; background: rgba(16, 25, 43, .96); box-shadow: 0 5px 14px rgba(0,0,0,.35); font: 500 .63rem/1 system-ui, sans-serif; opacity: 0; pointer-events: none; transition: opacity 150ms ease; white-space: nowrap; }
.x3-open-tip.is-visible { opacity: 1; }
.x3-frame iframe { display: block; width: 100%; height: 100%; min-height: 0; border: 0; background: #fff; }
.x3-frame.is-floating { position: fixed; right: 16px; bottom: 16px; z-index: 15; width: min(430px, calc(100vw - 32px)); height: min(600px, 75vh); border: 1px solid rgba(138,232,241,.52); border-radius: 5px; }
.x3-launcher { position: fixed; right: 16px; bottom: 16px; z-index: 15; display: flex; padding: 8px 11px; align-items: center; gap: 8px; border: 1px solid rgba(138,232,241,.48); border-radius: 4px; color: #eef5ff; background: linear-gradient(135deg, #2a2059, #102b37); box-shadow: 0 14px 30px rgba(0,0,0,.36); text-align: left; }
.x3-launcher img { width: 29px; height: 29px; object-fit: contain; }
.x3-launcher strong { display: block; font-size: .78rem; }
.x3-launcher small { display: block; margin-top: 2px; color: rgba(238,245,255,.76); font-size: .62rem; }
.x3-hidden { display: none !important; }

.widgets-footer { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 52px; padding: 26px 0 4px; align-items: center; border-top: 1px solid var(--line); color: rgba(238,245,255,.6); font-size: .72rem; }
.widgets-footer .widgets-contact-button { grid-column: 1 / -1; justify-self: center; }
.widgets-footer > :last-child { text-align: right; }
.widgets-contact-button { min-height: 36px; padding: 7px 16px; border: 1px solid rgba(138,132,255,.58); border-radius: 4px; color: #eeeaff; background: rgba(125,77,255,.14); font: inherit; font-weight: 700; }
.widgets-contact-button:hover, .widgets-contact-button:focus-visible { border-color: #a784ff; background: rgba(167,132,255,.24); outline: none; }

.contact-dialog { width: min(100% - 32px, 560px); margin: auto; padding: 28px; color: #eef5ff; border: 1px solid rgba(224,237,255,.2); border-radius: 32px; background: rgba(3,4,10,.34); box-shadow: 0 28px 100px rgba(0,0,0,.62); backdrop-filter: blur(18px); }
.contact-dialog::backdrop { background: rgba(2,3,8,.68); backdrop-filter: blur(14px); }
.contact-dialog[open] { opacity: 0; transform: perspective(900px) translateY(26px) rotateX(-3deg) scale(.95); }
.contact-dialog[open]::backdrop { opacity: 0; }
.contact-dialog[open] .contact-dialog-title, .contact-dialog[open] .contact-dialog-close, .contact-dialog[open] .contact-option { opacity: 0; transform: translateY(18px) scale(.97); }
.contact-dialog.is-preparing { visibility: hidden; }
.contact-dialog.is-opening { animation: contact-dialog-in 520ms var(--ease) both; }
.contact-dialog.is-opening::backdrop { animation: contact-backdrop-in 440ms ease both; }
.contact-dialog.is-opening .contact-dialog-title, .contact-dialog.is-opening .contact-dialog-close, .contact-dialog.is-opening .contact-option { animation: contact-assemble 520ms var(--ease) both; }
.contact-dialog.is-opening .contact-dialog-title { animation-delay: 90ms; }.contact-dialog.is-opening .contact-dialog-close { animation-delay: 140ms; }.contact-dialog.is-opening .contact-option { animation-delay: 210ms; }
.contact-dialog.is-ready { opacity: 1; transform: perspective(900px) translate3d(0,0,0) rotateX(0) scale(1); }.contact-dialog.is-ready::backdrop { opacity: 1; }.contact-dialog.is-ready .contact-dialog-title, .contact-dialog.is-ready .contact-dialog-close, .contact-dialog.is-ready .contact-option { opacity: 1; transform: translateY(0) scale(1); }
.contact-dialog.is-shell-closing { animation: contact-dialog-shell-out 620ms ease-in-out forwards; }.contact-dialog.is-backdrop-closing::backdrop { animation: contact-backdrop-in 580ms ease reverse forwards; }.contact-dialog.is-closing .contact-option, .contact-dialog.is-controls-closing .contact-dialog-close, .contact-dialog.is-title-closing .contact-dialog-title { animation: contact-assemble 620ms ease-in-out reverse forwards; }.contact-dialog.is-kicker-closing .contact-dialog-kicker-row { animation: contact-kicker-out 620ms ease-in-out forwards; }.contact-dialog.is-frame-settling { animation: contact-frame-settle 100ms ease-out forwards; }.contact-dialog.is-frame-settling.is-shell-closing { animation: contact-dialog-shell-out 620ms ease-in-out forwards; }
@keyframes contact-dialog-in { from { opacity: 0; transform: perspective(900px) translateY(26px) rotateX(-3deg) scale(.95); } to { opacity: 1; transform: perspective(900px) translate3d(0,0,0) rotateX(0) scale(1); } }
@keyframes contact-backdrop-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes contact-assemble { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes contact-kicker-out { from { opacity: 1; filter: blur(0); transform: translateY(0); } to { opacity: 0; filter: blur(5px); transform: translateY(10px); } }
@keyframes contact-frame-settle { from { opacity: 1; } to { opacity: .84; } }
@keyframes contact-dialog-shell-out { from { opacity: .84; transform: perspective(900px) translate3d(0,0,0) rotateX(0) scale(1); } to { opacity: 0; transform: perspective(900px) translateY(26px) rotateX(-3deg) scale(.95); } }
.contact-dialog-kicker-row { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; margin-bottom: 16px; }
.contact-dialog-kicker { margin: 0; color: rgba(85,241,255,.82); font-size: .72rem; font-style: italic; text-transform: uppercase; }.contact-dialog-kicker:last-child { text-align: right; }
.contact-dialog-mark { color: rgba(85,241,255,.82); font-size: .82rem; font-style: italic; }.contact-dialog-mark .brand-zero { font-family: Baskerville, Georgia, serif; }
.contact-dialog-title-row { display: grid; grid-template-columns: minmax(0,1fr) 34px; min-height: 40px; align-items: center; }
.contact-dialog-title { margin: 0; font-size: 2.25rem; font-weight: 400; line-height: 1.08; }.contact-dialog-close { display: grid; width: 34px; height: 34px; padding: 0; place-items: center; border: 1px solid rgba(224,237,255,.16); border-radius: 999px; color: rgba(238,245,255,.68); background: transparent; font-size: 1.5rem; line-height: 1; }.contact-dialog-close:hover, .contact-dialog-close:focus-visible { border-color: rgba(85,241,255,.42); color: #eef5ff; background: rgba(85,241,255,.08); outline: none; }
.contact-options { display: grid; gap: 10px; margin-top: 28px; }
.contact-option { display: grid; gap: 8px; padding: 14px 18px; border: 1px solid rgba(224,237,255,.18); border-radius: 20px; background: rgba(3,4,10,.26); }
.contact-option-name { font-style: italic; }.contact-option-email-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 16px; padding: 8px 0; align-items: center; border-block: 1px solid rgba(224,237,255,.1); }.contact-option-email { overflow-wrap: anywhere; color: rgba(238,245,255,.72); font-size: .92rem; }.contact-option-actions { display: flex; gap: 8px; }.contact-option-action { min-height: 36px; padding: 7px 14px; border: 1px solid rgba(224,237,255,.2); border-radius: 999px; color: #eef5ff; background: rgba(255,255,255,.05); font: inherit; font-size: .84rem; font-style: italic; }.contact-option-action:hover, .contact-option-action:focus-visible { border-color: rgba(85,241,255,.42); background: rgba(85,241,255,.1); outline: none; }

@media (max-width: 980px) { .widget-deck { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { main { padding: 30px 16px 30px; } .widgets-brand { width: min(224px, 62vw); margin-bottom: 4px; } .widgets-intro { margin-bottom: 42px; } .widget-deck { grid-template-columns: 1fr; } .widget-shell { min-height: 390px; } .x3-section { margin-top: 32px; } .x3-anchor { height: 74vh; } .x3-frame { height: 74vh; } .x3-frame.is-expanded { height: 84vh; } .x3-frame.is-floating { right: 12px; bottom: 12px; width: calc(100vw - 24px); height: min(600px, 78vh); } .x3-launcher { right: 12px; bottom: 12px; } .widgets-footer { grid-template-columns: 1fr; justify-items: center; text-align: center; } .widgets-footer > :last-child { text-align: center; } .contact-dialog-title-row h2 { font-size: 1.75rem; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }