:root {
      --bg: #050816;
      --bg-accent: #0b1120;
      --fg: #e5e7eb;
      --fg-soft: #9ca3af;
      --accent: #38bdf8;
      --accent-soft: #1d4ed8;
      --accent-warm: #f97316;
      --card-bg: #020617;
      --border-subtle: #1f2933;
      --shadow-soft: 0 24px 60px rgba(15, 23, 42, 0.9);
      --radius-xl: 24px;
    }

    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      min-height: 100vh;
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
                   "Segoe UI", sans-serif;
      color: var(--fg);
      background:
        radial-gradient(circle at top, rgba(56, 189, 248, 0.18), transparent 60%),
        radial-gradient(circle at bottom, rgba(249, 115, 22, 0.15), transparent 60%),
        radial-gradient(circle at 15% 80%, rgba(129, 140, 248, 0.24), transparent 55%),
        var(--bg);
      display: flex;
      align-items: stretch;
      justify-content: center;
      padding: 32px 16px;
    }

    .shell {
      width: 100%;
      max-width: 1080px;
      background: linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.94));
      border-radius: 32px;
      border: 1px solid rgba(148, 163, 184, 0.2);
      box-shadow: var(--shadow-soft);
      overflow: hidden;
      position: relative;
      isolation: isolate;
    }

    .shell::before {
      content: "";
      position: absolute;
      inset: -1px;
      border-radius: inherit;
      background:
        linear-gradient(135deg,
          rgba(56, 189, 248, 0.25),
          transparent 30%,
          rgba(249, 115, 22, 0.25),
          transparent 70%,
          rgba(94, 234, 212, 0.25));
      opacity: 0.35;
      pointer-events: none;
      mix-blend-mode: screen;
      z-index: -1;
    }

    header {
      padding: 28px 32px 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      border-bottom: 1px solid rgba(31, 41, 55, 0.9);
      background: radial-gradient(circle at top left, rgba(56,189,248,0.26), transparent 60%);
    }

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

    .brand-mark {
      width: 40px;
      height: 40px;
      border-radius: 999px;
      background:
        radial-gradient(circle at 30% 20%, rgba(248, 250, 252, 0.9), transparent 60%),
        conic-gradient(from 210deg,
          #38bdf8,
          #a855f7,
          #f97316,
          #22c55e,
          #38bdf8);
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow:
        0 0 36px rgba(56, 189, 248, 0.8),
        0 0 72px rgba(129, 140, 248, 0.6);
      position: relative;
      overflow: hidden;
    }

    .brand-mark-inner {
      width: 62%;
      height: 62%;
      border-radius: 999px;
      background: radial-gradient(circle at 30% 30%, #e0f2fe, #0f172a);
      position: relative;
      box-shadow: 0 0 24px rgba(15, 23, 42, 0.85) inset;
    }

    .brand-mark-orbit {
      position: absolute;
      inset: 20%;
      border-radius: 999px;
      border: 1px solid rgba(148, 163, 184, 0.45);
      border-top-color: rgba(248, 250, 252, 0.9);
      border-bottom-color: rgba(56, 189, 248, 0.65);
      animation: spin 18s linear infinite;
    }

    .brand-text-title {
      font-weight: 600;
      font-size: 1.05rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #e5e7eb;
    }

    .brand-text-sub {
      font-size: 0.8rem;
      color: var(--fg-soft);
      letter-spacing: 0.18em;
      text-transform: uppercase;
    }

    .tagline {
      font-size: 0.82rem;
      color: var(--fg-soft);
      text-align: right;
      max-width: 240px;
    }

    main {
      padding: 24px 28px 32px;
      display: grid;
      grid-template-columns: minmax(0, 3fr) minmax(0, 2.1fr);
      gap: 24px;
    }

    @media (max-width: 880px) {
      main {
        grid-template-columns: minmax(0, 1fr);
      }
      header {
        flex-direction: column;
        align-items: flex-start;
      }
      .tagline {
        text-align: left;
        max-width: none;
      }
    }

    .hero-card {
      background: radial-gradient(circle at 20% 0%, rgba(56, 189, 248, 0.2), transparent 65%),
                  radial-gradient(circle at 80% 120%, rgba(249, 115, 22, 0.18), transparent 60%),
                  var(--card-bg);
      border-radius: var(--radius-xl);
      padding: 24px 22px 22px;
      border: 1px solid rgba(31, 41, 55, 0.9);
      box-shadow: 0 20px 40px rgba(15, 23, 42, 0.8);
      position: relative;
      overflow: hidden;
    }

    .hero-chip-row {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 16px;
    }

    .chip {
      font-size: 0.7rem;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      padding: 6px 12px;
      border-radius: 999px;
      border: 1px solid rgba(148, 163, 184, 0.35);
      color: #cbd5f5;
      background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.7));
      display: inline-flex;
      align-items: center;
      gap: 6px;
      white-space: nowrap;
    }

    .chip-dot {
      width: 6px;
      height: 6px;
      border-radius: 999px;
      background: #22c55e;
      box-shadow: 0 0 10px rgba(34, 197, 94, 0.9);
    }

    .hero-heading {
      font-size: clamp(1.9rem, 2.4vw, 2.4rem);
      line-height: 1.15;
      font-weight: 680;
      letter-spacing: 0.03em;
      margin: 0 0 10px;
    }

    .hero-heading span {
      background: linear-gradient(120deg, #38bdf8, #a855f7, #f97316);
      -webkit-background-clip: text;
      color: transparent;
    }

    .hero-subtitle {
      font-size: 0.95rem;
      color: var(--fg-soft);
      max-width: 32rem;
      margin-bottom: 18px;
    }

    .hero-subtitle strong {
      color: #e5e7eb;
      font-weight: 500;
    }

    .hero-meta {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
      gap: 12px;
      font-size: 0.85rem;
      margin-bottom: 18px;
    }

    .hero-meta-item {
      padding: 10px 12px;
      border-radius: 16px;
      border: 1px solid rgba(31, 41, 55, 0.9);
      background: radial-gradient(circle at top, rgba(30,64,175,0.45), transparent 70%);
    }

    .meta-label {
      font-size: 0.72rem;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      color: #9ca3af;
      margin-bottom: 4px;
    }

    .meta-value {
      font-size: 0.9rem;
      color: #e5e7eb;
      font-weight: 500;
    }

    .hero-footer {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-top: 4px;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      align-items: center;
    }

    .btn-primary,
    .btn-ghost {
      font-size: 0.86rem;
      font-weight: 500;
      padding: 9px 16px;
      border-radius: 999px;
      border: 1px solid transparent;
      cursor: pointer;
      background: none;
      color: inherit;
      transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, border-color 0.12s ease;
    }

    .btn-primary {
      background: linear-gradient(135deg, #38bdf8, #0ea5e9);
      color: #020617;
      box-shadow:
        0 10px 25px rgba(56, 189, 248, 0.45),
        0 0 40px rgba(56, 189, 248, 0.7);
    }

    .btn-primary:hover {
      transform: translateY(-1px);
      box-shadow:
        0 16px 32px rgba(56, 189, 248, 0.55),
        0 0 52px rgba(56, 189, 248, 0.85);
    }

    .btn-ghost {
      border-color: rgba(148, 163, 184, 0.5);
      color: #e5e7eb;
      background: linear-gradient(120deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.8));
    }

    .btn-ghost:hover {
      background: radial-gradient(circle at top, rgba(56, 189, 248, 0.12), transparent 80%);
      transform: translateY(-1px);
    }

    .hero-footnote {
      font-size: 0.8rem;
      color: var(--fg-soft);
      max-width: 280px;
    }

    .hero-footnote strong {
      color: #e5e7eb;
      font-weight: 500;
    }

    /* Right-hand column */

    .side-column {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .card {
      background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.16), transparent 60%),
                  var(--bg-accent);
      border-radius: var(--radius-xl);
      padding: 18px 18px 16px;
      border: 1px solid rgba(31, 41, 55, 0.9);
      position: relative;
      overflow: hidden;
    }

    .card-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 10px;
    }

    .card-title {
      font-size: 0.92rem;
      font-weight: 550;
    }

    .card-tag {
      font-size: 0.7rem;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      color: #9ca3af;
      border-radius: 999px;
      padding: 4px 10px;
      background: rgba(15, 23, 42, 0.9);
      border: 1px solid rgba(55, 65, 81, 0.8);
    }

    .card-body {
      font-size: 0.82rem;
      color: var(--fg-soft);
      line-height: 1.45;
    }

    .card-body p {
      margin: 0 0 8px;
    }

    .card-body p:last-child {
      margin-bottom: 0;
    }

    .def-list {
      margin: 8px 0 0;
      padding: 0;
      list-style: none;
      border-radius: 14px;
      border: 1px solid rgba(31, 41, 55, 0.95);
      background: radial-gradient(circle at 100% 0, rgba(129, 140, 248, 0.2), transparent 65%);
    }

    .def-item {
      display: grid;
      grid-template-columns: 1.3fr 2fr;
      gap: 6px;
      padding: 7px 10px;
      font-size: 0.8rem;
      align-items: baseline;
    }

    .def-item:nth-child(odd) {
      background-color: rgba(15, 23, 42, 0.96);
    }

    .def-label {
      text-transform: uppercase;
      letter-spacing: 0.16em;
      color: #9ca3af;
      font-size: 0.72rem;
    }

    .def-value {
      color: #e5e7eb;
    }

    /* Dynamic MJD widget */

    .mjd-display {
      display: grid;
      grid-template-columns: 1.3fr 1.7fr;
      gap: 10px;
      margin-top: 6px;
      align-items: center;
    }

    .mjd-visual {
      border-radius: 18px;
      border: 1px solid rgba(31, 41, 55, 0.95);
      background:
        radial-gradient(circle at 20% 0%, rgba(56, 189, 248, 0.3), transparent 70%),
        radial-gradient(circle at 80% 120%, rgba(249, 115, 22, 0.35), transparent 70%),
        #020617;
      padding: 10px 12px 12px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    .mjd-visual-label {
      font-size: 0.7rem;
      text-transform: uppercase;
      letter-spacing: 0.18em;
      color: rgba(148, 163, 184, 0.95);
      margin-bottom: 4px;
    }

    .mjd-visual-value {
      font-size: 1.5rem;
      font-variant-numeric: tabular-nums;
      font-weight: 650;
      letter-spacing: 0.06em;
    }

    .mjd-visual-badge {
      margin-top: 4px;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 0.72rem;
      padding: 4px 9px;
      border-radius: 999px;
      background: rgba(15, 23, 42, 0.9);
      border: 1px solid rgba(148, 163, 184, 0.5);
    }

    .mjd-visual-dot {
      width: 7px;
      height: 7px;
      border-radius: 999px;
      background: #f97316;
      box-shadow: 0 0 12px rgba(249, 115, 22, 0.85);
    }

    .mjd-visual-orbit {
      position: absolute;
      inset: 18%;
      border-radius: 999px;
      border: 1px dashed rgba(148, 163, 184, 0.4);
      border-right-color: rgba(248, 250, 252, 0.9);
      opacity: 0.6;
      animation: spin 22s linear infinite;
    }

    .mjd-copy {
      font-size: 0.8rem;
      color: var(--fg-soft);
    }

    .mjd-copy code {
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
      font-size: 0.78rem;
      background: rgba(15, 23, 42, 0.9);
      padding: 1px 6px;
      border-radius: 999px;
      border: 1px solid rgba(31, 41, 55, 0.95);
      color: #e5e7eb;
    }

    .timeline {
      margin-top: 10px;
      border-radius: 14px;
      border: 1px solid rgba(31, 41, 55, 0.95);
      padding: 8px 10px 6px;
      font-size: 0.78rem;
      background: radial-gradient(circle at 0 10%, rgba(56, 189, 248, 0.22), transparent 70%);
    }

    .timeline-title {
      text-transform: uppercase;
      letter-spacing: 0.16em;
      color: #9ca3af;
      margin-bottom: 6px;
    }

    .timeline-row {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 3px;
    }

    .timeline-label {
      color: #e5e7eb;
    }

    .timeline-date {
      color: #9ca3af;
      font-variant-numeric: tabular-nums;
    }

    /* Micro confetti */

    .confetti {
      pointer-events: none;
      position: absolute;
      inset: 0;
      overflow: hidden;
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .confetti-piece {
      position: absolute;
      width: 7px;
      height: 7px;
      border-radius: 3px;
      background: #38bdf8;
      opacity: 0;
      animation: fall 1.6s ease-out forwards;
    }

    .confetti-piece:nth-child(3n) {
      background: #f97316;
    }

    .confetti-piece:nth-child(4n) {
      background: #a855f7;
    }

    .confetti-piece:nth-child(5n) {
      background: #22c55e;
    }

    @keyframes fall {
      0% {
        transform: translate3d(var(--x), -12px, 0) rotateZ(0deg);
        opacity: 0;
      }
      15% {
        opacity: 1;
      }
      100% {
        transform: translate3d(var(--x-end), 220px, 0) rotateZ(410deg);
        opacity: 0;
      }
    }

    @keyframes spin {
      to {
        transform: rotate(1turn);
      }
    }

    footer {
      padding: 0 28px 24px;
      font-size: 0.78rem;
      color: var(--fg-soft);
      display: flex;
      justify-content: space-between;
      gap: 12px;
      border-top: 1px solid rgba(15, 23, 42, 0.9);
      background: radial-gradient(circle at bottom right, rgba(15,23,42,0.9), rgba(2,6,23,1));
    }

    footer a {
      color: #38bdf8;
      text-decoration: none;
    }

    footer a:hover {
      text-decoration: underline;
    }

    .footer-right {
      text-align: right;
    }

    @media (max-width: 640px) {
      footer {
        flex-direction: column;
      }
      .footer-right {
        text-align: left;
      }
    }
