:root {
  --bg: #232323;
  --surface-strong: #161616;
  --line: rgba(255, 255, 255, 0.12);
  --text: #f3f0ea;
  --muted: #8f8a84;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", "Helvetica Neue", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #2a2a2a 0%, var(--bg) 100%);
}

p,
h1,
h2,
h3 {
  margin: 0;
}

button {
  font: inherit;
}

.site {
  width: min(calc(100% - 32px), 860px);
  margin: 0 auto;
  padding: 72px 0 88px;
}

.masthead {
  display: grid;
  gap: 20px;
  margin-bottom: 40px;
}

.eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.masthead h1,
.panel h2 {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  letter-spacing: -0.04em;
}

.masthead h1 {
  font-size: clamp(3.6rem, 8vw, 6.8rem);
  line-height: 0.92;
  max-width: none;
  white-space: nowrap;
}

.intro,
.panel-text,
.list-item p {
  color: var(--muted);
  line-height: 1.9;
  font-size: 1.02rem;
}

.intro,
.panel-text {
  max-width: 42rem;
}

.tabs {
  display: inline-flex;
  gap: 10px;
  padding: 4px 0;
  margin-bottom: 28px;
}

.tab {
  border: 0;
  border-radius: 999px;
  min-height: 68px;
  min-width: 170px;
  padding: 0 34px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 120ms ease;
}

.tab:hover,
.tab:focus-visible {
  color: #faf7f2;
  background: rgba(255, 255, 255, 0.08);
}

.tab.is-pressing {
  color: #9f968c;
  transform: translateY(1px);
}

.tab.is-active {
  color: #faf7f2;
  background: var(--surface-strong);
}

.panel {
  display: none;
  gap: 16px;
  padding: 8px 0 0;
}

.panel.is-active {
  display: grid;
}

.panel h2 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  line-height: 0.96;
  margin-bottom: 4px;
}

.list {
  display: grid;
  gap: 22px;
  margin-top: 10px;
}

.list-item {
  display: grid;
  gap: 10px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.list-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.list-item h3 {
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
}

th,
td {
  padding: 18px 0;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

tbody tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 640px) {
  .site {
    width: min(calc(100% - 20px), 860px);
    padding: 32px 0 48px;
  }

  .tabs {
    width: 100%;
    justify-content: stretch;
  }

  .tab {
    flex: 1;
    min-width: 0;
    min-height: 60px;
    padding: 0 16px;
  }

  .panel {
    padding: 8px 0 0;
  }
}
