:root {
  color-scheme: light;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  background: #fff;
}

* { box-sizing: border-box; }
body { margin: 0; background: #fff; }

main {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px;
}

nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: min(100%, 26rem);
}

nav a {
  display: grid;
  place-items: center;
  min-height: 58px;
  padding: 12px 20px;
  border-radius: 12px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
}

.wake { background: #147447; }
.codex { background: #ba4d08; }
@media (hover: hover) {
  .wake:hover { background: #105f3a; }
  .codex:hover { background: #a44206; }
}
nav a:focus-visible { outline: 3px solid #20252a; outline-offset: 4px; }
nav a:active { transform: translateY(1px); }

@media (max-width: 460px) {
  nav { width: min(100%, 18rem); grid-template-columns: 1fr; gap: 12px; }
}
