/* Public authentication landing only. No terminal or payment selectors. */
.auth-landing-page {
  --landing-muted: #52647b;
  --landing-border: #d9e4f2;
  margin-top: 0 !important;
  background: radial-gradient(ellipse at 6% 5%, #d4eaff 0, transparent 38%), radial-gradient(ellipse at 97% 16%, #ffe5ce 0, transparent 30%), #f6f9ff !important;
  color: #14243d;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
.auth-landing-page > .pointer-events-none { display: none; }
.auth-landing-page > header {
  position: sticky;
  top: 0;
  border-bottom: 1px solid var(--landing-border) !important;
  background: rgb(255 255 255 / 88%) !important;
  backdrop-filter: blur(16px);
}
.auth-landing-page > header > div { max-width: 1440px; height: 80px; }
.auth-landing-page > header a[aria-label] > span:last-child {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .035em;
}
.auth-landing-page > header nav { gap: 32px; font-weight: 500; }
.auth-landing-page > main { max-width: 1440px; padding-top: 64px; padding-bottom: 80px; }
.auth-landing-page > main > div {
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 64px;
}
.auth-landing-page > main > div > div:first-child > div:first-child {
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
}
.auth-landing-page main .font-black { font-weight: 650 !important; }
.auth-landing-page main h1 {
  max-width: 720px;
  font-size: clamp(40px, 4.2vw, 64px);
  font-weight: 650 !important;
  letter-spacing: -.045em;
  line-height: 1.09;
}
.auth-landing-page main h1 > span {
  background: linear-gradient(110deg, #146df5 15%, #7c47eb 65%, #ef7a21);
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.auth-landing-page main h1 + p {
  max-width: 600px;
  margin-top: 24px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--landing-muted);
}
.auth-landing-page main [class*="tracking-[.18em]"] {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  color: #2464ae;
}
.auth-landing-page main [class*="tracking-[.18em]"][class*="rounded-full"] {
  border-color: #a5cef8;
  background: #e8f4ff;
  padding: 8px 14px;
}
.auth-landing-page main a[href="#auth-panel"][class*="from-[#ff9a20]"],
.auth-landing-page aside button[class*="from-[#ff9a20]"] {
  background: linear-gradient(110deg, #ff972d, #ff5d28) !important;
  color: #fff;
  box-shadow: 0 8px 22px rgb(255 106 40 / 22%) !important;
  border-radius: 10px;
  font-weight: 700;
}
.auth-landing-page main a[href="#auth-panel"][class*="from-[#ff9a20]"],
.auth-landing-page main a[href="#platform"][class*="border"] {
  padding: 15px 24px;
  font-size: 14px;
  border-radius: 10px;
  transform: none;
}
.auth-landing-page [class~="max-w-[620px]"] {
  max-width: 560px;
  margin-top: 32px;
  padding-top: 24px;
  gap: 24px;
}
.auth-landing-page [class~="max-w-[620px]"] > div > div:first-child { font-size: 24px; }
.auth-landing-page [class~="max-w-[620px]"] > div > div:last-child { color: var(--landing-muted); line-height: 1.6; }
.auth-landing-page [class~="max-w-[760px]"] { max-width: none; }
.auth-landing-page [class~="max-w-[760px]"] > div.absolute { display: none; }
.auth-landing-page [class~="max-w-[760px]"] > div.relative {
  border: 1px solid #324c70;
  border-radius: 20px;
  background: linear-gradient(145deg, #173e70, #11213b 65%);
  color: #f3f6ff;
  padding: 24px;
  box-shadow: 0 24px 54px rgb(22 62 112 / 20%);
}
.auth-landing-page [class~="max-w-[760px]"] [class*="h-[300px]"] {
  height: 230px;
  border-radius: 12px;
  background: #0c1622;
}
.auth-landing-page [class~="max-w-[760px]"] [class*="grid-cols-3"] > div { background: #172432; border-radius: 8px; }
.auth-landing-page aside#auth-panel { order: 0; top: 112px; }
.auth-landing-page aside#auth-panel > section {
  padding: 30px;
  border: 1px solid #fff;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 20px 70px rgb(41 73 114 / 12%), 0 0 0 1px rgb(54 97 159 / 8%);
  backdrop-filter: none;
}
.auth-landing-page aside#auth-panel h1 { font-size: 28px; line-height: 1.25; letter-spacing: -.025em; font-weight: 600; }
.auth-landing-page aside#auth-panel .auth-form-heading { align-items: flex-start; text-align: left; gap: 20px; margin-bottom: 24px; }
.auth-landing-page aside#auth-panel .auth-form-heading > div:last-child { max-width: 100%; }
.auth-landing-page aside#auth-panel .text-zinc-500,
.auth-landing-page aside#auth-panel .text-zinc-600,
.auth-landing-page aside#auth-panel .text-zinc-400 { color: var(--landing-muted); }
.auth-landing-page aside#auth-panel input:not([type="checkbox"]) {
  height: 48px;
  border: 1px solid #c9d7e9;
  border-radius: 9px;
  background: #f4f7fc !important;
  color: #14243d;
  padding-inline-start: 14px;
  font-size: 16px;
}
.auth-landing-page aside#auth-panel input::placeholder { color: #64768c; }
.auth-landing-page aside#auth-panel input:-webkit-autofill {
  -webkit-text-fill-color: #14243d;
  box-shadow: 0 0 0 1000px #f4f7fc inset;
}
.auth-landing-page aside#auth-panel input[type="checkbox"] { accent-color: #ff8b36; box-shadow: none; }
.auth-landing-page aside#auth-panel label > span:first-child { font-size: 13px; font-weight: 500; }
.auth-landing-page aside#auth-panel button[class*="bg-[#37302c]"] {
  height: 48px;
  background: #f4f7fc;
  border: 1px solid #d9e4f2;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
}
.auth-landing-page aside#auth-panel button[class*="from-[#ff9a20]"] { height: 50px; font-size: 15px; }
.auth-landing-page aside#auth-panel [class*="text-orange"] { color: #b64b0b; font-size: 13px; }
.auth-landing-page aside#auth-panel label button[class*="text-orange"] { font-size: 22px; }
.auth-landing-page :is(a, button, input):focus-visible { outline: 2px solid #146df5; outline-offset: 4px; }
.auth-landing-page :is(section, aside)[id] { scroll-margin-top: 112px; }
.auth-landing-page section#how-it-works { margin-top: 64px; }
.auth-landing-page section#how-it-works h2 { font-size: 32px; line-height: 1.25; letter-spacing: -.025em; }
.auth-landing-page section#how-it-works article {
  border: 1px solid var(--landing-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 30px rgb(38 75 123 / 5%);
  padding: 24px;
  transform: none;
}
.auth-landing-page section#how-it-works article > div:first-child { font-size: 16px; font-variant-numeric: tabular-nums; }
.auth-landing-page section#how-it-works article h3 { font-size: 16px; line-height: 1.5; }
.auth-landing-page section#how-it-works article p,
.auth-landing-page section#platform p { color: var(--landing-muted); }
.auth-landing-page section#platform { margin-top: 24px; border-color: #c8dbf8; border-radius: 20px; background: linear-gradient(120deg, #e7f2ff, #f2ecff); }
.auth-landing-page > footer.landing-legal-footer { border-top: 1px solid var(--landing-border); background: #0e1723; color: var(--landing-muted); }
.auth-landing-page .landing-legal-footer__inner { max-width: 1440px; margin: auto; padding: 32px; font-size: 13px; line-height: 1.7; }
.auth-landing-page .landing-legal-footer__top { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 48px; }
.auth-landing-page .landing-legal-footer__title { display: flex; align-items: center; gap: 10px; color: #e6edf7; margin-bottom: 12px; font-weight: 600; }
.auth-landing-page .landing-legal-footer__title span { color: #ffb276; }
.auth-landing-page .landing-legal-footer__risk-link { display: inline-block; margin-top: 12px; }
.auth-landing-page .landing-legal-footer__links { display: flex; flex-direction: column; gap: 12px; }
.auth-landing-page .landing-legal-footer__meta { display: flex; flex-wrap: wrap; gap: 12px 32px; border-top: 1px solid var(--landing-border); margin-top: 24px; padding-top: 20px; font-size: 12px; }
.auth-landing-page .landing-legal-footer a { color: #c9d7e9; text-underline-offset: 4px; }
.auth-landing-page .landing-legal-footer a:hover { color: #ffb276; }
.auth-landing-page > header nav { color: #52647b; }
.auth-landing-page > header nav a:hover { color: #146df5; }
.auth-landing-page > header a[href="#auth-panel"] { background: #146df5; color: white; border: 0; }
.auth-landing-page > header a[href="#auth-panel"]:hover { background: #0955ca; }
.auth-landing-page main a[href="#platform"][class*="border"] { background: #fff; border-color: #c8d8ee; color: #174273; box-shadow: 0 4px 14px rgb(38 75 123 / 5%); }
.auth-landing-page main a[href="#platform"][class*="border"]:hover { border-color: #146df5; background: #edf5ff; }
.auth-landing-page aside#auth-panel :is(.bg-white\/10, [class*="bg-white/10"]) { background-color: #d9e4f2; }
.auth-landing-page aside#auth-panel > div:last-child { color: #52647b; }
.auth-landing-page aside#auth-panel [class*="border-red"] { color: #9f1827; border-radius: 8px; }
.auth-landing-page aside#auth-panel [class*="text-white"] { color: #14243d; }
.auth-landing-page aside#auth-panel button span[class*="bg-[#1877f2]"] { color: white; }
.auth-landing-page aside#auth-panel [class*="bg-[#1"][class*="rounded"] { color: #14243d; }
.auth-landing-page section#how-it-works article > div:first-child {
  display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: 12px; background: #e8f2ff; color: #146df5;
}
.auth-landing-page section#how-it-works article:nth-child(2) > div:first-child { background: #f0eaff; color: #7843d8; }
.auth-landing-page section#how-it-works article:nth-child(3) > div:first-child { background: #fff0df; color: #b95113; }
.auth-landing-page [class~="max-w-[620px]"] { border-top-color: #c7d9ed; }
.auth-landing-page [class~="max-w-[760px]"] .text-slate-400 { color: #a9c4e4; }
.auth-landing-page [class~="max-w-[760px]"] [class*="grid-cols-3"] > div { background: rgb(79 125 188 / 16%); }
.auth-landing-page [class~="max-w-[760px]"] svg path[stroke] { filter: drop-shadow(0 0 5px rgb(56 169 255 / 45%)); }
.auth-landing-page aside#auth-panel button:not(:disabled):hover { filter: brightness(.97); }
/* Language menus are shared widgets: override their dark tokens only here. */
.auth-landing-page :is(header, aside) [role="listbox"],
.auth-landing-page :is(header, aside) button[aria-haspopup="listbox"] { background: #edf3fc !important; color: #243d5e !important; border-color: #d1dff0 !important; }
.auth-landing-page [role="listbox"] {
  background: #fff !important;
  border-color: #bbcee7 !important;
  box-shadow: 0 14px 40px rgb(33 66 109 / 18%) !important;
}
.auth-landing-page [role="listbox"] [role="option"] {
  color: #243d5e !important;
  background: transparent !important;
  min-height: 40px;
}
.auth-landing-page [role="listbox"] [role="option"]:hover,
.auth-landing-page [role="listbox"] [role="option"]:focus-visible { background: #e9f2ff !important; }
.auth-landing-page [role="listbox"] [role="option"][aria-selected="true"] { background: #dcecff !important; color: #124b9c !important; }
.auth-landing-page .landing-legal-footer { --landing-muted: #a5b8cf; }
.auth-landing-page #how-it-works > div:first-child > p { color: var(--landing-muted); }
/* Remove the illustrative quote widget, not any real terminal chart. */
.auth-landing-page > main > div > div:first-child > div:first-child > div.relative.mx-auto {
  display: none;
}
/* Decorative icons accompany the existing translated feature headings. */
.auth-landing-page #platform > div > div > div:first-child { display: none; }
.auth-landing-page #platform > div > div::before {
  content: "";
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background-color: #d7eaff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 28px 28px;
}
.auth-landing-page #platform > div > div:nth-child(1)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231469d8' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='13' rx='2'/%3E%3Cpath d='M8 21h8m-4-4v4M6 13l4-4 3 2 5-4'/%3E%3C/svg%3E");
}
.auth-landing-page #platform > div > div:nth-child(2)::before {
  background-color: #e8dfff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236c41c9' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3v3m0 9v5M12 6v3m0 7v5M19 2v3m0 8v5'/%3E%3Crect x='3' y='6' width='4' height='9' rx='1'/%3E%3Crect x='10' y='9' width='4' height='7' rx='1'/%3E%3Crect x='17' y='5' width='4' height='8' rx='1'/%3E%3C/svg%3E");
}
.auth-landing-page #platform > div > div:nth-child(3)::before {
  background-color: #ffead4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b95113' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 4-4 7-8 9-4-2-8-5-8-9V6zM8 12l3 3 5-6'/%3E%3C/svg%3E");
}
@media (max-width: 1199px) {
  .auth-landing-page > main > div { grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; }
  .auth-landing-page aside#auth-panel > section { padding: 24px; }
  .auth-landing-page #how-it-works > div:last-child { grid-template-columns: 1fr; }
}
@media (max-width: 899px) {
  .auth-landing-page > main { padding-top: 32px; }
  .auth-landing-page > main > div { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .auth-landing-page aside#auth-panel { order: -1; position: static; width: min(100%, 480px); margin-inline: auto; }
  .auth-landing-page aside#auth-panel > div:first-child { display: none; }
  .auth-landing-page .landing-legal-footer__top { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 639px) {
  .auth-landing-page > header > div { height: 68px; padding-inline: 16px; gap: 12px; }
  .auth-landing-page > header a[aria-label] { gap: 8px; }
  .auth-landing-page > header a[aria-label] > span:last-child { font-size: 17px; }
  .auth-landing-page > main { padding-inline: 16px; padding-bottom: 48px; }
  .auth-landing-page main h1 { font-size: 38px; }
  .auth-landing-page aside#auth-panel h1 { font-size: 26px; }
  .auth-landing-page aside#auth-panel > section { padding: 22px; border-radius: 16px; }
  .auth-landing-page [class~="max-w-[760px]"] > div.relative { padding: 16px; }
  .auth-landing-page [class~="max-w-[760px]"] [class*="h-[300px]"] { height: 200px; }
  .auth-landing-page [class~="max-w-[620px]"] { gap: 14px; }
  .auth-landing-page .landing-legal-footer__inner { padding: 24px 16px; }
}
@keyframes landing-enter {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes landing-menu-enter {
  from { opacity: 0; transform: translateY(-8px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes landing-color-flow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.auth-landing-page .animate-pulse { animation: none; }
@media (prefers-reduced-motion: no-preference) {
  .auth-landing-page [role="listbox"] { animation: landing-menu-enter 240ms ease-out; transform-origin: top right; }
  .auth-landing-page [role="option"] { animation: landing-enter 280ms ease-out backwards; }
  .auth-landing-page [role="option"]:nth-child(2) { animation-delay: 25ms; }
  .auth-landing-page [role="option"]:nth-child(3) { animation-delay: 50ms; }
  .auth-landing-page [role="option"]:nth-child(4) { animation-delay: 75ms; }
  .auth-landing-page [role="option"]:nth-child(5) { animation-delay: 100ms; }
  .auth-landing-page [role="option"]:nth-child(6) { animation-delay: 125ms; }
  .auth-landing-page [role="option"]:nth-child(7) { animation-delay: 150ms; }
  .auth-landing-page main h1 > span { background-size: 220% 100%; animation: landing-color-flow 8s ease-in-out infinite; }
  .auth-landing-page aside label > span { transition: color 180ms ease; }
  .auth-landing-page aside label:focus-within > span:first-child { color: #146df5; }
  .auth-landing-page aside input { transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease; }
  .auth-landing-page aside input:focus { border-color: #146df5; background: #fff !important; }
  .auth-landing-page aside button:active,
  .auth-landing-page main a:active { transform: scale(.98); }
  .auth-landing-page main > div > div:first-child > div:first-child > div:first-child > h1,
  .auth-landing-page aside#auth-panel > section {
    animation: landing-enter 600ms cubic-bezier(.2,.7,.3,1) backwards;
  }
  .auth-landing-page aside#auth-panel > section { animation-delay: 80ms; }
  .auth-landing-page #how-it-works article {
    animation: landing-enter 500ms cubic-bezier(.2,.7,.3,1) 120ms backwards;
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
  }
  .auth-landing-page #how-it-works article:nth-child(2) { animation-delay: 200ms; }
  .auth-landing-page #how-it-works article:nth-child(3) { animation-delay: 280ms; }
  .auth-landing-page #platform > div > div::before { transition: transform 200ms ease; }
  .auth-landing-page main a[href="#auth-panel"],
  .auth-landing-page main a[href="#platform"],
  .auth-landing-page aside#auth-panel button:not(:disabled) {
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
  }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .auth-landing-page #how-it-works article,
    .auth-landing-page #platform > div > div {
      animation: landing-enter linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 65%;
    }
  }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .auth-landing-page #how-it-works article:hover {
    transform: translateY(-4px);
    border-color: #9dc4f5;
    box-shadow: 0 14px 30px rgb(38 75 123 / 12%);
  }
  .auth-landing-page #platform > div > div:hover::before { transform: translateY(-3px) rotate(-4deg); }
  .auth-landing-page main a[href="#auth-panel"]:hover,
  .auth-landing-page main a[href="#platform"]:hover,
  .auth-landing-page aside#auth-panel button:not(:disabled):hover { transform: translateY(-2px); }
}
@media (prefers-reduced-motion: reduce) {
  .auth-landing-page *, .auth-landing-page *::before, .auth-landing-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
