/* Meeting Mute — meetingmuteapp.com
   Static, no-JS, mobile-first. Same skeleton as adinandemail.com (header, hero, card sections,
   footer). Palette from the launcher icon proposal (decisions.md 2026-10-25 (o)):
   night slate, amber, paper. Every text pair is checked by the contrast gate (4.5:1, light + dark).

   Measured 25 October 2026 (WCAG 2.1 relative luminance):
     amber link #7A5A07 on paper #F7F5EF 5.85:1, on card #FFFFFF 6.38:1
       (#B8860B, the range the brief started from, is 2.99:1 on paper and fails)
     paper #F7F5EF on slate button #2E4A7A 8.10:1
     dark: amber #F4B942 on #0F1626 10.2:1 · slate #0F1626 on amber button 10.2:1 */

:root {
  --bg: #F7F5EF;            /* paper */
  --surface: #FFFFFF;
  --ink: #172033;
  --muted: #4A5163;
  --line: #E1DDD2;
  --link: #7A5A07;          /* amber, darkened until it passes on paper */
  --button-bg: #2E4A7A;     /* slate */
  --button-ink: #F7F5EF;
  --focus: #2E4A7A;
  --band: #172033;          /* header + footer band, same in both schemes */
  --band-ink: #F7F5EF;
  --band-muted: #C9D1E6;
  --band-link: #F4B942;
  --limits-bg: #FFF6DF;
  --limits-line: #E9CF8A;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0F1626;
    --surface: #182036;
    --ink: #E9ECF4;
    --muted: #B4BACB;
    --line: #2A3145;
    --link: #F4B942;
    --button-bg: #F4B942;
    --button-ink: #0F1626;
    --focus: #F4B942;
    --band: #172033;
    --limits-bg: #1F2433;
    --limits-line: #5C4A10;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  background: var(--bg);
  color: var(--ink);
  overflow-wrap: break-word;
}
h1, h2, h3 {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  line-height: 1.22;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
a { color: var(--link); }
a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}
img { max-width: 100%; height: auto; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 24px; } }
.narrow { max-width: 780px; }

/* ---------- Header ---------- */
.site-header { background: var(--band); }
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  flex-wrap: wrap;
  padding: 12px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--band-ink);
  font-weight: 700;
  font-size: 1.05rem;
}
.brand img { width: 34px; height: 34px; }
.site-nav { display: flex; gap: 2px 4px; flex-wrap: wrap; }
.site-nav a {
  color: var(--band-muted);
  text-decoration: none;
  font-size: 0.92rem;
  padding: 6px 9px;
  border-radius: 8px;
}
.site-nav a:hover, .site-nav a[aria-current="page"] {
  color: var(--band-ink);
  background: rgba(247, 245, 239, 0.1);
}
.site-header a:focus-visible, .site-footer a:focus-visible { outline-color: var(--band-link); }

/* ---------- Hero (home) ---------- */
.hero { padding: 34px 0 10px; }
.hero h1 {
  font-size: clamp(1.8rem, 4.6vw, 2.7rem);
  margin: 0 0 12px;
  max-width: 22em;
}
.hero .lead {
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  color: var(--muted);
  max-width: 40em;
  margin: 0;
}
.cta-row {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}
.btn {
  display: inline-block;
  padding: 11px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.3;
  text-decoration: none;
}
/* The listing does not exist until M8: a span with no href, styled as an unavailable button.
   Its text keeps full contrast (it is information, not decoration). */
.btn-soon {
  background: transparent;
  color: var(--ink);
  border: 2px dashed var(--muted);
  cursor: default;
}
.btn-secondary {
  background: var(--button-bg);
  color: var(--button-ink);
  border: 2px solid var(--button-bg);
}
.btn-secondary:hover { filter: brightness(1.08); }
.hero .fine { margin: 14px 0 0; font-size: 0.92rem; color: var(--muted); }

/* ---------- Sections ---------- */
main section { padding: 26px 0 4px; }
main section:last-of-type { padding-bottom: 44px; }
main h2 { font-size: 1.5rem; margin: 0 0 12px; }

/* How it works, What it reads, Honest limits: three columns on wide screens so the limits are
   above the fold on a 1280 x 800 desktop, in the copy's own order (copy/index.md). */
.trio { display: grid; gap: 0 22px; align-items: start; }
@media (min-width: 1000px) {
  .trio { grid-template-columns: 1fr 1fr 1fr; }
}

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li {
  counter-increment: step;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px 12px 52px;
  margin: 0 0 10px;
  font-size: 0.97rem;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 12px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--button-bg);
  color: var(--button-ink);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
}
.card ul, .limits ul { margin: 0; padding-left: 20px; }
.card li, .limits li { margin: 6px 0; font-size: 0.97rem; }
.card p { margin: 10px 0 0; }

.limits {
  background: var(--limits-bg);
  border: 1px solid var(--limits-line);
  border-radius: 14px;
  padding: 16px 20px;
}
.limits h2 { margin-bottom: 8px; }

.prose-sect p { max-width: 72ch; }

/* ---------- Legal / prose pages ---------- */
.prose { padding-top: 34px; padding-bottom: 52px; }
.prose h1 { font-size: clamp(1.7rem, 4.5vw, 2.3rem); margin: 0 0 6px; }
.prose .updated { color: var(--muted); margin: 0 0 22px; font-size: 0.95rem; }
.prose h2 { font-size: 1.32rem; margin: 32px 0 10px; }
.prose h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.prose ul, .prose ol { padding-left: 24px; }
.prose li { margin: 7px 0; }
.prose > p, .prose li { max-width: 72ch; }
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  margin: 12px 0;
}
.contact-card p { margin: 8px 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--band);
  color: var(--band-muted);
  padding: 28px 0 34px;
  font-size: 0.92rem;
}
.site-footer .cols {
  display: flex;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
}
.site-footer nav { display: flex; gap: 6px 16px; flex-wrap: wrap; }
.site-footer a { color: var(--band-link); }
.site-footer .legal { margin: 14px 0 0; font-size: 0.84rem; color: var(--band-muted); max-width: 70ch; }
