/* ==========================================================================
   ProofNet.app — Documentary Review & Architecture Preview Stylesheet
   Unified visual system combining ProofNet™ YouTube Banner tokens, Codex's
   luminous Capitol/Wasatch hero & Charter serif restraint, and a calm light
   editorial canvas. Zero external fonts/CDNs. Strict CSP (no inline styles).
   ========================================================================== */

:root {
  /* Deep Navy & Restrained Emerald Palette */
  --navy-950: #07141b;
  --navy-900: #091a20;
  --navy-850: #0d242d;
  --navy-800: #13313d;
  --emerald-900: #093b2d;
  --emerald-800: #0c4b3a;
  --emerald-700: #125b49;
  --emerald-600: #14745b;
  --emerald-500: #1d9674;
  --emerald-400: #34d399;
  --emerald-mint: #b9f4d9;
  --emerald-mint-hover: #d4ffea;
  --emerald-tint: #eef7f3;
  --emerald-border: #c5e2d5;

  /* Calm Light Editorial Canvas */
  --bg-page: #f6f8f6;
  --bg-surface: #ffffff;
  --bg-subtle: #eff4f1;
  --bg-inset: #f8fbf9;

  /* Typography Ink */
  --ink-strong: #102721;
  --ink-body: #324943;
  --ink-muted: #4b625b;
  --ink-on-dark: #f0faf5;
  --ink-on-dark-muted: #c2dad0;

  /* Borders & Elevation */
  --border-subtle: #dbe5de;
  --border-strong: #b9cec2;
  --shadow-sm: 0 2px 10px rgba(7, 20, 27, 0.05);
  --shadow-md: 0 14px 36px rgba(7, 20, 27, 0.08);
  --shadow-lg: 0 24px 64px rgba(7, 20, 27, 0.24);

  /* Semantic States */
  --danger-ink: #9f1d2c;
  --danger-bg: #fdf2f3;
  --danger-border: #f2c2c8;
  --warn-ink: #8a5308;
  --warn-bg: #fdf7eb;
  --warn-border: #edd5a8;

  /* Typography & Layout */
  --font-serif: Charter, Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, system-ui, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace;

  --container: 1120px;
  --container-narrow: 760px;
  --header-h: 72px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-pill: 999px;
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--navy-900);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-body);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.modal-open {
  overflow: hidden;
}

img, picture, svg {
  display: block;
  max-width: 100%;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

a {
  color: var(--emerald-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--emerald-800);
}

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--bg-subtle);
  padding: 0.12em 0.36em;
  border-radius: 5px;
  color: var(--ink-strong);
}

:focus-visible {
  outline: 2.5px solid #229d79;
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 1200;
  background: var(--emerald-700);
  color: #ffffff;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: top 0.16s ease;
}

.skip-link:focus {
  top: 14px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: var(--container-narrow);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--header-h);
  background: rgba(9, 26, 32, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #edfbf4;
  flex-shrink: 0;
}

.brand-lockup:hover {
  color: #ffffff;
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.brand-lockup-sm .brand-mark {
  width: 28px;
  height: 28px;
}

.brand-wordmark {
  display: inline-flex;
  align-items: flex-start;
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #edfbf4;
}

.brand-wordmark-dark {
  color: var(--ink-strong);
  font-size: 1.18rem;
}

.brand-tm {
  font-family: var(--font-sans);
  font-size: 0.44em;
  font-weight: 700;
  line-height: 1;
  margin-top: 0.08em;
  margin-left: 2px;
  color: var(--emerald-400);
}

.brand-wordmark-dark .brand-tm {
  color: var(--emerald-700);
}

.primary-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  color: #cce5da;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.16s ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-current {
  color: #ffffff;
}

.nav-link.is-current {
  border-bottom: 1.5px solid var(--emerald-mint);
  padding-bottom: 2px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  padding: 0;
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 1.8px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-child {
  transform: translateY(3.9px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-child {
  transform: translateY(-3.9px) rotate(-45deg);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.14s ease, color 0.16s ease;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Luminous mint-emerald hero action on deep navy (inspired by Codex draft) */
.btn-hero {
  background: var(--emerald-mint);
  color: #0b2820;
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 26px rgba(4, 15, 20, 0.34);
}

.btn-hero:hover:not(:disabled) {
  background: var(--emerald-mint-hover);
  color: #071e18;
  transform: translateY(-1px);
}

/* Deep emerald primary action on light surfaces / modals */
.btn-primary {
  background: var(--emerald-700);
  color: #ffffff;
  border-color: var(--emerald-800);
}

.btn-primary:hover:not(:disabled) {
  background: var(--emerald-800);
  color: #ffffff;
}

/* Deep ProofNet navy prominent secondary action on light surfaces */
.btn-navy {
  background: var(--navy-900);
  color: #ffffff;
  border-color: var(--navy-950);
}

.btn-navy:hover:not(:disabled) {
  background: var(--navy-800);
  color: #ffffff;
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--ink-strong);
  border-color: var(--border-strong);
}

.btn-secondary:hover:not(:disabled) {
  background: var(--bg-subtle);
  color: var(--ink-strong);
}

.btn-ghost-dark {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink-on-dark);
  border-color: rgba(255, 255, 255, 0.22);
}

.btn-ghost-dark:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.btn-danger {
  background: #ffffff;
  color: var(--danger-ink);
  border-color: var(--danger-border);
}

.btn-danger:hover:not(:disabled) {
  background: var(--danger-bg);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.85rem;
}

/* ==========================================================================
   Top Premiere Documentary Feature Hero (Directly Below Header)
   ========================================================================== */
.film-hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-900);
  color: #ffffff;
  padding: clamp(24px, 3vw, 34px) 0 clamp(34px, 4.2vw, 48px);
  border-bottom: 1px solid rgba(185, 244, 217, 0.14);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-backdrop picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-backdrop-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 48%;
  opacity: 0.52;
  filter: saturate(0.75) contrast(1.04);
}

/* Deep navy & emerald atmospheric premiere veil behind the film poster */
.film-hero-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 68% 72% at 22% 28%, rgba(16, 102, 77, 0.36) 0%, transparent 68%),
    linear-gradient(180deg, rgba(9, 26, 32, 0.9) 0%, rgba(9, 26, 32, 0.72) 44%, rgba(7, 20, 27, 0.92) 100%);
}

.film-hero-inner {
  position: relative;
  z-index: 2;
}

/* Opening App Release Hero Grid (Prominent Phone Showcase + Coming-Soon Copy) */
.app-hero-grid {
  max-width: 1020px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 316px);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  padding: 2px 0 clamp(24px, 3vw, 34px);
}

.app-hero-copy {
  min-width: 0;
}

.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(16, 102, 77, 0.24);
  border: 1px solid rgba(185, 244, 217, 0.3);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #c7f6e1;
}

.app-hero-title {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-size: clamp(2.35rem, 4.4vw, 3.6rem);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.035em;
  color: #ffffff;
}

.app-hero-lead {
  max-width: 52ch;
  margin: 0 0 24px;
  font-size: clamp(1rem, 1.3vw, 1.11rem);
  line-height: 1.58;
  color: #d6ebe2;
}

.app-hero-lead strong {
  color: #ffffff;
  font-weight: 600;
}

.app-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.app-hero-support {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #b7d7cb;
}

.hero-phone-showcase {
  position: relative;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 8px 4px;
}

.hero-phone-glow {
  position: absolute;
  inset: 8% 4% 12%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(52, 211, 153, 0.3) 0%,
    rgba(16, 102, 77, 0.14) 48%,
    transparent 72%
  );
  filter: blur(18px);
  pointer-events: none;
}

.hero-phone-trigger {
  position: relative;
  z-index: 1;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 36px;
  transition: transform 0.2s ease;
}

.hero-phone-trigger:hover {
  transform: translateY(-2px);
}

.hero-phone-trigger:focus-visible {
  outline: 3px solid var(--emerald-mint);
  outline-offset: 4px;
}

.hero-phone-showcase picture {
  position: relative;
  z-index: 1;
  display: block;
}

.hero-phone-img {
  width: 100%;
  max-width: 258px;
  height: auto;
  display: block;
  border-radius: 34px;
  filter: drop-shadow(0 28px 54px rgba(2, 10, 14, 0.72));
}

.phone-launcher {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 296px;
  margin-top: 10px;
  padding: 9px 11px 11px;
  border-radius: var(--radius-md);
  background: rgba(6, 20, 26, 0.86);
  border: 1px solid rgba(185, 244, 217, 0.24);
  box-shadow: 0 14px 32px rgba(2, 10, 14, 0.45);
}

.phone-launcher-label {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9be5c8;
  text-align: center;
}

.phone-launcher-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.phone-clip-btn {
  width: 100%;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(185, 244, 217, 0.2);
  background: rgba(16, 102, 77, 0.2);
  color: #f2fbf7;
  font-size: 0.83rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.14s ease;
}

.phone-clip-btn:hover {
  background: rgba(185, 244, 217, 0.2);
  border-color: var(--emerald-mint);
  color: #ffffff;
}

.phone-clip-play {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--emerald-mint);
  color: #07221b;
  flex-shrink: 0;
}

.phone-clip-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.phone-clip-time {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: #b7f4d9;
}

/* Comfortable Captioned Preview Clip Overlay */
.clip-overlay {
  position: fixed;
  inset: 0;
  z-index: 920;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 3vw, 28px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.clip-overlay[hidden] {
  display: none;
}

.clip-overlay-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 15, 20, 0.84);
  backdrop-filter: blur(6px);
}

.clip-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 820px);
  border-radius: var(--radius-lg);
  background: var(--navy-900);
  border: 1px solid rgba(185, 244, 217, 0.28);
  box-shadow: 0 32px 84px rgba(0, 0, 0, 0.68);
  overflow: hidden;
  color: #ffffff;
}

.clip-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.clip-dialog-titles {
  min-width: 0;
}

.clip-dialog-kicker {
  margin: 0 0 3px;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--emerald-mint);
}

.clip-dialog-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.2vw, 1.48rem);
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
}

.clip-close-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(185, 244, 217, 0.38);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}

.clip-close-btn:hover {
  background: rgba(185, 244, 217, 0.24);
  border-color: var(--emerald-mint);
}

.clip-player-stage {
  aspect-ratio: 16 / 9;
  width: 100%;
  background: #02090d;
}

.clip-overlay-video {
  width: 100%;
  height: 100%;
  display: block;
  background: #02090d;
}

.clip-dialog-caption {
  margin: 0;
  padding: 14px 20px 12px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #cfe6dc;
}

.clip-switcher {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 0 20px 18px;
}

.clip-switch-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: #d6ebe2;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.clip-switch-btn span:first-child {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--emerald-mint);
}

.clip-switch-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(185, 244, 217, 0.45);
}

.clip-switch-btn.is-active {
  background: rgba(16, 102, 77, 0.45);
  border-color: var(--emerald-mint);
  color: #ffffff;
}

.film-section-kicker {
  margin: 0 0 4px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9be5c8;
}

.film-hero-head {
  max-width: 1020px;
  margin: 0 auto 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 28px;
}

.film-hero-intro {
  max-width: 1020px;
  margin: 0 auto;
}

.full-film-section {
  max-width: 1020px;
  margin: clamp(32px, 4vw, 48px) auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(185, 244, 217, 0.24);
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.hero-eyebrow {
  margin: 0 0 8px;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #b7e6d4;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald-400);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.22);
  flex-shrink: 0;
}

.film-hero-title {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.6vw, 2.95rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #ffffff;
}

.film-hero-lead {
  max-width: 58ch;
  margin: 0;
  font-size: clamp(0.95rem, 1.25vw, 1.04rem);
  line-height: 1.54;
  color: #d6ebe2;
}

.film-hero-lead strong {
  color: #ffffff;
  font-weight: 600;
}

.film-hero-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.film-hero-note {
  margin: 0;
  font-size: 0.82rem;
  color: #c2dad0;
}

.film-shell-hero {
  max-width: 1020px;
  margin: 0 auto;
  border-color: rgba(185, 244, 217, 0.2);
  box-shadow: 0 28px 72px rgba(3, 10, 14, 0.62);
}

/* ==========================================================================
   Shared Editorial Section Typography
   ========================================================================== */
.section {
  padding: clamp(56px, 7vw, 88px) 0;
}

.section-header {
  max-width: 680px;
  margin-bottom: 34px;
}

.section-kicker {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--emerald-700);
}

.section-title {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: clamp(1.95rem, 3.6vw, 2.85rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--ink-strong);
}

.section-subtitle {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.64;
  color: var(--ink-muted);
}

/* ==========================================================================
   Film Story Band (Codex's Sarah Still + Hairline List) & Screening Stage
   ========================================================================== */
.film-section {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

.story-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
}

.story-media {
  margin: 0;
}

.story-still {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

.story-caption {
  margin-top: 10px;
  font-size: 0.87rem;
  color: var(--ink-muted);
}

.story-title {
  font-size: clamp(2rem, 3.8vw, 3.15rem);
}

.story-lead {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.64;
  color: var(--ink-muted);
}

.story-list {
  margin: 22px 0 0;
  padding: 0;
}

.story-list-item {
  border-top: 1px solid var(--border-subtle);
  padding: 13px 0;
}

.story-list-item dt {
  font-weight: 700;
  color: var(--ink-strong);
  font-size: 0.98rem;
}

.story-list-item dd {
  margin: 4px 0 0;
  font-size: 0.93rem;
  line-height: 1.56;
  color: var(--ink-muted);
}

/* ==========================================================================
   Brief Captioned Documentary Preview Clips (#previews)
   ========================================================================== */
.previews-block {
  max-width: 1020px;
  margin: 0 auto;
  padding-top: clamp(24px, 3vw, 34px);
  border-top: 1px solid rgba(185, 244, 217, 0.2);
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.previews-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px 20px;
  margin-bottom: 18px;
}

.film-section-heading {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.6vw, 1.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #ffffff;
}

.previews-announce-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: var(--bg-inset);
  color: var(--emerald-700);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.previews-announce-link:hover {
  background: var(--emerald-tint);
  border-color: var(--emerald-700);
  color: var(--ink-strong);
}

.previews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.preview-card {
  margin: 0;
  background: var(--bg-inset);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.preview-media-wrap {
  aspect-ratio: 16 / 9;
  background: var(--navy-950);
  overflow: hidden;
}

.preview-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: var(--navy-950);
}

.preview-meta {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.preview-badge {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--emerald-700);
}

.preview-card-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.24;
  color: var(--ink-strong);
}

.preview-card-copy {
  margin: 0;
  font-size: 0.87rem;
  line-height: 1.54;
  color: var(--ink-muted);
}

/* ==========================================================================
   Announcements Page (/announcements)
   ========================================================================== */
.page-hero {
  background: linear-gradient(135deg, var(--navy-950) 0%, #09212a 55%, #0c3b2f 100%);
  color: #ffffff;
  padding: clamp(44px, 6vw, 72px) 0 clamp(40px, 5vw, 58px);
  border-bottom: 1px solid rgba(185, 244, 217, 0.14);
}

.page-hero-title {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: #ffffff;
}

.page-hero-lead {
  margin: 0 0 26px;
  max-width: 58ch;
  font-size: 1.04rem;
  line-height: 1.62;
  color: #d6ebe2;
}

.announce-jump-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.announce-jump-link {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(185, 244, 217, 0.22);
  color: #ffffff;
  text-decoration: none;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}

.announce-jump-link:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--emerald-mint);
  color: #ffffff;
}

.announce-jump-link time {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--emerald-mint);
}

.announce-jump-link span {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
}

.announce-section {
  background: var(--bg-page);
}

.announce-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.announce-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-sm);
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.announce-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin-bottom: 14px;
}

.announce-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.announce-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--emerald-tint);
  border: 1px solid var(--emerald-border);
  color: var(--emerald-800);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.announce-tag-muted {
  background: var(--bg-subtle);
  border-color: var(--border-subtle);
  color: var(--ink-body);
}

.announce-date {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.announce-permalink {
  font-size: 0.82rem;
  color: var(--ink-muted);
  text-decoration: none;
}

.announce-permalink:hover {
  color: var(--emerald-700);
  text-decoration: underline;
}

.announce-title {
  margin: 0 0 18px;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.8vw, 2.08rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--ink-strong);
}

.announce-media {
  margin: 0 0 22px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-inset);
}

.announce-media picture {
  display: block;
}

.announce-media-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.announce-media-caption {
  padding: 10px 14px;
  font-size: 0.82rem;
  line-height: 1.48;
  color: var(--ink-muted);
  border-top: 1px solid var(--border-subtle);
}

.announce-body p {
  margin: 0 0 15px;
  font-size: 0.99rem;
  line-height: 1.68;
  color: var(--ink-body);
}

.announce-body .announce-lead {
  font-size: 1.04rem;
  color: var(--ink-strong);
}

.announce-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.announce-actions .btn {
  padding: 11px 18px;
  font-size: 0.9rem;
}

.announce-disclaimer {
  margin: 18px 0 0;
  font-size: 0.82rem;
  line-height: 1.56;
  color: var(--ink-muted);
}

/* Compact Cinema Screening Block below Story */
.film-stage-block {
  max-width: 920px;
  margin: clamp(52px, 7vw, 76px) auto 0;
  padding-top: clamp(40px, 5vw, 56px);
  border-top: 1px solid var(--border-subtle);
}

.film-stage-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px 20px;
  margin-bottom: 18px;
}

.film-stage-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink-strong);
}

.film-shell {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy-950);
  border: 1px solid rgba(9, 26, 32, 0.14);
  box-shadow: var(--shadow-lg);
}

.film-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  background: var(--navy-950);
  overflow: hidden;
}

.film-poster-layer {
  position: relative;
  width: 100%;
  height: 100%;
}

.film-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.film-play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: fit-content;
  height: fit-content;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: transparent;
  border: 0;
  padding: 16px;
  cursor: pointer;
  color: #ffffff;
}

.film-play-ring {
  position: absolute;
  top: 12px;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 1.5px solid rgba(185, 244, 217, 0.52);
  background: rgba(9, 26, 32, 0.35);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.film-play-core {
  position: relative;
  z-index: 2;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #138262 0%, #0d5843 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.56);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, background 0.2s ease;
}

.film-play-core svg {
  margin-left: 3px;
}

.film-play-label {
  position: relative;
  z-index: 2;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: rgba(9, 26, 32, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.86rem;
  font-weight: 600;
  color: #f3f9f6;
}

.film-play-btn:hover .film-play-core {
  transform: scale(1.06);
}

.film-play-btn:hover .film-play-ring {
  transform: scale(1.12);
  border-color: rgba(185, 244, 217, 0.9);
}

.film-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding: 14px 20px;
  background: var(--navy-900);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--ink-on-dark-muted);
  font-size: 0.85rem;
}

.film-meta-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: rgba(20, 116, 91, 0.28);
  border: 1px solid rgba(185, 244, 217, 0.3);
  color: #bdf3db;
  font-weight: 600;
  font-size: 0.79rem;
}

.meta-detail {
  color: #c2dad0;
}

.meta-text-link {
  color: #b7f4d9;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(183, 244, 217, 0.35);
  padding-bottom: 1px;
  font-size: 0.86rem;
}

.meta-text-link:hover {
  color: #ffffff;
  border-color: #ffffff;
}

.meta-text-link-light {
  color: var(--emerald-700);
  border-bottom-color: rgba(18, 91, 73, 0.32);
}

.meta-text-link-light:hover {
  color: var(--ink-strong);
  border-bottom-color: var(--ink-strong);
}

.noscript-request-box {
  padding: 18px 22px;
  background: var(--navy-850);
  color: var(--ink-on-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.noscript-request-box p {
  margin: 0;
  font-size: 0.92rem;
}

/* ==========================================================================
   Proofnet Technology + Genuine Documentary App Screen Preview
   ========================================================================== */
.process-section {
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-subtle);
}

.app-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 42px);
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
}

.showcase-label {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--emerald-700);
}

.showcase-heading {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: clamp(1.42rem, 2.3vw, 1.88rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--ink-strong);
}

.showcase-lead {
  margin: 0 0 24px;
  font-size: 0.96rem;
  line-height: 1.62;
  color: var(--ink-body);
}

.steps-stack {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding-top: 15px;
  border-top: 1px solid var(--border-subtle);
}

.step-row:first-child {
  padding-top: 0;
  border-top: 0;
}

.step-badge {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--emerald-800);
  background: var(--emerald-tint);
  border: 1px solid var(--emerald-border);
  margin-top: 1px;
}

.step-row-title {
  margin: 0 0 3px;
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--ink-strong);
}

.step-row-copy {
  margin: 0;
  font-size: 0.91rem;
  line-height: 1.56;
  color: var(--ink-muted);
}

.phone-preview-stage {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.phone-device-backdrop {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 24px 20px;
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 50% 25%, rgba(20, 116, 91, 0.18) 0%, transparent 65%),
    linear-gradient(160deg, #091c25 0%, #0a362c 100%);
  border: 1px solid rgba(9, 28, 37, 0.16);
}

.phone-device-img {
  width: 100%;
  max-width: 242px;
  height: auto;
  filter: drop-shadow(0 20px 34px rgba(4, 14, 20, 0.45));
}

.phone-preview-caption {
  margin: 0;
  max-width: 34ch;
  text-align: center;
  font-size: 0.83rem;
  line-height: 1.5;
  color: var(--ink-muted);
}

/* Proof Flow Diagram */
.proof-diagram-figure {
  margin: 0 0 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 3vw, 26px);
  box-shadow: var(--shadow-sm);
}

.proof-diagram-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

.proof-diagram-caption {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.89rem;
  line-height: 1.58;
  color: var(--ink-muted);
}

.proof-diagram-caption strong {
  color: var(--ink-strong);
}

/* Honest Development Scope Note */
.maturity-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--emerald-700);
  border-radius: var(--radius-md);
  padding: clamp(20px, 3vw, 26px);
}

.maturity-title {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 1.24rem;
  font-weight: 700;
  color: var(--ink-strong);
}

.maturity-note {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.64;
  color: var(--ink-body);
}

/* ==========================================================================
   Bounded Utah / SEDI Policy Context Card (#bill-of-rights)
   ========================================================================== */
.policy-section {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

.policy-charter-card {
  max-width: 920px;
  margin: 0 auto;
  background: var(--bg-inset);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 38px);
  box-shadow: var(--shadow-sm);
}

.policy-charter-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 20px;
  margin-bottom: 20px;
}

.policy-charter-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.policy-emblem {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--navy-900);
  color: var(--emerald-mint);
  flex-shrink: 0;
}

.policy-kicker {
  margin: 0 0 3px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--emerald-700);
}

.policy-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.38rem, 2.4vw, 1.78rem);
  font-weight: 700;
  color: var(--ink-strong);
}

.policy-statute-pill {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  color: var(--ink-strong);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
}

.policy-statute-pill:hover {
  border-color: var(--emerald-700);
  background: var(--emerald-tint);
  color: var(--ink-strong);
}

.policy-statute-meta {
  color: var(--ink-muted);
  font-weight: 500;
}

.policy-statement-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 16px;
}

.policy-statement {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-strong);
}

.policy-highlights {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.policy-highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  font-size: 0.91rem;
  font-weight: 500;
  color: var(--ink-strong);
}

.policy-check {
  color: var(--emerald-700);
  flex-shrink: 0;
}

.policy-consortium {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 20px;
}

.policy-consortium-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 14px;
  margin-bottom: 8px;
}

.policy-consortium-label {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--emerald-700);
}

.policy-consortium-date {
  margin: 0;
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.policy-consortium-copy {
  margin: 0 0 8px;
  font-size: 0.94rem;
  color: var(--ink-strong);
}

.policy-consortium-note {
  margin: 0 0 12px;
  font-size: 0.87rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

.policy-consortium-sources {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font-size: 0.84rem;
  color: var(--ink-muted);
}

.policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.policy-link-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border-strong);
}

.policy-link-primary {
  background: var(--navy-900);
  color: #ffffff;
  border-color: var(--navy-900);
}

.policy-link-primary:hover {
  background: var(--navy-800);
  color: #ffffff;
}

.policy-link-secondary {
  background: var(--bg-surface);
  color: var(--ink-strong);
}

.policy-link-secondary:hover {
  background: var(--emerald-tint);
  border-color: var(--emerald-700);
  color: var(--ink-strong);
}

.policy-disclaimer {
  margin: 0;
  padding-top: 15px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.83rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-page);
  padding: 32px 0 40px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-status {
  margin: 0;
  font-size: 0.84rem;
  color: var(--ink-muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
}

.footer-nav a {
  font-size: 0.88rem;
  color: var(--ink-muted);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--ink-strong);
  text-decoration: underline;
}

/* ==========================================================================
   Focused Accessible Screening Request Modal
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(16px, 4vh, 42px) 16px calc(24px + env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 19, 23, 0.76);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.modal-dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 640px;
  background: #fcfffb;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 80px rgba(4, 14, 19, 0.54);
  overflow: hidden;
  margin: auto 0;
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px 20px;
  background: linear-gradient(135deg, var(--navy-950) 0%, #0a2831 58%, #0d4637 100%);
  color: #ffffff;
}

.modal-kicker {
  margin: 0 0 6px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--emerald-mint);
}

.modal-title {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #ffffff;
}

.modal-subtitle {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.52;
  color: #cbe0d8;
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #e6f5ef;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.request-form {
  padding: 24px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-strong);
}

.req {
  color: var(--emerald-700);
  margin-left: 2px;
}

.request-form input[type="text"],
.request-form input[type="email"],
.request-form input[type="password"],
.request-form select,
.request-form textarea,
.admin-input {
  width: 100%;
  padding: 10px 12px;
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink-strong);
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.request-form input:focus,
.request-form select:focus,
.request-form textarea:focus,
.admin-input:focus {
  outline: none;
  border-color: var(--emerald-700);
  box-shadow: 0 0 0 3px rgba(18, 91, 73, 0.15);
}

.request-form input[aria-invalid="true"],
.request-form select[aria-invalid="true"] {
  border-color: var(--danger-ink);
  background: #fffafb;
}

.request-form textarea {
  resize: vertical;
  min-height: 78px;
}

.field-hint {
  margin: 0;
  font-size: 0.77rem;
  line-height: 1.4;
  color: var(--ink-muted);
}

.field-error {
  margin: 0;
  font-size: 0.79rem;
  font-weight: 500;
  color: var(--danger-ink);
}

.form-alert {
  padding: 11px 14px;
  border-radius: 6px;
  background: var(--danger-bg);
  border: 1px solid var(--danger-border);
  color: var(--danger-ink);
  font-size: 0.88rem;
  font-weight: 500;
}

/* Collapsible Optional Context & ProofNetBTC Areas of Interest */
.optional-details {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-inset);
  padding: 12px 14px;
}

.optional-summary {
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-strong);
  list-style: revert;
}

.optional-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 14px;
  margin-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

.interests-fieldset {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  background: #ffffff;
}

.interests-legend {
  padding: 0 6px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-strong);
}

.interests-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  margin-top: 4px;
}

.interest-option {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.84rem;
  line-height: 1.4;
  color: var(--ink-body);
  cursor: pointer;
}

.interest-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--emerald-700);
  flex-shrink: 0;
}

.modal-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.modal-privacy-note {
  margin: 0;
  max-width: 34ch;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--ink-muted);
}

/* Modal Neutral Confirmation */
.modal-success {
  padding: 32px 28px 30px;
  text-align: center;
}

.success-badge {
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--emerald-tint);
  border: 1px solid var(--emerald-border);
  color: var(--emerald-700);
}

.success-title {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--ink-strong);
}

.success-copy {
  margin: 0 auto 18px;
  max-width: 48ch;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--ink-body);
}

.success-steps {
  text-align: left;
  background: var(--bg-inset);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin: 0 0 22px;
}

.success-steps-kicker {
  margin: 0 0 8px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--emerald-700);
}

.success-steps-list {
  margin: 0;
  padding-left: 20px;
  font-size: 0.89rem;
  line-height: 1.62;
  color: var(--ink-body);
}

.success-actions {
  display: flex;
  justify-content: center;
}

.noscript-section {
  background: var(--bg-page);
}

.noscript-form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.noscript-form-card .request-form {
  padding: 20px 0 0;
}

/* ==========================================================================
   Gated Watch Room (/watch), Status Pages, 404 & Owner Review Console
   ========================================================================== */
.page-dark,
.page-status {
  background: var(--navy-950);
  color: var(--ink-on-dark);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-dark main,
.status-main {
  flex: 1;
}

.status-main {
  display: grid;
  place-items: center;
  padding: 40px 20px;
}

.status-card {
  width: 100%;
  max-width: 560px;
  background: rgba(13, 36, 45, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 40px);
  box-shadow: var(--shadow-lg);
}

.status-card .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--emerald-mint);
}

.status-card h1 {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  color: #ffffff;
}

.status-card p {
  margin: 0 0 16px;
  color: var(--ink-on-dark-muted);
  line-height: 1.62;
}

.status-meta {
  font-size: 0.86rem;
  color: #a9cbc0;
}

.status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.watch-main {
  padding: clamp(40px, 6vw, 72px) 0 80px;
}

.watch-card {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(13, 36, 45, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-lg);
}

.watch-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}

.watch-reviewer-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  background: rgba(20, 116, 91, 0.25);
  border: 1px solid rgba(185, 244, 217, 0.34);
  color: #bdf3db;
  font-size: 0.82rem;
  font-weight: 500;
}

.watch-player-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #030a0e;
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin: 20px 0;
}

.watch-player-iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.watch-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  margin-top: 18px;
}

.watch-panel h2 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 1.32rem;
  color: #ffffff;
}

.watch-panel p {
  margin: 0 0 14px;
  color: var(--ink-on-dark-muted);
}

.watch-title {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: clamp(1.95rem, 3.6vw, 2.75rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.watch-lead {
  margin: 0 0 24px;
  max-width: 56ch;
  font-size: 1rem;
  line-height: 1.62;
  color: var(--ink-on-dark-muted);
}

.watch-code-form {
  max-width: 520px;
}

.watch-code-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.watch-code-label {
  font-size: 0.86rem;
  font-weight: 600;
  color: #d6ebe2;
}

.watch-code-input {
  width: 100%;
  padding: 13px 15px;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(7, 20, 27, 0.78);
  border: 1px solid rgba(185, 244, 217, 0.34);
  border-radius: 8px;
}

.watch-code-input::placeholder {
  color: rgba(194, 218, 208, 0.45);
}

.watch-code-input:focus {
  outline: none;
  border-color: var(--emerald-mint);
  box-shadow: 0 0 0 3px rgba(185, 244, 217, 0.2);
}

.watch-code-hint {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #a9cbc0;
}

.watch-alert {
  margin-bottom: 16px;
}

/* Owner Review Console */
.admin-main {
  padding: 36px 0 72px;
}

.admin-login-card {
  max-width: 480px;
  margin: 48px auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.admin-login-card h1 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--ink-strong);
}

.admin-login-card p {
  margin: 0 0 20px;
  font-size: 0.93rem;
  color: var(--ink-muted);
}

.admin-login-card .form-alert {
  margin-bottom: 16px;
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.admin-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--ink-strong);
}

.admin-subtitle {
  margin: 4px 0 0;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.admin-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}

.stat-label {
  margin: 0 0 4px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}

.stat-value {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--ink-strong);
}

.admin-config-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding: 13px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  font-size: 0.84rem;
  color: var(--ink-body);
}

.admin-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.filter-btn {
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  color: var(--ink-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.filter-btn.is-active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #ffffff;
}

.admin-banner {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: var(--emerald-tint);
  border: 1px solid var(--emerald-border);
  color: var(--ink-strong);
  margin-bottom: 18px;
  font-size: 0.9rem;
}

.admin-banner code {
  display: inline-block;
  margin-top: 6px;
  word-break: break-all;
}

.admin-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.req-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
}

.req-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px 16px;
  margin-bottom: 12px;
}

.req-name {
  margin: 0;
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--ink-strong);
}

.req-meta {
  margin: 3px 0 0;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-pending {
  background: var(--warn-bg);
  color: var(--warn-ink);
  border: 1px solid var(--warn-border);
}

.badge-approved {
  background: var(--emerald-tint);
  color: var(--emerald-800);
  border: 1px solid var(--emerald-border);
}

.badge-declined,
.badge-revoked {
  background: var(--danger-bg);
  color: var(--danger-ink);
  border: 1px solid var(--danger-border);
}

.badge-neutral {
  background: var(--bg-subtle);
  color: var(--ink-body);
  border: 1px solid var(--border-subtle);
}

.req-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 18px;
  padding: 12px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.86rem;
}

.req-grid dt {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  margin-bottom: 2px;
}

.req-grid dd {
  margin: 0;
  color: var(--ink-strong);
  word-break: break-word;
}

.req-interests {
  margin: 10px 0 0;
  font-size: 0.86rem;
  color: var(--ink-body);
}

.req-details {
  margin: 10px 0 0;
  font-size: 0.89rem;
  color: var(--ink-body);
  white-space: pre-wrap;
}

.req-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.admin-notify-section {
  margin-top: 34px;
}

.admin-notify-section h2 {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--ink-strong);
}

.notify-table-wrap {
  overflow-x: auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.notify-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.notify-table th,
.notify-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.notify-table th {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-muted);
  background: var(--bg-inset);
}

/* ==========================================================================
   Scroll Reveal (Progressive Enhancement)
   ========================================================================== */
.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.js-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js-ready [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn,
  .film-play-core,
  .film-play-ring {
    transition: none;
  }
}

/* ==========================================================================
   Responsive Breakpoints (Uncluttered Tablet & Mobile)
   ========================================================================== */
@media (max-width: 900px) {
  .app-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 24px;
  }

  .hero-phone-showcase {
    padding: 8px 0 4px;
  }

  .hero-phone-img {
    max-width: 268px;
  }

  .film-hero-head {
    align-items: flex-start;
  }

  .film-hero-cta {
    align-items: flex-start;
  }

  .story-grid,
  .app-showcase {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .previews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .announce-jump-nav {
    grid-template-columns: 1fr;
  }

  .phone-device-img {
    max-width: 236px;
  }

  .admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .req-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .previews-grid {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 0 18px;
  }

  .site-header {
    height: 64px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-wordmark {
    font-size: 1.38rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(9, 26, 32, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 18px 24px 24px;
    display: none;
  }

  .primary-nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .nav-link {
    font-size: 1.02rem;
    padding: 4px 0;
  }

  .film-hero {
    padding: 20px 0 28px;
  }

  .app-hero-title {
    font-size: clamp(2.05rem, 8.8vw, 2.65rem);
  }

  .app-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .app-hero-actions .btn {
    width: 100%;
  }

  .hero-phone-img {
    max-width: 256px;
    border-radius: 32px;
  }

  .phone-launcher {
    max-width: 100%;
  }

  .clip-overlay {
    padding: 10px;
    align-items: center;
  }

  .clip-dialog-header {
    padding: 14px 14px 12px;
  }

  .clip-dialog-caption {
    padding: 12px 14px 10px;
    font-size: 0.84rem;
  }

  .clip-switcher {
    grid-template-columns: 1fr;
    padding: 0 14px 14px;
  }

  .film-hero-head {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-bottom: 18px;
  }

  .film-hero-title {
    font-size: clamp(1.75rem, 7.6vw, 2.25rem);
  }

  .film-hero-cta {
    align-items: stretch;
  }

  .film-hero-cta .btn {
    width: 100%;
  }

  .film-hero-note {
    text-align: center;
  }

  .film-play-core {
    width: 60px;
    height: 60px;
  }

  .film-play-ring {
    width: 68px;
    height: 68px;
  }

  .film-meta-bar {
    padding: 12px 14px;
    font-size: 0.8rem;
  }

  .policy-highlights,
  .interests-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .policy-links,
  .announce-actions {
    flex-direction: column;
  }

  .policy-link-btn,
  .announce-actions .btn {
    justify-content: center;
    width: 100%;
  }

  .modal-header {
    padding: 20px 20px 18px;
  }

  .request-form {
    padding: 20px;
  }

  .modal-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .modal-privacy-note {
    max-width: none;
  }

  .modal-footer .btn {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ==========================================================================
   2026 Commercial App Launch Redesign (Dark Obsidian + Emerald Green)
   ========================================================================== */
.btn-nav-cta {
  padding: 9px 16px;
  font-size: 0.86rem;
  border-radius: var(--radius-pill);
}

.commercial-hero {
  background: var(--navy-950);
  padding: clamp(22px, 3vw, 34px) 0 clamp(40px, 5vw, 60px);
}

.commercial-hero-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 72% 54% at 50% 16%, rgba(16, 185, 129, 0.20) 0%, transparent 66%),
    linear-gradient(180deg, rgba(6, 20, 27, 0.88) 0%, rgba(7, 22, 29, 0.80) 44%, rgba(5, 16, 22, 0.96) 100%);
}

.commercial-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-width: 0;
}

.commercial-hero-header {
  width: 100%;
  max-width: 780px;
  text-align: center;
  margin: 0 auto clamp(18px, 2.2vw, 24px);
}

.commercial-app-badge-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
  max-width: 100%;
}

.commercial-hero-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  filter: drop-shadow(0 10px 24px rgba(16, 185, 129, 0.34));
}

.commercial-status-pill {
  margin: 0;
  max-width: 100%;
}

.commercial-hero-title {
  margin: 0 0 12px;
  font-family: var(--font-sans);
  font-size: clamp(1.9rem, 4.2vw, 3.15rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.038em;
  color: #ffffff;
}

.title-accent {
  color: var(--emerald-400);
}

.commercial-hero-lead {
  margin: 0 auto;
  max-width: 62ch;
  font-size: clamp(0.95rem, 1.25vw, 1.06rem);
  line-height: 1.56;
  color: #d6ebe2;
}

.commercial-hero-lead strong {
  color: #ffffff;
  font-weight: 600;
}

/* Above-the-Fold 16:9 4K Embedded Video Stage */
.commercial-video-wrap {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
}

.commercial-video-shell {
  border: 1px solid rgba(110, 231, 183, 0.30);
  box-shadow: 0 32px 84px rgba(2, 10, 14, 0.72), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.commercial-video-stage {
  background: #030e14;
}

.commercial-video-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.commercial-play-btn .film-play-core {
  width: 82px;
  height: 82px;
  background: linear-gradient(135deg, #10b981 0%, #0b7a59 100%);
  border: 2px solid rgba(236, 253, 245, 0.85);
}

.commercial-play-btn .film-play-ring {
  top: 9px;
  width: 96px;
  height: 96px;
}

.commercial-play-btn .film-play-label {
  background: rgba(6, 22, 29, 0.88);
  border: 1px solid rgba(110, 231, 183, 0.42);
  padding: 7px 16px;
  font-size: 0.9rem;
}

.commercial-meta-bar {
  background: rgba(6, 20, 27, 0.96);
}

/* Ready-to-Download App Store & Google Play Coming Soon Badges */
.store-download-band {
  width: 100%;
  max-width: 980px;
  margin: clamp(24px, 3vw, 34px) auto 0;
  text-align: center;
}

.store-band-kicker {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9be5c8;
}

.store-badges-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.store-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 248px;
  padding: 13px 18px;
  border-radius: 14px;
  border: 1px solid rgba(185, 244, 217, 0.34);
  background: linear-gradient(155deg, rgba(13, 40, 48, 0.92) 0%, rgba(7, 23, 30, 0.96) 100%);
  color: #ffffff;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(2, 10, 14, 0.42);
  transition: transform 0.16s ease, border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

.store-badge-btn:hover {
  transform: translateY(-2px);
  border-color: var(--emerald-400);
  box-shadow: 0 18px 42px rgba(16, 185, 129, 0.22);
}

.store-badge-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #ffffff;
  flex-shrink: 0;
}

.store-badge-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.store-badge-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #b7e6d4;
}

.store-badge-name {
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-top: 2px;
}

.store-soon-tag {
  margin-left: auto;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.20);
  border: 1px solid rgba(110, 231, 183, 0.42);
  color: var(--emerald-mint);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.desktop-platforms-strip {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 10px;
  font-size: 0.86rem;
  color: #b7d7cb;
}

.desktop-strip-label {
  color: #a8ccc0;
}

.desktop-chip {
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(185, 244, 217, 0.20);
  color: #e6f8f0;
  font-size: 0.79rem;
  font-weight: 600;
}

.desktop-notify-link {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(183, 244, 217, 0.45);
  padding: 0 0 1px;
  cursor: pointer;
  margin-left: 6px;
}

/* Three Commercial Feature Spotlights */
.commercial-highlights {
  width: 100%;
  max-width: 1040px;
  margin-top: clamp(36px, 4.5vw, 52px);
}

.commercial-pill-link {
  background: rgba(16, 185, 129, 0.14);
  border-color: rgba(185, 244, 217, 0.32);
  color: #d4ffea;
}

.commercial-pill-link:hover {
  background: rgba(16, 185, 129, 0.26);
  border-color: var(--emerald-400);
  color: #ffffff;
}

.commercial-highlight-card {
  background: rgba(10, 30, 38, 0.88);
  border: 1px solid rgba(185, 244, 217, 0.20);
  box-shadow: 0 18px 42px rgba(2, 10, 14, 0.36);
}

.commercial-highlight-card .preview-badge {
  color: var(--emerald-400);
}

.commercial-highlight-card .preview-card-title {
  font-family: var(--font-sans);
  color: #ffffff;
}

.commercial-highlight-card .preview-card-copy {
  color: #c4ddd4;
}

.highlight-still-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Inside the App Dual 2x Retina Mobile Showcase */
.dual-app-grid {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 40px);
}

.app-feature-panel {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 56px);
  align-items: center;
  background: var(--bg-inset);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-sm);
}

.app-feature-panel-reverse {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
}

.app-feature-panel-reverse .app-phone-frame-card {
  order: 2;
}

.app-phone-frame-card {
  margin: 0;
}

.phone-backdrop-commercial {
  padding: 20px 16px;
  border-radius: 18px;
}

.feature-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-check-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.94rem;
  line-height: 1.56;
  color: var(--ink-body);
}

.feature-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--emerald-700);
  font-weight: 800;
}

.feature-check-list strong {
  color: var(--ink-strong);
}

/* Tech Pillars Grid */
.tech-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.tech-pillar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-sm);
}

/* Built in Utah Policy Emblem */
.policy-utah-emblem {
  width: 62px;
  height: auto;
  flex-shrink: 0;
}

/* Launch CTA Band */
.launch-cta-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: clamp(44px, 5vw, 68px) 0;
}

.launch-cta-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 36px;
  padding: clamp(26px, 4vw, 42px);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #071921 0%, #092e28 60%, #0b4234 100%);
  border: 1px solid rgba(110, 231, 183, 0.30);
  box-shadow: var(--shadow-lg);
  color: #ffffff;
}

.launch-cta-copy {
  max-width: 56ch;
}

.launch-cta-title {
  margin: 0 0 10px;
  font-family: var(--font-sans);
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #ffffff;
}

.launch-cta-lead {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: #d0e8de;
}

.launch-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.launch-cta-note {
  margin: 0;
  font-size: 0.84rem;
  color: #b7d7cb;
}

.footer-inline-link {
  color: var(--emerald-700);
  font-weight: 600;
}

@media (max-width: 900px) {
  .app-feature-panel,
  .app-feature-panel-reverse {
    grid-template-columns: 1fr;
  }

  .app-feature-panel-reverse .app-phone-frame-card {
    order: 0;
  }

  .tech-pillars-grid,
  .previews-grid {
    grid-template-columns: 1fr;
  }

  .announce-jump-nav {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(7, 20, 27, 0.98);
    border-bottom: 1px solid rgba(185, 244, 217, 0.16);
    padding: 16px 24px 22px;
  }

  .primary-nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  .store-badge-btn {
    width: 100%;
    min-width: 0;
  }

  .commercial-app-badge-row {
    flex-direction: column;
    gap: 10px;
  }

  .commercial-hero-title {
    font-size: 1.88rem;
  }

  .commercial-play-btn .film-play-label {
    font-size: 0.78rem;
    padding: 6px 12px;
  }
}


/* ==========================================================================
   V2 Refined Commercial Architecture (Apple / Signal / Stripe Editorial Polish)
   Zero neon fog, zero floating pills, zero box-in-box clutter.
   ========================================================================== */
.pn-commercial {
  background: #ffffff;
  color: #1c2826;
}

.pn-header {
  height: 64px;
  background: rgba(10, 15, 16, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pn-header .brand-mark {
  width: 30px;
  height: 30px;
}

.pn-header .brand-wordmark {
  font-size: 1.24rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #ffffff;
}

.pn-header .nav-list {
  gap: 26px;
}

.pn-header .nav-link {
  color: #b4c0be;
  font-size: 0.875rem;
  font-weight: 500;
}

.pn-header .nav-link:hover {
  color: #ffffff;
}

.pn-nav-btn {
  padding: 8px 16px;
  border-radius: 999px;
  border: 0;
  background: #ffffff;
  color: #0a1011;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background-color 0.16s ease, transform 0.14s ease;
}

.pn-nav-btn:hover {
  background: #e6ecea;
  transform: translateY(-1px);
}

/* Homepage hero and overview film */
.pn-hero {
  position: relative;
  overflow: hidden;
  background: #0a0f10;
  color: #f8faf9;
  padding: clamp(26px, 3.4vw, 44px) 0 clamp(48px, 6vw, 76px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Whisper-light cosmic horizon hint (preserves quiet architectural canvas & readability) */
.pn-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 85% 65% at 78% 12%, rgba(56, 189, 248, 0.10) 0%, rgba(10, 15, 16, 0) 58%),
    linear-gradient(180deg, rgba(10, 15, 16, 0.42) 0%, rgba(10, 15, 16, 0.72) 48%, #0a0f10 92%),
    url("assets/hero-planet-hint.jpg?v=20261125-planet");
  background-size: cover, cover, cover;
  background-position: center, center, right 18%;
  opacity: 0.24;
  pointer-events: none;
  z-index: 0;
}

.pn-hero-container {
  position: relative;
  z-index: 1;
  max-width: 1328px;
}

.pn-hero-intro {
  max-width: 720px;
  margin-bottom: clamp(22px, 2.8vw, 32px);
}

.pn-hero-meta {
  margin: 0 0 10px;
  font-size: 0.84rem;
  font-weight: 500;
  color: #7cc9ae;
  letter-spacing: 0.01em;
}

.pn-hero-title {
  margin: 0 0 12px;
  font-family: var(--font-sans);
  font-size: clamp(2.4rem, 5.2vw, 4.1rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.pn-hero-lead {
  margin: 0;
  max-width: 56ch;
  font-size: clamp(0.98rem, 1.3vw, 1.12rem);
  line-height: 1.5;
  color: #a9b8b4;
  font-weight: 400;
}

/* App stores and launch notifications below the film */
.pn-store-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
  margin-top: 24px;
}

.pn-store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
}

.pn-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: #000000;
  color: #ffffff;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease, transform 0.14s ease;
}

.pn-store-badge:hover {
  border-color: rgba(255, 255, 255, 0.52);
  background: #141a1b;
  transform: translateY(-1px);
}

.pn-store-svg {
  flex-shrink: 0;
  color: #ffffff;
}

.pn-store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.pn-store-sub {
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #b7c2bf;
}

.pn-store-main {
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #ffffff;
  margin-top: 2px;
}

.pn-store-link {
  background: transparent;
  border: 0;
  padding: 10px 8px;
  color: #d7e3df;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.16s ease;
}

.pn-store-link:hover {
  color: #ffffff;
}

/* Edge-to-Edge Architectural Cinema Stage */
.pn-cinema-frame {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #040809;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.60);
}

.pn-cinema-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  background: #040809;
  overflow: hidden;
}

.pn-cinema-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 12, 13, 0.04) 0%, rgba(8, 12, 13, 0.10) 58%, rgba(8, 12, 13, 0.56) 100%);
  pointer-events: none;
}

.pn-play-trigger {
  position: absolute;
  left: 28px;
  bottom: 24px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 20px 8px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(10, 15, 16, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.18s ease, transform 0.16s ease, border-color 0.18s ease;
}

.pn-play-trigger:hover {
  background: rgba(10, 15, 16, 0.88);
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-1px);
}

.pn-play-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ffffff;
  color: #0a0f10;
  flex-shrink: 0;
}

.pn-play-circle svg {
  margin-left: 2px;
}

.pn-play-caption {
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.pn-cinema-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 13px 22px;
  background: #0d1314;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.83rem;
  color: #93a39f;
}

.pn-cinema-yt-link {
  color: #d7e3df;
  text-decoration: none;
  font-weight: 500;
}

.pn-cinema-yt-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Spacious White & Stone Editorial Bands */
.pn-band {
  padding: clamp(72px, 9vw, 118px) 0;
}

.pn-band-white {
  background: #ffffff;
}

.pn-band-stone {
  background: #f5f6f5;
  border-top: 1px solid #e6eae8;
  border-bottom: 1px solid #e6eae8;
}

.pn-band-head {
  max-width: 640px;
  margin-bottom: clamp(36px, 4.5vw, 54px);
}

.pn-band-head-wide {
  max-width: 780px;
}

.pn-eyebrow {
  margin: 0 0 10px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #0d6e52;
  letter-spacing: -0.005em;
}

.pn-h2 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(2rem, 3.6vw, 2.95rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.036em;
  color: #0d1614;
}

.pn-lead {
  margin: 16px 0 0;
  font-size: 1.08rem;
  line-height: 1.6;
  color: #4f5f5b;
}

.pn-h3 {
  margin: 0 0 8px;
  font-family: var(--font-sans);
  font-size: 1.18rem;
  font-weight: 650;
  line-height: 1.26;
  letter-spacing: -0.02em;
  color: #0d1614;
}

.pn-body {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.62;
  color: #4d5d59;
}

.pn-body-lg {
  font-size: 1.04rem;
  line-height: 1.64;
}

/* Borderless Editorial 3-Column Photo Strip */
.pn-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 36px);
}

.pn-photo-media {
  margin: 0 0 18px;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #e9eeec;
}

.pn-photo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Floating 2x Retina Mobile Showcase (Zero Box-Inside-Box!) */
.pn-app-row {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
  padding: clamp(28px, 4vw, 48px) 0;
  border-top: 1px solid #dfe5e2;
}

.pn-app-row-flip {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
}

.pn-app-row-flip .pn-phone-stage {
  order: 2;
}

.pn-phone-stage {
  display: flex;
  justify-content: center;
}

.pn-phone-float {
  width: 100%;
  max-width: 286px;
  height: auto;
  filter: drop-shadow(0 28px 46px rgba(10, 22, 18, 0.16));
}

.pn-app-title {
  margin: 0 0 14px;
  font-family: var(--font-sans);
  font-size: clamp(1.55rem, 2.7vw, 2.15rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: #0d1614;
}

.pn-spec-list {
  margin: 26px 0 0;
  padding: 0;
}

.pn-spec-row {
  padding: 14px 0;
  border-top: 1px solid #dde4e1;
  display: grid;
  grid-template-columns: 185px minmax(0, 1fr);
  gap: 8px 20px;
}

.pn-spec-row dt {
  font-size: 0.92rem;
  font-weight: 600;
  color: #0d1614;
}

.pn-spec-row dd {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.54;
  color: #4f5f5b;
}

/* Architecture Diagram & 3 Clean Columns */
.pn-diagram-wrap {
  margin: 0 0 clamp(36px, 4vw, 52px);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8e5;
}

.pn-arch-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3.5vw, 44px);
  padding-top: 28px;
  border-top: 1px solid #e2e8e5;
  margin-bottom: clamp(36px, 4vw, 48px);
}

.pn-status-note {
  padding: 24px 28px;
  border-radius: 12px;
  background: #f5f6f5;
  border: 1px solid #e3e8e5;
}

.pn-status-note-title {
  margin: 0 0 6px;
  font-size: 0.96rem;
  font-weight: 650;
  color: #0d1614;
}

.pn-status-note-body {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.62;
  color: #4f5f5b;
}

/* Clean Editorial Policy Charter */
.pn-policy-sheet {
  background: #ffffff;
  border: 1px solid #e1e7e4;
  border-radius: 16px;
  padding: clamp(28px, 4.5vw, 48px);
}

.pn-policy-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e6ece9;
}

.pn-policy-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.pn-policy-title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1.5rem, 2.5vw, 2.05rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #0d1614;
}

.pn-statute-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: #0d6e52;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #cfe1d9;
  background: #f5fbf8;
}

.pn-statute-link:hover {
  border-color: #0d6e52;
  color: #094e3a;
}

.pn-policy-quote {
  margin: 26px 0 28px;
  max-width: 66ch;
  font-size: clamp(1.06rem, 1.5vw, 1.24rem);
  line-height: 1.54;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: #13221f;
}

.pn-policy-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e6ece9;
}

.pn-policy-subhead {
  margin: 0 0 8px;
  font-size: 0.92rem;
  font-weight: 650;
  color: #0d1614;
}

.pn-ref-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.92rem;
  color: #4f5f5b;
}

.pn-ref-list a {
  color: #0d6e52;
  font-weight: 500;
  text-decoration: none;
}

.pn-ref-list a:hover {
  text-decoration: underline;
}

.pn-policy-footnote {
  margin: 18px 0 0;
  font-size: 0.83rem;
  line-height: 1.55;
  color: #5c6c68;
}

/* Quiet Dark Closing Band */
.pn-closing-band {
  background: #0a0f10;
  color: #ffffff;
  padding: clamp(56px, 7vw, 88px) 0;
}

.pn-closing-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px 48px;
}

.pn-closing-eyebrow {
  margin: 0 0 8px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #7cc9ae;
}

.pn-closing-title {
  margin: 0 0 10px;
  font-family: var(--font-sans);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.032em;
  line-height: 1.1;
  color: #ffffff;
}

.pn-closing-copy {
  margin: 0;
  max-width: 52ch;
  font-size: 0.98rem;
  line-height: 1.58;
  color: #a4b3af;
}

.pn-closing-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.pn-cta-white {
  padding: 13px 24px;
  border-radius: 999px;
  border: 0;
  background: #ffffff;
  color: #0a0f10;
  font-size: 0.95rem;
  font-weight: 650;
  cursor: pointer;
  transition: background-color 0.16s ease, transform 0.14s ease;
}

.pn-cta-white:hover {
  background: #e7eeec;
  transform: translateY(-1px);
}

.pn-closing-links {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  color: #82938e;
}

.pn-closing-links a {
  color: #c2d0cc;
  text-decoration: none;
}

.pn-closing-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.pn-footer {
  background: #ffffff;
  border-top: 1px solid #e5eae8;
}

@media (max-width: 900px) {
  .pn-photo-grid,
  .pn-arch-cols,
  .pn-policy-grid,
  .pn-app-row,
  .pn-app-row-flip {
    grid-template-columns: 1fr;
  }

  .pn-app-row-flip .pn-phone-stage {
    order: 0;
  }

  .pn-spec-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 640px) {
  .pn-play-trigger {
    left: 14px;
    bottom: 14px;
    padding: 6px 14px 6px 6px;
    gap: 10px;
  }

  .pn-play-circle {
    width: 36px;
    height: 36px;
  }

  .pn-play-caption {
    font-size: 0.82rem;
  }

  .pn-store-row {
    width: 100%;
  }

  .pn-store-badges {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .pn-store-badge {
    width: 100%;
    padding: 9px 12px;
    gap: 8px;
    justify-content: center;
  }

  .pn-store-main {
    font-size: 0.94rem;
  }
}

/* Instant, solid editorial rendering (zero gimmicky scroll-fade delay) */
.pn-commercial [data-reveal] {
  opacity: 1 !important;
  transform: none !important;
}


/* ==========================================================================
   PROOFNET™ DEEP-SPACE GLASS & FLOATING-LIGHT SCI-FI REDESIGN (.pn-cosmos)
   - Mirrors the 14:39 ProofNet Full Film visual language (Exo 2 Ultra-Light,
     Jura, Michroma, translucent obsidian glass, luminous emerald/cyan rails,
     and see-through 4K imagery from 0:00, 2:11, 2:49 & 4:22).
   - 100% self-hosted fonts & zero inline styles (strict CSP compliant).
   ========================================================================== */
@font-face {
  font-family: "Exo 2";
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url("assets/fonts/exo_2_200.woff2") format("woff2");
}
@font-face {
  font-family: "Exo 2";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("assets/fonts/exo_2_300.woff2") format("woff2");
}
@font-face {
  font-family: "Exo 2";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/exo_2_400.woff2") format("woff2");
}
@font-face {
  font-family: "Exo 2";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/exo_2_600.woff2") format("woff2");
}
@font-face {
  font-family: "Jura";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("assets/fonts/jura_300.woff2") format("woff2");
}
@font-face {
  font-family: "Jura";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/jura_500.woff2") format("woff2");
}
@font-face {
  font-family: "Jura";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/jura_700.woff2") format("woff2");
}
@font-face {
  font-family: "Michroma";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/michroma_400.woff2") format("woff2");
}

body.pn-cosmos {
  --cosmos-void: #02070e;
  --cosmos-surface: rgba(7, 17, 27, 0.72);
  --cosmos-surface-strong: rgba(5, 13, 22, 0.86);
  --cosmos-emerald: #4df5b0;
  --cosmos-emerald-soft: #a7f3d0;
  --cosmos-cyan: #38bdf8;
  --cosmos-gold: #fbbf24;
  --cosmos-ink: #f8fafc;
  --cosmos-muted: #cbd5e1;
  --cosmos-dim: #94a3b8;
  --cosmos-border: rgba(167, 243, 208, 0.16);
  --cosmos-border-strong: rgba(77, 245, 176, 0.42);
  --font-cinema: "Exo 2", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-scifi-body: "Jura", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-scifi-caps: "Michroma", "Jura", sans-serif;

  background: var(--cosmos-void);
  color: var(--cosmos-muted);
  font-family: var(--font-scifi-body);
}

/* Header */
body.pn-cosmos .pn-header {
  background: rgba(2, 7, 14, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(167, 243, 208, 0.14);
}

body.pn-cosmos .brand-wordmark {
  font-family: var(--font-cinema);
  font-weight: 300;
  letter-spacing: 0.12em;
  font-size: 1.24rem;
  color: #ffffff;
}

body.pn-cosmos .brand-tm {
  color: var(--cosmos-emerald);
}

body.pn-cosmos .nav-link {
  font-family: var(--font-scifi-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #cbd5e1;
  white-space: nowrap;
}

body.pn-cosmos .nav-link:hover,
body.pn-cosmos .nav-link:focus-visible,
body.pn-cosmos .nav-link.is-current {
  color: var(--cosmos-emerald);
}

body.pn-cosmos .nav-link.pn-nav-soundtrack {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cosmos-emerald);
  padding: 4px;
}

body.pn-cosmos .nav-link.pn-nav-soundtrack:hover {
  color: #fbbf24;
  transform: translateY(-1px) scale(1.08);
}

body.pn-cosmos .pn-nav-btn {
  background: linear-gradient(135deg, var(--cosmos-emerald) 0%, #6ee7b7 100%);
  color: #031510;
  font-family: var(--font-scifi-body);
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  box-shadow: 0 0 22px rgba(77, 245, 176, 0.28);
}

body.pn-cosmos .pn-nav-btn:hover {
  background: #a7f3d0;
  box-shadow: 0 0 28px rgba(77, 245, 176, 0.45);
}

/* Hero Deep-Space Canvas */
body.pn-cosmos section[id],
body.pn-cosmos div[id] {
  scroll-margin-top: 84px;
}

body.pn-cosmos .pn-hero {
  background: var(--cosmos-void);
  padding: clamp(44px, 4.5vw, 62px) 0 clamp(56px, 6.5vw, 84px);
  border-bottom: 1px solid rgba(167, 243, 208, 0.14);
}

body.pn-cosmos .pn-hero::before {
  background-image:
    radial-gradient(ellipse 74% 58% at 74% 18%, rgba(56, 189, 248, 0.22) 0%, rgba(2, 7, 14, 0) 62%),
    radial-gradient(ellipse 52% 46% at 18% 72%, rgba(77, 245, 176, 0.12) 0%, rgba(2, 7, 14, 0) 64%),
    linear-gradient(180deg, rgba(2, 7, 14, 0.28) 0%, rgba(2, 7, 14, 0.64) 52%, #02070e 96%),
    url("assets/hero-space-planet.webp?v=20261125-v2");
  background-size: cover, cover, cover, cover;
  background-position: center, center, center, right 24%;
  opacity: 0.62;
}

.pn-hero-cosmos-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.pn-hero-stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 14% 22%, rgba(255, 255, 255, 0.72), transparent),
    radial-gradient(1.2px 1.2px at 28% 64%, rgba(167, 243, 208, 0.65), transparent),
    radial-gradient(1.6px 1.6px at 46% 14%, rgba(186, 230, 253, 0.72), transparent),
    radial-gradient(1.2px 1.2px at 66% 32%, rgba(255, 255, 255, 0.62), transparent),
    radial-gradient(1.8px 1.8px at 84% 19%, rgba(167, 243, 208, 0.78), transparent),
    radial-gradient(1.3px 1.3px at 91% 52%, rgba(255, 255, 255, 0.54), transparent),
    radial-gradient(1.4px 1.4px at 9% 78%, rgba(186, 230, 253, 0.56), transparent),
    radial-gradient(1.1px 1.1px at 56% 74%, rgba(255, 255, 255, 0.45), transparent);
  opacity: 0.8;
}

.pn-hero-orbit-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.pn-hero-orbit-ring-a {
  width: 780px;
  height: 780px;
  right: -180px;
  top: -220px;
  border: 1px dashed rgba(77, 245, 176, 0.18);
}

.pn-hero-orbit-ring-b {
  width: 1060px;
  height: 1060px;
  right: -310px;
  top: -340px;
  border: 1px solid rgba(56, 189, 248, 0.14);
}

body.pn-cosmos .pn-hero-intro {
  max-width: 860px;
}

body.pn-cosmos .pn-hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-scifi-caps);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--cosmos-emerald);
  text-shadow: 0 0 18px rgba(77, 245, 176, 0.35);
}

.pn-meta-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--cosmos-emerald);
  box-shadow: 0 0 12px var(--cosmos-emerald);
  flex-shrink: 0;
}

body.pn-cosmos .pn-hero-title {
  font-family: var(--font-cinema);
  font-weight: 200;
  font-size: clamp(1.85rem, 4.9vw, 4.15rem);
  letter-spacing: 0.025em;
  line-height: 1.08;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 0 36px rgba(186, 230, 253, 0.25);
  overflow-wrap: break-word;
}

.pn-hero-title-accent {
  font-weight: 300;
  color: var(--cosmos-emerald);
  text-shadow: 0 0 28px rgba(77, 245, 176, 0.44);
}

body.pn-cosmos main,
body.pn-cosmos section,
body.pn-cosmos .container {
  max-width: 100%;
}

body.pn-cosmos .container {
  max-width: min(1160px, 100%);
}

body.pn-cosmos .pn-hero-container {
  max-width: min(1328px, 100%);
}

body.pn-cosmos .pn-hero-meta {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: nowrap;
  line-height: 1.45;
  max-width: 100%;
  min-width: 0;
}

body.pn-cosmos .pn-hero-meta span:last-child {
  min-width: 0;
  overflow-wrap: break-word;
}

body.pn-cosmos .pn-meta-dot {
  margin-top: 5px;
}

body.pn-cosmos .film-poster-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

body.pn-cosmos .film-poster-layer picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

body.pn-cosmos .film-poster-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 640px) {
  body.pn-cosmos .pn-hero-meta {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }

  body.pn-cosmos .pn-hero-title {
    font-size: 1.78rem;
    letter-spacing: 0.01em;
  }

  body.pn-cosmos .pn-cinema-frame {
    border-radius: 12px;
  }

  body.pn-cosmos .pn-hero-orbit-ring {
    display: none;
  }

  body.pn-cosmos .container {
    padding: 0 16px;
  }
}

body.pn-cosmos .pn-hero-lead {
  max-width: 64ch;
  font-family: var(--font-scifi-body);
  font-size: clamp(1.02rem, 1.38vw, 1.18rem);
  font-weight: 300;
  line-height: 1.62;
  color: #dbeafe;
}

/* Dual-Film Switcher Bar */
.pn-film-switcher {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.pn-film-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 15px 20px;
  border-radius: 14px;
  border: 1px solid rgba(167, 243, 208, 0.16);
  background: rgba(7, 17, 28, 0.64);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #cbd5e1;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease, transform 0.14s ease;
}

.pn-film-tab:hover {
  border-color: rgba(77, 245, 176, 0.45);
  background: rgba(11, 27, 42, 0.78);
  transform: translateY(-1px);
}

.pn-film-tab.is-active {
  border-color: var(--cosmos-emerald);
  background: linear-gradient(135deg, rgba(16, 62, 52, 0.68) 0%, rgba(8, 22, 36, 0.84) 100%);
  box-shadow: 0 0 28px rgba(77, 245, 176, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.pn-film-tab-badge {
  font-family: var(--font-scifi-caps);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  color: var(--cosmos-emerald);
}

.pn-film-tab-badge-cyan {
  color: var(--cosmos-cyan);
}

.pn-film-tab-title {
  font-family: var(--font-cinema);
  font-size: 1.18rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.pn-film-tab-meta {
  font-family: var(--font-scifi-body);
  font-size: 0.86rem;
  color: #94a3b8;
}

.pn-film-tab.is-active .pn-film-tab-meta {
  color: #d1fae5;
}

/* Cinema Frame */
body.pn-cosmos .pn-cinema-frame {
  border-radius: 18px;
  border: 1px solid rgba(167, 243, 208, 0.22);
  background: #000000;
  box-shadow: 0 36px 96px rgba(0, 0, 0, 0.78), 0 0 60px rgba(56, 189, 248, 0.08);
}

body.pn-cosmos .pn-cinema-scrim {
  background: linear-gradient(180deg, rgba(2, 7, 14, 0.08) 0%, rgba(2, 7, 14, 0.18) 46%, rgba(2, 7, 14, 0.86) 100%);
}

.pn-cinema-overlay-meta {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 92px;
  z-index: 3;
  max-width: 680px;
  pointer-events: none;
}

.pn-cinema-tag {
  display: inline-block;
  margin-bottom: 8px;
  font-family: var(--font-scifi-caps);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  color: var(--cosmos-emerald);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95);
}

.pn-cinema-summary {
  margin: 0;
  font-family: var(--font-scifi-body);
  font-size: clamp(0.95rem, 1.3vw, 1.08rem);
  font-weight: 300;
  line-height: 1.5;
  color: #f1f5f9;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.95);
}

body.pn-cosmos .pn-play-trigger {
  border: 1px solid rgba(77, 245, 176, 0.52);
  background: rgba(2, 10, 18, 0.76);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.62), 0 0 24px rgba(77, 245, 176, 0.2);
}

body.pn-cosmos .pn-play-trigger:hover {
  border-color: var(--cosmos-emerald);
  background: rgba(5, 22, 32, 0.92);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.7), 0 0 34px rgba(77, 245, 176, 0.36);
}

body.pn-cosmos .pn-play-circle {
  background: var(--cosmos-emerald);
  color: #02140e;
}

body.pn-cosmos .pn-cinema-footer {
  background: rgba(5, 13, 22, 0.95);
  border-top: 1px solid rgba(167, 243, 208, 0.14);
  color: #94a3b8;
}

body.pn-cosmos .pn-cinema-yt-link {
  color: var(--cosmos-emerald-soft);
}

body.pn-cosmos .pn-store-badge {
  background: rgba(7, 17, 27, 0.78);
  border: 1px solid rgba(167, 243, 208, 0.24);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

body.pn-cosmos .pn-store-badge:hover {
  border-color: var(--cosmos-emerald);
  background: rgba(12, 32, 46, 0.9);
}

.pn-store-link-accent {
  color: var(--cosmos-emerald);
  text-decoration: none;
}

.pn-store-link-accent:hover {
  color: #a7f3d0;
  text-decoration: underline;
}

/* Inline Clickable Plain-English Term Chips */
.pn-term-chip {
  display: inline;
  padding: 1px 8px 2px;
  margin: 0 2px;
  border-radius: 6px;
  border: 1px solid rgba(77, 245, 176, 0.36);
  background: rgba(77, 245, 176, 0.1);
  color: var(--cosmos-emerald-soft);
  font-family: inherit;
  font-size: 0.94em;
  font-weight: 500;
  line-height: 1.35;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.pn-term-chip:hover,
.pn-term-chip:focus-visible {
  background: rgba(77, 245, 176, 0.22);
  border-color: var(--cosmos-emerald);
  color: #ffffff;
  box-shadow: 0 0 16px rgba(77, 245, 176, 0.28);
}

/* See-Through Film-Backed Deep-Space Bands */
body.pn-cosmos .pn-band {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 8.5vw, 114px) 0;
  border-bottom: 1px solid rgba(167, 243, 208, 0.12);
}

body.pn-cosmos .pn-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  pointer-events: none;
  z-index: 0;
}

body.pn-cosmos .pn-band-inner {
  position: relative;
  z-index: 1;
}

/* Band 1: Crumbling Lock / Golden-Hour Contrast Veil */
body.pn-cosmos .pn-bg-crumble {
  background: #030912;
}

body.pn-cosmos .pn-bg-crumble::before {
  background-image:
    linear-gradient(180deg, rgba(2, 7, 14, 0.86) 0%, rgba(2, 7, 14, 0.72) 50%, rgba(2, 7, 14, 0.92) 100%),
    url("assets/bg-crumble-lock.webp?v=20261125-v2");
  opacity: 0.92;
}

/* Band 2: See-Through Emerald/Gold Data Stream (2:11) */
body.pn-cosmos .pn-band-stream {
  background: #020810;
}

body.pn-cosmos .pn-band-stream::before {
  background-image:
    radial-gradient(ellipse 64% 60% at 24% 38%, rgba(77, 245, 176, 0.12) 0%, transparent 65%),
    linear-gradient(180deg, rgba(2, 7, 14, 0.88) 0%, rgba(2, 7, 14, 0.72) 48%, rgba(2, 7, 14, 0.9) 100%),
    url("assets/bg-data-stream.webp?v=20261125-v2");
  opacity: 0.94;
}

/* Band 3: See-Through 4:22 Crystalline Cubes */
body.pn-cosmos .pn-band-crystal {
  background: #030a14;
}

body.pn-cosmos .pn-band-crystal::before {
  background-image:
    radial-gradient(ellipse 68% 54% at 76% 24%, rgba(56, 189, 248, 0.14) 0%, transparent 64%),
    linear-gradient(180deg, rgba(2, 7, 14, 0.86) 0%, rgba(2, 7, 14, 0.76) 52%, rgba(2, 7, 14, 0.92) 100%),
    url("assets/bg-crystal-core.webp?v=20261125-v2");
  opacity: 0.94;
}

/* Band 4: Utah Dusk Wasatch Charter Backdrop */
body.pn-cosmos .pn-band-utah {
  background: #020810;
}

body.pn-cosmos .pn-band-utah::before {
  background-image:
    linear-gradient(180deg, rgba(2, 7, 14, 0.84) 0%, rgba(2, 7, 14, 0.76) 52%, rgba(2, 7, 14, 0.92) 100%),
    url("assets/capitol-wasatch-hero-1280.webp");
  opacity: 0.92;
}

/* Luminous Floating Typography */
body.pn-cosmos .pn-eyebrow {
  font-family: var(--font-scifi-caps);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--cosmos-emerald);
  text-transform: uppercase;
}

body.pn-cosmos .pn-eyebrow-cyan {
  color: var(--cosmos-cyan);
}

body.pn-cosmos .pn-h2 {
  font-family: var(--font-cinema);
  font-weight: 200;
  font-size: clamp(2rem, 3.8vw, 3.15rem);
  letter-spacing: 0.025em;
  line-height: 1.1;
  color: #ffffff;
  text-shadow: 0 0 28px rgba(186, 230, 253, 0.2);
}

.pn-accent-emerald {
  font-weight: 300;
  color: var(--cosmos-emerald);
}

.pn-accent-cyan {
  font-weight: 300;
  color: var(--cosmos-cyan);
}

body.pn-cosmos .pn-lead {
  color: #cbd5e1;
  font-weight: 300;
  font-size: 1.1rem;
  line-height: 1.62;
}

body.pn-cosmos .pn-h3 {
  font-family: var(--font-cinema);
  font-weight: 400;
  font-size: 1.28rem;
  letter-spacing: 0.02em;
  color: #ffffff;
}

body.pn-cosmos .pn-body {
  color: #cbd5e1;
  font-weight: 300;
  line-height: 1.64;
}

.pn-card-kicker {
  margin: 0 0 8px;
  font-family: var(--font-scifi-caps);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--cosmos-emerald);
}

/* Translucent See-Through Glass Cards & Panels */
.pn-glass-card {
  border-radius: 16px;
  border: 1px solid rgba(167, 243, 208, 0.18);
  background: rgba(7, 17, 28, 0.66);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.18s ease, box-shadow 0.2s ease;
}

.pn-glass-card:hover {
  border-color: rgba(77, 245, 176, 0.42);
  transform: translateY(-2px);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.55), 0 0 28px rgba(77, 245, 176, 0.1);
}

.pn-glass-card-body {
  padding: 18px 22px 24px;
}

.pn-glass-card-pad {
  padding: 24px 24px 26px;
}

body.pn-cosmos .pn-photo-media {
  margin: 0;
  border-radius: 0;
  background: #06101a;
  border-bottom: 1px solid rgba(167, 243, 208, 0.12);
}

.pn-glass-panel {
  border-radius: 20px;
  border: 1px solid rgba(167, 243, 208, 0.18);
  background: rgba(6, 15, 25, 0.68);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 32px 84px rgba(0, 0, 0, 0.56), inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

/* App Feature Rows inside Frosted Glass */
body.pn-cosmos .pn-app-row {
  padding: clamp(28px, 4.2vw, 48px);
  margin-bottom: 28px;
  border-top: 1px solid rgba(167, 243, 208, 0.18);
}

body.pn-cosmos .pn-app-row:last-child {
  margin-bottom: 0;
}

body.pn-cosmos .pn-phone-stage {
  position: relative;
}

.pn-phone-halo {
  position: absolute;
  width: 280px;
  height: 280px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(77, 245, 176, 0.28) 0%, rgba(56, 189, 248, 0.08) 54%, transparent 74%);
  filter: blur(22px);
  pointer-events: none;
}

.pn-phone-halo-cyan {
  background: radial-gradient(circle, rgba(56, 189, 248, 0.3) 0%, rgba(77, 245, 176, 0.08) 54%, transparent 74%);
}

body.pn-cosmos .pn-phone-float {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 30px 56px rgba(0, 0, 0, 0.72));
}

body.pn-cosmos .pn-app-title {
  font-family: var(--font-cinema);
  font-weight: 300;
  color: #ffffff;
  letter-spacing: 0.015em;
}

body.pn-cosmos .pn-spec-row {
  border-top: 1px solid rgba(167, 243, 208, 0.12);
  border-left: 2.5px solid var(--cosmos-emerald);
  padding: 13px 0 13px 16px;
  margin-bottom: 8px;
  grid-template-columns: 230px minmax(0, 1fr);
  align-items: baseline;
}

body.pn-cosmos .pn-spec-row dt {
  color: #ffffff;
}

body.pn-cosmos .pn-spec-row dd {
  color: #cbd5e1;
  font-weight: 300;
}

/* Dark Holographic Core Proof Diagram */
body.pn-cosmos .pn-diagram-holo {
  background: #020810;
  border: 1px solid rgba(77, 245, 176, 0.24);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.62), 0 0 36px rgba(56, 189, 248, 0.1);
}

body.pn-cosmos .pn-diagram-holo .proof-diagram-img {
  filter: invert(1) hue-rotate(180deg) saturate(1.22) contrast(1.12) brightness(0.94);
}

body.pn-cosmos .pn-arch-cols {
  border-top: 0;
  padding-top: 0;
  gap: 22px;
}

/* Interactive Plain-English Glossary Deck */
.pn-glossary-deck {
  padding: clamp(26px, 4vw, 44px);
  margin-bottom: 36px;
}

.pn-glossary-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  padding-bottom: 24px;
  margin-bottom: 26px;
  border-bottom: 1px solid rgba(167, 243, 208, 0.14);
}

.pn-glossary-title {
  margin: 0 0 8px;
  font-family: var(--font-cinema);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 300;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.pn-glossary-count {
  font-family: var(--font-scifi-caps);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  color: var(--cosmos-emerald);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(77, 245, 176, 0.34);
  background: rgba(77, 245, 176, 0.08);
}

.pn-glossary-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 24px 32px;
  align-items: start;
}

.pn-glossary-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  scroll-margin-top: 92px;
}

.pn-glossary-pill {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(167, 243, 208, 0.18);
  background: rgba(255, 255, 255, 0.03);
  color: #cbd5e1;
  font-family: var(--font-scifi-body);
  font-size: 0.88rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.pn-glossary-pill:hover {
  border-color: rgba(77, 245, 176, 0.5);
  background: rgba(77, 245, 176, 0.1);
  color: #ffffff;
}

.pn-glossary-pill.is-active {
  border-color: var(--cosmos-emerald);
  background: rgba(77, 245, 176, 0.18);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(77, 245, 176, 0.22);
}

.pn-glossary-detail {
  padding: 24px 26px;
  border-radius: 16px;
  border: 1px solid rgba(77, 245, 176, 0.28);
  border-left: 3.5px solid var(--cosmos-emerald);
  background: rgba(4, 12, 21, 0.82);
  scroll-margin-top: 88px;
  transition: border-color 0.28s ease, box-shadow 0.28s ease;
}

.pn-glossary-detail.is-just-updated {
  border-color: var(--cosmos-emerald);
  box-shadow: 0 0 0 1px rgba(77, 245, 176, 0.45), 0 0 32px rgba(77, 245, 176, 0.28);
}

.pn-glossary-detail-foot {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(167, 243, 208, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.pn-glossary-progress {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: rgba(167, 243, 208, 0.78);
}

.pn-glossary-nav-btn {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(167, 243, 208, 0.24);
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  font-family: var(--font-scifi-body);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.pn-glossary-nav-btn:hover,
.pn-glossary-nav-btn:focus-visible {
  border-color: var(--cosmos-emerald);
  background: rgba(77, 245, 176, 0.16);
  color: #ffffff;
}

.pn-glossary-nav-btn-next {
  border-color: rgba(77, 245, 176, 0.36);
  background: rgba(77, 245, 176, 0.12);
  color: #ffffff;
}

.pn-glossary-detail-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 12px;
}

.pn-glossary-badge {
  font-family: var(--font-scifi-caps);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--cosmos-emerald);
}

.pn-glossary-film-tag {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--cosmos-cyan);
}

.pn-glossary-term-name {
  margin: 0 0 12px;
  font-family: var(--font-cinema);
  font-size: 1.42rem;
  font-weight: 400;
  color: #ffffff;
}

.pn-glossary-plain {
  margin: 0 0 20px;
  font-size: 1.06rem;
  line-height: 1.58;
  color: #f1f5f9;
}

.pn-glossary-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.pn-glossary-meta-box {
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(167, 243, 208, 0.12);
}

.pn-glossary-meta-label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-scifi-caps);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  color: var(--cosmos-gold);
}

.pn-glossary-meta-copy {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.52;
  color: #cbd5e1;
}

/* Development Status Note */
body.pn-cosmos .pn-status-note {
  background: rgba(6, 15, 25, 0.74);
  border: 1px solid rgba(167, 243, 208, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

body.pn-cosmos .pn-status-note-title {
  color: #ffffff;
  font-family: var(--font-cinema);
  font-weight: 400;
}

body.pn-cosmos .pn-status-note-body {
  color: #94a3b8;
}

body.pn-cosmos .pn-status-note-body code {
  background: rgba(77, 245, 176, 0.1);
  color: var(--cosmos-emerald-soft);
}

/* Utah Bill of Rights & 6-State SEDI Glass Sheet */
body.pn-cosmos .pn-policy-sheet {
  background: rgba(6, 15, 25, 0.72);
  border: 1px solid rgba(167, 243, 208, 0.2);
}

body.pn-cosmos .pn-policy-header {
  border-bottom-color: rgba(167, 243, 208, 0.14);
}

body.pn-cosmos .pn-policy-title {
  font-family: var(--font-cinema);
  font-weight: 300;
  color: #ffffff;
}

body.pn-cosmos .pn-statute-link {
  color: var(--cosmos-emerald);
  border-color: rgba(77, 245, 176, 0.36);
  background: rgba(77, 245, 176, 0.08);
}

body.pn-cosmos .pn-statute-link:hover {
  border-color: var(--cosmos-emerald);
  color: #ffffff;
  background: rgba(77, 245, 176, 0.18);
}

body.pn-cosmos .pn-policy-quote {
  color: #f1f5f9;
  font-family: var(--font-cinema);
  font-weight: 300;
}

.pn-sedi-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 28px;
}

.pn-sedi-tile {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 14px 15px;
  border-radius: 12px;
  border: 1px solid rgba(77, 245, 176, 0.42);
  background: rgba(77, 245, 176, 0.1);
  box-shadow: 0 0 18px rgba(77, 245, 176, 0.12);
}

.pn-sedi-code {
  font-family: var(--font-scifi-caps);
  font-size: 0.84rem;
  color: var(--cosmos-emerald);
}

.pn-sedi-name {
  font-family: var(--font-cinema);
  font-size: 0.98rem;
  font-weight: 400;
  color: #ffffff;
}

.pn-sedi-cap {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cosmos-emerald-soft);
}

body.pn-cosmos .pn-policy-grid {
  border-bottom-color: rgba(167, 243, 208, 0.14);
}

body.pn-cosmos .pn-policy-subhead {
  color: #ffffff;
  font-family: var(--font-cinema);
  font-weight: 400;
}

body.pn-cosmos .pn-ref-list {
  color: #cbd5e1;
}

body.pn-cosmos .pn-ref-list a {
  color: var(--cosmos-emerald-soft);
}

body.pn-cosmos .pn-policy-footnote {
  color: #94a3b8;
}

/* Closing Deep-Space Horizon Band & Footer */
body.pn-cosmos .pn-closing-band {
  position: relative;
  overflow: hidden;
  background: #02070e;
  border-bottom: 1px solid rgba(167, 243, 208, 0.12);
}

body.pn-cosmos .pn-closing-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(2, 7, 14, 0.76) 0%, rgba(2, 7, 14, 0.56) 50%, rgba(2, 7, 14, 0.92) 100%),
    url("assets/deep-dive-poster.webp?v=20261125-v2");
  background-size: cover;
  background-position: center 42%;
  opacity: 0.55;
  pointer-events: none;
}

body.pn-cosmos .pn-closing-inner {
  position: relative;
  z-index: 1;
}

body.pn-cosmos .pn-closing-eyebrow {
  font-family: var(--font-scifi-caps);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--cosmos-emerald);
}

body.pn-cosmos .pn-closing-title {
  font-family: var(--font-cinema);
  font-weight: 200;
  letter-spacing: 0.02em;
}

body.pn-cosmos .pn-cta-white {
  background: linear-gradient(135deg, var(--cosmos-emerald) 0%, #6ee7b7 100%);
  color: #02140e;
  font-family: var(--font-scifi-body);
  font-weight: 700;
  box-shadow: 0 0 28px rgba(77, 245, 176, 0.34);
}

body.pn-cosmos .pn-cta-white:hover {
  background: #a7f3d0;
}

body.pn-cosmos .pn-footer {
  background: #02070e;
  border-top: 1px solid rgba(167, 243, 208, 0.12);
  color: #94a3b8;
}

body.pn-cosmos .footer-status,
body.pn-cosmos .footer-nav a {
  color: #94a3b8;
}

body.pn-cosmos .footer-inline-link,
body.pn-cosmos .footer-nav a:hover {
  color: var(--cosmos-emerald-soft);
}

/* Inline Plain-English Term Popover Modal */
.pn-term-modal {
  position: fixed;
  inset: 0;
  z-index: 960;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.pn-term-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 7, 14, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.pn-term-modal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  padding: 26px 28px;
  border-radius: 18px;
  border: 1px solid rgba(77, 245, 176, 0.44);
  background: rgba(5, 14, 24, 0.94);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.78), 0 0 42px rgba(77, 245, 176, 0.16);
  color: #f8fafc;
}

.pn-term-modal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.pn-term-close {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(167, 243, 208, 0.24);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.pn-term-close:hover {
  border-color: var(--cosmos-emerald);
  background: rgba(77, 245, 176, 0.18);
}

.pn-term-modal-title {
  margin: 0 0 10px;
  font-family: var(--font-cinema);
  font-size: 1.38rem;
  font-weight: 400;
  color: #ffffff;
}

.pn-term-modal-plain {
  margin: 0 0 16px;
  font-size: 1.04rem;
  line-height: 1.56;
  color: #f1f5f9;
}

.pn-term-modal-block {
  padding: 12px 14px;
  margin-bottom: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(167, 243, 208, 0.12);
}

.pn-term-modal-foot {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.pn-term-more-link {
  color: var(--cosmos-emerald);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.pn-term-more-link:hover {
  text-decoration: underline;
}

/* Responsive Overrides */
@media (max-width: 960px) {
  .pn-glossary-layout {
    grid-template-columns: 1fr;
  }

  .pn-sedi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.pn-cosmos .pn-spec-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .pn-film-switcher {
    grid-template-columns: 1fr;
  }

  .pn-cinema-overlay-meta {
    display: none;
  }

  .pn-glossary-pills {
    gap: 7px;
  }

  .pn-glossary-pill {
    padding: 8px 11px;
    font-size: 0.82rem;
    border-radius: 9px;
  }

  .pn-glossary-detail {
    padding: 18px 18px;
  }

  .pn-glossary-meta-grid {
    grid-template-columns: 1fr;
  }

  .pn-sedi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* ==========================================================================
   1:29 FILM LAYOUT: SERVER CORRIDOR + INTERACTIVE NODE A <-> NODE B HUD
   ========================================================================== */
body.pn-cosmos .pn-band-server {
  background: #02070e;
}

body.pn-cosmos .pn-band-server::before {
  background-image:
    linear-gradient(90deg, rgba(2, 7, 14, 0.42) 0%, rgba(2, 7, 14, 0.72) 48%, rgba(2, 7, 14, 0.92) 100%),
    linear-gradient(180deg, rgba(2, 7, 14, 0.76) 0%, rgba(2, 7, 14, 0.14) 24%, rgba(2, 7, 14, 0.16) 76%, rgba(2, 7, 14, 0.88) 100%),
    url("assets/bg-server-aisle.webp?v=20261125-v2");
  background-position: left center;
  opacity: 0.96;
}

.pn-server-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.pn-server-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pn-server-caption {
  margin: 12px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #ecfdf5;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95);
}

.pn-server-hud {
  padding: clamp(22px, 3vw, 32px);
}

.pn-mesh-svg-wrap {
  margin-bottom: 18px;
}

.pn-mesh-route-label {
  margin: 0 0 8px;
  text-align: center;
  font-family: var(--font-scifi-caps);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  color: var(--cosmos-emerald);
}

.pn-mesh-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.pn-mesh-arc-direct {
  stroke: #4df5b0;
  stroke-width: 3.5;
  opacity: 0.95;
  transition: opacity 0.22s ease, stroke-width 0.22s ease;
}

.pn-mesh-arc-relay {
  stroke: #38bdf8;
  stroke-width: 1.5;
  stroke-dasharray: 8 7;
  opacity: 0.26;
  transition: opacity 0.22s ease, stroke 0.22s ease, stroke-width 0.22s ease;
}

.pn-mesh-halo {
  fill: url(#mesh-glow-emerald);
}

.pn-mesh-node {
  fill: #071624;
  stroke: #4df5b0;
  stroke-width: 2.4;
}

.pn-mesh-center-group {
  opacity: 0.34;
  transition: opacity 0.22s ease;
}

.pn-mesh-center-node {
  fill: #071a2a;
  stroke: #38bdf8;
  stroke-width: 2.4;
}

.pn-mesh-node-code {
  fill: #ffffff;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
}

.pn-mesh-node-name {
  fill: #e2e8f0;
  font-family: var(--font-scifi-body);
  font-size: 15px;
  font-weight: 500;
}

.pn-mesh-node-sub {
  fill: #94a3b8;
  font-family: var(--font-mono);
  font-size: 11.5px;
}

.pn-mesh-center-sub {
  fill: #38bdf8;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
}

/* Mode: Legacy Honeypot (Red Alert) */
.pn-server-hud[data-mesh-mode="legacy"] .pn-mesh-route-label {
  color: #f87171;
}

.pn-server-hud[data-mesh-mode="legacy"] .pn-mesh-arc-direct {
  opacity: 0.24;
  stroke-dasharray: 6 8;
  stroke-width: 1.5;
}

.pn-server-hud[data-mesh-mode="legacy"] .pn-mesh-arc-relay {
  stroke: #f87171;
  stroke-width: 3.2;
  opacity: 0.94;
}

.pn-server-hud[data-mesh-mode="legacy"] .pn-mesh-halo {
  fill: url(#mesh-glow-alert);
}

.pn-server-hud[data-mesh-mode="legacy"] .pn-mesh-node {
  stroke: #f87171;
}

.pn-server-hud[data-mesh-mode="legacy"] .pn-mesh-center-group {
  opacity: 1;
}

.pn-server-hud[data-mesh-mode="legacy"] .pn-mesh-center-node {
  fill: rgba(127, 29, 29, 0.58);
  stroke: #f87171;
}

.pn-server-hud[data-mesh-mode="legacy"] .pn-mesh-center-sub {
  fill: #fca5a5;
}

/* Mode: Blind Port-443 Relay (Cyan) */
.pn-server-hud[data-mesh-mode="relay"] .pn-mesh-route-label {
  color: #38bdf8;
}

.pn-server-hud[data-mesh-mode="relay"] .pn-mesh-arc-direct {
  opacity: 0.24;
  stroke-dasharray: 6 8;
  stroke-width: 1.5;
}

.pn-server-hud[data-mesh-mode="relay"] .pn-mesh-arc-relay {
  stroke: #38bdf8;
  stroke-width: 3.2;
  opacity: 0.94;
}

.pn-server-hud[data-mesh-mode="relay"] .pn-mesh-halo {
  fill: url(#mesh-glow-cyan);
}

.pn-server-hud[data-mesh-mode="relay"] .pn-mesh-node {
  stroke: #38bdf8;
}

.pn-server-hud[data-mesh-mode="relay"] .pn-mesh-center-group {
  opacity: 1;
}

/* Clickable Film-Style Telemetry Rows */
.pn-telemetry-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pn-telemetry-btn {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 13px 16px 13px 18px;
  border: 1px solid rgba(167, 243, 208, 0.1);
  border-left: 3px solid rgba(148, 163, 184, 0.3);
  border-radius: 0 12px 12px 0;
  background: rgba(255, 255, 255, 0.025);
  text-align: left;
  cursor: pointer;
  opacity: 0.66;
  transition: opacity 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

.pn-telemetry-btn:hover {
  opacity: 0.92;
  background: rgba(255, 255, 255, 0.05);
}

.pn-telemetry-btn.is-active {
  opacity: 1;
  background: rgba(255, 255, 255, 0.065);
}

.pn-telemetry-alert.is-active {
  border-left-color: #f87171;
}

.pn-telemetry-emerald.is-active {
  border-left-color: #4df5b0;
}

.pn-telemetry-cyan.is-active {
  border-left-color: #38bdf8;
}

.pn-telemetry-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pn-telemetry-idx {
  font-family: var(--font-scifi-caps);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  color: #94a3b8;
}

.pn-telemetry-alert.is-active .pn-telemetry-idx,
.pn-telemetry-alert.is-active .pn-telemetry-val {
  color: #f87171;
}

.pn-telemetry-emerald.is-active .pn-telemetry-idx,
.pn-telemetry-emerald.is-active .pn-telemetry-val {
  color: #4df5b0;
}

.pn-telemetry-cyan.is-active .pn-telemetry-idx,
.pn-telemetry-cyan.is-active .pn-telemetry-val {
  color: #38bdf8;
}

.pn-telemetry-label {
  font-family: var(--font-cinema);
  font-size: 1.08rem;
  font-weight: 400;
  color: #ffffff;
}

.pn-telemetry-val {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #cbd5e1;
}

.pn-telemetry-detail {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.46;
  color: #cbd5e1;
}

@media (max-width: 960px) {
  .pn-server-stage {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Floating Translucent Ambient Sound Capsule (Bottom-Left: Many Worlds)
   ========================================================================== */
.pn-sound-dock {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 65;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(5, 13, 23, 0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(167, 243, 208, 0.22);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.55), 0 0 24px rgba(77, 245, 176, 0.08);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.pn-sound-dock.is-playing {
  border-color: rgba(77, 245, 176, 0.52);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), 0 0 28px rgba(77, 245, 176, 0.22);
}

.pn-sound-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #f8fafc;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.16s ease;
}

.pn-sound-toggle:hover {
  background: rgba(77, 245, 176, 0.08);
}

.pn-sound-eq {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(77, 245, 176, 0.12);
  border: 1px solid rgba(77, 245, 176, 0.34);
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2.5px;
  padding-bottom: 7px;
  flex-shrink: 0;
}

.pn-sound-bar {
  width: 2.5px;
  height: 5px;
  border-radius: 999px;
  background: #4df5b0;
  opacity: 0.68;
  transition: height 0.2s ease, opacity 0.2s ease;
}

.pn-sound-bar:nth-child(2) {
  height: 9px;
}

.pn-sound-bar:nth-child(3) {
  height: 6px;
}

.pn-sound-dock.is-playing .pn-sound-bar {
  opacity: 1;
  animation: pnSoundBounce 0.9s ease-in-out infinite;
}

.pn-sound-dock.is-playing .pn-sound-bar:nth-child(2) {
  animation-delay: 0.18s;
}

.pn-sound-dock.is-playing .pn-sound-bar:nth-child(3) {
  animation-delay: 0.36s;
}

@keyframes pnSoundBounce {
  0%, 100% { height: 4px; }
  50% { height: 13px; }
}

.pn-sound-text {
  display: flex;
  flex-direction: column;
  line-height: 1.16;
}

.pn-sound-kicker {
  font-family: var(--font-scifi-caps);
  font-size: 0.56rem;
  letter-spacing: 0.16em;
  color: #4df5b0;
}

.pn-sound-track {
  font-family: var(--font-scifi-body);
  font-size: 0.78rem;
  font-weight: 500;
  color: #e2e8f0;
  white-space: nowrap;
}

.pn-sound-switch {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(167, 243, 208, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}

.pn-sound-switch:hover {
  color: #4df5b0;
  border-color: rgba(77, 245, 176, 0.45);
  background: rgba(77, 245, 176, 0.1);
}

@media (max-width: 640px) {
  .pn-sound-dock {
    left: 12px;
    bottom: 14px;
    max-width: calc(100vw - 92px);
  }
  .pn-sound-track {
    font-size: 0.72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pn-sound-dock.is-playing .pn-sound-bar,
  .pn-blockie-avatar-ring img {
    animation: none;
  }
}

/* ==========================================================================
   Blockie Talkie ProofNet Guide (Translucent Glass + Neon Emerald + Voice)
   ========================================================================== */
.pn-blockie-wrap {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 70;
}

.pn-blockie-launcher {
  display: inline-flex;
  align-items: flex-end;
  gap: 12px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.pn-blockie-launcher[hidden] {
  display: none;
}

.pn-blockie-bubble {
  max-width: 224px;
  padding: 10px 14px;
  border-radius: 14px 14px 4px 14px;
  background: rgba(5, 14, 24, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(77, 245, 176, 0.34);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.52), 0 0 22px rgba(77, 245, 176, 0.14);
  color: #cbd5e1;
  font-family: var(--font-scifi-body);
  font-size: 0.76rem;
  line-height: 1.42;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.pn-blockie-bubble strong {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-scifi-caps);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: #4df5b0;
}

.pn-blockie-launcher:hover .pn-blockie-bubble,
.pn-blockie-launcher:focus-visible .pn-blockie-bubble {
  opacity: 1;
  transform: translateY(0);
}

.pn-blockie-avatar-ring {
  position: relative;
  width: 66px;
  height: 66px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 35% 30%, rgba(77, 245, 176, 0.24), rgba(5, 14, 24, 0.92) 72%);
  border: 1.5px solid rgba(77, 245, 176, 0.5);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6), 0 0 26px rgba(77, 245, 176, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pn-blockie-launcher:hover .pn-blockie-avatar-ring {
  transform: translateY(-2px) scale(1.05);
  border-color: #4df5b0;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.65), 0 0 34px rgba(77, 245, 176, 0.44);
}

.pn-blockie-avatar-ring img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(77, 245, 176, 0.32));
  animation: pnBlockieFloat 3.4s ease-in-out infinite;
}

@keyframes pnBlockieFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.pn-blockie-online-dot {
  position: absolute;
  right: 3px;
  bottom: 3px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #4df5b0;
  border: 2px solid #040d17;
  box-shadow: 0 0 10px rgba(77, 245, 176, 0.85);
}

.pn-blockie-panel {
  width: 416px;
  max-width: calc(100vw - 24px);
  height: 556px;
  max-height: calc(100vh - 96px);
  border-radius: 20px;
  background: rgba(5, 13, 23, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(77, 245, 176, 0.34);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.72), 0 0 40px rgba(77, 245, 176, 0.14);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #e2e8f0;
  font-family: var(--font-scifi-body);
}

.pn-blockie-panel[hidden] {
  display: none;
}

.pn-blockie-hdr {
  padding: 13px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: linear-gradient(180deg, rgba(11, 27, 42, 0.88), rgba(5, 13, 23, 0.72));
  border-bottom: 1px solid rgba(167, 243, 208, 0.16);
  flex-shrink: 0;
}

.pn-blockie-id {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.pn-blockie-hdr-img {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  padding: 2px;
  background: rgba(77, 245, 176, 0.12);
  border: 1px solid rgba(77, 245, 176, 0.4);
  flex-shrink: 0;
}

.pn-blockie-title-wrap {
  min-width: 0;
}

.pn-blockie-name {
  margin: 0;
  font-family: var(--font-cinema);
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.pn-blockie-badge {
  padding: 2px 7px;
  border-radius: 999px;
  font-family: var(--font-scifi-caps);
  font-size: 0.5rem;
  letter-spacing: 0.1em;
  color: #4df5b0;
  background: rgba(77, 245, 176, 0.12);
  border: 1px solid rgba(77, 245, 176, 0.3);
  white-space: nowrap;
}

.pn-blockie-sub {
  margin: 2px 0 0;
  font-size: 0.7rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.pn-blockie-hdr-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.pn-blockie-voice-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(167, 243, 208, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  font-family: var(--font-scifi-body);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.16s ease, color 0.16s ease, background-color 0.16s ease;
}

.pn-blockie-voice-toggle[aria-pressed="true"] {
  border-color: rgba(77, 245, 176, 0.55);
  background: rgba(77, 245, 176, 0.14);
  color: #4df5b0;
}

.pn-blockie-close {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(167, 243, 208, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.pn-blockie-close:hover {
  color: #ffffff;
  border-color: rgba(77, 245, 176, 0.45);
}

.pn-blockie-msgs {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pn-blockie-msg {
  max-width: 88%;
  padding: 10px 13px;
  border-radius: 14px;
  font-size: 0.85rem;
  line-height: 1.5;
  word-wrap: break-word;
}

.pn-blockie-msg-bot {
  align-self: flex-start;
  background: rgba(12, 26, 40, 0.84);
  border: 1px solid rgba(167, 243, 208, 0.18);
  border-bottom-left-radius: 4px;
  color: #e2e8f0;
}

.pn-blockie-msg-user {
  align-self: flex-end;
  background: linear-gradient(135deg, rgba(77, 245, 176, 0.24), rgba(56, 189, 248, 0.22));
  border: 1px solid rgba(77, 245, 176, 0.42);
  border-bottom-right-radius: 4px;
  color: #ffffff;
}

.pn-blockie-msg-text {
  margin: 0;
  white-space: pre-line;
}

.pn-blockie-msg-actions {
  margin-top: 8px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.pn-blockie-link-btn,
.pn-blockie-speak-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  font-family: var(--font-scifi-body);
  font-size: 0.72rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.pn-blockie-link-btn {
  color: #4df5b0;
  background: rgba(77, 245, 176, 0.1);
  border: 1px solid rgba(77, 245, 176, 0.3);
}

.pn-blockie-speak-btn {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.pn-blockie-chips {
  padding: 8px 14px 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-top: 1px solid rgba(167, 243, 208, 0.08);
  flex-shrink: 0;
}

.pn-blockie-chip {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(167, 243, 208, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  font-family: var(--font-scifi-body);
  font-size: 0.72rem;
  cursor: pointer;
  transition: border-color 0.16s ease, color 0.16s ease, background-color 0.16s ease;
}

.pn-blockie-chip:hover {
  border-color: rgba(77, 245, 176, 0.5);
  color: #4df5b0;
  background: rgba(77, 245, 176, 0.1);
}

.pn-blockie-form {
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-top: 1px solid rgba(167, 243, 208, 0.16);
  background: rgba(4, 11, 20, 0.88);
  flex-shrink: 0;
}

.pn-blockie-input {
  flex: 1;
  min-width: 0;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid rgba(167, 243, 208, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-family: var(--font-scifi-body);
  font-size: 0.84rem;
  outline: none;
}

.pn-blockie-input:focus {
  border-color: #4df5b0;
}

.pn-blockie-mic {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(56, 189, 248, 0.32);
  background: rgba(56, 189, 248, 0.1);
  color: #38bdf8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.pn-blockie-mic[hidden] {
  display: none;
}

.pn-blockie-mic.is-listening {
  border-color: #f87171;
  background: rgba(248, 113, 113, 0.2);
  color: #fca5a5;
}

.pn-blockie-send {
  padding: 0 14px;
  height: 36px;
  border-radius: 10px;
  border: 0;
  background: linear-gradient(135deg, #4df5b0, #6ee7b7);
  color: #031510;
  font-family: var(--font-scifi-body);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
}

.pn-blockie-foot {
  padding: 7px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.68rem;
  color: #94a3b8;
  background: rgba(2, 7, 14, 0.94);
  border-top: 1px solid rgba(167, 243, 208, 0.12);
  flex-shrink: 0;
}

.pn-blockie-foot-btn {
  border: 0;
  padding: 0;
  background: transparent;
  color: #4df5b0;
  font-family: var(--font-scifi-body);
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 640px) {
  .pn-blockie-wrap {
    right: 12px;
    bottom: 12px;
  }
  .pn-blockie-bubble {
    display: none;
  }
  .pn-blockie-avatar-ring {
    width: 56px;
    height: 56px;
  }
  .pn-blockie-avatar-ring img {
    width: 48px;
    height: 48px;
  }
  .pn-blockie-panel {
    height: min(500px, calc(100vh - 84px));
  }
}

/* ==========================================================================
   Hero Top-Right Interstellar Quantum Constellation (Direct Mesh & Blind Relay)
   ========================================================================== */
.pn-hero-top-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.94fr);
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
  margin-bottom: clamp(20px, 2.5vw, 30px);
}

.pn-hero-top-grid .pn-hero-intro {
  margin-bottom: 0;
}

.pn-constellation {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 6px 0 4px;
}

.pn-constellation-stage {
  position: relative;
  cursor: pointer;
  border-radius: 20px;
  background: radial-gradient(ellipse 76% 72% at 50% 48%, rgba(12, 34, 54, 0.34) 0%, rgba(2, 7, 14, 0) 76%);
}

.pn-constellation-svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.pn-star-web line {
  stroke: rgba(148, 163, 184, 0.14);
  stroke-width: 1;
  stroke-dasharray: 2 5;
}

.pn-bg-star {
  fill: rgba(226, 232, 240, 0.62);
}

.pn-bg-star-twinkle {
  animation: pnStarTwinkle 3.8s ease-in-out infinite;
}

@keyframes pnStarTwinkle {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

.pn-c-tunnel-sheath {
  stroke: rgba(77, 245, 176, 0.16);
  stroke-width: 14;
  stroke-linecap: round;
  opacity: 0;
  transition: opacity 0.65s ease, stroke 0.65s ease;
}

.pn-c-tunnel-core {
  stroke: url(#tunnel-grad-emerald);
  stroke-width: 2.2;
  stroke-linecap: round;
  opacity: 0.18;
  transition: opacity 0.65s ease, stroke-width 0.65s ease;
}

.pn-c-tunnel-flow {
  stroke: #ffffff;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-dasharray: 12 46;
  opacity: 0;
  transition: opacity 0.65s ease, stroke 0.65s ease;
  animation: pnQuantumStream 2.4s linear infinite;
}

.pn-c-relay-path {
  stroke: #38bdf8;
  stroke-width: 1.4;
  stroke-dasharray: 5 7;
  opacity: 0.22;
  transition: opacity 0.65s ease, stroke-width 0.65s ease;
}

.pn-c-relay-flow {
  stroke: #7dd3fc;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-dasharray: 10 42;
  opacity: 0;
  transition: opacity 0.65s ease;
  animation: pnQuantumStream 2.2s linear infinite;
}

@keyframes pnQuantumStream {
  from { stroke-dashoffset: 116; }
  to { stroke-dashoffset: 0; }
}

.pn-c-halo {
  fill: url(#star-glow-cyan);
  transition: opacity 0.6s ease;
}

.pn-c-ring {
  fill: rgba(4, 14, 24, 0.68);
  stroke: #38bdf8;
  stroke-width: 1.8;
  transition: stroke 0.6s ease, fill 0.6s ease;
}

.pn-c-ring-pulse {
  fill: none;
  stroke: #38bdf8;
  stroke-width: 1.2;
  opacity: 0.45;
  transform-box: fill-box;
  transform-origin: center;
  animation: pnConstellationPulse 2.8s ease-out infinite;
  transition: stroke 0.6s ease;
}

.pn-c-ring-pulse-b {
  animation-delay: 0.7s;
}

@keyframes pnConstellationPulse {
  0% { transform: scale(0.82); opacity: 0.7; }
  100% { transform: scale(1.68); opacity: 0; }
}

.pn-c-core {
  fill: #e0f2fe;
  transition: fill 0.6s ease;
}

.pn-c-relay-halo {
  fill: url(#star-glow-cyan);
  opacity: 0.28;
  transition: opacity 0.6s ease;
}

.pn-c-relay-ring {
  fill: rgba(4, 14, 24, 0.72);
  stroke: rgba(56, 189, 248, 0.45);
  stroke-width: 1.5;
  transition: stroke 0.6s ease, stroke-width 0.6s ease;
}

.pn-c-relay-core {
  fill: #7dd3fc;
  opacity: 0.65;
  transition: opacity 0.6s ease, fill 0.6s ease;
}

.pn-c-label {
  fill: #f8fafc;
  font-family: var(--font-scifi-caps);
  font-size: 10.5px;
  letter-spacing: 0.14em;
}

.pn-c-sub {
  fill: #94a3b8;
  font-family: var(--font-mono);
  font-size: 9.5px;
}

.pn-c-relay-label {
  fill: rgba(125, 211, 252, 0.72);
  font-family: var(--font-scifi-caps);
  font-size: 9.2px;
  letter-spacing: 0.13em;
  transition: fill 0.6s ease;
}

.pn-c-relay-sub {
  fill: rgba(148, 163, 184, 0.65);
  font-family: var(--font-mono);
  font-size: 8.8px;
}

/* Phase 2: ML-KEM-1024 Quantum Keys (Gold Spark) */
.pn-constellation[data-phase="2"] .pn-c-halo {
  fill: url(#star-glow-gold);
}
.pn-constellation[data-phase="2"] .pn-c-ring,
.pn-constellation[data-phase="2"] .pn-c-ring-pulse {
  stroke: #fbbf24;
}
.pn-constellation[data-phase="2"] .pn-c-core {
  fill: #fef3c7;
}
.pn-constellation[data-phase="2"] .pn-c-tunnel-core {
  stroke: url(#tunnel-grad-gold);
  opacity: 0.76;
  stroke-width: 2.6;
}
.pn-constellation[data-phase="2"] .pn-c-tunnel-flow {
  stroke: #fde68a;
  opacity: 0.92;
}
.pn-constellation[data-phase="2"] .pn-constellation-phase {
  color: #fbbf24;
}

/* Phase 3: Direct Quantum Tunnel Connected (Radiant Emerald!) */
.pn-constellation[data-phase="3"] .pn-c-halo {
  fill: url(#star-glow-emerald);
}
.pn-constellation[data-phase="3"] .pn-c-ring,
.pn-constellation[data-phase="3"] .pn-c-ring-pulse {
  stroke: #4df5b0;
}
.pn-constellation[data-phase="3"] .pn-c-core {
  fill: #ecfdf5;
}
.pn-constellation[data-phase="3"] .pn-c-tunnel-sheath {
  opacity: 1;
}
.pn-constellation[data-phase="3"] .pn-c-tunnel-core {
  stroke: url(#tunnel-grad-emerald);
  opacity: 1;
  stroke-width: 3.4;
}
.pn-constellation[data-phase="3"] .pn-c-tunnel-flow {
  stroke: #ffffff;
  opacity: 1;
}
.pn-constellation[data-phase="3"] .pn-constellation-phase {
  color: #4df5b0;
}

/* Phase 4: Zero-Knowledge Blind Port-443 Relay (Electric Cyan Star Route) */
.pn-constellation[data-phase="4"] .pn-c-halo {
  fill: url(#star-glow-cyan);
}
.pn-constellation[data-phase="4"] .pn-c-ring,
.pn-constellation[data-phase="4"] .pn-c-ring-pulse {
  stroke: #38bdf8;
}
.pn-constellation[data-phase="4"] .pn-c-tunnel-core {
  opacity: 0.16;
  stroke-dasharray: 4 7;
}
.pn-constellation[data-phase="4"] .pn-c-relay-halo {
  opacity: 1;
}
.pn-constellation[data-phase="4"] .pn-c-relay-ring {
  stroke: #38bdf8;
  stroke-width: 2.4;
}
.pn-constellation[data-phase="4"] .pn-c-relay-core {
  opacity: 1;
  fill: #e0f2fe;
}
.pn-constellation[data-phase="4"] .pn-c-relay-path {
  opacity: 0.92;
  stroke-width: 2.6;
}
.pn-constellation[data-phase="4"] .pn-c-relay-flow {
  opacity: 1;
}
.pn-constellation[data-phase="4"] .pn-c-relay-label {
  fill: #7dd3fc;
}
.pn-constellation[data-phase="4"] .pn-constellation-phase {
  color: #38bdf8;
}

.pn-constellation-hud {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 15px;
  height: 96px;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(6, 16, 27, 0.56);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(167, 243, 208, 0.16);
}

.pn-constellation-readout {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  transition: opacity 0.32s ease;
}

.pn-constellation-readout.is-fading {
  opacity: 0.15;
}

.pn-constellation-phase {
  font-family: var(--font-scifi-caps);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  color: #38bdf8;
  line-height: 1.25;
  white-space: nowrap;
  transition: color 0.45s ease;
}

.pn-constellation-title {
  font-family: var(--font-cinema);
  font-size: 0.94rem;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pn-constellation-detail {
  font-size: 0.77rem;
  line-height: 1.38;
  height: 2.76em;
  overflow: hidden;
  color: #cbd5e1;
}

@media (max-width: 640px) {
  .pn-constellation-hud {
    height: 112px;
  }
  .pn-constellation-title {
    white-space: normal;
  }
}

.pn-constellation-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding-bottom: 2px;
}

.pn-c-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 999px;
  border: 0;
  background: rgba(148, 163, 184, 0.38);
  cursor: pointer;
  transition: width 0.25s ease, background-color 0.25s ease;
}

.pn-c-dot.is-active {
  width: 22px;
  background: #4df5b0;
}

@media (max-width: 1024px) {
  .pn-hero-top-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* ==========================================================================
   Tailored Everyday Mode Atmosphere (Lighter, Warmer Sunlit-Glass Feel when
   01 · Plain-English Overview is selected; Technical sci-fi soul preserved!)
   ========================================================================== */
body.pn-cosmos,
body.pn-cosmos .pn-hero,
body.pn-cosmos .pn-band-space,
body.pn-cosmos .pn-band-stream {
  transition: background-color 0.6s ease, color 0.45s ease;
}

body.pn-cosmos[data-site-mode="everyday"] .pn-hero {
  background: #0a1b2b;
}

body.pn-cosmos[data-site-mode="everyday"] .pn-hero::before {
  background-image:
    radial-gradient(ellipse 72% 58% at 76% 18%, rgba(251, 191, 36, 0.24) 0%, rgba(10, 27, 43, 0) 62%),
    radial-gradient(ellipse 56% 50% at 18% 72%, rgba(77, 245, 176, 0.18) 0%, rgba(10, 27, 43, 0) 64%),
    linear-gradient(180deg, rgba(12, 32, 49, 0.22) 0%, rgba(12, 32, 49, 0.56) 58%, #0a1b2b 96%),
    url("assets/hero-space-planet.webp?v=20261125-v2");
  opacity: 0.72;
}

body.pn-cosmos[data-site-mode="everyday"] .pn-hero-title-accent {
  color: #fde68a;
  text-shadow: 0 0 28px rgba(251, 191, 36, 0.3);
}

/* Lighter, brighter warm sunlit-frosted look for Everyday Life & Inside the App */
body.pn-cosmos[data-site-mode="everyday"] #highlights.pn-band,
body.pn-cosmos[data-site-mode="everyday"] #inside-the-app.pn-band {
  background: linear-gradient(180deg, #f3f7f5 0%, #eaf2ef 100%);
  color: #334155;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

body.pn-cosmos[data-site-mode="everyday"] #highlights::before,
body.pn-cosmos[data-site-mode="everyday"] #inside-the-app::before {
  opacity: 0.09;
  filter: saturate(0.85) brightness(1.15);
}

body.pn-cosmos[data-site-mode="everyday"] #highlights .pn-h2,
body.pn-cosmos[data-site-mode="everyday"] #inside-the-app .pn-h2,
body.pn-cosmos[data-site-mode="everyday"] #highlights .pn-h3,
body.pn-cosmos[data-site-mode="everyday"] #inside-the-app .pn-app-title {
  color: #0f172a;
}

body.pn-cosmos[data-site-mode="everyday"] #highlights .pn-eyebrow,
body.pn-cosmos[data-site-mode="everyday"] #inside-the-app .pn-eyebrow,
body.pn-cosmos[data-site-mode="everyday"] #highlights .pn-card-kicker {
  color: #047857;
}

body.pn-cosmos[data-site-mode="everyday"] #highlights .pn-accent-emerald {
  color: #059669;
  text-shadow: none;
}

body.pn-cosmos[data-site-mode="everyday"] #inside-the-app .pn-accent-cyan {
  color: #0284c7;
  text-shadow: none;
}

body.pn-cosmos[data-site-mode="everyday"] #highlights .pn-lead,
body.pn-cosmos[data-site-mode="everyday"] #inside-the-app .pn-lead,
body.pn-cosmos[data-site-mode="everyday"] #highlights .pn-body,
body.pn-cosmos[data-site-mode="everyday"] #inside-the-app .pn-body,
body.pn-cosmos[data-site-mode="everyday"] #inside-the-app .pn-spec-row dd {
  color: #334155;
}

body.pn-cosmos[data-site-mode="everyday"] #highlights .pn-glass-card,
body.pn-cosmos[data-site-mode="everyday"] #inside-the-app .pn-glass-panel {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(15, 118, 110, 0.16);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
}

body.pn-cosmos[data-site-mode="everyday"] #highlights .pn-term-chip,
body.pn-cosmos[data-site-mode="everyday"] #inside-the-app .pn-term-chip {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(5, 150, 105, 0.34);
  color: #065f46;
}

body.pn-cosmos[data-site-mode="everyday"] #highlights .pn-term-chip:hover,
body.pn-cosmos[data-site-mode="everyday"] #inside-the-app .pn-term-chip:hover {
  background: rgba(16, 185, 129, 0.2);
  color: #022c22;
}

body.pn-cosmos[data-site-mode="everyday"] #inside-the-app .pn-spec-row {
  border-top-color: rgba(15, 23, 42, 0.1);
}

@media (prefers-reduced-motion: reduce) {
  .pn-bg-star-twinkle,
  .pn-c-tunnel-flow,
  .pn-c-relay-flow,
  .pn-c-ring-pulse {
    animation: none;
  }
  .pn-mesh-web-bg {
    display: none;
  }
}

/* ==========================================================================
   Subtle Full-Site Living P2P Mesh Web Canvas (Light Ambient Starfield Mesh)
   ========================================================================== */
.pn-mesh-web-bg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 2;
  opacity: 0.52;
  transition: opacity 0.6s ease;
}

body.pn-cosmos[data-site-mode="everyday"] .pn-mesh-web-bg {
  opacity: 0.32;
}

body.pn-cosmos main,
body.pn-cosmos .site-footer {
  position: relative;
  z-index: 3;
}

body.pn-cosmos .pn-header {
  z-index: 40;
}

/* ==========================================================================
   Announcements Page Deep-Space Glass Theme (/announcements)
   ========================================================================== */
body.pn-cosmos .page-hero {
  background:
    radial-gradient(ellipse 68% 60% at 75% 18%, rgba(56, 189, 248, 0.16) 0%, rgba(2, 7, 14, 0) 64%),
    radial-gradient(ellipse 50% 50% at 18% 72%, rgba(77, 245, 176, 0.12) 0%, rgba(2, 7, 14, 0) 64%),
    #02070e;
  border-bottom: 1px solid rgba(167, 243, 208, 0.14);
}

body.pn-cosmos .page-hero .hero-eyebrow {
  font-family: var(--font-scifi-caps);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: #4df5b0;
  text-transform: uppercase;
}

body.pn-cosmos .page-hero-title {
  font-family: var(--font-cinema);
  font-weight: 200;
  letter-spacing: 0.04em;
  color: #ffffff;
}

body.pn-cosmos .page-hero-lead {
  color: #cbd5e1;
}

body.pn-cosmos .announce-jump-link {
  background: rgba(7, 17, 29, 0.72);
  border: 1px solid rgba(167, 243, 208, 0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #e2e8f0;
}

body.pn-cosmos .announce-jump-link:hover {
  border-color: rgba(77, 245, 176, 0.5);
  background: rgba(11, 26, 42, 0.84);
}

body.pn-cosmos .announce-jump-link time {
  color: #4df5b0;
}

body.pn-cosmos .announce-jump-link span {
  color: #f8fafc;
}

body.pn-cosmos .announce-section {
  background: #02070e;
}

body.pn-cosmos .announce-card {
  background: rgba(7, 17, 29, 0.78);
  border: 1px solid rgba(167, 243, 208, 0.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

body.pn-cosmos .announce-tag {
  background: rgba(77, 245, 176, 0.14);
  border: 1px solid rgba(77, 245, 176, 0.36);
  color: #4df5b0;
}

body.pn-cosmos .announce-tag-muted {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.32);
  color: #7dd3fc;
}

body.pn-cosmos .announce-date,
body.pn-cosmos .announce-permalink,
body.pn-cosmos .announce-media-caption,
body.pn-cosmos .announce-disclaimer {
  color: #94a3b8;
}

body.pn-cosmos .announce-title {
  font-family: var(--font-cinema);
  font-weight: 400;
  color: #ffffff;
}

body.pn-cosmos .announce-body p,
body.pn-cosmos .announce-body .announce-lead {
  color: #cbd5e1;
}

body.pn-cosmos .announce-body strong {
  color: #ffffff;
}

body.pn-cosmos .announce-body a {
  color: #4df5b0;
}

body.pn-cosmos .announce-actions .btn-primary {
  background: linear-gradient(135deg, #4df5b0, #6ee7b7);
  border-color: #4df5b0;
  color: #031510;
}

body.pn-cosmos .announce-actions .btn-secondary,
body.pn-cosmos .announce-actions .btn-navy {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(167, 243, 208, 0.28);
  color: #e2e8f0;
}

body.pn-cosmos .announce-actions .btn-secondary:hover,
body.pn-cosmos .announce-actions .btn-navy:hover {
  border-color: #4df5b0;
  color: #4df5b0;
}

/* Audience paths and chapter playback share the full-film cinema frame. */
.pn-chapters {
  border-top: 1px solid #26433f;
  background: #0a191e;
  color: #ecf9f4;
  text-align: left;
}

.pn-chapters-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px clamp(14px, 3vw, 24px);
  color: #b9f4d9;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.pn-chapters-summary::-webkit-details-marker { display: none; }
.pn-chapters-summary::after {
  margin-left: auto;
  font-size: 1.2rem;
  line-height: 1;
  content: "+";
}

.pn-chapters[open] .pn-chapters-summary::after { content: "−"; }
.pn-chapters-count {
  color: #b6cbd1;
  font-size: 0.8rem;
  font-weight: 500;
}

.pn-chapters-body {
  padding: 0 clamp(14px, 3vw, 24px) 20px;
}

.pn-chapters-body > p {
  margin: 0 0 12px;
  color: #b6cbd1;
  font-size: 0.9rem;
}

.pn-chapters-filters,
.pn-chapter-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pn-chapter-controls {
  padding: 0 clamp(14px, 3vw, 24px) 12px;
}

.pn-chapter-controls[hidden],
.pn-chapter-controls button[hidden] { display: none; }

.pn-chapters-filters button,
.pn-chapter-controls button {
  min-height: 44px;
  padding: 6px 13px;
  border: 1px solid #42635e;
  border-radius: 8px;
  background: #10282b;
  color: #e3f7ee;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.pn-chapters-filters button[aria-pressed="true"],
.pn-chapter-controls button:first-child {
  border-color: #79dbb1;
  background: #b9f4d9;
  color: #092820;
}

.pn-chapters-body .pn-chapters-status {
  margin: 14px 0 8px;
  font-weight: 600;
}

.pn-chapter-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pn-chapter-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid #345550;
  border-radius: 10px;
  background: #102428;
  color: #ecf9f4;
  text-align: left;
  cursor: pointer;
}

.pn-chapter-card img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  background: #132e31;
}

.pn-chapter-copy {
  display: grid;
  flex: 1;
  grid-template-rows: auto 1fr auto;
  gap: 6px;
  padding: 10px;
  color: #b6cbd1;
  font-size: 0.82rem;
  line-height: 1.4;
}

.pn-chapter-copy strong {
  color: #ecf9f4;
  font-size: 0.93rem;
  line-height: 1.35;
}

.pn-chapter-timing {
  color: #a5eccb;
  font-size: 0.77rem;
  font-weight: 600;
}

.pn-chapters-summary:hover,
.pn-chapters-filters button:hover,
.pn-chapter-controls button:hover,
.pn-chapter-card:hover,
.pn-chapter-card[aria-current="true"] { border-color: #97ebc6; }

.pn-chapters :focus-visible,
.pn-chapter-controls :focus-visible,
.pn-cinema-stage:focus-visible {
  outline: 2px solid #97ebc6;
  outline-offset: -2px;
}

#hero-video-stage { scroll-margin-top: calc(var(--header-h) + 12px); }

@media (max-width: 800px) {
  .pn-chapter-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 420px) {
  .pn-chapters-summary { flex-wrap: wrap; column-gap: 8px; row-gap: 2px; }
  .pn-chapters-summary::after { order: 1; }
  .pn-chapters-count { flex-basis: 100%; order: 2; }
}
