:root {
  --ink: #1d211f;
  --muted: #6e7470;
  --paper: #f7f7f4;
  --white: #ffffff;
  --accent: #dfff67;
  --line: #d9dcd8;
  --sans: "Segoe UI", "Yu Gothic UI", "Hiragino Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
}

body {
  width: min(100% - 48px, 1080px);
  margin: 0 auto;
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  display: flex;
  height: 80px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.logo {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.github-link {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.github-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

main {
  padding: 78px 0 72px;
}

.intro {
  display: grid;
  margin-bottom: 70px;
  grid-template-columns: 130px minmax(320px, 1fr) minmax(240px, 0.65fr);
  align-items: end;
  gap: 30px;
}

.label {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(2.8rem, 5.5vw, 4.6rem);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 1.08;
}

.intro-copy {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.9;
}

.section-header {
  display: flex;
  padding-bottom: 14px;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid var(--ink);
}

.section-header h2 {
  margin-bottom: 0;
  font-size: 1rem;
  font-weight: 600;
}

.section-header span {
  color: var(--muted);
  font-size: 0.7rem;
}

.app-list {
  border-bottom: 1px solid var(--line);
}

.app-item {
  display: grid;
  min-height: 210px;
  padding: 28px 0;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  gap: 36px;
  transition: opacity 160ms ease;
}

.app-item:hover {
  opacity: 0.68;
}

.app-icon {
  display: grid;
  width: 150px;
  height: 150px;
  place-items: center;
  border-radius: 30px;
  background: var(--accent);
  font-size: 3rem;
  font-weight: 600;
}

.app-status {
  display: inline-block;
  margin-bottom: 13px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 50px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 600;
}

.app-info h3 {
  margin-bottom: 9px;
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.app-info > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.app-number {
  align-self: start;
  padding-top: 8px;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
}

footer {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.68rem;
}

footer p {
  margin-bottom: 0;
}

@media (max-width: 760px) {
  body {
    width: min(100% - 32px, 1080px);
  }

  main {
    padding: 55px 0;
  }

  .intro {
    margin-bottom: 52px;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .label,
  .intro-copy {
    margin-bottom: 0;
  }

  .intro-copy {
    max-width: 440px;
  }

  .app-item {
    grid-template-columns: 110px 1fr;
    gap: 22px;
  }

  .app-icon {
    width: 110px;
    height: 110px;
    border-radius: 24px;
    font-size: 2.8rem;
  }

  .app-number {
    display: none;
  }
}

@media (max-width: 460px) {
  .site-header {
    height: 68px;
  }

  h1 {
    font-size: 2.7rem;
  }

  .app-item {
    grid-template-columns: 1fr;
  }

  .app-icon {
    width: 100%;
    height: 150px;
  }

  footer {
    padding: 24px 0;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
  }
}
