:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #171717;
  background: #f8f8f6;
  font-synthesis: none;
  line-height: 1.6;
}

* { box-sizing: border-box; }

body { margin: 0; }

.page {
  width: min(100% - 40px, 680px);
  margin: 0 auto;
  padding: 56px 0 32px;
}

.brand {
  display: block;
  width: min(240px, 100%);
  height: auto;
  margin: 0 auto 28px;
  object-fit: contain;
}

.environment {
  margin: 0 0 24px;
  text-align: center;
  font-size: 0.875rem;
  color: #545450;
}

.environment span {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid #d9d9d4;
  border-radius: 100px;
}

.panel {
  padding: 36px;
  border-radius: 24px;
  background: #efefec;
}

.eyebrow {
  margin: 0 0 12px;
  color: #545450;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 20px;
  font-size: clamp(1.75rem, 4.5vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.035em;
  overflow-wrap: break-word;
}

p { margin: 0 0 16px; }
.panel > :last-child { margin-bottom: 0; }
.secondary { color: #545450; }

.route-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.route-list a {
  display: block;
  height: 100%;
  padding: 20px;
  border: 1px solid #d9d9d4;
  border-radius: 16px;
  color: inherit;
  background: #f8f8f6;
  font-weight: 600;
  text-decoration: none;
}

.route-list a:hover { border-color: #545450; }

.back-link {
  display: inline-block;
  margin-top: 24px;
  color: #171717;
  text-underline-offset: 4px;
}

a:focus-visible {
  outline: 2px solid #171717;
  outline-offset: 4px;
}

footer {
  padding: 24px 8px 0;
  color: #545450;
  font-size: 0.875rem;
  text-align: center;
}

@media (max-width: 480px) {
  .page { padding-top: 28px; }
  .brand { width: 210px; margin-bottom: 20px; }
  .panel { padding: 24px; border-radius: 20px; }
  .route-list { grid-template-columns: 1fr; }
}
