:root {
  --hub-bg: #08110d;
  --hub-panel: #111f19;
  --hub-panel-strong: #163126;
  --hub-border: rgba(128, 255, 194, 0.16);
  --hub-text: #f5fff8;
  --hub-muted: #a6c7b6;
  --hub-accent: #14d26f;
  --hub-accent-strong: #0aa854;
  --hub-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --hub-shell: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.hub-page {
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(20, 210, 111, 0.2), transparent 32%),
    radial-gradient(circle at top left, rgba(53, 196, 255, 0.12), transparent 24%),
    linear-gradient(180deg, #06100b 0%, #08110d 46%, #0a1410 100%);
  color: var(--hub-text);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

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

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

.hub-shell {
  margin: 0 auto;
  max-width: var(--hub-shell);
  padding: 0 20px;
}

.hub-header {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 22px 0;
}

.hub-logo {
  align-items: center;
  display: inline-flex;
  gap: 14px;
  min-width: 0;
}

.hub-logo img {
  width: 168px;
}

.hub-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.hub-nav a,
.hub-register {
  border: 1px solid var(--hub-border);
  border-radius: 999px;
  color: var(--hub-text);
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 10px 16px;
  transition: 0.2s ease;
}

.hub-nav a:hover,
.hub-register:hover,
.hub-button:hover,
.hub-card__link:hover {
  border-color: rgba(20, 210, 111, 0.5);
  transform: translateY(-1px);
}

.hub-register,
.hub-button--primary {
  background: linear-gradient(135deg, var(--hub-accent), #6dff9e);
  border-color: transparent;
  color: #04110a;
}

.hub-hero {
  padding: 44px 0 34px;
}

.hub-hero__panel,
.hub-banner__inner {
  background:
    linear-gradient(135deg, rgba(20, 210, 111, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
  border: 1px solid var(--hub-border);
  border-radius: 28px;
  box-shadow: var(--hub-shadow);
}

.hub-hero__panel {
  padding: 34px;
}

.hub-kicker,
.hub-eyebrow {
  color: #88ffb4;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.hub-hero h1,
.hub-section h2,
.hub-banner h2 {
  line-height: 1.05;
  margin: 0;
}

.hub-hero h1 {
  font-size: clamp(2.3rem, 4.3vw, 4.5rem);
  max-width: 13ch;
}

.hub-lead,
.hub-note,
.hub-card p,
.hub-footer p {
  line-height: 1.65;
}

.hub-lead {
  color: var(--hub-text);
  font-size: 1.08rem;
  margin: 18px 0 0;
  max-width: 54rem;
}

.hub-note {
  color: var(--hub-muted);
  margin: 14px 0 0;
  max-width: 54rem;
}

.hub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hub-button,
.hub-card__link {
  align-items: center;
  border: 1px solid var(--hub-border);
  border-radius: 999px;
  display: inline-flex;
  font-weight: 700;
  gap: 10px;
  justify-content: center;
  padding: 12px 18px;
  transition: 0.2s ease;
}

.hub-button--ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--hub-text);
}

.hub-section {
  padding: 26px 0;
}

.hub-section h2,
.hub-banner h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.6rem);
}

.hub-section__copy {
  color: var(--hub-muted);
  margin: 10px 0 0;
  max-width: 48rem;
}

.hub-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin-top: 24px;
}

.hub-grid--small {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.hub-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--hub-border);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
  padding: 22px;
}

.hub-card__meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hub-chip {
  background: rgba(20, 210, 111, 0.12);
  border: 1px solid rgba(20, 210, 111, 0.28);
  border-radius: 999px;
  color: #92ffbe;
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 10px;
}

.hub-card time,
.hub-card__meta-note {
  color: var(--hub-muted);
  font-size: 0.85rem;
}

.hub-card h3 {
  font-size: 1.22rem;
  line-height: 1.25;
  margin: 0;
}

.hub-card p {
  color: var(--hub-muted);
  flex: 1 1 auto;
  margin: 0;
}

.hub-card__link {
  align-self: flex-start;
  margin-top: auto;
}

.hub-banner {
  padding: 30px 0 44px;
}

.hub-banner__inner {
  align-items: center;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.8fr);
  padding: 30px;
}

.hub-banner p {
  color: var(--hub-muted);
  margin: 12px 0 0;
}

.hub-banner__aside {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-self: end;
  width: 100%;
}

.hub-banner__aside .hub-button {
  width: 100%;
}

.hub-footer {
  border-top: 1px solid var(--hub-border);
  margin-top: 22px;
  padding: 28px 0 40px;
}

.hub-footer__inner {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto;
}

.hub-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hub-brand-badge {
  align-items: center;
  background: linear-gradient(135deg, #14d26f, #74ffb6);
  border-radius: 999px;
  color: #04110a;
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 8px 12px;
  width: fit-content;
}

.hub-license {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}

.hub-license img {
  max-width: 96px;
}

.hub-license p,
.hub-footer p {
  color: var(--hub-muted);
  margin: 0;
}

@media (max-width: 920px) {
  .hub-header,
  .hub-footer__inner,
  .hub-banner__inner {
    grid-template-columns: 1fr;
  }

  .hub-header {
    flex-direction: column;
  }

  .hub-banner__aside,
  .hub-license {
    justify-self: stretch;
  }
}

@media (max-width: 640px) {
  .hub-hero__panel,
  .hub-banner__inner,
  .hub-card {
    border-radius: 20px;
  }

  .hub-hero__panel,
  .hub-banner__inner {
    padding: 24px;
  }

  .hub-logo img {
    width: 150px;
  }
}
