* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100dvh;

  background: #ffffff;
  color: #111111;

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Text",
    "SF Pro Display",
    "Helvetica Neue",
    Arial,
    sans-serif;

  -webkit-font-smoothing: antialiased;
}

main {
  width: min(100%, 680px);

  margin: 0 auto;
  padding: 80px 24px 60px;
}

h1 {
  margin: 0 0 10px;

  font-size: clamp(2.5rem, 10vw, 5.5rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.sections {
  width: 100%;
}

.subtitle {
  margin: 0 0 10px;
  font-size: 1.3rem;
  color: #111111;
  line-height: 1.4;
}


/* sections */

details {
  border-top: 1px solid #d9d9d9;
}

details:last-child {
  border-bottom: 1px solid #d9d9d9;
}


/* title before stuff below*/

summary {
  position: relative;

  padding: 22px 36px 22px 0;

  cursor: pointer;

  list-style: none;

  font-size: 1.15rem;
  font-weight: 500;

  user-select: none;
}

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


/* plus symbol that rotates*/

summary::after {
  content: "+";

  position: absolute;
  right: 4px;
  top: 50%;

  transform: translateY(-50%);

  font-size: 1.5rem;
  font-weight: 300;

  transition: transform 0.2s ease;
}

details[open] summary::after {
  transform:
    translateY(-50%)
    rotate(45deg);
}


/* content below */

.content {
  padding: 0 0 28px;

  font-size: 1rem;
  line-height: 1.65;

  color: #444444;
}

.content p {
  margin: 0 0 18px;
}

.content p:last-child {
  margin-bottom: 0;
}


/* links */

a {
  color: #111111;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  opacity: 0.55;
}


/* mobile stuff */

.mobile-break {
  display: none;
}


@media (max-width: 600px) {
  .mobile-break {
    display: inline;
  }
  
  main {
    padding: 48px 22px 40px;
  }

  h1 {
    margin-bottom: 48px;

    font-size: clamp(2.6rem, 15vw, 4.5rem);
  }

  summary {
    padding-top: 20px;
    padding-bottom: 20px;

    font-size: 1.1rem;
  }

  .content {
    font-size: 0.98rem;
  }
}
