:root {
  --blue: #122d7a;
  --blue-deep: #08184f;
  --blue-soft: #2448a4;
  --red: #d64a32;
  --orange: #f3a03b;
  --paper: #fffdf7;
  --ink: #111827;
  --muted: #cdd7f2;
  --line: rgba(255, 255, 255, .16);
  --shadow: 0 22px 52px rgba(2, 9, 34, .34);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: #ffffff;
  background:
    linear-gradient(155deg, rgba(214, 74, 50, .24), transparent 30%),
    radial-gradient(circle at 78% 4%, rgba(243, 160, 59, .26), transparent 24%),
    linear-gradient(180deg, var(--blue) 0%, var(--blue-deep) 74%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 18px),
    linear-gradient(45deg, transparent 0 47%, rgba(255, 255, 255, .04) 47% 53%, transparent 53%);
  opacity: .78;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  position: relative;
  width: min(100%, 560px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 28px 18px 18px;
  display: flex;
  flex-direction: column;
}

.profile {
  text-align: center;
  padding: 16px 0 12px;
}

.avatar-wrap {
  width: 136px;
  height: 136px;
  margin: 0 auto 18px;
  padding: 7px;
  border-radius: 50%;
  background: conic-gradient(from 135deg, var(--red), var(--orange), #ffffff, var(--blue-soft), var(--red));
  box-shadow: var(--shadow);
}

.avatar {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #ffffff;
  border: 3px solid #ffffff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  color: #fff5df;
  background: rgba(255, 255, 255, .09);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 14px 0 10px;
  font-size: clamp(2.3rem, 11vw, 3.6rem);
  line-height: .95;
  letter-spacing: 0;
  font-weight: 900;
}

.bio {
  width: min(100%, 488px);
  margin: 0 auto;
  color: #e7edff;
  font-size: 1rem;
  line-height: 1.58;
}

.proof-row {
  width: min(100%, 500px);
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.proof-row span {
  min-height: 38px;
  display: grid;
  place-items: center;
  padding: 7px 8px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  color: #ffffff;
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.15;
}

.phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  color: #ffffff;
  font-weight: 900;
}

.phone svg {
  width: 18px;
  height: 18px;
}

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

.link-card {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr 24px;
  align-items: center;
  min-height: 72px;
  padding: 12px 16px 12px 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: rgba(255, 253, 247, .97);
  color: var(--ink);
  box-shadow: 0 14px 28px rgba(2, 9, 34, .24);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.link-card:hover,
.link-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(243, 160, 59, .95);
  box-shadow: 0 18px 34px rgba(2, 9, 34, .36);
  outline: none;
}

.link-card.primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--red), var(--orange));
  border-color: rgba(255, 255, 255, .26);
}

.icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(18, 45, 122, .1);
  color: var(--blue);
}

.primary .icon {
  background: rgba(255, 255, 255, .2);
  color: #ffffff;
}

.icon svg {
  width: 22px;
  height: 22px;
}

.label {
  display: block;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.2;
}

.hint {
  display: block;
  margin-top: 4px;
  color: #5b6475;
  font-size: .86rem;
  font-weight: 600;
  line-height: 1.25;
}

.primary .hint {
  color: rgba(255, 255, 255, .88);
}

.arrow {
  width: 22px;
  height: 22px;
  color: rgba(17, 24, 39, .62);
}

.primary .arrow {
  color: rgba(255, 255, 255, .92);
}

footer {
  margin-top: auto;
  padding-top: 26px;
  color: rgba(255, 255, 255, .78);
  font-size: .82rem;
  line-height: 1.45;
  text-align: center;
}

footer span {
  display: block;
}

footer a {
  display: inline-block;
  color: #ffffff;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: rgba(243, 160, 59, .85);
  text-underline-offset: 3px;
  white-space: nowrap;
}

@media (max-width: 420px) {
  .page {
    padding-inline: 14px;
  }

  .avatar-wrap {
    width: 120px;
    height: 120px;
  }

  .proof-row {
    grid-template-columns: 1fr;
  }

  .proof-row span {
    min-height: 34px;
  }

  .link-card {
    grid-template-columns: 44px 1fr 20px;
    min-height: 68px;
    padding-right: 12px;
  }

  .label {
    font-size: .94rem;
  }

  .hint {
    font-size: .8rem;
  }
}

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