:root {
  color: #071d58;
  background: #ffffff;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-synthesis: none;
  --ink: #071d58;
  --muted: #53688d;
  --line: #dbe3f1;
  --surface: #ffffff;
  --soft: #f7f9fd;
  --blue: #0865f9;
  --blue-dark: #064bc2;
  --purple: #7b2ae8;
  --radius: 18px;
  --shadow: 0 22px 60px rgba(9, 36, 93, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
}

a {
  color: inherit;
}

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

.site-header {
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--ink);
  text-decoration: none;
}

.brand img,
footer img {
  border-radius: 50%;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy strong {
  font-size: 1.43rem;
  letter-spacing: -0.035em;
}

.brand-copy em {
  color: var(--purple);
  font-style: normal;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.98rem;
}

.header-link {
  padding: 13px 3px 10px;
  border-bottom: 3px solid var(--blue);
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.support-link,
.copy-number,
.channel-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(120deg, var(--blue), var(--purple));
  box-shadow: 0 12px 28px rgba(72, 50, 211, 0.23);
  font: inherit;
  font-weight: 780;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.support-link {
  padding: 0 20px;
}

.support-link:hover,
.copy-number:hover,
.channel-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(72, 50, 211, 0.32);
  filter: saturate(1.12);
}


.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 70px;
  padding: 82px 0 100px;
}

.hero h1 {
  max-width: 630px;
  margin: 0;
  font-size: clamp(3.4rem, 6vw, 5.8rem);
  line-height: 1.01;
  letter-spacing: -0.06em;
}

.hero p {
  max-width: 590px;
  margin: 30px 0 38px;
  color: var(--muted);
  font-size: 1.16rem;
  line-height: 1.75;
}

.primary-action,
.download-action {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 0 25px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--blue);
  box-shadow: 0 10px 24px rgba(8, 101, 249, 0.18);
  font-size: 1.04rem;
  font-weight: 750;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

.primary-action span,
.download-action span {
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1;
}

.primary-action:hover,
.download-action:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
}

.primary-action:focus-visible,
.download-action:focus-visible,
.header-link:focus-visible,
.support-link:focus-visible,
.copy-number:focus-visible,
.channel-link:focus-visible,
.brand:focus-visible {
  outline: 3px solid #8fb4ff;
  outline-offset: 4px;
}

.donation-section {
  position: relative;
  isolation: isolate;
  margin-block: 20px 105px;
  padding: clamp(44px, 7vw, 86px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 34px;
  color: #ffffff;
  background:
    radial-gradient(circle at 10% 5%, rgba(84, 154, 255, 0.45), transparent 35%),
    linear-gradient(145deg, #071b50 0%, #102d78 48%, #35156c 100%);
  box-shadow: 0 34px 80px rgba(7, 29, 88, 0.22);
}

.donation-glow {
  position: absolute;
  z-index: -1;
  width: 290px;
  height: 290px;
  border-radius: 50%;
  background: rgba(111, 86, 255, 0.35);
  filter: blur(70px);
  animation: glow-drift 8s ease-in-out infinite alternate;
}

.donation-glow-one {
  top: -100px;
  right: -40px;
}

.donation-glow-two {
  bottom: -130px;
  left: 28%;
  animation-delay: -3s;
}

.donation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.72fr);
  align-items: center;
  gap: clamp(38px, 7vw, 82px);
}

.eyebrow {
  margin: 0 0 12px;
  color: #9fc5ff;
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.donation-copy h2 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 4.65rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.donation-lead {
  max-width: 680px;
  margin: 24px 0 0;
  font-size: clamp(1.12rem, 2vw, 1.38rem);
  font-weight: 720;
  line-height: 1.55;
}

.donation-note,
.future-payments {
  max-width: 660px;
  color: #c7d6f7;
  line-height: 1.7;
}

.donation-note {
  margin: 16px 0 30px;
}

.future-payments {
  margin: 20px 0 0;
  font-size: 0.93rem;
}

.wallet-card,
.qr-card {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.12), 0 22px 50px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.wallet-card {
  max-width: 570px;
  padding: 24px;
  border-radius: 22px;
  transition: transform 220ms ease, background 220ms ease;
}

.wallet-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.14);
}

.verified-badge {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  color: #bfffd8;
  background: rgba(23, 153, 83, 0.22);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.035em;
}

.wallet-owner {
  margin: 20px 0 5px;
  color: #c7d6f7;
  font-size: 0.9rem;
  font-weight: 750;
  text-transform: uppercase;
}

.wallet-number {
  margin: 0;
  font-size: clamp(1.65rem, 4vw, 2.45rem);
  font-weight: 850;
  letter-spacing: -0.035em;
}

.wallet-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

.copy-number {
  min-height: 44px;
  padding: 0 18px;
  background: #ffffff;
  color: #102d78;
  box-shadow: none;
}

.copy-message {
  color: #bfffd8;
  font-size: 0.9rem;
  font-weight: 760;
}

.qr-card {
  margin: 0;
  padding: 20px;
  border-radius: 28px;
  text-align: center;
  animation: qr-float 5s ease-in-out infinite;
  transition: transform 220ms ease;
}

.qr-card:hover {
  transform: rotate(-1deg) scale(1.025);
}

.qr-frame {
  padding: 12px;
  border-radius: 20px;
  background: #ffffff;
}

.donation-qr {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 13px;
}

.qr-card figcaption {
  margin: 16px 8px 2px;
  color: #dbe5fb;
  font-size: 0.9rem;
  line-height: 1.5;
}

.tutorial-section {
  padding: 110px 0 20px;
}

.tutorial-heading .eyebrow {
  color: var(--blue);
}

.channel-link {
  width: fit-content;
  margin: 24px auto 0;
  padding: 0 20px;
}

.tutorial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.tutorial-card,
.tutorial-empty {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.tutorial-card {
  color: inherit;
  text-decoration: none;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.tutorial-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 30px 64px rgba(9, 36, 93, 0.18);
}

.tutorial-thumbnail {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  width: 100%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  font-size: 2.4rem;
  object-fit: cover;
}

.tutorial-body {
  padding: 22px;
}

.tutorial-body h3,
.tutorial-empty h3 {
  margin: 0;
  letter-spacing: -0.025em;
}

.tutorial-body p,
.tutorial-empty p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.tutorial-empty {
  grid-column: 1 / -1;
  padding: 50px 28px;
  text-align: center;
}

.tutorial-empty > span {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  margin: 0 auto 20px;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  box-shadow: 0 14px 34px rgba(72, 50, 211, 0.25);
}

@keyframes glow-drift {
  to { transform: translate(38px, 28px) scale(1.18); }
}

@keyframes qr-float {
  50% { transform: translateY(-9px); }
}

.download-action[aria-disabled="true"] {
  color: var(--muted);
  background: #e7ecf4;
  box-shadow: none;
  cursor: not-allowed;
  pointer-events: none;
}

.hero-mark {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.hero-mark img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  filter: drop-shadow(0 28px 28px rgba(31, 70, 150, 0.18));
}


.features {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-row {
  display: grid;
  grid-template-columns: 72px minmax(210px, 0.65fr) 1.35fr;
  align-items: center;
  gap: 28px;
  min-height: 150px;
  padding: 26px 32px;
  border-bottom: 1px solid var(--line);
}

.feature-row:last-child {
  border-bottom: 0;
}

.feature-icon {
  color: var(--blue);
  font-size: 3.2rem;
  line-height: 1;
}

.feature-icon.devices {
  font-size: 2.75rem;
}

.feature-row h2 {
  margin: 0;
  font-size: 1.42rem;
  letter-spacing: -0.03em;
}

.feature-row p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.65;
}

.download-section {
  padding: 105px 0 120px;
}

.section-heading {
  margin-bottom: 48px;
  text-align: center;
}

.download-symbol {
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 4rem;
  font-weight: 300;
  line-height: 0.75;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4.5vw, 3.7rem);
  letter-spacing: -0.055em;
}

.section-heading p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-inline: auto;
}

.download-card {
  position: relative;
  display: grid;
  align-content: start;
  justify-items: center;
  min-width: 0;
  overflow: hidden;
  padding: 36px 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.download-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  opacity: 0.72;
}

.release-card:hover {
  transform: translateY(-7px);
  border-color: #b9ccf2;
  box-shadow: 0 30px 68px rgba(9, 36, 93, 0.18);
}

.download-card h3 {
  margin: 10px 0 12px;
  font-size: clamp(1.65rem, 2.8vw, 2rem);
  letter-spacing: -0.045em;
}

.download-card .platform-family {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.download-card .architecture-badge {
  display: inline-flex;
  min-height: 31px;
  align-items: center;
  gap: 7px;
  margin: 0 0 24px;
  padding: 0 11px;
  border: 1px solid #cfe0ff;
  border-radius: 999px;
  color: #1755b1;
  background: #eef5ff;
  font-size: 0.78rem;
  font-weight: 800;
}

.download-card .amd-badge {
  border-color: #e2d2ff;
  color: #6b28c7;
  background: #f6f0ff;
}

.download-card .mobile-badge {
  border-color: #dce3ee;
  color: var(--muted);
  background: #f4f6fa;
}

.download-action {
  width: 100%;
  min-height: 62px;
  padding-inline: 18px;
  font-size: 0.93rem;
  line-height: 1.25;
}

.platform-icon {
  width: 70px;
  height: 70px;
  color: var(--blue);
}

.windows-icon {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  transform: perspective(120px) rotateY(-8deg);
}

.windows-icon i {
  display: block;
  background: var(--blue);
}

.apple-icon {
  width: 54px;
  height: 70px;
  color: var(--purple);
  fill: currentColor;
}

.phone-icon,
.android-icon {
  color: #6b28c7;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.android-icon {
  color: #2d9b63;
  stroke-width: 3.2;
}

.download-count {
  width: 100%;
  margin: 24px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--blue);
  font-size: 1.05rem;
  font-weight: 800;
}

.macos-action {
  background: linear-gradient(90deg, var(--blue), #3358f1);
}

.macos-count {
  color: var(--purple);
}

.coming-card {
  border-style: dashed;
  background: linear-gradient(155deg, #ffffff, #f7f9fd);
  box-shadow: 0 16px 42px rgba(9, 36, 93, 0.08);
}

.disabled-action {
  color: var(--muted);
  background: #e8edf5;
  box-shadow: none;
  cursor: not-allowed;
}

.future-count {
  color: var(--muted);
}


footer {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 34px 0 48px;
  border-top: 1px solid var(--line);
}

footer div {
  display: grid;
  gap: 5px;
}

footer strong {
  font-size: 1.25rem;
}

footer span {
  color: var(--muted);
}

@media (max-width: 1020px) {
  .download-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .site-header,
  main,
  footer {
    width: min(100% - 30px, 1120px);
  }

  .site-header {
    min-height: 92px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 44px;
    padding: 62px 0 78px;
  }

  .hero h1 {
    font-size: clamp(3rem, 14vw, 4.7rem);
  }

  .hero-mark {
    width: min(90vw, 520px);
    justify-self: center;
  }

  .feature-row {
    grid-template-columns: 54px 1fr;
    gap: 16px 20px;
    padding: 30px 10px;
  }

  .feature-row p {
    grid-column: 2;
  }

  .header-nav {
    gap: 12px;
  }

  .header-nav .header-link:first-child {
    display: none;
  }

  .donation-section {
    margin-bottom: 74px;
    padding: 50px 34px;
  }

  .donation-layout,
  .tutorial-grid {
    grid-template-columns: 1fr;
  }

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


  .download-grid {
    grid-template-columns: 1fr;
    max-width: 470px;
  }

}

@media (max-width: 470px) {
  .brand-copy strong {
    font-size: 1.15rem;
  }

  .brand-copy small {
    font-size: 0.82rem;
  }

  .header-link {
    font-size: 0.9rem;
  }

  .header-nav .header-link {
    display: none;
  }

  .support-link {
    min-height: 42px;
    padding: 0 14px;
    font-size: 0.88rem;
  }


  .hero h1 {
    font-size: clamp(2.7rem, 14vw, 4rem);
  }

  .primary-action,
  .download-action {
    width: 100%;
  }

  .download-card {
    padding-inline: 22px;
  }

  .donation-section {
    padding: 42px 22px;
    border-radius: 24px;
  }

  .wallet-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .copy-number {
    width: 100%;
  }


  footer {
    align-items: flex-start;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
