/* Shared site header and interior sections */
:root { --sos-header-clearance: 82px; }
html { scroll-padding-top: var(--sos-header-clearance); }
.sos-header { position: sticky; top: 0; z-index: 50; background: rgba(5,7,10,.94); border-bottom: 1px solid rgba(47,212,216,.2); backdrop-filter: blur(10px); }
.sos-header-inner { max-width: 1280px; margin: auto; padding: 12px 24px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; }
.sos-brand, .sos-nav, .sos-header-actions { display: flex; align-items: center; font-family: 'Chakra Petch', sans-serif; }
.sos-brand { gap: 10px; color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .11em; white-space: nowrap; }
.sos-brand img { border-radius: 6px; box-shadow: 0 0 0 1px rgba(47,212,216,.35), 0 0 18px rgba(226,59,44,.3); }
.sos-brand-dot { color: #e23b2c; }
.sos-nav { justify-content: center; flex-wrap: wrap; gap: 4px 16px; }
.sos-nav a { color: #a7b4bd; font-size: 12px; font-weight: 700; letter-spacing: .08em; padding-block: 8px; white-space: nowrap; }
.sos-nav a:hover, .sos-nav a[aria-current="page"] { color: #fff; }
.sos-header-actions { gap: 12px; white-space: nowrap; }
.sos-discord, .sos-play { font-family: 'Chakra Petch', sans-serif; font-size: 12px; font-weight: 700; padding: 10px 12px; line-height: 1.25; text-transform: uppercase; letter-spacing: .04em; }
.sos-discord { color: #8fe9eb; border: 1px solid #39757b; }
.sos-play { display: inline-block; color: #fff; background: #ad3026; }
.sos-play:hover { color: #fff; background: #bd382d; }
.sos-header a:focus-visible, .sos-inline-link:focus-visible, .sos-play:focus-visible { outline: 2px solid #8fe9eb; outline-offset: 3px; }
.sos-content { max-width: 1280px; margin: auto; padding: 54px 32px 34px; }
.sos-kicker { color: #2fd4d8; font: 600 13px 'Chakra Petch', sans-serif; letter-spacing: .24em; margin-bottom: 14px; }
.sos-section-title { color: #fff; font: 700 clamp(30px,4.6vw,52px)/1 'Chakra Petch', sans-serif; margin: 0 0 27px; }
.sos-subhead { font: 700 19px 'Chakra Petch', sans-serif; margin: 24px 0 13px; color: #eef4f6; }
.sos-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,225px),1fr)); gap: 16px; }
.sos-card { padding: 24px; border: 1px solid rgba(120,150,160,.22); background: rgba(10,14,18,.68); }
.sos-card h3 { color: #fff; font: 700 18px 'Chakra Petch',sans-serif; margin: 0 0 8px; }
.sos-card p, .sos-copy { color: #aab7bf; line-height: 1.55; margin: 0; }
.sos-inline-link { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.sos-news-links { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding-top: 6px; padding-bottom: 0; }
.sos-arsenal-grid { grid-template-columns: minmax(220px,300px) minmax(0,1fr); }
.sos-cover { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 930px) {
  :root { --sos-header-clearance: 112px; }
  .sos-header-inner { grid-template-columns: 1fr auto; gap: 4px 12px; padding: 8px 16px; }
  .sos-nav { grid-column: 1 / -1; grid-row: 2; gap: 2px 12px; }
}
@media (max-width: 560px) {
  :root { --sos-header-clearance: 120px; }
  .sos-header-inner { padding-inline: 12px; }
  .sos-brand { font-size: 11px; letter-spacing: .04em; gap: 6px; }
  .sos-brand img { width: 26px; height: 26px; }
  .sos-header-actions { gap: 4px; }
  .sos-discord, .sos-play { padding: 7px 5px; font-size: 10px; }
  .sos-nav { gap: 2px 10px; }
  .sos-nav a { padding: 6px 0; font-size: 11px; }
  .sos-content { padding-inline: 22px; }
  .sos-arsenal-grid { grid-template-columns: minmax(0,1fr); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto !important; } }
.sos-media-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); grid-auto-rows: 180px; gap: 14px; }
@media (max-width: 600px) {
  .sos-media-grid { grid-template-columns: repeat(2,minmax(0,1fr)); grid-auto-rows: 110px; gap: 10px; }
  #top { min-height: max(680px,92svh) !important; }
  #top > div:last-child > div { gap: 6px 12px !important; }
  #top h1 { overflow-wrap: anywhere; }
}
.sos-device-section { max-width: 1280px; margin: 0 auto; padding: 10px 32px 90px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 22px; align-items: start; }
.sos-device-art { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; border: 1px solid #285359; }
.sos-device-list { display: grid; gap: 8px; }
.sos-device { background: #0b1015; border: 1px solid #34454f; }
.sos-device[open] { border-color: var(--device-accent); }
.sos-device summary { padding: 12px 16px; cursor: pointer; font-family: 'Chakra Petch', sans-serif; }
.sos-device summary:focus-visible { outline: 2px solid var(--device-accent); outline-offset: -3px; }
.sos-device-name { color: #fff; font-weight: 700; margin-right: 12px; }
.sos-device-tag { color: var(--device-accent); font-size: 11px; letter-spacing: .1em; }
.sos-device-body { padding: 0 16px 14px; line-height: 1.55; }
.sos-device-body dl { display: flex; flex-wrap: wrap; gap: 8px 25px; margin: 0; }
.sos-device-body dt { font-size: 12px; color: #aab7bf; }
.sos-device-body dd { margin: 0; color: #eef4f6; font-weight: 600; }
@media (max-width: 730px) { .sos-device-section { grid-template-columns: minmax(0,1fr); } }
@media (max-width: 378px) {
  :root { --sos-header-clearance: 140px; }
  .sos-header-inner { grid-template-columns: minmax(0,1fr); justify-items: center; }
  .sos-nav { grid-column: 1; grid-row: 2; }
  .sos-header-actions { grid-row: 3; }
}
