:root {
  color-scheme: dark;
  --bg: #0b1118;
  --surface: #111a24;
  --surface-2: #172331;
  --line: #293747;
  --text: #f4f7f9;
  --muted: #aebbc7;
  --accent: #56d68b;
  --accent-hover: #72e3a0;
  --accent-dark: #092f1d;
  --shadow: 0 18px 50px rgb(0 0 0 / 24%);
  --max: 1160px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: .25em; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 3px; }
img { display: block; max-width: 100%; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 20; padding: .7rem 1rem; background: var(--accent); color: #06130c; font-weight: 800; }
.skip-link:focus { top: 1rem; }

.site-header { max-width: var(--max); margin: auto; min-height: 82px; padding: 1rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-bottom: 1px solid rgb(41 55 71 / 55%); }
.brand, .footer-brand { display: flex; align-items: center; gap: .75rem; font-weight: 800; text-decoration: none; letter-spacing: -.02em; }
.brand img, .footer-brand img { border-radius: 8px; }
.site-header nav, footer nav { display: flex; flex-wrap: wrap; gap: 1.5rem; color: var(--muted); font-size: .9rem; }
.site-header nav a, footer nav a { text-decoration: none; transition: color 150ms ease; }

.hero { max-width: var(--max); min-height: 620px; margin: auto; padding: 6.5rem 1.5rem 7.5rem; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr); align-items: center; gap: clamp(3rem, 8vw, 6rem); }
.hero h1 { max-width: 780px; margin: .45rem 0 1.25rem; font-size: clamp(3rem, 7vw, 5.7rem); line-height: .98; letter-spacing: -.065em; }
.eyebrow { margin: 0 0 .75rem; color: var(--accent); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.lede { max-width: 650px; margin: 0; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.3rem); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem; margin-top: 2.25rem; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: .55rem; min-height: 52px; padding: .78rem 1.25rem; border: 1px solid var(--line); border-radius: 9px; font-weight: 800; line-height: 1.2; text-decoration: none; transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease; }
.button i { width: 1em; text-align: center; }
.button:hover { transform: translateY(-1px); }
.button.primary { border-color: var(--accent); background: var(--accent); color: #07150d; box-shadow: 0 8px 24px rgb(86 214 139 / 16%); }
.button.primary:hover { border-color: var(--accent-hover); background: var(--accent-hover); color: #07150d; }
.button.secondary { background: transparent; color: var(--muted); }
.button.secondary:hover { border-color: #52677d; background: var(--surface); color: var(--text); }
.platform { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem; margin: 1.25rem 0 0; color: var(--muted); font-size: .88rem; }
.platform .platform-icon { width: 1em; margin-right: .3rem; color: var(--accent); text-align: center; }
.platform .platform-item { color: var(--muted); }
.platform .platform-separator { margin-inline: .45rem; color: #526273; }
.platform code { color: var(--text); font: inherit; }
.hero-mark { position: relative; display: grid; place-items: center; min-height: 330px; }
.hero-mark img { z-index: 1; width: min(160px, 45vw); border-radius: 32px; box-shadow: 0 24px 70px #0009; }
.logo-glow { position: absolute; width: 290px; height: 290px; border: 1px solid #56d68b44; border-radius: 50%; background: radial-gradient(circle, #56d68b25, transparent 68%); box-shadow: 0 0 100px #56d68b1c; }
.status-pill { position: absolute; z-index: 2; bottom: 35px; padding: .45rem .8rem; border: 1px solid #56d68b55; border-radius: 99px; background: #0b1118e8; color: var(--accent); font-size: .76rem; font-weight: 700; }

.section { max-width: var(--max); margin: auto; padding: 6.5rem 1.5rem; border-top: 1px solid var(--line); }
.section h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.1; letter-spacing: -.04em; }
.section-heading { max-width: 650px; margin-bottom: 3rem; }
.section-heading > p:last-child { margin: 1rem 0 0; }
.section-heading > p:last-child, .download p { color: var(--muted); }
.intro { display: grid; grid-template-columns: .85fr 1.15fr; gap: 5rem; }
.intro-copy { color: var(--muted); font-size: 1.12rem; }
.intro-copy p:first-child { margin-top: 0; color: var(--text); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feature-card { min-height: 220px; padding: 1.65rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); transition: border-color 150ms ease, transform 150ms ease; }
.feature-card:hover { border-color: #3b5065; transform: translateY(-2px); }
.feature-card h3 { margin: 1.15rem 0 .45rem; font-size: 1.08rem; line-height: 1.35; }
.feature-card p { margin: 0; color: var(--muted); font-size: .94rem; }
.feature-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 8px; background: var(--accent-dark); color: var(--accent); font-size: 1rem; }
.screenshots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
figure { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); }
figure > a { display: block; padding: .7rem; background: #080c11; overflow: hidden; }
figure img { width: 100%; border-radius: 7px; aspect-ratio: 16 / 9; object-fit: contain; }
figure > a img { transition: transform 200ms ease; }
figure > a:hover img { transform: scale(1.012); }
figcaption { display: flex; flex-direction: column; padding: 1rem 1.25rem 1.2rem; }
figcaption span { color: var(--muted); font-size: .88rem; }
.trust { display: grid; grid-template-columns: auto 1fr; gap: 2rem; padding: 3rem; border: 1px solid #56d68b55; border-radius: 14px; background: #101f1c; box-shadow: inset 4px 0 var(--accent); }
.trust-badge { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--accent-dark); color: var(--accent); font-size: 1.5rem; }
.trust p:not(.eyebrow) { max-width: 850px; color: var(--muted); }
.trust strong, .trust a { color: var(--text); }
.download { margin-top: 6rem; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 3rem 5rem; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.download .button { margin-top: .8rem; }
.download-note { margin: .7rem 0 0; font-size: .8rem; }
.download-details { padding: 1.5rem; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.download-details h3 { margin: 0 0 1rem; font-size: 1rem; }
.release-facts { display: grid; gap: .85rem; margin: 0; padding: 0; list-style: none; }
.release-facts li { display: grid; grid-template-columns: 1.4rem 1fr; gap: .45rem; color: var(--muted); }
.release-facts li > i { width: 1.4rem; padding-top: .3rem; color: var(--accent); text-align: center; }
.release-facts strong { color: var(--text); }
.link-list { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.link-list li:not(:last-child) { border-right: 1px solid var(--line); }
.link-list a { display: flex; justify-content: space-between; padding: 1rem .2rem; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 700; }
.link-list a { padding-inline: 1rem; }
.link-list a:hover { background: var(--surface-2); }
.link-list a > span { display: inline-flex; align-items: center; gap: .55rem; }
.link-list a > span i { width: 1.1em; color: var(--accent); text-align: center; }
.link-list .external-icon { align-self: center; margin-left: .75rem; color: var(--muted); font-size: .78rem; }
.about { display: grid; grid-template-columns: .8fr 1fr; gap: 3rem; align-items: start; }
.about > p { margin: 0; color: var(--muted); }
.about .support-link { grid-column: 2; font-size: .9rem; }
.about .support-link a { font-weight: 700; }
.text-link i { width: 1.05em; margin-right: .15rem; color: var(--accent); text-align: center; }

footer nav a { display: inline-flex; align-items: center; gap: .35rem; }
footer nav a i { width: 1em; text-align: center; }

footer { max-width: var(--max); margin: 6rem auto 0; padding: 2rem 1.5rem 3rem; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: .5rem 2rem; align-items: center; color: var(--muted); font-size: .85rem; }
footer p { margin: 0; }
footer nav { grid-column: 2; justify-content: flex-end; }

@media (max-width: 820px) {
  .site-header { align-items: flex-start; }
  .site-header nav { justify-content: flex-end; gap: .5rem 1rem; }
  .hero { min-height: auto; padding-top: 4rem; grid-template-columns: 1fr; gap: 2rem; }
  .hero-mark { min-height: 260px; order: -1; }
  .logo-glow { width: 230px; height: 230px; }
  .status-pill { bottom: 15px; }
  .intro, .download, .about { grid-template-columns: 1fr; gap: 2rem; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .download-details, .link-list, .about .support-link { grid-column: auto; }
  .link-list { grid-template-columns: 1fr; }
  .link-list li:not(:last-child) { border-right: 0; }
  footer, footer nav { grid-template-columns: 1fr; grid-column: auto; justify-content: flex-start; }
}

@media (max-width: 560px) {
  .site-header { min-height: 68px; }
  .site-header nav { display: none; }
  .hero { padding: 2.5rem 1rem 5rem; }
  .section { padding: 4rem 1rem; }
  .hero h1 { font-size: clamp(2.65rem, 14vw, 4rem); }
  .hero-mark { min-height: 230px; }
  .actions, .actions .button { width: 100%; }
  .platform { display: grid; grid-template-columns: auto 1fr; align-items: baseline; max-width: 22rem; line-height: 1.6; }
  .platform .platform-icon { grid-row: 1 / 4; }
  .platform .platform-separator { display: none; }
  .feature-grid, .screenshots { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .trust { margin-inline: 1rem; padding: 1.5rem; grid-template-columns: 1fr; }
  .download { margin: 4rem 1rem 0; padding: 2rem 1.25rem; }
  footer { margin-top: 3rem; padding-inline: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
