/* Intercoms — shared site styles (matches app design language) */
:root {
  --ink: #17181c;
  --device-black: #0b0b0c;
  --bg: #fbfbfa;
  --card: #ffffff;
  --line: #ececea;
  --accent: #cde85a;
  --body: #2c2c29;
  --muted: #6d6d67;
}

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

body {
  background: var(--bg);
  color: var(--body);
  font-family: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.mono {
  font-family: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

header.site {
  background: var(--device-black);
  color: #f3f1eb;
  padding: 40px 24px 44px;
}

header.site .inner,
main .inner,
footer .inner {
  max-width: 720px;
  margin: 0 auto;
}

header.site .brandline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
}

header.site .brandline a {
  color: inherit;
  text-decoration: none;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.brandmark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--device-black);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brandmark::after {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
}

header.site .mono { color: rgba(255, 255, 255, 0.5); margin-bottom: 10px; }

header.site h1 {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #f3f1eb;
}

header.site h1 mark {
  background: var(--accent);
  color: var(--ink);
  padding: 0 4px;
}

main { padding: 40px 24px 24px; }

main h2 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 36px 0 10px;
}

main h2:first-child { margin-top: 0; }

main h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 22px 0 6px;
}

main p { margin: 10px 0; }
main ul { margin: 10px 0 10px 22px; }
main li { margin: 6px 0; }

main a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

.updated {
  display: inline-block;
  margin-bottom: 4px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  font-size: 14.5px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

th, td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

tr:last-child td { border-bottom: none; }

th {
  font-family: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, monospace;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  background: #f6f6f4;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  margin: 14px 0;
}

.divider {
  border: none;
  border-top: 1px dashed #c9c9c3;
  margin: 34px 0 0;
}

footer {
  padding: 26px 24px 46px;
}

footer .inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  align-items: center;
}

footer a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
}

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

@media (max-width: 480px) {
  header.site h1 { font-size: 27px; }
  table { font-size: 13px; }
  th, td { padding: 8px 10px; }
}
