/* Miaora public home v2: lightweight, product-led and independent from the signed-in shell. */
body.auth-landing-open {
  background: #071522;
}

body.auth-landing-open .auth-gate {
  color: #eaf2fb;
  background:
    radial-gradient(circle at 82% 4%, rgba(53, 103, 149, .3), transparent 31%),
    radial-gradient(circle at 7% 24%, rgba(28, 82, 105, .24), transparent 28%),
    linear-gradient(145deg, #07131f 0%, #0a1b2a 48%, #0d2232 100%);
}

body.auth-landing-open .auth-landing {
  width: min(1460px, calc(100% - 48px));
  margin: 0 auto;
  padding: 20px 0 42px;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
}

body.auth-landing-open .auth-landing-header {
  position: sticky;
  top: 16px;
  left: auto;
  z-index: 45;
  width: 100%;
  min-height: 72px;
  padding: 10px 14px 10px 18px;
  border: 1px solid rgba(183, 212, 235, .18);
  border-radius: 22px;
  background: rgba(8, 23, 36, .76);
  box-shadow: 0 20px 70px rgba(0, 0, 0, .2), inset 0 1px rgba(255, 255, 255, .06);
  backdrop-filter: blur(18px) saturate(130%);
  transform: none;
}

body.auth-landing-open .auth-landing-brand { color: #f7fbff; }
body.auth-landing-open .auth-landing-logo {
  width: 43px;
  height: 43px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255,255,255,.97), rgba(232,242,251,.9));
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
body.auth-landing-open .auth-landing-brand strong { gap: 2px; font-size: 17px; }
body.auth-landing-open .auth-landing-brand small { color: #8fa5b9; font-size: 10px; }
body.auth-landing-open .auth-landing-header nav { gap: 4px; }
body.auth-landing-open .auth-landing-header nav a {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  color: #aebfd0;
  font-size: 13px;
  font-weight: 700;
  transition: color .2s ease, background-color .2s ease;
}
body.auth-landing-open .auth-landing-header nav a:hover { color: #fff; background: rgba(255,255,255,.06); }
body.auth-landing-open .auth-landing-header-actions > a {
  color: #aebfd0;
  border-color: rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
}
body.auth-landing-open .auth-landing-login,
body.auth-landing-open .auth-landing-register { min-height: 40px; border-radius: 12px; }
body.auth-landing-open .auth-landing-login { color: #e6eff8; background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.1); }
body.auth-landing-open .auth-landing-register { color: #152231; background: linear-gradient(135deg, #f1d68a, #c99d3c); }

body.auth-landing-open .auth-landing main { display: grid; gap: 24px; margin-top: 18px; }

body.auth-landing-open .auth-landing-hero {
  position: relative;
  min-height: 710px;
  display: grid;
  grid-template-columns: minmax(420px, .82fr) minmax(610px, 1.18fr);
  align-items: center;
  gap: clamp(30px, 5vw, 80px);
  padding: clamp(54px, 6vw, 86px);
  overflow: hidden;
  border: 1px solid rgba(181, 210, 235, .14);
  border-radius: 34px;
  background:
    linear-gradient(110deg, rgba(8, 25, 39, .99) 0%, rgba(8, 27, 42, .94) 48%, rgba(13, 38, 55, .9) 100%),
    repeating-linear-gradient(90deg, transparent 0 79px, rgba(146,181,210,.035) 80px);
  box-shadow: 0 28px 90px rgba(0,0,0,.24), inset 0 1px rgba(255,255,255,.05);
}
body.auth-landing-open .auth-landing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 72% 46%, rgba(89, 150, 197, .2), transparent 30%),
    radial-gradient(circle at 35% 105%, rgba(206, 165, 77, .14), transparent 36%);
}
body.auth-landing-open .auth-landing-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .12;
  pointer-events: none;
  background-image: radial-gradient(rgba(195,220,239,.65) .55px, transparent .55px);
  background-size: 5px 5px;
  mask-image: linear-gradient(to right, #000, transparent 45%);
}
body.auth-landing-open .auth-landing-hero-copy {
  position: relative;
  z-index: 3;
  display: block;
  max-width: 640px;
  padding: 0;
  color: #eef6ff;
}
body.auth-landing-open .auth-home-lightfolds { position: absolute; inset: -150px -180px -130px -110px; z-index: -1; overflow: hidden; pointer-events: none; }
body.auth-landing-open .auth-home-lightfolds span {
  position: absolute;
  width: 520px;
  height: 80px;
  border-radius: 100%;
  background: linear-gradient(90deg, transparent, rgba(77,154,206,.2), rgba(231,195,112,.12), transparent);
  filter: blur(20px);
  transform: rotate(-30deg);
  animation: authFoldDrift 12s ease-in-out infinite alternate;
}
body.auth-landing-open .auth-home-lightfolds span:nth-child(1) { top: 16%; left: -13%; }
body.auth-landing-open .auth-home-lightfolds span:nth-child(2) { top: 39%; left: 5%; animation-delay: -3s; opacity: .65; }
body.auth-landing-open .auth-home-lightfolds span:nth-child(3) { top: 63%; left: 25%; animation-delay: -6s; opacity: .42; }
body.auth-landing-open .auth-home-lightfolds i { position: absolute; inset: 15% 5%; background: radial-gradient(circle, rgba(50,121,169,.15), transparent 56%); filter: blur(32px); }
@keyframes authFoldDrift { to { transform: translate3d(32px, -12px, 0) rotate(-26deg); } }

body.auth-landing-open .auth-landing-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #d3b769;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
}
body.auth-landing-open .auth-landing-kicker > i { width: 8px; height: 8px; border-radius: 50%; background: #55d6a7; box-shadow: 0 0 0 7px rgba(85,214,167,.11); }
body.auth-landing-open .auth-landing-hero-copy h1 {
  max-width: 660px;
  margin: 25px 0 24px;
  color: #f5f9fd;
  font-size: clamp(52px, 5.4vw, 82px);
  line-height: .99;
  letter-spacing: -.055em;
}
body.auth-landing-open .auth-landing-hero-copy h1 span,
body.auth-landing-open .auth-landing-hero-copy h1 strong { display: block; }
body.auth-landing-open .auth-landing-hero-copy h1 strong {
  margin-top: 10px;
  color: transparent;
  font-weight: 800;
  background: linear-gradient(95deg, #f4dd9a 0%, #d2ad59 45%, #b9dcfa 100%);
  background-clip: text;
}
body.auth-landing-open .auth-landing-hero-copy > p { max-width: 610px; margin: 0; color: #94a9bc; font-size: 16px; line-height: 1.8; }
body.auth-landing-open .auth-landing-hero-copy > p.auth-landing-lead { margin-bottom: 9px; color: #dce8f4; font-size: 20px; font-weight: 650; line-height: 1.55; }
body.auth-landing-open .auth-landing-lead b { color: #e3c56f; }
body.auth-landing-open .auth-landing-hero-actions { display: flex; gap: 12px; margin: 31px 0 24px; }
body.auth-landing-open .auth-landing-hero-actions > button,
body.auth-landing-open .auth-landing-hero-actions > a {
  min-height: 58px;
  padding: 0 26px;
  border-radius: 15px;
  font-size: 14px;
  font-weight: 800;
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease;
}
body.auth-landing-open .auth-landing-hero-actions > button { color: #142232; background: linear-gradient(135deg, #f0d382, #ca9e42); box-shadow: 0 18px 36px rgba(184,137,42,.18); }
body.auth-landing-open .auth-landing-hero-actions > button span { margin-left: 20px; }
body.auth-landing-open .auth-landing-hero-actions > a { gap: 11px; color: #e4edf6; border: 1px solid rgba(192,215,234,.18); background: rgba(255,255,255,.055); }
body.auth-landing-open .auth-landing-hero-actions > a i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: #e4c469; background: rgba(255,255,255,.07); font-size: 10px; }
body.auth-landing-open .auth-landing-hero-actions > button:hover,
body.auth-landing-open .auth-landing-hero-actions > a:hover { transform: translateY(-2px); }
body.auth-landing-open .auth-landing-trust-row { display: flex; gap: 18px; color: #8ca1b4; font-size: 11px; font-weight: 700; }
body.auth-landing-open .auth-landing-trust-row span { display: inline-flex; gap: 7px; align-items: center; }
body.auth-landing-open .auth-landing-trust-row i { width: 6px; height: 6px; border-radius: 50%; background: #d3ad50; box-shadow: 0 0 0 5px rgba(211,173,80,.08); }

body.auth-landing-open .auth-landing-hero-side { position: relative; z-index: 3; min-height: 590px; display: grid; align-items: center; }
body.auth-landing-open .auth-agent-demo {
  position: relative;
  width: 100%;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(200,220,237,.3);
  border-radius: 28px;
  color: #203044;
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(231,239,247,.95));
  box-shadow: 0 34px 80px rgba(0,0,0,.32), inset 0 1px #fff;
  animation: authDemoFloat 7s ease-in-out infinite;
}
@keyframes authDemoFloat { 50% { transform: translate3d(0,-7px,0); } }
body.auth-landing-open .auth-agent-demo > header,
body.auth-landing-open .auth-agent-demo > footer { display: flex; align-items: center; justify-content: space-between; }
body.auth-landing-open .auth-agent-demo > header { height: 76px; padding: 0 22px; border-bottom: 1px solid #d9e3ec; background: rgba(255,255,255,.74); }
body.auth-landing-open .auth-agent-demo > header > div { display: flex; align-items: center; gap: 12px; }
body.auth-landing-open .auth-agent-avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; color: #273344; background: linear-gradient(145deg,#f5dd98,#d5ad50); font-weight: 900; }
body.auth-landing-open .auth-agent-demo header p { display: grid; margin: 0; }
body.auth-landing-open .auth-agent-demo header strong { font-size: 14px; }
body.auth-landing-open .auth-agent-demo header small { margin-top: 3px; color: #8494a5; font-size: 9px; }
body.auth-landing-open .auth-agent-demo header > b { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid #d7e8e2; border-radius: 999px; color: #458573; background: #f1faf7; font-size: 10px; }
body.auth-landing-open .auth-agent-demo header > b i { width: 7px; height: 7px; border-radius: 50%; background: #4dcea1; box-shadow: 0 0 0 4px rgba(77,206,161,.12); }
body.auth-landing-open .auth-agent-body { display: grid; gap: 16px; padding: 24px; }
body.auth-landing-open .auth-agent-request { display: flex; justify-content: flex-end; gap: 9px; align-items: center; }
body.auth-landing-open .auth-agent-request > span { order: 2; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; color: #fff; background: #284c69; font-size: 10px; }
body.auth-landing-open .auth-agent-request p { max-width: 79%; margin: 0; padding: 11px 15px; border-radius: 14px 14px 4px 14px; color: #eff7ff; background: #25445e; font-size: 11px; line-height: 1.6; }
body.auth-landing-open .auth-agent-process { padding: 17px; border: 1px solid #d9e3ed; border-radius: 18px; background: rgba(255,255,255,.74); box-shadow: 0 12px 30px rgba(47,75,101,.08); }
body.auth-landing-open .auth-agent-process-title { display: flex; align-items: center; gap: 10px; }
body.auth-landing-open .auth-agent-process-title > span { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 10px; background: #f0d583; font-weight: 900; font-size: 11px; }
body.auth-landing-open .auth-agent-process-title p { display: grid; flex: 1; margin: 0; }
body.auth-landing-open .auth-agent-process-title strong { font-size: 12px; }
body.auth-landing-open .auth-agent-process-title small,
body.auth-landing-open .auth-agent-process-title em { color: #8393a4; font-size: 8px; font-style: normal; }
body.auth-landing-open .auth-agent-progress { height: 3px; margin: 13px 0; overflow: hidden; border-radius: 99px; background: #e1e8ee; }
body.auth-landing-open .auth-agent-progress i { display: block; width: 72%; height: 100%; background: linear-gradient(90deg,#c7952d,#efd889); animation: authProgress 4.8s ease-in-out infinite alternate; }
@keyframes authProgress { from { width: 46%; } to { width: 89%; } }
body.auth-landing-open .auth-agent-process ol { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
body.auth-landing-open .auth-agent-process li { display: flex; align-items: center; gap: 10px; min-height: 45px; padding: 7px 9px; border-radius: 11px; color: #8392a2; background: #f3f6f9; }
body.auth-landing-open .auth-agent-process li.active { color: #283a4c; background: #eaf2fa; }
body.auth-landing-open .auth-agent-process li.done { color: #2e5448; background: #eff8f5; }
body.auth-landing-open .auth-agent-process li > b { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 8px; background: rgba(255,255,255,.75); font-size: 8px; }
body.auth-landing-open .auth-agent-process li > span { display: grid; flex: 1; }
body.auth-landing-open .auth-agent-process li strong { font-size: 10px; }
body.auth-landing-open .auth-agent-process li small { margin-top: 2px; font-size: 7px; }
body.auth-landing-open .auth-agent-process li > i { font-style: normal; color: #49ae89; }
body.auth-landing-open .auth-agent-result { padding: 16px; border: 1px solid #dbe4ec; border-radius: 17px; background: #fff; }
body.auth-landing-open .auth-agent-result > div:first-child { display: flex; justify-content: space-between; color: #718397; font-size: 8px; }
body.auth-landing-open .auth-agent-result > div:first-child span { color: #9b7729; font-weight: 800; }
body.auth-landing-open .auth-agent-result h3 { margin: 10px 0 4px; font-size: 13px; }
body.auth-landing-open .auth-agent-result p { margin: 0; color: #7c8c9d; font-size: 9px; }
body.auth-landing-open .auth-agent-result dl { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin: 13px 0 0; }
body.auth-landing-open .auth-agent-result dl div { padding: 9px; border-radius: 10px; background: #f1f5f8; }
body.auth-landing-open .auth-agent-result dt { color: #8796a5; font-size: 7px; }
body.auth-landing-open .auth-agent-result dd { margin: 3px 0 0; color: #25374a; font-size: 13px; font-weight: 850; }
body.auth-landing-open .auth-agent-demo > footer { height: 42px; padding: 0 23px; border-top: 1px solid #dce5ed; color: #718297; background: rgba(255,255,255,.58); font-size: 8px; }
body.auth-landing-open .auth-agent-demo > footer span { display: inline-flex; align-items: center; gap: 5px; }
body.auth-landing-open .auth-agent-demo > footer i { width: 6px; height: 6px; border-radius: 50%; background: #6fa8e4; }
body.auth-landing-open .auth-agent-demo > footer span:nth-child(2) i { background: #d7ac4b; }
body.auth-landing-open .auth-agent-demo > footer span:nth-child(3) i { background: #54c69c; }
body.auth-landing-open .auth-agent-proof { position: absolute; z-index: 5; display: flex; align-items: center; padding: 12px 15px; border: 1px solid rgba(255,255,255,.7); border-radius: 14px; color: #25374a; background: rgba(255,255,255,.94); box-shadow: 0 16px 35px rgba(0,0,0,.2); }
body.auth-landing-open .auth-agent-proof-profit { left: -38px; bottom: 82px; gap: 10px; }
body.auth-landing-open .auth-agent-proof-profit span { color: #78899a; font-size: 9px; }
body.auth-landing-open .auth-agent-proof-profit strong { color: #3a9075; font-size: 13px; }
body.auth-landing-open .auth-agent-proof-ready { right: -28px; top: 84px; gap: 9px; }
body.auth-landing-open .auth-agent-proof-ready > i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; color: #fff; background: #bc9135; font-style: normal; }
body.auth-landing-open .auth-agent-proof-ready span { display: grid; }
body.auth-landing-open .auth-agent-proof-ready strong { font-size: 10px; }
body.auth-landing-open .auth-agent-proof-ready small { margin-top: 2px; color: #8191a0; font-size: 7px; }
body.auth-landing-open .auth-motion-scroll { bottom: 20px; color: #6f8498; }

/* The real account forms are a modal; they retain their original ids and backend behavior. */
body.auth-landing-open .auth-account-backdrop { position: fixed; inset: 0; z-index: 79; display: none; background: rgba(2,9,15,.72); backdrop-filter: blur(10px); }
body.auth-landing-open.auth-account-modal-open { overflow: hidden; }
body.auth-landing-open.auth-account-modal-open .auth-account-backdrop { display: block; animation: authFadeIn .2s ease both; }
body.auth-landing-open .auth-card {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 80;
  display: none;
  width: min(470px, calc(100vw - 32px));
  max-height: calc(100vh - 34px);
  overflow: auto;
  margin: 0;
  padding: 34px;
  border: 1px solid rgba(195,216,234,.42);
  border-radius: 26px;
  color: #203144;
  background: linear-gradient(155deg,#fff,#edf3f8);
  box-shadow: 0 40px 120px rgba(0,0,0,.5);
  transform: translate(-50%,-48%);
}
body.auth-landing-open.auth-account-modal-open .auth-card { display: block; animation: authModalIn .24s ease both; }
@keyframes authFadeIn { from { opacity: 0; } }
@keyframes authModalIn { from { opacity: 0; transform: translate(-50%,-45%) scale(.98); } to { opacity: 1; transform: translate(-50%,-50%) scale(1); } }
body.auth-landing-open .auth-card-close { position: absolute; top: 16px; right: 16px; z-index: 2; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #d7e1ea; border-radius: 11px; color: #64768a; background: rgba(255,255,255,.72); font-size: 21px; }
body.auth-landing-open .auth-card .auth-brand-mark { margin-bottom: 18px; }

body.auth-landing-open .auth-feature-section,
body.auth-landing-open .auth-landing-showcase,
body.auth-landing-open .auth-product-tour,
body.auth-landing-open .auth-extension-release {
  border: 1px solid rgba(170,202,227,.14);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(13,35,51,.9), rgba(8,26,40,.88));
  box-shadow: inset 0 1px rgba(255,255,255,.04);
}
body.auth-landing-open .auth-feature-section { padding: clamp(45px,5vw,72px); }
body.auth-landing-open .auth-landing-section-heading { display: grid; grid-template-columns: 1fr minmax(300px, .65fr); align-items: end; gap: 30px; margin-bottom: 34px; }
body.auth-landing-open .auth-landing-section-heading span { grid-column: 1; color: #c9a653; }
body.auth-landing-open .auth-landing-section-heading h2 { grid-column: 1; margin: 7px 0 0; color: #f2f7fc; font-size: clamp(34px,4vw,58px); line-height: 1.08; letter-spacing: -.04em; }
body.auth-landing-open .auth-landing-section-heading p { grid-column: 2; grid-row: 1 / span 2; max-width: 530px; margin: 0 0 5px; color: #91a5b8; font-size: 14px; line-height: 1.8; }
body.auth-landing-open .auth-feature-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
body.auth-landing-open .auth-feature-grid > button {
  min-width: 0;
  min-height: 415px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  overflow: hidden;
  text-align: left;
  border: 1px solid rgba(190,215,234,.14);
  border-radius: 22px;
  color: #dce8f3;
  background: linear-gradient(155deg,rgba(255,255,255,.07),rgba(255,255,255,.025));
  transition: transform .25s ease, border-color .25s ease, background-color .25s ease;
}
body.auth-landing-open .auth-feature-grid > button:hover { transform: translateY(-5px); border-color: rgba(224,192,115,.36); background: rgba(255,255,255,.075); }
body.auth-landing-open .auth-feature-grid > button > span:first-child { display: flex; justify-content: space-between; align-items: center; }
body.auth-landing-open .auth-feature-grid > button > span:first-child i { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(220,191,120,.25); border-radius: 13px; color: #e2c878; background: rgba(221,183,91,.08); font-style: normal; font-weight: 900; }
body.auth-landing-open .auth-feature-grid > button > span:first-child em { color: #60778b; font-size: 10px; font-style: normal; }
body.auth-landing-open .auth-feature-grid h3 { margin: 25px 0 8px; color: #f0f6fb; font-size: 20px; }
body.auth-landing-open .auth-feature-grid > button > p { min-height: 60px; margin: 0; color: #8fa4b7; font-size: 12px; line-height: 1.7; }
body.auth-landing-open .auth-feature-grid > button > div { min-height: 150px; margin: 18px 0; padding: 14px; border: 1px solid rgba(180,207,227,.1); border-radius: 17px; background: rgba(4,18,29,.42); }
body.auth-landing-open .auth-feature-grid > button > small { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(182,207,226,.11); color: #8fa3b5; }
body.auth-landing-open .auth-feature-grid > button > small b { color: #d9b85f; font-size: 15px; }
body.auth-landing-open .auth-feature-agent { display: grid; gap: 8px; align-content: center; background: radial-gradient(circle at 50% 50%,rgba(51,115,158,.22),rgba(4,18,29,.42)) !important; }
body.auth-landing-open .auth-feature-agent b { padding: 9px 11px; border-radius: 9px; color: #a9bfd1; background: rgba(255,255,255,.055); font-size: 9px; }
body.auth-landing-open .auth-feature-agent b:last-child { color: #e3c66e; border: 1px solid rgba(226,198,110,.18); }
body.auth-landing-open .auth-feature-experts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-content: center; }
body.auth-landing-open .auth-feature-experts b { display: grid; place-items: center; min-height: 46px; border-radius: 10px; color: #9eb2c3; background: rgba(255,255,255,.05); font-size: 9px; }
body.auth-landing-open .auth-feature-images { display: grid; grid-template-columns: 1fr auto 1fr; gap: 9px; align-items: center; }
body.auth-landing-open .auth-feature-images b { display: grid; place-items: end start; height: 100px; padding: 10px; border-radius: 12px; color: #9ab2c5; background: linear-gradient(145deg,#263e52,#162b3c); font-size: 8px; }
body.auth-landing-open .auth-feature-images b:last-child { color: #e7cd80; background: radial-gradient(circle at 60% 35%,#496e88,#14293a); }
body.auth-landing-open .auth-feature-images i { color: #d5b55d; font-style: normal; }
body.auth-landing-open .auth-feature-selection { display: grid; align-content: center; gap: 13px; }
body.auth-landing-open .auth-feature-selection b { display: inline-flex; align-items: center; gap: 7px; color: #aac0d2; font-size: 10px; }
body.auth-landing-open .auth-feature-selection b i { width: 8px; height: 8px; border-radius: 50%; background: #54c99c; box-shadow: 0 0 0 6px rgba(84,201,156,.1); animation: authPulse 1.8s ease infinite; }
@keyframes authPulse { 50% { box-shadow: 0 0 0 10px rgba(84,201,156,0); } }
body.auth-landing-open .auth-feature-selection span { display: block; padding: 24px 12px; border-radius: 12px; color: #e2c46b; background: rgba(255,255,255,.045); text-align: center; font-size: 14px; font-weight: 800; }

body.auth-landing-open .auth-landing-showcase { display: grid; grid-template-columns: .7fr 1.3fr; gap: 55px; padding: clamp(40px,5vw,65px); }
body.auth-landing-open .auth-showcase-copy { align-self: center; }
body.auth-landing-open .auth-showcase-copy > span { color: #c9a653; }
body.auth-landing-open .auth-showcase-copy h2 { color: #f0f6fb; font-size: clamp(34px,3.6vw,54px); line-height: 1.06; letter-spacing: -.04em; }
body.auth-landing-open .auth-showcase-copy p { color: #91a5b8; font-size: 14px; line-height: 1.8; }
body.auth-landing-open .auth-showcase-copy button { color: #162434; background: linear-gradient(135deg,#efd27d,#c99e43); }
body.auth-landing-open .auth-workflow-rail { display: grid; grid-template-columns: repeat(7,auto); align-items: center; gap: 9px; }
body.auth-landing-open .auth-workflow-rail article { position: relative; min-width: 130px; min-height: 215px; padding: 18px; border: 1px solid rgba(190,214,232,.14); border-radius: 18px; background: rgba(255,255,255,.045); }
body.auth-landing-open .auth-workflow-rail article > span { position: absolute; top: 14px; right: 14px; color: #667c90; font-size: 9px; }
body.auth-landing-open .auth-workflow-rail article > i { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 12px; color: #e1c473; background: rgba(215,178,87,.09); font-style: normal; font-weight: 900; }
body.auth-landing-open .auth-workflow-rail h3 { margin: 52px 0 8px; color: #eaf2f9; font-size: 15px; }
body.auth-landing-open .auth-workflow-rail p { margin: 0; color: #8297aa; font-size: 10px; line-height: 1.55; }
body.auth-landing-open .auth-workflow-rail > b { color: #526a7d; font-size: 17px; }

body.auth-landing-open .auth-product-tour { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 480px; overflow: hidden; }
body.auth-landing-open .auth-tour-stage { position: relative; display: grid; place-items: center; min-height: 480px; overflow: hidden; border-right: 1px solid rgba(184,211,231,.13); background: radial-gradient(circle at 50% 48%,rgba(69,132,177,.22),transparent 33%), linear-gradient(145deg,#102d43,#071a29); }
body.auth-landing-open .auth-tour-stage > b { z-index: 3; display: grid; place-items: center; width: 74px; height: 74px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: #f2d278; background: rgba(7,25,39,.82); box-shadow: 0 0 0 14px rgba(255,255,255,.025),0 18px 40px rgba(0,0,0,.25); font-size: 18px; }
body.auth-landing-open .auth-tour-stage > small { position: absolute; left: 25px; bottom: 22px; color: #71889b; font-size: 9px; letter-spacing: .15em; }
body.auth-landing-open .auth-tour-orbits { position: absolute; width: 360px; height: 360px; }
body.auth-landing-open .auth-tour-orbits span { position: absolute; inset: 20px 70px; border: 1px solid rgba(121,177,216,.35); border-radius: 50%; animation: authOrbit 9s linear infinite; }
body.auth-landing-open .auth-tour-orbits span:nth-child(2) { transform: rotate(60deg); border-color: rgba(215,180,91,.3); animation-duration: 13s; }
body.auth-landing-open .auth-tour-orbits span:nth-child(3) { transform: rotate(-60deg); animation-duration: 16s; }
body.auth-landing-open .auth-tour-orbits i { position: absolute; inset: 140px; display: grid; place-items: center; border-radius: 50%; color: #dcbc64; background: rgba(255,255,255,.06); font-size: 28px; font-style: normal; font-weight: 900; }
@keyframes authOrbit { to { rotate: 360deg; } }
body.auth-landing-open .auth-tour-copy { align-self: center; padding: clamp(40px,5vw,75px); }
body.auth-landing-open .auth-tour-copy > span { color: #c9a653; font-size: 10px; font-weight: 800; letter-spacing: .18em; }
body.auth-landing-open .auth-tour-copy h2 { margin: 14px 0 17px; color: #f1f6fb; font-size: clamp(30px,3vw,45px); line-height: 1.18; letter-spacing: -.035em; }
body.auth-landing-open .auth-tour-copy p { color: #91a5b8; font-size: 13px; line-height: 1.8; }
body.auth-landing-open .auth-tour-copy > a { display: inline-flex; gap: 35px; align-items: center; min-height: 50px; margin-top: 19px; padding: 0 18px; border: 1px solid rgba(197,216,232,.17); border-radius: 13px; color: #e8f1f8; background: rgba(255,255,255,.05); font-size: 13px; font-weight: 800; }
body.auth-landing-open .auth-tour-copy > a b { color: #dabb62; }
body.auth-landing-open .auth-tour-copy > small { display: block; margin-top: 12px; color: #6f8598; font-size: 9px; }

body.auth-landing-open .auth-extension-release { color: #dbe7f1; background: linear-gradient(145deg,rgba(14,36,52,.9),rgba(7,25,38,.88)); }
body.auth-landing-open .auth-extension-release p,
body.auth-landing-open .auth-extension-release li { color: #8da2b4; }
body.auth-landing-open .auth-landing-footer { margin-top: 10px; color: #8da1b4; border-color: rgba(178,205,226,.13); }
body.auth-landing-open .auth-landing-footer button { color: #152333; background: linear-gradient(135deg,#efd17b,#c99c3e); }

@media (max-width: 1180px) {
  body.auth-landing-open .auth-landing { width: min(100% - 28px, 1120px); }
  body.auth-landing-open .auth-landing-header nav { display: none; }
  body.auth-landing-open .auth-landing-hero { grid-template-columns: 1fr; min-height: auto; padding: 70px 54px 85px; }
  body.auth-landing-open .auth-landing-hero-copy { max-width: 760px; text-align: left; }
  body.auth-landing-open .auth-landing-hero-side { width: min(100%,760px); min-height: 560px; margin: 0 auto; }
  body.auth-landing-open .auth-feature-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body.auth-landing-open .auth-landing-showcase { grid-template-columns: 1fr; }
  body.auth-landing-open .auth-workflow-rail { grid-template-columns: repeat(4,1fr); }
  body.auth-landing-open .auth-workflow-rail > b { display: none; }
}

@media (max-width: 760px) {
  body.auth-landing-open .auth-landing { width: min(100% - 18px, 720px); padding-top: 9px; }
  body.auth-landing-open .auth-landing-header { top: 8px; min-height: 62px; padding: 8px 9px 8px 11px; border-radius: 17px; }
  body.auth-landing-open .auth-landing-header-actions > a,
  body.auth-landing-open .auth-landing-login { display: none; }
  body.auth-landing-open .auth-landing-register { min-height: 38px; padding: 0 12px; }
  body.auth-landing-open .auth-landing-hero { grid-template-columns: minmax(0,1fr); gap: 44px; padding: 52px 21px 70px; border-radius: 24px; }
  body.auth-landing-open .auth-landing-hero-copy h1 { margin-top: 20px; font-size: clamp(42px,14vw,59px); }
  body.auth-landing-open .auth-landing-hero-copy > p.auth-landing-lead { font-size: 17px; }
  body.auth-landing-open .auth-landing-hero-copy > p { font-size: 13px; }
  body.auth-landing-open .auth-landing-hero-actions { flex-direction: column; align-items: stretch; }
  body.auth-landing-open .auth-landing-hero-actions > button,
  body.auth-landing-open .auth-landing-hero-actions > a { justify-content: center; width: 100%; }
  body.auth-landing-open .auth-landing-trust-row { flex-wrap: wrap; gap: 12px; }
  body.auth-landing-open .auth-landing-hero-side { min-height: 430px; }
  body.auth-landing-open .auth-agent-demo { min-height: 420px; border-radius: 20px; }
  body.auth-landing-open .auth-agent-demo > header { height: 63px; padding: 0 13px; }
  body.auth-landing-open .auth-agent-demo header > b { display: none; }
  body.auth-landing-open .auth-agent-body { gap: 10px; padding: 12px; }
  body.auth-landing-open .auth-agent-process { padding: 12px; }
  body.auth-landing-open .auth-agent-result { display: none; }
  body.auth-landing-open .auth-agent-demo > footer { padding: 0 13px; }
  body.auth-landing-open .auth-agent-proof { display: none; }
  body.auth-landing-open .auth-feature-section,
  body.auth-landing-open .auth-landing-showcase { padding: 35px 18px; border-radius: 23px; }
  body.auth-landing-open .auth-landing-section-heading { display: block; }
  body.auth-landing-open .auth-landing-section-heading h2 { font-size: 37px; }
  body.auth-landing-open .auth-landing-section-heading p { margin-top: 16px; }
  body.auth-landing-open .auth-feature-grid { grid-template-columns: 1fr; }
  body.auth-landing-open .auth-feature-grid > button { min-height: 390px; }
  body.auth-landing-open .auth-workflow-rail { grid-template-columns: 1fr 1fr; }
  body.auth-landing-open .auth-workflow-rail article { min-width: 0; min-height: 180px; }
  body.auth-landing-open .auth-workflow-rail h3 { margin-top: 34px; }
  body.auth-landing-open .auth-product-tour { grid-template-columns: 1fr; border-radius: 23px; }
  body.auth-landing-open .auth-tour-stage { min-height: 340px; border-right: 0; border-bottom: 1px solid rgba(184,211,231,.13); }
  body.auth-landing-open .auth-tour-orbits { width: 280px; height: 280px; }
  body.auth-landing-open .auth-tour-orbits i { inset: 105px; }
  body.auth-landing-open .auth-tour-copy { padding: 36px 21px; }
  body.auth-landing-open .auth-card { padding: 29px 20px 24px; border-radius: 21px; }
  body.auth-landing-open .auth-landing-footer { align-items: flex-start; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  body.auth-landing-open .auth-home-lightfolds span,
  body.auth-landing-open .auth-agent-demo,
  body.auth-landing-open .auth-agent-progress i,
  body.auth-landing-open .auth-feature-selection b i,
  body.auth-landing-open .auth-tour-orbits span { animation: none !important; }
}

/* Formal public-home bridge: the approved 8792 composition is rendered unchanged. */
body.auth-landing-open .auth-gate {
  position: fixed;
  inset: 0;
  z-index: 60;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
  background: #071522;
}

body.auth-landing-open .auth-public-home-frame {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #071522;
}

body.auth-landing-open .auth-landing::before {
  display: none;
}

body.auth-landing-open .auth-landing {
  position: fixed;
  inset: 0;
  z-index: 2;
  width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

body.auth-landing-open .auth-landing > .auth-landing-header,
body.auth-landing-open .auth-landing > .auth-landing-footer,
body.auth-landing-open .auth-landing main > :not(.auth-card):not(.auth-account-backdrop) {
  display: none !important;
}

body.auth-landing-open .auth-landing main {
  display: contents;
}

body.auth-landing-open .auth-account-backdrop,
body.auth-landing-open .auth-card {
  pointer-events: auto;
}

/* Spectrum account modal: aligned with the blue, pink and violet public homepage. */
body.auth-landing-open .auth-account-backdrop {
  background:rgba(3,10,29,.78);
  backdrop-filter:blur(16px) saturate(1.15);
}

body.auth-landing-open .auth-card {
  border-color:rgba(181,188,255,.26);
  color:#f4f6ff;
  background:
    radial-gradient(circle at 92% 4%,rgba(115,91,244,.28),transparent 31%),
    radial-gradient(circle at 8% 98%,rgba(237,166,207,.18),transparent 35%),
    linear-gradient(155deg,rgba(18,31,65,.98),rgba(8,20,48,.98));
  box-shadow:0 42px 120px rgba(0,0,0,.58),inset 0 1px rgba(255,255,255,.1);
}

body.auth-landing-open .auth-card-close {
  color:#dce3ff;
  border-color:rgba(180,190,239,.18);
  background:rgba(255,255,255,.06);
}

body.auth-landing-open .auth-card .auth-brand-mark {
  border-color:transparent;
  background:transparent;
  box-shadow:none;
}

body.auth-landing-open .auth-card .auth-brand-mark img { filter:none; }
body.auth-landing-open .auth-card .eyebrow { color:#e2c476; }
body.auth-landing-open .auth-card h2 { color:#fff; }
body.auth-landing-open .auth-card .auth-subtitle { color:#aeb9d9; }

body.auth-landing-open .auth-card .auth-tabs {
  border-color:rgba(159,171,225,.15);
  background:rgba(255,255,255,.055);
}

body.auth-landing-open .auth-card .auth-tabs button { position:relative; color:#9da9c9; background:transparent; }
body.auth-landing-open .auth-card .auth-tabs button.active {
  color:#fff;
  background:linear-gradient(112deg,#8a62f0,#4c86ff);
  box-shadow:0 10px 24px rgba(79,82,207,.3);
}

body.auth-landing-open .auth-card .auth-tabs button.active::after {
  position:absolute;
  right:18%;
  bottom:0;
  left:18%;
  height:2px;
  border-radius:99px;
  background:#e4c16f;
  content:"";
}

body.auth-landing-open .auth-card .auth-form label { color:#c8d1eb; }
body.auth-landing-open .auth-card .auth-form input {
  color:#f6f7ff;
  border-color:rgba(159,171,225,.18);
  background:rgba(255,255,255,.065);
  box-shadow:inset 0 1px rgba(255,255,255,.035);
}

body.auth-landing-open .auth-card .auth-form input::placeholder { color:#74809f; }
body.auth-landing-open .auth-card .auth-form input:focus { border-color:#8671f4; box-shadow:0 0 0 3px rgba(121,94,243,.16); }
body.auth-landing-open .auth-card .auth-password-help { color:#8f9ab8; }
body.auth-landing-open .auth-card .auth-password-help button { color:#c9b2ff; }
body.auth-landing-open .auth-card .auth-submit {
  color:#fff;
  border-color:transparent;
  background:linear-gradient(112deg,#e2bd69 0,#d9aee0 24%,#775ef2 55%,#4388ff 100%);
  box-shadow:0 16px 34px rgba(79,82,207,.28);
}
