:root {
  --bg: #f5f0e8;
  --bg-card: #ede6d6;
  --text: #2c2416;
  --text-muted: #6b5d4d;
  --accent: #8b7355;
  --border: #d4c9b5;
  --link: #6b4c2a;
  --link-hover: #4a3219;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg: #1a1d23;
    --bg-card: #252830;
    --text: #e0dcd4;
    --text-muted: #9a9488;
    --accent: #b8a88a;
    --border: #3a3d45;
    --link: #c8b68e;
    --link-hover: #e0d0b0;
  }
}

:root[data-theme="dark"] {
  --bg: #1a1d23;
  --bg-card: #252830;
  --text: #e0dcd4;
  --text-muted: #9a9488;
  --accent: #b8a88a;
  --border: #3a3d45;
  --link: #c8b68e;
  --link-hover: #e0d0b0;
}

:root[data-theme="light"] {
  --bg: #f5f0e8;
  --bg-card: #ede6d6;
  --text: #2c2416;
  --text-muted: #6b5d4d;
  --accent: #8b7355;
  --border: #d4c9b5;
  --link: #6b4c2a;
  --link-hover: #4a3219;
}

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  max-width: 640px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  text-align: center;
}

.logo img {
  width: 200px;
  height: 200px;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  margin: 1rem 0 0.25rem;
  letter-spacing: -0.02em;
}

.tagline {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2.5rem;
}

.card h2 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

.meeting-info {
  font-size: 1.25rem;
  font-weight: 600;
}

.meeting-location {
  font-size: 1.1rem;
  margin-top: 0.25rem;
}

.meeting-note {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

section {
  text-align: left;
  margin-bottom: 2.5rem;
}

section h2 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

section p {
  margin-bottom: 0.75rem;
}

section ul {
  list-style: none;
  padding: 0;
}

section ul li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

section ul li:last-child {
  border-bottom: none;
}

a {
  color: var(--link);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

a:hover {
  color: var(--link-hover);
  border-bottom-color: var(--link-hover);
}

footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Theme toggle */
.theme-toggle {
  position: fixed;
  top: 0.75rem;
  right: 0.75rem;
  display: flex;
  gap: 1px;
  background: var(--border);
  border-radius: 6px;
  padding: 1px;
  z-index: 100;
  font-family: var(--font);
}

.theme-toggle button {
  font-family: inherit;
  font-size: 0.7rem;
  padding: 0.25rem 0.5rem;
  border: none;
  background: var(--bg-card);
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  transition: background 0.15s, color 0.15s;
}

.theme-toggle button:first-child {
  border-radius: 5px 0 0 5px;
}

.theme-toggle button:last-child {
  border-radius: 0 5px 5px 0;
}

.theme-toggle button[aria-pressed="true"] {
  background: var(--accent);
  color: var(--bg);
}

.theme-toggle button:hover:not([aria-pressed="true"]) {
  background: var(--border);
  color: var(--text);
}

@media (max-width: 480px) {
  .container {
    padding: 2rem 1rem;
  }

  h1 {
    font-size: 1.6rem;
  }

  .logo img {
    width: 150px;
    height: 150px;
  }
}
