/* Registration belongs to the public pine-and-gold identity. Gym sign-in keeps its branding. */
@font-face {
  font-family: "Inter";
  src: url("/css/us-landing/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
body.is-register {
  --auth-paper: #F7FAF7;
  --auth-ink: #0B1C15;
  --auth-body: #344A3B;
  --auth-pine: #215243;
  --auth-gold: #E5C97B;
  /* Existing accessibility rules and the tenant theme write this token. */
  --focus: var(--auth-pine) !important;
  --muted: #52675A;
  background: var(--auth-paper);
  color: var(--auth-ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color-scheme: light;
}
.is-register *, .is-register *::before, .is-register *::after { box-sizing: border-box; }
.is-register ::selection { background: var(--auth-gold); color: var(--auth-ink); }
.is-register a { color: var(--auth-pine); text-underline-offset: .2em; }
.is-register .public-topbar { width: min(calc(100% - 48px), 1280px); margin-inline: auto; padding: 24px 0; color: var(--auth-ink); }
.is-register .public-topbar .wordmark { color: var(--auth-ink); }
.is-register .auth-language { position: static; order: -1; align-self: flex-end; padding: 12px 24px 0; }
.is-register .auth-language .btn { min-height: 36px; background: #EEF3EE; color: var(--auth-pine); border-color: #A2B6AA; }
.is-register .auth-language .active { background: var(--auth-pine); color: #FFFFFF; }
.is-register .auth-layout { display: flex; flex-direction: column; align-items: stretch; gap: 24px; width: min(calc(100% - 48px), 600px); max-width: 600px; margin: 8px auto 40px; padding: 0; }
.is-register .signup-story { width: 100%; max-width: none; color: var(--auth-ink); }
.is-register .signup-story img { display: block; width: 100%; height: 176px; object-fit: cover; border-radius: 12px; }
.is-register .signup-story h2 { margin: 20px 0 8px; font-size: 24px; line-height: 1.2; letter-spacing: -.025em; }
.is-register .signup-story p { margin: 0; color: var(--auth-body); line-height: 1.6; }
.is-register .auth-layout .auth-card { width: 100%; max-width: none; margin: 0; padding: 32px; border: 0; border-radius: 16px; background: #FFFFFF; box-shadow: 0 12px 40px rgb(13 46 36 / .09); color: var(--auth-ink); }
.is-register .auth-card::before { display: none; }
.is-register #registerForm { width: 100%; max-width: none; }
.is-register #registerForm h2 { margin: 0 0 24px; text-align: left; color: var(--auth-ink); font-size: 26px; line-height: 1.2; letter-spacing: -.025em; }
.is-register #registerForm .field-group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: 16px; }
.is-register #registerForm .field-group > label { min-width: 0; display: flex; flex-direction: column; gap: 6px; margin: 0; color: var(--auth-body); font-size: 14px; line-height: 1.5; }
.is-register #registerForm .field-group > label:nth-of-type(5) { grid-column: 1 / -1; }
.is-register #registerForm input:not([type="checkbox"]), .is-register #registerForm select { width: 100%; min-width: 0; height: 48px; margin: 0; padding: 10px 12px; background: #F7FAF7; border: 1px solid #7E9385; border-radius: 8px; color: var(--auth-ink); font: inherit; font-size: 16px; caret-color: var(--auth-pine); }
.is-register #registerForm input::placeholder { color: #52675A; opacity: 1; }
.is-register :is(input, select, button, a):focus-visible, .is-register #registerForm :is(input, select, button, a):focus-visible { outline: 3px solid var(--auth-pine); outline-offset: 3px; }
.is-register #registerForm label:focus-within > span { color: var(--auth-pine); }
.is-register #registerForm input:not([type="checkbox"]):valid:not(:placeholder-shown) { border-color: var(--auth-pine); }
.is-register #registerForm input[type="checkbox"] { width: 20px; height: 20px; flex: 0 0 20px; margin: 2px 0 0; accent-color: var(--auth-pine); }
.is-register #registerForm .terms-check { display: flex; align-items: flex-start; gap: 10px; margin-top: 24px; color: var(--auth-body); }
.is-register #registerForm p { color: var(--auth-body); font-size: 14px; line-height: 1.55; }
.is-register #registerForm .btn-primary { min-height: 48px; margin-top: 16px; border: 0; background: var(--auth-gold); color: #0D2E24; font: inherit; font-weight: 700; border-radius: 8px; }
.is-register #registerForm .btn-primary:hover { background: #F0DCAB; }
.is-register #registerForm .btn-primary:active { background: #CCB267; }
.is-register #registerForm .btn-primary:disabled { opacity: .6; cursor: wait; }
.is-register #registerForm .owner-account-disclosure { color: var(--auth-body); }
.is-register #backToLogin { color: var(--auth-pine); opacity: 1; }
.is-register .error-msg { color: #A72529; }
.is-register .owner-public-footer { color: var(--auth-body); background: transparent; padding: 20px 24px; border-top: 1px solid #CDD8CF; }
@media (max-width: 639px) {
  .is-register .public-topbar { width: calc(100% - 32px); flex-wrap: wrap; gap: 16px; padding: 16px 0; }
  .is-register .public-topbar nav { flex-wrap: wrap; gap: 12px; font-size: 14px; }
  .is-register .auth-layout { width: calc(100% - 32px); margin-top: 0; }
  .is-register .auth-layout .auth-card { padding: 20px; }
  .is-register .signup-story img { height: 128px; }
  .is-register .signup-story h2 { font-size: 22px; }
  .is-register #registerForm .field-group { grid-template-columns: minmax(0, 1fr); }
  .is-register #registerForm h2 { font-size: 24px; }
  .is-register .owner-public-footer { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; padding-inline: 16px; }
}

/* The registration story reuses the complete public scene; sign-in keeps its photo. */
.signup-hero-scene { display: none; }
body.is-register .signup-story > img { display: none; }
body.is-register .signup-hero-scene { display: block; width: 100%; border-radius: 12px; overflow: hidden; }
body.is-register .signup-hero-scene .us-live-scene { position: relative; width: 100%; aspect-ratio: 1983 / 793; height: auto; overflow: visible; }
body.is-register .signup-hero-scene .photo-stage, body.is-register .signup-hero-scene .projection-stage { position: absolute; left: 0; top: 0; width: 100%; height: 100%; transform-origin: 0 0; }
body.is-register .signup-hero-scene img { max-width: none; margin: 0; border: 0; border-radius: 0; box-shadow: none; }
body.is-register .signup-hero-scene .photo-stage > .environment, body.is-register .signup-hero-scene .tv-hardware-patch { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; }
body.is-register .signup-hero-scene .tv-hardware-patch { clip-path: polygon(71.55% 20.65%,95.5% 14.3%,95.7% 50.7%,71.6% 52.1%); pointer-events: none; }
body.is-register .signup-hero-scene .projection-stage { z-index: 2; pointer-events: none; }
body.is-register .signup-hero-scene .physical-screen { position: absolute; left: 0; top: 0; transform-origin: 0 0; overflow: hidden; visibility: hidden; isolation: isolate; z-index: 1; background: #0b1510; box-shadow: inset 0 0 1px rgb(0 0 0 / .7); }
body.is-register .signup-hero-scene .physical-screen[style*="matrix3d"] { visibility: visible; }
body.is-register .signup-hero-scene .physical-screen > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; filter: blur(1.2px) contrast(.90) brightness(.94) saturate(.86); }
body.is-register .signup-hero-scene .physical-screen::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(118deg,rgb(192 175 143 / .025),rgb(255 222 174 / .05) 48%,rgb(192 175 143 / .025)); z-index: 1; }
body.is-register .signup-hero-scene .physical-screen::before { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .02; mix-blend-mode: soft-light; background-image: url("/media/site-workflow/journey/tv-optical-grain.svg"); background-size: 2px 2px; }

/* F1: the optimized scene and calibrated screen projection share one source plane. */
body.is-register .signup-hero-scene .environment-picture, body.is-register .signup-hero-scene .environment-picture > .environment { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: fill; }
