:root {
  --apple-blue: #007aff;
  --apple-blue-hover: #0077ed;
  --apple-blue-pressed: #0066d6;
  --label-primary: #1d1d1f;
  --label-secondary: #6e6e73;
  --fill-primary: rgba(120, 120, 128, 0.2);
  --fill-secondary: rgba(120, 120, 128, 0.16);
  --fill-tertiary: rgba(118, 118, 128, 0.12);
  --separator: rgba(60, 60, 67, 0.29);
  --bg-grouped: #f2f2f7;
  --bg-elevated: #ffffff;
  --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 8px 28px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.04);
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-pill: 980px;
  --ease-out: cubic-bezier(0.25, 0.1, 0.25, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "Helvetica Neue", system-ui, sans-serif;
  --tap-target: 44px;
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--label-primary);
  background: var(--bg-grouped);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.page {
  width: min(100% - 2rem, 420px);
  margin: 0 auto;
  padding: 2.5rem 0 3rem;
}

.identity {
  text-align: center;
  margin-bottom: 1.5rem;
  animation: rise 420ms var(--ease-out) both;
}

.logo {
  display: block;
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--bg-elevated);
  box-shadow: var(--shadow-md);
}

.badge {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.25rem 0.65rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--apple-blue);
  background: rgba(0, 122, 255, 0.12);
  border-radius: var(--radius-pill);
}

.brand {
  margin: 0;
  font-size: clamp(2rem, 8vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.tagline {
  margin: 0.4rem 0 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--label-secondary);
}

.lede {
  margin: 0.55rem auto 0;
  max-width: 28ch;
  font-size: 0.9375rem;
  color: var(--label-secondary);
}

.panel {
  margin-top: 1rem;
  padding: 1.15rem 1rem 1.2rem;
  background: var(--bg-elevated);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 0.5px solid rgba(0, 0, 0, 0.04);
  animation: rise 480ms var(--ease-out) both;
}

.panel + .panel {
  animation-delay: 60ms;
}

.group-label {
  margin: 0 0 0.75rem 0.15rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--label-secondary);
  text-transform: uppercase;
}

.links {
  display: grid;
  gap: 0.65rem;
}

.link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap-target);
  padding: 0.65rem 1.25rem;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: center;
  border-radius: var(--radius-pill);
  color: var(--label-primary);
  background: var(--fill-secondary);
  transition:
    background 0.2s var(--ease-out),
    color 0.2s var(--ease-out),
    transform 0.2s var(--ease-out);
}

.link:hover,
.link:focus-visible {
  background: var(--fill-primary);
  outline: none;
}

.link:active {
  transform: scale(0.98);
}

.link-primary {
  color: #fff;
  background: var(--apple-blue);
}

.link-primary:hover,
.link-primary:focus-visible {
  background: var(--apple-blue-hover);
}

.link-primary:active {
  background: var(--apple-blue-pressed);
}

.committee-dropdown {
  position: relative;
}

.committee-summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  gap: 0.45rem;
}

.committee-summary::-webkit-details-marker {
  display: none;
}

.committee-summary::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.2s var(--ease-out);
}

.committee-dropdown[open] .committee-summary::after {
  transform: rotate(225deg) translateY(-1px);
}

.committee-dropdown[open] .committee-summary {
  border-radius: var(--radius-lg);
}

.committee-list {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.65rem;
  padding: 0.35rem;
  background: var(--fill-tertiary);
  border-radius: var(--radius-lg);
}

.committee-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  padding: 0.55rem 0.85rem;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--label-primary);
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  transition: background 0.2s var(--ease-out);
}

.committee-list a::after {
  content: "→";
  color: var(--apple-blue);
  font-weight: 500;
}

.committee-list a:hover,
.committee-list a:focus-visible {
  background: rgba(0, 122, 255, 0.08);
  outline: none;
}

.footer {
  margin-top: 1.75rem;
  text-align: center;
  animation: rise 520ms var(--ease-out) 100ms both;
}

.footer p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--label-secondary);
}

.footer-meta {
  margin-top: 0.25rem !important;
  color: #aeaeb2 !important;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
