/* The public landing page (/). Colours, type and controls: site.css. One loud
   thing — the hero, a loop BeatFractal rendered, full bleed — and quiet bands
   below it, set in the same column. */

.bar {
  position: absolute; inset: 0 0 auto 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px clamp(16px, 4vw, 48px);
}
.bar .logo { height: 36px; }
.bar nav { display: flex; align-items: center; gap: 14px; }
.bar nav > a:not(.btn) { color: #fff; text-decoration: none; font-weight: 600; font-size: 14.5px; }
.bar nav > a:not(.btn):hover { text-decoration: underline; }
/* Over the video the header is always light-on-dark, whatever the theme. */
.bar .logo-on-light { display: none !important; }
.bar .logo-on-dark { display: block !important; }
.bar .btn:not(.primary) { color: #fff; border-color: rgb(255 255 255 / 0.45); background: rgb(0 0 0 / 0.25); }

.hero {
  position: relative; min-height: min(92vh, 860px); display: flex; align-items: flex-end;
  padding: 120px clamp(16px, 4vw, 48px) clamp(40px, 7vh, 72px);
  background: #000; color: #fff; overflow: hidden;
}
.hero-loop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgb(0 0 0 / 0.78), rgb(0 0 0 / 0.15) 55%, rgb(0 0 0 / 0.35));
}
.hero-copy { position: relative; z-index: 1; max-width: 46rem; }
.hero h1 {
  margin: 0 0 18px; color: #fff;
  font-size: clamp(42px, 7.2vw, 96px); line-height: 0.95; font-weight: 800; font-stretch: 118%; letter-spacing: -0.03em;
  text-wrap: balance;
}
.hero-lede { margin: 0 0 26px; max-width: 36em; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.55; color: rgb(255 255 255 / 0.86); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 0; }
.hero-note { font-size: 14px; color: rgb(255 255 255 / 0.8); max-width: 30em; }
.hero-note a { color: #fff; }
.hero-credit { position: absolute; right: clamp(16px, 4vw, 48px); bottom: 14px; z-index: 1; margin: 0; font-size: 12px; color: rgb(255 255 255 / 0.7); }
.hero-credit cite { font-style: normal; color: #fff; }

.band { max-width: 1100px; margin: 0 auto; padding: clamp(48px, 8vw, 88px) clamp(16px, 4vw, 48px) 0; }
.band > h2 { font-size: clamp(24px, 3vw, 32px); font-stretch: 112%; letter-spacing: -0.01em; margin-bottom: 18px; }
.band-lede { margin: -8px 0 24px; color: var(--ink-2); max-width: 40em; }

.shot figure { margin: 0; }
.shot img { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--rule); box-shadow: 0 24px 60px -30px rgb(0 0 0 / 0.6); }
.shot figcaption { margin-top: 12px; color: var(--ink-3); font-size: 14px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--accent); padding-top: 14px; }
.steps h3 { margin: 0 0 6px; font-size: 18px; font-stretch: 108%; }
.steps h3::before { content: counter(step) '. '; color: var(--accent); }
.steps p { margin: 0; color: var(--ink-2); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); }
.split h2 { font-size: clamp(22px, 2.6vw, 28px); font-stretch: 112%; margin-bottom: 12px; }
.split p { margin: 0; color: var(--ink-2); max-width: 32em; }
.made-for { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--ink-2); }
.made-for b { display: block; color: var(--ink); font-size: 16px; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.plan { padding: 22px; border: 1px solid var(--rule-strong); border-radius: 10px; background: var(--raised); }
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.plan h3 { margin: 0 0 6px; font-size: 18px; }
.price { margin: 0; font-size: 30px; font-weight: 750; font-stretch: 110%; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.price-unit { font-size: 15px; font-weight: 500; font-stretch: 100%; letter-spacing: 0; color: var(--ink-2); }
.price-alt { margin: 2px 0 0; color: var(--ink-2); font-size: 14.5px; }
.plan ul { margin: 16px 0 0; padding-left: 18px; color: var(--ink-2); display: grid; gap: 6px; font-size: 14.5px; }
.plan-cta { margin-top: 18px; width: 100%; justify-content: center; }
.plan-how { margin: 8px 0 0; font-size: 13px; color: var(--ink-3); }
.fine { margin: 18px 0 0; font-size: 13.5px; color: var(--ink-3); max-width: 52em; }

.faq { margin: 0; display: grid; gap: 4px; max-width: 46em; }
.faq dt { font-weight: 700; margin-top: 16px; }
.faq dd { margin: 4px 0 0; color: var(--ink-2); }

.foot {
  max-width: 1100px; margin: clamp(56px, 8vw, 96px) auto 0; padding: 22px clamp(16px, 4vw, 48px) 40px;
  border-top: 1px solid var(--rule);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 14px; color: var(--ink-3);
}
.foot p { margin: 0; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }

@media (max-width: 820px) {
  .steps, .plans, .split { grid-template-columns: 1fr; }
  .bar nav > a:not(.btn) { display: none; }
  .hero { min-height: 82vh; }
  .hero-credit { left: 16px; text-align: right; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-loop { display: none; }
  .hero { background: #000 url('../login/bg.75b0b33d.jpg') center / cover no-repeat; }
}

/* The photosensitivity note sits with the credit, over the hero video. */
.hero-flash { display: block; color: #fff; font-weight: 600; }

/* No AI: one plain sentence straight after the hero. */
.no-ai p { margin: 0; max-width: 44em; font-size: clamp(18px, 2vw, 22px); line-height: 1.45; font-weight: 600; font-stretch: 106%; }

/* Made with BeatFractal: a video, YouTube loaded only when played. */
.video { margin: 0; }
.video-play, .video iframe { display: block; position: relative; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 10px; overflow: hidden; background: #000; }
.video-play { padding: 0; cursor: pointer; box-shadow: 0 24px 60px -30px rgb(0 0 0 / 0.6); }
.video-play img { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-icon { position: absolute; inset: 0; display: grid; place-items: center; }
.video-icon svg { width: 76px; height: 54px; opacity: 0.9; transition: opacity 0.15s; }
.video-play:hover .video-icon svg, .video-play:focus-visible .video-icon svg { opacity: 1; }
.video-play:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.video figcaption { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; }
.video figcaption a { font-weight: 600; }
.video-note { font-size: 12.5px; color: var(--ink-3); }

.not-affiliated { font-size: 12.5px; }

/* "¿Prefieres español?": a quiet bar above the page, for Spanish browsers on the English page. */
.lang-offer { position: relative; z-index: 3; margin: 0; padding: 10px clamp(16px, 4vw, 48px); background: var(--raised); border-bottom: 1px solid var(--rule); font-size: 14px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.lang-offer .link { margin-left: auto; text-decoration: none; }
/* The language menu's list sits on the theme's own surface, not over the video. */
.bar .lm-list a { color: var(--ink); }
/* The narrowest phones: the logo, the language menu and "Sign in" (longer in
   French and German) on one line. */
@media (max-width: 400px) {
  .bar { gap: 10px; }
  .bar .logo { height: 28px; }
  .bar nav { gap: 8px; }
  .bar .lang-menu .lm-caret { display: none; }
}

/* ── Search pages (/spotify-canvas-maker/ and the rest) ──────────────────
   The same quiet bands as the landing page; the hero is a column of words
   beside a demo clip BeatFractal rendered in that page's own shape (tall for
   Canvas and Shorts, wide for YouTube), so the reader sees the format first. */
.use-hero {
  position: relative; color: #fff;
  background: radial-gradient(120% 90% at 85% 10%, rgb(116 50 232 / 0.35), transparent 60%), #07070b;
  padding: 112px clamp(16px, 4vw, 48px) clamp(40px, 6vw, 72px);
}
.use-hero-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.use-hero h1 {
  margin: 0 0 16px; color: #fff;
  font-size: clamp(34px, 5vw, 62px); line-height: 1.02; font-weight: 800; font-stretch: 114%; letter-spacing: -0.02em;
  text-wrap: balance; overflow-wrap: break-word;
}
.use-hero .hero-lede { margin-bottom: 24px; }
.demo { margin: 0; justify-self: center; width: 100%; }
.demo video { display: block; width: 100%; height: auto; border-radius: 14px; background: #000; box-shadow: 0 30px 70px -30px rgb(0 0 0 / 0.8), 0 0 0 1px rgb(255 255 255 / 0.08); }
.demo.tall { max-width: 300px; }
.demo.tall video { aspect-ratio: 9 / 16; }
.demo.wide video { aspect-ratio: 16 / 9; }
.demo figcaption { margin-top: 10px; font-size: 12px; line-height: 1.45; color: rgb(255 255 255 / 0.72); }
.demo figcaption cite { font-style: normal; color: #fff; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 36px; max-width: 60em; }
.facts li { position: relative; padding-left: 18px; color: var(--ink-2); }
.facts li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); }
.facts b { color: var(--ink); }
.price-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.price-list > div { padding: 16px 18px; border: 1px solid var(--rule-strong); border-radius: 10px; background: var(--raised); }
.price-list h3 { margin: 0; font-size: 15px; }
.price-list p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.price-list .price { margin: 2px 0 4px; font-size: 22px; font-weight: 750; font-stretch: 108%; color: var(--ink); font-variant-numeric: tabular-nums; }
.price-more { margin: 14px 0 0; font-size: 14.5px; }
.price-more a { font-weight: 600; }
/* The search pages, linked from every footer: crawlable, never orphaned. */
.use-links { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; width: 100%; }
.use-links .use-head { color: var(--ink-2); font-weight: 600; }
@media (max-width: 820px) {
  .use-hero-inner { grid-template-columns: 1fr; }
  .demo.tall { max-width: 240px; }
  .facts, .price-list { grid-template-columns: 1fr; }
}
