/* AudioInspector Annotate landing — light theme (screenshots are light Windows UI).
   Palette: ground #F7F8FA, surface #FFFFFF, ink #1A2432, muted #5D6B7E,
   accent #0E8A93; annotation-chip colors echo the tool's quick buttons. */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ground: #f7f8fa;
  --surface: #ffffff;
  --surface-2: #eef1f5;
  --ink: #1a2432;
  --muted: #5d6b7e;
  --line: #dfe4eb;
  --accent: #0e8a93;
  --accent-ink: #ffffff;
  --chip-red: #c94840;
  --chip-green: #2f9e5f;
  --chip-blue: #3d7fb5;
}

body {
  background: var(--ground);
  color: var(--ink);
  font-family: Figtree, "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 1.4rem; }

h1, h2, h3 {
  font-family: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  line-height: 1.15;
  text-wrap: balance;
}

a { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* --- header --- */
.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; justify-content: space-between; padding-top: 0.7rem; padding-bottom: 0.7rem; }
.brand { display: flex; align-items: center; gap: 0.6rem; }
.brand a { display: block; line-height: 0; }
.brand-logo { height: 52px; width: auto; display: block; }
.brand-sub {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.85rem; color: var(--accent);
  border: 1px solid var(--accent); border-radius: 4px;
  padding: 0.05rem 0.4rem;
}

/* --- buttons --- */
.btn {
  display: inline-block;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 600; text-decoration: none;
  padding: 0.7rem 1.3rem; border-radius: 6px;
}
.btn:hover { filter: brightness(1.1); }
.btn-small { padding: 0.4rem 0.9rem; font-size: 0.9rem; }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--line);
}
.cta-row { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.6rem; }

/* --- hero --- */
.hero { padding: 4.5rem 0 3.5rem; }
.hero-grid {
  display: grid; grid-template-columns: 5fr 6fr;
  gap: 2.5rem; align-items: center;
}
.hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.1rem);
  font-weight: 700;
  margin: 0.9rem 0 1rem;
}
.lede { font-size: 1.12rem; color: var(--muted); max-width: 34rem; }

.tags { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.tag {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.15rem 0.55rem;
}
.tag-red   { border-color: var(--chip-red);   color: var(--chip-red); }
.tag-green { border-color: var(--chip-green); color: var(--chip-green); }
.tag-blue  { border-color: var(--chip-blue);  color: var(--chip-blue); }

/* --- screenshots --- */
.shot {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.6rem;
  box-shadow: 0 10px 34px rgba(26, 36, 50, 0.12);
}
.shot img {
  display: block; width: 100%; height: auto; border-radius: 6px;
  cursor: zoom-in;
}
.shot figcaption {
  font-size: 0.8rem; color: var(--muted);
  text-align: center; padding-top: 0.5rem;
}
.shot-wide { margin-top: 2.6rem; }

/* --- lightbox --- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: none;
  align-items: center; justify-content: center;
  background: rgba(15, 21, 30, 0.92);
  padding: 2vh 2vw;
  cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 96vw; max-height: 92vh;
  width: auto; height: auto;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
.lightbox-close {
  position: absolute; top: 1rem; right: 1.2rem;
  font-family: Figtree, sans-serif;
  font-size: 0.9rem; color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  padding: 0.35rem 0.8rem;
  cursor: pointer;
}

/* --- sections --- */
.band { padding: 4rem 0; border-top: 1px solid var(--line); }
.band-alt { background: var(--surface); }
.band h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 600;
  margin-bottom: 0.7rem;
}
.section-lede { color: var(--muted); max-width: 40rem; margin-bottom: 2.5rem; }

.feature {
  display: grid; grid-template-columns: 2fr 3fr;
  gap: 2.5rem; align-items: center;
  margin-bottom: 3.2rem;
}
.feature:last-child { margin-bottom: 0; }
.feature-flip .feature-copy { order: 2; }
.feature-flip .shot { order: 1; }
.feature h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.6rem; }
.feature p { color: var(--muted); }

/* --- keyboard section --- */
.kbd-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem 2.5rem;
}
.kbd-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.7rem 1rem;
  background: var(--ground);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
}
.kbd-keys { white-space: nowrap; }
kbd {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 5px;
  padding: 0.1rem 0.45rem;
}

/* --- three columns --- */
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.col h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.6rem; color: var(--accent); }
.col p { color: var(--muted); font-size: 0.98rem; }

/* --- CTA --- */
.band-cta { text-align: center; }
.cta-box { max-width: 42rem; }
.cta-box p { color: var(--muted); }
.cta-box .cta-row { justify-content: center; }
.fine { font-size: 0.88rem; margin-top: 1.4rem; }

/* --- footer --- */
.foot { border-top: 1px solid var(--line); padding: 1.4rem 0; }
.foot-row {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  color: var(--muted); font-size: 0.88rem;
}
.foot a { color: var(--muted); }

/* --- responsive --- */
@media (max-width: 860px) {
  .hero-grid, .feature { grid-template-columns: 1fr; }
  .feature-flip .feature-copy { order: 1; }
  .feature-flip .shot { order: 2; }
  .kbd-grid { grid-template-columns: 1fr; }
  .cols3 { grid-template-columns: 1fr; }
}

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