:root {
  --bg: #fff8f2;
  --card: #ffffff;
  --stroke: rgba(24, 18, 12, 0.08);
  --text: #1d1820;
  --muted: #7a7288;
  --orange: #ff6a00;
  --green: #12b559;
  --radius: 26px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 18px;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background:
    radial-gradient(110% 80% at 50% -10%, #ffe9d8 0%, transparent 62%),
    radial-gradient(80% 60% at 92% 108%, #ffe3cf 0%, transparent 66%),
    var(--bg);
}

.shell {
  width: 100%;
  max-width: 468px;
}

.card {
  padding: 34px 24px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: var(--card);
  box-shadow:
    0 30px 70px -34px rgba(122, 78, 40, 0.42),
    0 2px 10px rgba(122, 78, 40, 0.06);
  animation: rise 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

.hero { text-align: center; }

.mark {
  width: 74px; height: 74px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(145deg, #ff8a2b, #ff5000 62%, #e02f00);
  box-shadow: 0 18px 34px -14px rgba(255, 92, 0, 0.6);
}
.mark svg { width: 38px; height: 38px; }

.title {
  margin: 0 0 10px;
  font-size: clamp(24px, 6.6vw, 30px);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.bio {
  margin: 0 auto;
  max-width: 34ch;
  font-size: 12.5px;
  line-height: 1.75;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: uppercase;
}

.links {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--stroke);
  background: var(--card);
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(29, 24, 32, 0.04);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.link:hover,
.link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 106, 0, 0.35);
  box-shadow: 0 16px 30px -20px rgba(255, 106, 0, 0.65);
  outline: none;
}

.link__icon {
  flex: 0 0 42px;
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #fff3ea;
  border: 1px solid rgba(255, 106, 0, 0.14);
  color: #e85500;
}
.link__icon svg { width: 21px; height: 21px; }

.link__label {
  flex: 1;
  min-width: 0;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.link__arrow {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  color: #8b8398;
  background: #f5f2f7;
  transition: transform 0.22s ease, color 0.22s ease, background 0.22s ease;
}
.link__arrow svg { width: 15px; height: 15px; }
.link:hover .link__arrow {
  transform: translateX(3px);
  color: #fff;
  background: var(--orange);
}

.link--primary {
  border-color: rgba(18, 181, 89, 0.35);
  background: linear-gradient(135deg, #22c96a, #12a850);
  color: #fff;
  box-shadow: 0 18px 34px -20px rgba(18, 181, 89, 0.75);
}
.link--primary:hover,
.link--primary:focus-visible {
  border-color: rgba(18, 181, 89, 0.55);
  box-shadow: 0 24px 40px -18px rgba(18, 181, 89, 0.7);
}
.link--primary .link__icon {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}
.link--primary .link__arrow {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.link--primary:hover .link__arrow {
  background: rgba(0, 0, 0, 0.18);
  color: #fff;
}

.foot {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--stroke);
  text-align: center;
}
.foot__title {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
}
.foot__tagline {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--muted);
}

.links .link { animation: rise 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.links .link:nth-child(1) { animation-delay: 0.08s; }
.links .link:nth-child(2) { animation-delay: 0.16s; }
.links .link:nth-child(3) { animation-delay: 0.24s; }

@media (max-width: 380px) {
  .card { padding: 28px 18px 22px; }
  .link { padding: 12px 13px; gap: 11px; }
  .link__label { font-size: 13.5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
