/* Vibepatch — dark ambient music-tech */
:root {
  --bg: #0a0b10;
  --bg-elevated: #12141c;
  --bg-card: #161822;
  --border: rgba(180, 200, 255, 0.12);
  --border-strong: rgba(180, 200, 255, 0.22);
  --text: #e8eaf2;
  --text-muted: #9aa3b8;
  --text-dim: #6b7388;
  --accent: #7c9cff;
  --accent-hot: #c084fc;
  --accent-glow: rgba(124, 156, 255, 0.35);
  --success: #6ee7b7;
  --warn: #fbbf24;
  --radius: 14px;
  --radius-sm: 8px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SF Mono", Menlo, monospace;
  --max: 1100px;
  --header-h: 64px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
}

/* Ambient wash — CSS only, no images */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 15% -10%, rgba(124, 156, 255, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(192, 132, 252, 0.12), transparent 50%),
    radial-gradient(ellipse 50% 60% at 50% 100%, rgba(110, 231, 183, 0.06), transparent 45%);
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hot); }
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; color: var(--text-muted); }
p strong, li strong { color: var(--text); }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(10, 11, 16, 0.82);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.15rem;
}
.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-hot));
  box-shadow: 0 0 20px var(--accent-glow);
  position: relative;
  flex-shrink: 0;
}
.logo-mark::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 3px;
  border: 2px solid rgba(10, 11, 16, 0.55);
  border-right-color: transparent;
  transform: rotate(-20deg);
}
.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav-cta {
  margin-left: 0.35rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: #0a0b10;
  background: linear-gradient(135deg, #a5b8ff, #d8b4fe);
  box-shadow: 0 8px 28px var(--accent-glow);
}
.btn-primary:hover { color: #0a0b10; box-shadow: 0 12px 36px var(--accent-glow); }
.btn-ghost {
  color: var(--text);
  background: transparent;
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--bg-elevated); color: var(--text); }
.btn-lg { padding: 0.9rem 1.6rem; font-size: 1.05rem; }

/* Hero */
.hero {
  padding: 3.5rem 0 3rem;
  text-align: center;
}

/* Optional hero photo wash — used on home when assets/vibepatch-hero.jpg is present */
.hero.hero-with-art {
  position: relative;
  overflow: hidden;
}
.hero.hero-with-art::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 11, 16, 0.55) 0%, rgba(10, 11, 16, 0.88) 55%, var(--bg) 100%),
    url("assets/vibepatch-hero.jpg") center 30% / cover no-repeat;
  opacity: 0.45;
}
.hero.hero-with-art > .container {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(124, 156, 255, 0.08);
}
.hero h1 { margin-bottom: 0.75rem; }
.hero-lead {
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  max-width: 38rem;
  margin: 0 auto 1.75rem;
  color: var(--text-muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1rem;
}
.hero-note {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin: 0;
}
.price-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-top: 1.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 0.95rem;
}
.price-pill .amount { color: var(--success); font-weight: 700; font-size: 1.15rem; }

/* Sections */
section { padding: 3.25rem 0; }
.section-head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2.25rem;
}
.section-head p { margin-bottom: 0; }

.grid-3 {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
.grid-2 {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.card h3 { margin-bottom: 0.4rem; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--mono);
  color: #0a0b10;
  background: linear-gradient(135deg, var(--accent), var(--accent-hot));
  margin-bottom: 0.85rem;
}

.audience-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}
.audience-list li {
  padding: 1rem 1.15rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}
.audience-list li strong { display: block; color: var(--text); margin-bottom: 0.2rem; }

/* FAQ */
.faq details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.15rem;
  margin-bottom: 0.65rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 700;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0.75rem 0 0.25rem; }

/* Pricing */
.pricing-hero { text-align: center; padding-top: 2.5rem; }
.pricing-card {
  max-width: 420px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
  border-color: var(--border-strong);
  box-shadow: 0 0 0 1px rgba(124, 156, 255, 0.15), 0 24px 60px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}
.pricing-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-hot));
}
.pricing-card .price {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text);
  margin: 0.5rem 0 0.25rem;
  font-family: var(--mono);
}
.pricing-card .price span { font-size: 1rem; color: var(--text-dim); font-weight: 500; }
.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  text-align: left;
}
.feature-list li {
  padding: 0.45rem 0 0.45rem 1.6rem;
  position: relative;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}
.upsell-note {
  margin-top: 2rem;
  padding: 1.25rem;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  background: rgba(251, 191, 36, 0.04);
}
.upsell-note h3 { font-size: 1rem; color: var(--warn); }
.badge-soon {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(251, 191, 36, 0.15);
  color: var(--warn);
  vertical-align: middle;
  margin-left: 0.35rem;
}

/* CTA band */
.cta-band {
  margin: 2rem 0 1rem;
  padding: 2.5rem 1.5rem;
  text-align: center;
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(124, 156, 255, 0.14), rgba(192, 132, 252, 0.08)),
    var(--bg-elevated);
  border: 1px solid var(--border-strong);
}
.cta-band h2 { margin-bottom: 0.5rem; }
.cta-band p { max-width: 28rem; margin: 0 auto 1.25rem; }

/* Newsletter */
.newsletter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
}
.newsletter-hint {
  font-size: 0.9rem;
  color: var(--text-dim);
  width: 100%;
  text-align: center;
  margin: 0.5rem 0 0;
}

/* Blog */
.blog-list { display: grid; gap: 1rem; }
.blog-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.blog-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  color: inherit;
}
.blog-card .meta {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-family: var(--mono);
  margin-bottom: 0.4rem;
}
.blog-card h2 { font-size: 1.25rem; margin-bottom: 0.35rem; color: var(--text); }
.blog-card p { margin: 0; }

.prose {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2rem 0 3rem;
}
.prose .meta {
  font-size: 0.9rem;
  color: var(--text-dim);
  font-family: var(--mono);
  margin-bottom: 1.5rem;
}
.prose h2 { margin-top: 2rem; }
.prose ul, .prose ol { color: var(--text-muted); padding-left: 1.25rem; }
.prose li { margin-bottom: 0.4rem; }
.prose code {
  font-family: var(--mono);
  font-size: 0.9em;
  padding: 0.15em 0.4em;
  border-radius: 4px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}

/* About */
.about-story {
  max-width: 40rem;
  margin: 0 auto;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 2rem;
  margin-top: 2rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand { max-width: 18rem; }
.footer-brand p { font-size: 0.9rem; margin: 0.5rem 0 0; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}
.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}
.footer-nav a:hover { color: var(--text); }
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-dim);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

@media (max-width: 560px) {
  .nav a:not(.btn) { display: none; }
  .nav .nav-cta { margin-left: 0; }
}
