:root {
  --bg: #f6f4ef;
  --panel: #fffdf8;
  --text: #1f2421;
  --muted: #6b7069;
  --line: #ded9cf;
  --accent: #3d5a4c;
  --accent-soft: #e4ebe4;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141816;
    --panel: #1b201d;
    --text: #eceee9;
    --muted: #a3aaa3;
    --line: #303832;
    --accent: #9fc3ad;
    --accent-soft: #24322a;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.site-header {
  max-width: 1040px;
  margin: 0 auto;
  padding: 22px 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--accent); color: var(--panel);
  font-weight: 700; font-size: 13px; letter-spacing: .04em;
}
.brand-text { font-weight: 650; letter-spacing: .01em; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tab {
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 999px;
  font: inherit;
  cursor: pointer;
}
.tab:hover { color: var(--text); background: var(--accent-soft); }
.tab.is-active { color: var(--text); background: var(--panel); border-color: var(--line); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 34px 24px 64px; }
.panel { display: none; animation: fade .18s ease-out; }
.panel.is-active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.eyebrow { margin: 0 0 8px; color: var(--muted); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
h1 { font-size: clamp(30px, 4vw, 46px); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 14px; }
h2 { font-size: 19px; line-height: 1.3; margin: 0 0 8px; }
.lead { font-size: 19px; color: var(--muted); max-width: 720px; margin: 0 0 28px; }
p { margin: 0 0 14px; max-width: 760px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.card p { color: var(--muted); margin: 0; }
.quote { margin: 28px 0; padding: 18px 20px; border-left: 3px solid var(--accent); background: var(--panel); color: var(--muted); border-radius: 0 12px 12px 0; }
.notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 20px 0 30px; }
.note { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.note time { display: block; color: var(--muted); font-size: 12px; margin-bottom: 8px; }
.note p { color: var(--muted); font-size: 14px; }
.note a { font-size: 14px; }
.note-full { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 20px; margin: 14px 0; }
.contact { font-size: 24px; font-weight: 650; letter-spacing: -.01em; }
.muted { color: var(--muted); }
.site-footer { max-width: 1040px; margin: 0 auto; padding: 22px 24px 34px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 13px; flex-wrap: wrap; }
@media (max-width: 760px) {
  .cards, .notes { grid-template-columns: 1fr; }
  .site-header { align-items: flex-start; }
  .tabs { width: 100%; }
}
