/*
 * DiroChat holding page ("strona w budowie") for diro.chat.
 * Plain CSS, no build step, no JavaScript. Dark theme only.
 *
 * Token values are copied from apps/site/src/styles/_tokens.scss (dark-tokens)
 * so the page looks like the new site's hero: deep green brand band, Literata
 * display heading, Onest body, yellow Direct Line. Keep them in sync by hand.
 *
 * Motion contract (as in the site): the default CSS is the final frame.
 * Keyframes describe only the `from` side, everything runs once inside
 * `prefers-reduced-motion: no-preference`, and only transform / opacity
 * animate. Reduced motion shows the final state.
 *
 * Built by apps/site/scripts/build-holding.mjs into dist/apps/site-holding.
 */

/* ----------------------------------------------------------------- fonts */

/* Self-hosted variable fonts (SIL OFL), latin + latin-ext subsets only. */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src:
    url('/fonts/onest-latin-ext-wght-normal.woff2') format('woff2-variations'),
    url('/fonts/onest-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src:
    url('/fonts/onest-latin-wght-normal.woff2') format('woff2-variations'),
    url('/fonts/onest-latin-wght-normal.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Literata';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src:
    url('/fonts/literata-latin-ext-opsz-normal.woff2') format('woff2-variations'),
    url('/fonts/literata-latin-ext-opsz-normal.woff2') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Literata';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src:
    url('/fonts/literata-latin-opsz-normal.woff2') format('woff2-variations'),
    url('/fonts/literata-latin-opsz-normal.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Metric-matched local fallbacks (same values as the site's _fonts.scss). */
@font-face {
  font-family: 'Onest Fallback';
  src: local('Arial'), local('Helvetica Neue'), local('Roboto');
  size-adjust: 103%;
  ascent-override: 96%;
  descent-override: 25%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Literata Fallback';
  src: local('Georgia'), local('Times New Roman');
  size-adjust: 106%;
  ascent-override: 110%;
  descent-override: 29%;
  line-gap-override: 0%;
}

/* ---------------------------------------------------------------- tokens */

:root {
  color-scheme: dark;

  /* Brand (owner palette). */
  --green: #006341;
  --green-deep: #00452d;
  --yellow: #ffc72c;
  --yellow-hover: #ffd659;

  /* Dark theme (from dark-tokens). */
  --bg: #0b1611;
  --text: #e6efe9;
  --hero-bg: #003d28;
  --hero-text: #e6efe9;
  --hero-muted: #c9e8d5;
  --footer-bg: #0a1a12;
  --footer-text: #e6efe9;
  --footer-muted: #b8e6cc;
  --hairline: rgb(255 255 255 / 6%);
  --hero-glow:
    radial-gradient(900px 600px at 78% 28%, rgb(0 135 90 / 42%), transparent 62%),
    radial-gradient(600px 400px at 10% 110%, rgb(0 0 0 / 35%), transparent 70%);

  /* In-app mockup surfaces (dark). */
  --mock-bezel: #0f1a14;
  --mock-screen: #111f18;
  --mock-bar: #16271f;
  --mock-them: #1d3228;
  --mock-me: #006341;
  --mock-author-0: #6fd3a3;
  --mock-author-1: #ffc72c;

  --font-text: 'Onest', 'Onest Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Literata', 'Literata Fallback', Georgia, 'Times New Roman', serif;
  --gutter: 16px;
  --header-h: 64px;

  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.2, 0.8, 0.2, 1);
}

@supports (transition-timing-function: linear(0, 1)) {
  :root {
    --ease-spring: linear(0, 0.55 18%, 1.04 45%, 0.99 70%, 1);
  }
}

@media (min-width: 768px) {
  :root {
    --gutter: 20px;
  }
}

@media (min-width: 1024px) {
  :root {
    --gutter: 24px;
  }
}

/* ------------------------------------------------------------------ base */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--bg);
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-text);
  font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.125rem);
  line-height: 1.6;
  font-feature-settings: 'kern' 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

p,
h1,
address {
  margin: 0;
}

address {
  font-style: normal;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--yellow);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: #ffffff;
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--yellow);
  color: #10231a;
}

.container {
  width: 100%;
  max-width: calc(1200px + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ------------------------------------------------------ brand band (hero) */

.band {
  position: relative;
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  overflow: clip;
  background: var(--hero-glow), var(--hero-bg);
  color: var(--hero-text);
}

/* Fine yellow arc ending in a dot, as on the site's hero (decorative). */
.band {
  --arc-size: min(46vw, 640px);
}

.band::before {
  content: '';
  position: absolute;
  top: -240px;
  right: -14vw;
  width: var(--arc-size);
  aspect-ratio: 1;
  border: 1.5px solid rgb(255 199 44 / 38%);
  border-radius: 50%;
  mask-image: linear-gradient(to bottom, transparent 290px, #000000 360px);
  pointer-events: none;
}

/* The arc's end dot, drawn on its own so the arc's border-radius cannot clip
 * it into a half-disc. Centred on the ring at 45° (lower left): the ring's
 * centre is offset by 0.3536 × size on both axes. It rotates about the arc's
 * centre, so it moves with the arc's entrance. */
.band::after {
  --d: 8px;
  --off: calc(var(--arc-size) * 0.3536);
  content: '';
  position: absolute;
  top: calc(-240px + var(--arc-size) / 2 + var(--off) - var(--d) / 2);
  right: calc(-14vw + var(--arc-size) / 2 + var(--off) - var(--d) / 2);
  width: var(--d);
  height: var(--d);
  border-radius: 50%;
  background: var(--yellow);
  transform-origin: calc(var(--d) / 2 + var(--off)) calc(var(--d) / 2 - var(--off));
  pointer-events: none;
}

@media (max-width: 1023.98px) {
  .band::before,
  .band::after {
    display: none;
  }
}

.header {
  position: relative;
  z-index: 1;
}

.header__bar {
  display: flex;
  align-items: center;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--hero-text);
  font-size: 1.1875rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand:hover {
  color: var(--hero-text);
}

.brand__mark {
  display: inline-flex;
  flex: none;
  width: 36px;
  height: 30px;
  padding: 3px 4px;
  border-radius: 8px;
  background: #ffffff;
}

.brand__mark img {
  width: 100%;
  height: 100%;
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  flex: 1 0 auto;
  align-content: center;
  padding-block: clamp(16px, 0.25rem + 3vw, 56px) clamp(48px, 1.5rem + 3vw, 88px);
}

.hero__grid {
  display: grid;
  gap: clamp(28px, 1rem + 2vw, 40px);
}

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    grid-template-areas:
      'head signal'
      'body signal';
    column-gap: clamp(40px, 5vw, 88px);
    row-gap: 32px;
  }

  .hero__head {
    grid-area: head;
    align-self: end;
  }

  .hero__body {
    grid-area: body;
  }

  .signal {
    grid-area: signal;
    align-self: center;
  }
}

.eyebrow {
  color: var(--yellow);
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow__sep {
  padding-inline: 0.2em;
}

.display {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.25rem);
  font-optical-sizing: auto;
  font-weight: 440;
  line-height: 1.04;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

/* Two columns: the head column is narrower than the viewport suggests, so the
 * headline grows more slowly and stays on three lines (not four) at 1024 px. */
@media (min-width: 1024px) {
  .display {
    font-size: clamp(2.5rem, 1rem + 3.6vw, 4.25rem);
  }
}

.subtitle {
  margin-top: 18px;
  color: var(--hero-muted);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.75rem);
  font-optical-sizing: auto;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

/* Two languages, one rhythm: PL as the lead, EN quieter under a hairline. */
.copy {
  max-width: 60ch;
}

.copy__pl {
  color: var(--hero-text);
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.6;
  text-wrap: pretty;
}

.copy__en {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgb(255 255 255 / 12%);
  color: var(--hero-muted);
  font-size: 1rem;
  line-height: 1.6;
  text-wrap: pretty;
}

.contact {
  margin-top: clamp(28px, 1.25rem + 1vw, 36px);
}

.contact__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: 12px;
}

.contact__label {
  color: var(--hero-muted);
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  min-height: 52px;
  padding: 12px 26px 12px 22px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--green-deep);
  font-size: 1.0625rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  overflow-wrap: anywhere;
  box-shadow: 0 10px 30px -12px rgb(0 0 0 / 55%);
  transition:
    background-color 160ms var(--ease-out),
    transform 90ms var(--ease-out);
}

.btn:hover {
  background: var(--yellow-hover);
  color: var(--green-deep);
}

.btn:active {
  transform: scale(0.97);
}

.nowrap {
  white-space: nowrap;
}

.btn__icon {
  flex: none;
  width: 1.2em;
  height: 1.2em;
}

.contact__investors {
  color: var(--hero-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.contact__investors a {
  display: inline-block;
  padding-block: 4px;
  overflow-wrap: anywhere;
}

/* ------------------------------------------------- signature: Direct Line */

/*
 * Two phones, one line. A message bubble appears on the left phone, the
 * Direct Line draws between them, a packet travels it, the end dot answers
 * and the message lands on the right phone. ~2.4 s, once, then it rests.
 */
.signal {
  --pw: 76px; /* phone width; height is 2 × width */
  position: relative;
  display: grid;
  justify-items: center;
  gap: 18px;
  min-width: 0;
}

@media (min-width: 400px) {
  .signal {
    --pw: 86px;
  }
}

@media (min-width: 640px) {
  .signal {
    --pw: 112px;
  }
}

@media (min-width: 1024px) {
  .signal {
    --pw: 128px;
  }
}

@media (min-width: 1280px) {
  .signal {
    --pw: 148px;
  }
}

/* Soft light behind the stage, so the phones sit in the band, not on it. */
.signal::before {
  content: '';
  position: absolute;
  inset: -12% -6%;
  z-index: -1;
  background: radial-gradient(closest-side, rgb(76 195 138 / 16%), transparent);
  pointer-events: none;
}

.signal__stage {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: calc(var(--pw) * 3.9);
}

.phone {
  position: relative;
  flex: none;
  width: var(--pw);
  height: calc(var(--pw) * 2);
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: calc(var(--pw) * 0.2);
  background: var(--mock-bezel);
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 4%),
    0 36px 70px -28px rgb(0 0 0 / 75%);
}

/* The screen. */
.phone::before {
  content: '';
  position: absolute;
  inset: calc(var(--pw) * 0.045);
  border-radius: calc(var(--pw) * 0.16);
  background: linear-gradient(180deg, var(--mock-bar) 0 17%, var(--mock-screen) 17%);
}

/* The composer. */
.phone::after {
  content: '';
  position: absolute;
  right: 11%;
  bottom: calc(var(--pw) * 0.13);
  left: 11%;
  height: calc(var(--pw) * 0.15);
  border-radius: 999px;
  background: var(--mock-bar);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 5%);
}

.phone__notch {
  position: absolute;
  top: calc(var(--pw) * 0.085);
  left: 50%;
  width: 32%;
  height: calc(var(--pw) * 0.075);
  margin-left: -16%;
  border-radius: 999px;
  background: var(--mock-bezel);
}

/* Contact header: who you are talking to (a different person on each phone). */
.phone__head {
  position: absolute;
  top: calc(var(--pw) * 0.2);
  left: 13%;
  display: flex;
  align-items: center;
  gap: calc(var(--pw) * 0.06);
  width: 74%;
}

.phone__avatar {
  flex: none;
  width: calc(var(--pw) * 0.13);
  height: calc(var(--pw) * 0.13);
  border-radius: 50%;
  background: var(--mock-author-0);
}

.phone--to .phone__avatar {
  background: var(--mock-author-1);
}

.phone__name {
  width: 52%;
  height: calc(var(--pw) * 0.045);
  border-radius: 999px;
  background: rgb(230 239 233 / 32%);
}

.phone--to .phone__name {
  width: 40%;
}

/* Message bubbles, each with one quiet line of "text". */
.phone__row {
  position: absolute;
  height: calc(var(--pw) * 0.17);
  border-radius: calc(var(--pw) * 0.07);
  background: var(--mock-them);
}

.phone__row::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 14%;
  width: 58%;
  height: calc(var(--pw) * 0.034);
  margin-top: calc(var(--pw) * -0.017);
  border-radius: 999px;
  background: rgb(230 239 233 / 26%);
}

.phone__row--me::before {
  background: rgb(255 255 255 / 42%);
}

.phone__row--short::before {
  width: 46%;
}

.phone__row--them {
  left: 11%;
  width: 62%;
  border-bottom-left-radius: calc(var(--pw) * 0.025);
}

.phone__row--me {
  right: 11%;
  width: 58%;
  background: var(--mock-me);
  border-bottom-right-radius: calc(var(--pw) * 0.025);
}

.phone__row--short {
  width: 44%;
}

.phone__row--1 {
  top: 24%;
}

.phone__row--2 {
  top: 35%;
}

/* The bubble the line starts from / arrives at sits on the line's height. */
.phone__row--3 {
  top: calc(50% - var(--pw) * 0.085);
}

.phone__row--sent,
.phone__row--received {
  width: 64%;
}

/* The delivered message: a filled bubble. On arrival a short yellow glow
 * flares and fades (opacity only); at rest it is just a message. */
.phone__row--received::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow:
    0 0 0 1.5px rgb(255 199 44 / 70%),
    0 0 16px 2px rgb(255 199 44 / 40%);
  opacity: 0;
  pointer-events: none;
}

.line {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-width: 56px;
  height: 14px;
  margin-inline: -7px;
  color: var(--yellow);
  container-type: inline-size;
}

.line__bar {
  position: absolute;
  top: 50%;
  right: 7px;
  left: 7px;
  height: 3px;
  margin-top: -1.5px;
  border-radius: 3px;
  background: currentColor;
  transform-origin: left center;
}

.line__dot {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgb(255 199 44 / 25%);
}

.line__dot--start {
  left: 0;
}

.line__dot--end {
  right: 0;
}

/* Transient: visible only while it travels. */
.line__packet {
  position: absolute;
  top: 50%;
  left: 2px;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-radius: 50%;
  background: #fff3c4;
  box-shadow:
    0 0 0 4px rgb(255 199 44 / 35%),
    0 0 18px 4px rgb(255 199 44 / 45%);
  opacity: 0;
  pointer-events: none;
}

.signal__caption {
  color: var(--hero-muted);
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
}

/* ---------------------------------------------------------------- footer */

.footer {
  position: relative;
  flex: none;
  padding-block: 40px 32px;
  background: var(--footer-bg);
  color: var(--footer-text);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Top edge signature: a yellow line from the left edge, ending in a dot. */
.footer::before,
.footer::after {
  content: '';
  position: absolute;
  pointer-events: none;
}

.footer::before {
  top: -1px;
  right: max(var(--gutter), calc((100% - 1200px) / 2));
  left: 0;
  height: 1px;
  background: var(--yellow);
  opacity: 0.6;
}

.footer::after {
  top: -3.5px;
  right: calc(max(var(--gutter), calc((100% - 1200px) / 2)) - 3px);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
}

.footer__grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    gap: 48px;
  }
}

.footer .brand,
.footer .brand:hover {
  color: var(--footer-text);
}

.footer__note {
  margin-top: 12px;
  color: var(--footer-muted);
}

.footer__note-en {
  display: block;
}

.imprint {
  display: grid;
  gap: 2px;
  color: var(--footer-muted);
  overflow-wrap: anywhere;
}

.imprint__name {
  color: var(--footer-text);
}

.imprint__ids {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.25em;
}

@media (min-width: 1024px) {
  .imprint {
    justify-items: end;
    text-align: right;
  }

  .imprint__ids {
    justify-content: flex-end;
  }
}

/* ---------------------------------------------------------------- motion */

@media (prefers-reduced-motion: no-preference) {
  /* Text: a short rise. The H1 never fades (it is the LCP element). */
  .eyebrow,
  .subtitle,
  .hero__body {
    animation: rise 560ms var(--ease-out) both;
  }

  .display {
    animation: rise-title 560ms var(--ease-out) 60ms both;
  }

  .subtitle {
    animation-delay: 120ms;
  }

  .hero__body {
    animation-delay: 200ms;
  }

  .signal__caption {
    animation: fade 500ms var(--ease-out) 300ms both;
  }

  /* The story. */
  .phone--from {
    animation: rise-phone 600ms var(--ease-out) 0ms both;
  }

  .phone--to {
    animation: rise-phone 600ms var(--ease-out) 120ms both;
  }

  .phone__row--sent {
    transform-origin: 100% 100%;
    animation: pop 320ms var(--ease-spring) 450ms both;
  }

  .line__dot--start {
    animation: dot-pop 200ms var(--ease-out) 700ms both;
  }

  .line__bar {
    animation: draw 520ms var(--ease-in-out) 760ms both;
  }

  .line__dot--end {
    animation:
      dot-pop 160ms var(--ease-out) 1130ms both,
      dot-pulse 320ms var(--ease-out) 1950ms none;
  }

  .line__packet {
    animation: travel 650ms var(--ease-in-out) 1300ms both;
  }

  .phone__row--received {
    transform-origin: 0% 100%;
    animation: pop 340ms var(--ease-spring) 2020ms both;
  }

  .phone__row--received::after {
    animation: arrive-glow 1400ms var(--ease-in-out) 2020ms both;
  }

  .band::before,
  .band::after {
    animation: arc-in 900ms var(--ease-out) 200ms both;
  }

  .footer::before {
    transform-origin: left center;
    animation: draw 700ms var(--ease-in-out) 300ms both;
  }

  .footer::after {
    animation: dot-pop 260ms var(--ease-out) 920ms both;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }

  .btn:active {
    transform: none;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

@keyframes rise-title {
  from {
    transform: translateY(8px);
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }
}

@keyframes rise-phone {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
}

@keyframes draw {
  from {
    transform: scaleX(0);
  }
}

@keyframes dot-pop {
  from {
    opacity: 0;
    transform: scale(0);
  }
}

@keyframes dot-pulse {
  50% {
    transform: scale(1.45);
  }
}

@keyframes travel {
  0% {
    opacity: 0;
    transform: translateX(0) scale(0.6);
  }

  12% {
    opacity: 1;
    transform: translateX(calc(0.12 * (100cqi - 14px))) scale(1);
  }

  88% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateX(calc(100cqi - 14px)) scale(0.4);
  }
}

@keyframes arrive-glow {
  0% {
    opacity: 0;
  }

  25% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes arc-in {
  from {
    opacity: 0;
    transform: rotate(-10deg);
  }
}
