/* Listune — static site
   Minimal, dark, mobile-first. */

:root {
  --bg: #0b0d12;
  --bg-soft: #111318;
  --card: #151922;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f5f7fb;
  --muted: #9aa3b2;
  --blue: #3b82f6;
  --green: #a3e635;
  --purple: #a78bfa;
  --amber: #fbbf24;
  --radius: 20px;
  --wrap: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.sr-only {
  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: absolute;
  left: 12px;
  top: -48px;
  z-index: 30;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px clamp(16px, 4vw, 40px);
  background: rgba(11, 13, 18, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  color: #0b0d12;
  background: linear-gradient(135deg, var(--green), #4ade80);
}

.brand-name {
  font-size: 16px;
}

.site-nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 14px;
  color: var(--muted);
}

.site-nav a {
  transition: color 0.15s ease;
}

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

.site-header .btn {
  margin-left: 4px;
}

@media (max-width: 720px) {
  .site-nav {
    display: none;
  }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  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(--blue);
  color: #fff;
}

.btn-primary:hover {
  background: #2f74e6;
}

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-small {
  padding: 8px 16px;
  font-size: 13px;
}

/* ── Layout helpers ── */
.hero-inner,
.features,
.split,
.tech,
.site-footer {
  width: min(100% - 36px, var(--wrap));
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}

.eyebrow-green {
  color: var(--green);
}

.center {
  text-align: center;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(28px, 5vw, 44px);
  margin-bottom: 16px;
}

.body {
  color: var(--muted);
  max-width: 48ch;
  margin: 0 0 22px;
}

/* ── Hero ── */
.hero {
  position: relative;
  padding: clamp(56px, 9vw, 110px) 0 clamp(32px, 5vw, 64px);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.28;
  pointer-events: none;
}

.hero-glow-blue {
  width: 520px;
  height: 520px;
  top: -180px;
  left: -140px;
  background: var(--blue);
}

.hero-glow-green {
  width: 460px;
  height: 460px;
  top: 120px;
  right: -160px;
  background: var(--green);
  opacity: 0.16;
}

.hero-inner {
  position: relative;
  text-align: center;
}

h1 {
  font-size: clamp(40px, 8vw, 82px);
  font-weight: 800;
}

.gradient-text {
  background: linear-gradient(100deg, var(--green), #38bdf8 65%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  max-width: 54ch;
  margin: 20px auto 30px;
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--muted);
}

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

.hero-shot {
  margin: clamp(40px, 6vw, 64px) auto 0;
  max-width: 660px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6), 0 0 80px rgba(163, 230, 53, 0.08);
}

/* ── Feature highlights ── */
.features {
  padding: clamp(20px, 4vw, 40px) 0 clamp(40px, 7vw, 80px);
}

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

.feature {
  padding: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feature h3 {
  font-size: 15px;
  margin-bottom: 8px;
}

.feature p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.feature-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-bottom: 14px;
}

.dot-blue { background: var(--blue); }
.dot-green { background: var(--green); }
.dot-purple { background: var(--purple); }
.dot-amber { background: var(--amber); }

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

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

/* ── Split sections ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(40px, 7vw, 88px) 0;
  border-top: 1px solid var(--line);
}

.split-reverse .split-media {
  order: 2;
}

.split-media img {
  width: 100%;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

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

  .split-reverse .split-media {
    order: 0;
  }
}

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

.ticks li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
  font-size: 15px;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

/* ── Tech ── */
.tech {
  padding: clamp(40px, 7vw, 80px) 0;
  border-top: 1px solid var(--line);
}

.tech h2.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin-bottom: 24px;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.pills span {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 13px;
}

/* ── FAQ ── */
.faq {
  width: min(100% - 36px, var(--wrap));
  margin-inline: auto;
  padding: clamp(40px, 7vw, 88px) 0;
  border-top: 1px solid var(--line);
}

.faq h2 {
  margin-bottom: 28px;
}

.faq-list {
  max-width: 720px;
  margin-inline: auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 22px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--green);
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

/* ── Footer ── */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

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

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

/* ── Reveal on scroll ── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
