:root {
      color-scheme: dark;
      --bg: #202326;
      --bg-deep: #151719;
      --ink: #f1f5f4;
      --muted: #9ca6a7;
      --teal: #49e0ca;
      --teal-bright: #75f6df;
      --panel: rgba(7, 10, 11, .61);
      --ease: cubic-bezier(.2, .75, .25, 1);
    }

    * { box-sizing: border-box; }
    html { min-height: 100%; background: var(--bg); }
    body {
      margin: 0;
      min-height: 100svh;
      display: grid;
      place-items: center;
      overflow: hidden;
      isolation: isolate;
      padding: clamp(18px, 4vw, 44px);
      color: var(--ink);
      background:
        radial-gradient(ellipse at 50% 46%, rgba(67, 81, 81, .28), transparent 43%),
        linear-gradient(135deg, #25282b 0%, #1d2022 48%, #25282b 100%);
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
    }

    /* Slowly drifting ambient light on the anthracite canvas. */
    .ambient {
      position: fixed;
      z-index: -2;
      inset: -28%;
      pointer-events: none;
      background:
        radial-gradient(ellipse at 28% 38%, rgba(74, 224, 202, .075), transparent 24%),
        radial-gradient(ellipse at 73% 64%, rgba(115, 128, 133, .12), transparent 27%),
        radial-gradient(ellipse at 52% 18%, rgba(0, 0, 0, .34), transparent 38%);
      filter: blur(32px);
      animation: ambient-drift 19s ease-in-out infinite alternate;
      transform: translate3d(0, 0, 0);
    }

    .grain {
      position: fixed;
      z-index: -1;
      inset: 0;
      pointer-events: none;
      opacity: .13;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.21'/%3E%3C/svg%3E");
      mix-blend-mode: soft-light;
    }

    .page {
      width: min(100%, 880px);
      perspective: 1000px;
    }

    .glass-card {
      --tilt-x: 0deg;
      --tilt-y: 0deg;
      position: relative;
      display: flex;
      min-height: min(690px, calc(100svh - 48px));
      flex-direction: column;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      padding: clamp(36px, 7vw, 76px) clamp(22px, 6vw, 64px);
      border: 1px solid rgba(255, 255, 255, .085);
      border-radius: clamp(25px, 4vw, 38px);
      background:
        radial-gradient(ellipse at 50% 25%, rgba(255, 255, 255, .035), transparent 54%),
        linear-gradient(145deg, rgba(12, 15, 16, .78), rgba(4, 6, 7, .66) 58%, rgba(18, 23, 24, .75));
      box-shadow:
        0 40px 110px rgba(0, 0, 0, .38),
        0 8px 30px rgba(0, 0, 0, .22),
        inset 0 1px 0 rgba(255, 255, 255, .055),
        inset 0 0 80px rgba(0, 0, 0, .22);
      -webkit-backdrop-filter: blur(26px) saturate(125%);
      backdrop-filter: blur(26px) saturate(125%);
      transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
      transform-style: preserve-3d;
      transition: transform 450ms var(--ease), border-color 450ms ease, box-shadow 450ms ease;
      animation: card-arrive 1.1s var(--ease) both;
    }

    .glass-card::before,
    .glass-card::after {
      content: "";
      position: absolute;
      pointer-events: none;
    }
    .glass-card::before {
      inset: 0;
      border-radius: inherit;
      padding: 1px;
      background: linear-gradient(135deg, rgba(255,255,255,.16), transparent 24%, transparent 69%, rgba(73,224,202,.12));
      -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
      -webkit-mask-composite: xor;
      mask-composite: exclude;
    }
    .glass-card::after {
      width: 68%;
      height: 1px;
      top: 0;
      left: 16%;
      opacity: .45;
      background: linear-gradient(90deg, transparent, rgba(210, 255, 248, .52), transparent);
      filter: blur(.4px);
    }

    .corner-mark {
      position: absolute;
      top: clamp(20px, 4vw, 34px);
      left: clamp(20px, 4vw, 34px);
      display: flex;
      align-items: center;
      gap: 9px;
      color: rgba(220, 232, 231, .52);
      font-size: 10px;
      font-weight: 650;
      letter-spacing: .2em;
      text-transform: uppercase;
    }
    .corner-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--teal);
      box-shadow: 0 0 12px rgba(73, 224, 202, .55);
      animation: status-pulse 2.8s ease-in-out infinite;
    }

    .brand-lockup {
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 100%;
      transform: translateZ(36px);
    }

    .emblem-wrap {
      position: relative;
      width: clamp(118px, 22vw, 174px);
      aspect-ratio: 1 / .9;
      margin-bottom: clamp(14px, 2.5vw, 23px);
      display: grid;
      place-items: center;
      isolation: isolate;
    }
    .emblem-halo {
      position: absolute;
      width: 112%;
      height: 112%;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(49, 223, 197, .17), rgba(49, 223, 197, .035) 38%, transparent 68%);
      filter: blur(12px);
      animation: halo-breathe 5s ease-in-out infinite;
    }
    .bolt-shadow {
      position: absolute;
      width: 100%;
      height: 100%;
      overflow: visible;
      transform: translate(10px, 8px) scale(.99);
      filter: drop-shadow(0 3px 7px rgba(0, 0, 0, .4));
      opacity: .83;
    }
    .bolt-front {
      position: relative;
      width: 100%;
      height: 100%;
      overflow: visible;
      filter: drop-shadow(0 0 13px rgba(73, 224, 202, .22));
      animation: bolt-float 6s ease-in-out infinite;
    }

    .wordmark {
      margin: 0;
      padding-left: .16em;
      color: #f4f8f7;
      font-size: clamp(42px, 10vw, 83px);
      font-weight: 780;
      line-height: .98;
      letter-spacing: .16em;
      text-indent: .16em;
      text-align: center;
      text-shadow: 0 3px 30px rgba(255, 255, 255, .065);
    }
    .wordmark span { color: var(--teal); }
    .wordmark-rule {
      width: clamp(55px, 10vw, 80px);
      height: 2px;
      margin-top: 25px;
      border-radius: 10px;
      background: linear-gradient(90deg, transparent, var(--teal), transparent);
      box-shadow: 0 0 17px rgba(73, 224, 202, .35);
    }

    .message {
      margin-top: clamp(30px, 5vw, 43px);
      text-align: center;
      transform: translateZ(22px);
      animation: fade-up .95s .25s var(--ease) both;
    }
    .eyebrow {
      margin: 0 0 13px;
      color: var(--teal);
      font-size: clamp(10px, 1.8vw, 12px);
      font-weight: 720;
      letter-spacing: .27em;
      text-transform: uppercase;
    }
    .headline {
      margin: 0;
      color: #f0f3f2;
      font-size: clamp(20px, 4.2vw, 31px);
      font-weight: 560;
      line-height: 1.25;
      letter-spacing: -.035em;
    }
    .subline {
      max-width: 360px;
      margin: 13px auto 0;
      color: var(--muted);
      font-size: clamp(13px, 2vw, 15px);
      font-weight: 400;
      line-height: 1.7;
    }

    .bottom-note {
      position: absolute;
      right: clamp(20px, 4vw, 34px);
      bottom: clamp(20px, 4vw, 32px);
      left: clamp(20px, 4vw, 34px);
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      color: rgba(191, 203, 202, .42);
      font-size: 9px;
      font-weight: 600;
      letter-spacing: .2em;
      text-align: center;
      text-transform: uppercase;
    }
    .bottom-note::before,
    .bottom-note::after {
      content: "";
      width: min(60px, 12vw);
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(191, 203, 202, .22));
    }
    .bottom-note::after { transform: scaleX(-1); }

    @keyframes ambient-drift {
      from { transform: translate3d(-1.5%, -1%, 0) rotate(-2deg) scale(1); }
      to { transform: translate3d(2%, 1.5%, 0) rotate(2deg) scale(1.06); }
    }
    @keyframes card-arrive {
      from { opacity: 0; transform: translateY(18px) scale(.985); }
      to { opacity: 1; transform: translateY(0) scale(1); }
    }
    @keyframes status-pulse {
      0%, 100% { opacity: .7; box-shadow: 0 0 8px rgba(73,224,202,.35); }
      50% { opacity: 1; box-shadow: 0 0 15px rgba(73,224,202,.75); }
    }
    @keyframes halo-breathe {
      0%, 100% { opacity: .62; transform: scale(.94); }
      50% { opacity: 1; transform: scale(1.08); }
    }
    @keyframes bolt-float {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-3px); }
    }
    @keyframes fade-up {
      from { opacity: 0; transform: translateY(10px) translateZ(22px); }
      to { opacity: 1; transform: translateY(0) translateZ(22px); }
    }

    @media (max-width: 520px) {
      body { padding: 14px; }
      .glass-card {
        min-height: min(650px, calc(100svh - 28px));
        padding: 70px 20px 76px;
        border-radius: 26px;
      }
      .corner-mark { top: 20px; left: 20px; font-size: 9px; }
      .emblem-wrap { width: clamp(110px, 32vw, 145px); margin-bottom: 17px; }
      .wordmark { font-size: clamp(38px, 11vw, 56px); letter-spacing: .12em; text-indent: .12em; }
      .wordmark-rule { margin-top: 20px; }
      .message { margin-top: 29px; }
      .subline { max-width: 280px; }
      .bottom-note { font-size: 8px; letter-spacing: .13em; }
    }

    @media (max-height: 600px) and (min-width: 521px) {
      body { padding: 10px 18px; }
      .glass-card { min-height: calc(100svh - 24px); padding-top: 34px; padding-bottom: 40px; }
      .emblem-wrap { width: 108px; margin-bottom: 7px; }
      .wordmark { font-size: 49px; }
      .wordmark-rule { margin-top: 14px; }
      .message { margin-top: 20px; }
      .subline { margin-top: 8px; }
    }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
      }
      .glass-card { transform: none !important; }
    }
