@font-face {
  font-family: "Latitude";
  src: url("./Latitude-Regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color: #090909;
  background: #ffffff;
  font-family: "Latitude", Georgia, serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: #ffffff;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: #ffffff;
}

button {
  font: inherit;
}

.page {
  display: grid;
  grid-template-columns: minmax(10rem, 14vw) minmax(0, 1fr);
  column-gap: 0.5rem;
  min-height: 100vh;
  padding: 4.85rem 6.72vw 6rem;
}

.site-title {
  width: fit-content;
  margin: 0;
  font-size: clamp(1.7rem, 2.64vw, 2.04rem);
  font-weight: 400;
  line-height: 0.96;
  text-decoration: underline;
  text-decoration-thickness: 0.045em;
  text-underline-offset: 0.2em;
}

.manifesto-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  grid-column: 2;
  max-width: none;
  padding-right: 6.72vw;
  margin-top: -8px;
}

.manifesto-section {
  min-width: 0;
}

.section-heading {
  margin: 0;
  font-size: inherit;
  font-weight: 400;
}

.section-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.52rem;
  font-size: clamp(1.7rem, 2.89vw, 2.25rem);
  line-height: 0.98;
  min-height: 3rem;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.section-toggle:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 0.3rem;
}

.toggle-icon {
  position: relative;
  display: inline-block;
  flex: 0 0 0.98em;
  width: 0.98em;
  height: 0.98em;
  border: 1.5px solid currentColor;
}

.toggle-icon::before,
.toggle-icon::after {
  position: absolute;
  display: block;
  content: "";
  background: currentColor;
}

.toggle-icon::before {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1.5px;
  transform: translateX(-50%);
}

.toggle-icon::after {
  top: 50%;
  right: 0;
  left: 0;
  height: 1.5px;
  transform: translateY(-50%);
}

.section-toggle[aria-expanded="true"] .toggle-icon::before {
  display: none;
}

.section-label {
  display: inline-block;
  font-size: inherit;
  line-height: inherit;
  text-decoration: underline;
  text-decoration-thickness: 0.045em;
  text-underline-offset: 0.2em;
  transition: color 160ms ease;
}

.section-label:hover {
  color: #0000ff;
}

.section-content {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  margin: 0 0 0 0.52rem;
  max-width: none;
  transition: grid-template-rows 280ms ease, opacity 180ms ease, visibility 0s linear 280ms, margin-top 280ms ease;
}

.section-content.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
  visibility: visible;
  margin-top: 1.45rem;
  transition: grid-template-rows 280ms ease, opacity 180ms ease, visibility 0s linear 0s, margin-top 280ms ease;
}

.section-content ul {
  min-height: 0;
  margin: 0;
  padding-left: 1.1em;
  font-size: clamp(1.4rem, 2.68vw, 2.06rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.section-content li {
  padding-left: 0.06em;
  transition: color 160ms ease;
}

.section-content li:hover {
  color: #0000ff;
  cursor: zoom-in;
}

.section-content li+li {
  margin-top: calc(0.16em + 8px);
}

[hidden] {
  display: none !important;
}

@media (max-width: 640px) {
  .page {
    display: block;
    padding: 2.5rem 1.25rem 4rem;
  }

  .manifesto-list {
    gap: 2.7rem;
    padding-right: 0;
    margin-top: 4.25rem;
  }

  .toggle-icon {
    flex-basis: 0.98em;
    width: 0.98em;
    height: 0.98em;
  }

  .section-toggle {
    gap: 0.45rem;
    min-height: 2.45rem;
  }

  .section-content {
    margin-top: 0;
    margin-left: 2.9rem;
  }

  .section-content.is-open {
    margin-top: 1.1rem;
  }

  .section-content ul {
    padding-left: 1.05em;
    font-size: clamp(1.23rem, 5.95vw, 1.66rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
  }
}

@media (prefers-reduced-motion: reduce) {

  .section-content,
  .section-content.is-open {
    transition-duration: 0.01ms;
  }
}
