/* JoinIn.ai Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;600&display=swap');

:root {
  /* Brand colors */
  --join-cyan: #48D3FD;
  --join-sky: #5FA7FA;
  --join-indigo: #7A6EF5;
  --join-violet: #8D45F0;
  --join-magenta: #AA0EEB;
  --join-midnight: #00001A;

  /* Light theme neutrals */
  --bg: #F7FAFF;
  --bg-elevated: #FFFFFF;
  --bg-subtle: #E2E6F3;
  --text-main: #2B3148;
  --text-soft: #9AA1BC;
  --border-subtle: #E2E6F3;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.07);

  /* Pulse design tokens - Light theme */
  --pulse-text-main: rgba(0, 0, 0, 0.92);
  --pulse-text-soft: rgba(0, 0, 0, 0.68);
  --pulse-text-faint: rgba(0, 0, 0, 0.50);
  --pulse-border-subtle: rgba(0, 0, 0, 0.12);
  --pulse-border-strong: rgba(0, 0, 0, 0.18);
  --pulse-panel: rgba(255, 255, 255, 0.95);
  --pulse-panel-2: rgba(245, 247, 250, 0.90);
  --pulse-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --pulse-accent-primary: #3B82F6;
  --pulse-accent-primary-hover: #2563EB;
  --pulse-ok: #22C55E;
  --pulse-warn: #F59E0B;
  --pulse-bad: #EF4444;
  --pulse-info: #3B82F6;
  --pulse-neutral: #94A3B8;
}

html[data-theme="dark"] {
  --bg: #050513;
  --bg-elevated: #0E1024;
  --bg-subtle: #181A34;
  --text-main: #F8FAFF;
  --text-soft: #9FA5CF;
  --border-subtle: #262A4A;
  --shadow-soft: 0 22px 60px rgba(0, 0, 0, 0.75);

  /* Pulse design tokens - Dark theme */
  --pulse-text-main: rgba(255, 255, 255, 0.92);
  --pulse-text-soft: rgba(255, 255, 255, 0.68);
  --pulse-text-faint: rgba(255, 255, 255, 0.50);
  --pulse-border-subtle: rgba(255, 255, 255, 0.12);
  --pulse-border-strong: rgba(255, 255, 255, 0.18);
  --pulse-panel: rgba(14, 18, 35, 0.90);
  --pulse-panel-2: rgba(12, 16, 30, 0.74);
  --pulse-shadow: 0 14px 42px rgba(0, 0, 0, 0.35);
  --pulse-accent-primary: #3B82F6;
  --pulse-accent-primary-hover: #2563EB;
  --pulse-ok: #22C55E;
  --pulse-warn: #F59E0B;
  --pulse-bad: #EF4444;
  --pulse-info: #3B82F6;
  --pulse-neutral: #94A3B8;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at top left, rgba(72, 211, 253, 0.08), transparent 50%),
    radial-gradient(circle at bottom right, rgba(170, 14, 235, 0.12), transparent 55%),
    var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.has-gradient-bg {
  background: 
    radial-gradient(circle at top left, rgba(72, 211, 253, 0.12), transparent 55%),
    radial-gradient(circle at bottom right, rgba(170, 14, 235, 0.18), transparent 60%),
    var(--bg);
}

h1, h3, h4, h5, h6 {
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
}

h2 {
  margin-top: 2.75rem;
  margin-bottom: 0.4rem;
  font-size: 1.4rem;
  font-family: "Space Grotesk", system-ui, sans-serif;
  letter-spacing: 0.04em;
}

p {

}

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

button {
  font-family: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

code {
  font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  font-size: 0.8rem;
  background: rgba(226, 230, 243, 0.7);
  padding: 0.1rem 0.25rem;
  border-radius: 4px;
}

html[data-theme="dark"] code {
  background: rgba(24, 26, 52, 0.9);
}

/* Utility classes */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.type-spec {
  border-left: 3px solid var(--join-indigo);
  padding-left: 0.8rem;
  margin-bottom: 0.7rem;
}

.text-highlight {
  border-left: 3px solid var(--join-sky);
  padding-left: 0.8rem;
  margin-bottom: 0.7rem;
}

.text-minimal {
  border-left: 3px solid var(--text-soft);
  padding-left: 0.8rem;
  margin-bottom: 0.7rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
