/* AiMu UI_STANDARD v1: colors, system typography, controls and spacing. */
:root{color-scheme:dark;--bg:#0c1423;--surface:#142236;--field:#19283c;--border:#344960;--text:#f4f7fc;--muted:#b6c7da;--accent:#36d2ed}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:inherit;text-decoration:none}button,input{font:inherit}button,a.primary{cursor:pointer}header,main,footer{max-width:1160px;margin:auto;padding-left:24px;padding-right:24px}header{min-height:96px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid var(--border)}.brand{display:inline-flex;align-items:center;gap:12px;min-height:48px;flex-shrink:0}.brand img{display:block;border-radius:12px;background:white;object-fit:contain}.wordmark{font-size:28px;line-height:1.2;font-weight:850;letter-spacing:-1px}.wordmark b{color:var(--accent);font-weight:inherit}nav{display:flex;gap:24px;font-size:14px;color:var(--muted)}nav a{display:flex;align-items:center;min-height:48px}.outline{background:var(--field);border:1px solid var(--border);border-radius:12px;min-height:48px;padding:12px 20px;color:var(--text);font-weight:650}.outline:hover{border-color:var(--accent)}.hero{min-height:440px;padding:64px 0;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;position:relative}.eyebrow{font-size:12px;line-height:1.5;letter-spacing:1.2px;font-weight:650;color:var(--accent);margin:0 0 12px}.hero h1{font-size:28px;line-height:35px;font-weight:700;letter-spacing:-.4px;margin:0 0 16px}.intro{font-size:16px;line-height:24px;color:var(--muted);margin:0 0 24px}.primary{border:1px solid var(--accent);background:var(--accent);color:var(--bg);min-height:50px;padding:12px 20px;border-radius:12px;display:inline-flex;justify-content:center;gap:24px;align-items:center;font-weight:650;font-size:16px}.primary:hover{background:#70e2f4}.hero-art{position:absolute;right:32px;top:40px;text-align:center;max-width:310px}.logo-panel{border-radius:24px;overflow:hidden;background:#fff;border:1px solid var(--border);padding:12px}.logo-panel img{display:block;max-width:100%;height:auto}.hero-art p{font-size:14px;color:var(--muted);margin:12px 0}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:24px}h2{font-size:20px;line-height:27px;font-weight:650;letter-spacing:-.2px;margin:0}.section-heading>p{max-width:320px;font-size:14px;line-height:21px;color:var(--muted);margin:0}.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.card{min-width:0;border:1px solid var(--border);border-radius:16px;padding:20px;min-height:280px;display:flex;flex-direction:column;background:var(--surface)}.card:hover{border-color:#52758b}.number{font-size:12px;line-height:18px;letter-spacing:.4px;color:var(--accent);font-weight:650}.card h3{font-size:24px;line-height:31px;letter-spacing:-.3px;font-weight:700;margin:24px 0 12px}.card p{font-size:14px;line-height:21px;color:var(--muted);margin:0 0 20px}.badge{align-self:flex-start;margin-top:auto;font-size:12px;line-height:18px;color:var(--muted);background:var(--field);border:1px solid var(--border);border-radius:8px;padding:5px 8px}.how{padding:64px 0}.steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:24px}.steps p{font-size:14px;line-height:21px;color:var(--muted);padding:16px;background:var(--surface);border-radius:12px;margin:0}.steps b{display:block;color:var(--accent);margin-bottom:8px}#account{padding:24px;background:var(--surface);border:1px solid var(--border);border-radius:16px;margin-bottom:48px}#account p{color:var(--muted);overflow-wrap:anywhere}footer{border-top:1px solid var(--border);padding-top:24px;padding-bottom:24px;display:flex;justify-content:space-between;gap:24px;align-items:center;font-size:14px;color:var(--muted)}footer .brand{color:var(--text)}footer a:not(.brand){min-height:48px;display:flex;align-items:center}dialog{background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:16px;width:440px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);padding:32px;overflow-y:auto}dialog::backdrop{background:#040a14cc;backdrop-filter:blur(4px)}.close{position:absolute;right:8px;top:8px;min-width:48px;min-height:48px;color:var(--muted);background:transparent;border:0;font-size:28px;border-radius:12px}dialog .eyebrow{padding-right:16px}dialog h2{font-size:24px;line-height:31px;margin-bottom:24px}label{display:block;font-size:14px;line-height:21px;margin:0 0 16px}input{display:block;width:100%;min-height:48px;background:var(--field);border:1px solid var(--border);border-radius:12px;padding:12px;color:var(--text);margin-top:8px}small,.fine{font-size:12px;color:var(--muted);line-height:18px}small{display:block;margin-top:8px}.fine{margin:16px 0 0}.auth-links{display:flex;justify-content:space-between;gap:12px}.auth-links button{background:none;border:0;color:var(--accent);font-size:14px;min-height:48px;padding:8px 0;text-align:left}#submit{width:100%}#notice{font-size:14px;line-height:21px;color:var(--muted);overflow-wrap:anywhere}#notice:empty{display:none}.primary:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:3px}button,input,a{-webkit-tap-highlight-color:transparent}@media(max-width:1000px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-art{right:0;max-width:255px}.hero-art img{width:230px}.hero{min-height:390px}}@media(max-width:759px){header,main,footer{padding-left:16px;padding-right:16px}header{min-height:80px;gap:12px}header nav{display:none}.brand img{width:44px;height:44px;border-radius:10px}.wordmark{font-size:26px}.hero{padding:32px 0 28px;min-height:0}.hero h1{font-size:26px;line-height:33px}.intro br{display:none}.intro{max-width:520px}.hero-art{position:static;max-width:100%;display:flex;align-items:center;text-align:left;gap:16px;margin-top:24px;width:100%;padding:16px;background:var(--surface);border:1px solid var(--border);border-radius:16px}.logo-panel{padding:0;border-radius:12px;flex-shrink:0}.logo-panel img{width:88px;height:88px}.hero-art p{font-size:14px;margin:0;max-width:150px}.section-heading{display:block;margin:8px 0 16px}.section-heading>p{margin-top:12px}.grid{gap:12px}.card{padding:16px;min-height:260px}.card h3{font-size:21px;line-height:27px;margin-top:20px}.number{font-size:11px}.card p{font-size:14px}.how{padding:32px 0}.steps{grid-template-columns:1fr;gap:12px;margin-top:16px}.steps b{display:inline;margin-right:12px}.steps p{padding:16px}footer{flex-wrap:wrap;gap:8px 20px}footer p{margin:0}footer a:last-child{width:100%;overflow-wrap:anywhere}dialog{padding:24px}dialog h2{font-size:22px;line-height:29px}.auth-links{flex-wrap:wrap}#account{padding:16px;margin-bottom:32px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* Transparent AiMu Media wordmark: no card or white backing. */
.brand img{width:144px;height:auto;max-height:76px;border-radius:0;background:transparent;object-fit:contain}.logo-panel{background:transparent;border:0;border-radius:0;padding:0;overflow:visible}.logo-panel img{width:300px;height:auto}.hero-art{top:92px}.hero-art p{margin-top:20px}@media(max-width:1000px){.logo-panel img{width:245px}}@media(max-width:759px){.brand img{width:112px;height:auto;max-height:58px;border-radius:0}.hero-art{background:transparent;border:0;border-radius:0;padding:0;margin-top:32px}.logo-panel{border-radius:0}.logo-panel img{width:140px;height:auto}.hero-art p{margin:0}}
