:root {
  color-scheme: light;
  --ink: #191a2d;
  --muted: #65677d;
  --line: rgba(31, 32, 55, 0.1);
  --surface: rgba(255, 255, 255, 0.78);
  --violet: #5b50f6;
  --violet-dark: #4438df;
  --green: #22a873;
  --shadow: 0 30px 80px rgba(54, 42, 154, 0.16);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(127, 113, 255, 0.16), transparent 34rem),
    radial-gradient(circle at 100% 32%, rgba(91, 80, 246, 0.1), transparent 31rem),
    #f7f6f3;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(91, 80, 246, 0.42);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: white;
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
main,
footer {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

section[id] {
  scroll-margin-top: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.brand {
  font-size: 1.25rem;
}

.brand img,
.footer-brand img {
  display: block;
  filter: drop-shadow(0 8px 12px rgba(91, 80, 246, 0.22));
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-left: auto;
}

.site-nav a {
  padding: 9px 11px;
  border-radius: 10px;
  color: #55576b;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.7);
  color: var(--violet-dark);
}

.header-badges {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.polish-badge {
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.polish-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(195, 36, 61, 0.14);
  background: rgba(255, 255, 255, 0.72);
  color: #8e2639;
}

.polish-flag {
  width: 18px;
  height: 12px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(31, 32, 55, 0.13);
  border-radius: 2px;
  background: linear-gradient(to bottom, #fff 0 50%, #dc143c 50% 100%);
  box-shadow: 0 2px 5px rgba(31, 32, 55, 0.08);
}

.hero {
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: clamp(44px, 7vw, 96px);
  padding-block: 64px 96px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--violet);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.115em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 690px;
  margin-bottom: 25px;
  font-size: clamp(3.35rem, 7.2vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: -0.072em;
}

h1 em {
  color: var(--violet);
  font-style: normal;
}

.lead {
  max-width: 570px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.7vw, 1.24rem);
  line-height: 1.68;
}

.hero-action {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(91, 80, 246, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 30px rgba(54, 42, 154, 0.1);
  color: var(--violet-dark);
  font-size: 0.9rem;
  font-weight: 780;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.hero-action:hover {
  transform: translateY(-2px);
  border-color: rgba(91, 80, 246, 0.36);
  box-shadow: 0 16px 34px rgba(54, 42, 154, 0.14);
}

.releases {
  padding-block: 30px 104px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading h2,
.updates h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.15rem);
  letter-spacing: -0.055em;
}

.section-heading > p:not(.eyebrow):not(.download-count) {
  max-width: 640px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.release-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.release-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid rgba(31, 32, 55, 0.1);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 22px 62px rgba(31, 32, 55, 0.08);
}

.release-card-beta {
  border-color: rgba(91, 80, 246, 0.22);
  background:
    linear-gradient(145deg, rgba(246, 244, 255, 0.96), rgba(255, 255, 255, 0.9));
  box-shadow: 0 25px 68px rgba(80, 63, 198, 0.13);
}

.release-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.release-badge,
.release-version {
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.release-badge {
  padding: 7px 10px;
  border-radius: 999px;
}

.release-badge-public {
  background: rgba(34, 168, 115, 0.11);
  color: #167854;
}

.release-badge-beta {
  background: rgba(91, 80, 246, 0.12);
  color: #5147d8;
}

.release-version {
  color: #858699;
}

.release-card h3 {
  margin: 0 0 12px;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  letter-spacing: -0.045em;
}

.release-description {
  min-height: 4.9em;
  margin-bottom: 18px;
  color: var(--muted);
  line-height: 1.62;
}

.release-features {
  display: grid;
  gap: 10px;
  margin: 0 0 26px;
  padding: 0;
  color: #505267;
  font-size: 0.9rem;
  list-style: none;
}

.release-features li {
  position: relative;
  padding-left: 23px;
}

.release-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 900;
}

.download-button {
  width: 100%;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 15px 22px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--violet), #7649ff);
  box-shadow: 0 17px 40px rgba(91, 80, 246, 0.28);
  color: white;
  font-weight: 760;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.download-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 21px 48px rgba(91, 80, 246, 0.34);
}

.download-button-beta {
  background: linear-gradient(135deg, #30295f, #6548e8);
  box-shadow: 0 17px 40px rgba(48, 41, 95, 0.24);
}

.download-button-beta:hover {
  box-shadow: 0 21px 48px rgba(48, 41, 95, 0.3);
}

.download-button svg {
  width: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.download-button span {
  display: grid;
  gap: 2px;
}

.download-button small {
  font-size: 0.72rem;
  font-weight: 540;
  opacity: 0.78;
}

.download-note {
  margin: 18px 0 0;
  color: #77788b;
  font-size: 0.78rem;
  text-align: center;
}

.download-count {
  width: fit-content;
  margin: 15px 0 0;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(91, 80, 246, 0.08);
  color: #5147d8;
  font-size: 0.78rem;
  font-weight: 750;
}

.release-checksum {
  margin-top: auto;
  padding-top: 24px;
}

.release-checksum > p {
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.release-checksum code {
  display: block;
  min-height: 66px;
  padding: 13px;
  border: 1px solid rgba(91, 80, 246, 0.12);
  border-radius: 12px;
  background: #f6f5ff;
  color: #4239b9;
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 0.72rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.copy-row {
  min-height: 48px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.brand-card {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1;
  max-width: 470px;
  display: grid;
  place-items: center;
  justify-self: end;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 38px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.brand-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 13%;
  border: 1px solid rgba(91, 80, 246, 0.12);
  border-radius: 50%;
}

.brand-card img {
  width: 48%;
  height: auto;
  filter: drop-shadow(0 25px 34px rgba(91, 80, 246, 0.32));
}

.glow {
  position: absolute;
  z-index: -2;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  filter: blur(12px);
}

.glow-one {
  top: -60px;
  right: -40px;
  background: rgba(116, 73, 255, 0.25);
}

.glow-two {
  bottom: -80px;
  left: -45px;
  background: rgba(78, 218, 170, 0.2);
}

.status-pill {
  position: absolute;
  right: 25px;
  bottom: 25px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 9px 24px rgba(32, 29, 72, 0.1);
  color: #48495d;
  font-size: 0.76rem;
  font-weight: 700;
}

.status-pill i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(34, 168, 115, 0.12);
}

.updates {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 7vw, 88px);
  margin-bottom: 92px;
  padding: clamp(30px, 5vw, 54px);
  border: 1px solid rgba(91, 80, 246, 0.14);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(112, 84, 246, 0.14), transparent 24rem),
    rgba(255, 255, 255, 0.76);
  box-shadow: 0 22px 62px rgba(31, 32, 55, 0.07);
}

.updates .eyebrow {
  margin-bottom: 14px;
}

.updates h2 {
  margin-bottom: 0;
}

.updates-copy {
  align-self: center;
}

.updates-copy p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.72;
}

.updates-copy p:first-child {
  color: #3f4158;
  font-weight: 700;
}

.updates-copy p:last-child {
  margin-bottom: 0;
}

.details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--line);
  box-shadow: 0 20px 60px rgba(31, 32, 55, 0.07);
}

.requirements,
.beta-access {
  min-width: 0;
  padding: clamp(28px, 4vw, 46px);
  background: rgba(255, 255, 255, 0.88);
}

.details h2,
.about h2 {
  margin-bottom: 19px;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  letter-spacing: -0.045em;
}

.requirements ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.requirements li {
  position: relative;
  margin: 13px 0;
  padding-left: 25px;
  color: #505267;
  line-height: 1.55;
}

.requirements li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 900;
}

.notice {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: #77788b;
  font-size: 0.78rem;
  line-height: 1.55;
}

.beta-access > p:not(.notice) {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.copy-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  color: #45465a;
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
}

.copy-button:hover {
  border-color: rgba(91, 80, 246, 0.3);
  color: var(--violet-dark);
}

.copy-button svg {
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.copy-status {
  margin-left: 9px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
}

.about {
  max-width: 760px;
  padding-block: 112px 120px;
}

.about p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

footer {
  min-height: 94px;
  display: flex;
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: #77788b;
  font-size: 0.78rem;
}

.footer-brand {
  margin-right: auto;
  font-size: 0.93rem;
}

@media (max-width: 820px) {
  .site-header,
  main,
  footer {
    width: min(100% - 32px, 680px);
  }

  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    padding-block: 60px 78px;
  }

  .hero-copy {
    text-align: center;
  }

  .lead {
    margin-inline: auto;
  }

  .hero-action {
    margin-inline: auto;
  }

  .brand-card {
    width: min(100%, 450px);
    justify-self: center;
  }

  .details {
    grid-template-columns: 1fr;
  }

  .release-grid,
  .updates {
    grid-template-columns: 1fr;
  }

  .release-description {
    min-height: 0;
  }

  .updates {
    gap: 20px;
    margin-bottom: 70px;
  }

  .about {
    padding-block: 85px 92px;
  }
}

@media (max-width: 700px) {
  .site-header {
    flex-wrap: wrap;
    padding-block: 15px;
  }

  .site-nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    padding-top: 9px;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 520px) {
  .site-header {
    min-height: 76px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .polish-badge-long {
    display: none;
  }

  .site-nav {
    gap: 2px;
  }

  .site-nav a {
    flex: 1;
    padding-inline: 5px;
    font-size: 0.78rem;
    text-align: center;
  }

  .hero {
    padding-top: 44px;
  }

  h1 {
    font-size: clamp(3rem, 18vw, 4.5rem);
  }

  .download-button {
    width: 100%;
    padding-inline: 15px;
  }

  .download-button span {
    min-width: 0;
  }

  .download-button small {
    overflow-wrap: anywhere;
  }

  .release-card {
    padding: 24px 20px;
    border-radius: 22px;
  }

  .release-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .release-checksum code {
    min-height: 0;
  }

  .brand-card {
    border-radius: 28px;
  }

  .status-pill {
    right: 16px;
    bottom: 16px;
  }

  footer {
    min-height: 120px;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px 20px;
    padding-block: 24px;
  }

  .footer-brand {
    flex-basis: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
