:root {
  color-scheme: dark;
  --bg: #07100d;
  --bg-2: #101319;
  --panel: #171b1d;
  --panel-2: #202326;
  --text: #f7f8f4;
  --muted: #a7b0aa;
  --soft: #d7ded8;
  --line: rgba(255, 255, 255, 0.14);
  --green: #64f5a8;
  --mint: #a6ffd3;
  --violet: #c08cff;
  --coral: #ff5c5c;
  --amber: #e3cf75;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 1000;
  transform: translateY(calc(-100% - 24px));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: #07100d;
  padding: 10px 14px;
  transition: transform 160ms ease;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(7, 16, 13, 0.76);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(100, 245, 168, 0.14);
}

.brand span {
  display: grid;
  gap: 0;
  min-width: 0;
}

.brand strong {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.nav-links .nav-cta {
  border: 1px solid rgba(100, 245, 168, 0.46);
  background: rgba(100, 245, 168, 0.12);
  color: var(--mint);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  padding: 0;
}

.nav-toggle span:not(.visually-hidden) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 84svh;
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  padding: 112px 0 66px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 16, 13, 0.92) 0%, rgba(7, 16, 13, 0.72) 48%, rgba(7, 16, 13, 0.34) 100%),
    image-set(url("/assets/hero-bg.webp") type("image/webp"), url("/assets/hero-bg.png") type("image/png"));
  background-position: center;
  background-size: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 180px;
  background: linear-gradient(180deg, rgba(7, 16, 13, 0), var(--bg));
}

.hero-inner {
  display: grid;
  align-items: center;
}

.hero-copy {
  width: min(720px, 100%);
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(52px, 8vw, 112px);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-lead {
  width: min(620px, 100%);
  color: var(--soft);
  font-size: 20px;
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 13px 18px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
}

.button-primary {
  background: linear-gradient(135deg, var(--green), var(--mint));
  color: #06100c;
  box-shadow: 0 18px 46px rgba(100, 245, 168, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.button-disabled {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  cursor: default;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(610px, 100%);
  margin: 34px 0 0;
}

.hero-stats div {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  padding: 14px;
  backdrop-filter: blur(10px);
}

.hero-stats dt {
  color: var(--text);
  font-weight: 850;
}

.hero-stats dd {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 92px 0;
  background: var(--bg);
}

.section-intro {
  padding-top: 48px;
}

.intro-grid,
.download-grid,
.faq-grid,
.product-preview,
.workflow-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 46px;
  align-items: start;
}

.intro-grid p,
.workflow-copy p,
.preview-copy p,
.download-grid p,
.faq-grid p {
  color: var(--muted);
  font-size: 17px;
}

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

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

.feature-card,
.release-card,
.app-surface,
details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.045));
  box-shadow: var(--shadow);
}

.feature-card {
  min-height: 230px;
  padding: 22px;
}

.feature-icon {
  display: inline-flex;
  width: 42px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(192, 140, 255, 0.32);
  border-radius: 8px;
  color: var(--violet);
  font-size: 13px;
  font-weight: 850;
  margin-bottom: 26px;
}

.feature-card p {
  color: var(--muted);
}

.section-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    var(--bg-2);
}

.workflow-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: workflow;
}

.workflow-list li {
  position: relative;
  min-height: 86px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  padding: 18px 20px 18px 72px;
  counter-increment: workflow;
}

.workflow-list li::before {
  content: counter(workflow);
  position: absolute;
  left: 20px;
  top: 18px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(100, 245, 168, 0.14);
  color: var(--green);
  font-weight: 850;
}

.workflow-list strong {
  display: block;
  margin-bottom: 3px;
  font-size: 18px;
}

.workflow-list span {
  color: var(--muted);
}

.product-preview {
  align-items: center;
}

.app-surface {
  overflow: hidden;
  background: #151819;
}

.surface-top {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid var(--line);
  padding: 0 16px;
  background: #101314;
}

.surface-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.surface-top span:nth-child(1) {
  background: var(--coral);
}

.surface-top span:nth-child(2) {
  background: var(--amber);
}

.surface-top span:nth-child(3) {
  background: var(--green);
}

.surface-body {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  min-height: 360px;
}

.surface-sidebar {
  display: grid;
  align-content: start;
  gap: 12px;
  border-right: 1px solid var(--line);
  padding: 22px;
  background: #101314;
}

.surface-sidebar span {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.surface-sidebar .active {
  background: rgba(255, 92, 92, 0.28);
  box-shadow: inset 0 0 0 1px rgba(255, 92, 92, 0.5);
}

.surface-main {
  padding: 28px;
}

.surface-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 24px;
}

.surface-brand img {
  width: 58px;
  height: 58px;
  border-radius: 8px;
}

.surface-brand strong,
.surface-brand small {
  display: block;
}

.surface-brand strong {
  font-size: 24px;
}

.surface-brand small {
  color: var(--muted);
}

.meter-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.meter-row span {
  height: 76px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(100, 245, 168, 0.22), rgba(192, 140, 255, 0.08)),
    rgba(255, 255, 255, 0.06);
}

.timeline {
  height: 108px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr 0.7fr 1fr 0.9fr;
  gap: 8px;
  align-items: end;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.timeline i {
  display: block;
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, var(--green), rgba(100, 245, 168, 0.16));
}

.timeline i:nth-child(1) {
  height: 48%;
}

.timeline i:nth-child(2) {
  height: 82%;
}

.timeline i:nth-child(3) {
  height: 58%;
}

.timeline i:nth-child(4) {
  height: 74%;
}

.timeline i:nth-child(5) {
  height: 42%;
}

.surface-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.surface-footer span {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--soft);
  padding: 8px 10px;
  font-size: 13px;
}

.section-download {
  background:
    linear-gradient(135deg, rgba(100, 245, 168, 0.08), rgba(192, 140, 255, 0.08)),
    var(--bg-2);
}

.release-card {
  padding: 24px;
}

.status-pill {
  display: inline-flex;
  border: 1px solid rgba(227, 207, 117, 0.42);
  border-radius: 999px;
  color: var(--amber);
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 24px;
}

.release-card p {
  margin-bottom: 24px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  padding: 0;
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 800;
}

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

.site-footer {
  border-top: 1px solid var(--line);
  background: #050907;
  padding: 32px 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.footer-brand img {
  width: 36px;
  height: 36px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.footer-links a {
  color: var(--soft);
  font-size: 14px;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  text-align: right;
}

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

  .intro-grid,
  .download-grid,
  .faq-grid,
  .product-preview,
  .workflow-layout {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer-links {
    justify-content: start;
  }

  .footer-inner p {
    text-align: left;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .header-inner {
    min-height: 64px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(8, 13, 12, 0.96);
    padding: 10px;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px;
  }

  .hero {
    min-height: 82svh;
    padding: 84px 0 30px;
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(7, 16, 13, 0.74) 0%, rgba(7, 16, 13, 0.9) 68%, rgba(7, 16, 13, 1) 100%),
      image-set(url("/assets/hero-bg.webp") type("image/webp"), url("/assets/hero-bg.png") type("image/png"));
    background-position: 59% center;
  }

  h1 {
    font-size: 54px;
  }

  h2 {
    font-size: 34px;
  }

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

  .hero-actions,
  .hero-stats {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 22px;
  }

  .hero-stats div {
    padding: 10px 9px;
  }

  .hero-stats dt {
    font-size: 13px;
  }

  .hero-stats dd {
    font-size: 11px;
    line-height: 1.25;
  }

  .section {
    padding: 66px 0;
  }

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

  .feature-card {
    min-height: 0;
  }

  .surface-body {
    grid-template-columns: 54px minmax(0, 1fr);
    min-height: 320px;
  }

  .surface-sidebar {
    padding: 16px 11px;
  }

  .surface-sidebar span {
    width: 30px;
    height: 30px;
  }

  .surface-main {
    padding: 20px 16px;
  }

  .surface-brand {
    align-items: flex-start;
  }

  .surface-brand strong {
    font-size: 20px;
  }

  .meter-row {
    grid-template-columns: 1fr;
  }

  .meter-row span {
    height: 44px;
  }

  .timeline {
    height: 92px;
  }
}

@media (max-width: 390px) {
  .brand strong {
    font-size: 14px;
  }

  .brand small {
    font-size: 11px;
  }

  h1 {
    font-size: 46px;
  }

  .surface-body {
    grid-template-columns: 1fr;
  }

  .surface-sidebar {
    display: none;
  }
}

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