:root {
  --bg: #f5eee4;
  --bg-deep: #e3c8a0;
  --surface: rgba(255, 250, 244, 0.86);
  --surface-strong: rgba(255, 244, 228, 0.94);
  --text: #1f140d;
  --muted: #6b5447;
  --line: rgba(31, 20, 13, 0.12);
  --accent: #b95a22;
  --accent-deep: #7f3712;
  --shadow: 0 22px 60px rgba(68, 36, 17, 0.14);
  --display: "Anton", "Arial Black", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 219, 179, 0.86), transparent 28%),
    radial-gradient(circle at bottom right, rgba(185, 90, 34, 0.16), transparent 24%),
    linear-gradient(180deg, #fbf6ef 0%, var(--bg) 52%, var(--bg-deep) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(31, 20, 13, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 20, 13, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 82%);
}

.page-shell {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 32px 20px 56px;
}

.linktree,
.site-footer {
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.linktree {
  padding: 32px 24px;
  text-align: center;
  background: linear-gradient(145deg, rgba(255, 250, 244, 0.92), rgba(255, 236, 208, 0.88));
}

.logo-wrap {
  display: grid;
  justify-items: center;
  gap: 16px;
}

.logo-mark {
  width: min(100%, 360px);
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 40px rgba(15, 8, 4, 0.35));
}

.eyebrow,
.footer-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--accent-deep);
}

h1,
h2 {
  margin: 0;
  font-family: var(--display);
  text-transform: uppercase;
}

h1 {
  margin-top: 18px;
  font-size: clamp(2.6rem, 9vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: 0.02em;
  width: min(100%, 24rem);
  margin-left: auto;
  margin-right: auto;
}

.intro,
.site-footer p,
.link-meta {
  color: var(--muted);
}

.intro {
  margin: 16px auto 0;
  width: min(100%, 24rem);
  font-size: 0.96rem;
  line-height: 1.65;
}

.links {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  text-decoration: none;
  color: var(--text);
  background: var(--surface);
  backdrop-filter: blur(8px);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.link-card:hover {
  transform: translateY(-2px);
  border-color: rgba(185, 90, 34, 0.36);
  box-shadow: 0 18px 34px rgba(68, 36, 17, 0.1);
}

.link-label {
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.link-meta {
  font-size: 0.94rem;
  text-align: right;
}

.site-footer {
  margin-top: 24px;
  padding: 28px 24px;
  background: var(--surface-strong);
}

.footer-block p,
.footer-grid p {
  margin: 10px 0 0;
  line-height: 1.7;
}

.footer-block h2 {
  font-size: clamp(1.15rem, 3vw, 1.45rem);
  letter-spacing: 0.03em;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.footer-note {
  margin: 18px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--muted);
}

a {
  color: var(--accent-deep);
}

@media (max-width: 640px) {
  .page-shell {
    padding: 18px 14px 36px;
  }

  .linktree,
  .site-footer {
    border-radius: 24px;
  }

  .linktree,
  .site-footer {
    padding: 22px 18px;
  }

  .logo-mark {
    width: min(100%, 280px);
  }

  .link-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .link-meta {
    text-align: left;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
