:root {
  --bg: #050608;
  --bg-elevated: #0c0f18;
  --panel: linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.98));
  --accent: #f6b756;
  --accent-soft: rgba(246, 183, 86, 0.14);
  --text: #f9fafb;
  --muted: #9ca3af;
  --border: rgba(148, 163, 184, 0.28);
  --border-strong: rgba(148, 163, 184, 0.42);
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.75);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-pill: 999px;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: radial-gradient(circle at top, #111827 0, #020617 46%, #000 100%);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimiseLegibility;
}

body {
  min-height: 100vh;
  padding: 32px 18px;
}

a {
  color: inherit;
}

code {
  font-family: var(--font-mono);
  font-size: 0.95em;
  padding: 0.12rem 0.42rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.38);
  color: #e5e7eb;
}

.shell {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

.panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

.panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(circle at top left, rgba(246, 183, 86, 0.14), transparent 58%);
  pointer-events: none;
}

.panel-inner {
  position: relative;
  z-index: 1;
  padding: 30px;
}

.tagline-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 7px 14px 7px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: radial-gradient(circle at top left, rgba(246, 183, 86, 0.12), rgba(15, 23, 42, 0.96));
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tag-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #fff8e7 0, rgba(255, 255, 255, 0.65) 20%, transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(246, 183, 86, 0.8) 0, rgba(246, 183, 86, 0.1) 55%, transparent 70%);
  box-shadow: 0 0 18px rgba(246, 183, 86, 0.6);
}

.hero {
  margin-top: 20px;
}

.hero-title {
  margin: 0;
  font-size: clamp(3rem, 7vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  font-weight: 720;
}

.hero-sub {
  margin: 14px 0 0;
  font-size: 1.08rem;
  color: #d1d5db;
  line-height: 1.5;
  max-width: 42rem;
}

.hero-sub strong {
  color: var(--text);
  font-weight: 600;
}

.status-line {
  margin-top: 18px;
  font-size: 0.98rem;
  color: var(--muted);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(15, 23, 42, 0.96);
  font-size: 0.84rem;
  color: var(--muted);
}

.foot {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(31, 41, 55, 0.95);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-size: 0.84rem;
  color: var(--muted);
}

.foot a {
  text-decoration: none;
  border-bottom: 1px dotted rgba(148, 163, 184, 0.7);
}

.foot a:hover {
  border-bottom-style: solid;
}

.visual-panel .panel-inner {
  padding: 20px 20px 16px;
}

.visual-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.visual-title {
  margin: 0;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.visual-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(15, 23, 42, 0.96);
  font-size: 0.76rem;
  color: var(--muted);
}

.visual-chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(246, 183, 86, 0.7);
}

.canvas-wrap {
  border-radius: 18px;
  border: 1px solid var(--border-strong);
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0.96), rgba(9, 12, 20, 0.98));
  overflow: hidden;
}

#auDO-observatory {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

.visual-note {
  margin: 12px 2px 0;
  font-size: 0.84rem;
  color: var(--muted);
}

@media (max-width: 640px) {
  body {
    padding: 22px 14px;
  }

  .panel-inner {
    padding: 24px 20px;
  }

  .hero-title {
    font-size: clamp(2.6rem, 14vw, 3.8rem);
  }

  .hero-sub {
    font-size: 1rem;
  }

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