:root {
  --bg: #ffffff;
  --fg: #0a0a0a;
  --muted: #8a8a8a;
  --border: #0a0a0a;
  --gap: 20px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  padding: 40px 24px;
}

.page {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  opacity: 0;
  animation: rise 0.7s ease forwards 0.1s;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

.photo {
  width: 88px;
  flex-shrink: 0;
}

.photo__img {
  width: 100%;
  display: block;
  box-shadow: 0 28px 50px -14px rgba(0, 0, 0, 0.5);
}

.brand {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  min-width: 0;
}

.brand__logo {
  width: 100%;
  max-width: 220px;
  height: auto;
  display: block;
}

.links {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px 22px;
  border: 1px solid var(--border);
  border-radius: 999px;
  text-decoration: none;
  color: var(--fg);
  font-size: 13px;
  letter-spacing: 0.06em;
  font-weight: 500;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.link__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

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

.footer {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 380px) {
  .page { gap: 28px; }
  .hero { gap: 14px; }
  .brand__logo { max-width: 140px; }
  .photo { width: 64px; }
}
