:root {
  color-scheme: light;
  --background: hsl(38 36% 92%);
  --foreground: hsl(330 15% 12%);
  --card: hsl(0 0% 100%);
  --primary: hsl(330 75% 45%);
  --primary-light: hsl(330 80% 58%);
  --secondary: hsl(330 40% 95%);
  --muted: hsl(330 8% 42%);
  --border: hsl(330 14% 90%);
  --gradient-primary: linear-gradient(135deg, hsl(330 75% 45%), hsl(330 80% 58%));
  --shadow-glow: 0 8px 32px -8px hsl(330 75% 45% / 0.25);
  --shadow-card: 0 1px 2px hsl(330 12% 15% / 0.05), 0 4px 12px -8px hsl(330 12% 15% / 0.1);
  --shadow-card-hover: 0 12px 28px -10px hsl(330 12% 15% / 0.18), 0 4px 12px -8px hsl(330 12% 15% / 0.08);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--background);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--foreground);
  background:
    radial-gradient(circle at 50% -10%, hsl(38 55% 97% / 0.9), transparent 32rem),
    var(--background);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.page-shell {
  width: min(100%, 600px);
  margin-inline: auto;
  padding: 42px 22px 34px;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.profile-avatar {
  position: relative;
  display: grid;
  width: 134px;
  height: 134px;
  padding: 5px;
  place-items: center;
  border-radius: 50%;
  background: var(--card);
  box-shadow: var(--shadow-glow);
}

.profile-photo {
  display: block;
  width: 124px;
  height: 124px;
  border-radius: 50%;
  object-fit: cover;
}

.verified-badge {
  position: absolute;
  right: 0;
  bottom: 7px;
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 3px solid var(--background);
  border-radius: 50%;
  background: var(--background);
}

.verified-badge svg {
  display: block;
  width: 25px;
  height: 25px;
  overflow: visible;
  fill: #0095f6;
}

.verified-check {
  fill: none;
  stroke: #fff;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.profile-name {
  margin: 17px 0 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.eyebrow {
  margin: 5px 0 0;
  color: var(--primary);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  max-width: 510px;
  margin: 12px 0 0;
  font-size: clamp(1.75rem, 6vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  text-wrap: balance;
}

h1 span {
  color: var(--primary);
}

.intro {
  max-width: 470px;
  margin: 15px auto 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  text-wrap: balance;
}

.authority {
  display: grid;
  width: min(100%, 470px);
  margin-top: 22px;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.authority div {
  padding: 13px 7px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: hsl(0 0% 100% / 0.92);
  box-shadow: var(--shadow-card);
}

.authority strong,
.authority span {
  display: block;
}

.authority strong {
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.authority span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 600;
}

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

.link-group {
  display: grid;
  gap: 12px;
}

.group-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 3px 2px;
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.group-heading::before {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--primary);
  content: "";
}

.group-heading::after {
  height: 1px;
  flex: 1;
  background: var(--border);
  content: "";
}

.link-card {
  position: relative;
  display: grid;
  min-height: 76px;
  grid-template-columns: 52px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 13px;
  padding: 11px 14px 11px 11px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow-card);
  text-align: left;
  text-decoration: none;
  transform: translateZ(0);
  transition: transform 100ms ease-out, box-shadow 180ms ease, border-color 180ms ease;
}

.link-card:hover {
  border-color: hsl(330 75% 45% / 0.25);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.link-card:active {
  transform: scale(0.98);
}

.link-card:focus-visible {
  outline: 3px solid hsl(330 75% 45% / 0.32);
  outline-offset: 3px;
}

.link-copy {
  min-width: 0;
}

.brand-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
}

.brand-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.whatsapp-icon img,
.nowa-icon img,
.squad-icon img {
  object-fit: cover;
}

.trust-icon {
  padding: 7px;
}

.vitao-icon {
  padding: 8px 5px;
}

.link-copy strong,
.link-copy small {
  display: block;
}

.link-copy strong {
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.link-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1.4;
}

.link-copy b {
  color: var(--primary);
  font-weight: 800;
}

.external-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  color: var(--primary);
  background: var(--secondary);
}

.external-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.assessment {
  color: #fff;
  border-color: transparent;
  background: var(--gradient-primary);
  box-shadow: var(--shadow-glow);
}

.assessment:hover {
  border-color: transparent;
  box-shadow: 0 12px 34px -9px hsl(330 75% 45% / 0.36);
}

.assessment .link-copy small {
  color: hsl(0 0% 100% / 0.8);
}

.assessment .brand-icon {
  border-color: hsl(0 0% 100% / 0.28);
  background: hsl(0 0% 100% / 0.96);
}

.assessment .external-icon {
  color: #fff;
  background: hsl(0 0% 100% / 0.16);
}

footer {
  margin-top: 34px;
  color: var(--muted);
  text-align: center;
}

footer p {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

@media (max-width: 480px) {
  .page-shell {
    padding: 28px 16px 26px;
  }

  .profile-avatar {
    width: 124px;
    height: 124px;
  }

  .profile-photo {
    width: 114px;
    height: 114px;
  }

  .eyebrow {
    margin-top: 19px;
    font-size: 0.62rem;
  }

  h1 {
    font-size: 1.7rem;
  }

  .intro {
    font-size: 0.88rem;
  }

  .authority strong {
    font-size: 0.77rem;
  }

  .authority span {
    font-size: 0.56rem;
  }

  .link-card {
    min-height: 72px;
    grid-template-columns: 48px minmax(0, 1fr) 32px;
    gap: 11px;
    padding: 10px 12px 10px 10px;
  }

  .brand-icon {
    width: 48px;
    height: 48px;
    border-radius: 13px;
  }

  .link-copy strong {
    font-size: 0.92rem;
  }

  .link-copy small {
    font-size: 0.7rem;
  }
}

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

@media (prefers-reduced-transparency: reduce) {
  .authority div {
    background: var(--card);
  }
}
