:root {
  color-scheme: dark;
  --background: #111111;
  --surface: #1c1c1e;
  --text: #f5f5f7;
  --muted: #a1a1a8;
  --accent: #0a84ff;
  --line: #36363a;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  line-height: 1.7;
}

main {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding-bottom: 72px;
}

.masthead {
  padding: 64px 0 42px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}

.app-icon {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  border-radius: 16px;
}

.app-name {
  margin: 0 0 2px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 700;
}

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

h1 {
  margin-bottom: 14px;
  font-size: 40px;
  line-height: 1.2;
}

h2 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.35;
}

p,
li,
dt,
dd {
  font-size: 16px;
}

.summary {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

section {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

li + li {
  margin-top: 8px;
}

a {
  color: var(--accent);
}

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 8px;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 750;
  text-decoration: none;
}

.action:hover {
  background: #409cff;
}

.details {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 8px 20px;
  margin: 18px 0 0;
}

.details dt {
  color: var(--muted);
}

.details dd {
  margin: 0;
}

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

footer {
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

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

  .masthead {
    padding-top: 42px;
  }

  .app-icon {
    width: 62px;
    height: 62px;
    flex-basis: 62px;
    border-radius: 14px;
  }

  h1 {
    font-size: 32px;
  }

  .summary {
    font-size: 17px;
  }

  .details {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .details dd + dt {
    margin-top: 10px;
  }
}
