/* GrooveScope brand layer.
   Aligns the marketing site with the extension's look: dark neutral surfaces,
   square corners, flat orange actions, monospace technical values.
   Loaded after the legacy Webflow CSS so it wins on equal specificity.
   The homepage demo (css/demo-extension.css) already mirrors the extension and is not touched here. */

:root {
  --gs-orange: #ffad56;
  --gs-teal: #007383;
  --gs-red: #ff5559;
  --gs-bg: #181818;
  --gs-surface: #202020;
  --gs-surface-hover: #242424;
  --gs-line: #2a2a2a;
  --gs-line-strong: #3f3f3f;
  --gs-grid: #626262;
  --gs-text: #ccc;
  --gs-mono: Consolas, 'SFMono-Regular', Menlo, monospace;
  --cards-default: var(--gs-surface);
  --cards-hover: var(--gs-surface-hover);
}

.body {
  background-color: var(--gs-bg);
  /* Keep the hero dot texture but render it neutral gray: the texture is desaturated
     (luminosity), then lifted to the #181818 page color (lighten) so only the dots show
     and there is no visible edge where the image ends. */
  background-image: linear-gradient(#181818, #181818), url('../images/optimized/texture-desktop.3aec4103b802.webp');
  /* The color layer exactly covers the texture's box (1530 x 996 at -100px), so the
     blend applies wherever the image is drawn. */
  background-size: 100% 996px, 1530px 996px;
  background-position: 0 -100px, 50% -100px;
  background-repeat: no-repeat;
  background-blend-mode: lighten, luminosity;
}
@media screen and (max-width: 767px) {
  .body {
    background-image: linear-gradient(#181818, #181818), url('../images/optimized/texture-mobile.21f2a7bea9f1.webp');
    background-size: 100% 996px, 768px 996px;
  }
}
/* Nav sits one step darker than the #181818 page with a hard 1px rule and a soft drop
   shadow, so the sticky bar reads as its own surface (like the extension toolbar)
   instead of dissolving into the content scrolling under it. */
.main-nav {
  background-color: rgba(14, 14, 14, .94);
  border-bottom: 1px solid var(--gs-line-strong);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .45);
}
.section,
.section-why-producers-love {
  background-color: rgba(24, 24, 24, .62);
}

/* Demo wrapper: square, flat panel. The extension-mirroring internals are untouched. */
.demo {
  border: 1px solid var(--gs-line);
  border-radius: 0;
  /* Same #0e0e0e as the Features band below, so the demo reads as a recessed panel. */
  background: var(--gs-band, #0e0e0e);
  box-shadow: none;
}

/* Focus: 2px orange outline, 2px offset, on every interactive surface. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible,
.static-menu-button:focus-visible {
  outline: 2px solid var(--gs-orange);
  outline-offset: 2px;
}

/* Primary action: flat orange, black text, square. */
.cta-primary-medium {
  background-image: none;
  background-color: var(--gs-orange);
  border-radius: 0;
  transition: filter .15s;
}
.cta-primary-medium:hover,
.nav-cta-primary:hover {
  background-color: var(--gs-orange);
  filter: brightness(1.12);
}
.cta-primary-medium:active {
  filter: brightness(.85);
}
.cta-primary-medium .cta-secondary-label-1 {
  color: var(--gs-bg);
}
.cta-primary-medium .cta-icon {
  filter: brightness(0);
}

/* Section labels: solid orange, uppercase, tracked. */
.tag-orange {
  background-image: none;
  -webkit-text-fill-color: currentColor;
  color: var(--gs-orange);
  letter-spacing: .06em;
}
.tag svg {
  stroke: var(--gs-orange);
}

/* Headline accent: flat orange instead of the old pink-orange text gradient. */
.headline-1 {
  background-image: none;
  -webkit-text-fill-color: currentColor;
  color: var(--gs-orange);
}

/* Cards and panels: square, flat, neutral. */
.card-medium-btm {
  border: 1px solid var(--gs-line);
  border-radius: 0;
}
.card-icon-container svg {
  stroke: var(--gs-orange);
}
.faq_wrapper {
  background-image: none;
  background-color: var(--gs-surface);
  border-radius: 0;
}
/* "Ready to Sample Smarter?" band: darker surface, vertical padding cut 30% at every breakpoint. */
.download-container {
  background-color: var(--gs-bg);
  border: 1px solid var(--gs-line);
  border-radius: 0;
  padding-top: 34px;
  padding-bottom: 34px;
}
.section-download {
  padding-top: 56px;
  padding-bottom: 56px;
}
@media screen and (max-width: 991px) {
  .download-container { padding-top: 22px; padding-bottom: 22px; }
  .section-download { padding-top: 34px; padding-bottom: 42px; }
}
@media screen and (max-width: 767px) {
  .section-download { padding-top: 28px; padding-bottom: 21px; }
}
@media screen and (max-width: 479px) {
  .download-container { padding-top: 14px; padding-bottom: 14px; }
  .section-download { padding-top: 14px; padding-bottom: 34px; }
}
.faq-input {
  background-color: var(--gs-bg);
  border: 1px solid var(--gs-line-strong);
  border-radius: 0;
}
.clear-button,
.static-menu-button,
.arrow-expand {
  border-radius: 0;
}
.demo-intro-icon {
  background: var(--gs-orange);
  color: var(--gs-bg);
  border-radius: 0;
}

/* Legal page links */
.page-content a {
  color: var(--gs-orange);
}

@media (prefers-reduced-motion: reduce) {
  .testimonials-track {
    transition: none !important;
  }
}

/* ---------------------------------------------------------------------------
   Live-style accents. Secondary colors are sampled from Ableton Live's clip
   color palette (row 1 of the 14x5 grid) and used sparingly, the way Live uses
   them: thin, muted color tags on neutral, square panels. Orange stays the only
   action color.
   ------------------------------------------------------------------------- */
:root {
  --gs-band: #0e0e0e;
  --clip-orange: #fda43a;
  --clip-yellow: #f7f384;
  --clip-lime: #c0f932;
  --clip-cyan: #65fee8;
  --clip-blue: #8dc6fd;
  --clip-purple: #d670e2;
  --clip-pink: #fd95a7;
  --clip-mute: 45%;
}

/* Features through "Ready to Sample Smarter?" share the nav's darker surface.
   The original hairline between the demo and Features stays. */
/* The band sections are transparent so one continuous surface (below) shows
   through without seams between sections. */
body .gs-band #features,
body .gs-band #how-it-works,
body .gs-band #testimonials,
body .gs-band #pricing,
body .gs-band #download {
  background-color: transparent;
}

/* Middle band: one flat, seamless surface in the nav color. */
.gs-band {
  width: 100%;
  background-color: var(--gs-band);
}

/* Hero and FAQ surface: a faint arrangement-style grid that only surfaces in a
   few soft pools, a slow-drifting wash of muted clip colors, and fine grain.
   It replaces the old dot texture and always sits behind the content. */
body.body:has(#hero) {
  background-image: none;
}
body #hero,
body #faq {
  position: relative;
  isolation: isolate;
  overflow: clip;
  /* Fine grain: SVG fractal noise at ~4.5% alpha. */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .045 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body #hero::before,
body #hero::after,
body #faq::before,
body #faq::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}
/* Grid, masked into soft pools so it reads as texture, not graph paper. */
body #hero::before,
body #faq::before {
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .02) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px, 24px 24px;
  -webkit-mask-image:
    radial-gradient(ellipse 50% 38% at 14% 18%, #000 0%, transparent 72%),
    radial-gradient(ellipse 42% 34% at 88% 46%, #000 0%, transparent 72%),
    radial-gradient(ellipse 46% 30% at 36% 92%, #000 0%, transparent 72%);
  mask-image:
    radial-gradient(ellipse 50% 38% at 14% 18%, #000 0%, transparent 72%),
    radial-gradient(ellipse 42% 34% at 88% 46%, #000 0%, transparent 72%),
    radial-gradient(ellipse 46% 30% at 36% 92%, #000 0%, transparent 72%);
}
/* Color wash: very low-alpha clip colors drifting slowly, like a shader at rest. */
body #hero::after,
body #faq::after {
  inset: -10% -15%;
  background:
    radial-gradient(32% 26% at 20% 18%, rgba(253, 164, 58, .07), transparent 70%),
    radial-gradient(28% 24% at 84% 44%, rgba(101, 254, 232, .045), transparent 70%),
    radial-gradient(30% 24% at 34% 88%, rgba(214, 112, 226, .05), transparent 70%);
  animation: gs-surface-drift 48s ease-in-out infinite alternate;
  will-change: transform;
}
body #faq::after {
  animation-delay: -20s;
}
@keyframes gs-surface-drift {
  from { transform: translate3d(-2%, -1.5%, 0) scale(1); }
  to { transform: translate3d(2%, 2%, 0) scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  body #hero::after,
  body #faq::after { animation: none; }
}
/* No divider between Pricing and the download band. */
body #download {
  border-top: 0;
}

/* Feature cards: a 2px muted clip-color tag on the top edge; the icon picks up
   the same color, and the border warms to it on hover like a selected clip. */
body #features .feature-card { --clip: var(--clip-orange); border-top: 2px solid color-mix(in srgb, var(--clip) var(--clip-mute), transparent); transition: border-color .15s; }
body #features .feature-card:nth-child(2) { --clip: var(--clip-pink); }
body #features .feature-card:nth-child(3) { --clip: var(--clip-lime); }
body #features .feature-card:nth-child(4) { --clip: var(--clip-yellow); }
body #features .feature-card:nth-child(5) { --clip: var(--clip-cyan); }
body #features .feature-card:nth-child(6) { --clip: var(--clip-purple); }
body #features .feature-card .card-icon-container svg { stroke: color-mix(in srgb, var(--clip) 80%, #ccc); }
body #features .feature-card:hover { border-color: color-mix(in srgb, var(--clip) 35%, var(--gs-line)); border-top-color: var(--clip); }

/* How-it-works numbers as muted clip slots. */
body #how-it-works .hiw-steps li:nth-child(1) { --step: var(--clip-cyan); }
body #how-it-works .hiw-steps li:nth-child(2) { --step: var(--clip-lime); }
body #how-it-works .hiw-steps li:nth-child(3) { --step: var(--clip-orange); }
body #how-it-works .hiw-steps li::before { background: color-mix(in srgb, var(--step) 70%, #181818); }

/* Testimonials: a thin, muted track-color line on the left edge. */
body #testimonials .testimonial-slide .testimonial-card { border-left: 2px solid color-mix(in srgb, var(--clip-blue) var(--clip-mute), transparent); }
body #testimonials .testimonial-slide:nth-child(2n) .testimonial-card { border-left-color: color-mix(in srgb, var(--clip-purple) var(--clip-mute), transparent); }

/* Pricing: muted clip-color top edge; the featured plan keeps its orange frame. */
body #pricing .pricing-card { border-top: 2px solid color-mix(in srgb, var(--clip-cyan) var(--clip-mute), transparent); }
body #pricing .pricing-card:nth-child(2) { border-top-color: color-mix(in srgb, var(--clip-lime) var(--clip-mute), transparent); }
body #pricing .pricing-card.featured { border-top-color: var(--gs-orange); }
