/* pedalscope.com — one stylesheet for the landing/support/privacy pages.
   Palette mirrors Docs/UserGuide/guide.css (which mirrors the app's
   Theme.swift), with the same light variant via prefers-color-scheme.
   No JavaScript anywhere on this site; keep it that way. */

:root {
  color-scheme: light dark;
  --page: #0d0d0d;
  --surface: #1a1a19;
  --border: #2c2c2a;
  --ink: #ffffff;
  --ink-secondary: #c3c2b7;
  --ink-muted: #898781;
  --blue: #3987e5;
  --blue-link: #6fa9ec;
  --orange: #d95926;
  --aqua: #199e70;
}

@media (prefers-color-scheme: light) {
  :root {
    --page: #f6f5f2;
    --surface: #ffffff;
    --border: #d8d6cf;
    --ink: #1a1a19;
    --ink-secondary: #4a4944;
    --ink-muted: #7b7a73;
    --blue: #1d6ed0;
    --blue-link: #1d6ed0;
    --orange: #b4431a;
    --aqua: #10805a;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink-secondary);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

a { color: var(--blue-link); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { color: var(--ink); line-height: 1.2; }

main {
  max-width: 62rem;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

/* --- top nav ------------------------------------------------------- */

.site-nav {
  max-width: 62rem;
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
}

.site-nav img { width: 28px; height: 28px; border-radius: 6px; }

.site-nav .wordmark {
  color: var(--ink);
  font-weight: 700;
  margin-right: auto;
}

.site-nav a { color: var(--ink-secondary); }
.site-nav a:hover { color: var(--ink); text-decoration: none; }

/* --- hero ---------------------------------------------------------- */

.hero {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 3rem 0 3.5rem;
}

.hero img { width: 180px; height: 180px; flex: none; }

.hero h1 {
  font-size: 3rem;
  margin: 0 0 0.2rem;
}

.hero .tagline {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 1rem;
}

.hero .lede { max-width: 34rem; margin: 0 0 1.5rem; }

.cta {
  display: inline-block;
  background: var(--blue);
  color: #ffffff;
  font-weight: 600;
  padding: 0.7rem 1.2rem;
  border-radius: 10px;
}

.cta:hover { text-decoration: none; filter: brightness(1.1); }

/* Pre-launch: the CTA is a status pill, not a link — don't dress it as
   one. The launch-day <a class="cta"> keeps the blue button look. */
span.cta {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border);
  cursor: default;
}
span.cta:hover { filter: none; }

.cta-note {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-top: 0.8rem;
  max-width: 34rem;
}

/* --- sections ------------------------------------------------------ */

section { padding: 2.6rem 0; border-top: 1px solid var(--border); }

section h2 { font-size: 1.7rem; margin: 0 0 0.9rem; }

section > p { max-width: 40rem; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin: 1.6rem 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem 1.2rem;
}

.steps li strong { color: var(--ink); display: block; margin-bottom: 0.3rem; }

.shot {
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-top: 1.2rem;
}

/* alternating figure rows */
.row {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  margin-top: 2rem;
}

.row:nth-of-type(even) { flex-direction: row-reverse; }

.row img {
  width: 58%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  flex: none;
}

.row p { margin: 0; }

/* audio embeds — same reading pattern as the guide's players */
figure.audio {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  margin: 1.4rem 0 0;
}

figure.audio audio { width: 100%; }

figure.audio figcaption { font-size: 0.95rem; margin-bottom: 0.6rem; }

figure.audio .listen-for {
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin: 0.6rem 0 0;
}

/* --- footer -------------------------------------------------------- */

.site-footer {
  max-width: 62rem;
  margin: 0 auto;
  padding: 1.6rem 1.5rem 2.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.site-footer nav { margin-bottom: 0.5rem; }
.site-footer nav a { margin-right: 1.1rem; }

/* --- interior pages (support, privacy) ----------------------------- */

.page main { max-width: 44rem; }
.page h1 { font-size: 2.1rem; margin-top: 2.2rem; }

/* --- small screens -------------------------------------------------- */

@media (max-width: 720px) {
  .hero { flex-direction: column; text-align: center; padding-top: 2rem; }
  .hero .lede, .cta-note { margin-left: auto; margin-right: auto; }
  .steps { grid-template-columns: 1fr; }
  .row, .row:nth-of-type(even) { flex-direction: column; }
  .row img { width: 100%; }
}
