*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg-center: #2c2c31;
  --bg-edge: #18181b;
  --text: #f4f4f5;
  --text-muted: #a1a1aa;
  --section-label: #71717a;
  --card: #35353c;
  --card-border: rgba(255, 255, 255, 0.08);
  --card-shadow: 0 10px 32px rgba(0, 0, 0, 0.45), 0 2px 8px rgba(0, 0, 0, 0.35);
  --card-shadow-hover: 0 14px 40px rgba(0, 0, 0, 0.55), 0 4px 12px rgba(0, 0, 0, 0.4);
  --icon-bg: #45454f;
  --icon-fg: #e4e4e7;
  --chevron: #71717a;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: radial-gradient(ellipse 120% 80% at 50% 0%, var(--bg-center) 0%, var(--bg-edge) 100%);
  background-attachment: fixed;
}

.page {
  max-width: 26rem;
  margin: 0 auto;
  padding:
    calc(1.5rem + var(--safe-top))
    calc(1.25rem + var(--safe-right))
    calc(2rem + var(--safe-bottom))
    calc(1.25rem + var(--safe-left));
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.hero {
  text-align: center;
  margin-bottom: 1.5rem;
}

.logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 0;
  margin-bottom: 0.5rem;
}

.logo {
  display: block;
  width: min(100%, 20rem);
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 0.35rem;
}

.sections {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.section__title {
  margin: 0 0 0.625rem;
  padding-left: 0.25rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--section-label);
}

.section__list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1rem 0.875rem 0.875rem;
  background: var(--card);
  border-radius: 1.125rem;
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  text-decoration: none;
  color: inherit;
  transition: transform 0.12s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.link-card:active {
  transform: scale(0.985);
}

@media (hover: hover) {
  .link-card:hover {
    box-shadow: var(--card-shadow-hover);
  }
}

.link-card__icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--icon-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--icon-fg);
}

.link-card__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.link-card__body {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.link-card__label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.link-card__sublabel {
  display: block;
  margin-top: 0.125rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.3;
}

.link-card__chevron {
  flex-shrink: 0;
  color: var(--chevron);
  display: flex;
  align-items: center;
}

.link-card__chevron svg {
  width: 1.125rem;
  height: 1.125rem;
}

.footer {
  margin-top: 2.5rem;
  text-align: center;
}

.footer__brand {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #d4d4d8;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer__tag {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.4;
}

.page--error {
  justify-content: center;
  text-align: center;
  color: var(--text-muted);
}
