/* ============================================================
 * OnSite — Create account / sign-up card
 * Centered split card: violet brand gradient left, form right.
 * Uses the GroupEd design system (Outfit, violet theme tokens).
 * ============================================================ */

.auth-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(112px, 11vw, 144px) var(--sp-5) clamp(56px, 7vw, 96px);
  background: #F4F3FA;
}
@media (min-width: 768px) {
  /* 6 Aug 2026: --band-inset, not the flat 32px this used to be. This section has
     no .container of its own — it pads itself — so it never picked up the site's
     margin when these pages joined the system, and the card sat at 32 against a
     nav at 64. The token is the same one every card, hero and column on the site
     reads, so it tracks at every width instead of drifting past 1628px. */
  .auth-wrap { padding-left: var(--band-inset, 24px); padding-right: var(--band-inset, 24px); }
}

/* ---------- The card ---------- */
.auth-card {
  width: 100%;
  /* 6 Aug 2026: was max-width: 1216px — the OLD container's content width
     (1280 cap − 2×32 padding), i.e. "fill the container" written as a literal.
     Once these pages joined the site's margin system the container uncapped, so
     the literal started capping instead of filling: the card sat at 112px each
     side while the nav above it sat at 64. --page-cap is the site's real ceiling
     and only bites past 1628px, where every card, hero and column stops
     together. */
  max-width: var(--page-cap, 1500px);
  background: var(--ge-white);
  border-radius: clamp(22px, 2.2vw, 30px);
  box-shadow: 0 30px 80px rgba(26, 18, 64, 0.18), 0 8px 24px rgba(26, 18, 64, 0.07);
  padding: clamp(10px, 1.1vw, 16px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(10px, 1.1vw, 16px);
}
@media (min-width: 860px) {
  .auth-card { grid-template-columns: 1.04fr 1fr; }
}

/* ---------- LEFT: gradient brand panel ---------- */
.auth-visual {
  position: relative;
  border-radius: clamp(16px, 1.6vw, 22px);
  overflow: hidden;
  min-height: 230px;
  padding: clamp(22px, 2.6vw, 34px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--sp-8);
  background: rgb(91, 80, 167);
  isolation: isolate;
}
@media (min-width: 860px) { .auth-visual { min-height: 540px; } }

.auth-visual__mark { position: relative; z-index: 1; }
.auth-visual__mark img { height: 30px; width: auto; }
@media (min-width: 860px) { .auth-visual__mark img { height: 34px; } }

.auth-visual__copy { position: relative; z-index: 1; }
.auth-visual__shot {
  position: absolute;
  left: 58%;
  top: 62%;
  transform: translate(-50%, -50%) rotate(20deg);
  width: 212%;
  z-index: 0;
  pointer-events: none;
}
.auth-visual__shot img,
.auth-visual__shot video {
  width: 100%;
  height: auto;
  display: block;
}
/* Big soft brand watermark behind the panel content */
.auth-visual__watermark {
  position: absolute;
  z-index: 0;
  bottom: -26%;
  right: -24%;
  width: 138%;
  height: auto;
  opacity: 0.14;
  pointer-events: none;
}

.auth-visual__copy { position: relative; z-index: 1; }
.auth-visual__eyebrow {
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-light);
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 var(--sp-2);
}
.auth-visual h2 {
  font-size: clamp(32px, 4.4vw, 50px);
  /* 6 Aug 2026: 600 to match the site, was --fw-light (300) */
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ge-white);
  margin: 0;
  max-width: 16ch;
}
.auth-visual h2 .hl {
  background: var(--ge-violet-2, #E8E4F9);
  color: var(--ge-violet-4, #614DBA);
  padding: 0.06em 16px 0.2em;
  margin: 0 -2px;
}
.auth-visual__sub {
  position: relative;
  z-index: 1;
  font-size: var(--fs-body);
  font-weight: var(--fw-light);
  line-height: var(--lh-body);
  color: #FFFFFF;
  margin: var(--sp-4) 0 0;
  max-width: 32ch;
}

/* ---------- RIGHT: form ---------- */
.auth-form {
  padding: clamp(26px, 3vw, 52px) clamp(22px, 3vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.auth-form__mark { margin: 0 0 var(--sp-5); }
.auth-form__mark img { height: 30px; width: auto; }
.auth-form h1 {
  font-size: clamp(26px, 2.6vw, 33px);
  /* 6 Aug 2026: 600, the site's heading weight (CLAUDE.md: "headings are
     SemiBold 600 — matching the weight of the GroupEd logo wordmark"). Was
     --fw-regular (400). There is no --fw-semibold token; the site sets 600 as a
     literal in home-v2.css, so this matches that. */
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.1;
  color: var(--ge-navy);
  margin: 0 0 var(--sp-3);
}
.auth-form__sub {
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-light);
  line-height: var(--lh-body);
  color: var(--ge-text-secondary);
  margin: 0 0 var(--sp-6);
  max-width: 42ch;
}

/* Fields */
.auth-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  margin: 0 0 var(--sp-2);
}
.auth-field { display: flex; flex-direction: column; gap: 7px; }
.auth-field--full { grid-column: 1 / -1; }
.auth-field label {
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-regular);
  color: var(--ge-navy);
}
.auth-field label .opt { color: var(--ge-text-secondary); font-weight: var(--fw-light); }
.auth-inputwrap { position: relative; }
.auth-input {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: var(--fw-light);
  color: var(--ge-navy);
  background: #F2F3F5;
  border: 1px solid var(--ge-neutral-lt4);
  border-radius: var(--radius-md, 12px);
  padding: 13px 15px;
  width: 100%;
  transition: border-color var(--dur-base) var(--ease-standard),
              box-shadow var(--dur-base) var(--ease-standard);
}
.auth-field--password .auth-input { padding-right: 46px; }
.auth-input::placeholder { color: var(--ge-text-secondary); opacity: 0.6; }
.auth-input:focus {
  outline: none;
  border-color: #9AA0AD;
  background: var(--ge-white);
  box-shadow: 0 0 0 3px rgba(15, 20, 56, 0.08);
}
.auth-field.is-error .auth-input { border-color: var(--ge-red-3, #EB512E); }
.auth-field.is-error .auth-input:focus { box-shadow: 0 0 0 3px rgba(235, 81, 46, 0.22); }

/* Select */
.auth-select {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: var(--fw-light);
  color: var(--ge-navy);
  background: #F2F3F5;
  border: 1px solid var(--ge-neutral-lt4);
  border-radius: var(--radius-md, 12px);
  padding: 13px 42px 13px 15px;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234A5876' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
  transition: border-color var(--dur-base) var(--ease-standard), box-shadow var(--dur-base) var(--ease-standard);
}
.auth-select:focus { outline: none; border-color: #9AA0AD; box-shadow: 0 0 0 3px rgba(15, 20, 56, 0.08); }
.auth-select:invalid { color: var(--ge-text-secondary); font-weight: var(--fw-light); }
.auth-field.is-error .auth-select { border-color: var(--ge-red-3, #EB512E); }

/* Consent */
.auth-consent {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-light);
  line-height: 1.45;
  color: var(--ge-text-secondary);
  cursor: pointer;
}
.auth-consent input {
  margin: 2px 0 0;
  width: 18px;
  height: 18px;
  accent-color: var(--ge-violet-4, #614DBA);
  flex-shrink: 0;
}
.auth-consent a { color: var(--ge-blue); text-decoration: underline; text-underline-offset: 2px; }
.auth-consent a:hover { color: var(--accent, #614DBA); }
.auth-consent.is-error { color: var(--ge-red-4, #D7320F); }
.auth-field__error {
  font-size: 12px;
  font-weight: var(--fw-regular);
  color: var(--ge-red-4, #D7320F);
  display: none;
  margin-top: 1px;
}
.auth-field.is-error .auth-field__error { display: block; }

/* Show / hide password */
.auth-eye {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  border-radius: var(--radius-sm, 8px);
  color: var(--ge-text-secondary);
  transition: color var(--dur-base) var(--ease-standard);
}
.auth-eye:hover { color: var(--ge-navy); }
.auth-eye:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
.auth-eye svg { width: 19px; height: 19px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.auth-eye .auth-eye__slash { display: none; }
.auth-eye.is-on .auth-eye__slash { display: inline; }

/* Submit — violet fill (brand accent), echoes the reference CTA */
.auth-submit {
  width: 100%;
  justify-content: center;
  margin-top: var(--sp-3);
  background: var(--ge-violet-4, #614DBA);
  color: var(--ge-white);
  font-size: var(--fs-body);
  padding: 15px 16px 15px 28px;
}
.auth-submit:hover { background: #4A3995; }
.auth-submit .btn__arrow { background: var(--ge-white); color: var(--ge-violet-4, #614DBA); }
.auth-submit:hover .btn__arrow { background: var(--ge-white); color: #4A3995; }
.auth-submit[disabled] { opacity: 0.65; cursor: default; }

/* Divider */
.auth-divider {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin: var(--sp-5) 0;
  color: var(--ge-text-secondary);
  font-size: 12px;
  font-weight: var(--fw-light);
}
.auth-divider::before,
.auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--ge-neutral-lt3); }

/* Social */
.auth-social { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.auth-social__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 11px 14px;
  background: var(--ge-white);
  border: 1px solid var(--ge-neutral-lt4);
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-regular);
  color: var(--ge-navy);
  cursor: pointer;
  transition: border-color var(--dur-base) var(--ease-standard),
              background var(--dur-base) var(--ease-standard);
}
.auth-social__btn:hover { border-color: var(--ge-navy); background: var(--ge-bg-light); }
.auth-social__btn:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
.auth-social__ms { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 2px; width: 16px; height: 16px; }
.auth-social__ms span { display: block; width: 100%; height: 100%; }
.auth-social__ms span:nth-child(1) { background: #F25022; }
.auth-social__ms span:nth-child(2) { background: #7FBA00; }
.auth-social__ms span:nth-child(3) { background: #00A4EF; }
.auth-social__ms span:nth-child(4) { background: #FFB900; }
.auth-social__g {
  width: 17px; height: 17px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: var(--fw-bold); font-size: 15px; color: var(--ge-navy);
  font-family: var(--font-sans);
}

/* Footer link */
.auth-foot {
  text-align: center;
  margin: var(--sp-5) 0 0;
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-light);
  color: var(--ge-text-secondary);
}
.auth-foot a {
  color: var(--accent, #614DBA);
  font-weight: var(--fw-regular);
  text-decoration: none;
}
.auth-foot a:hover { color: var(--ge-navy); text-decoration: underline; text-underline-offset: 2px; }

/* Tiny top-left brand link, outside the card */
.auth-home {
  position: fixed;
  top: clamp(16px, 3vw, 28px);
  left: clamp(16px, 3vw, 32px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-light);
  color: var(--ge-text-secondary);
  z-index: 2;
}
.auth-home:hover { color: var(--ge-navy); }
.auth-home svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 859px) {
  .auth-home { position: static; margin: 0 auto var(--sp-5); }
  .auth-visual { min-height: 200px; }
  .auth-visual h2 { max-width: 22ch; }
  .auth-visual__shot { display: none; }
  .auth-visual::after { display: none; }
}
@media (max-width: 560px) {
  .auth-fields { grid-template-columns: 1fr; }
}

/* ============================================================
 * WHAT'S INCLUDED — white band below the card
 * ============================================================ */
.incl {
  background: var(--ge-white);
  padding: var(--sp-16) 0;
}
@media (min-width: 768px) { .incl { padding: var(--sp-20) 0; } }
.incl__head { max-width: 640px; margin: 0 0 var(--sp-10); }
.incl__head .eyebrow { margin-bottom: var(--sp-3); }
.incl__head h2 {
  font-size: clamp(28px, 3vw, 40px);
  /* 6 Aug 2026: 600, the site's heading weight. Was var(--fw-light) — left behind
     when these pages joined the type system; every h3/h2 elsewhere is 600. */
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.14;
  color: var(--ge-navy);
  margin: 0;
  text-wrap: balance;
}
.incl__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 3vw, 34px);
}
@media (min-width: 680px) { .incl__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .incl__grid { grid-template-columns: repeat(3, 1fr); } }

.incl__item { display: flex; gap: var(--sp-4); align-items: flex-start; }
.incl__check {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md, 12px);
  background: var(--ge-violet-2, #E8E4F9);
  color: var(--ge-violet-4, #614DBA);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.incl__check svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.incl__item h3 {
  font-size: var(--fs-h4);
  /* 6 Aug 2026: 600, the site's heading weight. Was var(--fw-regular) — left behind
     when these pages joined the type system; every h3/h2 elsewhere is 600. */
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ge-navy);
  margin: 0 0 4px;
}
.incl__item p {
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-light);
  line-height: var(--lh-body);
  color: var(--ge-text-secondary);
  margin: 0;
}
