:root {
  --bg: #FAF6EF;
  --link-bg: #1266E0;
  --link-bg-hover: #0d52ba;
  --link-text: #ffffff;
  --divider: #E0D9C8;
  --text: #2A1A1D;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  padding: max(2rem, env(safe-area-inset-top)) max(1.25rem, env(safe-area-inset-right)) max(2rem, env(safe-area-inset-bottom)) max(1.25rem, env(safe-area-inset-left));
  overflow-x: hidden;
}

.page {
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo {
  width: 100%;
  max-width: 220px;
  height: auto;
  margin-bottom: 2.75rem;
}

.links {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.link-divider {
  border: none;
  border-top: 1px solid var(--divider);
  width: 100%;
  margin: 1.4rem 0;
}

.link-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1.1rem 1.5rem;
  background: var(--link-bg);
  color: var(--link-text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 12px;
  transition: background 0.15s ease, transform 0.15s ease;
}

.link-btn:hover,
.link-btn:focus-visible {
  background: var(--link-bg-hover);
}

.link-btn:active {
  transform: scale(0.98);
}

@media (prefers-reduced-motion: reduce) {
  .link-btn { transition: none; }
}

@media (max-width: 480px) {
  .logo { max-width: 170px; margin-bottom: 2rem; }
  .link-btn { padding: 1rem 1.25rem; font-size: 1rem; }
  .link-divider { margin: 1.1rem 0; }
}
