/* VI Map - shared styles for the pre-launch site. No external font requests. */
:root {
      color-scheme: dark;
      font-family: Inter, "Segoe UI", Roboto, Arial, ui-sans-serif, system-ui, sans-serif;
      -webkit-font-smoothing: antialiased;
    }
    * { box-sizing: border-box; }
    html, body { min-height: 100%; margin: 0; }
    body {
      min-height: 100svh;
      display: flex;
      align-items: center;
      justify-content: center;
      background: #100e19;
      color: #fff;
      overflow-x: hidden;
    }
    body::before {
      content: "";
      position: fixed;
      inset: 0;
      pointer-events: none;
      background:
        radial-gradient(ellipse at 78% 10%, #b24f7138, transparent 45%),
        radial-gradient(ellipse at 12% 90%, #6254a73d, transparent 50%),
        linear-gradient(140deg, #110e1b, #16111d 50%, #0b101a);
    }
    body::after {
      content: "";
      position: fixed;
      inset: 0;
      pointer-events: none;
      opacity: .12;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.15'/%3E%3C/svg%3E");
    }
    main {
      position: relative;
      z-index: 1;
      width: min(100%, 900px);
      padding: 56px clamp(18px, 5vw, 48px) 100px;
      text-align: center;
    }
    h1 {
      margin: 0;
      display: flex;
      align-items: baseline;
      justify-content: center;
      flex-wrap: nowrap;
      gap: .045em;
      font-size: clamp(2.15rem, 11vw, 7.35rem);
      font-weight: 900;
      letter-spacing: -.065em;
      line-height: 1.12;
      white-space: nowrap;
    }
    .brand {
      flex: 0 0 auto;
    }
    .brand span {
      display: inline-block;
      /* The negative heading tracking otherwise clips the right edge of the P. */
      letter-spacing: -.035em;
      padding-right: .12em;
      margin-right: -.08em;
      background: linear-gradient(100deg, #ffd0b4 4%, #ff8cb0 52%, #bd99ff);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }
    .tld {
      flex: 0 0 auto;
      font-size: .36em;
      letter-spacing: -.055em;
      color: #e3d0e3;
    }
    .rule {
      width: min(360px, 72%);
      height: 1px;
      margin: 36px auto 32px;
      background: linear-gradient(90deg, transparent, #e59bb9 50%, transparent);
    }
    .lead {
      margin: 0 auto 12px;
      font-size: clamp(1.05rem, 2.6vw, 1.25rem);
      font-weight: 700;
      line-height: 1.65;
      color: #fff;
    }
    .details {
      max-width: 650px;
      margin: 0 auto;
      font-size: clamp(.92rem, 2.2vw, 1rem);
      font-weight: 400;
      line-height: 1.9;
      color: #bfb6c9;
    }
    footer {
      position: fixed;
      z-index: 2;
      right: 12px;
      bottom: 24px;
      left: 12px;
      text-align: center;
      color: #91869d;
      font-size: 10px;
      font-weight: 500;
      letter-spacing: .18em;
      text-transform: uppercase;
    }
    @media (max-width: 400px) {
      h1 { font-size: 10.6vw; }
      .rule { margin: 30px auto 28px; }
    }
    @media (max-height: 530px) {
      main { padding-top: 28px; padding-bottom: 54px; }
      footer { position: absolute; bottom: 12px; }
    }
    @media (prefers-reduced-motion: no-preference) {
      main { animation: enter .85s ease-out both; }
      @keyframes enter {
        from { opacity: 0; transform: translateY(13px); }
        to { opacity: 1; transform: translateY(0); }
      }
    }

    /* Shared documentation and legal pages */
    a { color: #efbdd9; text-underline-offset: 3px; }
    a:hover { color: #fff; }
    a:focus-visible { outline: 2px solid #ffabd0; outline-offset: 5px; border-radius: 3px; }
    footer a { color: #c4b5d1; text-decoration: none; }
    footer a:hover, footer a:focus-visible { color: #fff; text-decoration: underline; }
    footer nav { display: inline-flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-left: 18px; }
    .document-page {
      display: flex;
      flex-direction: column;
      align-items: stretch;
      justify-content: flex-start;
      min-height: 100svh;
    }
    .document-page main {
      width: min(100%, 800px);
      max-width: none;
      margin: 0 auto;
      padding: 62px 24px 48px;
      text-align: left;
    }
    .document-page h1 { display: block; white-space: normal; font-size: clamp(2rem, 6vw, 3.2rem); letter-spacing: -.045em; line-height: 1.2; }
    .document-page h2 { margin: 30px 0 10px; font-size: 1.1rem; color: #fff; }
    .document-page p, .document-page li { font-size: .96rem; line-height: 1.8; color: #d1c6d9; }
    .document-page p { margin: 12px 0; }
    .document-page footer { position: relative; bottom: auto; padding: 0 16px 26px; line-height: 2.2; margin-top: auto; }
    .document-page .back { display: inline-block; margin-bottom: 32px; font-size: .9rem; font-weight: 700; }
    .document-page .muted { color: #afa3bc; }
    .not-found h1 { font-size: clamp(5rem, 18vw, 9rem); }
    .not-found .lead { margin: 22px auto 12px; }
    .not-found .details a { font-weight: 700; }
    @media (max-width: 600px) {
      footer nav { display: flex; margin: 4px auto 0; }
      .document-page main { padding-top: 42px; }
    }
