.resonance-page {
  --resonance-blue: #6fa7d8;
  --resonance-blue-bright: #a9d8ff;
  --resonance-blue-deep: #08172a;
  --resonance-cyan: #77d2d7;
  background:
    radial-gradient(circle at 50% 8%, rgba(42, 91, 139, 0.14), transparent 28%),
    var(--ink);
}

.resonance-page .site-header.is-scrolled,
.resonance-page .site-header.is-open {
  background: rgba(4, 7, 11, 0.9);
}

.resonance-page .nav-highlight {
  color: var(--gold-bright);
}

.resonance-hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  overflow: hidden;
  align-items: center;
  padding: calc(var(--header-height) + 54px) 0 72px;
  background:
    radial-gradient(circle at 75% 44%, rgba(65, 135, 204, 0.2), transparent 28%),
    radial-gradient(circle at 18% 68%, rgba(198, 168, 95, 0.08), transparent 26%),
    linear-gradient(145deg, #040608 0%, #070d15 45%, #050608 100%);
}

.resonance-hero::before,
.resonance-hero::after {
  position: absolute;
  border: 1px solid rgba(126, 184, 228, 0.08);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.resonance-hero::before {
  width: 76vw;
  height: 76vw;
  right: -52vw;
  bottom: -24vw;
}

.resonance-hero::after {
  width: 54vw;
  height: 54vw;
  left: -40vw;
  top: 10vw;
}

.resonance-hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(138, 190, 228, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138, 190, 228, 0.1) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, transparent, black 20%, black 72%, transparent);
  pointer-events: none;
}

.resonance-hero-glow {
  position: absolute;
  width: 640px;
  height: 640px;
  right: -280px;
  top: 16%;
  border-radius: 50%;
  background: rgba(78, 151, 214, 0.18);
  filter: blur(120px);
  pointer-events: none;
}

.resonance-hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 54px;
  align-items: center;
}

.resonance-hero-copy {
  position: relative;
  z-index: 3;
}

.resonance-hero .eyebrow {
  margin: 0 0 22px;
  color: var(--gold-bright);
}

.resonance-hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.5rem, 15vw, 6.7rem);
  font-weight: 400;
  letter-spacing: -0.052em;
  line-height: 0.9;
}

.resonance-hero-lead {
  max-width: 650px;
  margin: 30px 0 0;
  color: rgba(238, 233, 223, 0.72);
  font-size: clamp(1rem, 2vw, 1.16rem);
  line-height: 1.75;
}

.resonance-hero .hero-actions {
  margin-top: 34px;
}

.resonance-hero-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(169, 216, 255, 0.14);
  color: rgba(221, 235, 245, 0.55);
  font-size: 0.63rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.resonance-hero-foot span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.resonance-hero-foot span::before {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--resonance-blue);
  content: "";
  box-shadow: 0 0 10px rgba(111, 167, 216, 0.72);
}

.planetary-instrument {
  position: relative;
  width: min(86vw, 430px);
  aspect-ratio: 1;
  margin-inline: auto;
  border-radius: 50%;
  isolation: isolate;
}

.planetary-instrument::before {
  position: absolute;
  inset: 14%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(75, 143, 201, 0.24), rgba(7, 16, 27, 0.45) 54%, transparent 72%);
  box-shadow: 0 0 90px rgba(55, 124, 180, 0.24);
  content: "";
}

.instrument-greek {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
  filter: sepia(0.35) saturate(0.8) hue-rotate(164deg) drop-shadow(0 0 20px rgba(91, 162, 214, 0.15));
  animation: instrument-turn 78s linear infinite;
}

.instrument-greek-inner {
  inset: 17%;
  width: 66%;
  height: 66%;
  opacity: 0.18;
  animation-direction: reverse;
  animation-duration: 58s;
}

.instrument-orbit {
  position: absolute;
  left: 7%;
  top: 42%;
  width: 86%;
  height: 20%;
  border: 1px solid rgba(148, 204, 244, 0.2);
  border-radius: 50%;
  transform: rotate(16deg);
}

.instrument-orbit-b {
  transform: rotate(-19deg);
}

.instrument-core {
  position: absolute;
  inset: 27%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(169, 216, 255, 0.18);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 38%, rgba(94, 173, 229, 0.16), transparent 52%),
    rgba(5, 11, 19, 0.82);
  box-shadow:
    inset 0 0 48px rgba(68, 139, 198, 0.13),
    0 0 34px rgba(50, 119, 177, 0.12);
  text-align: center;
}

.instrument-core span,
.instrument-core em {
  font-style: normal;
  font-size: clamp(0.48rem, 1.6vw, 0.62rem);
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.instrument-core span {
  color: rgba(211, 230, 244, 0.54);
}

.instrument-core strong {
  margin: 4px 0 2px;
  color: #e6f4ff;
  font-size: clamp(2.25rem, 10vw, 4rem);
  font-weight: 350;
  letter-spacing: -0.065em;
  line-height: 1;
  text-shadow: 0 0 28px rgba(119, 199, 241, 0.38);
}

.instrument-core em {
  color: var(--gold);
  font-size: clamp(0.42rem, 1.4vw, 0.55rem);
}

.instrument-pulse {
  position: absolute;
  inset: 48% 7% auto;
  height: 1px;
  overflow: hidden;
  background: linear-gradient(90deg, transparent, rgba(121, 194, 234, 0.16) 12%, rgba(121, 194, 234, 0.16) 88%, transparent);
}

.instrument-pulse i {
  position: absolute;
  inset: 0;
  display: block;
  width: 28%;
  background: linear-gradient(90deg, transparent, var(--resonance-blue-bright), transparent);
  animation: instrument-scan 3.8s ease-in-out infinite;
  box-shadow: 0 0 12px rgba(169, 216, 255, 0.8);
}

.resonance-scroll-cue {
  display: none;
}

@keyframes instrument-turn {
  to { transform: rotate(360deg); }
}

@keyframes instrument-scan {
  0% { transform: translateX(-120%); opacity: 0; }
  20%, 80% { opacity: 1; }
  100% { transform: translateX(360%); opacity: 0; }
}

#entenda,
#dados-de-hoje,
#monitor,
#clima-espacial,
#como-ler {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

.quick-start {
  position: relative;
  background:
    radial-gradient(circle at 90% 12%, rgba(118, 96, 47, 0.08), transparent 24%),
    var(--paper);
  color: #101216;
}

.quick-start-layout {
  display: grid;
  gap: 42px;
}

.quick-start-intro h2 {
  max-width: 760px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.55rem, 10vw, 5.1rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.quick-start-intro > p:last-of-type {
  max-width: 680px;
  margin: 26px 0 0;
  color: rgba(16, 18, 22, 0.66);
  font-size: 0.96rem;
  line-height: 1.78;
}

.quick-start-link {
  display: inline-flex;
  min-height: 44px;
  gap: 10px;
  align-items: center;
  margin-top: 28px;
  color: #76602f;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.quick-start-link:hover {
  color: #3f3219;
}

.quick-start-steps {
  display: grid;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(16, 18, 22, 0.16);
  list-style: none;
}

.quick-start-steps li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 5px 14px;
  padding: 25px 2px 27px;
  border-bottom: 1px solid rgba(16, 18, 22, 0.16);
}

.quick-start-steps span {
  grid-column: 1;
  grid-row: 1 / 3;
  padding-top: 5px;
  color: #8a6f35;
  font-size: 0.57rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.quick-start-steps h3 {
  grid-column: 2;
  margin: 0;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.quick-start-steps p {
  grid-column: 2;
  margin: 5px 0 0;
  color: rgba(16, 18, 22, 0.62);
  font-size: 0.84rem;
  line-height: 1.68;
}

.reading-rule {
  display: grid;
  gap: 13px;
  padding: 22px 0;
  border-top: 1px solid rgba(118, 96, 47, 0.35);
  border-bottom: 1px solid rgba(118, 96, 47, 0.35);
}

.reading-rule span {
  color: #76602f;
  font-size: 0.58rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.reading-rule p {
  max-width: 980px;
  margin: 0;
  color: rgba(16, 18, 22, 0.72);
  font-size: 0.9rem;
  line-height: 1.74;
}

.reading-rule strong {
  color: #17130d;
}

.today-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 8%, rgba(63, 133, 191, 0.16), transparent 26%),
    radial-gradient(circle at 5% 78%, rgba(198, 168, 95, 0.055), transparent 26%),
    #05080d;
}

.today-section::before {
  position: absolute;
  width: 620px;
  height: 620px;
  right: -470px;
  top: 34%;
  border: 1px solid rgba(169, 216, 255, 0.06);
  border-radius: 50%;
  box-shadow:
    0 0 0 84px rgba(169, 216, 255, 0.014),
    0 0 0 168px rgba(169, 216, 255, 0.009);
  content: "";
  pointer-events: none;
}

.today-section > .shell {
  position: relative;
  z-index: 1;
}

.today-heading {
  margin-bottom: 38px;
}

.today-summary {
  padding: 25px 0 28px;
  border-top: 1px solid rgba(169, 216, 255, 0.17);
  border-bottom: 1px solid rgba(169, 216, 255, 0.17);
}

.today-status {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 20px;
  color: rgba(215, 232, 243, 0.56);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.today-status span {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(198, 168, 95, 0.64);
}

.today-status.is-live span {
  background: #6bd6b1;
  box-shadow: 0 0 12px rgba(107, 214, 177, 0.66);
}

.today-status.has-error span {
  background: #c98a7e;
  box-shadow: 0 0 12px rgba(201, 138, 126, 0.6);
}

.today-status p {
  margin: 0;
}

.today-summary h3 {
  max-width: 950px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 8.6vw, 4.25rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.today-summary h3 strong {
  color: var(--resonance-blue-bright);
  font-weight: 400;
  text-shadow: 0 0 26px rgba(111, 167, 216, 0.22);
}

.today-summary > p {
  max-width: 820px;
  margin: 22px 0 0;
  color: rgba(221, 231, 238, 0.62);
  font-size: 0.88rem;
  line-height: 1.76;
}

.today-summary > p strong {
  color: rgba(241, 246, 249, 0.9);
}

.today-measures {
  display: grid;
  margin-top: 42px;
  border-top: 1px solid rgba(169, 216, 255, 0.14);
}

.today-measures article {
  padding: 25px 2px 28px;
  border-bottom: 1px solid rgba(169, 216, 255, 0.14);
}

.today-measures span {
  color: var(--gold);
  font-size: 0.57rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.today-measures strong {
  display: block;
  margin: 15px 0 13px;
  color: rgba(237, 247, 253, 0.9);
  font-size: clamp(1.75rem, 9vw, 3.15rem);
  font-weight: 320;
  letter-spacing: -0.055em;
  line-height: 1;
}

.today-measures strong small {
  color: var(--resonance-blue);
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.today-measures p {
  max-width: 420px;
  margin: 0;
  color: rgba(218, 230, 238, 0.52);
  font-size: 0.8rem;
  line-height: 1.68;
}

.parameter-monitor {
  margin-top: 50px;
  overflow: hidden;
  border: 1px solid rgba(169, 216, 255, 0.18);
  background: rgba(1, 3, 5, 0.78);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.38);
}

.parameter-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid rgba(169, 216, 255, 0.14);
}

.parameter-tabs button {
  min-width: 0;
  min-height: 56px;
  padding: 12px 7px;
  border: 0;
  border-right: 1px solid rgba(169, 216, 255, 0.11);
  background: rgba(13, 24, 34, 0.44);
  color: rgba(219, 233, 242, 0.52);
  font: inherit;
  font-size: clamp(0.56rem, 2.7vw, 0.68rem);
  font-weight: 780;
  letter-spacing: 0.075em;
  line-height: 1.25;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease;
}

.parameter-tabs button:last-child {
  border-right: 0;
}

.parameter-tabs button span {
  display: none;
  color: var(--resonance-blue);
}

.parameter-tabs button[aria-selected="true"] {
  background: linear-gradient(180deg, rgba(65, 126, 175, 0.25), rgba(14, 27, 38, 0.65));
  color: #eef8ff;
  box-shadow: inset 0 -2px var(--resonance-blue-bright);
}

.parameter-tabs button:focus-visible,
.parameter-expand:focus-visible,
#parameter-expand:focus-visible,
.chart-lightbox button:focus-visible {
  outline: 2px solid var(--resonance-blue-bright);
  outline-offset: -3px;
}

.parameter-toolbar {
  display: flex;
  min-height: 72px;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(169, 216, 255, 0.1);
  background: linear-gradient(90deg, rgba(19, 45, 66, 0.48), rgba(5, 9, 13, 0.64));
}

.parameter-toolbar > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.parameter-toolbar span,
.parameter-toolbar time {
  color: rgba(218, 233, 243, 0.4);
  font-size: 0.55rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.parameter-toolbar strong {
  color: rgba(239, 248, 253, 0.88);
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 400;
}

.parameter-plot-scroll {
  position: relative;
  min-height: 290px;
  overflow-x: auto;
  overflow-y: hidden;
  background:
    linear-gradient(rgba(115, 163, 197, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(115, 163, 197, 0.035) 1px, transparent 1px),
    #000;
  background-size: 36px 36px;
  overscroll-behavior-inline: contain;
  scrollbar-color: rgba(111, 167, 216, 0.55) rgba(255, 255, 255, 0.04);
  touch-action: pan-x pan-y pinch-zoom;
}

.parameter-plot-scroll img {
  position: relative;
  z-index: 1;
  display: block;
  width: 1000px;
  max-width: none;
  height: auto;
  min-height: 290px;
  object-fit: contain;
  opacity: 0;
  transition: opacity 300ms ease;
}

.parameter-monitor.is-loaded .parameter-plot-scroll img {
  opacity: 1;
}

.parameter-loading {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  gap: 13px;
  place-content: center;
  place-items: center;
  padding: 24px;
  color: rgba(217, 232, 242, 0.56);
  text-align: center;
}

.parameter-loading span {
  width: 72px;
  height: 1px;
  overflow: hidden;
  background: rgba(169, 216, 255, 0.14);
}

.parameter-loading span::after {
  display: block;
  width: 34%;
  height: 100%;
  background: var(--resonance-blue-bright);
  content: "";
  animation: loading-line 1.5s ease-in-out infinite;
}

.parameter-loading p {
  margin: 0;
  font-size: 0.64rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.parameter-monitor.is-loaded .parameter-loading {
  display: none;
}

.parameter-monitor.has-error .parameter-loading span {
  display: none;
}

.parameter-mobile-hint {
  margin: 0;
  padding: 10px 14px;
  border-top: 1px solid rgba(169, 216, 255, 0.09);
  color: rgba(216, 232, 242, 0.42);
  font-size: 0.61rem;
  line-height: 1.5;
}

.parameter-mobile-hint span {
  margin-right: 5px;
  color: var(--resonance-blue);
}

.parameter-caption {
  display: grid;
  gap: 18px;
  padding: 20px 16px 22px;
  border-top: 1px solid rgba(169, 216, 255, 0.1);
}

.parameter-caption p {
  max-width: 770px;
  margin: 0;
  color: rgba(222, 233, 240, 0.58);
  font-size: 0.76rem;
  line-height: 1.72;
}

.parameter-caption > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

#parameter-expand,
.parameter-caption a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gold-bright);
  font: inherit;
  font-size: 0.61rem;
  font-weight: 780;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
}

#parameter-expand:hover,
.parameter-caption a:hover {
  color: #fff1c9;
}

.parameter-source-note {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  padding: 19px 0 0;
  border-top: 1px solid rgba(198, 168, 95, 0.18);
}

.parameter-source-note span {
  color: var(--gold);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.parameter-source-note p {
  max-width: 930px;
  margin: 0;
  color: rgba(220, 228, 233, 0.5);
  font-size: 0.72rem;
  line-height: 1.72;
}

.chart-lightbox[hidden] {
  display: none;
}

.chart-lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  background: rgba(2, 4, 7, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.chart-lightbox-bar {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 6px 2px 13px;
}

.chart-lightbox-bar > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.chart-lightbox-bar span,
.chart-lightbox > p {
  color: rgba(218, 233, 243, 0.45);
  font-size: 0.55rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.chart-lightbox-bar strong {
  overflow: hidden;
  color: rgba(241, 247, 251, 0.9);
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chart-lightbox-bar button {
  min-height: 44px;
  flex: 0 0 auto;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: var(--gold-bright);
  font: inherit;
  font-size: 0.6rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.chart-lightbox-bar button span {
  margin-left: 5px;
  color: inherit;
  font-size: 1.2rem;
  line-height: 0;
}

.chart-lightbox-viewport {
  display: flex;
  overflow: auto;
  align-items: center;
  background: #000;
  border: 1px solid rgba(169, 216, 255, 0.16);
  overscroll-behavior: contain;
  touch-action: pan-x pan-y pinch-zoom;
}

.chart-lightbox-viewport img {
  display: block;
  width: 1000px;
  max-width: none;
  height: auto;
  margin: auto;
  user-select: none;
  -webkit-user-drag: none;
}

.chart-lightbox > p {
  margin: 0;
  padding: 11px 2px 1px;
  line-height: 1.45;
  text-align: center;
}

body.chart-open {
  overflow: hidden;
}

.monitor-section {
  position: relative;
  padding-bottom: clamp(88px, 12vw, 150px);
  background:
    radial-gradient(circle at 15% 28%, rgba(57, 118, 170, 0.08), transparent 28%),
    #080a0e;
}

.monitor-heading,
.space-heading,
.reference-heading {
  margin-bottom: 42px;
}

.monitor-frame {
  overflow: hidden;
  border: 1px solid rgba(167, 205, 234, 0.18);
  border-radius: 2px;
  background: #030506;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45);
}

.monitor-toolbar {
  display: flex;
  min-height: 62px;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(167, 205, 234, 0.12);
  background: linear-gradient(90deg, rgba(20, 44, 66, 0.52), rgba(8, 12, 17, 0.68));
}

.monitor-live,
.monitor-clock {
  display: flex;
  gap: 10px;
  align-items: center;
  color: rgba(226, 239, 247, 0.54);
  font-size: 0.58rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.monitor-live strong,
.monitor-clock strong {
  color: rgba(235, 245, 251, 0.84);
  font-size: inherit;
}

.monitor-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c6a85f;
  box-shadow: 0 0 14px rgba(198, 168, 95, 0.72);
}

.monitor-frame.is-loaded .monitor-live-dot {
  background: #6bd6b1;
  box-shadow: 0 0 14px rgba(107, 214, 177, 0.72);
}

.monitor-frame.has-error .monitor-live-dot {
  background: #c98a7e;
  box-shadow: 0 0 14px rgba(201, 138, 126, 0.62);
}

.spectrogram-stage {
  position: relative;
  display: grid;
  min-height: 260px;
  overflow: hidden;
  place-items: center;
  background:
    linear-gradient(rgba(115, 163, 197, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(115, 163, 197, 0.035) 1px, transparent 1px),
    #010203;
  background-size: 36px 36px;
}

.spectrogram-stage::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.02);
  content: "";
  pointer-events: none;
}

.spectrogram-stage img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  min-height: 220px;
  object-fit: contain;
  opacity: 0;
  transition: opacity 420ms ease;
}

.monitor-frame.is-loaded .spectrogram-stage img {
  opacity: 1;
}

.spectrogram-loading {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 14px;
  place-items: center;
  padding: 30px;
  color: rgba(217, 232, 242, 0.58);
  text-align: center;
}

.spectrogram-loading span {
  width: 76px;
  height: 1px;
  overflow: hidden;
  background: rgba(169, 216, 255, 0.14);
}

.spectrogram-loading span::after {
  display: block;
  width: 34%;
  height: 100%;
  background: var(--resonance-blue-bright);
  content: "";
  animation: loading-line 1.5s ease-in-out infinite;
}

.spectrogram-loading p {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.monitor-frame.is-loaded .spectrogram-loading {
  display: none;
}

.monitor-frame.has-error .spectrogram-loading span {
  display: none;
}

@keyframes loading-line {
  from { transform: translateX(-110%); }
  to { transform: translateX(300%); }
}

.monitor-caption {
  display: grid;
  gap: 20px;
  padding: 22px 18px 24px;
  border-top: 1px solid rgba(167, 205, 234, 0.12);
  color: rgba(224, 233, 239, 0.57);
}

.monitor-caption p {
  max-width: 840px;
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.75;
}

.monitor-caption p strong {
  color: rgba(237, 244, 248, 0.82);
}

.monitor-caption > div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
}

.monitor-caption a,
.space-source a {
  color: var(--gold-bright);
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.monitor-caption a:hover,
.space-source a:hover {
  color: #fff1c9;
}

.monitor-limit {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  padding: 20px;
  border: 1px solid rgba(198, 168, 95, 0.18);
  border-left: 2px solid var(--gold);
  background: rgba(198, 168, 95, 0.035);
}

.monitor-limit span {
  color: var(--gold-bright);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.monitor-limit p {
  margin: 0;
  color: rgba(232, 227, 218, 0.64);
  font-size: 0.84rem;
  line-height: 1.7;
}

.space-weather {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 15%, rgba(73, 145, 202, 0.13), transparent 25%),
    linear-gradient(145deg, #07111e, #05080d 68%);
}

.space-weather-orbit {
  position: absolute;
  width: 760px;
  height: 760px;
  right: -500px;
  bottom: -500px;
  border: 1px solid rgba(169, 216, 255, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 90px rgba(169, 216, 255, 0.018),
    0 0 0 180px rgba(169, 216, 255, 0.012);
}

.space-status {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
  color: rgba(215, 232, 243, 0.55);
  font-size: 0.67rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.space-status span {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(198, 168, 95, 0.62);
}

.space-status p {
  margin: 0;
}

.space-status.is-live span {
  background: #6bd6b1;
  box-shadow: 0 0 12px rgba(107, 214, 177, 0.64);
}

.space-status.has-error span {
  background: #c98a7e;
  box-shadow: 0 0 12px rgba(201, 138, 126, 0.58);
}

.space-data-grid {
  display: grid;
  border-top: 1px solid rgba(177, 211, 235, 0.14);
}

.space-data-card {
  min-height: 245px;
  padding: 27px 3px 26px;
  border-bottom: 1px solid rgba(177, 211, 235, 0.14);
}

.space-data-label {
  display: flex;
  gap: 12px;
  align-items: center;
  color: rgba(218, 234, 244, 0.58);
  font-size: 0.61rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.space-data-label span {
  color: var(--resonance-blue);
}

.space-data-label p {
  margin: 0;
}

.space-data-card > strong {
  display: block;
  min-height: 1.12em;
  margin: 24px 0 15px;
  color: #edf7ff;
  font-size: clamp(3rem, 14vw, 4.8rem);
  font-weight: 320;
  letter-spacing: -0.07em;
  line-height: 0.92;
  text-shadow: 0 0 28px rgba(99, 171, 222, 0.18);
}

.space-data-card > strong[data-state="error"] {
  color: rgba(232, 239, 244, 0.35);
  font-size: 2rem;
  letter-spacing: -0.02em;
}

.space-data-card > p {
  max-width: 310px;
  min-height: 44px;
  margin: 0 0 18px;
  color: rgba(216, 229, 237, 0.54);
  font-size: 0.78rem;
  line-height: 1.65;
}

.space-data-card time {
  color: rgba(216, 229, 237, 0.32);
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.space-source {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 24px;
  padding: 18px 0 0;
}

.space-source p {
  margin: 0;
  color: rgba(216, 229, 237, 0.45);
  font-size: 0.7rem;
}

.reading-section {
  background: var(--paper);
  color: #101216;
}

.reading-layout {
  display: grid;
  gap: 54px;
}

.reading-intro h2 {
  max-width: 720px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.45rem, 9vw, 4.7rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.reading-intro .body-copy {
  max-width: 650px;
  color: rgba(16, 18, 22, 0.65);
}

.reading-grid {
  display: grid;
  border-top: 1px solid rgba(16, 18, 22, 0.16);
}

.reading-card {
  position: relative;
  min-height: 300px;
  padding: 30px 4px 34px;
  border-bottom: 1px solid rgba(16, 18, 22, 0.16);
}

.reading-symbol {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 36px;
  border: 1px solid rgba(16, 18, 22, 0.24);
  border-radius: 50%;
  place-items: center;
  color: #76602f;
  font-family: var(--serif);
  font-size: 1.35rem;
}

.reading-card .card-meta {
  color: #76602f;
}

.reading-card h3 {
  max-width: 360px;
  margin: 10px 0 14px;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.reading-card > p:last-child {
  max-width: 420px;
  margin: 0;
  color: rgba(16, 18, 22, 0.62);
  font-size: 0.88rem;
  line-height: 1.72;
}

.reference-section {
  background:
    radial-gradient(circle at 50% 100%, rgba(51, 111, 157, 0.12), transparent 28%),
    #080a0e;
}

.harmonic-reference {
  display: grid;
  border-top: 1px solid rgba(198, 168, 95, 0.18);
}

.harmonic-mode {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  min-height: 104px;
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid rgba(198, 168, 95, 0.18);
}

.harmonic-mode span {
  color: rgba(218, 214, 205, 0.4);
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.harmonic-mode strong {
  color: rgba(238, 240, 239, 0.87);
  font-size: clamp(2.3rem, 12vw, 4.1rem);
  font-weight: 300;
  letter-spacing: -0.06em;
  line-height: 1;
}

.harmonic-mode em {
  color: var(--gold);
  font-style: normal;
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.harmonic-mode-primary strong {
  color: var(--resonance-blue-bright);
  text-shadow: 0 0 26px rgba(111, 167, 216, 0.25);
}

.reference-note {
  max-width: 760px;
  margin: 34px 0 0 auto;
  color: rgba(223, 220, 213, 0.52);
  font-size: 0.82rem;
  line-height: 1.75;
}

.meaning-section {
  position: relative;
  overflow: hidden;
  background: #0c1118;
}

.meaning-rings {
  position: absolute;
  width: 580px;
  height: 580px;
  border: 1px solid rgba(125, 177, 217, 0.07);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(125, 177, 217, 0.02),
    0 0 0 140px rgba(125, 177, 217, 0.012);
  pointer-events: none;
}

.meaning-rings-left {
  left: -500px;
  top: 18%;
}

.meaning-rings-right {
  right: -520px;
  bottom: 4%;
}

.meaning-layout {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 46px;
}

.meaning-copy h2 {
  max-width: 860px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.55rem, 9.5vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.048em;
  line-height: 0.98;
}

.meaning-copy > .body-copy {
  max-width: 760px;
  margin-left: auto;
  color: rgba(226, 229, 230, 0.64);
}

.evidence-grid {
  display: grid;
  margin-top: 54px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.evidence-grid article {
  padding: 27px 3px 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.evidence-grid span {
  color: var(--gold-bright);
  font-size: 0.57rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.evidence-grid h3 {
  max-width: 370px;
  margin: 15px 0 14px;
  font-family: var(--serif);
  font-size: 1.48rem;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.evidence-grid p {
  max-width: 390px;
  margin: 0;
  color: rgba(226, 229, 230, 0.52);
  font-size: 0.83rem;
  line-height: 1.7;
}

.meaning-quote {
  max-width: 780px;
  margin: 58px 0 0 auto;
  padding: 28px 0 0;
  border-top: 1px solid rgba(198, 168, 95, 0.26);
}

.meaning-quote p {
  margin: 0;
  color: rgba(240, 237, 230, 0.84);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 4.8vw, 2.15rem);
  letter-spacing: -0.025em;
  line-height: 1.4;
}

.meaning-quote cite {
  display: block;
  margin-top: 20px;
  color: var(--gold);
  font-style: normal;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sources-section {
  background: var(--paper);
  color: #101216;
}

.sources-layout {
  display: grid;
  gap: 48px;
}

.sources-layout h2 {
  max-width: 700px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.55rem, 9vw, 4.8rem);
  font-weight: 400;
  letter-spacing: -0.048em;
  line-height: 0.98;
}

.sources-list {
  border-top: 1px solid rgba(16, 18, 22, 0.16);
}

.sources-list a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 16px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(16, 18, 22, 0.16);
  transition: color 200ms ease, padding 260ms var(--ease);
}

.sources-list a:hover {
  padding-left: 8px;
  color: #76602f;
}

.sources-list span {
  grid-column: 1;
  color: #76602f;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sources-list strong {
  grid-column: 1;
  font-family: var(--serif);
  font-size: 1.14rem;
  font-weight: 400;
}

.sources-list i {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  font-style: normal;
}

.health-note {
  margin-top: 56px;
  padding: 22px 0;
  border-top: 1px solid rgba(16, 18, 22, 0.16);
  border-bottom: 1px solid rgba(16, 18, 22, 0.16);
}

.health-note p {
  max-width: 900px;
  margin: 0;
  color: rgba(16, 18, 22, 0.62);
  font-size: 0.77rem;
  line-height: 1.72;
}

.resonance-explore {
  background: #080a0e;
}

.resonance-noscript {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 500;
  padding: 18px;
  border: 1px solid var(--gold);
  background: #101318;
  color: var(--paper);
  font-size: 0.8rem;
}

.resonance-noscript p {
  margin: 0 0 8px;
}

.resonance-noscript a {
  color: var(--gold-bright);
  font-weight: 700;
}

@media (max-width: 519px) {
  .resonance-paths {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .resonance-paths .button {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    padding-inline: 14px;
    text-align: center;
  }
}

@media (min-width: 620px) {
  .resonance-hero {
    padding-bottom: 90px;
  }

  .resonance-hero-layout {
    gap: 62px;
  }

  .planetary-instrument {
    width: min(70vw, 500px);
  }

  .quick-start-steps,
  .today-measures {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .quick-start-steps li {
    display: block;
    min-height: 235px;
    padding: 28px 22px 30px;
    border-right: 1px solid rgba(16, 18, 22, 0.16);
  }

  .quick-start-steps li:first-child {
    padding-left: 2px;
  }

  .quick-start-steps li:last-child {
    padding-right: 2px;
    border-right: 0;
  }

  .quick-start-steps span,
  .quick-start-steps h3,
  .quick-start-steps p {
    display: block;
  }

  .quick-start-steps h3 {
    margin-top: 42px;
  }

  .reading-rule,
  .parameter-source-note {
    grid-template-columns: 120px minmax(0, 1fr);
    align-items: start;
  }

  .today-measures article {
    min-height: 260px;
    padding: 28px 24px 30px;
    border-right: 1px solid rgba(169, 216, 255, 0.14);
  }

  .today-measures article:first-child {
    padding-left: 2px;
  }

  .today-measures article:last-child {
    padding-right: 2px;
    border-right: 0;
  }

  .parameter-tabs button {
    min-height: 62px;
    padding-inline: 14px;
  }

  .parameter-tabs button span {
    display: inline;
    margin-right: 6px;
  }

  .parameter-toolbar {
    min-height: 72px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-inline: 22px;
  }

  .parameter-caption {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding-inline: 22px;
  }

  .parameter-caption > div {
    justify-content: flex-end;
  }

  .monitor-toolbar,
  .monitor-caption {
    padding-inline: 26px;
  }

  .spectrogram-stage {
    min-height: 340px;
  }

  .space-data-grid,
  .reading-grid,
  .evidence-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .space-data-card,
  .reading-card,
  .evidence-grid article {
    padding-right: 24px;
  }

  .space-data-card:nth-child(odd),
  .reading-card:nth-child(odd),
  .evidence-grid article:nth-child(odd) {
    border-right: 1px solid rgba(177, 211, 235, 0.14);
  }

  .reading-card:nth-child(odd) {
    border-right-color: rgba(16, 18, 22, 0.16);
  }

  .evidence-grid article:nth-child(odd) {
    border-right-color: rgba(255, 255, 255, 0.1);
  }

  .space-data-card:nth-child(even),
  .reading-card:nth-child(even),
  .evidence-grid article:nth-child(even) {
    padding-left: 24px;
  }

  .harmonic-reference {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .harmonic-mode {
    display: flex;
    min-height: 220px;
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 30px 18px;
    border-right: 1px solid rgba(198, 168, 95, 0.18);
  }

  .harmonic-mode:last-child {
    border-right: 0;
  }

  .harmonic-mode strong {
    font-size: clamp(2.1rem, 5.8vw, 3.65rem);
  }

  .sources-list a {
    grid-template-columns: 130px 1fr auto;
    align-items: center;
    padding-block: 24px;
  }

  .sources-list span,
  .sources-list strong,
  .sources-list i {
    grid-row: 1;
  }

  .sources-list span {
    grid-column: 1;
  }

  .sources-list strong {
    grid-column: 2;
  }

  .sources-list i {
    grid-column: 3;
  }
}

@media (min-width: 820px) {
  .resonance-hero-layout {
    grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
    gap: 24px;
  }

  .planetary-instrument {
    width: min(43vw, 520px);
  }

  .resonance-hero h1 {
    font-size: clamp(4.8rem, 9.2vw, 7rem);
  }

  .parameter-plot-scroll {
    min-height: 0;
    overflow-x: hidden;
  }

  .parameter-plot-scroll img {
    width: 100%;
    min-height: 0;
  }

  .parameter-mobile-hint {
    display: none;
  }

  .chart-lightbox-viewport img {
    width: min(1000px, 100%);
  }

  .monitor-caption {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .monitor-caption > div {
    justify-content: flex-end;
  }

  .monitor-limit {
    grid-template-columns: 110px 1fr;
    align-items: start;
  }

  .space-source {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .reading-layout {
    grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
    gap: 68px;
    align-items: start;
  }

  .reading-intro {
    position: sticky;
    top: calc(var(--header-height) + 38px);
  }

  .reading-intro h2 {
    font-size: clamp(3rem, 5vw, 4.5rem);
  }

  .meaning-layout {
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 52px;
  }

  .sources-layout {
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
    gap: 80px;
    align-items: start;
  }

  .sources-layout > div:first-child {
    position: sticky;
    top: calc(var(--header-height) + 38px);
  }
}

@media (min-width: 1024px) {
  .resonance-hero {
    min-height: 800px;
    padding-top: calc(var(--header-height) + 42px);
  }

  .resonance-hero-copy {
    padding-bottom: 24px;
  }

  .resonance-hero h1 {
    max-width: 680px;
    font-size: clamp(5.4rem, 8vw, 7.5rem);
  }

  .resonance-hero-lead {
    max-width: 590px;
  }

  .planetary-instrument {
    width: min(42vw, 560px);
  }

  .quick-start-layout {
    grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
    column-gap: 80px;
    align-items: start;
  }

  .quick-start-intro {
    position: sticky;
    top: calc(var(--header-height) + 38px);
  }

  .quick-start-intro h2 {
    font-size: clamp(3.2rem, 5vw, 4.75rem);
  }

  .quick-start-steps {
    grid-column: 2;
  }

  .reading-rule {
    grid-column: 1 / -1;
  }

  .resonance-scroll-cue {
    position: absolute;
    right: 34px;
    bottom: 42px;
    z-index: 4;
    display: flex;
    gap: 14px;
    align-items: center;
    color: rgba(224, 235, 242, 0.45);
    font-size: 0.57rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transform: rotate(90deg) translateX(-100%);
    transform-origin: right bottom;
  }

  .resonance-scroll-cue i {
    position: relative;
    display: block;
    width: 58px;
    height: 1px;
    overflow: hidden;
    background: rgba(169, 216, 255, 0.18);
  }

  .resonance-scroll-cue i::after {
    position: absolute;
    inset: 0;
    background: var(--resonance-blue-bright);
    content: "";
    animation: scroll-line 2.2s ease-in-out infinite;
  }

  .spectrogram-stage {
    min-height: 420px;
  }

  .space-data-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .space-data-card {
    min-height: 285px;
    padding: 32px 24px 30px;
    border-right: 1px solid rgba(177, 211, 235, 0.14);
  }

  .space-data-card:first-child {
    padding-left: 3px;
  }

  .space-data-card:last-child {
    padding-right: 3px;
    border-right: 0;
  }

  .space-data-card:nth-child(even) {
    padding-left: 24px;
  }

  .space-data-card > strong {
    font-size: clamp(3.3rem, 5vw, 4.45rem);
  }

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

  .reading-card {
    min-height: 350px;
    padding: 34px 28px 38px;
  }

  .reading-card:nth-child(odd) {
    padding-left: 3px;
  }

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

  .evidence-grid article {
    min-height: 278px;
    padding: 32px 28px 34px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }

  .evidence-grid article:first-child {
    padding-left: 3px;
  }

  .evidence-grid article:last-child {
    border-right: 0;
  }

  .evidence-grid article:nth-child(even) {
    padding-left: 28px;
  }

  .sources-layout {
    gap: 110px;
  }
}

@media (min-width: 1280px) {
  .resonance-hero-layout {
    grid-template-columns: minmax(0, 1.08fr) minmax(440px, 0.92fr);
    gap: 50px;
  }

  .planetary-instrument {
    width: 570px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .instrument-greek,
  .instrument-pulse i,
  .spectrogram-loading span::after,
  .parameter-loading span::after,
  .resonance-scroll-cue i::after {
    animation: none;
  }
}
