*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #f3f3f3;
  --bg-elevated: #ffffff;
  --ink: #0a0a0a;
  --ink-muted: #525252;
  --line: rgba(0, 0, 0, 0.08);
  --line-soft: rgba(0, 0, 0, 0.06);
  --section-label: #737373;
  --card-shadow: 0 12px 36px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08);
  --card-shadow-hover: 0 18px 48px rgba(0, 0, 0, 0.16), 0 6px 16px rgba(0, 0, 0, 0.1);
  --radius-lg: 1.125rem;
  --radius-pill: 999px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --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(--ink);
  background: var(--bg);
}

.canvas {
  position: relative;
  min-height: 100dvh;
  overflow-x: clip;
}

.canvas__glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(255, 255, 255, 0.9), transparent 55%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(0, 0, 0, 0.04), transparent 60%);
}

.page {
  position: relative;
  z-index: 1;
  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.125rem;
}

.logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 0.35rem;
  padding: 0.5rem 0.65rem;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
}

.logo {
  display: block;
  width: auto;
  height: 2.75rem;
  max-width: 7.5rem;
  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(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.28s var(--ease),
    box-shadow 0.32s var(--ease),
    background 0.32s var(--ease),
    border-color 0.32s var(--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);
    border-color: rgba(0, 0, 0, 0.12);
    background: #fafafa;
  }
}

.link-card__icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-pill);
  background: #ececec;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: background 0.32s var(--ease), color 0.32s var(--ease);
}

@media (hover: hover) {
  .link-card:hover .link-card__icon {
    background: #e0e0e0;
  }
}

.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(--ink-muted);
  line-height: 1.3;
}

.link-card__chevron {
  flex-shrink: 0;
  color: #a3a3a3;
  display: flex;
  align-items: center;
  transition: transform 0.28s var(--ease), color 0.28s var(--ease);
}

@media (hover: hover) {
  .link-card:hover .link-card__chevron {
    color: var(--ink-muted);
    transform: translateX(2px);
  }
}

.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: #525252;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer__tag {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-muted);
  line-height: 1.4;
}
