@font-face {
  font-family: Saira;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/saira-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: Saira;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/saira-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: Saira;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/saira-latin-600-normal.woff2") format("woff2");
}

:root {
  --bg: #000000;
  --gold: #cc9900;
  --gold-bright: #e6b422;
  --ink: #f6f1e5;
  --mute: #a39e93;
  --line: rgba(204, 153, 0, 0.42);
  --card: rgba(204, 153, 0, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100dvh;
  background:
    radial-gradient(ellipse 90% 42% at 50% 0%, rgba(204, 153, 0, 0.16), transparent 58%),
    var(--bg);
  color: var(--ink);
  font-family: Saira, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page {
  width: min(100%, 26.5rem);
  margin: 0 auto;
  min-height: 100dvh;
  padding:
    max(1.75rem, env(safe-area-inset-top))
    1.25rem
    max(2rem, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brand {
  width: min(86%, 17.5rem);
  margin: 0.25rem 0 0;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.slogan {
  max-width: 22rem;
  margin: 0.15rem 0 1.5rem;
  text-align: center;
  color: var(--gold-bright);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.links {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.link {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 4.25rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--card);
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.link:hover {
  background: rgba(204, 153, 0, 0.12);
  border-color: rgba(230, 180, 34, 0.7);
}

.link:active {
  transform: scale(0.985);
  background: rgba(204, 153, 0, 0.18);
}

.link:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

.icon {
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  display: grid;
  place-items: center;
  color: var(--gold-bright);
  background: rgba(204, 153, 0, 0.1);
}

.icon svg {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
}

.copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.label {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.2;
}

.hint {
  color: var(--mute);
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.social {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin: auto 0 0;
  padding: 1.75rem 0 0;
}

.social a {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  color: var(--gold-bright);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: var(--card);
  -webkit-tap-highlight-color: transparent;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.social a:hover {
  background: rgba(204, 153, 0, 0.12);
  border-color: rgba(230, 180, 34, 0.7);
}

.social a:active {
  transform: scale(0.96);
  background: rgba(204, 153, 0, 0.18);
}

.social a:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

.social svg {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
  fill: currentColor;
}

.miss {
  margin: auto;
  text-align: center;
}

.miss h1 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.miss p {
  margin: 0 0 1.25rem;
  color: var(--mute);
}

@media (prefers-reduced-motion: reduce) {
  .link,
  .social a {
    transition: none;
  }
}
