/* Meeting Time — shared styles for the landing page and legal pages. */

:root {
  --blue: #1d4ed8;
  --blue-light: #4f8df7;
  --green: #26a84a;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --text: #10151f;
  --text-dim: #55606f;
  --border: #e2e7ee;
  --radius: 14px;
  --max: 1080px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --blue: #6c9dff;
    --blue-light: #8fb6ff;
    --green: #4ade80;
    --bg: #0e1219;
    --bg-alt: #151b25;
    --text: #eef2f8;
    --text-dim: #9aa6b8;
    --border: #232c3a;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.narrow { max-width: 760px; }

a { color: var(--blue); }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; }

/* ---------- Header ---------- */

header.site {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  font-weight: 650;
  font-size: 18px;
}

.brand img { width: 34px; height: 34px; border-radius: 8px; }

/* ---------- Hero ---------- */

.hero {
  padding: 72px 0 64px;
  text-align: center;
}

.hero img.icon {
  width: 108px;
  height: 108px;
  border-radius: 24px;
  box-shadow: 0 12px 34px rgba(29, 78, 216, 0.22);
  margin-bottom: 26px;
}

.hero h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.4rem);
  margin: 0 0 16px;
}

.hero .sub {
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  color: var(--text-dim);
  max-width: 620px;
  margin: 0 auto 28px;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.85rem;
  font-weight: 550;
}

/* ---------- Contrast panel ---------- */

.contrast {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 64px 0;
}

.compare {
  display: grid;
  /* min() keeps the track from exceeding the container on very narrow
     phones, where a bare 280px minimum would overflow. */
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 20px;
  margin-top: 34px;
}

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}

.card.accent { border-color: var(--green); }

.card h3 { margin: 0 0 12px; font-size: 1.12rem; }

.card ul { margin: 0; padding-left: 20px; color: var(--text-dim); }

.card li { margin-bottom: 7px; }

.card .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.tag.dim { background: var(--bg-alt); color: var(--text-dim); }
.tag.good { background: rgba(38, 168, 74, 0.14); color: var(--green); }

/* ---------- Sections ---------- */

section { padding: 66px 0; }

section h2,
.contrast h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.1rem);
  margin: 0 0 14px;
  text-align: center;
}

section .lead,
.contrast .lead {
  text-align: center;
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 auto 40px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr));
  gap: 22px;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 9px;
}

.feature .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  flex: none;
}

.feature p { margin: 0; color: var(--text-dim); font-size: 0.96rem; }

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps li { counter-increment: step; }

.steps li::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.steps strong { display: block; margin-bottom: 5px; }
.steps span { color: var(--text-dim); font-size: 0.96rem; }

.note {
  border-left: 3px solid var(--blue);
  padding: 4px 0 4px 18px;
  color: var(--text-dim);
  margin: 34px auto 0;
  max-width: 700px;
  font-size: 0.95rem;
}

/* ---------- Legal pages ---------- */

.legal { padding: 56px 0 76px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 0 0 6px; }
.legal .updated { color: var(--text-dim); font-size: 0.9rem; margin: 0 0 34px; }
.legal h2 {
  font-size: 1.22rem;
  margin: 38px 0 10px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  text-align: left;
}
.legal h3 { font-size: 1.02rem; margin: 22px 0 8px; }
.legal p, .legal li { color: var(--text-dim); }
.legal strong { color: var(--text); }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal .callout {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 24px 0;
}
.legal .callout p:last-child { margin-bottom: 0; }
.legal .callout p:first-child { margin-top: 0; }

table.data {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 0.94rem;
}
table.data th, table.data td {
  text-align: left;
  padding: 11px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
table.data th { color: var(--text); font-weight: 650; }
table.data td { color: var(--text-dim); }

.table-scroll { overflow-x: auto; }

/* ---------- Footer ---------- */

footer.site {
  border-top: 1px solid var(--border);
  padding: 34px 0 46px;
  color: var(--text-dim);
  font-size: 0.92rem;
}

footer.site .row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  align-items: center;
  justify-content: space-between;
}

footer.site nav { display: flex; flex-wrap: wrap; gap: 22px; }
footer.site a { text-decoration: none; }
footer.site a:hover { text-decoration: underline; }
