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

body {
  cursor: url("../cursor.png") 24 0, auto;
  background: #fff;
  color: #222;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  padding: 40px 60px 60px 100px;
  max-width: 960px;
}

/* ── Text selection ── */
::selection {
  background: #ff2dff;
  color: #fff;
}

/* ── Header ── */
header {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 56px;
}

header a {
  display: flex;
  align-items: center;
  color: #222;
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.2s;
}

header a:hover { opacity: 1; }

header svg {
  width: 22px;
  height: 22px;
  fill: #222;
}

/* ── Hero text ── */
h1 {
  font-size: clamp(52px, 15vw, 140px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -3px;
  margin-bottom: 16px;
}

.subheading {
  font-size: 22px;
  font-weight: 600;
  color: #555;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.definition {
  font-size: 17px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 64px;
  max-width: 560px;
}

/* ── Collapsible sections ── */
.section {
  margin-bottom: 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  user-select: none;
}

.section-header h2 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -1px;
}

.toggle-icon {
  font-size: 32px;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #222;
}

.section.open .toggle-icon {
  transform: rotate(45deg);
}

.section-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.section.open .section-body {
  max-height: 3000px;
}

.section-body-inner {
  padding-bottom: 48px;
}

/* ── Items ── */
.item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  padding: 36px 0;
  border-bottom: 1px solid #e0e0e0;
}

.item:last-child {
  border-bottom: none;
}

.item-text h3 {
  font-size: 26px;
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.item-text p {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 12px;
}

.item-text a {
  font-size: 14px;
  font-weight: 700;
  color: #222;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.item-text a:hover { opacity: 0.5; }

.item-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Footer ── */
footer {
  position: fixed;
  bottom: 20px;
  right: calc(max(0px, 100vw - 960px) + 60px);
  text-align: right;
}

footer p {
  font-size: 11px;
  color: #aaa;
}

footer a {
  font-size: 11px;
  font-weight: normal;
  color: #aaa;
  text-decoration: none;
}

footer a:hover,
footer a:visited,
footer a:active {
  color: #aaa;
  text-decoration: none;
}

/* ── Tablet (641px – 900px) ── */
@media (max-width: 900px) {
  body { padding: 32px 40px 60px 60px; }
  footer { right: 40px; }
}

/* ── Mobile (≤ 640px) ── */
@media (max-width: 640px) {
  body { padding: 24px 20px 60px 20px; }
  h1 { letter-spacing: -1px; }
  .item { grid-template-columns: 1fr; gap: 20px; }
  .definition { max-width: 100%; margin-bottom: 40px; }
  .section-body-inner { padding-bottom: 32px; }
  .item { padding: 24px 0; }
  footer { right: 20px; }
}
