:root {
  color-scheme: light dark;
  --bg: #f6f8f8;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --text: #132023;
  --muted: #607074;
  --line: rgba(24, 45, 50, 0.12);
  --accent: #08a9bb;
  --accent-dark: #087785;
  --blue: #315fbb;
  --green: #3a8f62;
  --warm: #a65d2a;
  --icon-fill: #08c8d6;
  --shadow: 0 18px 60px rgba(26, 47, 52, 0.16);
  --shadow-strong: 0 28px 90px rgba(18, 37, 42, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(236, 247, 248, 0.92), var(--bg) 420px),
    var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(246, 248, 248, 0.78);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.brand img,
.hero-icon {
  display: block;
  background: var(--icon-fill);
  border-radius: 22%;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  color: var(--text);
}

.nav-download {
  color: #fff !important;
  background: var(--accent);
  padding: 8px 12px;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(8, 169, 187, 0.24);
}

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 92px 20px 118px;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(246, 248, 248, 0.42), rgba(246, 248, 248, 0.94) 50%, var(--bg));
}

.hero-backdrop {
  position: absolute;
  inset: 7% 0 auto;
  z-index: -2;
  width: min(1180px, 100%);
  margin: 0 auto;
  opacity: 0.26;
  filter: saturate(0.9) contrast(0.98);
}

.hero-content {
  width: min(820px, 100%);
  text-align: center;
}

.hero-icon {
  margin: 0 auto 18px;
  box-shadow: 0 12px 34px rgba(8, 169, 187, 0.24);
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 18px;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  backdrop-filter: blur(16px) saturate(130%);
  font-size: 13px;
  font-weight: 700;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 76px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  width: min(660px, 100%);
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 20px;
}

.actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 10px 28px rgba(8, 169, 187, 0.28);
}

.button.secondary {
  border: 1px solid var(--line);
  background: var(--surface);
}

.release-note {
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 14px;
}

.quick-points,
.section,
.footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.quick-points {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
  box-shadow: var(--shadow);
  transform: translateY(-34px);
}

.quick-points div {
  background: var(--surface-strong);
  padding: 22px;
}

.quick-points div:nth-child(2) strong {
  color: var(--blue);
}

.quick-points div:nth-child(3) strong {
  color: var(--green);
}

.quick-points div:nth-child(4) strong {
  color: var(--warm);
}

.quick-points strong,
.quick-points span {
  display: block;
}

.quick-points span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 96px 0 0;
}

.section-heading {
  width: min(720px, 100%);
  margin-bottom: 28px;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.screenshots {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  width: min(920px, 100%);
  margin: 0 auto;
}

figure {
  margin: 0;
}

figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}

figcaption {
  margin-top: 12px;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-grid .section-heading {
  grid-column: 1 / -1;
}

.feature-grid article {
  min-height: 172px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
}

.compatibility .section-heading p {
  color: var(--muted);
  font-size: 18px;
}

.compat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.compat-grid article {
  min-height: 180px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  box-shadow: 0 12px 36px rgba(26, 47, 52, 0.08);
}

.compat-grid span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.compat-grid strong {
  display: block;
  font-size: 30px;
  line-height: 1.05;
}

.compat-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.feature-grid p,
.split p,
.faq p,
.install li {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 44px;
  align-items: start;
}

.format-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.format-list span {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  font-weight: 700;
}

.install {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 44px;
  padding-bottom: 4px;
}

.install ol {
  margin: 0;
  padding-left: 22px;
}

.install li + li {
  margin-top: 12px;
}

.install a {
  color: var(--accent-dark);
  font-weight: 700;
}

.warning {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 44px;
  align-items: start;
  padding-top: 72px;
}

.warning-copy {
  padding: 24px;
  border: 1px solid color-mix(in srgb, var(--warm) 26%, var(--line));
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface-strong) 88%, #fff4e8);
}

.warning-copy p,
.warning-copy li {
  color: var(--muted);
}

.warning-copy p:first-child {
  margin-top: 0;
}

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

.warning-copy ol {
  margin: 16px 0;
  padding-left: 22px;
}

.warning-copy li + li {
  margin-top: 10px;
}

.faq {
  padding-bottom: 86px;
}

details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  font-weight: 700;
}

.footer {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 34px 0 46px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer span {
  color: var(--text);
  font-weight: 700;
}

.footer a {
  text-decoration: none;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101415;
    --surface: rgba(24, 30, 31, 0.78);
    --surface-strong: #171d1f;
    --text: #eef6f6;
    --muted: #9dafb3;
    --line: rgba(228, 245, 247, 0.12);
    --accent: #16c6d6;
    --accent-dark: #6ee2eb;
    --blue: #8ba9ff;
    --green: #78d39c;
    --warm: #efb27d;
    --shadow: 0 18px 60px rgba(0, 0, 0, 0.34);
    --shadow-strong: 0 28px 90px rgba(0, 0, 0, 0.48);
  }

  body {
    background:
      linear-gradient(180deg, rgba(18, 32, 35, 0.9), var(--bg) 420px),
      var(--bg);
  }

  .site-header {
    background: rgba(16, 20, 21, 0.78);
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(16, 20, 21, 0.66), rgba(16, 20, 21, 0.95) 60%, var(--bg));
  }

  .hero-badges span {
    background: rgba(23, 29, 31, 0.72);
  }

  .warning-copy {
    background: color-mix(in srgb, var(--surface-strong) 88%, #2b1e16);
  }
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: auto;
    padding-bottom: 56px;
  }

  .quick-points,
  .feature-grid,
  .split,
  .install,
  .compat-grid,
  .warning {
    grid-template-columns: 1fr;
  }

  .screenshots {
    grid-template-columns: 1fr;
    width: min(480px, 100%);
  }

  .section {
    padding-top: 72px;
  }
}

@media (max-width: 520px) {
  .nav {
    gap: 12px;
    font-size: 13px;
  }

  .hero {
    padding-top: 60px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .button {
    width: 100%;
  }

  .quick-points,
  .section,
  .footer {
    width: min(100% - 24px, 1120px);
  }
}
