body { background:#f3f1fa; color:#271d40; font-family:system-ui,sans-serif; }
#container { width:min(940px,100%); margin:clamp(0px,4vw,48px) auto; border-radius:16px; box-shadow:0 12px 42px #34256520; overflow:hidden; }
#header { height:88px; padding:0 24px; }
#header #logo img { height:48px; }
#header p { width:auto; }
#nav { margin:0; padding:8px 16px; height:auto; white-space:normal; background:#f4f1ff; border:0; box-shadow:none; }
#nav li a { margin:2px; padding:5px 13px; background-image:none; color:#413361; }
#nav li a.active, #nav li a:hover { background:#e3dafb; color:#342254; }
#content { margin:0 24px; padding:28px 0; overflow-x:auto; }
#landing_page h1 { font-size:clamp(25px,4vw,38px); line-height:1.16; color:#30224e; }
#landing_page .thread-body p { font:16px/1.6 system-ui,sans-serif; max-width:52ch; }
.front-page-button .button { border:0; border-radius:8px; padding:12px; text-shadow:none; box-shadow:none; font-weight:600; }
.front-page-button .blue.button { background:#5931bc; color:white; }
.front-page-button .green.button { background:#eee8fa; color:#392266; }
.front-page-button .button:hover { filter:brightness(.93); }
#footer { padding:8px 12px 20px; }
@media(max-width:840px) {
  #container { margin:0 auto; border-radius:0; }
  #landing_page { display:flex; flex-direction:column; }
  #landing_page .main-content { order:-1; width:100%; }
  #landing_page .sidebar { float:none; width:100%; }
  #landing_page .front-page-button { float:none; text-align:start; }
  #header #logo img { max-width:38vw; height:auto; max-height:44px; }
}
@media(max-width:840px) { #landing_page .sidebar { margin:16px 0; } }
#nav li a:is(.home,.kb,.new,.status,.tickets) { background-image:none; }
