:root {
  --bg-top: #f7f9fc;
  --bg-bottom: #edf2f8;
  --text: #16233b;
  --muted: #55657f;
  --line: #d7e0ea;
  --card: rgba(255, 255, 255, 0.82);
  --link: #1f5fbf;
  --shadow: 0 10px 30px rgba(18, 34, 58, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
  min-height: 100vh;
}

main {
  width: min(820px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 80px;
  display: grid;
  gap: 28px;
}

.hero {
  display: grid;
  gap: 14px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero p {
  margin: 0;
  max-width: 680px;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--muted);
}

.hero p:first-of-type {
  color: var(--text);
}

.subhead {
  color: var(--muted);
}

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
}

h2 {
  margin: 0 0 8px;
  font-size: 1.9rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  line-height: 1.3;
}

.section-note {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.project {
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid #e7edf4;
}

.project:first-of-type {
  padding-top: 0;
  margin-top: 8px;
  border-top: none;
}

.project p {
  margin: 0 0 10px;
  color: #33415c;
  line-height: 1.6;
}

a {
  color: var(--link);
  text-decoration: none;
  font-weight: 500;
}

a:hover {
  text-decoration: underline;
}

.item-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.item-list li {
  padding: 10px 0;
  border-top: 1px solid #e7edf4;
  line-height: 1.55;
}

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

.music-block + .music-block {
  margin-top: 24px;
}

@media (max-width: 640px) {
  main {
    width: min(100% - 32px, 820px);
    padding: 48px 0 56px;
    gap: 20px;
  }

  .panel {
    padding: 22px;
    border-radius: 16px;
  }

  .hero p {
    font-size: 1rem;
  }

  h2 {
    font-size: 1.65rem;
  }
}
