/* incrementalfoundry.com/links: the one link for every bio. Builds on style.css (tokens, fonts, footer). */

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.links { max-width: 480px; margin: 0 auto; padding: 32px 16px 40px; display: flex; flex-direction: column; gap: 28px; }

.links-head { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.links-mascot { width: 96px; height: auto; animation: if-bob 2.6s ease-in-out infinite; }
.links-head h1 { font-size: 30px; margin-top: 4px; }
.links-lede { margin: 0; font-size: 13px; line-height: 1.6; color: var(--ink); }

.links section { display: flex; flex-direction: column; gap: 10px; }
.links .label { text-align: center; font-size: 11px; }

.feature { border: 2px dashed var(--navy); border-radius: 14px; padding: 16px 18px; background: var(--paper);
  display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.feature-name { font-family: var(--display); font-size: 28px; line-height: 1.1; color: var(--orange); }
.feature-line { font-size: 13px; color: var(--ink); }
.feature-soon { margin-top: 6px; font-size: 11px; letter-spacing: .2em; font-weight: 500; text-transform: uppercase;
  background: var(--navy); color: var(--cream); border-radius: 999px; padding: 4px 12px; }

.link-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.link { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 0 16px; border: 2px solid var(--navy);
  border-radius: 14px; background: var(--paper); color: var(--navy); transition: background .12s, color .12s, transform .06s; }
.link svg { width: 22px; height: 22px; flex: 0 0 22px; fill: currentColor; }
.link-name { font-family: var(--display); font-size: 19px; line-height: 1; }
.link-handle { margin-left: auto; font-size: 12px; color: var(--grey); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.link:hover, .link:focus-visible { background: var(--navy); color: var(--cream); }
.link:hover svg, .link:focus-visible svg { fill: var(--orange); }
.link:hover .link-handle, .link:focus-visible .link-handle { color: var(--stone); }
.link:active { transform: translateY(1px); }

.links footer { justify-content: center; text-align: center; }

@media (prefers-reduced-motion: reduce) { .links-mascot { animation: none; } }
@media (max-width: 360px) { .link-handle { display: none; } }
