:root {
  --bg: #ffffff;
  --text: #1f2433;
  --muted: #6a6f80;
  --sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
}

.page-shell {
  width: min(100%, 1328px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 24px 32px 40px;
  display: flex;
  flex-direction: column;
}

/* Account context inside the promo block */

.page-account {
  position: absolute;
  top: 26px;
  right: 32px;
  z-index: 1;
  text-align: right;
  font-size: 16px;
  line-height: 1.25;
}

.account-name {
  display: block;
  font-size: 13px;
  color: #8b8f9c;
  overflow-wrap: anywhere;
  margin-bottom: 2px;
}

.account-link {
  color: inherit;
  text-decoration: none;
}

.account-link:hover {
  text-decoration: underline;
}

.account-link--login {
  font-size: 16px;
}

/* Promo */

.promo {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 32px;
  padding: 72px 64px 64px;
  text-align: center;
  background:
    radial-gradient(640px 520px at 0% 100%, #c8f0e1 0%, transparent 65%),
    radial-gradient(800px 520px at 50% 0%, #d6dcff 0%, transparent 65%),
    radial-gradient(640px 560px at 100% 80%, #e6d4ff 0%, transparent 65%),
    #eef0ff;
}

.promo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.promo__curves {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  stroke: rgba(255, 255, 255, 0.75);
  stroke-width: 1.5;
  pointer-events: none;
}

.promo__sheets {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.promo__sheet {
  position: absolute;
  border-radius: 26px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.38));
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 30px 60px rgba(110, 90, 190, 0.16);
}

.promo__sheet i {
  display: block;
  height: 12px;
  margin: 0 0 16px;
  border-radius: 6px;
  background: rgba(140, 130, 230, 0.28);
}

.promo__sheet b {
  display: block;
  height: 90px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(160, 150, 255, 0.45), rgba(150, 230, 200, 0.45));
}

.promo__sheet--l1 { left: -60px; top: 120px; width: 260px; height: 320px; padding: 40px 30px; transform: rotate(-14deg); }
.promo__sheet--l2 { left: 90px; top: 210px; width: 220px; height: 280px; padding: 36px 26px; transform: rotate(-4deg); opacity: 0.85; }
.promo__sheet--r1 { right: -60px; top: 100px; width: 260px; height: 320px; padding: 40px 30px; transform: rotate(13deg); }
.promo__sheet--r2 { right: 90px; top: 220px; width: 220px; height: 280px; padding: 36px 26px; transform: rotate(5deg); opacity: 0.85; }

.promo__content {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.promo__brand {
  margin: 0 0 22px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--muted);
}

.promo__title {
  margin: 0 auto 20px;
  font-family: var(--serif);
  font-size: clamp(34px, 5.2vw, 68px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--text);
}

.promo__lead {
  max-width: 720px;
  margin: 0 auto 36px;
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 400;
  line-height: 1.55;
  color: var(--muted);
}

.promo__button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 62px;
  padding: 0 38px;
  border: 0;
  border-radius: 999px;
  background: var(--text);
  color: #fff;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(31, 36, 51, 0.22);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.promo__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(31, 36, 51, 0.28);
}

.promo__button:focus-visible {
  outline: 3px solid #7a4fd0;
  outline-offset: 4px;
}

.promo__button:disabled {
  cursor: progress;
  opacity: 0.75;
  transform: none;
}

.promo__button-arrow {
  font-family: var(--sans);
  font-size: 18px;
}

.status-inline {
  min-height: 1.25rem;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.promo__pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.promo__pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 54px;
  padding: 0 22px 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 6px 18px rgba(80, 70, 140, 0.06);
  font-size: 16px;
  color: #2d3242;
}

.promo__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.promo__icon svg {
  width: 18px;
  height: 18px;
}

.promo__icon--blue { background: #dfe4ff; color: #4f5bd5; }
.promo__icon--lilac { background: #ebdfff; color: #7a4fd0; }
.promo__icon--peach { background: #ffe3d6; color: #d8673a; }

/* Footer */

.page-footer {
  display: grid;
  gap: 8px;
  margin-top: auto;
  font-size: 12px;
}

.promo {
  margin-bottom: 36px;
}

.page-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.page-footer__link {
  color: #82868d;
  text-decoration: none;
}

.page-footer__link:hover {
  color: #2b2b2f;
  text-decoration: underline;
}

.page-footer__registry {
  margin: 0;
  color: #a0a5ad;
  font-size: 11px;
  line-height: 1.45;
}

.page-footer__registry a {
  color: inherit;
  text-decoration: none;
}

.page-footer__registry a:hover {
  color: #82868d;
  text-decoration: underline;
}

/* Tablet */

@media (max-width: 1080px) {
  .promo__sheet--l2,
  .promo__sheet--r2 {
    display: none;
  }

  .promo__sheet--l1 { left: -150px; }
  .promo__sheet--r1 { right: -150px; }
}

/* Mobile */

@media (max-width: 720px) {
  .page-shell {
    padding: 16px 16px 32px;
  }

  .page-account {
    top: 16px;
    right: 18px;
    font-size: 14px;
  }

  .account-name {
    display: none;
  }

  .account-link--login {
    font-size: 14px;
  }

  .promo {
    border-radius: 24px;
    padding: 56px 20px 32px;
  }

  .promo__sheets {
    display: none;
  }

  .promo__brand {
    margin-bottom: 16px;
    font-size: 13px;
  }

  .promo__title {
    margin-bottom: 16px;
  }

  .promo__lead {
    margin-bottom: 28px;
  }

  .promo__button {
    width: 100%;
    height: 56px;
    font-size: 19px;
  }

  .promo__pills {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 20px;
  }

  .promo__pill {
    height: 48px;
    font-size: 15px;
  }

  .promo__icon {
    width: 32px;
    height: 32px;
  }
}
