.np-request-hero,
.np-request-benefits {
    --np-request-ink: #202536;
    --np-request-muted: #50586b;
    --np-request-surface: #fff;
    --np-request-panel: #f8f9fd;
    --np-request-border: #dde1ec;
    --np-request-accent: #4338ca;
    color: var(--np-request-ink);
}
.dark :is(.np-request-hero, .np-request-benefits) {
    --np-request-ink: #f4f5fc;
    --np-request-muted: #c2c7d5;
    --np-request-surface: #151924;
    --np-request-panel: #1c2230;
    --np-request-border: #3c4457;
    --np-request-accent: #7770e8;
}
.np-request-hero {
    padding: clamp(2rem, 4vw, 4rem) 1rem;
    background: var(--np-request-surface);
}
.np-request-intro { max-width: 44.25rem; margin: 0 auto; text-align: center; }
.np-request-intro h1,
.np-request-intro h2 { margin: 0; font: 400 clamp(2.5rem, 5vw, 4rem)/1.2 Sora, sans-serif; letter-spacing: -.05em; text-wrap: balance; }
.np-request-intro h2.np-request-section-heading,
.np-request-benefits .np-request-intro h2 { font-size: clamp(1.8rem, 4vw, 3.35rem); }
.np-request-intro p { max-width: 31rem; margin: .75rem auto 0; color: var(--np-request-muted); font-family: "Inter Tight", sans-serif; font-weight: 400; }
.np-request-intro .np-request-kicker { margin: 0 auto .75rem; font-size: .875rem; font-weight: 600; }
.np-request-composer-wrap { max-width: 44.25rem; margin: clamp(2rem, 5vw, 4.0625rem) auto 0; scroll-margin-top: 8rem; font-family: "Inter Tight", sans-serif; }
.np-request-composer {
    min-height: 14.3125rem;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    border: 1px solid var(--np-request-border);
    border-radius: 1rem;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--np-request-surface);
}
.np-request-composer::before,
.np-request-composer::after { content: ""; position: absolute; pointer-events: none; }
.np-request-composer::before {
    width: 5.625rem;
    aspect-ratio: 1;
    z-index: -2;
    background: radial-gradient(circle, #ff6b51 0%, transparent 70%);
    offset-path: inset(0 round 1rem);
    animation: np-request-border-travel 10s linear infinite;
}
.np-request-composer::after {
    inset: 1px;
    border-radius: calc(1rem - 1px);
    z-index: -1;
    background: radial-gradient(ellipse at 100% 100%, #f5a18b9e, transparent 24%),
        radial-gradient(ellipse at 4% 8%, var(--np-request-panel), var(--np-request-surface) 68%);
}
@keyframes np-request-border-travel { to { offset-distance: 100%; } }
@media (prefers-reduced-motion: reduce) { .np-request-composer::before { animation: none; } }
.np-request-composer label, .np-request-example { font-weight: 400; }
.np-request-composer textarea {
    display: block;
    width: 100%;
    min-height: 7rem;
    flex: 1;
    padding: .65rem 0;
    resize: vertical;
    color: inherit;
    background: transparent;
    border: 0;
    font: 400 1rem/1.5 "Inter Tight", sans-serif;
}
.np-request-composer textarea::placeholder { color: var(--np-request-muted); }
.np-request-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; margin-top: .85rem; }
.np-request-actions p { margin: 0; font-size: .875rem; color: var(--np-request-muted); }
.np-request-button,
.np-request-chips button,
.np-request-chips li {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border-radius: 999px;
    padding: .45rem .9rem;
}
.np-request-button { min-height: 44px; background: var(--np-request-accent, #4338ca); color: #fff; font-weight: 600; cursor: pointer; margin-inline-start: auto; }
.np-request-button[hidden] { display: none; }
.np-request-composer > .np-request-actions { margin-top: auto; }
.np-request-hero :focus-visible { outline: 2px solid var(--np-request-accent); outline-offset: 3px; }
.np-request-hero .np-request-composer textarea:focus { outline: none; box-shadow: none; }
.np-request-composer:has(textarea:focus-visible) { border-color: var(--np-request-accent); }
.np-request-flow { display: grid; }
.np-request-flow > * { grid-area: 1 / 1; min-width: 0; align-self: start; }
.np-request-flow > form { transition: opacity .24s ease, transform .24s ease; }
.np-request-flow[data-sending] > form { opacity: 0; transform: translateY(-.5rem); pointer-events: none; }
.np-request-flow [hidden] { display: none; }
.np-request-reply { opacity: 0; transform: translateY(.65rem); transition: opacity .24s ease, transform .24s ease; }
.np-request-reply.is-visible { opacity: 1; transform: translateY(0); }
.np-request-reply [data-request-result]:not([hidden]) { animation: np-request-result-in .3s ease-out both; }
@keyframes np-request-result-in {
    from { opacity: 0; transform: translateY(.65rem); }
    to { opacity: 1; transform: translateY(0); }
}
.np-request-reply p { margin-top: .65rem; }
.np-request-reply a { margin-top: 1rem; align-self: flex-start; }
.np-request-waiting::after { content: '…'; display: inline-block; animation: np-request-pulse .9s ease-in-out infinite alternate; }
@keyframes np-request-pulse { to { opacity: .25; transform: translateY(-.15rem); } }
@media (prefers-reduced-motion: reduce) {
    .np-request-flow > form, .np-request-reply { transition: none; }
    .np-request-waiting::after, .np-request-reply [data-request-result]:not([hidden]) { animation: none; }
}
.np-request-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; padding: 0; list-style: none; }
.np-request-chips button, .np-request-chips li { background: var(--np-request-panel); border: 1px solid var(--np-request-border); color: var(--np-request-muted); font-size: .875rem; }
.np-request-chips button { min-height: 44px; cursor: pointer; }
.np-request-benefits { padding: clamp(2rem, 5vw, 4rem) 0; }
.np-request-bento { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr) minmax(0, 3fr); grid-template-areas: "report orbit integrations" "report automation integrations"; grid-auto-rows: minmax(8.5rem, auto); gap: .85rem; margin-top: clamp(1.75rem, 4vw, 3rem); }
.np-request-panel { border: 1px solid var(--np-request-border); border-radius: 1.2rem; display: grid; align-content: center; justify-items: center; gap: .6rem; padding: 1rem; background: var(--np-request-panel); text-align: center; }
.np-request-panel h3 { font-weight: 600; }
.np-request-report { grid-area: report; background: radial-gradient(ellipse at 25% 50%, #f9a76a46, transparent 64%), var(--np-request-panel); }
.np-request-orbit {
    grid-area: orbit;
    background: linear-gradient(#fff8, #ffffff20), url('./module-request-orbit.png') center / cover;
}
.dark .np-request-orbit { background: url('./module-request-orbit.png') center / cover; }
.np-request-orbit i { width: 4.2rem; aspect-ratio: 1; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 8px, #354671 9px 10px); transform: rotate(-18deg) scaleY(.85); }
.dark .np-request-orbit i { background: repeating-radial-gradient(circle, transparent 0 8px, #fff 9px 10px); }
.np-request-automation { grid-area: automation; }
.np-request-integrations { grid-area: integrations; background: radial-gradient(ellipse at 25% 70%, #bfbafa55, transparent 70%), var(--np-request-panel); }
.np-request-integrations ul { display: grid; gap: .35rem; width: min(100%, 16rem); margin: 0; padding: 0; list-style: none; text-align: start; }
.np-request-integrations li, .np-request-search, .np-request-stack { border: 1px solid var(--np-request-border); background: var(--np-request-surface); padding: .55rem .75rem; border-radius: .65rem; color: var(--np-request-muted); }
.np-request-integrations li span { display: inline-block; min-width: 1.65rem; }
.np-request-search { border-radius: 999px; }
.np-request-stack { box-shadow: 0 5px var(--np-request-panel), 0 6px var(--np-request-border); }
.np-request-editor-prompts { margin-top: .75rem; padding: .5rem; border: 1px solid var(--np-request-border); border-radius: .65rem; }
.np-request-editor-prompts p { margin-top: .5rem; }

[data-module-generation-page] :is(.np-request-hero, .np-process-timeline) {
    background: transparent;
}
[data-module-generation-page] .np-process-timeline {
    padding: clamp(2rem, 5vw, 4rem) 0;
}
[data-module-generation-page] .np-process-timeline .np-template-badge:empty {
    display: none;
}
[data-module-generation-page] [data-ns-animate] {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
}

@media (max-width: 48rem) {
    .np-request-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "report orbit" "automation integrations"; }
}
@media (max-width: 28rem) {
    .np-request-bento { grid-template-columns: minmax(0, 1fr); grid-template-areas: "report" "orbit" "automation" "integrations"; }
}
