:root {
  --bg-top: #edf1f8;
  --bg-bottom: #dde5f0;
  --ink: #1a2433;
  --ink-soft: #4a5868;
  --surface: rgba(255, 255, 255, 0.58);
  --surface-hover: rgba(255, 255, 255, 0.82);
  --line: rgba(26, 36, 51, 0.14);
  --line-hover: rgba(26, 95, 180, 0.38);
  --accent: #1a5fb4;
  --accent-ink: #f4f8fc;
  --icon-bg: rgba(26, 95, 180, 0.11);
  --radius: 14px;
  --font: "Outfit", sans-serif;
  --max: 420px;
  --logo-max-height: 48px;
  --logo-max-width: 200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 50% -10%, rgba(26, 95, 180, 0.14), transparent 60%),
    linear-gradient(165deg, var(--bg-top), var(--bg-bottom));
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

.page {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 2.5rem 0 2rem;
}

.site-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
  animation: rise 0.55s ease both;
}

.logo {
  display: inline-flex;
  line-height: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
  color: var(--ink);
  text-decoration: none;
}

.logo:hover {
  transform: scale(1.03);
  opacity: 0.9;
}

.logo img {
  display: block;
  width: auto;
  height: auto;
  max-height: var(--logo-max-height);
  max-width: var(--logo-max-width);
  object-fit: contain;
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.site-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.intro {
  margin: 0;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.98rem;
  font-weight: 450;
  letter-spacing: 0.01em;
  animation: rise 0.55s ease 0.08s both;
}

.button-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn {
  --delay: 0.12s;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
  animation: rise 0.55s ease both;
  animation-delay: var(--delay);
}

.btn:hover {
  background: var(--surface-hover);
  border-color: var(--line-hover);
}

.btn:active {
  background: rgba(255, 255, 255, 0.65);
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  background: var(--icon-bg);
  color: var(--accent);
  font-size: 1.35rem;
  line-height: 1;
}

.btn-icon .ph {
  display: block;
}

.btn-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.btn-label {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.btn-desc {
  font-size: 0.82rem;
  font-weight: 450;
  color: var(--ink-soft);
  line-height: 1.35;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 420px) {
  .page {
    width: min(100% - 1.5rem, var(--max));
    padding-top: 2rem;
  }

  .btn {
    padding: 0.95rem 1rem;
  }

  .btn-label {
    font-size: 0.98rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
