/* The coming-soon page (comingsoon.html). */
  :root {
    --navy: #0b2343;
    --navy-deep: #061528;
    --blue: #376da4;
    --sky: #669bd0;
    --mist: #c6ced8;
    --tile-1: #3f86d0;
    --tile-2: #7aa8dc;
    --tile-3: #a9c8ec;
    --text: #e8eef6;
    --muted: #9fb0c6;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html, body { height: 100%; }
  body {
    background: var(--navy-deep);
    color: var(--text);
    font-family: "Inter", system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  /* Background: soft glow + faint tile grid */
  .bg {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background:
      radial-gradient(60rem 40rem at 50% 35%, rgba(55,109,164,.35), transparent 70%),
      radial-gradient(40rem 30rem at 85% 90%, rgba(102,155,208,.12), transparent 70%),
      linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  }
  .bg::after {
    content: ""; position: absolute; inset: 0;
    background-image:
      linear-gradient(rgba(198,206,216,.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(198,206,216,.05) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
  }

  main {
    position: relative; z-index: 1;
    min-height: 100%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center;
    padding: 64px 16px 48px;
  }

  /* Logo mark — tiles assemble on load */
  .mark { width: clamp(120px, 22vw, 180px); height: auto; overflow: visible; }
  .mark path {
    opacity: 0;
    transform-box: fill-box; transform-origin: center;
    animation: assemble .9s cubic-bezier(.2,.8,.2,1) forwards;
  }
  .mark path:nth-child(1) { --dx: -40px; --dy: -30px; animation-delay: .05s; }
  .mark path:nth-child(2) { --dx: -50px; --dy:  30px; animation-delay: .15s; }
  .mark path:nth-child(3) { --dx:   0px; --dy:  45px; animation-delay: .25s; }
  .mark path:nth-child(4) { --dx:  10px; --dy: -45px; animation-delay: .35s; }
  .mark path:nth-child(5) { --dx:  40px; --dy: -30px; animation-delay: .45s; }
  .mark path:nth-child(6) { --dx:  50px; --dy:  30px; animation-delay: .55s; }
  @keyframes assemble {
    from { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(-8deg) scale(.85); }
    to   { opacity: 1; transform: none; }
  }

  .wordmark {
    margin-top: 28px;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: clamp(2rem, 6vw, 3.25rem);
    letter-spacing: .32em;
    margin-right: -.32em; /* optically center tracked text */
    color: #fff;
  }

  .fade { opacity: 0; animation: fadeUp .8s ease forwards; }
  @keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

  .badge {
    display: inline-flex; align-items: center; gap: 10px;
    margin-top: 36px;
    padding: 8px 16px;
    border: 1px solid rgba(169,200,236,.25);
    border-radius: 999px;
    background: rgba(11,35,67,.6);
    font-family: "Montserrat", sans-serif;
    font-size: .75rem; font-weight: 600;
    letter-spacing: .22em; text-transform: uppercase;
    color: var(--tile-3);
    animation-delay: .9s;
  }
  .badge .dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--tile-2);
    box-shadow: 0 0 0 0 rgba(122,168,220,.7);
    animation: pulse 2s infinite;
  }
  @keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(122,168,220,.6); }
    70%  { box-shadow: 0 0 0 10px rgba(122,168,220,0); }
    100% { box-shadow: 0 0 0 0 rgba(122,168,220,0); }
  }

  h1 {
    margin-top: 24px;
    max-width: 18ch;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: clamp(1.75rem, 4.6vw, 3rem);
    line-height: 1.15;
    letter-spacing: -.01em;
    animation-delay: 1.05s;
  }
  h1 .accent {
    background: linear-gradient(90deg, var(--tile-2), var(--tile-3));
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }

  .lede {
    margin-top: 18px;
    max-width: 38rem;
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.65;
    color: var(--muted);
    animation-delay: 1.2s;
  }

  .tagline {
    margin-top: 40px;
    display: flex; align-items: center; gap: 16px;
    font-family: "Montserrat", sans-serif;
    font-size: .8rem; font-weight: 500;
    letter-spacing: .28em; text-transform: uppercase;
    color: var(--tile-3);
    animation-delay: 1.35s;
  }
  .tagline::before, .tagline::after {
    content: ""; width: 48px; height: 1px; background: rgba(169,200,236,.35);
  }

  .features {
    margin-top: 56px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    width: 100%; max-width: 860px;
    animation-delay: 1.5s;
  }
  .feature {
    text-align: left;
    padding: 22px 20px;
    border: 1px solid rgba(198,206,216,.1);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(11,35,67,.75), rgba(6,21,40,.6));
  }
  .feature .swatch { display: flex; gap: 4px; margin-bottom: 14px; }
  .feature .swatch i { width: 14px; height: 6px; border-radius: 1px; }
  .feature h2 {
    font-family: "Montserrat", sans-serif;
    font-size: .95rem; font-weight: 600; color: #fff;
    margin-bottom: 6px;
  }
  .feature p { font-size: .875rem; line-height: 1.55; color: var(--muted); }

  footer {
    margin-top: 64px;
    font-size: .8rem; color: rgba(159,176,198,.7);
    animation-delay: 1.65s;
  }
  footer .legal { margin-top: 10px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }
  footer .legal a { color: rgba(169,200,236,.85); text-decoration: none; }
  footer .legal a:hover, footer .legal a:focus-visible { color: #fff; text-decoration: underline; }

  @media (max-width: 720px) {
    .features { grid-template-columns: 1fr; max-width: 420px; }
    .tagline { letter-spacing: .18em; font-size: .7rem; gap: 10px; }
    .tagline::before, .tagline::after { width: 24px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .mark path, .fade { animation: none; opacity: 1; }
    .badge .dot { animation: none; }
  }
