* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; font-family: system-ui, -apple-system, "PingFang SC", sans-serif; color: #283831; background: #f7f7f2; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .6; cursor: wait; }
.auth-shell { min-height: 100dvh; display: grid; place-items: center; padding: 24px; background: #101917; }
.auth-card { width: min(100%, 430px); background: #f7faf9; border: 1px solid #dce7e2; border-radius: 12px; padding: 30px; box-shadow: 0 24px 80px #0003; }
.brand { display: flex; gap: 12px; align-items: center; margin-bottom: 32px; }
.brand strong, .brand small { display: block; }
.brand small { margin-top: 4px; color: #738279; font-size: 12px; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; background: #2fab96; border-radius: 8px; color: #083e33; font-weight: 700; }
.eyebrow { color: #16816f; font-size: 12px; font-weight: 600; }
.auth-card h1 { font-size: 28px; margin: 14px 0; }
#intro { font-size: 13px; line-height: 1.8; color: #718078; margin-bottom: 24px; }
#enrollment { margin-bottom: 24px; text-align: center; }
#enrollment-qr { display: block; width: min(100%, 240px); height: auto; margin: 0 auto; background: white; }
#enrollment p { color: #718078; font-size: 13px; line-height: 1.8; }
label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 18px; }
input { display: block; width: 100%; padding: 11px 12px; margin-top: 8px; border: 1px solid #c8d7d0; background: #fff; border-radius: 6px; outline: none; }
input:focus { border-color: #16816f; box-shadow: 0 0 0 3px #16816f18; }
.primary, .secondary { display: block; width: 100%; padding: 11px; border-radius: 6px; font-size: 13px; font-weight: 600; }
.primary { background: #178270; color: white; border: 1px solid #178270; }
.secondary { margin-top: 14px; background: #eaf0ed; color: #33483d; border: 1px solid #d1ddd6; }
#error { color: #ae483f; font-size: 13px; line-height: 1.7; }
.loading { padding: 80px 24px; text-align: center; }
.platform-home { min-height: 100vh; background: #f7f7f2; color: #283831; padding: 0 max(24px, calc((100vw - 1060px) / 2)); }
.platform-home header { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 28px 0; border-bottom: 1px solid #dfe4dc; }
.platform-brand { font-size: 20px; font-weight: 700; color: inherit; text-decoration: none; }
.platform-home header div, .platform-home header button { display: flex; align-items: center; gap: 12px; }
.platform-home header button { border: 0; background: transparent; color: #637367; padding: 8px; cursor: pointer; }
.platform-intro { padding: 76px 0 42px; }
.platform-intro p { color: #758573; font-size: 14px; margin: 0 0 14px; }
.platform-intro h1 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -.04em; margin: 0 0 16px; }
.platform-intro > span { color: #79857a; }
.platform-services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; padding-bottom: 80px; }
.platform-services > a { background: #fffefb; border: 1px solid #e1e5dd; border-radius: 20px; padding: 34px; color: inherit; text-decoration: none; transition: border-color .15s, transform .15s; }
.platform-services > a:hover { border-color: #92a58e; transform: translateY(-3px); }
.platform-icon { display: inline-flex; padding: 16px; border-radius: 16px; background: #eaf0e6; color: #657d5d; }
.platform-icon.podcast { background: #f4ece1; color: #a28560; }
.platform-services h2 { font-size: 22px; margin: 24px 0 14px; }
.platform-services p { color: #758075; line-height: 1.9; margin: 0; min-height: 74px; }
.platform-services strong { display: flex; align-items: center; gap: 10px; margin-top: 32px; font-size: 15px; color: #5e7855; }
@media (max-width: 640px) { .platform-services { grid-template-columns: 1fr; gap: 18px; } .platform-intro { padding-top: 42px; } .platform-services > a { padding: 26px; } .platform-home header { gap: 10px; } .platform-home header div { font-size: 13px; gap: 4px; } }
