:root {
  color-scheme: light;
  --background: #fafaf9;
  --ink: #222326;
  --secondary: #696b73;
  --blue: #2459dc;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  color: var(--ink);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-width: 280px;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
}
::selection { color: #183778; background: #dce6ff; }

.main {
  width: min(100% - 48px, 460px);
  margin: auto;
  padding-block: 64px;
  text-align: center;
  animation: appear 650ms ease-out both;
}
.wordmark {
  margin: 0;
  padding-right: .07em;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(108px, 22vw, 160px);
  font-weight: 700;
  letter-spacing: -.075em;
  line-height: 1;
}
.wordmark-accent { color: var(--blue); }
.slogan {
  margin: 32px 0 0;
  font-size: clamp(20px, 4.9vw, 26px);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.4;
}
.tagline {
  margin: 12px 0 0;
  color: var(--secondary);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .015em;
  line-height: 1.7;
}

.sites {
  list-style: none;
  padding: 0;
  margin: 60px 0 0;
  display: grid;
  gap: 12px;
}
.site-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 104px;
  padding: 24px;
  border: 1px solid #e3e4e7;
  border-radius: 12px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  text-align: left;
  transition: border-color 180ms ease, background-color 180ms ease;
}
.site-info { display: grid; gap: 8px; }
.site-name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.4;
  transition: color 180ms ease;
}
.site-description {
  font-size: 13px;
  line-height: 1.6;
  color: var(--secondary);
  word-break: keep-all;
}
.site-domain {
  color: var(--secondary);
  font-size: 12px;
  line-height: 1.6;
  white-space: nowrap;
}
.site-link:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
  border-color: var(--blue);
}
@media (hover: hover) {
  .site-link:hover { background: #f6f8ff; border-color: #a8bbef; }
  .site-link:hover .site-name { color: var(--blue); }
}
.site-link:active { background: #eef2ff; }
.footer {
  padding: 0 24px 28px;
  text-align: center;
  color: var(--secondary);
  line-height: 1.6;
}
.footer small { font-size: 12px; letter-spacing: .02em; }
.footer a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer a:hover { color: var(--blue); }
.footer a:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }

@media (max-width: 420px) {
  .main { width: calc(100% - 40px); }
  .sites { margin-top: 48px; }
  .site-link { padding: 22px; }
  .site-domain { font-size: 11px; }
}
@media (max-width: 340px) {
  .site-link { flex-direction: column; align-items: flex-start; gap: 14px; }
}
@media (max-height: 620px) {
  .main { padding-block: 40px; }
  .wordmark { font-size: 104px; }
  .slogan { margin-top: 24px; }
  .sites { margin-top: 32px; }
  .footer { padding-bottom: 20px; }
}
@keyframes appear {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .main { animation: none; }
  .site-link, .site-name { transition: none; }
}
