/* HydraClip waitlist: one page until launch. Same type and colours as the full site (caption Anton + caption yellow). */
@font-face { font-family: 'Inter'; src: url('/fonts/inter-var.woff2') format('woff2-variations'), url('/fonts/inter-var.woff2') format('woff2'); font-weight: 400 800; font-display: swap; }
@font-face { font-family: 'Anton'; src: url('/fonts/anton.woff2') format('woff2'); font-weight: 400; font-display: swap; }
:root { --bg: #070708; --fg: #fafafa; --fg-3: #a1a1aa; --fg-4: #8b8b94; --line: rgba(255, 255, 255, 0.08); --line-2: rgba(255, 255, 255, 0.14); --cap: #faff00; --ease-out: cubic-bezier(0.23, 1, 0.32, 1); --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1); }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); color-scheme: dark; }
body { min-height: 100svh; font-family: Inter, 'Segoe UI', system-ui, sans-serif; color: var(--fg); background: var(--bg) url('/grain.webp'); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }

.wl { min-height: 100svh; max-width: 980px; margin: 0 auto; padding: clamp(28px, 6vh, 64px) 24px 28px; display: grid; justify-items: center; align-content: center; gap: clamp(20px, 3.2vh, 30px); text-align: center; }

.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 750; letter-spacing: -0.02em; }
.brand .mark { width: 44px; height: 44px; color: var(--fg); }

.say { font-family: Anton, Impact, sans-serif; font-weight: 400; text-transform: uppercase; font-size: clamp(46px, 8vw, 104px); line-height: 0.98; letter-spacing: 0.005em; max-width: 11.5em; text-wrap: balance; }
.say em { font-style: normal; color: var(--cap); }
.say .w { display: inline-block; animation: say 0.62s var(--ease-out) calc(0.25s + var(--i) * 0.1s) both; }
@keyframes say { from { opacity: 0; transform: translateY(0.35em) scale(1.12); } 60% { opacity: 1; } to { opacity: 1; transform: none; } }

.lede { max-width: 640px; font-size: clamp(16px, 1.6vw, 18.5px); line-height: 1.6; color: var(--fg-3); text-wrap: pretty; }

.rise { animation: rise 0.9s var(--ease-out) var(--d, 0s) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* The countdown */
.launch { display: grid; gap: 16px; justify-items: center; }
.launch h2 { font-size: 15px; font-weight: 650; color: var(--fg-3); letter-spacing: 0.01em; }
.launch h2 b { color: var(--cap); font-weight: 750; }
.count { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 1.6vw, 16px); }
.unit { position: relative; width: clamp(74px, 13vw, 132px); padding: clamp(12px, 2vw, 18px) 6px clamp(10px, 1.6vw, 14px); border-radius: 16px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)); box-shadow: inset 0 0 0 1px var(--line-2), 0 24px 50px -30px rgba(0, 0, 0, 0.9); overflow: hidden; }
.unit::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, 0.45); }
.unit b { display: block; font-family: Anton, Impact, sans-serif; font-weight: 400; font-size: clamp(38px, 7vw, 76px); line-height: 1; font-variant-numeric: tabular-nums; color: var(--fg); }
.unit span { display: block; margin-top: 6px; font-size: 12.5px; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-4); }
.unit:last-child b { color: var(--cap); }
.unit b.tick { animation: tick 0.42s var(--ease-out); }
@keyframes tick { from { transform: translateY(-38%); opacity: 0; } to { transform: none; opacity: 1; } }
.live { font-size: 18px; font-weight: 700; color: var(--cap); }

/* The button */
.cta { display: grid; gap: 14px; justify-items: center; }
.btn { display: inline-flex; align-items: center; gap: 12px; height: 58px; padding: 0 28px; border-radius: 999px; background: var(--fg); color: #0b0b0c; font-size: 17px; font-weight: 750; letter-spacing: -0.01em; box-shadow: 0 0 0 0 rgba(250, 255, 0, 0); transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.2s; }
.btn svg { width: 22px; height: 22px; }
.btn:hover { background: var(--cap); transform: translateY(-2px); box-shadow: 0 12px 30px -12px rgba(250, 255, 0, 0.55); }
.btn:focus-visible { outline: 2px solid var(--cap); outline-offset: 4px; }
.note { max-width: 520px; font-size: 14.5px; line-height: 1.55; color: var(--fg-4); text-wrap: balance; }
.foot { font-size: 13px; color: #5c5c64; }

@media (max-width: 520px) {
  .count { gap: 6px; }
  .unit { width: 21vw; border-radius: 12px; }
  .unit span { font-size: 10.5px; letter-spacing: 0.04em; }
  .btn { height: 54px; padding: 0 22px; font-size: 16px; }
}

/* The mark in motion (same as the full site's header logo) */
/* ------------------------------------------------------------------ the mark in motion (ported from the app's HydraMark) */
.hydra { overflow: visible; fill: currentColor; }
.hydra g { transform-box: fill-box; }
.hydra .hm-body, .hydra .hm-center { transform-origin: 50% 100%; }
.hydra .hm-tail { transform-origin: 8% 85%; }
.hydra .hm-left { transform-origin: 95% 100%; }
.hydra .hm-right { transform-origin: 5% 100%; }
.hydra path { stroke: currentColor; stroke-width: 0; stroke-linejoin: round; }

/* Intro: the body draws itself, the centre head drops in, the side heads swing up, then all three rear back. */
.hydra.intro path { stroke-width: 0.32; stroke-dasharray: 1; stroke-dashoffset: 1; fill-opacity: 0; animation: hm-draw 0.7s var(--ease-in-out) var(--at, 0s) forwards, hm-fill 0.35s ease var(--fill-at, 0.42s) forwards, hm-unstroke 0.3s ease var(--unstroke-at, 0.7s) forwards; }
.hydra.intro .hm-body path { --at: 0s; --fill-at: 0.42s; --unstroke-at: 0.7s; }
.hydra.intro .hm-tail path { --at: 0.2s; --fill-at: 0.62s; --unstroke-at: 0.9s; }
.hydra.intro .hm-center path { --at: 0.36s; --fill-at: 0.78s; --unstroke-at: 1.06s; }
.hydra.intro .hm-left path { --at: 0.5s; --fill-at: 0.92s; --unstroke-at: 1.2s; }
.hydra.intro .hm-right path { --at: 0.58s; --fill-at: 1s; --unstroke-at: 1.28s; }
.hydra.intro .hm-center { opacity: 0; animation: hm-drop 1.12s linear 0.36s forwards; }
.hydra.intro .hm-left { opacity: 0; animation: hm-swing-l 0.95s linear 0.5s forwards; }
.hydra.intro .hm-right { opacity: 0; animation: hm-swing-r 0.87s linear 0.58s forwards; }
.hydra.intro .hm-tail { animation: hm-flick 1.55s ease-in-out forwards; }
@keyframes hm-draw { to { stroke-dashoffset: 0; } }
@keyframes hm-fill { to { fill-opacity: 1; } }
@keyframes hm-unstroke { to { stroke-width: 0; } }
@keyframes hm-drop {
  0% { opacity: 0; transform: translateY(-29%) scaleY(1.3); animation-timing-function: ease-in; }
  30% { opacity: 1; transform: translateY(3%) scaleY(0.84); animation-timing-function: ease-out; }
  46% { opacity: 1; transform: translateY(0) scaleY(1.03); animation-timing-function: ease-in-out; }
  68% { opacity: 1; transform: translateY(-6%) scaleY(1.08); animation-timing-function: ease-out; }
  100% { opacity: 1; transform: none; }
}
@keyframes hm-swing-l {
  0% { opacity: 0; transform: rotate(-58deg); animation-timing-function: ease-out; }
  36% { opacity: 1; transform: rotate(7deg); animation-timing-function: ease-in-out; }
  50% { opacity: 1; transform: rotate(-2deg); animation-timing-function: ease-in; }
  68% { opacity: 1; transform: rotate(-10deg); animation-timing-function: ease-out; }
  100% { opacity: 1; transform: none; }
}
@keyframes hm-swing-r {
  0% { opacity: 0; transform: rotate(58deg); animation-timing-function: ease-out; }
  36% { opacity: 1; transform: rotate(-7deg); animation-timing-function: ease-in-out; }
  50% { opacity: 1; transform: rotate(2deg); animation-timing-function: ease-in; }
  65% { opacity: 1; transform: rotate(10deg); animation-timing-function: ease-out; }
  100% { opacity: 1; transform: none; }
}
@keyframes hm-flick { 0%, 66% { transform: none; } 76% { transform: rotate(16deg); } 88% { transform: rotate(-6deg); } 100% { transform: none; } }

/* Strike: hovering the brand makes the heads lunge one after another. */
@keyframes hm-strike-l { 0%, 100% { transform: none; } 35% { transform: rotate(-14deg); } 65% { transform: rotate(4deg); } }
@keyframes hm-strike-r { 0%, 100% { transform: none; } 35% { transform: rotate(14deg); } 65% { transform: rotate(-4deg); } }
@keyframes hm-strike-c { 0%, 100% { transform: none; } 35% { transform: translateY(-9%) scaleY(1.09); } 65% { transform: translateY(2%) scaleY(0.95); } }
@keyframes hm-flick-s { 0%, 100% { transform: none; } 35% { transform: rotate(16deg); } 65% { transform: rotate(-6deg); } }

/* The glint that crosses the mark after the intro. */
.hydra .hm-glint { transform: translateX(-140%) skewX(-22deg); }
.hydra.intro .hm-glint { animation: hm-glint 0.75s var(--ease-in-out) 1.24s forwards; }
@keyframes hm-glint { from { transform: translateX(-140%) skewX(-22deg); } to { transform: translateX(260%) skewX(-22deg); } }

.hydra.strike .hm-left { animation: hm-strike-l 0.62s var(--ease-out); }
.hydra.strike .hm-center { animation: hm-strike-c 0.6s var(--ease-out) 0.07s; }
.hydra.strike .hm-right { animation: hm-strike-r 0.62s var(--ease-out) 0.14s; }
.hydra.strike .hm-tail { animation: hm-flick-s 0.7s var(--ease-out) 0.1s; }
