:root {
  --ink: #e8f0ea;
  --ink-soft: #a8b8ae;
  --muted: #7a8d80;
  --bg: #07110c;
  --bg-elev: #0d1a14;
  --line: rgba(180, 220, 190, 0.12);
  --accent: #2ee66a;
  --accent-dim: #1a9a45;
  --accent-ink: #041208;
  --glow: rgba(46, 230, 106, 0.18);
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;
  --radius: 18px;
  --shell: min(1120px, calc(100% - 2.5rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

em {
  font-style: italic;
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(7, 17, 12, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(7, 17, 12, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand img {
  filter: brightness(0) saturate(100%) invert(72%) sepia(64%) saturate(500%) hue-rotate(78deg);
}

.nav {
  display: flex;
  gap: 1.15rem;
  margin-left: auto;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-elev);
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 0 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 0 0 1px rgba(46, 230, 106, 0.2), 0 12px 40px var(--glow);
}

.btn-ghost {
  border-color: var(--line);
  background: rgba(13, 26, 20, 0.65);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: rgba(46, 230, 106, 0.35);
}

.btn-small {
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 999px;
  font-weight: 700;
}

/* Hero */
.hero {
  position: relative;
  /* ~3× previous 5.5rem / 5rem vertical gaps */
  padding: 16.5rem 0 15rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: clamp(1rem, 8vw, 6rem);
  overflow: hidden;
}

.hero-bg img {
  width: min(48vw, 480px);
  height: auto;
  opacity: 0.2;
  user-select: none;
  filter: brightness(0) saturate(100%) invert(72%) sepia(64%) saturate(500%) hue-rotate(78deg);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: none;
  width: var(--shell);
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  animation: riseIn 0.9s ease both;
}

.hero-content > * {
  max-width: 54rem;
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.brand-hero {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.hero-line {
  margin: 0.85rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: none;
  white-space: nowrap;
}

.hero-sub {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 54ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.hero-points {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.65rem 1.25rem;
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.hero-points li {
  position: relative;
  padding-left: 1rem;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--accent);
}

/* Strip */
.strip {
  border-block: 1px solid var(--line);
  background: rgba(13, 26, 20, 0.55);
  padding: 1.4rem 0;
}

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

.strip-grid strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.15rem;
}

.strip-grid span {
  color: var(--muted);
  font-size: 0.88rem;
}

/* Sections */
.section {
  padding: 5.5rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(13, 26, 20, 0.45), transparent);
}

.section-head {
  width: 100%;
  max-width: none;
  margin-bottom: 2.5rem;
  text-align: left;
}

.section-head-inline h2 {
  white-space: nowrap;
}

.section-head h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: none;
}

.section-head p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: none;
}

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

.feature {
  padding: 1.35rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 17, 12, 0.55);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature:hover {
  border-color: rgba(46, 230, 106, 0.28);
  transform: translateY(-2px);
}

.feature-num {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-dim);
  margin-bottom: 0.55rem;
}

.feature h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.feature p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  align-items: start;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 17, 12, 0.4);
}

.step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--accent);
  line-height: 1;
}

.steps h3 {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.steps p {
  margin: 0;
  color: var(--ink-soft);
}

/* Showcase */
.showcase-frame {
  display: block;
  margin: 0 0 1.5rem;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  background: #000;
  position: relative;
}

.showcase-video {
  width: 75%;
  max-width: 75%;
  margin-inline: auto;
  margin-bottom: 1.75rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.showcase-video:hover {
  transform: translateY(-2px);
  border-color: rgba(46, 230, 106, 0.35);
}

.showcase-frame img {
  width: 100%;
  height: auto;
}

.yt-badge {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(7, 17, 12, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
}

.showcase-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
}

.showcase-list li {
  color: var(--ink-soft);
  font-size: 0.95rem;
  padding-left: 0.9rem;
  border-left: 2px solid var(--accent-dim);
}

.showcase-list strong {
  color: var(--ink);
}

/* Chain */
.chain-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.chain-grid > div:first-child h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.chain-grid > div:first-child > p {
  color: var(--ink-soft);
}

.chain-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.chain-links a {
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.chain-links a:hover {
  color: var(--accent);
  border-color: rgba(46, 230, 106, 0.35);
}

.chain-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.chain-cards > div {
  padding: 1.1rem 1.15rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(7, 17, 12, 0.55);
}

.chain-cards h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.chain-cards p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

/* Trust */
.trust-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.trust-list li {
  padding: 1.1rem 1.25rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(13, 26, 20, 0.4);
  color: var(--ink-soft);
}

.trust-list strong {
  color: var(--ink);
}

/* FAQ */
.faq {
  display: grid;
  gap: 0.65rem;
  width: 100%;
  max-width: none;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(7, 17, 12, 0.5);
  padding: 0.2rem 1rem;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 800;
}

.faq details[open] summary::after {
  content: "–";
}

.faq p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

/* CTA */
.cta {
  padding: 5rem 0 4rem;
}

.cta-inner {
  padding: clamp(2rem, 5vw, 3.25rem);
  border-radius: 28px;
  border: 1px solid rgba(46, 230, 106, 0.22);
  background:
    radial-gradient(600px 280px at 10% 0%, rgba(46, 230, 106, 0.16), transparent 60%),
    linear-gradient(160deg, #10241a, #0a1610 55%, #07110c);
  text-align: center;
}

.cta-inner h2 {
  margin: 0 auto 0.85rem;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.cta-inner > p {
  margin: 0 auto;
  max-width: 48ch;
  color: var(--ink-soft);
}

.cta-version {
  margin: 1.1rem auto 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.cta-version strong {
  color: var(--accent);
  font-weight: 600;
}

.download-platforms {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.75rem;
  text-align: left;
}

.platform-card {
  padding: 1.15rem 1.2rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(7, 17, 12, 0.45);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.platform-card.is-recommended {
  border-color: rgba(46, 230, 106, 0.45);
  box-shadow: 0 0 0 1px rgba(46, 230, 106, 0.12), 0 12px 40px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

.platform-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.platform-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.platform-badge {
  flex-shrink: 0;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(46, 230, 106, 0.16);
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.platform-card > p {
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.platform-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.platform-actions .btn {
  padding: 0.6rem 0.95rem;
  font-size: 0.85rem;
}

.platform-actions .btn.is-unavailable {
  opacity: 0.45;
  pointer-events: none;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.cta-note {
  margin: 1.25rem auto 0;
  max-width: 56ch;
  font-size: 0.82rem;
  color: var(--muted);
}

.cta-note code {
  font-size: 0.78rem;
  color: var(--ink-soft);
}

/* Footer — same .shell width as CTA / sections above */
.site-footer {
  padding: 0 0 2.5rem;
  width: 100%;
}

.site-footer > .shell {
  width: var(--shell);
  margin-inline: auto;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
  align-items: start;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 2.25rem 0 0;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  min-width: 0;
  width: 100%;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  width: 100%;
  min-width: 0;
}

.footer-brand img {
  filter: brightness(0) saturate(100%) invert(72%) sepia(64%) saturate(500%) hue-rotate(78deg);
}

.footer-brand strong {
  font-family: var(--font-display);
  display: block;
}

.footer-brand p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  max-width: none;
}

.footer-col {
  min-width: 0;
}

.footer-col h4 {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-col a {
  display: block;
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-legal {
  grid-column: 1 / -1;
  margin: 0.35rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--muted);
  max-width: none;
  width: 100%;
  line-height: 1.5;
}

/* Motion helpers */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  .hero-line {
    white-space: normal;
  }
}

@media (max-width: 900px) {
  .nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1rem 1.25rem 1.25rem;
    background: rgba(7, 17, 12, 0.96);
    border-bottom: 1px solid var(--line);
  }

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

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .header-inner .btn-small {
    display: none;
  }

  .strip-grid,
  .feature-grid,
  .showcase-list,
  .chain-grid,
  .chain-cards,
  .download-platforms {
    grid-template-columns: 1fr;
  }

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

  .footer-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .showcase-video {
    width: 100%;
    max-width: 100%;
  }

  .showcase-list {
    grid-template-columns: 1fr;
  }

  .footer-legal {
    grid-column: auto;
  }

  .hero {
    padding: 8rem 0 7.5rem;
  }

  .hero-bg {
    justify-content: center;
    padding-right: 0;
    opacity: 0.85;
  }

  .hero-bg img {
    width: min(70vw, 300px);
  }

  .hero-content {
    width: var(--shell);
  }

  .hero-line,
  .section-head-inline h2 {
    white-space: normal;
  }

  .hero-points {
    flex-wrap: wrap;
    gap: 0.45rem 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-content,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}
