:root {
  --bg: #0a0a0d;
  --bg-alt: #111117;
  --panel: #17171f;
  --border: #26262f;
  --text: #f2f2f5;
  --text-dim: #a3a3ad;
  --text-dimmer: #6c6c76;
  --blue: #2f6bff;
  --blue-bright: #4f8cff;
  --radius: 14px;
  --max-width: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Keep #section links from landing under the 64px sticky header. */
section[id] { scroll-margin-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.5; -webkit-font-smoothing: antialiased;
}
.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); text-align: center; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; color: var(--text-dim); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10,10,13,0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.header-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; color: var(--text); }
.brand-icon { width: 28px; height: 28px; border-radius: 7px; display: block; }
.site-nav { display: flex; gap: 28px; }
.site-nav a { color: var(--text-dim); font-size: 0.92rem; transition: color 0.15s; }
.site-nav a:hover { color: var(--text); }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 11px 22px; border-radius: 999px; font-size: 0.92rem; font-weight: 600; transition: transform 0.15s, border-color 0.15s; white-space: nowrap; }
.btn-primary { background: linear-gradient(180deg, var(--blue-bright), var(--blue)); color: #fff; box-shadow: 0 8px 24px -6px rgba(47,107,255,0.55); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-ghost { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--text-dimmer); }
.btn-nav { background: var(--panel); border: 1px solid var(--border); padding: 8px 18px; font-size: 0.86rem; }
.btn-nav:hover { border-color: var(--blue-bright); }

.hero { padding: 96px 0 64px; overflow: hidden; text-align: center; }
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.hero-copy { display: flex; flex-direction: column; align-items: center; max-width: 680px; }
.eyebrow { color: var(--blue-bright); font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.hero h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); line-height: 1.08; }
.hero h1 .nowrap { white-space: nowrap; }
.hero-sub { font-size: 1.08rem; max-width: 54ch; }
.hero-ctas { display: flex; gap: 14px; margin: 28px 0 18px; flex-wrap: wrap; justify-content: center; }
.hero-note { font-size: 0.82rem; color: var(--text-dimmer); }

.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-sub { text-align: center; color: var(--text-dim); max-width: 56ch; margin: 0 auto 40px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.feature { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.feature-icon { font-size: 1.7rem; margin-bottom: 12px; }
.feature p { font-size: 0.92rem; margin: 0; }

/* DAW diagram */
.daw-diagram { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 48px 0 32px; flex-wrap: wrap; }
.daw-node { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 26px; text-align: center; min-width: 150px; }
.daw-node-icon { font-size: 1.8rem; margin-bottom: 8px; }
.daw-node-label { font-weight: 700; font-size: 0.95rem; }
.daw-node-daw { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.daw-node-sub { font-size: 0.7rem; color: var(--text-dimmer); margin-top: 6px; }
.daw-arrow { font-size: 1.4rem; color: var(--text-dimmer); }
.daw-caption { max-width: 62ch; margin: 0 auto 40px; text-align: center; font-size: 0.95rem; }
.daw-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.daw-point { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.daw-point p { font-size: 0.88rem; margin: 0; }

/* First-session walkthrough */
.walk-list { max-width: 760px; margin: 48px auto 0; }
.walk-step-block { padding: 40px 0; }
.walk-step-block + .walk-step-block { border-top: 1px solid var(--border); }
.walk-step { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-bright); margin-bottom: 8px; }
.walk-step-block h3 { font-size: 1.2rem; margin-bottom: 10px; }
.walk-step-block > p { font-size: 0.95rem; max-width: 62ch; }
.walk-media { margin: 20px 0 0; }
.walk-shot { display: block; width: 100%; border-radius: 10px; border: 1px solid var(--border); box-shadow: 0 20px 50px -22px rgba(0,0,0,0.6); }
.walk-callout { display: flex; gap: 10px; background: var(--panel); border: 1px solid rgba(79,140,255,0.4); border-radius: 10px; padding: 12px 14px; font-size: 0.86rem; color: var(--text); margin: 18px 0 0; background: linear-gradient(180deg, rgba(47,107,255,0.1), var(--panel)); }

/* Tutorial walkthrough */
.tutorial-video-wrap { max-width: 860px; margin: 40px auto 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: 0 30px 70px -24px rgba(0,0,0,0.6); background: #000; }
.tutorial-video { display: block; width: 100%; height: auto; }
/* YouTube facade: poster + play button until clicked, then a 16:9 iframe in the same spot. */
.yt-facade, .yt-player { aspect-ratio: 16 / 9; border: 0; padding: 0; margin: 0; background: #000; }
.yt-facade { position: relative; cursor: pointer; }
.yt-facade img { display: block; width: 100%; height: 100%; object-fit: cover; }
.yt-play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: rgba(47,107,255,0.92); box-shadow: 0 10px 30px rgba(0,0,0,0.45); transition: transform .15s ease, background .15s ease; }
.yt-play::after { content: ""; position: absolute; left: 31px; top: 24px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent #fff; }
.yt-facade:hover .yt-play, .yt-facade:focus-visible .yt-play { transform: scale(1.06); background: var(--blue-bright); }
.yt-noscript { display: block; padding: 16px; text-align: center; color: var(--blue-bright); }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; align-items: stretch; }
.price-card { position: relative; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.price-card-featured { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue), 0 20px 50px -20px rgba(47,107,255,0.5); }
.price-badge { position: absolute; top: -12px; left: 28px; background: var(--blue); color: #fff; font-size: 0.7rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; margin: 0; text-transform: uppercase; letter-spacing: 0.05em; }
.price { font-size: 2.1rem; font-weight: 700; color: var(--text); margin: 4px 0 12px; }
.price span { font-size: 0.9rem; font-weight: 500; color: var(--text-dimmer); margin-left: 4px; }
.price-desc { font-size: 0.88rem; }
.price-card ul { list-style: none; margin: auto 0 0; padding: 0; }
.price-card li { font-size: 0.86rem; color: var(--text-dim); padding: 7px 0; border-top: 1px solid var(--border); }
.price-card li:first-child { border-top: none; }

.download-wrap { text-align: center; }
.appstore-badge { display: inline-flex; align-items: center; gap: 10px; background: #000; border: 1px solid #3a3a3f; border-radius: 10px; padding: 10px 20px; margin-top: 8px; opacity: 0.85; }
.appstore-badge-text { display: flex; flex-direction: column; text-align: left; }
.appstore-badge-small { font-size: 0.68rem; color: #ccc; }
.appstore-badge-large { font-size: 1.1rem; font-weight: 600; color: #fff; }
a.appstore-badge { opacity: 1; text-decoration: none; transition: border-color 0.2s; }
a.appstore-badge:hover { border-color: #8a8a90; }
.download-note { font-size: 0.8rem; color: var(--text-dimmer); margin-top: 16px; }

.site-footer { border-top: 1px solid var(--border); padding: 32px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-brand { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.9rem; }
.footer-copy { font-size: 0.8rem; color: var(--text-dimmer); margin: 0; }

@media (max-width: 900px) {
  .feature-grid, .daw-points, .pricing-grid { grid-template-columns: 1fr; }
  .daw-diagram { flex-direction: column; }
  .daw-arrow { transform: rotate(90deg); }
  .site-nav { display: none; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: clamp(1.1rem, 6.8vw, 1.6rem); }
}
