.page-register {
  --landing-bg: #f6f8fb;
  --landing-paper: #ffffff;
  --landing-ink: #101820;
  --landing-muted: #66727a;
  --landing-line: #dbe4ee;
  --landing-teal: #2f7cff;
  --landing-teal-dark: #1c4fc3;
  --landing-navy: #0d2532;
  --landing-soft: #eef4ff;
  background:
    linear-gradient(180deg, #ffffff 0, #f6f8fb 44rem, #ffffff 100%);
  color: var(--landing-ink);
}

.register-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 74px;
  padding: 0 clamp(1rem, 4vw, 3.2rem);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(16, 24, 32, 0.08);
  box-shadow: 0 12px 36px rgba(16, 24, 32, 0.05);
}

.register-page {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 2.25rem) 0 4rem;
}

.register-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(16rem, 0.75fr);
  gap: 1rem;
  align-items: stretch;
}

.register-hero > div,
.register-summary,
.register-form-section {
  border: 1px solid rgba(16, 24, 32, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 52px rgba(16, 24, 32, 0.08);
}

.register-hero > div {
  padding: clamp(1.4rem, 3vw, 2.4rem);
  display: grid;
  align-content: center;
}

.register-hero h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.05rem, 4.2vw, 4.15rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.register-hero p {
  max-width: 40rem;
  margin: 0.9rem 0 0;
  color: rgba(16, 24, 32, 0.7);
  line-height: 1.55;
}

.google-button {
  width: fit-content;
  min-height: 3.1rem;
  margin-top: 1.3rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(16, 24, 32, 0.12);
  background: #fff;
  color: var(--landing-ink);
  text-decoration: none;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  box-shadow: 0 10px 24px rgba(16, 24, 32, 0.06);
}

.google-button span {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: conic-gradient(from 45deg, #4285f4, #34a853, #fbbc05, #ea4335, #4285f4);
}

.register-google-note {
  min-height: 1.4rem;
  margin: 0.8rem 0 0;
  font-weight: 700;
}

.register-google-note.is-visible {
  color: #9a5b00;
}

.register-summary {
  padding: 1.35rem;
  display: grid;
  align-content: start;
  gap: 0.55rem;
}

.register-summary strong {
  font-size: 1.1rem;
}

.register-summary span {
  padding: 0.7rem 0;
  border-top: 1px solid rgba(16, 24, 32, 0.08);
  color: rgba(16, 24, 32, 0.7);
  line-height: 1.35;
}

.register-form-section {
  margin-top: 1rem;
  padding: clamp(1.1rem, 3vw, 2rem);
  display: grid;
  grid-template-columns: minmax(12rem, 0.36fr) minmax(0, 1fr);
  gap: 1.5rem;
}

.register-section-copy {
  position: sticky;
  top: 6.2rem;
  align-self: start;
}

.register-section-copy h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3.3vw, 2.9rem);
  line-height: 0.98;
}

.register-section-copy p {
  margin-top: 0.85rem;
  color: rgba(16, 24, 32, 0.68);
}

.register-form {
  display: grid;
  gap: 1rem;
}

.register-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.register-form label,
.register-consent {
  display: grid;
  gap: 0.35rem;
  color: rgba(16, 24, 32, 0.82);
  font-weight: 800;
}

.register-form input,
.register-form select {
  width: 100%;
  min-height: 3rem;
  border: 1px solid rgba(47, 124, 255, 0.34);
  border-radius: 8px;
  background: #fff;
  padding: 0.76rem 0.85rem;
  color: var(--landing-ink);
  font: inherit;
}

.register-form input:focus,
.register-form select:focus {
  outline: 2px solid rgba(58, 141, 255, 0.22);
  border-color: rgba(47, 124, 255, 0.62);
}

.register-plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.register-plan-card {
  min-height: 9.7rem;
  border: 1px solid rgba(16, 24, 32, 0.12);
  border-radius: 8px;
  padding: 0.95rem;
  background: #fff;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.register-plan-card:hover,
.register-plan-card.is-selected {
  transform: translateY(-2px);
  border-color: rgba(47, 124, 255, 0.5);
  box-shadow: 0 14px 34px rgba(47, 124, 255, 0.14);
}

.register-plan-card input {
  width: 1.1rem;
  min-height: 1.1rem;
  padding: 0;
}

.register-plan-card strong,
.register-plan-card span,
.register-plan-card em,
.register-plan-card small {
  display: block;
}

.register-plan-card strong {
  margin-top: 0.5rem;
  font-size: 1.08rem;
  color: var(--landing-ink);
}

.register-plan-card span {
  margin-top: 0.2rem;
  color: var(--landing-teal-dark);
  font-weight: 900;
}

.register-plan-card em {
  width: fit-content;
  margin-top: 0.4rem;
  padding: 0.3rem 0.52rem;
  border-radius: 999px;
  color: var(--landing-teal-dark);
  background: rgba(142, 197, 255, 0.26);
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 900;
}

.register-plan-card small {
  margin-top: 0.5rem;
  color: rgba(16, 24, 32, 0.62);
  line-height: 1.34;
}

.register-empty,
.register-status {
  margin: 0;
  color: rgba(16, 24, 32, 0.72);
  font-weight: 800;
}

.register-consent {
  grid-template-columns: auto 1fr;
  align-items: center;
  font-weight: 700;
}

.register-consent a {
  color: var(--landing-teal-dark);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

.register-consent a:hover {
  color: var(--landing-ink);
}

.register-consent input {
  width: 1.15rem;
  min-height: 1.15rem;
  padding: 0;
}

.register-captcha {
  min-height: 5.25rem;
  display: grid;
  gap: 0.45rem;
  justify-items: start;
  align-content: start;
  padding: 0.85rem;
  border: 1px solid rgba(47, 124, 255, 0.2);
  border-radius: 8px;
  background: rgba(238, 244, 255, 0.62);
}

.register-captcha small {
  color: rgba(16, 24, 32, 0.68);
  font-weight: 700;
  line-height: 1.4;
}

.register-captcha.is-unavailable {
  border-color: rgba(180, 35, 24, 0.28);
  background: rgba(254, 243, 242, 0.82);
  color: #b42318;
}

.register-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.register-actions .landing-button-primary {
  color: #fff;
  background: linear-gradient(135deg, #3a8dff, #1c4fc3);
  box-shadow: 0 14px 30px rgba(47, 124, 255, 0.24);
}

.register-actions .landing-button-secondary {
  color: #1c4fc3;
  border-color: rgba(47, 124, 255, 0.52);
}

.register-status.is-error {
  color: #b42318;
}

.register-status.is-success {
  color: #176f56;
}

@media (max-width: 980px) {
  .register-hero,
  .register-form-section {
    grid-template-columns: 1fr;
  }

  .register-section-copy {
    position: static;
  }

  .register-plan-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .register-page {
    width: min(100% - 1rem, 1200px);
    padding-top: 0.8rem;
  }

  .register-hero h1 {
    font-size: clamp(1.85rem, 8.6vw, 2.55rem);
  }

  .register-form-grid {
    grid-template-columns: 1fr;
  }

  .register-captcha {
    overflow: hidden;
  }

  .register-captcha .cf-turnstile {
    transform: scale(0.86);
    transform-origin: left top;
    margin-bottom: -0.7rem;
  }
}
