:root {
  color-scheme: light;
  --ink: #15313e;
  --muted: #65737a;
  --teal: #234f63;
  --teal-deep: #173f52;
  --peach: #d9ad97;
  --warm-white: #fffdfa;
  --line: rgba(21, 49, 62, 0.11);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  background: #f3f0eb;
  color: var(--ink);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: #f3f0eb;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 8% 3%, rgba(217, 173, 151, 0.2), transparent 28rem),
    radial-gradient(circle at 94% 92%, rgba(35, 79, 99, 0.09), transparent 32rem),
    #f3f0eb;
}

a {
  color: inherit;
}

.profile-shell {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: grid;
  place-items: center;
  margin-inline: auto;
  padding: clamp(96px, 8vw, 120px) 24px clamp(32px, 6vw, 68px);
}

.profile-card {
  width: min(100%, 780px);
  padding: clamp(42px, 6vw, 58px) clamp(24px, 7vw, 72px) 32px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 42px;
  background: rgba(255, 253, 250, 0.91);
  box-shadow:
    0 28px 80px rgba(21, 49, 62, 0.09),
    0 2px 10px rgba(21, 49, 62, 0.04);
  text-align: center;
  backdrop-filter: blur(24px);
}

.utility-nav {
  position: absolute;
  z-index: 10;
  top: clamp(18px, 2.5vw, 32px);
  right: clamp(16px, 3vw, 40px);
  left: clamp(16px, 3vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0;
}

.utility-link {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.utility-link svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.utility-login {
  border-color: var(--teal);
  color: white;
  background: var(--teal);
}

.utility-link:hover {
  transform: translateY(-1px);
  border-color: rgba(35, 79, 99, 0.22);
  background: white;
}

.utility-login:hover {
  border-color: var(--teal-deep);
  background: var(--teal-deep);
}

.utility-link:focus-visible {
  outline: 3px solid rgba(35, 79, 99, 0.24);
  outline-offset: 3px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2c9b59;
  box-shadow: 0 0 0 3px rgba(44, 155, 89, 0.12);
}

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

.logo-frame {
  width: 112px;
  height: 112px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(35, 79, 99, 0.09);
  border-radius: 50%;
  background: #2d596e;
  box-shadow: 0 14px 32px rgba(35, 79, 99, 0.14);
}

.logo-frame img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  object-fit: cover;
}

.eyebrow {
  margin: 27px 0 0;
  color: var(--teal);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.19em;
}

.eyebrow span {
  margin-inline: 4px;
  color: var(--peach);
}

h1 {
  margin: 13px 0 0;
  font-size: clamp(38px, 7vw, 52px);
  font-weight: 720;
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.identity-wordmark {
  width: clamp(225px, 48vw, 290px);
  margin-top: 14px;
  line-height: 0;
}

.identity-wordmark img {
  width: 100%;
  height: auto;
  display: block;
}

.positioning {
  margin: 21px 0 0;
  color: var(--ink);
  font-size: clamp(21px, 3.8vw, 28px);
  font-weight: 480;
  line-height: 1.22;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.summary {
  max-width: 440px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

.credentials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 34px 0 0;
  padding: 25px 0 23px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.credentials div {
  min-width: 0;
  padding-inline: 14px;
}

.credentials div + div {
  border-left: 1px solid var(--line);
}

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

.credentials strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 17px;
  font-weight: 690;
  letter-spacing: -0.025em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.credentials span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
}

.actions {
  margin-top: 30px;
}

.button {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.button svg,
.profile-footer svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.button:focus-visible,
.profile-footer a:focus-visible {
  outline: 3px solid rgba(35, 79, 99, 0.24);
  outline-offset: 3px;
}

.button-instagram {
  min-height: 64px;
  justify-content: flex-start;
  padding: 0 18px;
  color: white;
  background: var(--teal);
  box-shadow: 0 12px 24px rgba(35, 79, 99, 0.18);
}

.button-instagram > svg:first-child {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  margin-right: 13px;
}

.button-instagram .icon-fill {
  fill: currentColor;
  stroke: none;
}

.button-instagram .button-handle {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 520;
}

.button-instagram .arrow {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  margin-left: 12px;
}

.button-instagram:hover {
  transform: translateY(-2px);
  background: var(--teal-deep);
  box-shadow: 0 16px 30px rgba(35, 79, 99, 0.23);
}

.secondary-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.button-secondary {
  gap: 9px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.66);
}

.button-secondary svg {
  width: 19px;
  height: 19px;
}

.button-secondary:hover {
  transform: translateY(-1px);
  border-color: rgba(35, 79, 99, 0.2);
  background: white;
}

.profile-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 29px;
  color: var(--muted);
  font-size: 11px;
}

.profile-footer a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: color 160ms ease;
}

.profile-footer a:hover {
  color: var(--ink);
}

.profile-footer svg {
  width: 14px;
  height: 14px;
}

.footer-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--peach);
}

.not-found-page {
  display: grid;
  place-items: center;
  padding: 24px;
}

.not-found {
  width: min(100%, 560px);
  padding: 56px 32px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 36px;
  background: rgba(255, 253, 250, 0.92);
  box-shadow: 0 28px 80px rgba(21, 49, 62, 0.09);
  text-align: center;
}

.not-found .logo-frame {
  margin-inline: auto;
}

.not-found h1 {
  margin-top: 12px;
  font-size: clamp(36px, 8vw, 50px);
}

.not-found .summary {
  margin-bottom: 30px;
}

.not-found .button {
  max-width: 220px;
  margin-inline: auto;
  color: white;
  background: var(--teal);
}

@media (max-width: 560px) {
  .profile-shell {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 72px 14px 14px;
  }

  .profile-card {
    min-height: calc(100vh - 86px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 36px 20px 25px;
    border-radius: 30px;
  }

  .utility-nav {
    top: 16px;
    right: 16px;
    left: 16px;
    gap: 12px;
    margin: 0;
  }

  .utility-link {
    min-height: 34px;
    padding-inline: 11px;
  }

  .logo-frame {
    width: 96px;
    height: 96px;
  }

  .credentials div {
    padding-inline: 7px;
  }

  .credentials strong {
    font-size: 14px;
  }

  .credentials span {
    font-size: 10px;
  }

  .button-instagram .button-handle {
    display: none;
  }

  .profile-footer {
    flex-wrap: wrap;
    row-gap: 7px;
  }
}

@media (max-width: 380px) {
  .profile-card {
    padding-inline: 16px;
  }

  .utility-nav {
    gap: 8px;
  }

  .utility-link {
    padding-inline: 8px;
    font-size: 11px;
  }

  .credentials strong {
    font-size: 13px;
  }

  .credentials span {
    font-size: 9px;
  }

  .button {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button,
  .utility-link,
  .profile-footer a {
    transition: none;
  }
}
