:root {
  --bg-primary: #ecddd2;
  --accent-soft: #d2dfea;
  --card-bg: #ffffff;
  --text-main: #655d58;
  --text-soft: #8d8782;
  --line-soft: rgba(101, 93, 88, 0.18);
  --shadow-soft: 0 24px 60px rgba(127, 110, 94, 0.12);
  --shadow-hover: 0 18px 32px rgba(127, 110, 94, 0.12);
  --radius-large: 32px;
  --radius-pill: 999px;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.65), transparent 38%),
    radial-gradient(circle at bottom right, rgba(210, 223, 234, 0.72), transparent 34%),
    var(--bg-primary);
  color: var(--text-main);
}

.page-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.profile-card {
  width: min(100%, 420px);
  background: var(--card-bg);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-soft);
  padding: 34px 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.profile-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 148px;
  background: linear-gradient(180deg, rgba(210, 223, 234, 0.32), rgba(210, 223, 234, 0));
  pointer-events: none;
}

.logo-frame,
.name-frame {
  position: relative;
  z-index: 1;
}

.logo-frame {
  width: 138px;
  height: 138px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff, #f8f3ef);
  border: 1px solid rgba(101, 93, 88, 0.08);
  box-shadow: inset 0 0 0 8px rgba(236, 221, 210, 0.28);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.logo-embed {
  width: 120px;
  height: 120px;
  border: 0;
}

.name-frame {
  width: min(100%, 250px);
  height: 70px;
  display: grid;
  place-items: center;
}

.name-embed {
  width: 100%;
  height: 100%;
  border: 0;
}

.tagline {
  position: relative;
  z-index: 1;
  max-width: 280px;
  margin: 4px 0 2px;
  color: var(--text-soft);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.28rem;
  line-height: 1.35;
  letter-spacing: 0.05em;
}

.actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.action-button {
  width: 100%;
  min-height: 50px;
  padding: 15px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(8, 90, 135, 0.88);
  background: #085a87;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  box-shadow:
    0 12px 24px rgba(8, 90, 135, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease,
    color 180ms ease;
  cursor: pointer;
}

.action-button:hover,
.action-button:focus-visible {
  background: #0a6ea3;
  border-color: #0a6ea3;
  box-shadow:
    0 16px 30px rgba(8, 90, 135, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transform: translateY(-2px) scale(1.01);
  color: #ffffff;
}

.action-button:focus-visible {
  outline: 2px solid rgba(210, 223, 234, 0.9);
  outline-offset: 3px;
}

@media (min-width: 640px) {
  .page-shell {
    padding: 40px;
  }

  .profile-card {
    padding: 42px 34px 32px;
    gap: 22px;
  }

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

  .logo-embed {
    width: 132px;
    height: 132px;
  }

  .name-frame {
    width: 270px;
    height: 76px;
  }

  .tagline {
    font-size: 1.42rem;
  }
}
