/* The sign-up page (signup.html), in the portal design system: the offer on the violet sky, the form on a white card.
   The ids and names here are the ones signup.js uses. */
.su-page {
  margin: 0;
  background: #f4f2fb;
  color: #17133a;
  font-family: Figtree, ui-rounded, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.su-page a { color: #5b3bf0; }
.su-page a:hover { color: #3f24c2; }
.su-page :focus-visible { outline: 3px solid #5b3bf0; outline-offset: 3px; }
.su-offer :focus-visible { outline-color: #ffffff; }

.su-head {
  max-width: 1216px;
  margin: 0 auto;
  padding: 14px 28px;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: #5b5780;
}
.su-head img { display: block; height: 34px; width: auto; }
.su-head span a { font-weight: 700; }

.su-main {
  max-width: 1216px;
  margin: 0 auto;
  padding: 8px 28px 40px;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}

.su-offer {
  flex: 1 1 380px;
  min-width: 0;
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  corner-shape: squircle;
  background: radial-gradient(ellipse 80% 55% at 50% 0%, rgba(170, 150, 255, 0.85), rgba(170, 150, 255, 0) 70%),
    linear-gradient(#6447f5, #3f24c2);
  color: #ffffff;
  padding: 40px 36px 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.su-eyebrow { margin: 0; font-size: 14px; line-height: 18px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.su-offer h1 { margin: 0; font-size: 40px; line-height: 44px; font-weight: 900; letter-spacing: -0.02em; }
.su-count { margin: 0; font-size: 16px; line-height: 24px; font-weight: 700; }
.su-count b { color: #ffd43b; font-size: 22px; font-weight: 900; }
.su-steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.su-steps li { display: flex; gap: 12px; align-items: flex-start; }
.su-steps div { font-size: 15px; line-height: 22px; color: rgba(255, 255, 255, 0.92); }
.su-steps b { display: block; color: #ffffff; font-size: 16px; }
.su-n {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(23, 19, 58, 0.32);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}
.su-ticks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 22px; }
.su-ticks li { padding-left: 30px; position: relative; }
.su-ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #ffd43b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.5 3.5L17 9' fill='none' stroke='%234a3800' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.su-pal { margin-top: auto; display: flex; align-items: flex-end; gap: 8px; }
.su-pal img { width: 120px; height: auto; display: block; }
.su-pal p {
  margin: 0 0 100px;
  background: #ffffff;
  color: #17133a;
  border-radius: 18px 18px 18px 4px;
  padding: 10px 14px;
  font-size: 15px;
  line-height: 20px;
  font-weight: 700;
}

.su-card {
  flex: 1.3 1 480px;
  min-width: 0;
  background: #ffffff;
  border: 1px solid rgba(40, 30, 110, 0.14);
  border-radius: 30px;
  corner-shape: squircle;
  padding: 28px 40px;
  box-sizing: border-box;
}
.su-form { display: flex; flex-direction: column; gap: 14px; }
.su-step { margin: 0 0 6px; font-size: 13px; font-weight: 800; color: #4326c4; }
.su-card h2 { margin: 0; font-size: 30px; line-height: 32px; font-weight: 700; letter-spacing: -0.02em; }
.su-lede { margin: 6px 0 0; font-size: 15px; line-height: 22px; color: #5b5780; }
.su-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.su-group { display: flex; flex-direction: column; gap: 6px; }
.su-group small { font-size: 13px; font-weight: 600; color: #5b5780; }
.su-group small b { color: #5b3bf0; }
.su-field { font-size: 14px; line-height: 20px; font-weight: 700; }
.su-opt { font-weight: 600; color: #5b5780; }
.su-in {
  width: 100%;
  box-sizing: border-box;
  min-height: 50px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(40, 30, 110, 0.22);
  background: #ffffff;
  font: inherit;
  font-size: 16px;
  color: #17133a;
}
.su-in[aria-invalid="true"] { border-color: #b3123a; }

.su-plans { margin: 0; padding: 0; border: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.su-plans legend { font-size: 14px; font-weight: 700; margin-bottom: 8px; padding: 0; }
.su-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 24px;
  border: 1px solid rgba(40, 30, 110, 0.22);
  cursor: pointer;
  transition: background 160ms, border-color 160ms;
}
.su-plan input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.su-plan:has(input:checked) { background: #efeaff; border: 2px solid #5b3bf0; padding: 15px 17px; }
.su-plan:has(input:focus-visible) { outline: 3px solid #5b3bf0; outline-offset: 3px; }
.su-plan-top { display: flex; justify-content: space-between; align-items: center; }
.su-plan-top b { font-size: 17px; }
.su-plan-top em { font-style: normal; padding: 3px 10px; border-radius: 999px; background: #ffd43b; color: #4a3800; font-size: 12px; font-weight: 800; }
.su-price { font-size: 28px; line-height: 32px; font-weight: 900; letter-spacing: -0.02em; }
.su-price small { font-size: 14px; font-weight: 600; color: #5b5780; letter-spacing: 0; }
.su-plan > small { font-size: 13px; line-height: 18px; color: #5b5780; }

.su-check { display: flex; gap: 10px; align-items: center; min-height: 44px; font-size: 15px; font-weight: 600; cursor: pointer; }
.su-check input { width: 24px; height: 24px; margin: 0; accent-color: #5b3bf0; }
.su-error {
  margin: 0;
  padding: 10px 14px;
  border-radius: 14px;
  background: #ffe3ea;
  color: #b3123a;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
}
.su-btn {
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(#7052ff, #5e3ff2);
  color: #ffffff;
  font: inherit;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 10px 24px rgba(94, 63, 242, 0.32);
  transition: transform 120ms cubic-bezier(0.22, 1, 0.36, 1);
}
.su-btn:active { transform: scale(0.96); }
.su-btn:disabled { opacity: 0.7; cursor: progress; }
.su-link {
  align-self: flex-start;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  color: #5b3bf0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.su-fine { margin: 0; font-size: 13px; line-height: 18px; color: #5b5780; }
.su-lock { display: flex; gap: 8px; align-items: center; }
.su-lock::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='5' y='10' width='14' height='10' rx='3' fill='none' stroke='%235b5780' stroke-width='2'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3' fill='none' stroke='%235b5780' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
}

.su-done { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.su-done img { width: 120px; height: auto; }
.su-done p { margin: 0; font-size: 16px; line-height: 24px; color: #5b5780; }
.su-done p b { color: #17133a; }
.su-wait { width: 100%; display: flex; flex-direction: column; gap: 10px; }

@media (max-width: 760px) {
  .su-main { padding: 0 16px 32px; }
  .su-offer { padding: 28px 20px 0; }
  .su-offer h1 { font-size: 32px; line-height: 36px; }
  .su-card { padding: 24px 20px; }
  .su-pal img { width: 92px; }
  .su-pal p { margin-bottom: 70px; }
}
@media (prefers-reduced-motion: reduce) {
  .su-btn, .su-plan { transition: none; }
}
