:root {
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #0f1115;
  color: #fff8ef;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(rgba(15, 17, 21, 0.54), rgba(15, 17, 21, 0.88)),
    url("./assets/connecthub-bg.jpg") center / cover fixed;
}

button {
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.1);
  color: inherit;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

button:hover,
button:focus-visible {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(130, 216, 200, 0.16);
  outline: none;
}

.activity-shell {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 18px 0 32px;
}

.hero {
  display: flex;
  min-height: 48vh;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 20px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar img {
  width: min(210px, 44vw);
  max-height: 72px;
  object-fit: contain;
  object-position: left center;
}

.nav-actions,
.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 8px;
  color: #82d8c8;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 12px;
  font-size: clamp(2.5rem, 7vw, 6rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy p:not(.eyebrow),
.feature-copy p {
  max-width: 680px;
  color: rgba(255, 248, 239, 0.82);
  font-size: 1.05rem;
  line-height: 1.5;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 4px 0 20px;
}

.quick-actions button {
  display: flex;
  min-height: 92px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 7px;
  text-align: left;
}

.quick-actions span {
  color: #82d8c8;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(230px, 0.6fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
  margin-top: 10px;
}

.poster-panel,
.feature-copy,
.tool-grid article {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(17, 20, 26, 0.76);
}

.poster-panel {
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.poster-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(18px, 4vw, 38px);
}

.feature-copy button {
  width: fit-content;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.tool-grid article {
  display: grid;
  gap: 8px;
  min-height: 118px;
  padding: 18px;
}

.tool-grid strong {
  font-size: 1.05rem;
}

.tool-grid span,
.discord-status {
  color: rgba(255, 248, 239, 0.72);
  line-height: 1.4;
}

.discord-status {
  margin: 16px 0 0;
  font-size: 0.9rem;
}

@media (max-width: 760px) {
  .activity-shell {
    width: min(100% - 20px, 620px);
  }

  .hero {
    min-height: 40vh;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .quick-actions,
  .feature-band,
  .tool-grid {
    grid-template-columns: 1fr;
  }
}
