/* HMC Atölye — tanıtım anasayfası + giriş ekranı (landing-4: animasyonlu) */

.landing-body {
  position: relative;
  background: var(--hmc-paper);
  color: var(--hmc-ink);
  min-height: 100vh;
  overflow-x: hidden;
}

.landing-wrap {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

/* Below-the-fold bölümleri ilk çizimi bloke etmez; tarayıcı yaklaştıkça render eder. */
.landing-body main > .section,
.landing-body main > .stats,
.landing-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 720px;
}

/* Scroll ilerleme çubuğu */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 60;
  background: linear-gradient(90deg, var(--hmc-accent), #e08a5e);
  box-shadow: 0 0 12px rgba(194, 96, 58, 0.5);
  transition: width 0.1s linear;
}

/* ---- Üst menü ---- */
.landing-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: saturate(140%) blur(10px);
  background: rgba(250, 250, 249, 0.7);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.landing-nav.is-scrolled {
  background: rgba(250, 250, 249, 0.92);
  border-bottom-color: var(--hmc-line);
  box-shadow: var(--hmc-shadow-sm);
}

.landing-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: 14px 0;
}

.landing-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--hmc-ink);
}

.landing-logo img { height: 34px; width: auto; border-radius: 8px; }
.landing-logo strong { display: block; font-size: var(--fs-16); letter-spacing: -0.02em; }
.landing-logo small {
  display: block;
  color: var(--hmc-muted);
  font-size: var(--fs-11);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.landing-nav-links { display: flex; align-items: center; gap: var(--sp-5); }
.landing-nav-links .nav-text {
  color: var(--hmc-ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--fs-14);
  transition: color 0.16s ease;
}
.landing-nav-links .nav-text:hover { color: var(--hmc-accent-dark); }

/* ---- Butonlar ---- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--hmc-radius-sm);
  font-weight: 700;
  font-size: var(--fs-14);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}
.btn:active { transform: translateY(0) scale(0.985); }

.btn-primary {
  background: var(--hmc-accent);
  color: #fff;
  box-shadow: var(--hmc-shadow-sm);
}
.btn-primary:hover {
  background: var(--hmc-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -10px rgba(194, 96, 58, 0.6);
}

.btn-ghost {
  background: var(--hmc-surface);
  color: var(--hmc-ink);
  border-color: var(--hmc-line);
  box-shadow: var(--hmc-shadow-xs);
}
.btn-ghost:hover { background: var(--hmc-surface-2); border-color: #d6d3d1; transform: translateY(-2px); }

.btn-lg { min-height: 54px; padding: 0 28px; font-size: var(--fs-16); }

/* =========================================================
   HERO
   ========================================================= */
.hero-section {
  position: relative;
  overflow: hidden;
  padding-bottom: 8px;
}

/* Hareketli aurora arka plan */
.aurora {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 760px;
  z-index: 0;
  pointer-events: none;
  filter: blur(60px);
  opacity: 0.85;
}
.aurora .blob {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: multiply;
}
.aurora .b1 {
  width: 520px; height: 520px;
  top: -60px; left: 8%;
  background: radial-gradient(circle at 30% 30%, rgba(194, 96, 58, 0.55), transparent 70%);
  animation: drift1 16s ease-in-out infinite;
}
.aurora .b2 {
  width: 460px; height: 460px;
  top: 40px; right: 6%;
  background: radial-gradient(circle at 60% 40%, rgba(224, 138, 94, 0.45), transparent 70%);
  animation: drift2 19s ease-in-out infinite;
}
.aurora .b3 {
  width: 420px; height: 420px;
  top: 220px; left: 42%;
  background: radial-gradient(circle at 50% 50%, rgba(176, 138, 60, 0.32), transparent 70%);
  animation: drift3 22s ease-in-out infinite;
}
@keyframes drift1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(60px, 40px) scale(1.12); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-50px, 30px) scale(1.08); } }
@keyframes drift3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(20px, -50px) scale(1.15); } }

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: var(--sp-10);
  align-items: center;
  padding: 84px 0 60px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--hmc-accent-line);
  color: var(--hmc-accent-dark);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: var(--fs-12);
  font-weight: 700;
  margin-bottom: var(--sp-5);
  backdrop-filter: blur(6px);
}
.hero-pill .ping {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--hmc-accent);
  box-shadow: 0 0 0 0 rgba(194, 96, 58, 0.55);
  animation: ping 1.8s ease-out infinite;
}
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(194,96,58,0.55); } 70%,100% { box-shadow: 0 0 0 10px rgba(194,96,58,0); } }

.hero-title {
  font-size: clamp(36px, 5.4vw, 60px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-5);
}
.hero-title .line { display: block; }
.hero-title .grad {
  background: linear-gradient(100deg, var(--hmc-accent) 0%, #e08a5e 45%, #b08a3c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 100%;
  animation: shimmer 6s ease-in-out infinite;
}
@keyframes shimmer { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.hero-lead {
  font-size: var(--fs-18);
  color: var(--hmc-ink-soft);
  max-width: 52ch;
  margin-bottom: var(--sp-6);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-bottom: var(--sp-6); }

.hero-trust {
  display: flex; flex-wrap: wrap; gap: var(--sp-5);
  color: var(--hmc-muted); font-size: var(--fs-13); font-weight: 600;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hmc-ok); }

/* ---- Hero sahnesi: yüzen cam kartlar ---- */
.hero-stage {
  position: relative;
  min-height: 420px;
  perspective: 1200px;
}

.float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--hmc-radius-lg);
  box-shadow: 0 24px 60px -24px rgba(28, 25, 23, 0.4);
  backdrop-filter: blur(14px);
  translate: var(--px, 0px) var(--py, 0px);
  transition: translate 0.25s ease-out;
  will-change: translate, transform;
}

.fc-main {
  top: 18px;
  left: 0;
  right: 24px;
  padding: 16px;
  animation: floaty 7s ease-in-out infinite;
}
.fc-main .mock-head {
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 12px; margin-bottom: 12px;
  border-bottom: 1px solid var(--hmc-line);
}
.fc-main .mock-dots { display: flex; gap: 5px; }
.fc-main .mock-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--hmc-line); display: block; }
.fc-main .mock-dots i:first-child { background: #f1b6a0; }
.fc-main .mock-title { font-size: var(--fs-12); font-weight: 700; color: var(--hmc-muted); }
.mock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mock-tile {
  border: 1px solid var(--hmc-line);
  border-radius: var(--hmc-radius-sm);
  padding: 12px;
  background: var(--hmc-surface);
}
.mock-tile .thumb {
  height: 56px; border-radius: 8px;
  background: linear-gradient(135deg, var(--hmc-accent-soft), #f6efdd);
  margin-bottom: 8px;
}
.mock-tile .ln { height: 7px; border-radius: 4px; background: var(--hmc-line); margin-bottom: 6px; }
.mock-tile .ln.s { width: 60%; }
.mock-tile .ln.accent { background: var(--hmc-accent); width: 40%; }

.fc-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  font-weight: 700;
  font-size: var(--fs-13);
  color: var(--hmc-ink);
}
.fc-badge .ic {
  width: 30px; height: 30px; flex: none;
  border-radius: 9px;
  display: grid; place-items: center;
  color: #fff;
}
.fc-badge small { display: block; font-weight: 600; color: var(--hmc-muted); font-size: var(--fs-11); }

.fc-product { top: 0; right: 0; animation: floaty 6s ease-in-out infinite 0.4s; }
.fc-product .ic { background: var(--hmc-ok); }
.fc-insta { bottom: 56px; left: -8px; animation: floaty 7.5s ease-in-out infinite 0.2s; }
.fc-insta .ic { background: linear-gradient(135deg, #c2603a, #b08a3c); }
.fc-ads { bottom: 8px; right: 18px; animation: floaty 6.6s ease-in-out infinite 0.6s; }
.fc-ads .ic { background: var(--hmc-info); }

@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---- Entegrasyon şeridi (marquee) ---- */
.marquee {
  position: relative;
  z-index: 1;
  margin-top: var(--sp-6);
  padding: 18px 0;
  border-top: 1px solid var(--hmc-line);
  border-bottom: 1px solid var(--hmc-line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  gap: var(--sp-8);
  width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--hmc-muted);
  font-weight: 700;
  font-size: var(--fs-16);
  white-space: nowrap;
}
.marquee-track span::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--hmc-accent);
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =========================================================
   İstatistik şeridi
   ========================================================= */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
  margin: var(--sp-10) auto 0;
}
.stat {
  text-align: center;
  background: var(--hmc-surface);
  border: 1px solid var(--hmc-line);
  border-radius: var(--hmc-radius);
  padding: var(--sp-6) var(--sp-4);
  box-shadow: var(--hmc-shadow-xs);
}
.stat strong {
  display: block;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--hmc-accent);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat span { display: block; margin-top: 8px; color: var(--hmc-muted); font-size: var(--fs-13); font-weight: 600; }

/* =========================================================
   Bölüm başlıkları
   ========================================================= */
.section { padding: 64px 0; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto var(--sp-8); }
.eyebrow {
  display: inline-block;
  color: var(--hmc-accent-dark);
  font-weight: 800;
  font-size: var(--fs-12);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--sp-2);
}
.section-head h2 { font-size: clamp(27px, 3.6vw, 38px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: var(--sp-3); }
.section-head p { color: var(--hmc-muted); font-size: var(--fs-16); }

/* ---- Özellikler: bento ---- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: var(--sp-4);
}
.feature-card {
  position: relative;
  overflow: hidden;
  background: var(--hmc-surface);
  border: 1px solid var(--hmc-line);
  border-radius: var(--hmc-radius-lg);
  padding: var(--sp-6);
  box-shadow: var(--hmc-shadow-xs);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature-card::after {
  content: "";
  position: absolute;
  width: 220px; height: 220px;
  top: -120px; right: -80px;
  background: radial-gradient(circle, var(--hmc-accent-soft), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--hmc-shadow); border-color: var(--hmc-accent-line); }
.feature-card:hover::after { opacity: 1; }
.feature-card.feature-lg { grid-column: span 2; }

.feature-icon {
  position: relative;
  z-index: 1;
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--hmc-accent-soft);
  color: var(--hmc-accent-dark);
  display: grid; place-items: center;
  margin-bottom: var(--sp-4);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.feature-card:hover .feature-icon { transform: scale(1.08) rotate(-4deg); background: var(--hmc-accent); color: #fff; }
.feature-icon svg { width: 23px; height: 23px; }
.feature-card h3 { position: relative; z-index: 1; font-size: var(--fs-18); margin-bottom: var(--sp-2); }
.feature-card p { position: relative; z-index: 1; color: var(--hmc-muted); font-size: var(--fs-14); line-height: 1.55; }

/* ---- Nasıl çalışır: zaman çizelgesi ---- */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
}
.steps::before {
  content: "";
  position: absolute;
  top: 18px; left: 8%; right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--hmc-accent-line), var(--hmc-line));
  z-index: 0;
}
.step {
  position: relative;
  z-index: 1;
  background: var(--hmc-surface);
  border: 1px solid var(--hmc-line);
  border-radius: var(--hmc-radius);
  padding: var(--sp-6) var(--sp-5);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--hmc-shadow); border-color: var(--hmc-accent-line); }
.step .step-num {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--hmc-ink);
  color: #fff;
  font-weight: 800;
  display: grid; place-items: center;
  margin-bottom: var(--sp-4);
}
.step:hover .step-num { background: var(--hmc-accent); }
.step h4 { font-size: var(--fs-16); margin-bottom: 6px; }
.step p { color: var(--hmc-muted); font-size: var(--fs-13); }

/* ---- Kullanım senaryoları ---- */
.usecases { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.usecase {
  display: flex; gap: 14px;
  background: var(--hmc-surface);
  border: 1px solid var(--hmc-line);
  border-radius: var(--hmc-radius);
  padding: var(--sp-5);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.usecase:hover { transform: translateY(-3px); box-shadow: var(--hmc-shadow); border-color: var(--hmc-accent-line); }
.usecase .uc-icon {
  flex: none; width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--hmc-accent-soft);
  color: var(--hmc-accent-dark);
  display: grid; place-items: center;
}
.usecase h4 { font-size: var(--fs-16); margin-bottom: 4px; }
.usecase p { color: var(--hmc-muted); font-size: var(--fs-14); }

/* ---- SSS akordeonu ---- */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: var(--sp-3); }
.faq-item {
  background: var(--hmc-surface);
  border: 1px solid var(--hmc-line);
  border-radius: var(--hmc-radius);
  padding: 2px var(--sp-5);
  box-shadow: var(--hmc-shadow-xs);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item[open] { border-color: var(--hmc-accent-line); box-shadow: var(--hmc-shadow-sm); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  list-style: none; cursor: pointer;
  padding: var(--sp-4) 0;
  font-weight: 700; font-size: var(--fs-16); color: var(--hmc-ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: none; box-shadow: var(--hmc-focus); border-radius: var(--hmc-radius-sm); }
.faq-chevron {
  flex: none; width: 22px; height: 22px; position: relative;
  border-radius: 6px; background: var(--hmc-accent-soft);
  transition: background 0.2s ease, transform 0.25s ease;
}
.faq-chevron::before, .faq-chevron::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 9px; height: 2px; border-radius: 2px; background: var(--hmc-accent-dark);
  transform: translate(-50%, -50%); transition: transform 0.25s ease, opacity 0.25s ease;
}
.faq-chevron::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-item[open] .faq-chevron::after { opacity: 0; }
.faq-item p { margin: 0; padding: 0 0 var(--sp-4); color: var(--hmc-ink-soft); font-size: var(--fs-14); line-height: 1.6; }

/* ---- CTA bandı ---- */
.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(600px 300px at 80% -20%, rgba(194, 96, 58, 0.35), transparent 60%),
    linear-gradient(160deg, #1c1917, #0c0a09);
  color: #fff;
  border-radius: var(--hmc-radius-lg);
  padding: clamp(36px, 6vw, 64px);
  text-align: center;
  box-shadow: var(--hmc-shadow);
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(circle at 70% 0%, #000, transparent 70%);
  mask-image: radial-gradient(circle at 70% 0%, #000, transparent 70%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.4vw, 36px); margin-bottom: var(--sp-3); letter-spacing: -0.02em; }
.cta-band p { color: rgba(255, 255, 255, 0.78); font-size: var(--fs-16); margin-bottom: var(--sp-6); }
.cta-band .hero-actions { justify-content: center; margin-bottom: 0; }
.cta-band .btn-ghost { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.22); }
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, 0.16); }

/* ---- Footer ---- */
.landing-footer {
  border-top: 1px solid var(--hmc-line);
  padding: var(--sp-8) 0;
  margin-top: var(--sp-6);
  color: var(--hmc-muted);
  font-size: var(--fs-13);
  display: flex; flex-wrap: wrap; gap: var(--sp-4);
  align-items: center; justify-content: space-between;
}

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding: 56px 0 32px; }
  .hero-stage { min-height: 360px; order: -1; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-card.feature-lg { grid-column: span 2; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .feature-grid, .usecases { grid-template-columns: 1fr; }
  .feature-card.feature-lg { grid-column: span 1; }
  .steps { grid-template-columns: 1fr; }
  .landing-nav-links .nav-text { display: none; }
  .hero-stage { min-height: 320px; }
}

/* =========================================================
   Yükleme / scroll animasyonları
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  .hero-title .line { opacity: 0; transform: translateY(18px); animation: title-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
  .hero-title .line:nth-child(1) { animation-delay: 0.04s; }
  .hero-title .line:nth-child(2) { animation-delay: 0.1s; }
  .hero-title .line:nth-child(3) { animation-delay: 0.16s; }
  @keyframes title-in { to { opacity: 1; transform: none; } }

  .hero-copy .hero-pill,
  .hero-copy .hero-lead,
  .hero-copy .hero-actions,
  .hero-copy .hero-trust { opacity: 0; transform: translateY(12px); animation: title-in 0.45s ease forwards; }
  .hero-copy .hero-pill { animation-delay: 0.02s; }
  .hero-copy .hero-lead { animation-delay: 0.2s; }
  .hero-copy .hero-actions { animation-delay: 0.26s; }
  .hero-copy .hero-trust { animation-delay: 0.32s; }

  .reveal-ready [data-reveal] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
  }
  .reveal-ready [data-reveal].is-in { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .aurora .blob, .float-card, .marquee-track, .hero-pill .ping, .hero-title .grad { animation: none !important; }
}

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

/* =========================================================
   Giriş / kayıt ekranı (koyu stone panel)
   ========================================================= */
.auth-body {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: var(--hmc-paper);
}

.auth-aside {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(620px 360px at 12% 8%, rgba(194, 96, 58, 0.30), transparent 62%),
    radial-gradient(520px 420px at 95% 100%, rgba(194, 96, 58, 0.16), transparent 60%),
    linear-gradient(165deg, #1c1917 0%, #0c0a09 100%);
  color: #fff;
  padding: 56px 52px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--sp-6);
}
.auth-aside::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(circle at 30% 20%, #000, transparent 72%);
  mask-image: radial-gradient(circle at 30% 20%, #000, transparent 72%);
  pointer-events: none;
}
.auth-aside > * { position: relative; z-index: 1; }

.auth-aside .auth-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.auth-aside .auth-brand img { height: 36px; border-radius: 8px; }
.auth-aside .auth-brand strong { font-size: var(--fs-16); }
.auth-aside .auth-brand small { display: block; opacity: 0.75; font-size: var(--fs-11); text-transform: uppercase; letter-spacing: 0.08em; }

.auth-aside-body { display: grid; gap: var(--sp-5); }
.auth-pill {
  justify-self: start;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.92);
  border-radius: 999px; padding: 6px 14px;
  font-size: var(--fs-12); font-weight: 700;
}
.auth-aside h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); font-weight: 800; max-width: 18ch; }
.auth-aside .auth-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.auth-aside .auth-points li { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-15); color: rgba(255, 255, 255, 0.92); }
.auth-aside .auth-points .check { flex: none; width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); display: grid; place-items: center; }

.auth-flow { display: grid; gap: 8px; margin-top: var(--sp-2); }
.auth-flow-step {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; border-radius: var(--hmc-radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  font-size: var(--fs-13); font-weight: 600; color: rgba(255, 255, 255, 0.9);
}
.auth-flow-step .num { flex: none; width: 24px; height: 24px; border-radius: 7px; background: var(--hmc-accent); color: #fff; font-weight: 800; font-size: var(--fs-12); display: grid; place-items: center; }

.auth-aside .auth-footnote { opacity: 0.7; font-size: var(--fs-13); }

.auth-main { display: grid; place-items: center; padding: 40px 24px; }
.auth-card { width: min(420px, 100%); }
.auth-card .back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--hmc-muted); text-decoration: none; font-weight: 600; font-size: var(--fs-13); margin-bottom: var(--sp-5); }
.auth-card .back-link:hover { color: var(--hmc-accent-dark); }
.auth-card h1 { font-size: var(--fs-30); font-weight: 800; margin-bottom: 6px; }
.auth-card .auth-sub { color: var(--hmc-muted); margin-bottom: var(--sp-6); }

.auth-tabs { display: inline-flex; background: var(--hmc-surface-2); border: 1px solid var(--hmc-line); border-radius: 999px; padding: 4px; margin-bottom: var(--sp-6); }
.auth-tabs button { min-height: 36px; padding: 0 18px; border: none; background: transparent; color: var(--hmc-muted); border-radius: 999px; box-shadow: none; font-weight: 700; cursor: pointer; }
.auth-tabs button.active { background: var(--hmc-surface); color: var(--hmc-ink); box-shadow: var(--hmc-shadow-xs); }

.auth-field { margin-bottom: var(--sp-4); }
.auth-field label { display: block; font-size: var(--fs-13); font-weight: 700; color: var(--hmc-ink-soft); margin-bottom: 6px; }
.auth-card .btn-primary { width: 100%; margin-top: var(--sp-2); }

.auth-message { display: none; margin-top: var(--sp-4); padding: 10px 14px; border-radius: var(--hmc-radius-sm); font-size: var(--fs-13); font-weight: 600; }
.auth-message.show { display: block; }
.auth-message.error { background: var(--hmc-danger-soft); color: var(--hmc-danger); border: 1px solid #f3c6c6; }
.auth-message.ok { background: var(--hmc-ok-soft); color: var(--hmc-ok); border: 1px solid #bbf7d0; }

.auth-hint { margin-top: var(--sp-5); text-align: center; color: var(--hmc-muted); font-size: var(--fs-13); }

@media (max-width: 860px) {
  .auth-body { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .auth-card { animation: auth-rise 0.5s cubic-bezier(0.16, 1, 0.3, 1) both; }
  @keyframes auth-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
