/* DaMatch coming soon. Self-hosted fonts (no Google Fonts CDN), no scripts. */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("fonts/bricolage-grotesque-latin-ext-wght-normal.woff2") format("woff2-variations");
  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: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2-variations");
  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: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2") format("woff2-variations");
  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: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2-variations");
  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: "JetBrains Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url("fonts/jetbrains-mono-latin-ext-wght-normal.woff2") format("woff2-variations");
  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: "JetBrains Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url("fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2-variations");
  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;
}

:root {
  color-scheme: dark;
  --bg: #0b0c10;
  --fg: #f1f1f4;
  --fg-2: #b4b5bf;
  --fg-3: #80818c;
  --line: rgba(255, 255, 255, .08);
  --ember: #ff5500;
  --ember-soft: #ff8533;
  --turq: #2ecacb;
  --f-display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  color: var(--fg);
  font: 15px/1.55 var(--f-body);
  background:
    radial-gradient(60% 50% at 30% 30%, rgba(255, 85, 0, .20), transparent 70%),
    radial-gradient(50% 45% at 75% 70%, rgba(46, 202, 203, .12), transparent 70%),
    var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

/* Landing */
.stage {
  flex: 1;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 48px 16px 24px;
}
.inner { display: grid; justify-items: center; gap: 22px; }
.spin { width: clamp(120px, 22vw, 180px); aspect-ratio: 1; display: block; }
.name {
  margin: 0;
  font: 800 clamp(44px, 8vw, 84px)/.95 var(--f-display);
  letter-spacing: -.035em;
}
.soon {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 600 13px/1 var(--f-mono);
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.soon::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--ember);
  box-shadow: 0 0 12px var(--ember);
  animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink { 50% { opacity: .35; } }

/* The logo spinner ("Zentrifuge"): one 2.6 s cycle, two cycles make a seamless 5.2 s loop. */
.ld-spin, .ld-j, .ld-l { transform-box: view-box; transform-origin: 50px 50px; }
.ld-spin { animation: ld-spin 5.2s linear infinite; }
.ld-j { animation: ld-j 5.2s linear infinite; }
.ld-l { animation: ld-l 5.2s linear infinite; }
@keyframes ld-spin {
  0% { rotate: 0deg; animation-timing-function: linear; }
  5% { rotate: 0deg; animation-timing-function: ease-out; }
  12% { rotate: -28deg; animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
  33% { rotate: 900deg; animation-timing-function: linear; }
  50% { rotate: 900deg; animation-timing-function: linear; }
  55% { rotate: 900deg; animation-timing-function: ease-out; }
  62% { rotate: 872deg; animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
  83% { rotate: 1800deg; animation-timing-function: linear; }
  100% { rotate: 1800deg; }
}
@keyframes ld-j {
  0%, 16.2% { translate: 0 0; animation-timing-function: ease-in-out; }
  22.5% { translate: -9.4px -3.4px; animation-timing-function: linear; }
  34.5% { translate: -9.4px -3.4px; animation-timing-function: cubic-bezier(.34, 1.56, .64, 1); }
  38%, 66.2% { translate: 0 0; animation-timing-function: ease-in-out; }
  72.5% { translate: -9.4px -3.4px; animation-timing-function: linear; }
  84.5% { translate: -9.4px -3.4px; animation-timing-function: cubic-bezier(.34, 1.56, .64, 1); }
  88%, 100% { translate: 0 0; }
}
@keyframes ld-l {
  0%, 16.2% { translate: 0 0; animation-timing-function: ease-in-out; }
  22.5% { translate: 9.4px 3.4px; animation-timing-function: linear; }
  34.5% { translate: 9.4px 3.4px; animation-timing-function: cubic-bezier(.34, 1.56, .64, 1); }
  38%, 66.2% { translate: 0 0; animation-timing-function: ease-in-out; }
  72.5% { translate: 9.4px 3.4px; animation-timing-function: linear; }
  84.5% { translate: 9.4px 3.4px; animation-timing-function: cubic-bezier(.34, 1.56, .64, 1); }
  88%, 100% { translate: 0 0; }
}

/* Footer */
.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 20px 24px calc(20px + env(safe-area-inset-bottom, 0px));
  font-size: 13px;
  color: var(--fg-3);
}
.foot nav { display: flex; gap: 16px; }
.foot a { color: var(--fg-3); text-decoration: none; }
.foot a:hover { color: var(--fg); }
a:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 4px; }

/* Legal pages */
.legal-head { display: flex; align-items: center; gap: 10px; padding: 22px 24px; }
.legal-head a { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; }
.legal-head svg { width: 38px; height: auto; }
.wordmark { font: 800 22px/1 var(--f-display); letter-spacing: -.02em; }
.legal {
  flex: 1;
  width: 100%;
  max-width: 68ch;
  margin: 0 auto;
  padding: 24px 16px 48px;
}
.legal h1 { font: 800 clamp(30px, 5vw, 42px)/1.1 var(--f-display); letter-spacing: -.02em; margin: 0 0 24px; }
.legal h2 { font: 700 19px/1.3 var(--f-display); margin: 32px 0 8px; }
.legal p, .legal li { color: var(--fg-2); }
.legal a { color: var(--ember-soft); }
.legal ul { padding-left: 20px; }
.legal hr { border: 0; border-top: 1px solid var(--line); margin: 56px 0; }
.legal .note { font-size: 14px; color: var(--fg-3); }
.lang-switch { margin: 0 0 24px; font-size: 14px; color: var(--fg-3); }

@media (max-width: 560px) {
  .foot { padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
}
