:root {
  color-scheme: light;
  --cream: #fff6f0;
  --rose: #c66e85;
  --brown: #633b40;
  --white: #fff;
  --muted: #8d6870;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { min-width: 320px; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--brown);
  background:
    radial-gradient(circle at 13% 16%, rgba(255, 255, 255, .9) 0, rgba(255, 255, 255, 0) 34%),
    radial-gradient(circle at 88% 80%, rgba(198, 110, 133, .11) 0, rgba(198, 110, 133, 0) 38%),
    linear-gradient(155deg, #fffaf6 0%, var(--cream) 51%, #fceeea 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page-shell {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(28px, 5vh, 54px) 20px 22px;
}

.welcome {
  width: min(100%, 590px);
  padding: clamp(30px, 6vw, 54px) clamp(24px, 6vw, 56px) 35px;
  text-align: center;
  background: rgba(255, 255, 255, .66);
  border: 1px solid rgba(255, 255, 255, .94);
  border-radius: 30px;
  box-shadow: 0 22px 70px rgba(99, 59, 64, .07), 0 3px 14px rgba(99, 59, 64, .035);
}

.portrait-wrap {
  width: 156px;
  height: 156px;
  margin: 0 auto 23px;
  padding: 5px;
  border: 1.5px solid var(--rose);
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(99, 59, 64, .12);
}

.portrait-frame { width: 100%; height: 100%; overflow: hidden; border-radius: 50%; }

.portrait {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
  transform: scale(1.5);
  transform-origin: 50% 32%;
}

p, h1 { margin: 0; }

.name, h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.035em;
}

.name { font-size: clamp(2.55rem, 7vw, 3.35rem); line-height: 1.05; }
.role { margin-top: 10px; font-size: .97rem; letter-spacing: .105em; color: var(--muted); }

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin: 29px auto 22px;
  color: var(--rose);
  font-size: 1rem;
}
.divider::before, .divider::after { content: ""; width: 41px; height: 1px; background: rgba(198, 110, 133, .4); }

h1 { font-size: clamp(2rem, 6vw, 2.6rem); line-height: 1.15; }
.title-heart { display: inline-block; color: var(--rose); font-family: Georgia, serif; font-size: .72em; vertical-align: .07em; }
.description { max-width: 440px; margin: 18px auto 0; color: #76545a; font-size: 1rem; line-height: 1.65; }

.action { margin-top: 29px; }
.telegram-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 62px;
  padding: 15px 22px;
  overflow: hidden;
  border-radius: 17px;
  background: var(--rose);
  box-shadow: 0 10px 23px rgba(198, 110, 133, .25);
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s ease, box-shadow .25s ease, transform .25s ease;
  animation: button-glow 3.6s ease-in-out 1.2s infinite;
}
.telegram-button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 22%, rgba(255, 255, 255, .17) 48%, transparent 70%);
  transform: translateX(-125%);
  animation: button-sheen 5.5s ease-in-out 1.6s infinite;
  pointer-events: none;
}
.telegram-button:hover { background: #b85c76; box-shadow: 0 13px 27px rgba(198, 110, 133, .31); transform: translateY(-2px); }
.telegram-button:active { transform: translateY(0); }
.telegram-button:focus-visible { outline: 3px solid var(--brown); outline-offset: 4px; }
.telegram-icon { position: relative; z-index: 1; width: 23px; height: 23px; flex: none; }
.telegram-button span { position: relative; z-index: 1; }
.after-button { margin-top: 19px; color: var(--muted); font-size: .93rem; }

.footer { width: min(100%, 590px); padding: 19px 10px 0; text-align: center; color: #8a7172; font-size: .75rem; line-height: 1.6; }
.footer p + p { margin-top: 3px; }

.entrance { animation: rise-in .7s both; animation-delay: var(--delay); }
@keyframes rise-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes button-glow { 0%, 100% { box-shadow: 0 10px 23px rgba(198, 110, 133, .25); } 50% { box-shadow: 0 11px 28px rgba(198, 110, 133, .4); } }
@keyframes button-sheen { 0%, 70%, 100% { transform: translateX(-125%); } 88% { transform: translateX(125%); } }

@media (max-width: 480px) {
  .page-shell { justify-content: center; padding: 20px 16px 18px; }
  .welcome { padding: 28px 22px 31px; border-radius: 25px; }
  .portrait-wrap { width: 138px; height: 138px; margin-bottom: 20px; }
  .divider { margin-top: 24px; margin-bottom: 17px; }
  .description { margin-top: 15px; }
  .action { margin-top: 25px; }
  .telegram-button { min-height: 60px; }
}

@media (max-width: 360px) {
  .welcome { padding-inline: 17px; }
  .name { font-size: 2.35rem; }
  h1 { font-size: 1.85rem; }
  .telegram-button { gap: 8px; padding-inline: 12px; font-size: 1.17rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
