:root {
  color-scheme: dark;
  --forest-950: #071913;
  --forest-900: #0a2119;
  --forest-800: #0d3023;
  --forest-700: #124735;
  --emerald: #36b57f;
  --emerald-bright: #62d99f;
  --mint: #b2e4bf;
  --sage: #9ab6a2;
  --lime: #c5e878;
  --paper: #f6f8f3;
  --ink: #12201b;
  --muted: #72857a;
  --muted-light: #9aae9f;
  --line: rgba(171, 209, 187, 0.16);
  --line-light: rgba(19, 53, 38, 0.12);
  --error: #ec9e96;
  --success: #82daa3;
  --shadow: 0 30px 90px rgba(1, 11, 7, 0.34);
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--forest-950); scroll-behavior: smooth; }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--paper);
  background:
    radial-gradient(circle at 14% 12%, rgba(41, 132, 89, 0.15), transparent 28rem),
    radial-gradient(circle at 82% 80%, rgba(31, 116, 78, 0.12), transparent 34rem),
    var(--forest-950);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
::selection { background: rgba(102, 218, 160, 0.25); color: #eaffef; }

.page-noise {
  position: fixed;
  z-index: 20;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.auth-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(510px, 0.94fr);
  min-height: 100vh;
  width: min(1540px, 100%);
  margin: 0 auto;
  padding: 32px 46px 26px;
  gap: clamp(48px, 7vw, 124px);
}
.brand-side { position: relative; display: flex; min-height: calc(100vh - 58px); flex-direction: column; padding: 5px 0 0; }
.brand-header, .brand-footer, .auth-side-top, .auth-side-bottom { display: flex; align-items: center; justify-content: space-between; }
.brand-lockup { display: inline-flex; align-items: center; gap: 11px; color: #eff8ef; text-decoration: none; }
.brand-mark { display: grid; width: 36px; height: 36px; place-items: center; color: var(--lime); }
.brand-mark svg { width: 100%; height: 100%; fill: currentColor; }
.brand-name { font-family: Manrope, Inter, sans-serif; font-size: 20px; font-weight: 800; letter-spacing: -0.055em; }
.brand-name span { color: var(--emerald-bright); }
.brand-tag, .auth-side-bottom { color: rgba(177, 208, 189, 0.58); font-size: 9px; font-weight: 700; letter-spacing: 0.16em; }
.brand-tag { margin-top: 1px; }
.brand-copy { position: relative; z-index: 2; max-width: 620px; margin: clamp(70px, 11vh, 144px) 0 0; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 23px; color: var(--emerald-bright); font-size: 10px; font-weight: 700; letter-spacing: 0.19em; text-transform: uppercase; }
.eyebrow-line { width: 28px; height: 1px; background: var(--emerald); }
h1, h2, p { margin-top: 0; }
h1, h2 { font-family: Manrope, Inter, sans-serif; }
h1 { margin-bottom: 26px; color: #f4f7ef; font-size: clamp(45px, 5.2vw, 79px); font-weight: 700; letter-spacing: -0.075em; line-height: 0.99; }
h1 em { color: var(--mint); font-style: normal; }
.brand-description { max-width: 470px; margin-bottom: 42px; color: rgba(200, 222, 207, 0.67); font-size: 14px; line-height: 1.8; }
.brand-proof { display: flex; align-items: center; gap: 20px; }
.proof-item { display: flex; align-items: flex-start; gap: 9px; color: rgba(204, 227, 211, 0.61); font-size: 10px; line-height: 1.45; text-transform: uppercase; letter-spacing: 0.07em; }
.proof-item strong { color: var(--lime); font-size: 10px; font-weight: 700; }
.proof-divider { width: 1px; height: 25px; background: rgba(181, 214, 191, 0.21); }

.orbit-scene { position: absolute; right: -6%; bottom: 6%; width: min(52vw, 595px); height: min(52vw, 595px); min-width: 390px; min-height: 390px; pointer-events: none; }
.orbit-glow { position: absolute; border-radius: 50%; filter: blur(1px); }
.orbit-glow-one { inset: 17% 12% 13% 14%; background: radial-gradient(circle, rgba(72, 197, 131, 0.13), transparent 63%); }
.orbit-glow-two { inset: 32% 26% 31% 28%; background: radial-gradient(circle, rgba(160, 223, 118, 0.12), transparent 62%); }
.orbit-ring { position: absolute; border: 1px solid rgba(140, 213, 158, 0.19); border-radius: 50%; transform: rotate(-23deg); }
.orbit-ring-back { inset: 11% 13% 17% 11%; border-left-color: rgba(177, 231, 149, 0.68); border-right-color: transparent; animation: ring-drift 16s linear infinite; }
.orbit-ring-mid { inset: 20% 23% 25% 19%; border-color: rgba(113, 205, 146, 0.24); border-top-color: rgba(197, 232, 120, 0.72); transform: rotate(38deg); animation: ring-drift-reverse 21s linear infinite; }
.orbit-core { position: absolute; top: 35%; left: 38%; display: grid; width: 25%; aspect-ratio: 1; place-items: center; border: 1px solid rgba(191, 239, 142, 0.38); border-radius: 50%; background: radial-gradient(circle at 33% 25%, rgba(97, 220, 156, 0.23), rgba(11, 54, 37, 0.83) 70%); box-shadow: 0 0 55px rgba(70, 185, 127, 0.16), inset 0 0 25px rgba(196, 232, 120, 0.08); transform: rotate(-8deg); }
.core-dot { position: absolute; top: 19%; right: 16%; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px rgba(197, 232, 120, 0.1); }
.core-label { color: rgba(221, 244, 211, 0.78); font-size: clamp(7px, 0.65vw, 10px); font-weight: 700; letter-spacing: 0.13em; line-height: 1.55; text-align: center; }
.orbit-arrow { position: absolute; width: 25%; fill: none; stroke: rgba(169, 220, 142, 0.55); stroke-linecap: round; stroke-width: 1; }
.arrow-one { top: 12%; left: 22%; transform: rotate(17deg); }
.arrow-two { right: 15%; bottom: 14%; transform: rotate(-16deg); }
.orbit-chip { position: absolute; display: flex; align-items: center; gap: 8px; border: 1px solid rgba(168, 215, 172, 0.2); border-radius: 999px; background: rgba(10, 39, 28, 0.73); box-shadow: 0 10px 30px rgba(2, 19, 12, 0.25); color: rgba(215, 236, 218, 0.75); font-size: 9px; letter-spacing: 0.02em; white-space: nowrap; backdrop-filter: blur(12px); }
.chip-top { top: 19%; right: 3%; padding: 11px 14px; }
.chip-bottom { right: 15%; bottom: 19%; padding: 10px 15px; }
.orbit-chip strong { color: var(--lime); font-weight: 600; }
.chip-pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(197, 232, 120, 0.1); }
.chip-spark { color: var(--lime); font-size: 15px; }
.floating-square { position: absolute; width: 8px; height: 8px; border: 1px solid rgba(198, 231, 132, 0.62); transform: rotate(45deg); }
.square-one { top: 31%; left: 13%; }
.square-two { right: 8%; bottom: 35%; width: 5px; height: 5px; border-color: rgba(117, 216, 159, 0.54); }
.brand-footer { position: relative; z-index: 2; margin-top: auto; color: rgba(169, 202, 181, 0.5); font-size: 9px; letter-spacing: 0.12em; }
.footer-status { display: flex; align-items: center; gap: 8px; text-transform: uppercase; }
.footer-status i { width: 5px; height: 5px; border-radius: 50%; background: var(--emerald-bright); box-shadow: 0 0 10px rgba(98, 217, 159, 0.75); }

.auth-side { display: flex; min-width: 0; min-height: calc(100vh - 58px); flex-direction: column; justify-content: center; }
.auth-side-top { width: 100%; margin-bottom: 17px; color: rgba(183, 208, 191, 0.5); font-size: 10px; letter-spacing: 0.04em; }
.security-note { display: inline-flex; align-items: center; gap: 8px; }
.secure-icon { display: grid; width: 17px; height: 17px; place-items: center; border: 1px solid rgba(163, 216, 173, 0.27); border-radius: 50%; color: var(--emerald-bright); font-size: 12px; }
.help-link { text-decoration: none; }
.help-link span { color: var(--mint); border-bottom: 1px solid rgba(178, 228, 191, 0.3); }
.auth-card { position: relative; width: 100%; min-height: 627px; overflow: hidden; border: 1px solid rgba(156, 208, 173, 0.19); border-radius: 21px; background: linear-gradient(144deg, rgba(246, 250, 244, 0.98) 0%, rgba(238, 246, 237, 0.98) 100%); box-shadow: var(--shadow); color: var(--ink); transition: min-height 0.45s ease, box-shadow 0.4s ease, transform 0.4s ease; }
.auth-card.signup-mode { min-height: 770px; }
.auth-card-accent { position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--emerald), var(--lime), var(--emerald)); background-size: 200% 100%; animation: accent-flow 5s ease infinite; }
.auth-card-inner { position: relative; padding: 42px clamp(30px, 4vw, 56px) 31px; }
.auth-heading { margin-bottom: 28px; }
.heading-marker { display: flex; gap: 4px; margin-bottom: 23px; }
.heading-marker span { display: block; width: 8px; height: 4px; border-radius: 3px; background: var(--emerald); }
.heading-marker span:nth-child(2) { width: 17px; background: var(--lime); }
.heading-marker span:nth-child(3) { width: 5px; background: var(--forest-800); }
.auth-kicker { margin-bottom: 12px; color: #759083; font-size: 10px; font-weight: 700; letter-spacing: 0.18em; }
h2 { margin-bottom: 13px; color: #10261d; font-size: clamp(29px, 3vw, 42px); font-weight: 700; letter-spacing: -0.072em; line-height: 1.02; }
h2 span { color: #277b58; }
.auth-subtitle { max-width: 350px; margin: 0; color: #74877c; font-size: 12px; line-height: 1.6; }
.form-status { display: flex; align-items: center; gap: 10px; min-height: 0; margin: -10px 0 18px; padding: 10px 12px; border: 1px solid rgba(45, 131, 89, 0.18); border-radius: 9px; background: rgba(67, 168, 111, 0.09); color: #276945; font-size: 11px; line-height: 1.45; }
.form-status:not([hidden])::before { content: "✓"; display: grid; width: 17px; height: 17px; flex: 0 0 17px; place-items: center; border-radius: 50%; background: rgba(71, 165, 108, 0.16); font-size: 10px; }
.form-status.is-error { border-color: rgba(184, 74, 64, 0.2); background: rgba(205, 91, 78, 0.08); color: #a64d47; }
.form-status.is-error:not([hidden])::before { content: "!"; background: rgba(200, 87, 74, 0.14); }
.form-status.is-info { border-color: rgba(52, 126, 156, 0.2); background: rgba(49, 135, 160, 0.08); color: #2b6d7e; }
.form-status.is-info:not([hidden])::before { content: "i"; background: rgba(44, 125, 153, 0.12); }
.auth-form { display: none; }
.auth-form.is-active { display: block; }
.form-field { margin-bottom: 19px; }
.form-grid-two { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.form-grid-two .form-field { min-width: 0; }
.form-field label, .role-field legend { display: block; margin-bottom: 8px; color: #4a6255; font-size: 10px; font-weight: 700; letter-spacing: 0.04em; }
.input-wrap { position: relative; display: flex; align-items: center; }
.input-icon { position: absolute; z-index: 1; left: 15px; color: #789387; font-size: 15px; font-weight: 500; pointer-events: none; }
.lock-icon { font-size: 18px; transform: rotate(180deg); }
.input-wrap input { width: 100%; height: 49px; padding: 0 44px 0 42px; border: 1px solid var(--line-light); border-radius: 8px; outline: none; background: rgba(255, 255, 255, 0.56); color: #173127; font-size: 12px; transition: border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease; }
.input-wrap input::placeholder { color: #a1aea6; }
.input-wrap input:hover { border-color: rgba(38, 116, 81, 0.27); background: rgba(255, 255, 255, 0.84); }
.input-wrap input:focus { border-color: #52b47e; background: #fff; box-shadow: 0 0 0 3px rgba(64, 178, 119, 0.13); transform: translateY(-1px); }
.input-wrap input[aria-invalid="true"] { border-color: rgba(186, 75, 65, 0.58); box-shadow: 0 0 0 3px rgba(201, 83, 70, 0.08); }
.password-toggle { position: absolute; right: 10px; padding: 7px 5px; border: 0; background: transparent; color: #397958; font-size: 10px; font-weight: 700; }
.password-toggle:hover, .password-toggle:focus-visible { color: #144e34; outline: none; }
.field-error { display: block; min-height: 0; margin-top: 5px; color: #b4544b; font-size: 10px; line-height: 1.3; }
.form-options { display: flex; align-items: center; justify-content: space-between; margin: -1px 0 25px; }
.check-label { display: inline-flex; align-items: center; gap: 8px; color: #73847b; font-size: 10px; cursor: pointer; }
.check-label input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.check-box { display: grid; width: 15px; height: 15px; place-items: center; border: 1px solid #c0cec3; border-radius: 4px; background: #fbfdf9; transition: background 0.2s ease, border-color 0.2s ease; }
.check-box::after { content: "✓"; color: #173f2d; font-size: 10px; font-weight: 800; opacity: 0; transform: scale(0.5); transition: opacity 0.2s ease, transform 0.2s ease; }
.check-label input:checked + .check-box { border-color: #4aaa78; background: var(--lime); }
.check-label input:checked + .check-box::after { opacity: 1; transform: scale(1); }
.check-label input:focus-visible + .check-box { outline: 3px solid rgba(70, 175, 115, 0.19); outline-offset: 2px; }
.text-button { padding: 4px 0; border: 0; background: transparent; color: #347b59; font-size: 10px; font-weight: 700; }
.text-button:hover, .text-button:focus-visible { color: #185439; text-decoration: underline; outline: none; }
.primary-button { position: relative; display: flex; width: 100%; height: 51px; align-items: center; justify-content: center; gap: 10px; overflow: hidden; border: 0; border-radius: 8px; background: linear-gradient(110deg, #174d36, #287c57); box-shadow: 0 8px 18px rgba(21, 88, 56, 0.18); color: #f3fbf0; font-size: 11px; font-weight: 700; letter-spacing: 0.01em; transition: transform 0.23s ease, box-shadow 0.23s ease, background 0.23s ease; }
.primary-button::before { position: absolute; inset: 0; content: ""; background: linear-gradient(105deg, transparent 25%, rgba(204, 241, 170, 0.14) 50%, transparent 75%); transform: translateX(-110%); transition: transform 0.6s ease; }
.primary-button:hover { background: linear-gradient(110deg, #1b5b40, #318c62); box-shadow: 0 12px 24px rgba(21, 88, 56, 0.27); transform: translateY(-2px); }
.primary-button:hover::before { transform: translateX(110%); }
.primary-button:active { transform: translateY(0) scale(0.99); }
.primary-button:focus-visible { outline: 3px solid rgba(74, 175, 119, 0.26); outline-offset: 3px; }
.primary-button:disabled { cursor: wait; opacity: 0.78; transform: none; }
.btn-arrow { position: relative; color: var(--lime); font-size: 17px; font-weight: 400; transition: transform 0.22s ease; }
.primary-button:hover .btn-arrow { transform: translate(2px, -2px); }
.btn-spinner { display: none; width: 14px; height: 14px; border: 2px solid rgba(240, 255, 236, 0.35); border-top-color: var(--lime); border-radius: 50%; animation: spin 0.7s linear infinite; }
.primary-button.is-loading .btn-arrow { display: none; }
.primary-button.is-loading .btn-spinner { display: inline-block; }
.legal-note { margin: 14px 0 0; color: #8a9990; font-size: 9px; line-height: 1.5; text-align: center; }
.legal-note a { color: #4b8868; text-underline-offset: 2px; }
.role-field { margin: 3px 0 20px; padding: 0; border: 0; }
.role-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.role-option { position: relative; display: block; cursor: pointer; }
.role-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.role-card { display: flex; min-height: 57px; align-items: center; gap: 9px; padding: 9px 10px; border: 1px solid var(--line-light); border-radius: 8px; background: rgba(255, 255, 255, 0.49); transition: border-color 0.23s ease, background 0.23s ease, box-shadow 0.23s ease, transform 0.23s ease; }
.role-card:hover { border-color: rgba(55, 149, 97, 0.35); transform: translateY(-1px); }
.role-icon { display: grid; width: 29px; height: 29px; flex: 0 0 29px; place-items: center; border-radius: 8px; background: rgba(70, 181, 119, 0.12); color: #33875b; font-size: 17px; }
.recycler-icon { font-size: 21px; }
.role-card strong, .role-card small { display: block; }
.role-card strong { color: #244535; font-size: 10px; }
.role-card small { margin-top: 3px; color: #8b9b91; font-size: 9px; }
.role-check { display: grid; width: 15px; height: 15px; margin-left: auto; place-items: center; border: 1px solid #c2d0c4; border-radius: 50%; color: #285b40; font-size: 9px; opacity: 0; transform: scale(0.5); transition: opacity 0.22s ease, transform 0.22s ease, background 0.22s ease; }
.role-option input:checked + .role-card { border-color: #56b47f; background: linear-gradient(120deg, rgba(215, 243, 207, 0.64), rgba(248, 252, 244, 0.85)); box-shadow: 0 0 0 3px rgba(67, 176, 112, 0.1); transform: translateY(-1px); }
.role-option input:checked + .role-card .role-check { border-color: #72bd84; background: var(--lime); opacity: 1; transform: scale(1); }
.role-option input:focus-visible + .role-card { outline: 3px solid rgba(70, 175, 115, 0.2); outline-offset: 2px; }
.recycler-details { margin: 1px 0 20px; padding: 15px 14px 3px; border: 1px solid rgba(67, 165, 106, 0.23); border-radius: 11px; background: linear-gradient(145deg, rgba(222, 245, 216, 0.42), rgba(248, 251, 245, 0.7)); animation: details-in 0.35s ease both; }
.recycler-details[hidden] { display: none; }
.details-heading { display: grid; gap: 3px; margin-bottom: 14px; }
.details-kicker { color: #4f9a6b; font-size: 8px; font-weight: 800; letter-spacing: 0.16em; }
.details-heading strong { color: #244535; font-family: Manrope, Inter, sans-serif; font-size: 13px; letter-spacing: -0.03em; }
.details-heading small { color: #7d9384; font-size: 9px; line-height: 1.45; }
.recycler-details .form-field { margin-bottom: 13px; }
.textarea-wrap { position: relative; display: flex; align-items: flex-start; }
.textarea-wrap .input-icon { top: 14px; }
.textarea-wrap textarea { width: 100%; min-height: 61px; resize: vertical; padding: 12px 13px 10px 42px; border: 1px solid var(--line-light); border-radius: 8px; outline: none; background: rgba(255, 255, 255, 0.56); color: #173127; font-size: 11px; line-height: 1.45; transition: border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease; }
.textarea-wrap textarea::placeholder { color: #a1aea6; }
.textarea-wrap textarea:focus { border-color: #52b47e; background: #fff; box-shadow: 0 0 0 3px rgba(64, 178, 119, 0.13); }
.textarea-wrap textarea[aria-invalid="true"] { border-color: rgba(186, 75, 65, 0.58); box-shadow: 0 0 0 3px rgba(201, 83, 70, 0.08); }
.material-field { margin: 1px 0 12px; }
.material-legend { display: block; margin-bottom: 8px; color: #4a6255; font-size: 10px; font-weight: 700; }
.material-options { display: flex; flex-wrap: wrap; gap: 6px; }
.material-option { cursor: pointer; }
.material-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.material-option span { display: block; padding: 7px 9px; border: 1px solid rgba(19, 53, 38, 0.12); border-radius: 999px; background: rgba(255, 255, 255, 0.55); color: #658073; font-size: 9px; transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease; }
.material-option span::before { content: "+"; margin-right: 4px; color: #4a9c6a; font-weight: 700; }
.material-option:hover span { border-color: rgba(55, 149, 97, 0.35); transform: translateY(-1px); }
.material-option input:checked + span { border-color: #62b881; background: #dff2d7; color: #2b6645; }
.material-option input:checked + span::before { content: "✓"; }
.material-option input:focus-visible + span { outline: 3px solid rgba(70, 175, 115, 0.2); outline-offset: 2px; }
.auth-card.has-recycler-details { min-height: 850px; }
.auth-switch { display: flex; align-items: center; justify-content: center; gap: 5px; margin-top: 25px; color: #8b9b91; font-size: 10px; }
.switch-button { display: inline-flex; align-items: center; gap: 6px; padding: 4px 0; border: 0; background: transparent; color: #287a55; font-size: 10px; font-weight: 700; }
.switch-button span:last-child { font-size: 14px; transition: transform 0.2s ease; }
.switch-button:hover span:last-child { transform: translateX(3px); }
.switch-button:focus-visible { outline: 3px solid rgba(70, 175, 115, 0.18); outline-offset: 3px; border-radius: 4px; }
.auth-side-bottom { justify-content: center; gap: 10px; margin-top: 19px; font-size: 8px; letter-spacing: 0.19em; }
.bottom-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--emerald); }

.auth-card.is-switching { transform: translateY(2px); box-shadow: 0 20px 60px rgba(1, 11, 7, 0.24); }
.auth-card.is-switching .auth-heading { animation: heading-shift 0.48s ease both; }
.auth-card.is-switching .auth-form.is-active .form-field, .auth-card.is-switching .auth-form.is-active .role-field, .auth-card.is-switching .auth-form.is-active .form-options, .auth-card.is-switching .auth-form.is-active .primary-button, .auth-card.is-switching .auth-form.is-active .legal-note { animation: field-rise 0.5s cubic-bezier(0.18, 0.85, 0.35, 1.08) both; }
.auth-card.is-switching .auth-form.is-active .form-field:nth-child(2) { animation-delay: 0.045s; }
.auth-card.is-switching .auth-form.is-active .form-field:nth-child(3) { animation-delay: 0.09s; }
.auth-card.is-switching .auth-form.is-active .form-field:nth-child(4) { animation-delay: 0.135s; }
.auth-card.is-switching .auth-form.is-active .role-field { animation-delay: 0.18s; }
.auth-card.is-switching .auth-form.is-active .primary-button { animation-delay: 0.22s; }

@keyframes field-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes details-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes heading-shift { from { opacity: 0.2; transform: translateY(-7px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ring-drift { to { transform: rotate(337deg); } }
@keyframes ring-drift-reverse { to { transform: rotate(-322deg); } }
@keyframes accent-flow { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1120px) {
  .auth-shell { grid-template-columns: minmax(0, 0.95fr) minmax(450px, 1.05fr); gap: 40px; padding-right: 30px; padding-left: 30px; }
  .brand-copy { margin-top: 100px; }
  .orbit-scene { right: -17%; bottom: 6%; width: 540px; height: 540px; }
  h1 { font-size: clamp(43px, 5.1vw, 65px); }
}
@media (max-width: 860px) {
  .auth-shell { display: block; padding: 23px 20px 22px; }
  .brand-side { min-height: auto; }
  .brand-header { position: relative; z-index: 3; }
  .brand-copy { max-width: 540px; margin: 70px 0 40px; }
  h1 { font-size: clamp(43px, 8vw, 68px); }
  .orbit-scene { position: relative; right: auto; bottom: auto; width: min(600px, 100vw); height: min(420px, 75vw); min-width: 0; min-height: 0; margin: -35px auto -30px; opacity: 0.72; transform: scale(0.88); transform-origin: center; }
  .brand-footer { margin-top: 0; }
  .auth-side { min-height: auto; max-width: 620px; margin: 55px auto 0; }
  .auth-side-bottom { margin-top: 17px; }
}
@media (max-width: 560px) {
  .auth-shell { padding: 18px 14px 20px; }
  .brand-tag { display: none; }
  .help-link { display: none; }
  .brand-copy { margin-top: 65px; }
  .eyebrow { margin-bottom: 18px; }
  h1 { margin-bottom: 20px; font-size: clamp(38px, 12vw, 58px); }
  .brand-description { margin-bottom: 28px; font-size: 12px; line-height: 1.7; }
  .brand-proof { gap: 11px; justify-content: space-between; }
  .proof-item { gap: 5px; font-size: 8px; }
  .proof-divider { height: 21px; }
  .orbit-scene { height: 275px; margin: -24px auto -20px; transform: scale(0.8); }
  .orbit-chip { font-size: 8px; }
  .chip-top { right: -2%; }
  .chip-bottom { right: 1%; }
  .auth-side { margin-top: 38px; }
  .auth-side-top { margin-bottom: 12px; }
  .security-note { font-size: 9px; }
  .auth-card, .auth-card.signup-mode, .auth-card.has-recycler-details { min-height: 0; border-radius: 16px; }
  .auth-card-inner { padding: 30px 19px 24px; }
  .auth-heading { margin-bottom: 25px; }
  h2 { font-size: 33px; }
  .form-grid-two { grid-template-columns: 1fr; gap: 0; }
  .form-field { margin-bottom: 16px; }
  .role-options { gap: 7px; }
  .role-card { padding: 8px; }
  .role-icon { width: 26px; height: 26px; flex-basis: 26px; }
  .auth-switch { margin-top: 22px; }
  .brand-footer { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
