/* Carey Creative — link-in-bio page (/links/), for social media profiles.
   A single phone-width column on a lavender-to-peach gradient. */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&display=swap');

body { margin: 0; background: #b9b3f6; }

.lb {
  --font-body: 'DM Sans', system-ui, sans-serif;
  --lb-indigo: #4e36a6;
  --lb-indigo-hover: #6654e8;
  font-family: var(--font-body);
  min-height: 100vh;
  min-height: 100svh;
  box-sizing: border-box;
  /* The brand gradient at 70% over white, so it reads a little softer. */
  background:
    linear-gradient(160deg, rgba(155, 147, 242, .7) 0%, rgba(201, 179, 224, .7) 50%, rgba(255, 208, 154, .7) 100%),
    var(--paper);
  color: var(--ink-950);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 56px 20px 40px;
}
.lb a { text-decoration: none; }
.lb a:focus-visible { outline: 2px solid var(--ink-950); outline-offset: 3px; }

.lb__inner {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

/* ---------- Profile ---------- */
.lb-profile { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.lb-profile__avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(11, 11, 9, .15);
}
.lb-profile__avatar img { width: 62px; height: auto; display: block; }
.lb-profile__text { display: flex; flex-direction: column; gap: 8px; }
.lb-profile__name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -.01em;
}
.lb-profile__tagline { margin: 0; font-size: 15px; line-height: 1.55; color: #1f1e1b; max-width: 340px; text-wrap: pretty; }

/* ---------- Links ----------
   Each style restates its text colour on hover, over the site-wide a:hover colour. */
.lb-links { width: 100%; display: flex; flex-direction: column; gap: 12px; }
.lb-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 14px;
  padding: 20px 22px;
  font-size: 16px;
  font-weight: 600;
  transition: background-color .15s ease, transform .15s ease;
}
.lb-link:hover { transform: translateY(-1px); }
.lb-link__arrow { font-size: 18px; transition: transform .15s ease; }
.lb-link:hover .lb-link__arrow { transform: translateX(3px); }

.lb-link--featured {
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  background: var(--paper);
  color: var(--ink-950);
  box-shadow: 0 10px 30px rgba(11, 11, 9, .10);
}
.lb-link--featured:hover { background: #fbf8f3; color: var(--ink-950); }
.lb-link__kicker { font-family: var(--font-mono); font-size: 11px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--lb-indigo); }
.lb-link__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lb-link__title { font-family: var(--font-display); font-weight: 700; font-size: 21px; line-height: 1.2; }
.lb-link--featured .lb-link__arrow { font-size: 20px; }
.lb-link__desc { font-size: 14px; font-weight: 400; line-height: 1.5; color: #3a3833; }

.lb-link--indigo { background: var(--lb-indigo); color: var(--paper); }
.lb-link--indigo:hover { background: var(--lb-indigo-hover); color: var(--paper); }
.lb-link--dark { background: var(--ink-950); color: var(--paper); }
.lb-link--dark:hover { background: #000; color: var(--paper); }
.lb-link--light { background: rgba(255, 255, 255, .55); color: var(--ink-950); }
.lb-link--light:hover { background: rgba(255, 255, 255, .8); color: var(--ink-950); }

/* ---------- Footer ---------- */
.lb-footer { display: flex; flex-direction: column; align-items: center; gap: 10px; padding-top: 12px; text-align: center; }
.lb-footer a { font-family: var(--font-mono); font-size: 14px; color: var(--ink-950); }
.lb-footer a:hover { color: var(--lb-indigo); }
.lb-footer__logo { margin-top: 20px; }
.lb-footer__logo img { height: 12px; display: block; opacity: .8; }

@media (prefers-reduced-motion: reduce) {
  .lb-link, .lb-link__arrow { transition: none; }
  .lb-link:hover, .lb-link:hover .lb-link__arrow { transform: none; }
}
