html {
  font-size: 100%;
}

body {
  font-size: 0.975rem;
  font-family: "Sora", "Segoe UI", sans-serif;
  color: var(--ink);
  padding: 0;
  background: var(--page-bg);
  margin: 0;
}

.topspace {
  margin-top: 40px;
}

p {
  line-height: 1.6em;
  margin: 0 0 30px 0;
}

ul,
ol {
  line-height: 1.6em;
  margin: 0 0 30px 0;
}

blockquote {
  padding: 10px 20px;
  margin: 0 0 30px;
  border-left: 5px solid #eee;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: "Fraunces", "Times New Roman", serif;
  font-weight: 600;
  color: var(--ink);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2.25rem;
}

h3 {
  font-size: 1.875rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

a {
  color: var(--accent);
}

a:hover {
  color: var(--accent-strong);
}

:root {
  --page-bg:
    radial-gradient(520px circle at 20% 8%, rgba(255, 107, 90, 0.15), transparent 62%),
    radial-gradient(560px circle at 82% 82%, rgba(126, 182, 125, 0.14), transparent 58%),
    linear-gradient(180deg, #e8e1d5 0%, #f5f3ef 52%, #faf8f4 100%);
  --surface: #faf8f4;
  --surface-strong: #ffffff;
  --surface-muted: #f0ece5;
  --surface-soft: rgba(255, 255, 255, 0.72);
  --ink: #1a1a1f;
  --ink-muted: #6b6b70;
  --accent: #ff6b5a;
  --accent-strong: #ff5744;
  --accent-soft: rgba(255, 107, 90, 0.14);
  --online: #7eb67d;
  --offline: #d1756f;
  --border: rgba(26, 26, 31, 0.1);
  --shadow: 0 28px 60px rgba(65, 54, 43, 0.16);
  --shadow-soft: 0 14px 34px rgba(65, 54, 43, 0.1);
}

#root {
  min-height: 100vh;
}

.page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 48px 18px 36px;
}

.page-shell {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
}

.page-ambient {
  position: absolute;
  width: 28rem;
  height: 28rem;
  border-radius: 999px;
  filter: blur(70px);
  pointer-events: none;
}

.page-ambient--left {
  top: -7rem;
  left: 10%;
  background: rgba(255, 107, 90, 0.14);
}

.page-ambient--right {
  right: 6%;
  bottom: -9rem;
  background: rgba(126, 182, 125, 0.16);
}

.hero-copy {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-title {
  margin: 0;
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 5.25rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.section-title span {
  display: block;
}

.section-title__accent {
  color: var(--accent);
}

.section-sub-title {
  max-width: 660px;
  margin: 22px auto 0;
  color: var(--ink-muted);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.7;
}

.card-stack {
  max-width: 560px;
  margin: 0 auto;
}

.language-row {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.static-language-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(26, 26, 31, 0.08);
  box-shadow: var(--shadow-soft);
  color: var(--ink-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.header {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.header::before {
  content: "";
  position: absolute;
  inset: -24px;
  z-index: -1;
  background: linear-gradient(180deg, rgba(255, 107, 90, 0.16), transparent 55%);
  filter: blur(26px);
}

.header-media {
  height: 184px;
  background:
    linear-gradient(180deg, rgba(26, 26, 31, 0.16), rgba(250, 248, 244, 0.2)),
    url(/images/greyscale-min.jpg) center 34% / cover;
}

.header-content {
  position: relative;
  margin-top: -82px;
  padding: 0 32px 34px;
  text-align: center;
}

.avatar {
  position: relative;
  text-align: center;
  padding-bottom: 28px;
}

.avatar-skeleton {
  width: 168px;
  height: 168px;
  margin: 0 auto;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(233, 227, 216, 0.95), rgba(248, 245, 239, 1), rgba(233, 227, 216, 0.95));
  background-size: 240px 100%;
  box-shadow: 0 22px 30px rgba(70, 58, 42, 0.16);
  border: 5px solid rgba(255, 255, 255, 0.95);
}

.full-name {
  display: flex;
  justify-content: center;
  text-align: center;
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(2.25rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: 8px;
}

.static-skeleton {
  display: inline-block;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(228, 224, 216, 0.95), rgba(247, 244, 238, 1), rgba(228, 224, 216, 0.95));
  background-size: 320px 100%;
  animation: static-skeleton-shimmer 1.8s ease-in-out infinite;
}

.static-skeleton--name {
  width: min(250px, 72%);
  height: 40px;
  margin-top: 8px;
  border-radius: 12px;
}

.static-chat-row {
  padding-top: 22px;
  display: flex;
  justify-content: center;
}

.static-skeleton--button {
  width: min(100%, 340px);
  height: 56px;
}

.container {
  text-align: center;
  max-width: 560px;
  margin: 24px auto 22px;
  padding: 26px 18px 14px;
}

.footer-copy {
  line-height: 1.75;
  color: var(--ink-muted);
  font-size: 0.98rem;
}

.footer-copy span {
  display: inline-block;
  max-width: 480px;
}

.static-skeleton--copy {
  width: min(420px, 90%);
  height: 22px;
  border-radius: 10px;
}

.footer-action-row {
  padding-top: 18px;
}

.footer-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.static-skeleton--footer-button {
  width: min(260px, 90%);
  height: 54px;
}

.footer-disclaimer {
  margin-top: 20px;
  color: rgba(26, 26, 31, 0.42);
  font-size: 0.78rem;
}

.static-about {
  max-width: 760px;
  margin: 18px auto 0;
  padding: 28px 30px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(26, 26, 31, 0.08);
  box-shadow: var(--shadow-soft);
}

.static-about h2 {
  margin-top: 0;
}

.static-about p:last-child {
  margin-bottom: 0;
}

.footer {
  padding: 8px 12px;
  font-size: 12px;
  color: rgba(26, 26, 31, 0.46);
  text-align: center;
}

@keyframes static-skeleton-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

@media (max-width: 720px) {
  .page {
    padding: 34px 14px 26px;
  }

  .hero-copy {
    margin-bottom: 40px;
  }

  .section-title {
    font-size: clamp(2.45rem, 12vw, 3.85rem);
  }

  .header {
    border-radius: 26px;
  }

  .header-content {
    padding: 0 22px 26px;
  }

  .header-media {
    height: 160px;
  }

  .static-about {
    border-radius: 22px;
    padding: 22px;
  }
}

@media (max-width: 600px) {
  .page-ambient {
    width: 16rem;
    height: 16rem;
  }

  .section-sub-title {
    font-size: 1rem;
  }

  .avatar {
    padding-bottom: 24px;
  }

  .container {
    margin: 12px 0 18px;
    padding: 16px 6px 10px;
  }
}
