/* Days In Color - Under Construction placeholder */
:root {
  --c-red:#ff404c; --c-orange:#ff8e2e; --c-yellow:#ffd138;
  --c-green:#4ed870; --c-cyan:#34c6e0; --c-blue:#4c7ef6; --c-violet:#aa5cf2;
  --font-head:"Sora",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  --font-sans:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  --ease:cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: #f1f1f6;
  background: #06060b;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

/* subtle dot grid */
.grid-overlay {
  position: fixed; inset: 0; z-index: 1;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.stage {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
}

/* Logo stage: holds the glowing halo, floating orbs, and the wordmark */
.logo-stage {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  padding: clamp(22px, 4vw, 52px) clamp(40px, 8vw, 90px);
}

/* Floating colored marks that drift around the logo */
.orb-field { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.orb {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: orbIn 1s var(--ease) forwards, orbFloat 6s var(--ease) infinite;
}
.orb.dot  { box-shadow: 0 0 16px 1px currentColor; background: currentColor; }
.orb.ring { border: 4px solid currentColor; box-shadow: 0 0 16px rgba(255,255,255,.12); }
@keyframes orbIn    { to { opacity: 1; } }
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(var(--mx, 0), var(--my, -14px)); }
}

.orb.o1 { color: var(--c-red);    width: 18px; height: 18px; top: 6%;  left: 11%; --my: -16px; animation-delay: .3s, .3s; }
.orb.o2 { color: var(--c-cyan);   width: 30px; height: 30px; top: -4%; left: 31%; --mx: 8px; --my: -12px; animation-delay: .5s, 1.1s; }
.orb.o3 { color: var(--c-violet); width: 20px; height: 20px; top: 8%;  right: 9%;  --mx: -6px; --my: -14px; animation-delay: .9s, 1.6s; }
.orb.o4 { color: var(--c-orange); width: 32px; height: 32px; bottom: 2%; left: 9%;  --my: 14px; animation-delay: .6s, .9s; }
.orb.o5 { color: var(--c-blue);   width: 16px; height: 16px; bottom: 4%; right: 30%; --my: 15px; animation-delay: 1s, .4s; }

/* Floating tally marks: four upright strokes plus a fifth diagonal */
.tally {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 3px;
  color: var(--c-green);
  opacity: 0;
  filter: drop-shadow(0 0 6px currentColor);
  animation: orbIn 1s var(--ease) forwards, orbFloat 6.4s var(--ease) infinite;
}
.tally i {
  display: block;
  width: 3px;
  height: 21px;
  border-radius: 3px;
  background: currentColor;
}
.tally b {
  position: absolute;
  left: -4px; right: -4px;
  top: 50%;
  margin-top: -1.5px;
  height: 3px;
  border-radius: 3px;
  background: currentColor;
  transform: rotate(38deg);
}
.tally.t1 { color: var(--c-green);  top: 1%;  right: 28%; --mx: 5px;  --my: -15px; animation-delay: .7s, .6s; }
.tally.t2 { color: var(--c-yellow); bottom: -1%; left: 30%; --mx: 6px;  --my: 16px;  animation-delay: .8s, 1.3s; }
.tally.t3 { color: var(--c-violet); top: 40%; right: 1%;  --mx: -7px; --my: 10px;  animation-delay: .4s, 1.8s; }

/* Brand wordmark (the only provided graphic used) */
.con-wordmark {
  position: relative;
  z-index: 2;
  width: min(580px, 90vw);
  height: auto;
  filter: drop-shadow(0 18px 50px rgba(0,0,0,.6));
  opacity: 0;
  transform: translateY(16px) scale(.96);
  animation: rise 1.1s var(--ease) .15s forwards;
}
@keyframes rise { to { opacity: 1; transform: none; } }

.badge {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #cbd0e0;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  margin-bottom: 26px;
  opacity: 0; animation: rise 1s var(--ease) .05s forwards;
}

.con-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0 0 16px;
  opacity: 0; animation: rise 1.1s var(--ease) .3s forwards;
}
.con-title .shimmer {
  background: linear-gradient(90deg,
    var(--c-red), var(--c-orange), var(--c-yellow), var(--c-green),
    var(--c-cyan), var(--c-blue), var(--c-violet), var(--c-red));
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: flow 6s linear infinite;
}
@keyframes flow { to { background-position: 200% center; } }

.con-sub {
  max-width: 56ch;
  margin: 0 auto 30px;
  color: #aab0c2;
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.6;
  opacity: 0; animation: rise 1.1s var(--ease) .45s forwards;
}

/* Unique loader: tally marks written out one stroke at a time by a glowing
   nib, like counting the days until launch, then cleared and recounted. */
.loader {
  opacity: 0; animation: rise 1.1s var(--ease) .7s forwards;
}
.tally-loader {
  position: relative;
  display: inline-block;
}
.tally-count {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 18px);
  animation: tallyWrite 3.6s var(--ease) infinite;
}
.tally-count .tg {
  position: relative;
  display: flex;
  gap: 4px;
  color: var(--c, var(--c-cyan));
  filter: drop-shadow(0 0 7px currentColor);
}
.tally-count .tg i {
  display: block;
  width: 4px;
  height: 26px;
  border-radius: 3px;
  background: currentColor;
}
.tally-count .tg b {
  position: absolute;
  left: -5px; right: -5px;
  top: 50%;
  margin-top: -2px;
  height: 4px;
  border-radius: 3px;
  background: currentColor;
  transform: rotate(36deg);
}
/* Pure clip wipe: draw the strokes in from the left, hold, then erase them
   away from the left. Opacity never changes, and both hidden states are
   zero-width clips, so the loop seam cannot flash. */
@keyframes tallyWrite {
  0%   { clip-path: inset(-30% 100% -30% 0%); }   /* hidden (nothing revealed yet) */
  8%   { clip-path: inset(-30% 100% -30% 0%); }
  44%  { clip-path: inset(-30% 0% -30% 0%); }     /* fully drawn */
  62%  { clip-path: inset(-30% 0% -30% 0%); }     /* hold */
  92%  { clip-path: inset(-30% 0% -30% 100%); }   /* erased away to the left */
  100% { clip-path: inset(-30% 0% -30% 100%); }   /* stays empty until the loop */
}
/* glowing nib that rides the leading edge as the marks are drawn */
.tally-nib {
  position: absolute;
  top: 50%;
  left: 0;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, #fff, rgba(255,255,255,.85) 40%, rgba(255,255,255,0) 72%);
  box-shadow: 0 0 10px #fff, 0 0 22px rgba(255,255,255,.6);
  transform: translate(-50%, -50%);
  opacity: 0;
  animation: tallyNib 3.6s var(--ease) infinite;
}
@keyframes tallyNib {
  0%, 8%    { left: 0%;   opacity: 0; }
  14%       { opacity: 1; }
  44%       { left: 100%; opacity: 1; }   /* finishes the draw */
  49%       { left: 100%; opacity: 0; }
  49.01%    { left: 0%;   opacity: 0; }    /* jump back while invisible */
  62%       { left: 0%;   opacity: 0; }
  68%       { opacity: 1; }
  92%       { left: 100%; opacity: 1; }    /* leads the erase */
  96%, 100% { left: 100%; opacity: 0; }
}

.con-footer {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 22px 24px 28px;
  font-size: .85rem;
  color: #6f7488;
}
.con-footer a { color: #aab0c2; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.2); transition: color .2s; }
.con-footer a:hover { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  .con-wordmark, .badge, .con-title, .con-sub, .loader, .orb, .tally { opacity: 1 !important; }
  .con-wordmark, .badge, .con-title, .con-sub, .loader, .orb { transform: none !important; }
}
