:root {
  --bg: #ffffff;
  --ink: #16161d;
  --muted: #73747b;
  --line: #e8e8ea;
  --soft: #f5f5f6;
  --primary: #16161d;
  --primary-fg: #ffffff;
  --accent: #00c2ff;
  --sans: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
img { display: block; max-width: 100%; }

.shell {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
}

.showcase {
  position: relative;
  background: #0b0b0f;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100dvh;
}
.slides { position: absolute; inset: 0; }
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .6s ease;
}
.slide.is-active { opacity: 1; }
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.slide figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 48px 40px 72px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.72) 55%, rgba(0,0,0,.88));
  color: #fff;
}
.slide-kicker {
  font-size: 13px;
  opacity: .8;
  margin-bottom: 10px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.slide h2 {
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 650;
  line-height: 1.2;
  max-width: 16em;
}
.dots {
  position: absolute;
  left: 40px;
  bottom: 28px;
  display: flex;
  gap: 8px;
  z-index: 2;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.35);
}
.dot.is-active { background: #fff; width: 22px; }

.auth {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 28px 40px 40px;
  background: #fff;
}
.auth-brand { margin-bottom: 48px; }
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.logo-mark { width: 28px; height: 28px; display: block; }

.auth-body {
  width: min(420px, 100%);
  margin: auto;
  padding-bottom: 40px;
}
.auth-body h1 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.auth-sub {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 28px;
}
.auth-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  width: 100%;
}
.btn svg { width: 20px; height: 20px; flex: 0 0 auto; }
.btn-outline {
  border: 1px solid var(--line);
  background: #fff;
}
.btn-outline:hover { background: var(--soft); }
.btn-primary {
  background: var(--primary);
  color: var(--primary-fg);
  margin-top: 4px;
}
.btn-primary:hover { opacity: .92; }

.legal {
  margin-top: 22px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
}
.legal-link {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
  display: inline;
  padding: 0;
  font-size: inherit;
  font-weight: 500;
}

.wa-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}
.wa-modal[hidden] { display: none !important; }
.wa-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
}
.wa-modal-panel {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  height: min(640px, calc(100vh - 40px));
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,.24);
}
.wa-modal-panel iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.wa-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #f4f4f4;
  color: #111;
  font-size: 22px;
  line-height: 1;
}

@media (max-width: 960px) {
  .shell { grid-template-columns: 1fr; }
  .showcase {
    min-height: 42vh;
  }
  .slide figcaption {
    padding: 24px 20px 56px;
  }
  .slide h2 { font-size: 22px; }
  .dots { left: 20px; bottom: 20px; }
  .auth {
    min-height: auto;
    padding: 24px 20px 36px;
  }
  .auth-brand { margin-bottom: 24px; }
  .auth-body { margin: 0 auto; }
  .auth-body h1 { font-size: 28px; }
}
