/* Simple Transcript website. Plain CSS, no scripts, nothing loaded from elsewhere. */
:root {
  --bg: #fdfdfb;
  --bg-soft: #f4f3fb;
  --card: #ffffff;
  --border: #e2e0d8;
  --text: #1c1c1a;
  --text-dim: #5d5b54;
  --accent: #4338ca;
  --accent-text: #ffffff;
  --periwinkle: #818cf8;
  --blue: #0284c7;
  --red: #e11d48;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1c1a;
    --bg-soft: #232230;
    --card: #22221f;
    --border: #383833;
    --text: #f2f1ec;
    --text-dim: #a3a199;
    --accent: #818cf8;
    --accent-text: #1c1c1a;
    --blue: #38bdf8;
    --red: #fb7185;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, Roboto, sans-serif;
}

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

.wrap { max-width: 880px; margin: 0 auto; padding: 0 20px; }

/* Header and footer */
.site-header { border-bottom: 1px solid var(--border); }
.site-header .wrap { display: flex; align-items: center; gap: 12px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--text); text-decoration: none; }
.brand img { width: 32px; height: 32px; }
.site-header nav { margin-left: auto; display: flex; gap: 18px; font-size: 15px; }
.site-header nav a { color: var(--text-dim); text-decoration: none; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--text); }

.site-footer { border-top: 1px solid var(--border); margin-top: 56px; color: var(--text-dim); font-size: 14px; }
.site-footer .wrap { display: flex; gap: 18px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 28px; }
.site-footer span { margin-right: auto; }

/* Home */
.hero { padding: 56px 0 40px; display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: center; }
.hero h1 { font-size: 38px; line-height: 1.15; margin: 0 0 14px; letter-spacing: -0.01em; }
.hero p.lead { font-size: 18px; color: var(--text-dim); margin: 0 0 24px; }

.button {
  display: inline-block; padding: 11px 20px; border-radius: 8px; font-weight: 600; text-decoration: none;
  background: var(--accent); color: var(--accent-text);
}
.button.quiet { background: none; color: var(--accent); border: 1px solid var(--border); margin-left: 8px; }
.small { font-size: 14px; color: var(--text-dim); margin-top: 12px; }

h2 { font-size: 24px; margin: 48px 0 14px; }
h3 { font-size: 17px; margin: 0 0 4px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; }
.card p { margin: 0; color: var(--text-dim); font-size: 15px; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.steps li { counter-increment: step; background: var(--bg-soft); border-radius: 12px; padding: 16px 18px; }
.steps li::before {
  content: counter(step); display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--accent-text);
  font-weight: 600; font-size: 14px; margin-bottom: 8px;
}
.steps strong { display: block; }
.steps span { color: var(--text-dim); font-size: 15px; }

.callout { background: var(--bg-soft); border-radius: 12px; padding: 18px 20px; }
.callout p { margin: 0 0 8px; }
.callout p:last-child { margin: 0; }

/* A drawing of the panel, not a screenshot: no real meeting is shown.
   Its colours and sizes follow the extension's own panel. */
.panel {
  --p-bg: #fdfdfb; --p-sunken: #f6f5f1; --p-border: #e2e0d8; --p-text: #1c1c1a; --p-dim: #6f6d65; --p-faint: #8b8981;
  --p-active: rgba(67, 56, 202, 0.12);
  background: var(--p-bg); color: var(--p-text); border: 1px solid var(--p-border); border-radius: 10px;
  box-shadow: 0 12px 32px -18px rgba(28, 28, 26, 0.45); font-size: 13px; line-height: 1.45; overflow: hidden;
}
@media (prefers-color-scheme: dark) {
  .panel {
    --p-bg: #1c1c1a; --p-sunken: #171715; --p-border: #383833; --p-text: #f2f1ec; --p-dim: #a3a199; --p-faint: #7d7b73;
    --p-active: rgba(129, 140, 248, 0.18);
  }
}
.panel-bar { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-bottom: 1px solid var(--p-border); font-weight: 600; font-size: 12px; }
.panel-bar span:last-child { color: var(--p-dim); font-weight: 400; font-size: 15px; }
.panel-back { padding: 7px 12px; font-size: 11px; color: var(--p-dim); border-bottom: 1px solid var(--p-border); }
.panel-head { padding: 10px 14px 12px; background: var(--p-active); }
.panel-head b { display: block; font-size: 13px; }
.panel-line { display: flex; align-items: center; min-height: 24px; }
.panel-line small { font-size: 11px; color: var(--p-faint); }
.panel-actions { margin-left: auto; display: flex; gap: 2px; color: var(--p-dim); }
.panel-actions svg { width: 14px; height: 14px; margin: 5px; }
.tags { display: flex; gap: 4px; margin-top: 4px; flex-wrap: wrap; }
.tags span { font-size: 10px; padding: 1px 6px; border: 1px solid var(--p-border); border-radius: 10px; color: var(--p-dim); background: var(--p-bg); }
.entries { padding: 4px 12px 14px; }
.entry { padding: 9px 0; border-bottom: 1px solid var(--p-border); }
.entry:last-child { border-bottom: 0; }
.entry b { font-size: 11px; font-weight: 600; color: var(--p-dim); }
.entry small { font-size: 11px; color: var(--p-faint); margin-left: 8px; }
.entry p { margin: 3px 0 0; }
.panel-foot { display: flex; justify-content: space-between; padding: 7px 12px; background: var(--p-sunken); border-top: 1px solid var(--p-border); font-size: 11px; color: var(--p-dim); }

/* Text pages */
.doc { padding: 40px 0 0; max-width: 720px; }
.doc h1 { font-size: 32px; margin: 0 0 6px; }
.doc .date { color: var(--text-dim); margin: 0 0 28px; }
.doc h2 { font-size: 20px; margin: 34px 0 8px; }
.doc li { margin-bottom: 6px; }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
code { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 0.92em; background: var(--bg-soft); padding: 1px 5px; border-radius: 4px; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding-top: 36px; }
  .hero h1 { font-size: 30px; }
  .site-header nav { margin-left: 0; width: 100%; }
}
