:root {
  --navy: #000447;
  --blue: #4e5ffd;
  --violet: #5629e2;
  --pink: #ff83b3;
  --paper: #f4f5fa;
  --line: #dfe3f1;
  --ink: #11153d;
  --muted: #66708d;
  --success: #17a66a;
  --danger: #bb244d;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

body {
  margin: 0;
  height: 100vh;
  overflow: hidden;
  font-family: Montserrat, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 84% 12%, rgba(255, 131, 179, .22), transparent 30%),
    radial-gradient(circle at 12% 88%, rgba(78, 95, 253, .16), transparent 34%),
    linear-gradient(135deg, #fbfcff 0%, #eef1ff 100%);
}

a { color: var(--blue); font-weight: 700; }

.shell {
  width: 100%;
  height: 100vh;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(460px, 52%) minmax(440px, 48%);
  gap: 0;
  align-items: stretch;
}

.panel {
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.form-panel {
  height: 100vh;
  overflow-y: auto;
  padding: 40px clamp(28px, 6vw, 82px);
  align-items: center;
}

.form-panel > h1,
.form-panel > .intro,
.form-panel > form,
.form-panel > .brand {
  width: min(100%, 560px);
}

.marketing-panel {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  padding: clamp(34px, 5vw, 58px) clamp(28px, 4vw, 58px);
  color: white;
  background:
    radial-gradient(circle at 88% 12%, rgba(255,131,179,.42), transparent 26%),
    radial-gradient(circle at 12% 70%, rgba(78,95,253,.55), transparent 32%),
    linear-gradient(145deg, #000447 0%, #181c75 54%, #5629e2 100%);
}

.brand img { width: 124px; height: auto; display: block; margin-bottom: 28px; }

.eyebrow, .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  background: rgba(78,95,253,.1);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 800;
  font-size: 12px;
}

.marketing-panel .badge {
  color: white;
  background: rgba(255,255,255,.14);
}

h1, h2 {
  margin: 14px 0 10px;
  color: var(--navy);
  letter-spacing: 0;
  line-height: 1.02;
}

h1 { font-size: clamp(32px, 4vw, 48px); }
h2 { font-size: clamp(34px, 4.4vw, 58px); color: white; max-width: 620px; }
.intro, .marketing-panel p { line-height: 1.7; font-size: 15px; }
.intro { color: var(--muted); }
.marketing-panel p { color: rgba(255,255,255,.78); max-width: 560px; }

form { margin-top: 26px; display: grid; gap: 16px; }
.grid { display: grid; gap: 14px; }
.grid.two { grid-template-columns: 1fr 1fr; }

label {
  display: grid;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  color: var(--navy);
}

input {
  width: 100%;
  height: 50px;
  border: 1px solid rgba(17, 21, 61, .12);
  border-radius: 14px;
  padding: 0 14px;
  color: var(--ink);
  background: rgba(255,255,255,.84);
  font: 600 14px Montserrat, sans-serif;
  outline: none;
  transition: border .16s ease, box-shadow .16s ease, background .16s ease;
}

input:focus,
.combo.is-open .combo-trigger {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(78,95,253,.13);
  background: #fff;
}

.phone-row, .password-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 8px;
}

.password-row { grid-template-columns: 1fr 50px; }

.combo {
  position: relative;
}

.combo-trigger {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid rgba(17, 21, 61, .12);
  border-radius: 14px;
  background: rgba(255,255,255,.84);
  color: var(--ink);
  cursor: pointer;
  font: 600 14px Montserrat, sans-serif;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.combo-trigger::after {
  content: "⌄";
  color: var(--muted);
  font-size: 14px;
  flex: none;
}

.combo-value {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.combo-flag {
  font-size: 18px;
  line-height: 1;
}

.combo-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.combo-menu {
  position: absolute;
  inset: calc(100% + 8px) 0 auto;
  z-index: 10;
  padding: 12px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(17, 21, 61, .08);
  box-shadow: 0 18px 40px rgba(0, 4, 71, .12);
}

#phoneCountryCombo .combo-menu {
  width: min(320px, calc(100vw - 32px));
  right: auto;
}

.combo-search {
  height: 46px;
  margin-bottom: 10px;
  background: var(--paper);
}

.combo-options {
  display: grid;
  gap: 6px;
  max-height: 248px;
  overflow: auto;
}

.combo-option {
  width: 100%;
  border: 0;
  background: transparent;
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font: 600 13px Montserrat, sans-serif;
  text-align: left;
}

.combo-option:hover,
.combo-option.is-active {
  background: rgba(78,95,253,.08);
}

.combo-meta {
  margin-left: auto;
  color: var(--muted);
  font-weight: 700;
}

#togglePassword {
  display: grid;
  place-items: center;
  border: 1px solid rgba(17, 21, 61, .12);
  border-radius: 14px;
  background: rgba(255,255,255,.84);
  color: var(--navy);
  cursor: pointer;
}

#togglePassword svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .72;
}

.company-section {
  position: relative;
  display: grid;
  gap: 14px;
  padding-top: 8px;
}

.company-section.is-loading::before {
  content: "";
  position: absolute;
  inset: -10px;
  z-index: 18;
  border-radius: 24px;
  background: rgba(255,255,255,.68);
  backdrop-filter: blur(2px);
}

.company-section.is-loading::after {
  content: "Chargement des informations...";
  position: absolute;
  left: 50%;
  top: 52%;
  z-index: 19;
  transform: translate(-50%, -50%);
  padding: 12px 16px 12px 38px;
  border: 1px solid rgba(78,95,253,.18);
  border-radius: 999px;
  color: var(--navy);
  background: #fff;
  box-shadow: 0 18px 42px rgba(0,4,71,.13);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.company-section.is-loading .company-autocomplete::after {
  content: "";
  position: absolute;
  left: calc(50% - 102px);
  top: calc(52% - 8px);
  z-index: 20;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(78,95,253,.16);
  border-top-color: var(--blue);
  border-radius: 999px;
  animation: spin .72s linear infinite;
}

.company-autocomplete {
  position: relative;
}

.suggestions {
  position: absolute;
  inset: calc(100% + 8px) 0 auto;
  z-index: 20;
  display: grid;
  gap: 6px;
  max-height: 292px;
  overflow: auto;
  padding: 10px;
  border: 1px solid rgba(17, 21, 61, .08);
  border-radius: 20px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 24px 54px rgba(0,4,71,.14);
  backdrop-filter: blur(14px);
}

.suggestions button {
  text-align: left;
  border: 0;
  border-radius: 14px;
  padding: 12px 14px;
  background: transparent;
  cursor: pointer;
  font: 600 13px Montserrat, sans-serif;
  color: var(--ink);
  transition: background .16s ease, transform .16s ease;
}

.suggestions button:hover,
.suggestions button:focus {
  background: rgba(78,95,253,.08);
  transform: translateX(2px);
  outline: none;
}

.suggestions button span {
  display: block;
  font-weight: 800;
}

.suggestions small { display: block; color: var(--muted); margin-top: 4px; }

.suggestions-loading,
.suggestions-empty {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.suggestions-empty {
  color: var(--danger);
}

.suggestions-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(78,95,253,.16);
  border-top-color: var(--blue);
  border-radius: 999px;
  animation: spin .72s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.password-help { color: var(--muted); font-size: 12px; line-height: 1.5; }
.password-help.good { color: var(--success); }
.password-help.bad { color: var(--danger); }

.check {
  grid-template-columns: 20px 1fr;
  align-items: start;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.5;
}

.check input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
}

.form-error {
  border: 1px solid rgba(187,36,77,.2);
  background: rgba(187,36,77,.08);
  color: var(--danger);
  border-radius: 14px;
  padding: 12px;
  font-size: 13px;
  line-height: 1.5;
}

.submit {
  height: 54px;
  border: 0;
  border-radius: 18px;
  color: white;
  font: 800 15px Montserrat, sans-serif;
  cursor: pointer;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 14px 30px rgba(78,95,253,.22);
}

.submit:disabled { opacity: .62; cursor: wait; }

.link-button {
  border: 0;
  background: transparent;
  color: var(--blue);
  font: 800 13px Montserrat, sans-serif;
  cursor: pointer;
}

.link-button:disabled {
  opacity: .55;
  cursor: wait;
}

.form-panel.is-otp {
  justify-content: center;
  overflow-y: hidden;
}

.form-panel.is-otp .brand {
  margin-bottom: 36px;
}

.otp-view {
  width: min(100%, 520px);
  display: grid;
  justify-items: center;
  text-align: center;
  animation: successPanelIn .55s cubic-bezier(.2,.8,.2,1) both;
}

.otp-kicker {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.otp-form {
  width: 100%;
  margin-top: 20px;
}

.otp-boxes {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.otp-box {
  height: 62px;
  padding: 0;
  border-radius: 18px;
  text-align: center;
  font-size: 24px;
  font-weight: 900;
  color: var(--navy);
}

.otp-box:focus {
  border-color: rgba(78,95,253,.62);
  box-shadow: 0 0 0 4px rgba(78,95,253,.11);
}

.form-panel.is-received {
  justify-content: center;
  overflow-y: hidden;
}

.form-panel.is-received .brand {
  margin-bottom: 36px;
}

.success-view {
  width: min(100%, 560px);
  display: grid;
  justify-items: center;
  text-align: center;
  animation: successPanelIn .7s cubic-bezier(.2,.8,.2,1) both;
}

.success-animation {
  --signal-distance: 112px;
  position: relative;
  width: min(100%, 430px);
  height: 178px;
  margin: 0 auto 30px;
  isolation: isolate;
}

.success-path {
  position: absolute;
  left: 74px;
  right: 74px;
  top: 52px;
  height: 2px;
  border-radius: 99px;
  background:
    linear-gradient(90deg, var(--success) 0 50%, rgba(78,95,253,.24) 50% 100%);
  transform-origin: left center;
  animation: successPath 1.1s cubic-bezier(.2,.8,.2,1) .12s both;
  z-index: -1;
}

.success-step {
  position: absolute;
  display: grid;
  grid-template-rows: 72px auto auto;
  place-items: center;
  gap: 6px;
  top: 16px;
  width: 116px;
  color: var(--navy);
  animation: successNodeIn .62s cubic-bezier(.2,.9,.2,1.18) both;
}

.success-step svg {
  width: 54px;
  height: 54px;
  padding: 13px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(17,21,61,.08);
  box-shadow: 0 16px 34px rgba(0,4,71,.1);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.success-step strong {
  font-size: 12px;
  font-weight: 900;
  color: var(--navy);
}

.success-step small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.success-step-form {
  left: 0;
  color: var(--success);
  animation-delay: .08s;
}

.success-step-form svg {
  background: linear-gradient(135deg, #20c47c, #17a66a);
  border-color: rgba(23,166,106,.18);
  box-shadow: 0 18px 36px rgba(23,166,106,.18);
  stroke: white;
}

.success-step-review {
  left: calc(50% - 58px);
  color: var(--blue);
  animation-delay: .4s;
}

.success-step-review svg {
  border-color: rgba(78,95,253,.2);
  box-shadow: 0 18px 36px rgba(78,95,253,.12);
  animation: reviewPulse 1.6s ease-in-out .95s infinite;
}

.success-step-enable {
  right: 0;
  color: var(--muted);
  animation-delay: .72s;
}

.success-step-enable svg {
  background: rgba(255,255,255,.58);
  stroke: var(--muted);
  box-shadow: none;
}

.success-signal {
  position: absolute;
  left: 92px;
  top: 49px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(23,166,106,.12), 0 0 18px rgba(23,166,106,.4);
  animation: successSignal 1.15s cubic-bezier(.45,0,.2,1) .56s both;
}

.signal-two {
  left: calc(50% + 34px);
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(78,95,253,.1), 0 0 18px rgba(78,95,253,.36);
  animation-delay: 1.08s;
}

.success-kicker {
  margin: 0 0 10px;
  color: var(--success);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.success-view h1 {
  width: 100%;
}

.success-note {
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px solid rgba(23,166,106,.18);
  border-radius: 18px;
  background: rgba(23,166,106,.08);
  color: #0f6f49;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
  text-align: left;
}

.story-head {
  max-width: 620px;
}

.module-slider {
  margin-top: auto;
  padding-top: 28px;
}

.slide-track {
  position: relative;
  min-height: 390px;
  overflow: hidden;
}

.module-slide {
  position: absolute;
  inset: 0;
  display: none;
  grid-template-columns: .82fr 1.18fr;
  gap: 22px;
  align-items: center;
  isolation: isolate;
  z-index: 0;
  pointer-events: none;
}

.module-slide::before {
  content: attr(data-module);
  position: absolute;
  right: 2%;
  top: 4%;
  color: rgba(255,255,255,.05);
  font-size: clamp(54px, 8vw, 104px);
  font-weight: 900;
  line-height: 1;
  z-index: -1;
  pointer-events: none;
}

.module-slide.is-active {
  display: grid;
  z-index: 1;
  animation: slideEnter .62s cubic-bezier(.2,.8,.2,1) both;
  pointer-events: auto;
}

.module-copy span {
  display: inline-flex;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  color: #91fff0;
}

.module-copy h3 {
  margin: 0 0 12px;
  color: white;
  font-size: 31px;
  line-height: 1.08;
}

.module-copy p {
  margin: 0;
  color: rgba(255,255,255,.76);
  line-height: 1.65;
  font-size: 14px;
}

.module-graphic {
  min-height: 350px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(150px, .9fr) minmax(190px, 1fr);
  gap: 28px;
  align-items: center;
  place-items: center;
  isolation: isolate;
}

.module-graphic::before {
  content: "";
  position: absolute;
  inset: 20px 0 10px 24px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.18), transparent 60%);
  filter: blur(2px);
  z-index: -1;
}

.local-map {
  position: relative;
  width: min(190px, 100%);
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    linear-gradient(90deg, transparent 49%, rgba(255,255,255,.18) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(255,255,255,.18) 50%, transparent 51%),
    rgba(255,255,255,.08);
  animation: floatIn 7s ease-in-out infinite;
}

.local-map i {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #91fff0;
  box-shadow: 0 0 0 8px rgba(145,255,240,.12);
}

.local-map i:nth-child(1) { left: 44px; top: 58px; }
.local-map i:nth-child(2) { right: 42px; top: 84px; background: #ffcf62; }
.local-map i:nth-child(3) { left: 86px; bottom: 38px; background: #ff83b3; }
.local-map strong { margin-top: 16px; font-size: 48px; color: white; }
.local-map small { margin-top: -42px; color: rgba(255,255,255,.72); font-weight: 700; }

.review-feed {
  position: relative;
  width: min(260px, 100%);
  display: grid;
  gap: 13px;
}

.review-feed b,
.agent-card b {
  color: white;
  font-size: 14px;
}

.review-feed span {
  display: grid;
  gap: 7px;
  color: rgba(255,255,255,.78);
  font-size: 12px;
  font-weight: 700;
}

.review-feed span::after {
  content: "";
  width: var(--p);
  height: 7px;
  border-radius: 20px;
  background: linear-gradient(90deg, #91fff0, #ffcf62);
}

.phone-mock {
  width: min(205px, 100%);
  min-height: 310px;
  padding: 22px 16px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 30px;
  background: rgba(255,255,255,.1);
  box-shadow: inset 0 0 0 7px rgba(255,255,255,.06);
  transform: rotate(-5deg);
  animation: floatIn 6s ease-in-out infinite;
}

.message {
  margin-bottom: 12px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.16);
  color: white;
  font-size: 13px;
  font-weight: 800;
}

.message.rich {
  min-height: 96px;
  background: linear-gradient(135deg, #ff83b3, #ffcf62);
  color: var(--navy);
}

.message small {
  display: block;
  margin-top: 20px;
  color: rgba(0,4,71,.72);
}

.phone-mock button {
  width: 100%;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: #91fff0;
  color: var(--navy);
  font: 900 12px Montserrat, sans-serif;
}

.campaign-metrics {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: min(245px, 100%);
}

.campaign-metrics b {
  display: block;
  color: white;
  font-size: 32px;
}

.campaign-metrics small,
.agent-card p {
  color: rgba(255,255,255,.72);
  font-size: 12px;
  line-height: 1.5;
}

.inbox-list {
  width: min(320px, 68%);
  display: grid;
  gap: 12px;
}

.inbox-list span,
.action-stack span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,.13);
  color: white;
  font-size: 13px;
  font-weight: 800;
  animation: messageLift .7s ease both;
}

.inbox-list span:nth-child(2) { animation-delay: .12s; }
.inbox-list span:nth-child(3) { animation-delay: .24s; }
.inbox-list span:nth-child(4) { animation-delay: .36s; }
.inbox-list b { color: #91fff0; font-size: 11px; text-transform: uppercase; }

.agent-card {
  position: relative;
  width: min(190px, 100%);
  padding: 18px;
  border: 1px solid rgba(145,255,240,.28);
  border-radius: 22px;
  background: rgba(0,4,71,.28);
}

.orbit {
  position: relative;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%;
  display: grid;
  place-items: center;
  animation: orbitTurn 14s linear infinite;
}

.orbit strong {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #91fff0;
  color: var(--navy);
  font-size: 34px;
}

.orbit i {
  position: absolute;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  color: white;
  font-style: normal;
  font-weight: 900;
  font-size: 11px;
}

.orbit i:nth-child(1) { transform: translateY(-96px); }
.orbit i:nth-child(2) { transform: translateX(96px); }
.orbit i:nth-child(3) { transform: translateY(96px); }
.orbit i:nth-child(4) { transform: translateX(-96px); }

.action-stack {
  position: relative;
  display: grid;
  gap: 10px;
  width: min(240px, 100%);
}

.slide-controls {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 18px;
}

.slide-controls button {
  position: relative;
  height: 38px;
  border: 0;
  border-bottom: 2px solid rgba(255,255,255,.18);
  background: transparent;
  color: rgba(255,255,255,.62);
  cursor: pointer;
  font: 900 11px Montserrat, sans-serif;
  text-align: left;
}

.slide-controls button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: #91fff0;
  transition: width .35s ease;
}

.slide-controls button.is-active {
  color: white;
}

.slide-controls button.is-active::after {
  width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

@keyframes floatIn {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-12px) rotate(2deg); }
}

@keyframes messageLift {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideEnter {
  from { opacity: 0; transform: translateX(42px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes successPanelIn {
  from { opacity: 0; transform: translateY(18px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes successPath {
  from { opacity: 0; transform: scaleX(0); }
  to { opacity: 1; transform: scaleX(1); }
}

@keyframes successNodeIn {
  from { opacity: 0; transform: translateY(14px) scale(.82) rotate(-4deg); }
  to { opacity: 1; transform: translateY(0) scale(1) rotate(0); }
}

@keyframes successSignal {
  0% { opacity: 0; transform: translateX(0) scale(.5); }
  15% { opacity: 1; }
  82% { opacity: 1; transform: translateX(var(--signal-distance)) scale(1); }
  100% { opacity: 0; transform: translateX(calc(var(--signal-distance) + 20px)) scale(.45); }
}

@keyframes reviewPulse {
  0%, 100% { box-shadow: 0 18px 36px rgba(78,95,253,.12), 0 0 0 0 rgba(78,95,253,.16); }
  50% { box-shadow: 0 18px 36px rgba(78,95,253,.12), 0 0 0 10px rgba(78,95,253,0); }
}

@keyframes orbitTurn {
  to { transform: rotate(360deg); }
}

@media (max-width: 1080px) {
  body {
    height: auto;
    min-height: 100vh;
    overflow: auto;
  }

  .shell {
    display: block;
    width: min(100% - 32px, 640px);
    height: auto;
    min-height: 100vh;
    margin: 0 auto;
    padding: 0;
  }

  .form-panel {
    height: auto;
    min-height: 100vh;
    overflow: visible;
    padding: 32px 0 44px;
    align-items: center;
  }

  .marketing-panel {
    display: none;
  }

  .form-panel > h1,
  .form-panel > .intro,
  .form-panel > form,
  .form-panel > .brand {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 18px, 640px); }
  .grid.two,
  .phone-row,
  .password-row {
    grid-template-columns: 1fr;
  }

  h1 { font-size: 34px; }

  .success-animation {
    --signal-distance: 78px;
    width: min(100%, 320px);
    height: 168px;
  }

  .success-path {
    left: 56px;
    right: 56px;
  }

  .success-step {
    grid-template-rows: 64px auto auto;
    width: 92px;
  }

  .success-step svg {
    width: 48px;
    height: 48px;
    padding: 12px;
    border-radius: 18px;
  }

  .success-step-review { left: calc(50% - 46px); }
  .success-signal { left: 72px; }
  .signal-two { left: calc(50% + 26px); }
}
