:root {
  color-scheme: dark;
  font-family: "Malgun Gothic", "Apple SD Gothic Neo", system-ui, sans-serif;
  background: #0d1420;
  color: #eff5ff;
}

body { margin: 0; }

main {
  box-sizing: border-box;
  max-width: 56rem;
  margin-inline: auto;
  padding: clamp(2rem, 8vw, 6rem) 1.25rem;
}

header { margin-bottom: 2.5rem; }
h1 { margin: 0.4rem 0; font-size: clamp(2rem, 6vw, 3.5rem); }
p { color: #aebed4; }
.brand { color: #75e6ce; font-weight: 700; letter-spacing: 0.18em; }

ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem 0.75rem;
  padding: 1.4rem;
  border: 1px solid #354760;
  border-radius: 1rem;
  background: #172439;
  color: inherit;
  text-decoration: none;
}

a::after {
  content: "";
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  width: 0.5rem;
  height: 0.5rem;
  border-top: 2px solid #75e6ce;
  border-right: 2px solid #75e6ce;
  transform: rotate(45deg);
}

a:hover, a:focus-visible { background: #20314a; border-color: #75e6ce; }
a:focus-visible { outline: 2px solid #75e6ce; outline-offset: 3px; }
strong { font-size: 1.25rem; }
span { color: #aebed4; font-size: 0.9rem; overflow-wrap: anywhere; }
