* { margin:0; padding:0; box-sizing:border-box; }
body { font-family: system-ui, -apple-system, sans-serif; background:#f8f4f0; color:#2d1b0e; min-height:100vh; display:flex; flex-direction:column; }
.site-header { display:flex; align-items:center; gap:12px; padding:14px 24px; background:white; border-bottom:1px solid #e8e0d8; }
.brand-logo { display:inline-flex; line-height:0; }
.brand-logo img { width:36px; height:36px; border-radius:8px; }
.site-name { font-weight:700; font-size:16px; color:#2d1b0e; text-decoration:none; }
.site-main { flex:1; display:flex; align-items:center; justify-content:center; padding:32px 16px; }
.site-footer { display:flex; gap:8px; justify-content:center; flex-wrap:wrap; padding:16px; font-size:12px; color:#9a8a7a; }
.site-footer a { color:#6b5748; text-decoration:none; font-weight:600; }
.site-footer a:hover { text-decoration:underline; }
.card { background:white; border-radius:20px; padding:48px 40px; width:400px; max-width:92vw; box-shadow:0 2px 20px rgba(0,0,0,0.06); text-align:center; }
.logo { font-size:48px; margin-bottom:12px; }
h1 { font-size:22px; margin-bottom:4px; }
.sub { color:#9a8a7a; font-size:14px; margin-bottom:28px; line-height:1.5; }
input { width:100%; padding:14px 16px; border:2px solid #e8e0d8; border-radius:12px; font-size:15px; margin-bottom:12px; outline:none; }
input:focus { border-color:#c9a87e; }
button[type="submit"] { width:100%; padding:14px; background:#2d1b0e; color:white; border:none; border-radius:12px; font-size:16px; font-weight:600; cursor:pointer; }
button[type="submit"]:hover { background:#4a3220; }
.error { color:#d44; font-size:13px; margin-top:10px; }
.notice { background:#f0f8f4; border:1px solid #cfe6d8; color:#2d6a3a; font-size:13px; line-height:1.5; border-radius:10px; padding:12px; margin:12px 0 16px; }
.alt-link { margin-top:18px; font-size:13px; }
.alt-link a { color:#6b5748; }
.pw-wrap { position:relative; margin-bottom:12px; }
.pw-wrap input { margin-bottom:0; padding-right:44px; }
.pw-toggle { position:absolute; right:10px; top:50%; transform:translateY(-50%); background:none; border:none; cursor:pointer; font-size:18px; padding:4px; color:#9a8a7a; }
/* Privacy policy */
.site-main.doc { align-items:flex-start; }
.doc-card { background:white; border-radius:20px; padding:36px 32px; width:760px; max-width:94vw; box-shadow:0 2px 20px rgba(0,0,0,0.06); line-height:1.65; font-size:15px; }
.doc-card h1 { font-size:24px; margin-bottom:6px; }
.doc-card h2 { font-size:17px; margin:26px 0 8px; }
.doc-card p, .doc-card ul { margin-bottom:10px; }
.doc-card ul { padding-left:22px; }
.doc-card .meta { color:#9a8a7a; font-size:13px; margin-bottom:18px; }
.doc-card a { color:#6b5748; }
