/**
 * site.css — LimoAudio (limoaudio.com).
 *
 * Quiet and light: white page, thin black nav, one wide row per product, real
 * screenshots instead of illustrations. Product accents come from products.js
 * (--acc) and are used sparingly — the bold half of a wordmark and the price
 * button. System fonts, no dependencies.
 */

:root {
  --bg: #ffffff;
  --bg-alt: #f6f6f7;
  --ink: #1d1d1f;
  --ink-2: #4b4b52;
  --muted: #7a7a83;
  --line: #e6e6e9;
  --nav: #101012;
  --footer: #1a1a1d;
  --accent: #00a3a3; /* house teal, used only where no product accent applies */

  --font: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Inter, Roboto, Arial, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --maxw: 1180px;
  --radius: 6px;

  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

strong,
b {
  font-weight: 600;
}

p {
  margin: 0;
}

.container {
  width: min(100% - 48px, var(--maxw));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 200;
  padding: 8px 14px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.skip:focus {
  left: 12px;
}

/* ---- Wordmark: Limo<b>Synth</b> ---- */
.wordmark {
  font-weight: 300;
  letter-spacing: -0.02em;
}

.wordmark b {
  font-weight: 700;
  color: var(--acc, var(--ink));
}

.wordmark a {
  text-decoration: none;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 15px/1 var(--font);
  padding: 11px 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: filter 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn-price {
  color: #fff;
  background: var(--acc, var(--accent));
}

.btn-price:hover {
  filter: brightness(0.92);
}

.btn-price[disabled],
.btn-price.is-soon {
  color: var(--muted);
  background: var(--bg-alt);
  border-color: var(--line);
  cursor: default;
  filter: none;
}

.btn-quiet {
  color: var(--ink);
  background: #fff;
  border-color: #cfcfd4;
}

.btn-quiet:hover {
  border-color: var(--ink);
}

.btn:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.link-more {
  font-size: 15px;
  font-weight: 400;
  color: var(--ink-2);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.link-more:hover {
  color: var(--ink);
  border-color: var(--ink);
}

/* ---- Screenshots + placeholders ---- */
.shot {
  margin: 0;
  display: block;
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.shot-placeholder {
  aspect-ratio: 16 / 10;
  width: 100%;
  border-radius: 8px;
  border: 1px dashed #c9c9cf;
  background:
    linear-gradient(135deg, #f8f8f9 0%, #eeeef1 100%);
  display: grid;
  place-content: center;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.shot-placeholder strong {
  display: block;
  font-size: 22px;
  font-weight: 300;
  color: var(--ink-2);
  letter-spacing: -0.01em;
}

.shot-placeholder code {
  font: 12px var(--font-mono);
  color: #9a9aa3;
}

.shot figcaption {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--muted);
}

/* ---- Intro band (home) ---- */
.intro {
  padding: clamp(48px, 7vw, 88px) 0 clamp(28px, 4vw, 48px);
  text-align: center;
}

.intro h1 {
  font-size: clamp(30px, 4.4vw, 48px);
  max-width: 22ch;
  margin-inline: auto;
}

.intro p {
  margin: 18px auto 0;
  max-width: 58ch;
  color: var(--ink-2);
  font-size: 18px;
}

.intro .meta {
  margin-top: 22px;
  font: 400 13px/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---- Product rows (home) ---- */
.product-row {
  border-top: 1px solid var(--line);
  padding: clamp(40px, 6vw, 84px) 0;
}

.row-inner {
  display: grid;
  gap: clamp(28px, 5vw, 72px);
  grid-template-columns: 1fr;
  align-items: center;
}

.row-media {
  text-decoration: none;
}

@media (min-width: 900px) {
  .row-inner {
    grid-template-columns: 1.15fr 1fr;
  }
  .row-inner.flip .row-media {
    order: 2;
  }
}

.row-copy {
  text-align: center;
}

.row-copy .wordmark {
  font-size: clamp(38px, 5.2vw, 62px);
}

.row-tagline {
  margin-top: 8px;
  font-size: 20px;
  color: var(--ink-2);
}

.row-summary {
  margin: 18px auto 0;
  max-width: 46ch;
  font-size: 16px;
  color: var(--ink-2);
}

.row-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.row-formats {
  margin-top: 18px;
  font: 400 12px/1 var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.status-pill {
  display: inline-block;
  font: 500 11px/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
  margin-bottom: 14px;
}

/* ---- Generic sections ---- */
.section {
  border-top: 1px solid var(--line);
  padding: clamp(48px, 7vw, 96px) 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section h2 {
  font-size: clamp(26px, 3.4vw, 38px);
}

.section .lede {
  margin-top: 14px;
  max-width: 62ch;
  font-size: 18px;
  color: var(--ink-2);
}

.cols {
  display: grid;
  gap: 36px 40px;
  margin-top: clamp(28px, 4vw, 48px);
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.cols h3 {
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 8px;
}

.cols p {
  font-size: 15.5px;
  color: var(--ink-2);
}

/* Facts (compatibility) */
.facts {
  display: grid;
  gap: 0;
  margin-top: clamp(24px, 3vw, 40px);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.fact {
  padding: 22px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 0 -1px -1px 0;
}

.fact dt {
  font: 400 12px/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.fact dd {
  margin: 8px 0 0;
  font-size: 17px;
  font-weight: 500;
}

.fact dd small {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 300;
  color: var(--ink-2);
}

/* ---- Product page ---- */
.p-hero {
  padding: clamp(36px, 5vw, 64px) 0 0;
  text-align: center;
}

.crumbs {
  font: 400 13px/1 var(--font-mono);
  color: var(--muted);
  margin-bottom: 22px;
}

.crumbs a {
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--ink);
}

.p-hero .wordmark {
  font-size: clamp(44px, 6.5vw, 76px);
}

.p-tagline {
  margin-top: 8px;
  font-size: clamp(19px, 2.2vw, 24px);
  color: var(--ink-2);
}

.p-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.p-formats {
  margin-top: 16px;
  font: 400 12px/1.8 var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.p-hero-shot {
  margin: clamp(32px, 5vw, 56px) auto 0;
  max-width: 1080px;
}

.subnav {
  position: sticky;
  top: 52px;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-block: 1px solid var(--line);
  margin-top: clamp(32px, 5vw, 56px);
}

.subnav .container {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  padding: 14px 0;
  font-size: 14.5px;
  font-weight: 400;
}

.subnav a {
  text-decoration: none;
  color: var(--ink-2);
  white-space: nowrap;
}

.subnav a:hover {
  color: var(--ink);
}

.subnav .subnav-name {
  color: var(--ink);
  font-weight: 600;
  margin-right: auto;
}

.overview .headline {
  font-size: clamp(28px, 3.6vw, 40px);
  max-width: 24ch;
}

.overview .summary {
  margin-top: 20px;
  max-width: 70ch;
  font-size: 19px;
  font-weight: 400;
  color: var(--ink);
}

.overview .points {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 8px 32px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  color: var(--ink-2);
  font-size: 15.5px;
}

.overview .points li {
  position: relative;
  padding-left: 16px;
}

.overview .points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acc, var(--ink));
}

.gallery {
  display: grid;
  gap: 28px;
  margin-top: clamp(24px, 3vw, 40px);
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.spec-table {
  margin: clamp(24px, 3vw, 40px) 0 0;
  border-top: 1px solid var(--line);
}

.spec-row {
  display: grid;
  grid-template-columns: minmax(140px, 220px) 1fr;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
}

.spec-row dt {
  font-weight: 500;
}

.spec-row dd {
  margin: 0;
  color: var(--ink-2);
}

@media (max-width: 560px) {
  .spec-row { grid-template-columns: 1fr; gap: 4px; }
}

/* More products list */
.more-list {
  margin-top: clamp(24px, 3vw, 40px);
  border-top: 1px solid var(--line);
}

.more-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px 24px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.more-item .wordmark {
  font-size: 24px;
}

.more-item .more-tag {
  font-size: 15px;
  color: var(--ink-2);
}

.more-item .more-price {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
}

.more-item:hover .more-tag {
  color: var(--ink);
}

/* ---- Footer ---- */
footer {
  margin-top: clamp(48px, 7vw, 96px);
  background: var(--footer);
  color: #b9b9c0;
  padding: 52px 0 40px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.footer-grid h4 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
}

.footer-grid a {
  display: block;
  color: #b9b9c0;
  text-decoration: none;
  margin-bottom: 7px;
}

.footer-grid a:hover {
  color: #fff;
}

.footer-grid p {
  color: #9a9aa3;
  line-height: 1.55;
}

.footer-copy {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #2c2c31;
  font-size: 13px;
  color: #8a8a93;
}

/* ---- Toast ---- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 16px);
  z-index: 100;
  padding: 12px 18px;
  border-radius: var(--radius);
  background: var(--nav);
  color: #fff;
  font-size: 14.5px;
  font-weight: 400;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.5);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
