:root {
  --ink: #1d1b16;
  --accent: #0b6b6b;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: "IBM Plex Sans", "Space Grotesk", sans-serif;
  background: #fff;
}

.page-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: calc(env(safe-area-inset-top, 0px) + 18px) 16px
    calc(env(safe-area-inset-bottom, 0px) + 28px);
  background: radial-gradient(
    circle at top left,
    #f5f0ff 0%,
    #e6f7ff 40%,
    #fff2e1 100%
  );
}

.topbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  text-decoration: none;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.social {
  width: 100%;
  max-width: 1080px;
  min-height: 1350px;
  margin: 0 auto;
  padding: 48px;
  background: rgba(255, 255, 255, 0.58);
  border-radius: 28px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
header {
  display: flex;
  align-items: center;
  gap: 20px;
}
.logo {
  width: 140px;
  height: 140px;
  object-fit: contain;
}
header h1 {
  margin: 0;
  font-size: 44px;
}
header p {
  margin: 6px 0 0;
  font-weight: 700;
  color: var(--accent);
}
.pill {
  margin-left: auto;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 14px;
}
.cards {
  display: grid;
  gap: 16px;
}
.card {
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 22px;
}
.card h2 {
  margin: 0 0 8px;
  font-size: 26px;
}
.about {
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 20px;
}
.about h2 {
  margin: 0 0 8px;
  font-size: 26px;
}
.cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.cta a {
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 16px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 22px;
}
.qr img {
  width: 180px;
  height: 180px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}
.qr {
  text-align: center;
  font-size: 18px;
}
footer {
  margin-top: auto;
  font-size: 20px;
  display: flex;
  justify-content: space-between;
}

.page-end-actions {
  display: flex;
  justify-content: center;
  margin-top: 4px;
}

.scroll-top-btn {
  background: rgba(255, 255, 255, 0.96);
}

@media (max-width: 840px) {
  .social {
    min-height: auto;
    padding: 24px;
  }

  header,
  .cta,
  footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .pill {
    margin-left: 0;
  }

  .logo {
    width: 110px;
    height: 110px;
  }

  header h1 {
    font-size: 32px;
  }

  .card,
  .about,
  footer,
  .cta a,
  .qr {
    font-size: 18px;
  }

  .card h2,
  .about h2 {
    font-size: 22px;
  }

  .qr img {
    width: 140px;
    height: 140px;
  }
}
