/* Match the application shell and GainStage branding, scoped to public pages. */
.website {
  --bg: #08111c;
  --panel: #0d1722;
  --panel2: #111f2e;
  --line: #24364a;
  --text: #f4f7fb;
  --muted: #a8bcc7;
  --cyan: #39d9ef;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font:
    15px/1.6 Inter,
    'Segoe UI',
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
.website *,
.website *::before,
.website *::after {
  box-sizing: border-box;
}
.website a {
  color: inherit;
  text-decoration: none;
}
.website a:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 5px;
}
.website .skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  padding: 10px 16px;
  background: var(--panel2);
  z-index: 10;
}
.website .skip-link:focus {
  top: 12px;
}
.website .site-header {
  display: flex;
  align-items: stretch;
  min-height: 82px;
  background: linear-gradient(180deg, #091522, #06101a);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px #00000038;
}
.website .brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 24px;
  border-right: 1px solid var(--line);
  box-shadow: inset 0 2px var(--cyan);
}
.website .wordmark {
  font:
    800 20px/1.2 Arial,
    sans-serif;
  letter-spacing: 1px;
  color: #f7fbfc;
  white-space: nowrap;
}
.website .brand-g {
  color: #ffc04a;
}
.website .brand-s {
  color: #67adff;
}
.website .brand-caption {
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}
.website .site-nav {
  display: flex;
  align-items: stretch;
  padding: 0 12px;
}
.website .site-nav a {
  display: flex;
  align-items: center;
  padding: 16px 22px;
  border-bottom: 3px solid transparent;
  color: var(--muted);
  font-weight: 600;
}
.website .site-nav a:hover,
.website .site-nav a[aria-current='page'] {
  color: var(--cyan);
  background: #0d1d2b;
  border-bottom-color: var(--cyan);
}
.website .account-links {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  padding: 14px 24px;
  font-size: 13px;
}
.website .account-links > a:first-child:hover,
.website .site-footer a:hover {
  color: var(--cyan);
}
.website main {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 32px 64px;
  flex: 1;
}
.website .hero {
  padding: 36px 0 40px;
  border-bottom: 1px solid var(--line);
}
.website .home-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  padding: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.website .hero-copy {
  padding: clamp(28px, 4vw, 56px);
}
.website .stage-image {
  min-height: 350px;
  background:
    linear-gradient(180deg, #08111c33, #08111c80),
    url('/branding/gainstage-stage.png') center / cover;
}
.website .eyebrow {
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.8px;
}
.website h1 {
  margin: 0 0 20px;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.08;
  letter-spacing: -1px;
}
.website .intro {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}
.website .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.website .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 42px;
  padding: 8px 14px;
  background: #152536;
  border: 1px solid #2b4663;
  border-radius: 6px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.website .button.primary {
  background: #195aaa;
}
.website .button:hover {
  filter: brightness(1.13);
}
.website .content-section {
  margin-top: 32px;
}
.website .section-heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
}
.website h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
}
.website .badge {
  display: inline-block;
  padding: 3px 8px;
  border: 1px solid #46617a;
  border-radius: 4px;
  color: var(--muted);
  font-size: 11px;
}
.website .cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.website .cards.modules {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.website .card,
.website .placeholder-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 24px;
}
.website a.card:hover {
  background: var(--panel2);
  border-color: #46617a;
}
.website .card h3 {
  margin: 0 0 10px;
  font-size: 20px;
}
.website .card h3 span {
  float: right;
  color: var(--muted);
}
.website .card p:last-child,
.website .placeholder-panel p,
.website .section-note {
  color: var(--muted);
  margin: 0;
}
.website .modules .card {
  border-top: 3px solid var(--module);
}
.website .modules h3 {
  color: var(--module);
}
.website .periscope {
  --module: #74e67c;
}
.website .eq {
  --module: #67adff;
}
.website .nexus {
  --module: #ffc04a;
}
.website .blueprint {
  --module: #c88dff;
}
.website .periscope h3,
.website .blueprint h3 {
  font-family: 'Trebuchet MS', Verdana, sans-serif;
  font-weight: 900;
  letter-spacing: 2.6px;
}
.website .eq h3 {
  font-family: Impact, 'Arial Narrow', sans-serif;
  letter-spacing: 3px;
}
.website .nexus h3 {
  font-family: 'Arial Black', 'Segoe UI Black', sans-serif;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 1.8px;
}
.website .section-note {
  margin-top: 20px;
  font-size: 13px;
}
.website .placeholder-panel {
  max-width: 760px;
  padding: 32px;
}
.website .placeholder-panel h2 {
  margin: 24px 0 12px;
}
.website .placeholder-panel > .button {
  margin-top: 24px;
}
.website .site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 24px 32px;
  color: var(--muted);
  font-size: 12px;
}
.website .site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.website .blog-preview {
  margin: 0 0 24px;
}
.website .blog-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}
.website .blog-post {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) 24px;
  align-items: start;
  gap: 24px;
  padding: 28px 16px;
  border-bottom: 1px solid var(--line);
}
.website .blog-post:hover {
  background: var(--panel);
}
.website .blog-post .eyebrow {
  margin: 4px 0 0;
}
.website .blog-post h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.35;
}
.website .blog-post p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
}
.website .blog-post-arrow {
  color: var(--cyan);
  font-size: 22px;
}
@media (max-width: 1000px) {
  .website .site-header {
    flex-wrap: wrap;
  }
  .website .site-nav {
    order: 3;
    width: 100%;
    border-top: 1px solid var(--line);
    padding: 0;
  }
  .website .site-nav a {
    flex: 1;
    justify-content: center;
    padding: 12px;
  }
  .website .cards.modules {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .website .brand {
    padding: 14px 16px;
  }
  .website .brand-caption {
    display: none;
  }
  .website .account-links {
    padding: 12px;
    gap: 12px;
  }
  .website .account-links .button {
    padding: 8px;
    font-size: 12px;
  }
  .website main {
    padding: 24px 16px 40px;
  }
  .website .hero {
    padding-top: 20px;
  }
  .website .home-hero {
    grid-template-columns: minmax(0, 1fr);
    padding: 0;
  }
  .website .stage-image {
    min-height: 220px;
  }
  .website .cards,
  .website .cards.modules {
    grid-template-columns: minmax(0, 1fr);
  }
  .website .blog-post {
    grid-template-columns: minmax(0, 1fr) 24px;
    gap: 12px;
    padding: 24px 8px;
  }
  .website .blog-post .eyebrow {
    grid-column: 1 / -1;
  }
  .website .placeholder-panel {
    padding: 24px;
  }
  .website .site-footer {
    padding: 24px 16px;
  }
  .website .footer-tagline {
    display: none;
  }
}
