/*
 * 로그인 · 무료 체험 가입 · 소셜 첫 로그인 — 브랜드 화면 (2026-09-28 9차 목업 확정안)
 * 목업: .impeccable/mocks/admin-round9-auth.html
 * 브랜드 사이트(englider.ai)와 같은 색·글꼴·캐릭터. 로그인 뒤 관리자 화면(admin_board.css)과는 따로 간다.
 * 모든 규칙은 루트 .au 아래에만 건다 (stylesheet_link_tag :app 이 모든 css 를 싣기 때문).
 */
@font-face { font-family: "Paperlogy"; font-weight: 500; font-display: swap; src: url("/fonts/Paperlogy-5Medium.woff2") format("woff2"); }
@font-face { font-family: "Paperlogy"; font-weight: 700; font-display: swap; src: url("/fonts/Paperlogy-7Bold.woff2") format("woff2"); }
@font-face { font-family: "Paperlogy"; font-weight: 800; font-display: swap; src: url("/fonts/Paperlogy-8ExtraBold.woff2") format("woff2"); }

.au {
  --au-bg: #f6e6d4; --au-bg-2: #fbeedc; --au-paper: #fff;
  --au-ink: #2b2b2b; --au-ink-2: #6b6157; --au-ink-3: #756a5e; --au-line: #ead9c2; --au-line-2: #e0cbb0;
  --au-coral: #ee7e5a; --au-coral-deep: #d8633e; --au-coral-ink: #b84c28;
  --au-olive: #8aa05a; --au-olive-deep: #6e8443; --au-olive-dark: #55682f;
  --au-navy: #4d5a8c; --au-navy-deep: #3a466e;
  --au-font: "Paperlogy", "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Hiragino Sans", "Noto Sans JP", sans-serif;
  --au-ease: cubic-bezier(.16, 1, .3, 1);
  min-height: 100vh; background: var(--au-bg); color: var(--au-ink); font-family: var(--au-font);
  -webkit-font-smoothing: antialiased;
}
.au ::selection { background: #f7c9b6; color: var(--au-ink); }
.au-wrap { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(440px, 520px); gap: 40px; align-items: center; max-width: 1280px; margin: 0 auto; padding: 40px 48px; }

/* 왼쪽: 브랜드 무대 */
.au-stage { position: relative; min-width: 0; }
.au-logo { height: 56px; width: auto; display: block; margin-bottom: 26px; }
.au-stage h2 { margin: 0; font-size: clamp(34px, 3.6vw, 52px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: var(--au-ink); }
.au-stage h2 em { font-style: normal; color: var(--au-coral-deep); }
.au-desc { margin: 14px 0 0; font-size: 18px; line-height: 1.6; color: var(--au-ink-2); font-weight: 500; }
.au-cards { position: relative; height: 350px; margin-top: 28px; }
.au-card { position: absolute; width: 330px; border-radius: 24px; overflow: hidden; box-shadow: 0 2px 0 rgba(120, 80, 40, .05), 0 24px 48px -20px rgba(120, 80, 40, .35); transition: transform .5s var(--au-ease); }
.au-card header { padding: 16px 20px 14px; color: #fff; text-align: center; }
.au-card header b { display: block; font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
.au-card header span { display: block; font-size: 14px; font-weight: 500; opacity: .92; margin-top: 3px; }
.au-card img { display: block; width: 100%; height: 228px; object-fit: cover; object-position: center 40%; }
.au-card.school { background: var(--au-olive); left: 0; top: 18px; transform: rotate(-4deg); z-index: 2; }
.au-card.school header { background: var(--au-olive-deep); }
.au-card.church { background: var(--au-navy); left: 250px; top: 0; transform: rotate(5deg); z-index: 1; }
.au-card.church header { background: var(--au-navy-deep); }
.au-stage.church-first .au-card.church { z-index: 3; transform: rotate(-3deg); left: 60px; top: 22px; }
.au-stage.church-first .au-card.school { left: 300px; top: 4px; transform: rotate(6deg); z-index: 1; }
.au-cards:hover .au-card.school { transform: rotate(-6deg) translateY(-6px); }
.au-cards:hover .au-card.church { transform: rotate(7deg) translateY(-4px); }
.au-feats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.au-feats span { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 14px; border-radius: 18px; background: #fdf3e4; border: 1px solid var(--au-line); font-size: 14px; font-weight: 700; color: var(--au-ink-2); line-height: 1.4; }
.au-feats span i { width: 8px; height: 8px; border-radius: 50%; background: var(--au-coral); flex: none; }
.au-feats span:nth-child(2) i { background: var(--au-olive); }
.au-feats span:nth-child(3) i { background: var(--au-navy); }

/* 오른쪽: 입력 카드 */
.au-side { min-width: 0; }
.au-panel { background: var(--au-paper); border-radius: 28px; padding: 30px 36px 28px; border: 1px solid var(--au-line); box-shadow: 0 2px 0 rgba(120, 80, 40, .04), 0 18px 40px -18px rgba(120, 80, 40, .28); }
.au-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 22px; min-height: 36px; }
.au-kind { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 15px; background: var(--au-bg-2); font-size: 13px; font-weight: 700; color: var(--au-olive-dark); }
.au-kind i { width: 8px; height: 8px; border-radius: 50%; background: var(--au-olive); }
.au-kind.church { color: var(--au-navy-deep); } .au-kind.church i { background: var(--au-navy); }
.au-lang { display: inline-flex; padding: 3px; gap: 2px; background: var(--au-bg-2); border-radius: 18px; margin-left: auto; }
.au-lang button, .au-lang a { height: 30px; padding: 0 11px; display: inline-flex; align-items: center; border: 0; border-radius: 15px; background: transparent; font: 700 13px var(--au-font); color: var(--au-ink-2); text-decoration: none; cursor: pointer; white-space: nowrap; }
.au-lang [aria-current="true"] { background: var(--au-paper); color: var(--au-ink); box-shadow: 0 1px 3px rgba(120, 80, 40, .18); }
.au-lang button:focus-visible { outline: 3px solid #f7c9b6; outline-offset: 1px; }
.au-panel h1 { margin: 0; font-size: 34px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.2; color: var(--au-ink); }
.au-lead { margin: 6px 0 24px; font-size: 16px; color: var(--au-ink-3); font-weight: 500; line-height: 1.5; }
.au-form { display: grid; gap: 14px; }
.au-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.au-label { display: block; font-size: 14px; font-weight: 700; color: var(--au-ink-2); margin: 0 0 6px 2px; }
.au .au-input { display: block; width: 100%; height: 52px; padding: 0 16px; border: 1.5px solid var(--au-line); border-radius: 14px; background: #fffdfa; font: 500 16px var(--au-font); color: var(--au-ink); box-shadow: none; transition: border-color .15s, box-shadow .15s; }
.au .au-input::placeholder { color: #9a8f83; }
.au .au-input:hover { border-color: var(--au-line-2); }
.au .au-input:focus { outline: 0; border-color: var(--au-coral-deep); box-shadow: 0 0 0 4px rgba(238, 126, 90, .18); background: #fff; }
.au .au-btn { display: block; width: 100%; height: 56px; margin-top: 4px; border: 0; border-radius: 16px; background: var(--au-coral-deep); color: #fff; font: 800 19px var(--au-font); letter-spacing: -0.01em; cursor: pointer; box-shadow: 0 3px 0 var(--au-coral-ink); transition: transform .12s, box-shadow .12s, background .15s; }
.au .au-btn:hover { background: #cf5a35; }
.au .au-btn:active { transform: translateY(3px); box-shadow: 0 0 0 var(--au-coral-ink); }
.au .au-btn:focus-visible { outline: 3px solid #f7c9b6; outline-offset: 3px; }
.au .au-btn:disabled { background: #d9ccbd; box-shadow: none; cursor: not-allowed; transform: none; }
.au-or { display: flex; align-items: center; gap: 12px; margin: 22px 0 14px; font-size: 14px; font-weight: 500; color: var(--au-ink-3); }
.au-or::before, .au-or::after { content: ""; flex: 1; height: 1px; background: var(--au-line); }
.au-soc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.au-soc form { margin: 0; }
.au-soc button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 70px; border: 0; border-radius: 14px; font: 700 14px var(--au-font); cursor: pointer; transition: transform .15s var(--au-ease); padding: 0 4px; text-align: center; line-height: 1.2; }
.au-soc button:hover { transform: translateY(-2px); }
.au-soc button:focus-visible { outline: 3px solid #f7c9b6; outline-offset: 2px; }
.au-soc svg { width: 22px; height: 22px; flex: none; }
.au-soc .g { background: #fff; color: #1f1f1f; box-shadow: inset 0 0 0 1.5px var(--au-line); }
.au-soc .k { background: #FEE500; color: rgba(0, 0, 0, .85); }
.au-soc .n { background: #03C75A; color: #fff; }
.au-foot { margin: 22px 0 0; padding-top: 18px; border-top: 1px dashed var(--au-line-2); display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 15px; color: var(--au-ink-2); font-weight: 500; }
.au-foot a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border-radius: 20px; background: var(--au-bg-2); color: var(--au-coral-ink); font-weight: 800; text-decoration: none; }
.au-foot a:hover { background: #f8e2c9; }
.au-foot a svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.2; }
.au-copy { text-align: center; font-size: 13px; color: var(--au-ink-3); margin: 18px 0 0; font-weight: 500; }
.au-msg { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; font-size: 15px; font-weight: 600; margin-bottom: 16px; line-height: 1.5; }
.au-msg i { flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 13px; font-weight: 800; color: #fff; margin-top: 1px; }
.au-msg.err { background: #fdeae4; color: #8a2f14; } .au-msg.err i { background: var(--au-coral-deep); }
.au-msg.ok { background: #eef3e4; color: var(--au-olive-dark); } .au-msg.ok i { background: var(--au-olive-deep); }
.au-msg.warn { background: #fbeedc; color: #6b4a1e; } .au-msg.warn i { background: #b07a2a; }
.au-seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.au-seg label { position: relative; display: grid; place-items: center; min-height: 48px; border-radius: 14px; border: 1.5px solid var(--au-line); background: #fffdfa; font-size: 15px; font-weight: 700; color: var(--au-ink-2); cursor: pointer; text-align: center; padding: 4px 6px; line-height: 1.3; }
.au-seg input { position: absolute; opacity: 0; pointer-events: none; }
.au-seg label:has(input:checked) { border-color: var(--au-olive-deep); background: #eef3e4; color: var(--au-olive-dark); }
.au-seg label.ch:has(input:checked) { border-color: var(--au-navy); background: #e9ecf5; color: var(--au-navy-deep); }
.au-seg label:has(input:focus-visible) { outline: 3px solid #f7c9b6; outline-offset: 2px; }
.au-agree { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 500; color: var(--au-ink-2); line-height: 1.5; cursor: pointer; }
.au-agree input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--au-coral-deep); flex: none; }
.au-agree a { color: var(--au-ink); text-decoration: underline; text-underline-offset: 3px; }
.au-gift { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; background: #eef3e4; color: var(--au-olive-dark); font-size: 15px; font-weight: 700; line-height: 1.4; }
.au-gift.church { background: #e9ecf5; color: var(--au-navy-deep); }
.au-gift img { width: 40px; height: 40px; flex: none; }
.au-who { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--au-bg-2); margin-bottom: 18px; }
.au-who .av { width: 40px; height: 40px; border-radius: 50%; background: var(--au-olive-deep); color: #fff; display: grid; place-items: center; font-weight: 800; flex: none; }
.au-who b { display: block; font-size: 16px; } .au-who span { font-size: 14px; color: var(--au-ink-3); font-weight: 500; overflow-wrap: anywhere; }

@keyframes au-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.au-stage > * { animation: au-rise .7s var(--au-ease) both; }
.au-stage > *:nth-child(2) { animation-delay: .05s; }
.au-stage > *:nth-child(3) { animation-delay: .1s; }
.au-stage > *:nth-child(4) { animation-delay: .16s; }
.au-stage > *:nth-child(5) { animation-delay: .22s; }
.au-panel { animation: au-rise .7s var(--au-ease) .08s both; }
@media (prefers-reduced-motion: reduce) {
  .au-stage > *, .au-panel { animation: none; }
  .au-card, .au-soc button { transition: none; }
}

@media (max-width: 980px) {
  .au-wrap { grid-template-columns: 1fr; padding: 20px 16px 28px; gap: 16px; align-items: start; }
  .au-stage { text-align: center; }
  .au-logo { height: 44px; margin: 0 auto 10px; }
  .au-stage h2 { font-size: 26px; }
  .au-desc, .au-cards, .au-feats, .au-stage.dup-title h2 { display: none; }
  .au-panel { padding: 22px 20px 20px; border-radius: 22px; }
  .au-panel h1 { font-size: 28px; }
  .au-row2 { grid-template-columns: 1fr; }
  .au-seg { grid-template-columns: 1fr; }
}
