:root {
  --bg: #081018;
  --bg-deep: #050a10;
  --panel: #0f1822;
  --panel-2: #14212c;
  --line: #243644;
  --text: #edf5f8;
  --muted: #94a8b4;
  --teal: #5bd6cc;
  --teal-soft: #8eece4;
  --gold: #f2ce78;
  --gold-soft: #ffe6a7;
  --blue: #80a9ff;
  --good: #80e6a2;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 15% 0%, rgba(34, 107, 116, 0.23), transparent 34rem),
    radial-gradient(circle at 88% 12%, rgba(146, 111, 47, 0.14), transparent 28rem),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  color: var(--text);
  font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  transform: translateY(-180%);
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--teal);
  color: #071013;
  font-weight: 800;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(45, 67, 82, 0.75);
  background: rgba(6, 12, 18, 0.84);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-size: 1.06rem;
  font-weight: 850;
  letter-spacing: 0.02em;
}

.brand-link img,
.footer-brand img {
  border-radius: 12px;
  box-shadow: 0 0 22px rgba(91, 214, 204, 0.1);
}

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

.site-nav a,
.footer-links a,
.text-link {
  color: #bfd0d9;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 650;
}

.site-nav a:hover,
.footer-links a:hover,
.text-link:hover {
  color: var(--teal-soft);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 70px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(91, 214, 204, 0.35), transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 48px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow,
.feature-kicker {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.5rem, 7vw, 6.6rem);
  line-height: 0.91;
  letter-spacing: -0.045em;
  font-weight: 600;
}

.hero-lede {
  max-width: 620px;
  margin: 28px 0 0;
  color: #bfd0d8;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 11px;
  text-decoration: none;
  font-weight: 850;
  transition: transform 0.14s ease, filter 0.14s ease, border-color 0.14s ease;
}

.button:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.button.primary {
  background: linear-gradient(135deg, var(--teal) 0%, #7fa6ff 100%);
  color: #061014;
  box-shadow: 0 12px 30px rgba(73, 175, 178, 0.18);
}

.button.secondary {
  border-color: #375063;
  background: rgba(19, 31, 42, 0.72);
  color: #dfeaf0;
}

.button.large {
  min-height: 52px;
  padding-inline: 24px;
}

.button[aria-disabled="true"] {
  cursor: default;
  opacity: 0.62;
  filter: saturate(0.45);
  transform: none;
}

.release-note {
  margin-top: 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.86rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 12px rgba(128, 230, 162, 0.7);
}

.dot-separator {
  color: #506575;
}

.hero-art {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.hero-art img {
  position: relative;
  z-index: 2;
  width: min(680px, 100%);
  filter: drop-shadow(0 26px 50px rgba(0, 0, 0, 0.45));
}

.hero-glow {
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42, 199, 202, 0.16), rgba(42, 199, 202, 0.04) 43%, transparent 70%);
  filter: blur(18px);
}

.trust-strip {
  border-bottom: 1px solid rgba(43, 63, 77, 0.72);
  background: rgba(13, 21, 29, 0.55);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-grid > div {
  min-height: 116px;
  padding: 25px 24px;
  border-left: 1px solid rgba(43, 63, 77, 0.62);
}

.trust-grid > div:last-child {
  border-right: 1px solid rgba(43, 63, 77, 0.62);
}

.trust-grid strong,
.trust-grid span {
  display: block;
}

.trust-grid strong {
  color: #e8f3f6;
  font-size: 0.94rem;
}

.trust-grid span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.83rem;
}

.section {
  padding: 100px 0;
}

.section-muted {
  padding: 100px 0;
  border-block: 1px solid rgba(40, 60, 75, 0.7);
  background: linear-gradient(180deg, rgba(13, 22, 30, 0.76), rgba(7, 13, 19, 0.76));
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading.compact {
  max-width: 680px;
}

.section-heading h2,
.download-panel h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -0.035em;
}

.section-heading > p:last-child,
.download-panel p {
  color: var(--muted);
}

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

.feature-card {
  position: relative;
  min-height: 230px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(22, 35, 47, 0.96), rgba(12, 20, 28, 0.96));
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.15);
}

.feature-card::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -56px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 214, 204, 0.11), transparent 68%);
}

.feature-card h3 {
  max-width: 460px;
  margin: 18px 0 10px;
  font-size: 1.45rem;
}

.feature-card p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.screenshot-card {
  margin: 0;
}

.screenshot-window {
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #2d4555;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(27, 43, 56, 0.96), rgba(10, 17, 24, 0.96));
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.screenshot-window:hover {
  transform: translateY(-2px);
  border-color: rgba(91, 214, 204, 0.55);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.4);
}

.screenshot-window img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #081018;
}

.screenshot-card figcaption {
  padding: 12px 4px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.download-panel {
  padding: 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
  border: 1px solid #345666;
  border-radius: 22px;
  background:
    radial-gradient(circle at 88% 20%, rgba(239, 195, 103, 0.12), transparent 22rem),
    linear-gradient(135deg, rgba(18, 46, 48, 0.92), rgba(16, 25, 36, 0.98));
  box-shadow: var(--shadow);
}

.download-panel p {
  max-width: 720px;
  margin-bottom: 0;
}

.download-actions {
  display: grid;
  justify-items: center;
  gap: 10px;
  min-width: 230px;
}

.faq-section {
  padding-top: 50px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.faq-grid details {
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(15, 24, 34, 0.72);
  padding: 18px 20px;
}

.faq-grid summary {
  cursor: pointer;
  font-weight: 780;
}

.faq-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  background: rgba(5, 9, 14, 0.78);
}

.footer-grid {
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-grid p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.legal-line {
  min-height: 70px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-block: 18px;
  border-top: 1px solid rgba(36, 54, 68, 0.7);
  color: #667c89;
  font-size: 0.75rem;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 0;
  }

  .hero-art img {
    width: min(620px, 94%);
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid > div:nth-child(3) {
    border-top: 1px solid rgba(43, 63, 77, 0.62);
  }

  .trust-grid > div:nth-child(4) {
    border-top: 1px solid rgba(43, 63, 77, 0.62);
  }

  .download-panel {
    grid-template-columns: 1fr;
  }

  .download-actions {
    justify-items: start;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(100% - 28px, 1160px);
  }

  .site-nav a:not([data-link="github"]) {
    display: none;
  }

  .hero {
    padding-top: 56px;
  }

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

  .hero-art {
    margin-top: -10px;
  }

  .trust-grid,
  .feature-grid,
  .screenshot-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid > div {
    border-right: 1px solid rgba(43, 63, 77, 0.62);
    border-bottom: 1px solid rgba(43, 63, 77, 0.62);
  }

  .trust-grid > div:last-child {
    border-bottom: 0;
  }

  .section,
  .section-muted {
    padding: 72px 0;
  }

  .download-panel {
    padding: 28px;
  }

  .legal-line,
  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid {
    justify-content: center;
    padding-block: 34px;
  }
}
