:root {
  color-scheme: dark;
  --sar-black: #050506;
  --sar-charcoal: #0b0c0d;
  --sar-panel: #11100d;
  --sar-panel-warm: #20160d;
  --sar-gold: #c99a52;
  --sar-gold-bright: #f0d692;
  --sar-gold-muted: #9b743c;
  --sar-bronze: #7d5528;
  --sar-bronze-dark: #3b2410;
  --sar-red: #781812;
  --sar-red-bright: #c13d24;
  --sar-parchment-text: #d7c39b;
  --sar-muted-text: #a98c5c;
  --sar-border-shadow: rgba(0, 0, 0, 0.82);
  --sar-font-heading: "Cinzel", Georgia, serif;
  --sar-font-body: "EB Garamond", Georgia, serif;
  --sar-shell: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sar-font-body);
  font-size: 17px;
  line-height: 1.35;
  color: var(--sar-parchment-text);
  background:
    radial-gradient(circle at 50% 0%, rgba(120, 76, 30, 0.28), transparent 28rem),
    linear-gradient(rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.42)),
    url("../assets/textures/site-background-tile.png");
  background-color: var(--sar-black);
  background-size: auto, auto, 420px 420px;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.sar-page-shell {
  width: min(var(--sar-shell), calc(100% - 18px));
  margin: 0 auto;
  padding: 10px 0 18px;
}

.sar-header,
.sar-hero,
.sar-section,
.sar-footer {
  position: relative;
  border: 1px solid rgba(201, 154, 82, 0.38);
  background:
    linear-gradient(180deg, rgba(4, 4, 4, 0.72), rgba(4, 4, 4, 0.92)),
    url("../assets/textures/panel-parchment-tile.png");
  background-size: auto, 520px 520px;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.95),
    inset 0 0 40px rgba(0, 0, 0, 0.86),
    0 18px 34px var(--sar-border-shadow);
}

.sar-ornate-frame::before,
.sar-ornate-frame::after,
.sar-section::before,
.sar-section::after,
.sar-footer::before,
.sar-footer::after {
  content: "";
  position: absolute;
  z-index: 3;
  width: 86px;
  height: 86px;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
}

.sar-ornate-frame::before,
.sar-section::before,
.sar-footer::before {
  top: -4px;
  left: -4px;
  background-image: url("../assets/ornaments/corner-top-left.png");
}

.sar-ornate-frame::after,
.sar-section::after,
.sar-footer::after {
  top: -4px;
  right: -4px;
  background-image: url("../assets/ornaments/corner-top-right.png");
}

.sar-header {
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  align-items: center;
  min-height: 104px;
  padding: 10px 42px 10px 46px;
}

.sar-brand {
  display: block;
  width: 104px;
}

.sar-brand img {
  width: 104px;
  height: 104px;
  margin: 0;
  object-fit: contain;
}

.sar-primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  min-height: 58px;
  border-top: 1px solid rgba(201, 154, 82, 0.24);
  border-bottom: 1px solid rgba(201, 154, 82, 0.24);
}

.sar-primary-nav a {
  font-family: var(--sar-font-heading);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sar-gold-bright);
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.95);
  white-space: nowrap;
}

.sar-primary-nav a:hover,
.sar-primary-nav a:focus-visible,
.sar-primary-nav a.active {
  color: #fff1c3;
  text-shadow: 0 0 11px rgba(240, 214, 146, 0.52);
}

.sar-nav-gem {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  background: url("../assets/ornaments/gem-separator.png") center / contain no-repeat;
}

.sar-hero {
  min-height: 410px;
  margin-top: 12px;
  overflow: hidden;
}

.sar-hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.sar-hero-vignette {
  position: absolute;
  inset: 0;
  background:
    url("../assets/hero/hero-vignette-overlay.png") center / cover no-repeat,
    linear-gradient(90deg, rgba(5, 5, 6, 0.78) 0%, rgba(5, 5, 6, 0.48) 34%, rgba(5, 5, 6, 0.12) 68%, rgba(5, 5, 6, 0.58) 100%);
  mix-blend-mode: multiply;
}

.sar-hero-content {
  position: relative;
  z-index: 2;
  width: min(540px, 58%);
  padding: 58px 0 42px 72px;
}

.sar-hero h1 {
  margin: 0;
  font-family: var(--sar-font-heading);
  font-size: 58px;
  font-weight: 400;
  line-height: 0.93;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  color: #e9d4a4;
  text-shadow:
    2px 2px 0 #261407,
    0 8px 18px rgba(0, 0, 0, 0.98),
    0 0 18px rgba(240, 214, 146, 0.14);
}

.sar-title-divider {
  width: 330px;
  height: 34px;
  margin: 16px 0 10px;
  background: url("../assets/ornaments/decorative-divider-rule.png") center / 100% 100% no-repeat;
}

.sar-kicker {
  margin: 0 0 12px;
  font-family: var(--sar-font-heading);
  font-size: 16px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sar-gold-bright);
}

.sar-hero-content p:not(.sar-kicker) {
  max-width: 342px;
  margin: 0;
  font-size: 16px;
  color: #d5bd88;
}

.sar-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 218px;
  min-height: 42px;
  margin-top: 20px;
  padding: 9px 28px 10px;
  border: 1px solid rgba(240, 214, 146, 0.72);
  font-family: var(--sar-font-heading);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: #f3d590;
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 217, 135, 0.23), transparent 34%),
    linear-gradient(180deg, #8d1c13 0%, #641008 52%, #2b0906 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 229, 156, 0.42),
    inset 0 -2px 0 rgba(46, 14, 6, 0.88),
    0 0 0 3px rgba(58, 31, 13, 0.86),
    0 0 0 4px rgba(162, 116, 52, 0.35),
    0 7px 14px rgba(0, 0, 0, 0.72);
  text-shadow: 0 2px 3px #000, 0 0 8px rgba(240, 214, 146, 0.22);
  white-space: nowrap;
  cursor: pointer;
}

.sar-button::before,
.sar-button::after {
  content: none;
  position: absolute;
  top: 50%;
  width: 32px;
  height: 32px;
  pointer-events: none;
  background: url("../assets/ornaments/gem-separator.png") center / contain no-repeat;
  filter: drop-shadow(0 2px 3px #000);
  transform: translateY(-50%);
}

.sar-button::before {
  left: -18px;
}

.sar-button::after {
  right: -18px;
}

.sar-button:hover,
.sar-button:focus-visible {
  border-color: #f0d692;
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 226, 160, 0.34), transparent 38%),
    linear-gradient(180deg, #a9291b 0%, #73140a 52%, #360b06 100%);
  color: #fff0bd;
}

.sar-button.is-disabled,
.sar-button:disabled {
  opacity: 0.78;
  cursor: not-allowed;
}

.sar-section {
  margin-top: 28px;
  padding: 22px 28px 26px;
}

.sar-section-title {
  position: relative;
  z-index: 2;
  margin: 0 0 18px;
  font-family: var(--sar-font-heading);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.11em;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
  color: var(--sar-gold-bright);
  text-shadow: 0 2px 2px #000, 0 0 12px rgba(201, 154, 82, 0.24);
}

.sar-section-title::before,
.sar-section-title::after {
  content: "";
  display: inline-block;
  width: min(210px, 22vw);
  height: 22px;
  margin: 0 16px 4px;
  vertical-align: middle;
  background: url("../assets/ui/section-divider-rule.png") center / 100% 100% no-repeat;
}

.sar-feature-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.sar-system-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.sar-card {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  text-align: center;
  isolation: isolate;
}

.sar-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.sar-feature-card {
  min-height: 226px;
  padding: 21px 14px 18px;
}

.sar-feature-card::before {
  background:
    url("../assets/ornaments/corner-top-left.png") left 4px top 4px / 38px 38px no-repeat,
    url("../assets/ornaments/corner-top-right.png") right 4px top 4px / 38px 38px no-repeat,
    url("../assets/ornaments/corner-bottom-left.png") left 4px bottom 4px / 38px 38px no-repeat,
    url("../assets/ornaments/corner-bottom-right.png") right 4px bottom 4px / 38px 38px no-repeat,
    linear-gradient(180deg, rgba(12, 15, 17, 0.94), rgba(5, 7, 8, 0.97)),
    url("../assets/textures/panel-parchment-tile.png");
  background-size: 38px 38px, 38px 38px, 38px 38px, 38px 38px, auto, 280px 280px;
  border: 1px solid rgba(201, 154, 82, 0.5);
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.92),
    inset 0 0 24px rgba(0, 0, 0, 0.72);
}

.sar-system-card {
  min-height: 206px;
  padding: 18px 9px 14px;
}

.sar-system-card::before {
  background:
    url("../assets/ornaments/corner-top-left.png") left 4px top 4px / 32px 32px no-repeat,
    url("../assets/ornaments/corner-top-right.png") right 4px top 4px / 32px 32px no-repeat,
    url("../assets/ornaments/corner-bottom-left.png") left 4px bottom 4px / 32px 32px no-repeat,
    url("../assets/ornaments/corner-bottom-right.png") right 4px bottom 4px / 32px 32px no-repeat,
    linear-gradient(180deg, rgba(19, 15, 10, 0.9), rgba(7, 6, 5, 0.96)),
    url("../assets/textures/panel-parchment-tile.png");
  background-size: 32px 32px, 32px 32px, 32px 32px, 32px 32px, auto, 260px 260px;
  border: 1px solid rgba(201, 154, 82, 0.48);
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.92),
    inset 0 0 22px rgba(0, 0, 0, 0.72);
}

.sar-card img {
  width: 66px;
  height: 66px;
  margin-bottom: 9px;
  object-fit: contain;
}

.sar-card h3,
.sar-panel h3 {
  margin: 0;
  font-family: var(--sar-font-heading);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: #d8ba7a;
  text-shadow: 0 2px 2px #000;
}

.sar-card h3 {
  display: grid;
  align-items: center;
  min-height: 34px;
}

.sar-card p {
  max-width: 132px;
  margin: 7px auto 0;
  font-size: 14px;
  line-height: 1.16;
  color: #cdb57e;
}

.sar-system-card h3 {
  font-size: 12.5px;
  min-height: 33px;
}

.sar-system-card p {
  max-width: 118px;
  font-size: 13px;
}

.sar-about {
  padding-top: 22px;
}

.sar-tabs {
  width: min(760px, 82%);
  min-height: 42px;
  margin: -8px auto 20px;
  background: url("../assets/ui/tab-header.png") center / 100% 100% no-repeat;
}

.sar-connect {
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.sar-connect::before,
.sar-connect::after {
  content: none;
}

.sar-connect-grid {
  display: grid;
  grid-template-columns: 1fr 1.13fr;
  gap: 22px;
}

.sar-panel {
  position: relative;
  min-height: 260px;
  padding: 28px 28px;
  text-align: center;
  isolation: isolate;
}

.sar-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
}

.sar-instructions-panel::before {
  background:
    linear-gradient(180deg, rgba(28, 22, 13, 0.8), rgba(7, 7, 5, 0.94)),
    url("../assets/textures/panel-parchment-tile.png");
  background-size: auto, 360px 360px;
  border: 1px solid rgba(201, 154, 82, 0.36);
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.9),
    inset 0 0 30px rgba(0, 0, 0, 0.72);
}

.sar-instructions-panel::after {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: -1;
  border: 1px solid rgba(125, 85, 40, 0.34);
  pointer-events: none;
}

.sar-server-panel::before {
  background:
    linear-gradient(180deg, rgba(43, 30, 16, 0.86), rgba(10, 8, 6, 0.94)),
    url("../assets/textures/panel-parchment-tile.png");
  background-size: auto, 360px 360px;
  border: 1px solid rgba(201, 154, 82, 0.42);
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.9),
    inset 0 0 34px rgba(0, 0, 0, 0.72);
}

.sar-server-panel::after {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: -1;
  border: 1px solid rgba(125, 85, 40, 0.4);
  pointer-events: none;
}

.sar-step-list {
  display: grid;
  gap: 8px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  text-align: left;
  color: #d7c39b;
}

.sar-step-list li {
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 31px;
}

.sar-step-list img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.78));
}

.sar-step-list span {
  line-height: 1.25;
}

.sar-instructions-panel h3,
.sar-server-panel p,
.sar-status-footer {
  margin-top: 14px;
  font-size: 13px;
  color: var(--sar-muted-text);
}

.sar-server-panel {
  display: grid;
  align-content: center;
  min-height: 250px;
  padding: 30px 40px;
}

.sar-server-panel dl {
  display: grid;
  gap: 28px;
  margin: 18px auto 10px;
  width: min(540px, 98%);
}

.sar-server-panel dl div {
  display: grid;
  grid-template-columns: 100px 380px;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.sar-server-panel dt {
  font-family: var(--sar-font-heading);
  font-size: 15px;
  text-transform: uppercase;
  color: var(--sar-gold-bright);
}

.sar-server-panel dd {
  position: relative;
  isolation: isolate;
  margin: 0;
  width: 380px;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sar-font-heading);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f0d692;
  background: transparent;
  text-shadow: 0 2px 3px #000;
}

.sar-server-panel dd::before {
  content: "";
  position: absolute;
  inset: -13px 8px;
  z-index: -1;
  pointer-events: none;
  background: url("../assets/ui/server-field-ornate-frame.png") center / 360px 84px no-repeat;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.65));
}

.sar-server-panel dd::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 300px;
  height: 32px;
  border: 1px solid rgba(83, 59, 28, 0.82);
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(11, 19, 22, 0.92), rgba(4, 7, 9, 0.98)),
    url("../assets/textures/panel-parchment-tile.png");
  background-size: auto, 220px 220px;
  box-shadow:
    inset 0 1px 6px rgba(0, 0, 0, 0.9),
    0 0 10px rgba(0, 0, 0, 0.35);
}

.sar-server-panel dd .sar-field-text {
  position: relative;
  z-index: 1;
}

.sar-server-panel span {
  font-family: var(--sar-font-heading);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #a98c5c;
}

.sar-lower-panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.sar-downloads-panel::before {
  background:
    url("../assets/ornaments/corner-top-left.png") left 4px top 4px / 70px 70px no-repeat,
    url("../assets/ornaments/corner-top-right.png") right 4px top 4px / 70px 70px no-repeat,
    url("../assets/ornaments/corner-bottom-left.png") left 4px bottom 4px / 70px 70px no-repeat,
    url("../assets/ornaments/corner-bottom-right.png") right 4px bottom 4px / 70px 70px no-repeat,
    linear-gradient(180deg, rgba(15, 17, 18, 0.92), rgba(5, 7, 8, 0.96)),
    url("../assets/textures/panel-parchment-tile.png");
  border: 1px solid rgba(201, 154, 82, 0.58);
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.95),
    inset 0 0 34px rgba(0, 0, 0, 0.76),
    0 0 0 1px rgba(125, 85, 40, 0.32);
}

.sar-downloads-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.sar-downloads-panel .sar-section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  max-width: none;
  text-align: center;
  white-space: nowrap;
}

.sar-downloads-panel .sar-section-title::before,
.sar-downloads-panel .sar-section-title::after {
  width: 66px;
  height: 22px;
  margin-inline: 8px;
}

.sar-rules-panel::before {
  background:
    url("../assets/ornaments/corner-top-left.png") left 4px top 4px / 70px 70px no-repeat,
    url("../assets/ornaments/corner-top-right.png") right 4px top 4px / 70px 70px no-repeat,
    url("../assets/ornaments/corner-bottom-left.png") left 4px bottom 4px / 70px 70px no-repeat,
    url("../assets/ornaments/corner-bottom-right.png") right 4px bottom 4px / 70px 70px no-repeat,
    linear-gradient(180deg, rgba(15, 17, 18, 0.92), rgba(5, 7, 8, 0.96)),
    url("../assets/textures/panel-parchment-tile.png");
  border: 1px solid rgba(201, 154, 82, 0.58);
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.95),
    inset 0 0 34px rgba(0, 0, 0, 0.76),
    0 0 0 1px rgba(125, 85, 40, 0.32);
}

.sar-status-panel::before {
  background:
    url("../assets/ornaments/corner-top-left.png") left 4px top 4px / 70px 70px no-repeat,
    url("../assets/ornaments/corner-top-right.png") right 4px top 4px / 70px 70px no-repeat,
    url("../assets/ornaments/corner-bottom-left.png") left 4px bottom 4px / 70px 70px no-repeat,
    url("../assets/ornaments/corner-bottom-right.png") right 4px bottom 4px / 70px 70px no-repeat,
    linear-gradient(180deg, rgba(15, 17, 18, 0.92), rgba(5, 7, 8, 0.96)),
    url("../assets/textures/panel-parchment-tile.png");
  border: 1px solid rgba(201, 154, 82, 0.58);
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.95),
    inset 0 0 34px rgba(0, 0, 0, 0.76),
    0 0 0 1px rgba(125, 85, 40, 0.32);
}

.sar-lower-panels .sar-panel::after {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: -1;
  border: 1px solid rgba(125, 85, 40, 0.42);
  pointer-events: none;
}

.sar-lower-panels .sar-panel {
  min-height: 448px;
  padding: 32px 28px 26px;
}

.sar-lower-panels .sar-button {
  min-width: 210px;
  min-height: 40px;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.sar-lower-panels .sar-section-title {
  margin-bottom: 18px;
}

.sar-lower-panels .sar-section-title::before,
.sar-lower-panels .sar-section-title::after {
  width: 66px;
  margin-inline: 8px;
}

.sar-lower-panels p {
  margin: 8px auto 0;
  max-width: 240px;
  color: #d0b67d;
}

.sar-downloads-panel p {
  width: 100%;
  max-width: 218px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.22;
  text-align: center;
}

.sar-downloads-panel h3 {
  width: 100%;
  max-width: 240px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.sar-panel-rule {
  width: 80%;
  height: 1px;
  margin: 26px auto 21px;
  background: linear-gradient(90deg, transparent, rgba(201, 154, 82, 0.48), transparent);
}

.sar-no-pvp {
  width: 200px;
  margin: 18px auto 10px;
}

.sar-status-box {
  display: grid;
  gap: 8px;
  justify-items: center;
  width: min(246px, 90%);
  min-height: 124px;
  margin: 18px auto 18px;
  padding: 20px 18px;
  border: 1px solid rgba(201, 154, 82, 0.62);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(8, 10, 11, 0.88), rgba(3, 4, 5, 0.94)),
    url("../assets/textures/panel-parchment-tile.png");
  background-size: auto, 260px 260px;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.9),
    0 0 0 4px rgba(43, 28, 13, 0.72);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.sar-status-main {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sar-status-light {
  width: 24px;
  height: 24px;
  border: 1px solid rgba(201, 154, 82, 0.72);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.72), transparent 18%),
    radial-gradient(circle at 50% 55%, #8d2a20, #2c0c08 68%);
  box-shadow:
    inset 0 0 4px rgba(0, 0, 0, 0.9),
    0 0 8px rgba(180, 42, 24, 0.42);
}

.sar-status-main strong {
  font-family: var(--sar-font-heading);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f0d692;
}

.sar-status-box p {
  margin: 0;
  font-family: var(--sar-font-heading);
  font-size: 13px;
  line-height: 1.25;
  text-transform: uppercase;
}

.sar-status-panel > p {
  max-width: 220px;
  font-size: 14px;
  line-height: 1.18;
}

.sar-status-box.is-online {
  border-color: rgba(122, 219, 111, 0.76);
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.9),
    0 0 0 4px rgba(34, 74, 28, 0.54),
    0 0 18px rgba(90, 190, 82, 0.22);
}

.sar-status-box.is-online .sar-status-light {
  border-color: rgba(186, 246, 151, 0.86);
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.8), transparent 18%),
    radial-gradient(circle at 50% 55%, #7be468, #1f5f24 68%);
  box-shadow:
    inset 0 0 4px rgba(0, 0, 0, 0.9),
    0 0 12px rgba(123, 228, 104, 0.62);
}

.sar-status-box.is-online .sar-status-main strong {
  color: #baf697;
  text-shadow: 0 0 10px rgba(123, 228, 104, 0.35), 0 2px 3px #000;
}

.sar-status-box.is-offline {
  border-color: rgba(201, 91, 66, 0.68);
}

.sar-status-box.is-unavailable .sar-status-light {
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.65), transparent 18%),
    radial-gradient(circle at 50% 55%, #8a8173, #2e2c28 68%);
  box-shadow:
    inset 0 0 4px rgba(0, 0, 0, 0.9),
    0 0 8px rgba(180, 160, 110, 0.24);
}

.sar-footer {
  display: grid;
  grid-template-columns: 230px 1fr 220px;
  align-items: center;
  gap: 24px;
  min-height: 148px;
  margin-top: 28px;
  padding: 26px 60px;
}

.sar-footer-brand {
  overflow: hidden;
}

.sar-footer img {
  width: 112px;
  display: block;
  border: 0;
  box-shadow: none;
  filter: none;
  image-rendering: auto;
}

.sar-footer-copy {
  text-align: center;
  font-family: var(--sar-font-heading);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sar-gold-bright);
}

.sar-footer-copy p {
  margin: 0 0 6px;
}

.sar-footer-copy small {
  color: var(--sar-muted-text);
}

.sar-footer-copy span {
  color: var(--sar-red-bright);
  margin: 0 12px;
}

.sar-social-placeholder {
  visibility: hidden;
  min-height: 92px;
  display: grid;
  place-items: center;
  padding: 14px;
  font-family: var(--sar-font-heading);
  font-size: 14px;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
  color: #d0b67d;
  background: url("../assets/ui/footer-social-placeholder-frame.png") center / 100% 100% no-repeat;
}

:focus-visible {
  outline: 2px solid var(--sar-gold-bright);
  outline-offset: 4px;
}

@media (max-width: 860px) {
  .sar-header {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 14px 28px 22px;
  }

  .sar-primary-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 16px;
  }

  .sar-nav-gem {
    display: none;
  }

  .sar-hero-content {
    width: min(560px, 70%);
    padding-left: 42px;
  }

  .sar-feature-grid,
  .sar-system-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sar-connect-grid,
  .sar-lower-panels,
  .sar-footer {
    grid-template-columns: 1fr;
  }

  .sar-footer {
    justify-items: center;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .sar-page-shell {
    width: min(100% - 12px, var(--sar-shell));
  }

  .sar-hero {
    min-height: 560px;
  }

  .sar-hero-content {
    width: 100%;
    padding: 58px 24px 40px;
  }

  .sar-hero h1 {
    font-size: 44px;
  }

  .sar-feature-grid,
  .sar-system-grid {
    grid-template-columns: 1fr;
  }

  .sar-tabs,
  .sar-server-panel dl div {
    grid-template-columns: 1fr;
  }

  .sar-section-title::before,
  .sar-section-title::after {
    display: none;
  }
}
