/* /start — audience gateway (dark layout; colors match marketing site tokens) */
:root {
  --navy: #0f1724;
  --blue: #2563eb;
  --teal: #0ea5a0;
  --green: #059669;
  --violet: #8b5cf6;
  --font-display: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body.gateway-page {
  font-family: var(--font-body);
  background: var(--navy);
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.gateway-page::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.gateway-nav {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.gateway-nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.gateway-nav-logo-mark {
  width: 32px;
  height: 32px;
  background: var(--blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gateway-nav-logo-mark svg {
  width: 18px;
  height: 18px;
  color: #fff;
}

.gateway-nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.gateway-nav-link {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
}

.gateway-nav-link:hover {
  color: #fff;
}

.gateway-main {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  gap: 48px;
}

.gateway-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gateway-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}

.gateway-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #fff;
}

.gateway-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.45);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

.gateway-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 1080px;
}

@media (max-width: 960px) {
  .gateway-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .gateway-nav {
    padding: 16px 20px;
  }
}

.gateway-card {
  border-radius: 16px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.gateway-card:hover {
  transform: translateY(-3px);
}

.gateway-card-dev {
  background: #0d1220;
  border: 1.5px solid rgba(37, 99, 235, 0.25);
}

.gateway-card-dev:hover,
.gateway-card-dev.gateway-card-hint {
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: 0 8px 40px rgba(37, 99, 235, 0.15);
}

.gateway-card-tester {
  background: #f8faf9;
  border: 1.5px solid rgba(14, 165, 160, 0.2);
}

.gateway-card-tester:hover,
.gateway-card-tester.gateway-card-hint {
  border-color: rgba(14, 165, 160, 0.45);
  box-shadow: 0 8px 40px rgba(14, 165, 160, 0.1);
}

.gateway-card-teams {
  background: #101828;
  border: 1.5px solid rgba(139, 92, 246, 0.25);
}

.gateway-card-teams:hover,
.gateway-card-teams.gateway-card-hint {
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 8px 40px rgba(139, 92, 246, 0.12);
}

.gateway-card-dev::before,
.gateway-card-tester::before,
.gateway-card-teams::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  top: -150px;
  right: -100px;
  pointer-events: none;
}

.gateway-card-dev::before {
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
}

.gateway-card-tester::before {
  background: radial-gradient(circle, rgba(14, 165, 160, 0.08) 0%, transparent 70%);
}

.gateway-card-teams::before {
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
}

.gateway-card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}

.gateway-card-dev .gateway-card-label {
  color: var(--blue);
}

.gateway-card-tester .gateway-card-label {
  color: var(--green);
}

.gateway-card-teams .gateway-card-label {
  color: var(--violet);
}

.gateway-label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.gateway-card-headline {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.gateway-card-dev .gateway-card-headline {
  color: #fff;
}

.gateway-card-tester .gateway-card-headline {
  color: #0a0a0a;
}

.gateway-card-teams .gateway-card-headline {
  color: #fff;
}

.gateway-card-body {
  font-size: 14px;
  line-height: 1.65;
}

.gateway-card-dev .gateway-card-body {
  color: rgba(255, 255, 255, 0.5);
}

.gateway-card-tester .gateway-card-body {
  color: #6b7280;
}

.gateway-card-teams .gateway-card-body {
  color: rgba(255, 255, 255, 0.5);
}

.gateway-card-pills {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gateway-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
}

.gateway-pill-check {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gateway-card-dev .gateway-pill-check {
  background: rgba(37, 99, 235, 0.2);
  color: var(--blue);
}

.gateway-card-tester .gateway-pill-check {
  background: rgba(14, 165, 160, 0.15);
  color: var(--green);
}

.gateway-card-teams .gateway-pill-check {
  background: rgba(139, 92, 246, 0.18);
  color: var(--violet);
}

.gateway-card-dev .gateway-pill {
  color: rgba(255, 255, 255, 0.6);
}

.gateway-card-tester .gateway-pill {
  color: #374151;
}

.gateway-card-teams .gateway-pill {
  color: rgba(255, 255, 255, 0.6);
}

.gateway-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-top: auto;
  transition: opacity 0.15s;
  width: fit-content;
}

.gateway-card:hover .gateway-card-cta {
  opacity: 0.85;
}

.gateway-card-dev .gateway-card-cta {
  background: var(--blue);
  color: #fff;
}

.gateway-card-tester .gateway-card-cta {
  background: var(--green);
  color: #fff;
}

.gateway-card-teams .gateway-card-cta {
  background: var(--violet);
  color: #fff;
}

.gateway-cta-arrow {
  font-size: 16px;
  transition: transform 0.15s;
}

.gateway-card:hover .gateway-cta-arrow {
  transform: translateX(3px);
}

.gateway-not-sure {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
}

.gateway-not-sure a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s;
}

.gateway-not-sure a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.gateway-page footer {
  position: relative;
  z-index: 1;
  padding: 20px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.gateway-page footer .footer-inner.footer-stack {
  max-width: 1200px;
  margin: 0 auto;
}

.gateway-page footer .footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.gateway-page footer .footer-logo {
  font-family: var(--font-display);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
}

.gateway-page footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.gateway-page footer .footer-links a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
  text-decoration: none;
  transition: color 0.15s;
}

.gateway-page footer .footer-links a:hover {
  color: rgba(255, 255, 255, 0.5);
}

.gateway-page footer .footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.2);
  margin-top: 16px;
}

@media (prefers-reduced-motion: reduce) {
  .gateway-card,
  .gateway-card-cta,
  .gateway-cta-arrow {
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}
