:root {
  --bg: #0b0d10;
  --surface: #14171b;
  --line: #23272d;
  --mint: #3ecf8e;
  --amber: #e7ac4d;
  --ink: #f2f1ec;
  --ink-dim: #9096a1;
  --ink-faint: #4d525c;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}


#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}


#loader.fade {
  opacity: 0;
  pointer-events: none;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 6px solid var(--bg);
  border-top: 6px solid var(--mint);
  border-radius: 50%;
  animation: drehen 1s linear infinite;
}

@keyframes drehen {
  to {
    transform: rotate(360deg);
  }
}


.animate{
    opacity:0;
    transform:translateY(50px);
    transition:
        opacity 1.3s ease,
        transform 1.3s cubic-bezier(.2,.8,.2,1);
}

.animate.show{
    opacity:1;
    transform:translateY(0);
}

.titlescreen-bg img {
    animation: floatHero 3s ease-in-out forwards;
}

@keyframes floatHero {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.08);
    }
}

h1{
    animation:titleReveal 3s ease;
}

@keyframes titleReveal{
    from{
        opacity:0;
        transform:translateY(20px);
        letter-spacing:15px;
    }
    to{
        opacity:1;
        transform:none;
        letter-spacing:normal;
    }
}

a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
.display {
  font-family: "Space Grotesk", sans-serif;
}
.mono {
  font-family: "IBM Plex Mono", monospace;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
}

h1 {
  font-size: 100px;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 70px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(11, 13, 16, 0.161);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transform: none;
}
.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 15px;
}

.logo img {
  width: 30px;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
nav a {
  font-size: 13.5px;
  color: var(--ink-dim);
  position: relative;
  padding-bottom: 2px;
  transition: 0.3s all;
}

nav a:hover {
  color: white;
}

nav a.dl {
  color: #06120c;
  background: var(--mint);
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
}

nav a.dl:hover {
  background: #57dba0;
  color: #06120c;
}


.titlescreen {
  position: relative;
  height: 100vh;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.titlescreen-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.titlescreen-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.titlescreen-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(8, 10, 9, 0.35) 0%,
      rgba(8, 10, 9, 0.4) 45%,
      var(--bg) 100%
    ),
    linear-gradient(0deg, rgba(8, 10, 9, 0.15), rgba(8, 10, 9, 0.15));
}
.titlescreen-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px;
}
.wordmark {
  width: min(720px, 88vw);
  height: auto;
  margin-bottom: 22px;
  filter: drop-shadow(0 6px 30px rgba(0, 0, 0, 0.55));
}

.titlescreen-content .hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: 7px;
  cursor: pointer;
  font-family: "Inter", sans-serif;
}
.btn-solid {
  background: var(--mint);
  color: #06120c;
}
.btn-solid:hover {
  background: #57dba0;
}
.text-link {
  font-size: 14px;
  color: rgba(242, 241, 236, 0.7);
  border-bottom: 1px solid rgba(242, 241, 236, 0.25);
  padding-bottom: 2px;
}
.text-link:hover {
  color: var(--ink);
  border-color: var(--ink-dim);
}

.window {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: -30px 30px 80px -30px rgba(0, 0, 0, 0.6);
}
.titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  background: #191d23;
  border-bottom: 1px solid var(--line);
}
.titlebar-left {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  color: var(--ink-dim);
  font-family: "IBM Plex Mono", monospace;
}
.titlebar-left .dot-logo {
  width: 11px;
  height: 11px;
  border-radius: 3px;
  background: var(--mint);
}
.titlebar-right span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2a2f37;
  display: inline-block;
  margin-left: 6px;
}
.window img {
  width: 100%;
  display: block;
}





.doc-section {
  padding: 100px 0;
  border-bottom: 1px solid var(--line);
}
.doc-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  gap: 20px;
  flex-wrap: wrap;
}

.doc-head h2 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.6px;
  margin-top: 8px;
}
.doc-head p {
  color: var(--ink-dim);
  font-size: 15px;
  max-width: 340px;
  text-align: right;
}

.doc-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}
.doc-figure {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
}
.doc-figure img {
  width: 100%;
}


.deflist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 20px;
}
.defitem {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.defitem:nth-child(odd) {
  padding-right: 34px;
}
.defitem:nth-child(even) {
  padding-left: 34px;
  border-left: 1px solid var(--line);
}
.defitem dt {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 6px;
}
.defitem dd {
  font-size: 14.5px;
  color: var(--ink-dim);
}


.versions-text {
  font-size: 17px;
  color: var(--ink-dim);
  max-width: 640px;
}
.versions-text .mono {
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 14px;
}

.download {
  padding: 90px 0;
}
.download .wrap {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  align-items: center;
  gap: 36px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 40px 44px;
}
.app-icon {
  width: 90px;
  height: 90px;
}
.download h2 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.4px;
  margin-bottom: 8px;
}
.download p {
  color: var(--ink-dim);
  font-size: 14.5px;
}
.download-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}
.os-links {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--ink-faint);
}
.os-links a {
  color: var(--ink-dim);
}
.os-links a:hover {
  color: var(--ink);
}


footer {
  padding: 30px 0 40px;
}
footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: var(--ink-faint);
}
footer .flinks {
  display: flex;
  gap: 22px;
}
footer .flinks a {
  color: var(--ink-dim);
}
footer .flinks a:hover {
  color: var(--ink);
}

.download-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
 
.download-modal-overlay.is-open {
  display: flex;
}
 
.download-modal {
  background: var(--bg);
  border-radius: 10px;
  padding: 32px;
  max-width: 380px;
  width: 90%;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}
 
.download-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: #666;
}
 
.download-modal-close:hover {
  color: var(--mint);
}
 
.download-modal h2 {
  margin: 0 0 8px;
  font-size: 20px;
  color: var(--ink);
}
 
.download-modal p {
  margin: 0 0 20px;
  color: #666;
  font-size: 14px;
}
 
.download-modal-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
 
.download-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}
 
.download-option:hover {
  border-color: #999;
  background: #fafafa;
  color: var(--bg);
}
 
.download-option-label {
  font-weight: 600;
}
 
.download-option-sub {
  font-size: 13px;
  color: #888;
}


@media (max-width: 1300px) {
  nav a:not(.dl) {
    display: none;
  }
  .titlescreen-content .hero-actions {
    flex-direction: column;
    gap: 14px;
  }
  .titlescreen-content h1 {
    font-size: 50px;
    animation:none;
  }
  .wrap {
    padding: 0 20px;
  }
  .doc-section {
    padding: 60px 0;
  }
  .doc-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .doc-head p {
    text-align: left;
  }
  .deflist {
    grid-template-columns: 1fr;
  }
  .defitem:nth-child(even) {
    padding-left: 0;
    border-left: none;
  }
  .download .wrap {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 32px 24px;
  }
  .app-icon {
    margin: 0 auto;
  }
  .download-actions {
    align-items: center;
  }
}


@media (max-width: 700px) {
  .titlescreen-content h1 {
    font-size: 30px
  }
}