:root {
  /* Palette mirrors desktop/src/v2/styles.css so the site and the app read
     as one product. */
  --bg: #0c0e0a;
  --bg-alt: #090b08;
  --panel: #12150f;
  --panel-2: #181c15;
  --line: #2b3226;
  --line-soft: #232920;
  --text: #edf2e6;
  --muted: #98a191;
  --faint: #7b8675;
  --acc: #c7ff35;
  --acc-soft: rgba(199, 255, 53, 0.12);
  --warn: #ffb02e;
  --tab-line: #4e5a43;
  --tab-accent: #a8d94f;
  --mono: "Cascadia Mono", "JetBrains Mono", Consolas, monospace;
  --ease: cubic-bezier(0.2, 0, 0, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

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

h1,
h2,
h3 {
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin-bottom: 32px;
}

.accent {
  color: var(--acc);
}

/* Navigation */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(12, 14, 10, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 30px;
  height: 30px;
}

.brand-box {
  fill: var(--panel-2);
  stroke: var(--line);
  stroke-width: 1;
}

.brand-strings {
  stroke: var(--acc);
  fill: none;
}

.brand-name {
  color: var(--acc);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.95rem;
  color: var(--muted);
}

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

.nav-cta {
  color: var(--acc);
  font-weight: 600;
}

/* Hero */

.hero {
  padding: 96px 0 64px;
  text-align: center;
  background:
    radial-gradient(600px 300px at 50% -60px, var(--acc-soft), transparent 70%),
    var(--bg);
}

.badge {
  display: inline-block;
  padding: 5px 14px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--panel);
  color: var(--muted);
  font: 12px/1.6 var(--mono);
  margin-bottom: 26px;
}

.hero h1 {
  font-size: clamp(2.4rem, 6.5vw, 4.2rem);
  margin-bottom: 22px;
}

.lede {
  max-width: 640px;
  margin: 0 auto 34px;
  color: var(--muted);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid transparent;
  transition: background 120ms var(--ease), border-color 120ms var(--ease), color 120ms var(--ease);
}

.btn-primary {
  background: var(--acc);
  color: #131608;
}

.btn-primary:hover {
  background: #d9ff70;
}

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: var(--panel-2);
}

.btn-ghost:hover {
  border-color: var(--tab-line);
}

.btn-disabled {
  background: var(--acc-soft);
  color: var(--acc);
  cursor: default;
}

.btn-disabled:hover {
  background: var(--acc-soft);
}

a:focus-visible,
.btn:focus-visible {
  outline: 1px solid var(--acc);
  outline-offset: 2px;
}

/* Hero visual frame */

.hero-visual {
  max-width: 880px;
  margin: 60px auto 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-alt);
}

.hero-visual svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Six-string divider under hero */

.strings {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 720px;
  margin: 72px auto 0;
}

.strings span {
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--line) 18%, var(--line) 82%, transparent);
}

.strings span:nth-child(1),
.strings span:nth-child(2) {
  background: linear-gradient(90deg, transparent, var(--tab-accent) 18%, var(--tab-accent) 82%, transparent);
}

/* Sections */

.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

/* Feature cards */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 26px;
}

.card h3 {
  font-size: 1.08rem;
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Steps */

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  counter-reset: step;
}

.steps li {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 26px 26px 24px 66px;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 22px;
  top: 24px;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: var(--acc-soft);
  color: var(--acc);
  font: 700 14px/30px var(--mono);
  text-align: center;
}

.steps h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.steps p {
  color: var(--muted);
  font-size: 0.95rem;
}

.requirements {
  margin-top: 34px;
  padding: 20px 26px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: var(--panel);
  color: var(--muted);
  font-size: 0.95rem;
}

.requirements h3 {
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 6px;
}

/* Download */

.download-card {
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 64px 24px;
}

.download-meta {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.9rem;
  margin: 10px 0 26px;
}

.download-note {
  color: var(--faint);
  font-size: 0.9rem;
  margin-top: 18px;
}

/* Footer */

.footer {
  border-top: 1px solid var(--line-soft);
  padding: 28px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .hero {
    padding: 64px 0 48px;
  }

  .section {
    padding: 64px 0;
  }
}
