/* login.html — "Glossy Logo · White" design (animated) */

:root {
  --tl-teal: #0C2F35;
  --tl-green: #01DA8B;
  --tl-red: #e5484d;
  --ink: #0b1a1d;
  --ink-2: #2b3a3c;
  --muted: #56676a;
  --muted-2: #6f7f81;
  --line: #d9e1e2;
  --card: #ffffff;
  --field: #f6f8f8;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%
}

body {
  font-family: 'Outfit', system-ui, sans-serif;
  color: var(--ink);
  background: radial-gradient(ellipse at 22% 18%, #ffffff 0%, #f2f5f5 50%, #e2e8e9 100%) fixed;
  -webkit-font-smoothing: antialiased;
}

/* ── shell: hero | card ── */
.auth-shell {
  min-height: 100vh;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 39%);
}

/* ── brand ── */
.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.auth-brand-logo {
  height: 38px;
  width: auto;
  display: block
}

.auth-brand-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: 3px;
  font-size: 16px;
}

.auth-brand-mobile {
  display: none
}

/* ── hero ── */
.auth-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: 56px 64px 64px;
  min-width: 0;
  overflow: hidden;
}

.hero-stage {
  position: relative;
  align-self: center;
  width: min(100%, 760px, calc((100vh - 440px) * 1.69));
  aspect-ratio: 760 / 450;
  container-type: inline-size;
}

/* logo tile */
.hero-tile {
  position: absolute;
  left: 25%;
  top: 1%;
  width: 47.4cqw;
  height: 47.4cqw;
  animation: tile-in .9s var(--ease-out) both, float 6s ease-in-out 1s infinite;
}

.hero-tile-card {
  width: 100%;
  height: 100%;
  border-radius: 24%;
  background: var(--card);
  border: 1px solid #e1e7e8;
  box-shadow: 0 5cqw 9cqw -5cqw rgba(12, 47, 53, .4);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: shadow-breathe 6s ease-in-out 1s infinite;
}

.hero-logo {
  width: 58%;
  height: auto;
  overflow: visible
}

.hero-logo .lg-bar {
  transform-box: fill-box;
  transform-origin: left center;
  animation: bar-in .8s var(--ease-out) .55s both, bar-glow 3.2s ease-in-out 1.6s infinite;
}

/* market chips */
.hero-chip {
  position: absolute;
  width: 30.3cqw;
  animation: chip-in .8s var(--ease-out) both;
}

.chip-1 { left: 1.3%; top: 8%; transform: rotate(-6deg); animation-delay: .35s }
.chip-2 { left: 69.7%; top: 35%; transform: rotate(5deg); animation-delay: .5s }
.chip-3 { left: 6.6%; top: 74%; transform: rotate(3deg); animation-delay: .65s }

.chip-card {
  display: flex;
  flex-direction: column;
  gap: max(6px, 1.05cqw);
  padding: max(11px, 2.1cqw) max(12px, 2.4cqw);
  border-radius: max(12px, 2.4cqw);
  background: var(--card);
  border: 1px solid #e1e7e8;
  box-shadow: 0 1px 2px rgba(12, 47, 53, .05), 0 4cqw 8cqw -4.2cqw rgba(12, 47, 53, .3);
  animation: float 5s ease-in-out infinite;
}

.chip-1 .chip-card { animation-delay: 1.2s; animation-duration: 5.4s }
.chip-2 .chip-card { animation-delay: 1.6s; animation-duration: 6.2s }
.chip-3 .chip-card { animation-delay: 2s; animation-duration: 5.8s }

.chip-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px
}

.chip-sym {
  font-weight: 800;
  font-size: max(11px, 1.97cqw)
}

.chip-ex,
.chip-cat {
  font-family: 'Outfit', sans-serif;
  font-size: max(10px, 1.45cqw);
  color: var(--muted);
}

.chip-spark {
  width: 100%;
  height: max(26px, 5.3cqw);
  overflow: visible
}

.chip-spark polyline {
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  animation: draw 2.2s var(--ease-out) forwards;
}

.chip-1 polyline { animation-delay: .8s }
.chip-2 polyline { animation-delay: 1s }
.chip-3 polyline { animation-delay: 1.2s }

.chip-dot {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  animation: dot-in .3s ease-out forwards, pulse 1.8s ease-in-out infinite;
}

.chip-1 .chip-dot { animation-delay: 2.8s, 3.1s }
.chip-2 .chip-dot { animation-delay: 3s, 3.3s }
.chip-3 .chip-dot { animation-delay: 3.2s, 3.5s }

/* headline */
.hero-copy {
  animation: rise .8s var(--ease-out) .25s both
}

/* rotating topics: 3 × 4s */
.rot-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px }
.rot-tabs span { position: relative; overflow: hidden; padding: 7px 13px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--muted); background: #fff; border: 1px solid #e1e7e8; animation: tab-on 12s infinite both }
.rot-tabs span::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--tl-green); transform: scaleX(0); transform-origin: left; animation: tab-bar 12s linear infinite both }
.rot-tabs span:nth-child(2), .rot-tabs span:nth-child(2)::after, .rot-item:nth-child(2) { animation-delay: -8s }
.rot-tabs span:nth-child(3), .rot-tabs span:nth-child(3)::after, .rot-item:nth-child(3) { animation-delay: -4s }
.rot { display: grid }
.rot-item { grid-area: 1 / 1; opacity: 0; animation: rot 12s var(--ease-out) infinite both }
.chip-card { position: relative }
.chip-card::after { content: ''; position: absolute; inset: -1px; border-radius: inherit; border: 2px solid var(--tl-green); box-shadow: 0 0 0 5px rgba(1, 218, 139, .15); opacity: 0; animation: focus 12s infinite both; pointer-events: none }
.chip-2 .chip-card::after { animation-delay: -8s }
.chip-3 .chip-card::after { animation-delay: -4s }

/* topic cards */
.t-meter, .t-bar { position: relative; height: max(8px, 1.3cqw); border-radius: 99px; background: #edf2f2; overflow: hidden }
.t-meter i, .t-bar i { position: absolute; inset: 0 auto 0 0; border-radius: inherit }
.t-meter { margin: max(8px, 1.5cqw) 0 }
.t-meter i { background: var(--tl-green); animation: tilt 6s ease-in-out 1s infinite both }
.t-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--tl-green); margin-right: 6px; vertical-align: middle; animation: tilt-dot 6s ease-in-out 1s infinite both }
.t-row { display: flex; align-items: center; gap: max(8px, 1.3cqw); margin: max(6px, 1.2cqw) 0 }
.t-bar { flex: 1 }
.t-bar i { width: 100%; transform-origin: left; background: linear-gradient(90deg, var(--tl-green), #f5a524 60%, var(--tl-red)); animation: loss-fill 6s ease-in 1s infinite both }
.t-lock { width: max(16px, 2.6cqw); height: max(16px, 2.6cqw); color: var(--tl-red); flex: none }
.t-shackle { transform-box: fill-box; transform-origin: 100% 100%; animation: shackle 6s ease-in-out 1s infinite both }
.t-block { color: var(--tl-red) !important; font-weight: 700; animation: block-in 6s 1s infinite both }

.hero-copy h2 {
  margin: 0;
  font-size: clamp(38px, 3.9vw, 58px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.hero-copy h2 span {
  white-space: nowrap;
  color: var(--tl-teal);
  background: linear-gradient(90deg, var(--tl-teal) 0%, var(--tl-teal) 40%, #1f8a6a 50%, var(--tl-teal) 60%, var(--tl-teal) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: sheen 5s ease-in-out 1.5s infinite;
}

.hero-copy p {
  margin: 14px 0 0;
  font-size: 17px;
  color: var(--muted)
}

/* ── card side ── */
.auth-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 40px 48px;
}

.auth-card {
  width: 100%;
  max-width: 460px;
  padding: 44px 40px;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid #e1e7e8;
  box-shadow: 0 1px 2px rgba(12, 47, 53, .05), 0 30px 60px -32px rgba(12, 47, 53, .28);
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: rise .7s var(--ease-out) .1s both;
}

.auth-head {
  display: flex;
  flex-direction: column;
  gap: 8px
}

.auth-title {
  margin: 0;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.auth-sub {
  margin: 0;
  font-size: 15px;
  color: var(--muted)
}

.auth-oauth {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.oauth-btn {
  height: 48px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}

.oauth-btn:hover {
  border-color: #b9c6c8;
  box-shadow: 0 6px 16px -10px rgba(12, 47, 53, .35);
  transform: translateY(-1px)
}

.oauth-btn svg {
  width: 18px;
  height: 18px
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted-2);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(12, 47, 53, .12)
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 8px
}

.auth-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2)
}

.auth-input-wrap {
  position: relative;
  display: flex
}

.auth-field input {
  width: 100%;
  height: 52px;
  padding: 0 48px 0 16px;
  border-radius: 12px;
  background: var(--field);
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  outline: 0;
  transition: border-color .18s, box-shadow .18s, background .18s;
}

.auth-field input::placeholder {
  color: #7a8a8c
}

.auth-field input:focus {
  background: #fff;
  border-color: var(--tl-teal);
  box-shadow: 0 0 0 3px rgba(12, 47, 53, .14);
}

.auth-field-toggle {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted-2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.auth-field-toggle:hover,
.auth-field-toggle[aria-pressed="true"] {
  color: var(--ink)
}

.auth-field-toggle svg {
  width: 18px;
  height: 18px
}

.auth-submit {
  position: relative;
  overflow: hidden;
  height: 54px;
  margin-top: 6px;
  border: 0;
  border-radius: 12px;
  background: var(--tl-teal);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 10px 24px -14px rgba(12, 47, 53, .7);
  transition: transform .15s, box-shadow .2s, background .2s;
}

.auth-submit svg {
  width: 18px;
  height: 18px;
  transition: transform .2s var(--ease-out)
}

.auth-submit:hover {
  background: #123f46;
  transform: translateY(-1px);
  box-shadow: 0 16px 30px -14px rgba(12, 47, 53, .75)
}

.auth-submit:hover svg {
  transform: translateX(3px)
}

.auth-submit:disabled {
  opacity: .75;
  cursor: progress;
  transform: none
}

.auth-submit:focus-visible,
.oauth-btn:focus-visible,
.auth-link:focus-visible,
.auth-field-toggle:focus-visible {
  outline: 2px solid var(--tl-green);
  outline-offset: 2px
}

.auth-foot {
  margin: 0;
  text-align: center;
  font-size: 14px;
  color: var(--muted)
}

.auth-link {
  background: 0;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: #0a7a52;
  font-weight: 700;
  font-family: inherit;
  font-size: 14px;
}

.auth-link:hover {
  color: #065c3d;
  text-decoration: underline
}

/* ── keyframes ── */
@keyframes rot { 0% { opacity: 0; transform: translateY(14px) } 3%, 30% { opacity: 1; transform: none } 33.3%, 100% { opacity: 0; transform: translateY(-10px) } }
@keyframes tab-on { 0%, 33.3% { color: var(--tl-teal); border-color: var(--tl-green); background: #effdf7 } 33.4%, 100% { color: var(--muted); border-color: #e1e7e8; background: #fff } }
@keyframes tab-bar { 0% { transform: scaleX(0) } 33.3% { transform: scaleX(1) } 33.4%, 100% { transform: scaleX(0) } }
@keyframes focus { 0% { opacity: 0 } 3%, 30% { opacity: 1 } 33.3%, 100% { opacity: 0 } }
@keyframes tilt { 0%, 100% { width: 22%; background: var(--tl-green) } 45%, 55% { width: 68%; background: #f5a524 } }
@keyframes tilt-dot { 0%, 100% { background: var(--tl-green) } 45%, 55% { background: #f5a524 } }
@keyframes loss-fill { 0% { transform: scaleX(0) } 55%, 90% { transform: scaleX(1) } 100% { transform: scaleX(0) } }
@keyframes shackle { 0%, 50% { transform: translateY(-3px) rotate(-16deg) } 58%, 92% { transform: none } 100% { transform: translateY(-3px) rotate(-16deg) } }
@keyframes block-in { 0%, 55% { opacity: 0 } 60%, 90% { opacity: 1 } 100% { opacity: 0 } }

@keyframes tile-in {
  from { opacity: 0; transform: translateY(24px) scale(.92) }
  to { opacity: 1; transform: none }
}

@keyframes float {
  0%, 100% { translate: 0 0 }
  50% { translate: 0 -10px }
}

@keyframes shadow-breathe {
  0%, 100% { box-shadow: 0 5cqw 9cqw -5cqw rgba(12, 47, 53, .4) }
  50% { box-shadow: 0 7cqw 11cqw -5.5cqw rgba(12, 47, 53, .32) }
}

@keyframes bar-in {
  from { opacity: 0; transform: translateX(-40%) scaleX(.4) }
  to { opacity: 1; transform: none }
}

@keyframes bar-glow {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(1, 218, 139, 0)) }
  50% { filter: drop-shadow(0 0 6px rgba(1, 218, 139, .55)) }
}

@keyframes chip-in {
  from { opacity: 0; translate: 0 18px }
  to { opacity: 1; translate: 0 0 }
}

@keyframes draw {
  to { stroke-dashoffset: 0 }
}

@keyframes dot-in {
  to { opacity: 1 }
}

@keyframes pulse {
  0%, 100% { transform: scale(1) }
  50% { transform: scale(1.6) }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px) }
  to { opacity: 1; transform: none }
}

@keyframes sheen {
  0%, 60% { background-position: 100% 0 }
  100% { background-position: 0 0 }
}

/* ── tablet & phone: card only ── */
@media (max-width: 1100px) {
  .auth-shell {
    grid-template-columns: 1fr
  }

  .auth-hero {
    display: none
  }

  .auth-brand-mobile {
    display: inline-flex;
    animation: rise .6s var(--ease-out) both
  }

  .auth-side {
    min-height: 100vh;
    padding: 32px 20px;
  }
}

@media (max-width: 480px) {
  .auth-card {
    padding: 32px 22px;
    border-radius: 20px
  }

  .auth-title {
    font-size: 28px
  }
}

/* ── motion off ── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .chip-spark polyline {
    stroke-dashoffset: 0
  }

  .chip-dot {
    opacity: 1
  }

  .rot-item:first-child, .t-block { opacity: 1 }
  .t-meter i { width: 22% }
}

.chip-sym { white-space: nowrap }
@container (max-width: 620px) { .chip-ex { display: none } }


/* ── v3: orbit hub (topics + markets) and 6 rotating topics ── */
.hero-tile { left: 40cqw; top: 19.6cqw; width: 20cqw; height: 20cqw; z-index: 2 }
.hero-tile::after { content: ''; position: absolute; inset: -1.4cqw; border-radius: 27%; border: 2px solid rgba(1, 218, 139, .55); animation: ripple 2.6s ease-out 1s infinite; pointer-events: none }
.ring { position: absolute; border-radius: 50%; border: 2px dotted rgba(12, 47, 53, .26); pointer-events: none }
.ring-1 { left: 33.5cqw; top: 13.1cqw; width: 33cqw; height: 33cqw }
.ring-2 { left: 24cqw; top: 3.6cqw; width: 52cqw; height: 52cqw; border-color: rgba(12, 47, 53, .2) }
.ring-3 { left: 14cqw; top: -6.4cqw; width: 72cqw; height: 72cqw; border-color: rgba(12, 47, 53, .08) }
.orbit { list-style: none; margin: 0; padding: 0; position: absolute; animation: spin 70s linear infinite }
.orbit-tp { left: 24cqw; top: 3.6cqw; width: 52cqw; height: 52cqw; z-index: 3 }
.orbit-mk { left: 33.5cqw; top: 13.1cqw; width: 33cqw; height: 33cqw; animation-duration: 45s; animation-direction: reverse; z-index: 1 }
.orbit li { position: absolute; width: 0; height: 0; animation: spin 70s linear infinite reverse }
.orbit-mk li { animation-duration: 45s; animation-direction: normal }
.orbit li > span { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); animation: pop-in .6s var(--ease-out) both }
.mk > span { width: 5.2cqw; height: 5.2cqw; border-radius: 1.4cqw; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: max(9px, 1.5cqw); box-shadow: 0 0 0 .7cqw #fff, 0 1.6cqw 3cqw -1.2cqw rgba(8, 30, 34, .55) }
.tp > span { display: flex; align-items: center; gap: .9cqw; padding: .7cqw 1.3cqw .7cqw .7cqw; border-radius: 99px; background: #fff; border: 1px solid #e1e7e8; white-space: nowrap; font-weight: 700; font-size: max(10px, 1.5cqw); color: var(--ink); box-shadow: 0 1.8cqw 3.6cqw -2cqw rgba(12, 47, 53, .45) }
.tp i { width: 3.2cqw; height: 3.2cqw; min-width: 20px; min-height: 20px; border-radius: 50%; display: grid; place-items: center; color: #fff }
.tp svg { width: 62%; height: 62%; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round }
.tp.f1 span::after, .tp.f2 span::after, .tp.f3 span::after, .tp.f4 span::after, .tp.f5 span::after, .tp.f6 span::after { content: ''; position: absolute; inset: -2px; border-radius: inherit; border: 2px solid var(--tl-green); box-shadow: 0 0 0 .6cqw rgba(1, 218, 139, .18); opacity: 0; animation: focus6 21s infinite both; pointer-events: none }
.tp:nth-child(2) > span, .mk:nth-child(2) > span { animation-delay: .1s } .tp:nth-child(3) > span, .mk:nth-child(3) > span { animation-delay: .2s } .tp:nth-child(4) > span, .mk:nth-child(4) > span { animation-delay: .3s }
.tp:nth-child(5) > span, .mk:nth-child(5) > span { animation-delay: .4s } .tp:nth-child(6) > span, .mk:nth-child(6) > span { animation-delay: .5s } .tp:nth-child(7) > span { animation-delay: .6s } .tp:nth-child(8) > span { animation-delay: .7s }
.rot-bars { display: flex; gap: 6px; max-width: 360px; margin-bottom: 16px }
.rot-bars i { position: relative; flex: 1; height: 4px; border-radius: 4px; background: #dfe7e8; overflow: hidden }
.rot-bars i::after { content: ''; position: absolute; inset: 0; background: var(--tl-green); transform: scaleX(0); transform-origin: left; animation: bar6 21s linear infinite both }
.rot-eyebrow { margin: 0 0 10px !important; font-size: 13px !important; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: #067a51 !important }
.rot-item { animation: rot6 21s var(--ease-out) infinite both }
.rot-item:nth-child(2), .rot-bars i:nth-child(2)::after, .tp.f2 span::after { animation-delay: -17.5s }
.rot-item:nth-child(3), .rot-bars i:nth-child(3)::after, .tp.f3 span::after { animation-delay: -14s }
.rot-item:nth-child(4), .rot-bars i:nth-child(4)::after, .tp.f4 span::after { animation-delay: -10.5s }
.rot-item:nth-child(5), .rot-bars i:nth-child(5)::after, .tp.f5 span::after { animation-delay: -7s }
.rot-item:nth-child(6), .rot-bars i:nth-child(6)::after, .tp.f6 span::after { animation-delay: -3.5s }
@keyframes rot6 { 0% { opacity: 0; transform: translateY(14px) } 2%, 15% { opacity: 1; transform: none } 16.66%, 100% { opacity: 0; transform: translateY(-10px) } }
@keyframes bar6 { 0% { transform: scaleX(0) } 16.66% { transform: scaleX(1) } 16.67%, 100% { transform: scaleX(0) } }
@keyframes focus6 { 0% { opacity: 0 } 2%, 15% { opacity: 1 } 16.66%, 100% { opacity: 0 } }
@keyframes spin { to { transform: rotate(360deg) } }
@keyframes pop-in { from { opacity: 0; scale: .6 } }
@keyframes ripple { 0% { opacity: .9; transform: scale(1) } 100% { opacity: 0; transform: scale(1.18) } }
@media (prefers-reduced-motion: reduce) { .rot-item:first-child { opacity: 1 } .rot-bars i:first-child::after { transform: none } }

/* ── v4: show the animated hero on tablets and phones (stacked above the card) ── */
@media (max-width: 1100px) {
  body { background-attachment: scroll }
  .auth-hero { display: flex; gap: 18px; padding: 28px 24px 8px }
  .auth-brand-mobile { display: none }
  .auth-side { min-height: 0; padding: 12px 20px 40px }
  .hero-stage { width: min(100%, 640px) }
  .hero-copy { text-align: center }
  .rot-bars { margin: 0 auto 14px }
  .hero-copy h2 { font-size: clamp(28px, 6.4vw, 44px) }
  .hero-copy h2 span { white-space: normal }
  .hero-copy p { font-size: 15px }
}
@media (max-width: 640px) {
  .auth-shell { padding: 0 }
  .auth-hero { padding: 20px 14px 4px }
  .auth-brand-logo { height: 30px }
  .rot-eyebrow { font-size: 11.5px !important; margin-bottom: 6px !important }
}
/* phones: square stage, bigger orbit so the topic labels fit */
@media (max-width: 640px) {
  .hero-stage { width: 100%; aspect-ratio: 1 }
  .hero-tile { left: 40cqw; top: 40cqw; width: 20cqw; height: 20cqw }
  .ring-1, .orbit-mk { left: 31cqw; top: 31cqw; width: 38cqw; height: 38cqw }
  .ring-2, .orbit-tp { left: 16cqw; top: 16cqw; width: 68cqw; height: 68cqw }
  .ring-3 { left: 4cqw; top: 4cqw; width: 92cqw; height: 92cqw }
  .mk > span { width: 7cqw; height: 7cqw; border-radius: 2cqw; font-size: 8.5px }
  .tp > span { gap: 4px; padding: 3px 8px 3px 3px; font-size: 9px }
  .tp i { width: 16px; height: 16px; min-width: 0; min-height: 0 }
  .auth-hero { padding-inline: 8px }
}


/* ── v7: tilted 3D "atom" orbit — pills stand on two tilted rings and swing front/back with depth
   (the landing page uses a flat ring that hops step by step instead) ── */
.hero-stage { perspective: 1400px; perspective-origin: 50% 30%; transform-style: preserve-3d }
.floor { position: absolute; left: 4cqw; top: 14cqw; width: 92cqw; height: 40cqw; border-radius: 50%; background: radial-gradient(closest-side, rgba(1, 218, 139, .16), rgba(1, 218, 139, 0)); animation: floor-breathe 5s ease-in-out infinite }
.hero-tile { left: 40.5cqw; top: 19cqw; width: 19cqw; height: 19cqw; transform-style: preserve-3d }
.plane { position: absolute; transform-style: preserve-3d; transform: rotateX(66deg) }
.plane-tp { left: 8cqw; top: -10cqw; width: 84cqw; height: 84cqw }
.plane-mk { left: 24cqw; top: 6cqw; width: 52cqw; height: 52cqw; transform: rotateX(66deg) rotateZ(20deg) }
.plane .orbit { position: absolute; inset: 0; left: 0; top: 0; width: 100%; height: 100%; transform-style: preserve-3d }
.plane .orbit::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: .35cqw solid rgba(12, 47, 53, .12); box-shadow: 0 0 0 .5cqw rgba(1, 218, 139, .06), inset 0 0 4cqw rgba(1, 218, 139, .12) }
.plane .orbit-tp { animation: spin 40s linear infinite }
.plane .orbit-mk { animation: spin 26s linear infinite reverse }
.plane .orbit li { transform-style: preserve-3d; animation: spin 40s linear infinite reverse }
.plane .orbit-mk li { animation: spin 26s linear infinite }
.plane .orbit li > span { transform-origin: 50% 100%; transform: translate(-50%, -100%) rotateX(-66deg) }
.plane-mk .orbit li > span { transform: translate(-50%, -100%) rotateZ(-20deg) rotateX(-66deg) }
.plane .tp > span { background: rgba(255, 255, 255, .92); box-shadow: 0 2.4cqw 3cqw -2cqw rgba(12, 47, 53, .55); border-color: rgba(12, 47, 53, .1) }
.plane .mk > span { border-radius: 50%; box-shadow: 0 0 0 .6cqw rgba(255, 255, 255, .9), 0 1.4cqw 2.4cqw -1.2cqw rgba(8, 30, 34, .6) }
.plane .orbit li > span::before { content: ''; position: absolute; left: 50%; bottom: -1.8cqw; width: 1px; height: 1.8cqw; background: linear-gradient(rgba(12, 47, 53, .35), rgba(12, 47, 53, 0)) }
@keyframes floor-breathe { 0%, 100% { opacity: .7; scale: .96 } 50% { opacity: 1; scale: 1.04 } }
@media (max-width: 640px) {
  .hero-stage { aspect-ratio: 1 / .66 }
  .floor { top: 12cqw; left: 4cqw; width: 92cqw; height: 40cqw }
  .hero-tile { left: 39.5cqw; top: 17cqw; width: 21cqw; height: 21cqw }
  .plane .tp > span { font-size: 8.5px; padding: 3px 7px 3px 3px; gap: 4px }
  .plane .tp i { width: 15px; height: 15px }
  .plane-tp { left: 13cqw; top: -5cqw; width: 74cqw; height: 74cqw }
  .plane-mk { left: 30cqw; top: 12cqw; width: 40cqw; height: 40cqw }
  .plane .mk > span { width: 6.4cqw; height: 6.4cqw; font-size: 7.5px !important }
}
@media (prefers-reduced-motion: reduce) { .floor { animation: none } }
@media (max-width: 380px) { .plane-tp { left: 15cqw; width: 70cqw; height: 70cqw; top: -3cqw } .plane .tp > span { font-size: 8px } }

/* ── v8: N4 "Live rule feed" hero (replaces the orbit) ── */
.feed-stage { display: flex; align-items: center; justify-content: center; gap: 40px; width: 100%; animation: rise .8s var(--ease-out) both }
.feed-side { display: flex; flex-direction: column; align-items: center; gap: 14px; flex: none }
.feed-tile { width: 150px; height: 150px; border-radius: 38px; background: var(--card); border: 1px solid #e1e7e8; box-shadow: 0 30px 50px -26px rgba(12, 47, 53, .45); display: flex; align-items: center; justify-content: center; animation: bob 5s ease-in-out infinite }
.feed-tile .hero-logo { width: 52% }
.feed-live { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: #067a51 }
.feed-live i { width: 9px; height: 9px; border-radius: 50%; background: var(--tl-green); animation: live 1.6s ease-out infinite }
.feed { position: relative; list-style: none; margin: 0; padding: 0; width: 440px; max-width: 100%; height: 330px; -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent) }
.fd { position: absolute; left: 0; right: 0; top: 0; display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px; background: var(--card); border: 1px solid #dde5e6; box-shadow: 0 16px 32px -22px rgba(12, 47, 53, .55); animation: feed 12s linear infinite both }
.f1 { animation-delay: -2s } .f2 { animation-delay: -4s } .f3 { animation-delay: -6s } .f4 { animation-delay: -8s } .f5 { animation-delay: -10s }
.fd-ic { width: 40px; height: 40px; flex: none; border-radius: 12px; color: #fff; display: flex; align-items: center; justify-content: center }
.fd-ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round }
.fd-tx { display: flex; flex-direction: column; gap: 2px; min-width: 0 }
.fd-tx b { font-size: 16px; color: var(--ink) }
.fd-tx span { font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.fd-now { margin-left: auto; font-size: 12px; color: var(--muted-2); flex: none }
.feed-copy .rot-eyebrow { margin: 0 0 10px }
@keyframes feed { 0% { transform: translateY(-80px); opacity: 0 } 5% { transform: translateY(0); opacity: 1 } 17% { transform: translateY(0) } 20% { transform: translateY(82px) } 34% { transform: translateY(82px) } 37% { transform: translateY(164px) } 50% { transform: translateY(164px) } 53% { transform: translateY(246px); opacity: 1 } 67% { transform: translateY(246px); opacity: .6 } 70% { transform: translateY(330px); opacity: 0 } 100% { transform: translateY(330px); opacity: 0 } }
@keyframes bob { 50% { transform: translateY(-8px) } }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(1, 218, 139, .6) } 100% { box-shadow: 0 0 0 10px rgba(1, 218, 139, 0) } }
@media (max-width: 1280px) { .feed-stage { gap: 28px } .feed-tile { width: 120px; height: 120px; border-radius: 32px } .feed { width: 400px } }
@media (max-width: 640px) {
  .feed-stage { flex-direction: column; gap: 16px }
  .feed-side { flex-direction: row; gap: 14px }
  .feed-tile { display: none }
  .feed { width: 100%; height: 300px }
  .fd { padding: 12px 14px; gap: 12px }
  .fd-ic { width: 34px; height: 34px; border-radius: 10px } .fd-ic svg { width: 17px; height: 17px }
  .fd-tx b { font-size: 15px } .fd-tx span { font-size: 13px }
  @keyframes feed { 0% { transform: translateY(-74px); opacity: 0 } 5% { transform: translateY(0); opacity: 1 } 17% { transform: translateY(0) } 20% { transform: translateY(74px) } 34% { transform: translateY(74px) } 37% { transform: translateY(148px) } 50% { transform: translateY(148px) } 53% { transform: translateY(222px); opacity: 1 } 67% { transform: translateY(222px); opacity: .6 } 70% { transform: translateY(300px); opacity: 0 } 100% { transform: translateY(300px); opacity: 0 } }
}
@media (prefers-reduced-motion: reduce) { .fd { position: relative; margin-bottom: 8px } .feed { height: auto; -webkit-mask-image: none; mask-image: none } .fd:nth-child(n+4) { display: none } }

/* ── v9: N5 "Discipline path" hero (replaces the feed) ── */
.path-stage { display: flex; flex-direction: column; align-items: center; gap: 40px; width: 100%; animation: rise .8s var(--ease-out) both }
.path-tile { width: 120px; height: 120px; border-radius: 32px; background: var(--card); border: 1px solid #e1e7e8; box-shadow: 0 30px 50px -26px rgba(12, 47, 53, .45); display: flex; align-items: center; justify-content: center; animation: bob 5s ease-in-out infinite }
.path-tile .hero-logo { width: 52% }
.path { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; width: min(100%, 720px) }
.path-line { position: absolute; left: 10%; right: 10%; top: 32px; height: 3px; border-radius: 3px; background: #dde5e6 }
.path-line i { position: absolute; inset: 0; border-radius: inherit; background: var(--tl-green); transform-origin: left; animation: pf 10s ease-in-out infinite }
.path-line em { position: absolute; left: 0; top: -7px; width: 17px; height: 17px; margin-left: -8px; border-radius: 50%; background: var(--tl-green); box-shadow: 0 0 0 6px rgba(1, 218, 139, .22); animation: rn 10s ease-in-out infinite }
.ps { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center }
.ps-dot { width: 64px; height: 64px; border-radius: 20px; background: var(--card); border: 2px solid #dde5e6; display: flex; align-items: center; justify-content: center; box-shadow: 0 16px 30px -20px rgba(12, 47, 53, .5); animation: lit 10s infinite both }
.ps-dot svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round }
.s1 .ps-dot { animation-delay: 2.2s } .s2 .ps-dot { animation-delay: 4.4s } .s3 .ps-dot { animation-delay: 6.6s } .s4 .ps-dot { animation-delay: 8.8s }
.ps-tx { display: flex; flex-direction: column; gap: 4px }
.ps-tx b { font-size: 16px; color: var(--ink) }
.ps-tx span { font-size: 13px; line-height: 1.4; color: var(--muted) }
.path-copy .rot-eyebrow { margin: 0 0 10px }
@keyframes pf { 0% { transform: scaleX(0) } 90%, 100% { transform: scaleX(1) } }
@keyframes rn { 0% { left: 0 } 90%, 100% { left: 100% } }
@keyframes lit { 0% { border-color: #dde5e6; transform: none } 4%, 14% { border-color: var(--tl-green); transform: translateY(-6px); box-shadow: 0 0 0 6px rgba(1, 218, 139, .16), 0 16px 30px -20px rgba(12, 47, 53, .5) } 20%, 100% { border-color: #dde5e6; transform: none } }
@media (max-width: 1280px) { .path-stage { gap: 28px } .path-tile { width: 96px; height: 96px; border-radius: 26px } .ps-dot { width: 56px; height: 56px } .path-line { top: 28px } }
@media (max-width: 640px) {
  .path-stage { gap: 18px }
  .path-tile { display: none }
  .path { grid-template-columns: 1fr; gap: 14px; width: 100%; max-width: 360px; padding-left: 4px }
  .ps { flex-direction: row; text-align: left; gap: 14px }
  .ps-dot { width: 48px; height: 48px; border-radius: 15px; flex: none } .ps-dot svg { width: 22px; height: 22px }
  .ps-tx b { font-size: 15px }
  .path-line { left: 28px; right: auto; top: 24px; bottom: 24px; width: 3px; height: auto }
  .path-line i { transform-origin: top; animation-name: pfv }
  .path-line em { left: -7px; top: 0; margin: -8px 0 0; animation-name: rnv }
  @keyframes lit { 0% { border-color: #dde5e6; transform: none } 4%, 14% { border-color: var(--tl-green); transform: translateX(4px); box-shadow: 0 0 0 5px rgba(1, 218, 139, .16) } 20%, 100% { border-color: #dde5e6; transform: none } }
}
@keyframes pfv { 0% { transform: scaleY(0) } 90%, 100% { transform: scaleY(1) } }
@keyframes rnv { 0% { top: 0 } 90%, 100% { top: 100% } }
@media (prefers-reduced-motion: reduce) { .path-line i { transform: none } .path-line em { display: none } }
.path-copy h2 { font-size: clamp(34px, 3.3vw, 50px) } .path-copy h2 span { white-space: normal }

/* ── v10: P3 "Mint & Night" — mint story panel + dark panel behind the (unchanged) sign-in card ── */
.auth-shell { background: #081a1d }
.auth-hero { background: radial-gradient(ellipse at 50% 38%, #ffffff 0%, #e6f7f0 55%, #cdeee1 100%); justify-content: flex-start }
.auth-side { position: relative; z-index: 2; margin-left: -48px; border-radius: 44px 0 0 44px; background: radial-gradient(ellipse at 50% 0%, #17343a 0%, #0f2226 55%, #0a1a1d 100%); box-shadow: -30px 0 60px -30px rgba(0, 0, 0, .45) }
.auth-side .auth-card { border-color: rgba(255, 255, 255, .08); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6) }
.p3-stage { position: relative; flex-grow: 1; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; overflow: hidden; margin-bottom: -64px; min-height: 0 }
.p3-tag { position: absolute; top: 0; margin: 0; font-size: 15px; color: #3f6b63; animation: rise .8s var(--ease-out) both }
.p3-rings { position: absolute; left: 50%; top: 52%; width: 0; height: 0 }
.p3-rings i { position: absolute; border-radius: 50%; border: 1px solid rgba(12, 47, 53, .16); animation: p3ring 6s ease-out infinite }
.p3-rings i:nth-child(1) { width: 340px; height: 340px; margin: -170px 0 0 -170px }
.p3-rings i:nth-child(2) { width: 500px; height: 500px; margin: -250px 0 0 -250px; animation-delay: 2s }
.p3-rings i:nth-child(3) { width: 660px; height: 660px; margin: -330px 0 0 -330px; animation-delay: 4s }
.p3-h { position: absolute; top: 12%; left: 0; right: 0; margin: 0; text-align: center; font-size: clamp(56px, 6vw, 88px); line-height: .95; font-weight: 800; letter-spacing: -0.045em; color: var(--tl-teal); z-index: 1; animation: rise .8s var(--ease-out) .1s both }
.p3-phone { position: relative; z-index: 2; width: 270px; height: 548px; flex: none; border-radius: 46px; background: #0b0f10; padding: 12px; box-sizing: border-box; box-shadow: inset 0 0 0 2px #2c3437, 0 60px 80px -30px rgba(0, 0, 0, .55); transform: rotate(-5deg); animation: p3float 6s ease-in-out infinite }
.p3-notch { position: absolute; left: 50%; top: 22px; width: 90px; height: 24px; margin-left: -45px; border-radius: 99px; background: #0b0f10; z-index: 2 }
.p3-screen { width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #f4f7f7; display: flex; flex-direction: column; gap: 12px; padding: 52px 18px 18px; box-sizing: border-box; color: var(--ink) }
.p3-row { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted) } .p3-row b { color: #0a8f63 }
.p3-bal { font-size: 30px; font-weight: 700; letter-spacing: -0.03em }
.p3-sub { font-size: 12px; color: var(--muted) }
.p3-chart { width: 100%; height: 120px; border-radius: 16px; background: #fff }
.p3-chart polyline { fill: none; stroke: #01a86b; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 420; stroke-dashoffset: 420; animation: p3draw 5s ease-out infinite }
.p3-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px } .p3-btns span { height: 44px; border-radius: 14px; color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 14px }
.p3-btns .sell { background: #e5484d } .p3-btns .buy { background: #0a8f63 }
.p3-toast { display: flex; flex-direction: column; padding: 12px; border-radius: 14px; background: #fff; font-size: 12px; animation: p3toast 5s ease-in-out infinite } .p3-toast b { color: #0a8f63 } .p3-toast span { color: var(--muted) }
.p3-chip { position: absolute; left: 8%; bottom: 150px; z-index: 3; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 999px; background: #fff; border: 1px solid #dde5e6; font-size: 14px; font-weight: 600; color: var(--ink); box-shadow: 0 14px 28px -18px rgba(12, 47, 53, .5); animation: rise .8s var(--ease-out) .5s both, bob 5s ease-in-out 1.3s infinite }
.p3-chip i { width: 30px; height: 30px; border-radius: 50%; background: #01a86b; color: #fff; display: flex; align-items: center; justify-content: center }
.p3-chip svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round }
@keyframes p3ring { 0% { transform: scale(.8); opacity: 0 } 30% { opacity: .9 } 100% { transform: scale(1.3); opacity: 0 } }
@keyframes p3float { 50% { transform: rotate(-5deg) translateY(-12px) } }
@keyframes p3draw { 60%, 100% { stroke-dashoffset: 0 } }
@keyframes p3toast { 0%, 55% { opacity: 0; transform: translateY(10px) } 62%, 90% { opacity: 1; transform: none } 100% { opacity: 0 } }
@media (max-height: 820px) and (min-width: 1101px) { .p3-phone { transform: rotate(-5deg) scale(.86); transform-origin: bottom center; margin-top: -76px } @keyframes p3float { 0%, 100% { transform: rotate(-5deg) scale(.86) } 50% { transform: rotate(-5deg) scale(.86) translateY(-12px) } } }
@media (max-width: 1100px) {
  .auth-side { margin: -40px 0 0; border-radius: 36px 36px 0 0; padding-top: 40px }
  .p3-stage { min-height: 520px; margin-bottom: 0 }
}
@media (max-width: 640px) {
  .p3-stage { min-height: 430px }
  .p3-h { font-size: 52px; top: 40px }
  .p3-tag { font-size: 13px }
  .p3-phone { transform: rotate(-5deg) scale(.72); transform-origin: bottom center; margin-top: -150px; margin-bottom: -20px }
  @keyframes p3float { 0%, 100% { transform: rotate(-5deg) scale(.72) } 50% { transform: rotate(-5deg) scale(.72) translateY(-10px) } }
  .p3-chip { left: 4%; bottom: 90px; font-size: 13px }
  .auth-side { padding: 36px 16px 40px }
}
@media (prefers-reduced-motion: reduce) { .p3-chart polyline { stroke-dashoffset: 0 } .p3-toast { opacity: 1 } }
/* v10 layout: tag + headline in flow, phone below and cropped by the bottom edge */
.p3-stage { justify-content: flex-start; gap: 0 }
.p3-tag { position: relative; top: auto }
.p3-h { position: relative; top: auto; margin: min(3.2vh, 28px) 0 min(3.6vh, 32px); font-size: min(88px, 8.6vh, 6vw) }
.p3-rings { top: 62% }
@media (max-height: 820px) and (min-width: 1101px) { .p3-phone { margin-top: 0 } }
@media (max-width: 1100px) { .p3-stage { min-height: 0; height: 640px } .p3-h { font-size: 72px } }
@media (max-width: 640px) {
  .p3-stage { height: 470px }
  .p3-h { font-size: 52px; margin: 18px 0 20px }
  .p3-phone { margin-top: 0; margin-bottom: 0; transform: rotate(-5deg) scale(.78); transform-origin: top center }
  @keyframes p3float { 0%, 100% { transform: rotate(-5deg) scale(.78) } 50% { transform: rotate(-5deg) scale(.78) translateY(-10px) } }
  .p3-chip { bottom: 70px }
}
@media (max-width: 640px) { .p3-chip { bottom: auto; top: 250px; left: 2%; font-size: 12px; padding: 7px 12px 7px 7px } .p3-chip i { width: 24px; height: 24px } }

/* ── v11: left side cycles through 6 project topics (24 s, 4 s each): headline, phone screen and chip change together ── */
.p3-stack { display: grid; width: 100%; justify-items: center }
.p3-stack > * { grid-area: 1 / 1 }
.p3-hs { margin: min(2.4vh, 22px) 0 min(3vh, 28px) }
.p3-hs .p3-h { margin: 0 }
.p3-h small { display: block; margin-bottom: 10px; font-size: 13px; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase; color: #067a51 }
.sl { animation: sl 24s var(--ease-out) infinite both !important }
.p3-tag.sl, .p3-h.sl { position: relative; top: auto }
.sl.s1 { animation-delay: -20s !important }
.sl.s2 { animation-delay: -16s !important }
.sl.s3 { animation-delay: -12s !important }
.sl.s4 { animation-delay: -8s !important }
.sl.s5 { animation-delay: -4s !important }
@keyframes sl { 0% { opacity: 0; transform: translateY(14px) } 2%, 15% { opacity: 1; transform: none } 16.66%, 100% { opacity: 0; transform: translateY(-10px); visibility: hidden } }
.p3-bars-nav { display: flex; gap: 6px; width: 180px; margin-top: 14px }
.p3-bars-nav i { position: relative; flex: 1; height: 3px; border-radius: 3px; background: rgba(12, 47, 53, .15); overflow: hidden }
.p3-bars-nav i::after { content: ''; position: absolute; inset: 0; background: #0a8f63; transform: scaleX(0); transform-origin: left; animation: nb 24s linear infinite both }
.p3-bars-nav i.s1::after { animation-delay: -20s }
.p3-bars-nav i.s2::after { animation-delay: -16s }
.p3-bars-nav i.s3::after { animation-delay: -12s }
.p3-bars-nav i.s4::after { animation-delay: -8s }
.p3-bars-nav i.s5::after { animation-delay: -4s }
@keyframes nb { 0% { transform: scaleX(0) } 16.66% { transform: scaleX(1) } 16.67%, 100% { transform: scaleX(0) } }
.p3-screen { position: relative; padding: 0 }
.p3-scr { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 12px; padding: 52px 18px 18px }
.p3-chip.sl { animation-name: sl !important }
.p3-toast { display: flex; flex-direction: row; align-items: center; gap: 10px; animation: p3toast 4s ease-in-out infinite }
.p3-toast i { width: 30px; height: 30px; flex: none; border-radius: 9px; color: #fff; display: flex; align-items: center; justify-content: center }
.p3-toast svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round }
.p3-toast > span { display: flex; flex-direction: column } .p3-toast small { font-size: 11px; color: var(--muted) }
.p3-toast.dk { background: var(--tl-teal); color: #fff } .p3-toast.dk b { color: #fff } .p3-toast.dk small { color: #a9c3c4 }
.p3-toast b { color: var(--ink) }
.p3-meter { height: 10px; border-radius: 99px; background: #e2e8e9; overflow: hidden }
.p3-meter i { display: block; height: 100%; border-radius: inherit; animation: mfill 4s ease-in-out infinite }
.m-loss { background: linear-gradient(90deg, #01DA8B, #f5a524 60%, #e5484d) } .m-profit { background: linear-gradient(90deg, #9be8c9, #0a8f63) }
@keyframes mfill { 0% { width: 10% } 60%, 100% { width: 100% } }
.p3-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px } .p3-kpis span { padding: 12px; border-radius: 14px; background: #fff; font-size: 11px; color: var(--muted) } .p3-kpis b { display: block; font-size: 18px; color: var(--ink) }
.p3-gauge { position: relative; height: 130px; border-radius: 18px; background: #fff; overflow: hidden }
.g-arc { position: absolute; left: 50%; bottom: 0; width: 200px; height: 100px; margin-left: -100px; border-radius: 100px 100px 0 0; background: conic-gradient(from 270deg at 50% 100%, #01DA8B 0 60deg, #f5a524 60deg 120deg, #e5484d 120deg 180deg, transparent 180deg) }
.g-cut { position: absolute; left: 50%; bottom: 0; width: 140px; height: 70px; margin-left: -70px; border-radius: 70px 70px 0 0; background: #fff }
.g-needle { position: absolute; left: 50%; bottom: 0; width: 4px; height: 84px; margin-left: -2px; border-radius: 4px; background: var(--tl-teal); transform-origin: bottom center; animation: needle 4s ease-in-out infinite }
@keyframes needle { 0%, 100% { transform: rotate(-60deg) } 50% { transform: rotate(10deg) } }
.p3-dots { display: flex; gap: 12px; padding: 18px; border-radius: 16px; background: #fff; justify-content: center }
.p3-dots i { width: 30px; height: 30px; border-radius: 50%; background: #1d4ed8; animation: dotin 4s infinite both } .p3-dots i:nth-child(2) { animation-delay: .4s } .p3-dots i:nth-child(3) { animation-delay: .8s }
.p3-dots i.x { background: transparent; border: 2px dashed #e5484d; animation: none }
@keyframes dotin { 0% { transform: scale(0) } 12%, 100% { transform: scale(1) } }
.p3-bars { display: flex; align-items: flex-end; gap: 7px; height: 110px; padding: 10px; border-radius: 16px; background: #fff }
.p3-bars i { flex: 1; border-radius: 5px; background: #0a8f63; transform-origin: bottom; animation: bars 3s ease-in-out infinite } .p3-bars i.r { background: #e5484d }
.p3-bars i:nth-child(2n) { animation-delay: .3s }
@keyframes bars { 50% { transform: scaleY(.6) } }
.p3-chip { left: 6% }
@media (prefers-reduced-motion: reduce) { .sl { animation: none !important; opacity: 0 } .sl.s0 { opacity: 1 } }
@media (max-width: 640px) { .p3-stage { height: 560px } .p3-h { font-size: 42px } .p3-h small { font-size: 11px; margin-bottom: 6px } .p3-hs { margin: 10px 0 14px } .p3-chip { top: auto; bottom: 36px; left: auto; right: 3% } .p3-bars-nav { margin-top: 10px } }
@media (min-width: 1101px) { .auth-hero { height: 100vh; max-height: 100vh } } @media (max-height: 820px) and (min-width: 1101px) { .p3-phone { transform-origin: top center } }

/* ── v12: P1 "Teal & Phone" look — same content, teal story panel + light sign-in panel ── */
.auth-shell { background: #081f23 }
.auth-hero { background: radial-gradient(ellipse at 50% 40%, #134850 0%, #0C2F35 55%, #081f23 100%) }
.auth-hero .auth-brand { color: #fff }
.auth-hero .auth-brand .lg-body { fill: #E8F1F2 }
.p3-tag { color: #a9c3c4 }
.p3-h { color: #fff }
.p3-h small { color: #01DA8B }
.p3-rings i { border-color: rgba(255, 255, 255, .14) }
.p3-bars-nav i { background: rgba(255, 255, 255, .16) } .p3-bars-nav i::after { background: #01DA8B }
.p3-phone { box-shadow: inset 0 0 0 2px #2c3437, 0 60px 90px -30px rgba(0, 0, 0, .75) }
.p3-chip { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .6) }
.auth-side { background: #f4f7f7; box-shadow: -30px 0 60px -30px rgba(0, 0, 0, .5) }
.auth-side .auth-card { border-color: #e1e7e8; box-shadow: 0 1px 2px rgba(12, 47, 53, .05), 0 30px 60px -32px rgba(12, 47, 53, .28) }
@media (max-width: 640px) { .p3-chip { background: #0C2F35; border-color: rgba(255, 255, 255, .25) } }

/* ── v13: logo moves to the top-left of the sign-in panel (P1 placement) on desktop ── */
@media (min-width: 1101px) {
  .auth-hero > .auth-brand { display: none }
  .auth-hero { padding-top: 48px }
  .auth-side > .auth-brand-mobile { display: inline-flex; position: absolute; top: 44px; left: 64px; animation: rise .6s var(--ease-out) both }
  .auth-side > .auth-brand-mobile .auth-brand-logo { height: 34px }
}
@media (min-width: 1101px) { .auth-side { padding-top: 112px; padding-bottom: 32px } }

/* ── v14: no card frame — the form sits directly on the white panel (P1) ── */
.auth-side { background: #ffffff }
.auth-side .auth-card { background: transparent; border: 0; box-shadow: none; border-radius: 0 }
@media (max-width: 1100px) { .auth-side .auth-card { padding-inline: 8px } }

/* ── v15: phones & tablets show only the sign-in (no story panel) ── */
@media (max-width: 1100px) {
  .auth-shell { background: #ffffff; display: block }
  .auth-hero { display: none !important }
  .auth-side { margin: 0; border-radius: 0; box-shadow: none; min-height: 100vh; min-height: 100dvh; padding: 32px 20px 40px; justify-content: center }
  .auth-side > .auth-brand-mobile { display: inline-flex; position: static; animation: rise .6s var(--ease-out) both }
}

/* ── v16: mobile sign-in restyled like the owner's reference — wavy teal header + rounded white sheet. Visual only: same order, fields, buttons, text and behaviour ── */
@media (max-width: 1100px) {
  .auth-shell { background: #ffffff }
  .auth-side {
    position: relative; justify-content: flex-start; padding: 0; gap: 0; min-height: 100vh; min-height: 100dvh;
    background:
      repeating-radial-gradient(circle at 20% -40%, rgba(255, 255, 255, 0) 0 9px, rgba(255, 255, 255, .13) 9px 10px),
      linear-gradient(135deg, #0C2F35 0%, #0f4a44 45%, #0a8f63 80%, #01DA8B 120%);
    background-size: 100% 300px, 100% 300px; background-repeat: no-repeat; background-color: #ffffff;
    animation: waves 14s linear infinite;
  }
  @keyframes waves { to { background-position: 0 0, 0 0; } 50% { background-position: 24px 0, 0 0 } }
  .auth-side > .auth-brand-mobile { display: inline-flex; position: static; margin: 44px 0 0; color: #ffffff; animation: rise .6s var(--ease-out) both }
  .auth-side > .auth-brand-mobile .lg-body { fill: #E8F1F2 }
  .auth-side .auth-card {
    max-width: none; flex-grow: 1; margin-top: 72px; padding: 40px 24px 36px; gap: 18px;
    background: #ffffff; border-radius: 36px 36px 0 0; box-shadow: 0 -18px 40px -24px rgba(8, 31, 35, .45);
    animation: sheet .7s var(--ease-out) .1s both;
  }
  @keyframes sheet { from { transform: translateY(40px); opacity: 0 } }
  .auth-head { text-align: center; align-items: center }
  .auth-title { font-size: 30px }
  .auth-field input { background: #ffffff; border-radius: 16px; height: 56px }
  .auth-submit { margin-top: 8px }
  .auth-foot { text-align: center }
  .oauth-btn { border-radius: 999px; height: 50px }
}
@media (max-width: 1100px) and (prefers-reduced-motion: reduce) { .auth-side { animation: none } }

/* v18: beat mobile.css (.auth-shell padding 16px / 10px) so the teal header runs edge to edge */
@media (max-width: 1100px) { html body .auth-shell { padding: 0 } }

/* consent line */
.auth-legal { margin-top: 18px; font-size: 12.5px; line-height: 1.55; text-align: center; color: #6b7a7d }
.auth-legal a { color: inherit; text-decoration: underline }
