/* Hallmark · site-wide layer for the v3 "night shift" look (2026-11-10) · genre: modern-minimal · theme: brand (forest, night, mint, hot pink; Archivo, uppercase display at 500, square corners, flat bone/night grounds after a study of sundayred.com) · loaded after site.css on every page except the legal pages and onboarding · inner-page heroes and closing bands take the homepage's night sky and display type
 * critique: carries the homepage's hero and closing band to every page without changing content, prices or wiring
 * The example-call demos are static on every page (founder, 2026-11-10): no playback, typing, waveform or rings. */

:root {
  --ns-sky-1: rgba(61, 214, 168, .38);
  --ns-sky-2: rgba(45, 93, 74, .9);
  --ns-sky-3: rgba(184, 115, 51, .22);
  --ns-glass: rgba(234, 242, 238, .06);
  --ns-glass-line: rgba(234, 242, 238, .16);
  --ns-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6);
}

/* Flat grounds: no glow, no blobs, no grain (Sun Day Red study, 2026-11-10) */
.ns-sky { display: none; }

/* Scroll: a thin hot-pink progress line under the sticky header, and heroes that ease up and fade as they leave.
   CSS scroll-driven animations only; browsers without them simply show the static page. */
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--copper); transform: scaleX(0); transform-origin: left; pointer-events: none; }
@supports (animation-timeline: scroll()) {
  .js:not(.rm) .site-header::after { animation: v3-progress linear both; animation-timeline: scroll(root); }
  .js:not(.rm) .v3-hero > .wrap, .js:not(.rm) .ns-hero-grid { animation: v3-leave linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
}
@keyframes v3-progress { to { transform: scaleX(1); } }
@keyframes v3-leave { to { transform: translateY(-12%); opacity: .25; } }

/* Inner-page heroes on night */
.v3-hero { position: relative; isolation: isolate; overflow: hidden; }
.v3-hero > .wrap { position: relative; z-index: 1; }
.v3-hero.hero { padding-bottom: clamp(56px, 7vw, 96px); }
.v3-hero .h1 { color: var(--night-ink); font-size: clamp(2.5rem, 1.2rem + 4vw, 4.8rem); line-height: .95; letter-spacing: -.025em; overflow-wrap: break-word; min-width: 0; }
.v3-hero .h1.h1-long { font-size: clamp(2.1rem, 1.1rem + 2.8vw, 3.6rem); line-height: 1; }
.v3-hero .h1 .v3-mint { display: block; color: var(--mint); }
.v3-hero .lede { color: var(--night-muted); }
.v3-hero .hero-visual { background: var(--ns-glass); border: 1px solid var(--ns-glass-line); box-shadow: var(--ns-shadow); }
.v3-hero .call { color: var(--ink); }
.v3-hero .call-caption { color: var(--night-muted); }
.v3-hero .label { color: var(--copper-night); }
.v3-hero + .section-tight { padding-top: clamp(40px, 6vw, 72px) !important; }

/* Closing bands: centred, display type, the same sky */
.v3-end { position: relative; isolation: isolate; overflow: hidden; padding: clamp(88px, 12vw, 160px) 0; }
.v3-end > .wrap { position: relative; z-index: 1; }
.v3-end .cta-grid { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.v3-end .statement { max-width: 16ch; font-size: clamp(2.3rem, 1.1rem + 3.8vw, 4.6rem); line-height: .96; letter-spacing: -.025em; overflow-wrap: break-word; min-width: 0; }
.v3-end .lede { margin-inline: auto; }
.v3-end .cta-row, .v3-end .terms-line { justify-content: center; }

/* Website plans (pricing page and the homepage pricing note) */
.web-plans { display: grid; gap: var(--s5); margin-top: var(--s7); }
@media (min-width: 800px) { .web-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.web-plans .plan { display: flex; flex-direction: column; }
.web-plans .plan .btn { margin-top: auto; }
.web-plans .check-list { margin-bottom: var(--s6); }
.web-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s4); margin-top: var(--s7); padding: var(--s5) var(--s6); border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--surface); }
.web-strip p { margin: 0; }
.web-strip strong { font-family: var(--display); font-size: var(--fs-h4); }

/* Pricing: one website plan beside its upsell, the custom-setup button, the upsell dialog (2026-11-11) */
.web-single { display: grid; gap: 0; margin-top: var(--s7); border: 1px solid var(--line-2); background: var(--surface); }
@media (min-width: 880px) { .web-single { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.web-single > .plan { display: flex; flex-direction: column; gap: var(--s3); border: 0; }
.web-single > .plan .btn + .btn { margin-top: var(--s2); }
.web-upsell { display: grid; align-content: start; gap: var(--s5); padding: var(--s6); background: var(--night); color: var(--night-ink); }
.web-upsell .h4 { color: var(--night-ink); }
.web-upsell-item { display: grid; gap: var(--s3); padding-top: var(--s5); border-top: 2px solid var(--copper-night); }
.web-upsell-item p { color: var(--night-muted); }
.web-upsell-item strong { color: var(--night-ink); }
.web-upsell .link-arrow { color: var(--night-ink); }
.web-upsell :focus-visible { outline-color: var(--mint); }
.plans-custom { display: flex; justify-content: center; margin-top: var(--s6); }
.plans-custom .btn { white-space: normal; text-align: center; }

.upsell { width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); box-shadow: var(--ns-shadow); }
.upsell::backdrop { background: rgba(8, 14, 11, .62); }
.upsell-in { position: relative; display: grid; gap: var(--s4); padding: var(--s6); }
.upsell-x { position: absolute; top: var(--s3); right: var(--s3); width: 44px; height: 44px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.upsell-x:hover { border-color: var(--ink); }
.upsell-x:focus-visible, .upsell-opt:focus-visible { outline: 2px solid var(--mint-ink); outline-offset: 3px; }
.upsell .h3 { padding-right: 52px; }
.upsell-lede { color: var(--ink-2); }
.upsell-opts { display: grid; gap: var(--s3); }
.upsell-opt { display: grid; gap: var(--s1); padding: var(--s4) var(--s5); border: 1px solid var(--line-2); color: var(--ink); text-decoration: none; transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease); }
.upsell-opt:hover { border-color: var(--forest); background: var(--paper); }
.upsell-opt b { font-weight: 600; }
.upsell-opt span { font-size: var(--fs-sm); color: var(--muted); }
.upsell-opt.is-pick { border: 2px solid var(--copper); }
.upsell-fine { font-size: var(--fs-xs); color: var(--muted); text-align: center; }

@media (prefers-reduced-motion: reduce) {
  .site-header::after, .v3-hero > .wrap, .ns-hero-grid { animation: none !important; }
}
