:root {
  color-scheme: light;
  --ink: #14102e;
  --muted: #6a6572;
  --paper: #f7f4f0;
  --card: rgba(255, 255, 255, 0.92);
  --purple: #5a2785;
  --purple-dark: #361455;
  --indigo: #3029bd;
  --cyan: #49c8da;
  --pink: #f34e6e;
  --line: rgba(40, 30, 57, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 14% 7%, rgba(73, 200, 218, 0.22), transparent 29rem),
    radial-gradient(circle at 92% 18%, rgba(243, 78, 110, 0.15), transparent 25rem),
    linear-gradient(160deg, #fff 0%, var(--paper) 52%, #f4eef7 100%);
}

body::before,
body::after {
  position: fixed;
  z-index: -1;
  width: 17rem;
  height: 17rem;
  content: "";
  border: 1px solid rgba(90, 39, 133, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

body::before {
  top: -10rem;
  left: -8rem;
}

body::after {
  right: -9rem;
  bottom: -11rem;
}

.page-shell {
  width: min(100% - 2rem, 38rem);
  margin-inline: auto;
  padding: 2.4rem 0 2rem;
}

.profile {
  text-align: center;
  animation: enter 600ms ease-out both;
}

.eyebrow {
  margin: 0 0 1.5rem;
  color: var(--purple);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.logo-link {
  display: block;
  width: fit-content;
  margin: 0 auto 1.5rem;
  border-radius: 0.5rem;
}

.logo {
  display: block;
  width: min(15.5rem, 58vw);
  height: auto;
}

h1 {
  margin: 0;
  color: #39201a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 8vw, 3.15rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.intro {
  max-width: 31rem;
  margin: 1rem auto 1.25rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.social-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin: 0 auto 2rem;
}

.social-shortcuts a {
  display: inline-flex;
  min-height: 2.75rem;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  border: 1px solid rgba(90, 39, 133, 0.2);
  border-radius: 999px;
  color: var(--purple-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 0.45rem 1.4rem rgba(44, 30, 61, 0.07);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.social-shortcuts a:hover {
  border-color: rgba(90, 39, 133, 0.42);
  box-shadow: 0 0.7rem 1.7rem rgba(44, 30, 61, 0.12);
  transform: translateY(-2px);
}

.social-shortcuts a:first-child span {
  color: #c22975;
  font-size: 1.15rem;
}

.social-shortcuts a:last-child span {
  color: #111;
  font-size: 1rem;
}

.link-list {
  display: grid;
  gap: 0.78rem;
}

.link-card {
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  gap: 0.9rem;
  align-items: center;
  min-height: 5.05rem;
  padding: 0.72rem 1rem 0.72rem 0.72rem;
  color: var(--ink);
  text-decoration: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  box-shadow: 0 0.55rem 1.8rem rgba(44, 30, 61, 0.07);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  animation: enter 550ms ease-out both;
}

.link-card:nth-child(2) { animation-delay: 60ms; }
.link-card:nth-child(3) { animation-delay: 120ms; }
.link-card:nth-child(4) { animation-delay: 180ms; }
.link-card:nth-child(5) { animation-delay: 240ms; }

.link-card:hover {
  z-index: 1;
  transform: translateY(-2px);
  border-color: rgba(90, 39, 133, 0.33);
  box-shadow: 0 0.9rem 2.1rem rgba(44, 30, 61, 0.13);
}

.link-card:focus-visible,
.logo-link:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.link-card--featured {
  color: #fff;
  background: linear-gradient(120deg, var(--purple-dark), var(--purple) 58%, var(--indigo));
  border-color: transparent;
  box-shadow: 0 0.9rem 2.4rem rgba(90, 39, 133, 0.25);
}

.link-card--featured:hover {
  border-color: transparent;
  box-shadow: 0 1rem 2.7rem rgba(90, 39, 133, 0.33);
}

.link-card--reserve {
  border-color: rgba(57, 146, 101, 0.28);
}

.icon {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  color: var(--purple);
  background: #f3edf8;
  border-radius: 1rem;
}

.icon svg {
  width: 1.55rem;
  height: 1.55rem;
  fill: currentColor;
}

.icon .outline-icon {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.link-card--featured .icon {
  color: var(--purple-dark);
  background: #fff;
}

.link-card--reserve .icon {
  color: #1d7f50;
  background: #e9f7ef;
}

.link-copy {
  display: grid;
  gap: 0.23rem;
  min-width: 0;
}

.link-copy strong {
  font-size: 0.93rem;
  font-weight: 850;
  letter-spacing: 0.045em;
}

.link-copy small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.3;
  text-overflow: ellipsis;
}

.link-card--featured small {
  color: rgba(255, 255, 255, 0.75);
}

.arrow {
  font-size: 1.15rem;
  font-weight: 700;
}

.footer {
  display: grid;
  gap: 0.8rem;
  justify-items: center;
  padding-top: 2rem;
  text-align: center;
}

.footer a {
  color: var(--purple);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.footer p {
  margin: 0;
  color: #817a85;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.footer .footer-legal {
  color: #817a85;
  font-size: 0.68rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.footer .footer-legal:hover {
  color: var(--purple-dark);
}

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

@media (min-width: 46rem) {
  .page-shell {
    padding-block: 3.2rem 2.4rem;
  }

  .link-card {
    min-height: 5.35rem;
  }
}

@media (max-width: 25rem) {
  .page-shell {
    width: min(100% - 1.2rem, 38rem);
    padding-top: 1.5rem;
  }

  .eyebrow {
    font-size: 0.61rem;
  }

  .link-card {
    grid-template-columns: 2.75rem 1fr auto;
    gap: 0.7rem;
  }

  .icon {
    width: 2.75rem;
    height: 2.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
