:root {
  --ink: #142021;
  --muted: #607173;
  --line: #dbe4e2;
  --paper: #f7faf8;
  --white: #ffffff;
  --teal: #0f766e;
  --mint: #d7f5ec;
  --coral: #f36f56;
  --gold: #d9952f;
  --blue: #2563eb;
  --shadow: 0 20px 55px rgba(18, 32, 33, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(215, 245, 236, 0.62), rgba(247, 250, 248, 0) 360px),
    var(--paper);
  font-family: "Inter", "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1160px, calc(100% - 36px));
  height: 72px;
  margin: 0 auto;
  backdrop-filter: blur(18px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--blue));
  box-shadow: 0 10px 28px rgba(15, 118, 110, 0.22);
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.75);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  width: min(1160px, calc(100% - 36px));
  min-height: clamp(520px, 72vh, 700px);
  margin: 0 auto 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 18, 20, 0.76), rgba(7, 18, 20, 0.38) 46%, rgba(7, 18, 20, 0.08)),
    linear-gradient(0deg, rgba(7, 18, 20, 0.46), rgba(7, 18, 20, 0) 42%);
}

.hero-content {
  width: min(680px, 100%);
  padding: clamp(28px, 6vw, 68px);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #a7f3d0;
}

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

h1 {
  max-width: 10em;
  margin-bottom: 18px;
  font-size: 72px;
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h2 {
  margin-bottom: 0;
  font-size: 42px;
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hero-copy {
  max-width: 34rem;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-action,
.ghost-action,
.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  border-radius: 8px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.primary-action,
.ghost-action {
  padding: 0 18px;
}

.primary-action {
  color: var(--ink);
  background: var(--white);
}

.ghost-action {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.primary-action:hover,
.ghost-action:hover,
.download-button:hover {
  transform: translateY(-2px);
}

.summary-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.summary-item {
  display: grid;
  gap: 5px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.86);
}

.summary-item strong {
  font-size: 32px;
  line-height: 1;
}

.summary-item span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.downloads-section,
.release-section {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 76px 0 0;
}

.section-heading {
  margin-bottom: 24px;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.app-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(18, 32, 33, 0.08);
}

.app-card::before {
  content: "";
  height: 8px;
  background: var(--accent, var(--teal));
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.app-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: var(--white);
  background: var(--accent, var(--teal));
  box-shadow: 0 12px 28px color-mix(in srgb, var(--accent, var(--teal)) 28%, transparent);
}

.app-icon svg,
.primary-action svg,
.ghost-action svg,
.download-button svg,
.release-icon svg {
  width: 19px;
  height: 19px;
  stroke-width: 2.4;
}

.app-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.app-title-row h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.18;
}

.status {
  flex: 0 0 auto;
  padding: 6px 8px;
  border-radius: 999px;
  color: var(--teal);
  background: var(--mint);
  font-size: 12px;
  font-weight: 800;
}

.app-desc {
  min-height: 78px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.meta-list {
  display: grid;
  gap: 10px;
  margin: auto 0 18px;
  padding: 0;
  list-style: none;
}

.meta-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.meta-list strong {
  color: var(--ink);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px;
}

.tag-row span {
  padding: 6px 8px;
  border: 1px solid color-mix(in srgb, var(--accent, var(--teal)) 26%, var(--line));
  border-radius: 999px;
  color: color-mix(in srgb, var(--accent, var(--teal)) 70%, #111);
  font-size: 12px;
  font-weight: 800;
  background: color-mix(in srgb, var(--accent, var(--teal)) 9%, #fff);
}

.download-button {
  width: 100%;
  padding: 0 14px;
  color: var(--white);
  background: var(--accent, var(--teal));
}

.download-button:hover {
  box-shadow: 0 12px 24px color-mix(in srgb, var(--accent, var(--teal)) 25%, transparent);
}

.release-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 24px;
  padding-bottom: 76px;
}

.release-panel {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.release-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.release-panel strong {
  color: var(--ink);
}

.release-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 8px;
  color: var(--teal);
  background: var(--mint);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 24px 0 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 1120px) {
  .app-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    width: min(100% - 24px, 1160px);
    height: 64px;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .summary-band,
  .downloads-section,
  .release-section,
  .site-footer {
    width: min(100% - 24px, 1160px);
  }

  .hero {
    min-height: 590px;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(7, 18, 20, 0.22), rgba(7, 18, 20, 0.82) 56%),
      linear-gradient(90deg, rgba(7, 18, 20, 0.42), rgba(7, 18, 20, 0.14));
  }

  .hero-content {
    padding: 26px;
  }

  h1 {
    max-width: 8em;
    font-size: 40px;
    line-height: 1.08;
  }

  h2 {
    font-size: 30px;
  }

  .hero-copy {
    max-width: 18rem;
    font-size: 16px;
  }

  .summary-item strong {
    font-size: 26px;
  }

  .summary-band,
  .release-section {
    grid-template-columns: 1fr;
  }

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

  .section-heading {
    display: block;
  }

  .release-panel,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
