* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #101310;
  color: #e8e5dc;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  background: #171b17;
  border-bottom: 1px solid #3c4239;
}

.topbar {
  max-width: 1180px;
  min-height: 64px;
  margin: auto;
  padding: 0 22px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: #f1eee4;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: bold;
  letter-spacing: .12em;
}

.top-nav {
  display: flex;
  gap: 22px;
  font-family: system-ui, sans-serif;
}

.top-nav a {
  color: #aeb4aa;
  text-decoration: none;
}

.top-nav a:hover {
  color: #fff;
}

.hero {
  max-width: 1180px;
  margin: auto;
  padding: 70px 22px 55px;
}

.hero-content {
  max-width: 720px;
}

.eyebrow,
.section-label {
  margin: 0 0 8px;
  color: #8e9a7d;
  font-family: system-ui, sans-serif;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  line-height: .95;
  letter-spacing: .04em;
}

.hero-copy {
  max-width: 650px;
  color: #b6b8ae;
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-block;
  padding: 11px 16px;
  border: 1px solid #646c59;
  background: transparent;
  color: #eee;
  text-decoration: none;
  font-family: system-ui, sans-serif;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
}

.button.primary {
  background: #283122;
}

.portal-layout {
  max-width: 1180px;
  margin: auto;
  padding: 0 22px 70px;

  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 270px;
  gap: 24px;
  align-items: start;
}

.panel {
  margin-bottom: 20px;
  padding: 20px;
  background: #181c18;
  border: 1px solid #3d443a;
}

.panel h2 {
  margin-top: 0;
}

.side-nav a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid #30362e;
  text-decoration: none;
}

.side-nav a:last-child {
  border-bottom: 0;
}

.side-nav a:hover {
  padding-left: 4px;
}

.muted {
  color: #9da198;
}

.steps {
  margin: 20px 0 0;
  padding-left: 24px;
}

.steps li {
  margin-bottom: 20px;
  padding-left: 8px;
}

.steps li p {
  margin: 4px 0 0;
  color: #9da198;
}

.realm-status {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: system-ui, sans-serif;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #777;
}

.divider {
  height: 1px;
  margin: 18px 0;
  background: #30362e;
}

.server-address {
  display: block;
  margin: 8px 0 14px;
  color: #ddd;
  overflow-wrap: anywhere;
}

.site-footer {
  padding: 32px 20px 50px;
  border-top: 1px solid #30362e;
  color: #767d73;
  text-align: center;
  font-family: system-ui, sans-serif;
  font-size: .8rem;
}

@media (max-width: 900px) {
  .portal-layout {
    grid-template-columns: 1fr;
  }

  .main-column {
    order: 1;
  }

  .right-column {
    order: 2;
  }

  .left-column {
    order: 3;
  }
}

@media (max-width: 620px) {
  .topbar {
    padding-top: 16px;
    padding-bottom: 16px;
    flex-direction: column;
    align-items: flex-start;
  }

  .top-nav {
    width: 100%;
    overflow-x: auto;
  }

  .hero {
    padding-top: 42px;
  }

  .hero h1 {
    font-size: 3.4rem;
  }
}
